/* ========================================
   〇〇税理士事務所 — ポートフォリオ用デモ
   参考サイト(OGINO)の構造・余白感を踏まえた再設計版
   ======================================== */

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a3a5c;
  --navy-dark:  #122a44;
  --navy-soft:  #34587e;
  --accent:     #b98a4b;   /* 上品な金茶（OGINOのアクセント色相） */
  --accent-soft:#c9a06a;
  --ink:        #25313a;
  --ink-soft:   #5e6a72;
  --paper:      #f6f4ef;   /* 温かみのある白 */
  --paper-2:    #efece4;
  --line:       #ddd8cf;
  --white:      #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Noto Serif JP', serif; font-weight: 600; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.sp-only { display: none; }

/* ---- 英語ラベル（セクション見出し上） ---- */
.label-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: capitalize;
}
.label-bar { width: 38px; height: 1px; background: var(--accent); display: inline-block; }
.label-en-center {
  display: block;
  text-align: center;
  margin-bottom: 0.6rem;
}
.label-en-light { color: var(--accent-soft); }

/* ---- セクション共通見出し ---- */
.sec-head { text-align: center; margin-bottom: 3.2rem; }
.sec-title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--navy);
  letter-spacing: 0.08em;
}
.sec-sub {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ---- ライン型ボタン ---- */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  padding: 0.95em 2em;
  border: 1px solid currentColor;
  color: var(--white);
  transition: 0.3s;
  background: transparent;
}
.btn-line .arr { transition: transform 0.3s; }
.btn-line:hover .arr { transform: translateX(5px); }
.btn-line:hover { background: rgba(255,255,255,0.12); }
.btn-line-dark { color: var(--navy); }
.btn-line-dark:hover { background: var(--navy); color: var(--white); }
.btn-line-light { color: var(--white); }


/* ========================================
   ヘッダー
   ======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand-mark { display: flex; flex-direction: column; line-height: 1.2; }
.brand-mark-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.18em;
}
.brand-mark-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.78rem;
  color: var(--navy);
  letter-spacing: 0.1em;
}
.brand-mark-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.gnav { display: flex; align-items: center; gap: 1.7rem; }
.gnav a {
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.gnav a:not(.gnav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent); transition: width 0.3s;
}
.gnav a:not(.gnav-cta):hover::after { width: 100%; }
.gnav a.gnav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 0.65em 1.4em;
  letter-spacing: 0.08em;
  transition: 0.3s;
}
.gnav-cta:hover { background: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; height: 24px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); transition: 0.3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ========================================
   ヒーロー
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
/* 左の縦ロゴ柱 */
.hero-pillar {
  position: absolute;
  top: 0; left: 0;
  z-index: 5;
  width: 190px;
  padding: 120px 0 40px;
  background: var(--navy-dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-height: 62%;
}
.hero-pillar-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.hero-pillar-ja {
  writing-mode: vertical-rl;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.4em;
  font-size: 0.95rem;
  margin-top: 1rem;
}
.hero-pillar-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--accent-soft);
  margin-top: 1.2rem;
}
/* 背景画像 */
.hero-visual { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-visual-tint { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(18,42,68,0.4) 0%, rgba(18,42,68,0.08) 45%, rgba(18,42,68,0.55) 100%); }
/* 縦書きコピー */
.hero-vertical {
  position: absolute;
  top: 90px; right: 48px;
  z-index: 5;
  writing-mode: vertical-rl;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: 0.5em;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}
/* 下部のコピー帯 */
.hero-foot {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 0 32px 7vh 222px;
}
.hero-foot-inner { max-width: 700px; }
.hero-lead-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
  margin-bottom: 0.8rem;
}
.hero-lead-ja {
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-lead-sub {
  color: rgba(255,255,255,0.95);
  margin-top: 1.4rem;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 2;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-tel { display: flex; flex-direction: column; color: var(--white); }
.hero-tel-label { font-size: 0.72rem; letter-spacing: 0.1em; opacity: 0.85; }
.hero-tel-num { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 600; letter-spacing: 0.04em; }


/* ========================================
   事務所について（理念）
   ======================================== */
.philosophy { padding: clamp(5rem, 11vw, 9rem) 0; background: var(--white); }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.philosophy-figure { position: relative; }
.philosophy-img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  background-size: cover;
  background-position: center;
}
/* ドットグリッド装飾 */
.dot-grid {
  position: absolute;
  width: 60%;
  height: 60%;
  bottom: -28px; left: -28px;
  z-index: -1;
  background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
  background-size: 14px 14px;
}
.dot-grid-right { left: auto; right: -28px; bottom: -28px; }
.philosophy-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--navy);
  margin: 1rem 0 1.6rem;
  letter-spacing: 0.06em;
}
.philosophy-body p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.philosophy-body .btn-line-dark { margin-top: 0.8rem; }


/* ========================================
   実績・数字
   ======================================== */
.stats { background: var(--navy); color: var(--white); padding: 3.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center;
  padding: 0.6rem 0;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent-soft);
}
.stat-num small { font-size: 0.95rem; font-family: 'Noto Sans JP', sans-serif; color: var(--white); margin-left: 0.15em; }
.stat-label { display: block; margin-top: 0.7rem; font-size: 0.82rem; letter-spacing: 0.08em; opacity: 0.9; }


/* ========================================
   お悩み
   ======================================== */
.worries { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper); }
.worries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.worry-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: 0.3s;
}
.worry-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26,58,92,0.08); border-color: var(--accent-soft); }
.worry-no {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.worry-card p { font-size: 0.95rem; font-weight: 500; color: var(--navy); line-height: 1.7; }


/* ========================================
   サービス
   ======================================== */
.services { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.svc-card { border: 1px solid var(--line); background: var(--white); overflow: hidden; transition: 0.3s; }
.svc-card:hover { box-shadow: 0 18px 40px rgba(26,58,92,0.1); transform: translateY(-4px); }
.svc-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}
.svc-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(18,42,68,0.85);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.35em 0.9em;
}
.svc-body { padding: 1.7rem 1.8rem 2rem; }
.svc-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.svc-body h3 { font-size: 1.3rem; color: var(--navy); margin: 0.4rem 0 0.9rem; letter-spacing: 0.04em; }
.svc-body p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.9; }
/* CTAカード */
.svc-card-cta { background: var(--navy); border-color: var(--navy); }
.svc-card-cta:hover { background: var(--navy-dark); }
.svc-cta-inner { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.6rem; padding: 2.4rem 1.8rem; }
.svc-cta-inner p { color: var(--white); font-family: 'Noto Serif JP', serif; font-size: 1.3rem; line-height: 1.7; letter-spacing: 0.04em; }


/* ========================================
   選ばれる理由
   ======================================== */
.reasons { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper-2); }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.reason-item {
  background: var(--white);
  padding: 2.6rem 2rem;
  border-top: 3px solid var(--accent);
  text-align: center;
}
.reason-no {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.reason-item h3 { font-size: 1.18rem; color: var(--navy); margin: 0.8rem 0 1rem; letter-spacing: 0.04em; }
.reason-item p { font-size: 0.9rem; color: var(--ink-soft); }


/* ========================================
   料金
   ======================================== */
.pricing { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--white); }
.pricing-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.pricing-table th, .pricing-table td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.pricing-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-bottom: none;
}
.pricing-table tbody tr:nth-child(even) { background: var(--paper); }
.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.price-note { margin-top: 1.2rem; font-size: 0.82rem; color: var(--ink-soft); }


/* ========================================
   所長紹介
   ======================================== */
.profile { padding: clamp(5rem, 11vw, 9rem) 0; background: var(--paper); }
.profile-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.profile-figure { position: relative; }
.profile-img { overflow: hidden; }
.profile-img img { width: 100%; }
.profile-title { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); margin: 0.8rem 0 1rem; letter-spacing: 0.06em; }
.profile-name { font-family: 'Noto Serif JP', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 1.6rem; }
.profile-name span { font-family: 'Noto Sans JP', sans-serif; font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.04em; margin-left: 0.6em; }
.profile-body > p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.profile-career { margin-top: 2rem; border-top: 1px solid var(--line); }
.profile-career li {
  display: flex;
  gap: 1.4rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink);
}
.profile-career li span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--accent);
  min-width: 3.2em;
  letter-spacing: 0.05em;
}


/* ========================================
   FAQ
   ======================================== */
.faq { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--white); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  margin-bottom: 0.9rem;
  background: var(--white);
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 3.2rem;
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* ＋→− の2本線モーフアイコン */
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.5rem; top: 50%;
  width: 16px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.faq-item summary::before { transform: translateY(-50%); }
.faq-item summary::after  { transform: translateY(-50%) rotate(90deg); }
.faq-item.is-open summary::after { transform: translateY(-50%) rotate(0deg); }
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::before, .faq-item summary::after { transition: none; }
}
.faq-mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.faq-mark-a { color: var(--navy-soft); }
.faq-a {
  display: flex;
  gap: 1rem;
  padding: 0 1.6rem;
  height: 0; overflow: hidden;
  transition: height .45s cubic-bezier(.4,0,.2,1);
}
.faq-a p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.9; padding-bottom: 1.5rem; margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }


/* ========================================
   アクセス
   ======================================== */
.access { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper-2); }
.access-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: stretch; }
.access-map {
  background: var(--paper);
  border: 1px dashed var(--accent-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 320px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.7;
}
.access-info { background: var(--white); padding: 2.4rem 2.4rem; }
.access-info h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 1.4rem; letter-spacing: 0.05em; }
.access-list > div { display: flex; gap: 1.2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.access-list dt {
  flex-shrink: 0;
  width: 5.5em;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.9rem;
}
.access-list dd { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; }
.holiday { font-size: 0.8rem; color: var(--accent); }


/* ========================================
   CONTACT
   ======================================== */
.contact { position: relative; padding: clamp(5.5rem, 12vw, 9rem) 0; overflow: hidden; text-align: center; }
.contact-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.contact-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,42,68,0.82), rgba(18,42,68,0.9)); }
.contact-inner { position: relative; z-index: 2; color: var(--white); }
.contact-inner h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: 0.07em; margin: 0.4rem 0 1.2rem; }
.contact-inner > p { color: rgba(255,255,255,0.9); font-weight: 300; margin-bottom: 2.6rem; }
.contact-actions { display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap; }
.contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 290px;
  padding: 1.5rem 2rem;
  transition: 0.3s;
}
.contact-btn-tel { background: var(--white); color: var(--navy); }
.contact-btn-tel:hover { background: var(--paper); }
.contact-btn-mail { border: 1px solid rgba(255,255,255,0.6); color: var(--white); }
.contact-btn-mail:hover { background: rgba(255,255,255,0.12); }
.contact-btn-label { font-size: 0.72rem; letter-spacing: 0.12em; opacity: 0.8; }
.contact-btn-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.contact-btn-mail .contact-btn-main { font-family: 'Noto Serif JP', serif; font-size: 1.15rem; }
.contact-btn-note { font-size: 0.72rem; opacity: 0.75; }


/* ========================================
   フッター
   ======================================== */
.site-footer { position: relative; background: var(--navy-dark); color: rgba(255,255,255,0.85); padding: 4rem 0 2.2rem; text-align: center; }
.footer-logo { font-family: 'Noto Serif JP', serif; font-size: 2rem; font-weight: 700; color: var(--white); letter-spacing: 0.2em; }
.footer-name { font-family: 'Noto Serif JP', serif; font-size: 1rem; margin-top: 0.5rem; color: var(--white); letter-spacing: 0.1em; }
.footer-meta { font-size: 0.8rem; margin-top: 1rem; line-height: 1.9; opacity: 0.8; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin: 2.2rem 0; }
.footer-nav a { font-size: 0.83rem; letter-spacing: 0.04em; opacity: 0.85; transition: 0.3s; }
.footer-nav a:hover { opacity: 1; color: var(--accent-soft); }
.footer-tels { margin-bottom: 2.4rem; }
.footer-tel-btn {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.7em 1.8em;
  color: var(--white);
  transition: 0.3s;
}
.footer-tel-btn:hover { background: rgba(255,255,255,0.1); }
.footer-copy { font-size: 0.74rem; opacity: 0.6; letter-spacing: 0.05em; }
.footer-demo { font-size: 0.72rem; opacity: 0.55; margin-top: 0.6rem; }
.to-top {
  position: absolute;
  right: 28px; top: 28px;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: 0.3s;
}
.to-top:hover { background: rgba(255,255,255,0.12); }


/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 900px) {
  .philosophy-grid, .profile-grid, .access-grid { grid-template-columns: 1fr; }
  .profile-grid { gap: 2.5rem; }
  .profile-figure { max-width: 360px; margin: 0 auto; }
  .services-grid, .worries-grid, .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.18); padding-bottom: 1.5rem; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; padding-bottom: 0; padding-top: 1.5rem; }
}

@media (max-width: 768px) {
  /* ヘッダー：ハンバーガー */
  .nav-toggle { display: flex; }
  .gnav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.4rem;
    padding: 2rem 2.4rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav a { color: var(--white); font-size: 1rem; }
  .gnav a:not(.gnav-cta)::after { background: var(--accent-soft); }
  .gnav-cta { background: var(--accent); width: 100%; text-align: center; }

  /* ヒーロー：柱を畳む */
  .hero { min-height: 88vh; }
  .hero-pillar {
    width: 100%;
    min-height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 78px 16px 14px;
  }
  .hero-pillar-logo { font-size: 1.3rem; }
  .hero-pillar-ja { writing-mode: horizontal-tb; font-size: 0.85rem; letter-spacing: 0.15em; margin-top: 0; }
  .hero-pillar-en { display: none; }
  .hero-vertical { top: 130px; right: 22px; font-size: 1.2rem; letter-spacing: 0.4em; }
  .hero-foot { padding: 0 24px 8vh; }
  .hero-actions { gap: 1.4rem; }

  .sp-only { display: inline; }
}

@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .worries-grid, .services-grid, .reasons-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .reasons-grid { gap: 1.4rem; }
  .hero-lead-ja { font-size: 1.55rem; }

  /* 料金テーブルをカード化 */
  .pricing-table thead { display: none; }
  .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td { display: block; width: 100%; }
  .pricing-table tr {
    border: 1px solid var(--line);
    margin-bottom: 1rem;
    padding: 0.4rem 0;
    background: var(--white) !important;
  }
  .pricing-table td { border-bottom: 1px dashed var(--line); padding: 0.7rem 1.2rem; }
  .pricing-table tr td:last-child { border-bottom: none; }
  .pricing-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
  }
  .price-amount { font-size: 1.4rem; }
  .contact-btn { min-width: 100%; }
  .access-info { padding: 1.8rem 1.4rem; }
  .access-list > div { flex-direction: column; gap: 0.2rem; }
}

@media (min-width: 769px) {
  /* 固定ヘッダー分の余白（アンカー位置補正） */
  section[id] { scroll-margin-top: 80px; }
}
