@charset "UTF-8";
/* =========================================================
   株式会社メディクロ｜不動産相続の相談窓口
   共通スタイルシート
   ---------------------------------------------------------
   配色トークン
     青磁(せいじ)  … 主色。医療グループ由来の落ち着きと信頼
     山吹(やまぶき) … 差し色。数字・区切り線・強調のみに使用
     紙(かみ)      … 背景。わずかに緑を含んだ冷たすぎない白
   書体
     見出し … Shippori Mincho B1（明朝／相続・格式）
     本文   … Zen Kaku Gothic New（可読性重視）
     数字等 … Jost（ラベル・年号・STEP番号）
   ========================================================= */

/* ---------- 1. トークン ---------- */
:root {
  --seiji:       #2f7a6e;
  --seiji-deep:  #1b5148;
  --seiji-tint:  #e8f0ed;
  --gold:        #c8942a;
  --gold-tint:   #f7efdc;
  --ink:         #152522;
  --ink-soft:    #4a5c58;
  --paper:       #f4f7f5;
  --line:        #dce5e1;
  --white:       #ffffff;

  --font-display: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-body:    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-util:    "Jost", "Zen Kaku Gothic New", sans-serif;

  --wrap: 1120px;
  --gutter: 24px;
  --radius: 14px;
  --shadow: 0 2px 24px rgba(21, 37, 34, .07);
  --header-h: 80px;
}

/* ---------- 2. リセット・基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--seiji-deep); text-decoration-thickness: 1px; text-underline-offset: .25em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.5; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }

/* ---------- ユーティリティ ---------- */
.u-nowrap {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
}
.sp-only { display: none; }
@media (max-width: 720px) {
  .sp-only { display: inline; }
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--seiji-deep); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 8px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- 3. レイアウト部品 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.section { padding-block: 96px; }
.section--tint { background: var(--paper); }
.section--seiji { background: var(--seiji-deep); color: #fff; }

.eyebrow {
  font-family: var(--font-util);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--seiji);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gold);
  flex: none;
}
.section--seiji .eyebrow { color: #a9cfc6; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 5.2vw, 38px);
  letter-spacing: .02em;
  line-height: 1.55;
  margin-bottom: 20px;
}
.section-lead { color: var(--ink-soft); max-width: 46em; }
.section--seiji .section-lead { color: #cfe2dd; }

.section-head { margin-bottom: 48px; }

/* ---------- 4. ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  padding: 16px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--seiji); color: #fff; }
.btn--primary:hover { background: var(--seiji-deep); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #ac7d1f; }
.btn--ghost { background: transparent; color: var(--seiji-deep); border-color: var(--seiji); }
.btn--ghost:hover { background: var(--seiji-tint); }
.btn--onDark { background: #fff; color: var(--seiji-deep); }
.btn--onDark:hover { background: var(--gold-tint); }
.btn--wide { min-width: 280px; }

/* ---------- 5. ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo { display: flex; align-items: center; text-decoration: none; color: inherit; }
.site-logo img { height: 44px; width: auto; object-fit: contain; }
.header-company-logo { display: flex; align-items: center; margin-left: 6px; }
.header-company-logo img { height: 40px; width: auto; object-fit: contain; }
.site-logo__text { font-family: var(--font-display); font-size: 16px; letter-spacing: .06em; line-height: 1.4; }
.site-logo__text small { display: block; font-family: var(--font-util); font-size: 10.5px; letter-spacing: .18em; color: var(--seiji); }

.gnav { display: flex; align-items: center; gap: 4px; }
.gnav a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
}
.gnav a:hover { background: var(--seiji-tint); color: var(--seiji-deep); }
.gnav a[aria-current="page"] { color: var(--seiji-deep); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
/* ナビ内のCTAはモバイル専用（PCは .header-cta 側を表示） */
.gnav .btn { display: none; }
.gnav .btn[aria-current="page"] { box-shadow: none; border-radius: 999px; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-tel { text-decoration: none; color: var(--ink); line-height: 1.25; text-align: right; }
.header-tel strong { display: block; font-family: var(--font-util); font-size: 21px; letter-spacing: .02em; color: var(--seiji-deep); }
.header-tel span { font-size: 11px; letter-spacing: .08em; color: var(--ink-soft); }
.header-cta .btn { padding: 12px 22px; font-size: 14.5px; }

.nav-toggle { display: none; }

/* ---------- 6. ヒーロー ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 460px at 88% -8%, var(--seiji-tint), transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding-block: 84px 92px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 6.2vw, 40px);
  line-height: 1.55;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.hero__title-line {
  display: inline-block;
  white-space: nowrap;
}
.hero__title-line.mark {
  background: linear-gradient(transparent 62%, var(--gold-tint) 62%);
  padding-inline: .1em;
}
.hero__lead {
  color: var(--ink-soft);
  margin-bottom: 30px;
  font-size: clamp(14px, 3.8vw, 16.5px);
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}
.hero__actions .btn {
  flex: 1 1 50%;
  padding: 14px 10px;
  font-size: clamp(13px, 3.6vw, 16px);
  white-space: nowrap;
  justify-content: center;
}
.hero__note { margin-top: 20px; font-size: 13.5px; color: var(--ink-soft); letter-spacing: .02em; }

.hero__visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  aspect-ratio: 4 / 3.2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border: 1px solid var(--line);
}
.hero__visual img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* ---------- 7. お悩みアイコン ---------- */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.worry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.worry:hover { border-color: var(--seiji); transform: translateY(-3px); }
.worry__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--seiji-tint);
  display: grid; place-items: center;
}
.worry__icon svg { width: 28px; height: 28px; stroke: var(--seiji-deep); fill: none; stroke-width: 1.6; }
.worry h3 { font-size: clamp(13px, 3.8vw, 17px); margin-bottom: 6px; }
.worry p { font-size: 14px; line-height: 1.8; color: var(--ink-soft); }

/* ---------- 8. ごあいさつ ---------- */
.greeting {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 56px;
  align-items: start;
}
.greeting__body p + p { margin-top: 1.4em; }
.greeting__kicker {
  font-family: var(--font-display);
  font-size: clamp(17px, 4.6vw, 27px);
  line-height: 1.7;
  letter-spacing: .03em;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  margin-bottom: 30px;
}
.greeting__portrait {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 22px;
  box-shadow: var(--shadow);
}
.greeting__portrait img { border-radius: 8px; width: 100%; }
.greeting__name { margin-top: 16px; text-align: center; line-height: 1.7; }
.greeting__name span { display: block; font-size: 13px; color: var(--ink-soft); }
.greeting__name strong { font-family: var(--font-display); font-size: 20px; letter-spacing: .08em; }

/* ---------- 9. ざるす連携 ---------- */
.chain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-block: 40px;
}
.chain__item {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.chain__item--active { background: rgba(255,255,255,.12); border-color: var(--gold); }
.chain__item .label {
  font-family: var(--font-util);
  font-size: 12px; letter-spacing: .2em;
  color: #a9cfc6; display: block; margin-bottom: 8px;
}
.chain__item h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: .1em; }
.chain__item p {
  font-size: clamp(12.5px, 3.6vw, 14.5px);
  color: #cfe2dd;
  margin-top: 8px;
  line-height: 1.7;
}

/* ざるす案内バナーカード */
.zarusu-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 28px 36px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.zarusu-card:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.zarusu-card__body {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.zarusu-card__logo {
  height: 60px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}
.zarusu-card__text strong {
  display: block;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 4px;
  font-family: var(--font-display);
  letter-spacing: .03em;
}
.zarusu-card__text span {
  font-size: 14px;
  color: #cfe2dd;
}
@media (max-width: 768px) {
  .zarusu-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .zarusu-card__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .zarusu-card__logo {
    height: 50px;
    padding: 8px 16px;
  }
}

/* ---------- 10. セミナー STEP（シグネチャー） ---------- */
.steps { position: relative; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
}
.step + .step { margin-top: 20px; }
/* 積み上がる=学びが重なる、を段差で表現 */
.step:nth-child(2) { margin-left: 3%; }
.step:nth-child(3) { margin-left: 6%; }
.step:nth-child(4) { margin-left: 9%; }
.step:nth-child(5) { margin-left: 12%; }

.step__no { font-family: var(--font-util); line-height: 1; }
.step__no .label { display: block; font-size: 12px; letter-spacing: .24em; color: var(--seiji); margin-bottom: 6px; }
.step__no .num { font-size: 62px; font-weight: 300; color: var(--gold); }
.step__title {
  font-family: var(--font-display);
  font-size: 21px; letter-spacing: .05em;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.step__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 28px;
}
.step__list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.9; }
.step__list li::before {
  content: ""; position: absolute; left: 4px; top: .82em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--seiji);
}

.step--extra { border: 2px solid var(--seiji); background: var(--seiji-tint); margin-left: 0 !important; margin-top: 44px; }
.step--extra .step__no .num { font-size: 34px; color: var(--seiji-deep); letter-spacing: .04em; }
.step--extra .step__title { border-bottom-color: #c3d8d1; }

/* ---------- 11. CTA帯 ---------- */
.cta {
  background: linear-gradient(135deg, var(--seiji-deep), var(--seiji));
  color: #fff;
  text-align: center;
  padding-block: 84px;
}
.cta h2 { font-family: var(--font-display); font-size: clamp(25px, 4vw, 36px); letter-spacing: .05em; margin-bottom: 18px; }
.cta p { color: #cfe2dd; margin-bottom: 34px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta__tel { font-family: var(--font-util); font-size: 34px; letter-spacing: .02em; color: #fff; text-decoration: none; display: inline-block; }
.cta__hours { font-size: 13.5px; color: #cfe2dd; margin-top: 8px; }

/* ---------- 12. ページヘッダー（下層） ---------- */
.page-head {
  background:
    radial-gradient(700px 320px at 80% 0%, var(--seiji-tint), transparent 60%),
    var(--paper);
  padding-block: 60px 56px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 42px);
  letter-spacing: .06em;
}
.page-head .en {
  font-family: var(--font-util);
  font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--seiji); display: block; margin-bottom: 10px;
}
.breadcrumb { font-size: 13px; color: var(--ink-soft); display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- 13. 定義テーブル ---------- */
.deftable { border-top: 1px solid var(--line); }
.deftable tr { border-bottom: 1px solid var(--line); }
.deftable th, .deftable td { text-align: left; padding: 20px 8px; vertical-align: top; font-size: 16px; }
.deftable th {
  width: 210px; font-weight: 600; color: var(--seiji-deep);
  font-feature-settings: "palt";
  letter-spacing: .06em;
}
.deftable td span { display: block; }

/* ---------- 14. 沿革タイムライン ---------- */
.history { position: relative; padding-left: 8px; }
.history__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 48px;
  position: relative;
  padding-bottom: 28px;
}
/* 年号カラム(90px)と本文の間の余白中央に線とドットを通す */
.history__row::before {
  content: ""; position: absolute; left: 106px; top: 16px; bottom: 0;
  width: 1px; background: var(--line);
}
.history__row::after {
  content: ""; position: absolute; left: 102px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--gold-tint);
}
.history__row:last-child::before { display: none; }
.history__year {
  font-family: var(--font-util);
  font-size: 19px; letter-spacing: .03em; color: var(--seiji-deep);
  padding-top: 2px;
}
.history__body { font-size: 15.5px; line-height: 1.95; }
.history__body li + li { margin-top: 2px; }

/* ---------- 15. カード / 汎用 ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.note {
  background: var(--gold-tint);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 15px;
  line-height: 1.9;
}
.prose p + p { margin-top: 1.5em; }
.prose h2 { font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; margin: 2em 0 .8em; }

/* ---------- お問い合わせフォーム ---------- */
.contact-form {
  max-width: 680px;
  margin-inline: auto;
  text-align: left;
}
.form-group {
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--ink);
}
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1;
}
.badge--required {
  background: var(--gold);
  color: #fff;
}
.badge--optional {
  background: var(--line);
  color: var(--ink-soft);
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .18s ease, box-shadow .18s ease;
  box-shadow: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--seiji);
  box-shadow: 0 0 0 3px var(--seiji-tint);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5c58' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
.form-submit {
  text-align: center;
  margin-top: 36px;
}

/* 申し込みの流れ */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: flow; }
.flow__item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
  position: relative;
}
.flow__item::before {
  counter-increment: flow;
  content: counter(flow);
  font-family: var(--font-util); font-size: 40px; font-weight: 300;
  color: var(--gold); line-height: 1; display: block; margin-bottom: 10px;
}
.flow__item h3 { font-size: 17px; margin-bottom: 8px; }
.flow__item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }

/* 地図 */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 460px; border: 0; }

/* ---------- 16. フッター ---------- */
.site-footer { background: var(--ink); color: #cbd6d3; padding-block: 64px 24px; font-size: 14.5px; }
.site-footer a { color: #cbd6d3; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; }
.footer-brand img { height: 46px; margin-bottom: 18px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.footer-brand address { font-style: normal; line-height: 1.95; }
.footer-brand .license { margin-top: 14px; font-size: 13px; color: #9aa8a5; }
.footer-col h3 {
  font-family: var(--font-util); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-col li + li { margin-top: 10px; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #93a09d;
}
.footer-bottom .copy { font-family: var(--font-util); letter-spacing: .06em; }

/* ---------- 17. スマホ固定CTA ---------- */
.sp-cta { display: none; }

/* ---------- 18. スクロール表示アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .worry:hover { transform: none; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1040px) {
  .header-tel { display: none; }
  .gnav a { padding: 10px 11px; font-size: 14px; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 56px; }
  .hero__visual { aspect-ratio: auto; min-height: 180px; padding: 24px 20px; }
  .hero__visual img { width: 100%; height: auto; max-height: none; object-fit: contain; }
  .greeting { grid-template-columns: 1fr; gap: 36px; }
  .greeting__portrait { max-width: 320px; margin-inline: auto; }
  .worry-grid { grid-template-columns: repeat(2, 1fr); }
  .chain { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .site-header__inner { gap: 8px; }

  /* --- モバイルナビ --- */
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 11px;
    background: var(--seiji); border: 0; border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-cta .btn { display: none; }

  .gnav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: block;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 26px;
    box-shadow: 0 18px 40px rgba(21,37,34,.12);
    transform: translateY(-140%);
    transition: transform .3s ease;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .gnav.is-open { transform: none; }
  .gnav a { padding: 16px 6px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnav .btn {
    display: flex; margin-top: 18px; width: 100%;
    padding: 16px 24px; border-bottom: 0; color: #fff;
  }
}

@media (max-width: 480px) {
  .hero__visual { padding: 18px 14px; min-height: 150px; }
  .hero__visual img { width: 100%; height: auto; object-fit: contain; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 34px; }

  /* お悩みカード（スマホ表示時は表題のみコンパクト表示） */
  .worry { padding: 18px 8px; }
  .worry__icon { margin-bottom: 10px; }
  .worry h3 { font-size: clamp(13px, 3.8vw, 15.5px); margin-bottom: 0; }
  .worry p { display: none; }

  .step { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; margin-left: 0 !important; }
  .step__no { display: flex; align-items: baseline; gap: 12px; }
  .step__no .label { margin-bottom: 0; }
  .step__no .num { font-size: 42px; }
  .step__list { grid-template-columns: 1fr; }

  .deftable th, .deftable td { display: block; width: auto; padding: 0; }
  .deftable th { padding-top: 18px; }
  .deftable td { padding-bottom: 18px; }

  .history__row { grid-template-columns: 70px 1fr; gap: 36px; }
  .history__row::before { left: 84px; }
  .history__row::after { left: 80px; }
  .history__year { font-size: 16px; }

  .map-frame iframe { height: 340px; }

  /* 下部固定CTA（電話・申し込み） */
  .sp-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -6px 24px rgba(21,37,34,.16);
  }
  .sp-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 8px; font-size: 15px; font-weight: 600;
    text-decoration: none; color: #fff;
  }
  .sp-cta a:first-child { background: var(--seiji-deep); }
  .sp-cta a:last-child { background: var(--gold); }
  body { padding-bottom: 58px; }
}
