@charset "UTF-8";
/* =============================================================
   デジタル名刺 /card/ — style.css のトークン・.btn・.form-row を継承
   スマホでかざして見る前提。1画面目に「保存」まで収める
   ============================================================= */

.cardpage {
  max-width: 560px;
  margin-inline: auto;
  padding: 0 20px 64px;
}

/* ---------- 名刺本体 ---------- */
.mcard {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(26, 26, 26, 0.3);
  overflow: hidden;
  margin-top: 20px;
}
.mcard__top {
  background: var(--ink);
  padding: 22px 26px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mcard__logo { width: 86px; height: auto; }
.mcard__en { color: var(--yellow); font-size: 0.625rem; letter-spacing: 0.18em; }

.mcard__body { padding: 0 26px 26px; text-align: center; }
.mcard__portrait {
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  margin: -66px auto 16px;
  box-shadow: 0 0 0 5px var(--yellow), 0 0 0 7px var(--white);
}
.mcard__org { font-size: 0.75rem; letter-spacing: 0.1em; opacity: 0.7; line-height: 1.6; }
.mcard__name {
  font-size: 1.875rem; letter-spacing: 0.1em; line-height: 1.3;
  margin-top: 4px;
}
.mcard__yomi {
  display: block; font-size: 0.6875rem; font-weight: 400;
  letter-spacing: 0.18em; opacity: 0.55; margin-top: 6px;
}
.mcard__role { font-size: 0.8125rem; line-height: 1.7; margin-top: 8px; }

.mcard__acts { padding: 0 26px 28px; }
.mcard__acts .btn { width: 100%; justify-content: center; }
.act-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.act-sub .btn { padding: 12px 6px; font-size: 0.75rem; letter-spacing: 0.06em; }
.act-note { font-size: 0.6875rem; line-height: 1.7; opacity: 0.55; margin-top: 12px; text-align: center; }

/* ---------- 各ブロック ---------- */
/* .en-label のレイアウトは .sec-head 配下にしか無いのでここで持たせる */
.cardpage .en-label {
  font-family: var(--font-en); font-size: 0.6875rem; letter-spacing: var(--ls-en);
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px;
  opacity: 0.7;
}

.block { margin-top: 48px; }
.block__h { font-size: 1.375rem; letter-spacing: 0.08em; line-height: 1.5; margin-top: 12px; }
.block__lead { font-size: 0.8125rem; line-height: 1.9; margin-top: 12px; opacity: 0.8; }
.block--intro { margin-top: 40px; text-align: center; }
.tagline { font-size: 1.125rem; font-weight: 700; letter-spacing: 0.1em; }
.intro { font-size: 0.8125rem; line-height: 2; margin-top: 18px; text-align: left; }

/* ショーリール（2026-09-26 追加・V025 60秒版） */
.reel { margin-top: 20px; border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(26, 26, 26, 0.3); }
.reel video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.reel-text { margin-top: 12px; font-size: 0.8125rem; line-height: 1.9; }
.reel-text summary { cursor: pointer; font-weight: 700; letter-spacing: 0.06em; }
.reel-text ol { margin-top: 8px; padding-left: 1.4em; list-style: decimal; opacity: 0.85; }

/* 3事業 */
.biz { display: grid; gap: 10px; margin-top: 20px; }
.biz__item a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "num name" "num desc";
  gap: 2px 14px;
  align-items: center;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.biz__item a:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--ink); }
.biz__num { grid-area: num; font-size: 1.25rem; color: var(--yellow); -webkit-text-stroke: 0.6px var(--ink); }
.biz__name { grid-area: name; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; line-height: 1.4; }
.biz__desc { grid-area: desc; font-size: 0.6875rem; line-height: 1.6; opacity: 0.65; }

/* 連絡先フォーム */
.block--form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: 0 0 0 1px var(--line);
}
.block--form .form-grid { margin-top: 24px; }
.block--form .card-form { margin-top: 24px; } /* 修正12: フォームを form.tegcdn.net の埋め込みに */
.block--form .card-form iframe { display: block; width: 100%; border: 0; }
.block--form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.6875rem; line-height: 1.8; opacity: 0.6; }
.form-note a { text-decoration: underline; }
.form-note--fallback { margin-top: 4px; }
.js-mailto { width: 100%; justify-content: center; margin-top: 10px; font-size: 0.75rem; }

/* リンク・拠点 */
.links { margin-top: 18px; border-top: 1px solid var(--line); }
.links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem; letter-spacing: 0.06em;
}
.links a:hover { color: rgba(26, 26, 26, 0.6); }
.links .arrow { transition: transform 0.3s var(--ease-out); }
.links a:hover .arrow { transform: translateX(4px); }
.offices { margin-top: 24px; font-size: 0.6875rem; line-height: 1.9; opacity: 0.7; }
.offices strong { display: block; font-size: 0.625rem; letter-spacing: 0.12em; opacity: 0.6; }
.offices p + p { margin-top: 10px; }
.offices a { text-decoration: underline; margin-left: 6px; }

.cardfoot { margin-top: 40px; text-align: center; font-size: 0.625rem; letter-spacing: 0.08em; opacity: 0.5; }
.cardfoot a { text-decoration: underline; }

/* ---------- QRダイアログ ---------- */
.qrdlg {
  margin: auto;                 /* style.css の * { margin:0 } が既定の中央寄せを消すため */
  border: 0; padding: 0; border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(26, 26, 26, 0.5);
}
.qrdlg::backdrop { background: rgba(26, 26, 26, 0.6); }
.qrdlg__inner { padding: 28px 28px 24px; text-align: center; }
.qrdlg__img { width: min(66vw, 280px); height: auto; margin-inline: auto; }
.qrdlg__cap { font-size: 0.75rem; letter-spacing: 0.08em; opacity: 0.6; margin: 14px 0 18px; }

@media (prefers-reduced-motion: reduce) {
  .biz__item a, .links .arrow { transition: none; }
}
