/* =========================================================
   オーク税理士事務所  style.css
   Modern & refined responsive skeleton
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy:        #0e2a47;
  --navy-deep:   #0a1f36;
  --navy-soft:   #1b3a5c;
  --gold:        #b8945f;
  --gold-light:  #d7bd93;
  --ink:         #1c2530;
  --gray:        #5c6875;
  --line:        #e5e9ee;
  --bg:          #ffffff;
  --bg-soft:     #f6f8fa;
  --bg-tint:     #eef2f6;
  --white:       #ffffff;

  --serif: "Shippori Mincho", "Yu Mincho", serif;
  --sans:  "Noto Sans JP", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -20px rgba(14, 42, 71, .28);
  --shadow-sm: 0 8px 24px -14px rgba(14, 42, 71, .25);

  --container: 1120px;
  --gutter: 24px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(64px, 9vw, 120px) 0; }
.pc-only { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 44px; font-size: 16px; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.services .btn-ghost, .column .btn-ghost { border-color: var(--navy); color: var(--navy); }
.services .btn-ghost:hover, .column .btn-ghost:hover { background: var(--navy); color:#fff; }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-eyebrow {
  font-family: var(--sans);
  font-size: 13px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.section-title--light { color: #fff; }
.section-desc { margin-top: 18px; color: var(--gray); font-size: 15.5px; }
.section-more { text-align: center; margin-top: 48px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(14,42,71,.5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: block;
}
.logo-text { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--navy); white-space: nowrap; }

.global-nav ul { display: flex; align-items: center; gap: 22px; }
.global-nav a { font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.global-nav a:hover { color: var(--gold); }
.global-nav .nav-cta {
  padding: 11px 24px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
}
.global-nav .nav-cta:hover { background: var(--gold); color:#fff; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: none; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; height: 2px; width: 26px; margin-inline: auto;
  background: var(--navy); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  /* 上から：可読性オーバーレイ → 実写真(images/hero.jpg 任意) → ネイビーの下地(写真が無くても成立) */
  background:
    linear-gradient(to top, rgba(10,31,54,.50) 0%, rgba(14,42,71,.26) 40%, rgba(20,45,72,.08) 70%, rgba(27,58,92,0) 100%),
    radial-gradient(120% 90% at 78% 10%, rgba(184,148,95,.10), transparent 55%),
    url("../images/hero.jpg") center / cover no-repeat,
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-soft) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 20%, #000, transparent 75%);
}
.hero-inner { padding-block: clamp(60px, 12vh, 140px); }
/* 写真背景でも読めるよう、ヒーローの文字に影を付ける */
.hero-eyebrow, .hero-title, .hero-lead { text-shadow: 0 2px 18px rgba(6,20,38,.65), 0 1px 4px rgba(6,20,38,.5); }
.hero-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 6.2vw, 66px);
  line-height: 1.35;
  letter-spacing: .01em;
}
.hero-title em { color: var(--gold-light); font-style: normal; }
.hero-lead {
  margin-top: 30px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255,255,255,.82);
  line-height: 2;
}
.hero-actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 16px; }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--bg); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px 36px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-num {
  font-family: var(--serif);
  font-size: 15px; font-weight: 700; letter-spacing: .1em;
  color: var(--gold);
}
.service-card h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin: 14px 0 12px; }
.service-card p { color: var(--gray); font-size: 14.5px; }

/* 節税商品：考え方の詳細ブロック */
.service-feature {
  margin-top: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(30px, 4.5vw, 48px);
}
.service-feature h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 26px);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.5;
}
.service-feature .service-feature-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  margin-right: 12px;
}
.service-feature p { color: var(--gray); font-size: 15px; line-height: 2; }
.service-feature p + p { margin-top: 18px; }
.service-feature-more { margin-top: 28px; }
.service-card-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px; font-weight: 700;
  color: var(--gold);
}
.service-card-link:hover { color: var(--navy); }
/* 1カードに複数リンクを縦に並べる */
.service-card-links { margin-top: 18px; display: grid; gap: 8px; justify-items: start; }
.service-card-links .service-card-link { margin-top: 0; }

/* =========================================================
   Pricing
   ========================================================= */
.pricing { background: var(--bg-soft); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 32px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured {
  border: none;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 7px 20px; border-radius: 999px; white-space: nowrap;
}
.price-name { font-family: var(--serif); font-size: 22px; color: var(--navy); }
.price-card--featured .price-name { color: #fff; }
.price-target { font-size: 13.5px; color: var(--gray); margin-top: 6px; }
.price-card--featured .price-target { color: rgba(255,255,255,.7); }
.price-value {
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
}
.price-card--featured .price-value { border-color: rgba(255,255,255,.2); }
.price-num { font-size: 40px; font-weight: 700; color: var(--navy); }
.price-card--featured .price-num { color: var(--gold-light); }
.price-unit { font-size: 15px; color: var(--gray); margin-left: 6px; }
.price-card--featured .price-unit { color: rgba(255,255,255,.75); }
.price-list { display: grid; gap: 12px; margin-bottom: 32px; }
.price-list li { position: relative; padding-left: 26px; font-size: 14.5px; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}
.price-card .btn { margin-top: auto; width: 100%; }
.price-note { text-align: center; margin-top: 32px; font-size: 13px; color: var(--gray); }
.pricing-approach {
  max-width: 760px; margin: 20px auto 0; text-align: center;
  color: var(--gray); font-size: 15px; line-height: 1.95;
}

/* =========================================================
   Column
   ========================================================= */
.column { background: var(--bg); }
.column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.column-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.column-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
a.column-card { display: block; color: inherit; }
.column-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-tint), var(--bg-soft));
  position: relative;
}
.column-thumb::after {
  content: "OAK"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 30px; letter-spacing: .2em;
  color: rgba(14,42,71,.14);
}
.column-thumb--img { background: none; }
.column-thumb--img::after { display: none; }
.column-thumb--img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* コラム写真：images/ に写真を置くと自動で差し替わる（無ければイラストを表示） */
.column-thumb--photo { background: none; }
.column-thumb--photo::after { display: none; }
.column-thumb--photo {
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.column-thumb--invoice {
  background-image: url("../images/column-invoice.jpg"), url("../assets/invoice.svg");
}
.column-thumb--kyosai {
  background-image: url("../images/column-kyosai.jpg"), url("../assets/kyosai.svg");
}
.column-thumb--souzoku {
  background-image: url("../images/column-souzoku.jpg"), url("../assets/souzoku.svg");
}
.column-thumb--iryo {
  background-image: url("../images/column-iryo.jpg"), url("../assets/iryo.svg");
}
.column-thumb--kokko {
  background-image: url("../images/column-kokko.jpg"), url("../assets/kokko.svg");
}
.column-body { padding: 24px 24px 28px; }
.column-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-size: 12.5px; }
.column-tag { background: var(--bg-tint); color: var(--navy); font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.column-meta time { color: var(--gray); letter-spacing: .06em; }
.column-card h3 { font-size: 17px; line-height: 1.7; color: var(--ink); font-weight: 700; }
.column-card:hover h3 { color: var(--navy); }

/* =========================================================
   Cases
   ========================================================= */
.cases { background: var(--bg-soft); }
.case-list { display: grid; gap: 20px; }
.case-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  transition: box-shadow .3s var(--ease);
}
.case-item:hover { box-shadow: var(--shadow); }
.case-tag {
  align-self: start;
  font-family: var(--serif);
  font-size: 15px; font-weight: 700; color: var(--navy);
  padding-top: 4px;
  border-top: 3px solid var(--gold);
  display: inline-block;
}
.case-content h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin-bottom: 16px; }
.case-problem, .case-solution { font-size: 14.5px; color: var(--gray); }
.case-problem { margin-bottom: 10px; }
.case-problem strong { color: var(--ink); }
.case-solution strong { color: var(--gold); }

/* =========================================================
   Recruit
   ========================================================= */
.recruit { background: var(--navy-deep); color: #fff; }
.recruit-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.recruit-text .section-eyebrow { color: var(--gold-light); }
.recruit-lead { margin: 22px 0 28px; color: rgba(255,255,255,.82); line-height: 2; }
.recruit-points { display: grid; gap: 14px; margin-bottom: 38px; }
.recruit-points li { position: relative; padding-left: 30px; color: rgba(255,255,255,.9); }
.recruit-points li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 16px; height: 2px; background: var(--gold);
}
.recruit-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  /* images/recruit.jpg を置くと写真表示（無ければネイビー） */
  background:
    url("../images/recruit.jpg") center / cover no-repeat,
    radial-gradient(90% 70% at 30% 20%, rgba(184,148,95,.4), transparent 60%),
    linear-gradient(150deg, var(--navy-soft), var(--navy));
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
}

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

/* 連絡先情報 */
.contact-info {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
}
.contact-tel { display: grid; gap: 3px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-tel-label { font-size: 12.5px; color: rgba(255,255,255,.7); letter-spacing: .1em; }
.contact-tel-num { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--gold-light); letter-spacing: .04em; }
.contact-tel-time { font-size: 12.5px; color: rgba(255,255,255,.7); }
.contact-detail { display: grid; gap: 22px; }
.contact-detail dt { font-size: 12.5px; letter-spacing: .12em; color: var(--gold-light); margin-bottom: 6px; }
.contact-detail dd { margin: 0; font-size: 14.5px; line-height: 1.8; color: rgba(255,255,255,.9); }
.contact-detail dd a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* フォーム */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.form-row { margin-bottom: 22px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.req {
  display: inline-block; margin-left: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--gold);
  padding: 2px 8px; border-radius: 4px; vertical-align: middle;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.contact-form textarea { resize: vertical; line-height: 1.7; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184,148,95,.15);
}
.contact-form .is-invalid { border-color: #d05a4e; background: #fdf5f4; }
.form-error { min-height: 0; margin: 6px 0 0; font-size: 12.5px; color: #d05a4e; }
.form-error:empty { display: none; }
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 500 !important; color: var(--ink) !important;
  margin: 4px 0 6px;
}
.form-check input { width: auto; margin-top: 4px; accent-color: var(--gold); }
.form-submit { width: 100%; margin-top: 16px; }
.form-success {
  margin: 20px 0 0; padding: 16px 18px;
  background: #eef6f0; border: 1px solid #bfe0cb; border-radius: var(--radius-sm);
  color: #1d6b3f; font-size: 14px;
}
.form-fail {
  margin: 20px 0 0; padding: 16px 18px;
  background: #fdf3f2; border: 1px solid #f0c8c3; border-radius: var(--radius-sm);
  color: #b23b30; font-size: 14px;
}
.form-submit:disabled { opacity: .6; cursor: progress; transform: none; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); }
.footer-inner {
  display: flex; justify-content: space-between; gap: 48px;
  padding-block: clamp(48px, 6vw, 72px);
  flex-wrap: wrap;
}
.footer-brand .logo-mark { margin-bottom: 18px; }
.footer-name { font-family: var(--serif); font-size: 18px; color: #fff; margin-bottom: 14px; }
.footer-addr { font-size: 14px; line-height: 1.9; }
.footer-tel { margin-top: 12px; font-size: 14px; letter-spacing: .04em; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 48px; }
.footer-nav a { font-size: 14.5px; color: rgba(255,255,255,.8); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-copy { border-top: 1px solid rgba(255,255,255,.1); }
.footer-copy .container { padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy small { font-size: 12.5px; color: rgba(255,255,255,.55); letter-spacing: .05em; }
.footer-copy-link { font-size: 12.5px; color: rgba(255,255,255,.7); }
.footer-copy-link:hover { color: var(--gold-light); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .card-grid, .price-grid, .column-grid, .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .recruit-inner { grid-template-columns: 1fr; gap: 40px; }
  .recruit-visual { max-width: 380px; }
  .case-item { grid-template-columns: 1fr; gap: 16px; padding: 30px 28px; }
  .price-card--featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1140px) {
  :root { --header-h: 64px; }
  .pc-only { display: none; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(10,31,54,.98);
    backdrop-filter: blur(10px);
    padding: 12px 0 32px;
    transform: translateY(-140%);
    transition: transform .4s var(--ease);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  }
  .global-nav.is-open { transform: translateY(0); }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav li { width: 100%; }
  .global-nav a { display: block; padding: 16px 24px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
  .global-nav a:hover { color: var(--gold-light); }
  .global-nav .nav-cta { margin: 16px 24px 0; text-align: center; background: var(--gold); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .card-grid, .price-grid, .column-grid, .voice-grid, .dx-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .price-card--featured { order: -1; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .btn { width: 100%; }
  .contact-tel { width: 100%; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 30px 22px; }
  .fee-table thead th, .fee-table tbody th, .fee-table tbody td { padding: 14px 16px; }
  .fee-tax { display: block; margin-left: 0; margin-top: 4px; }
  .doc-grid { grid-template-columns: 1fr; }
  .scope-panel { padding: 8px 20px; }
  .perf-item { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
}

/* =========================================================
   Sub page : Company / Access
   ========================================================= */
.page-hero {
  margin-top: var(--header-h);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  color: #fff;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(184,148,95,.28), transparent 55%),
    linear-gradient(150deg, var(--navy-deep), var(--navy) 70%, var(--navy-soft));
}
/* 税務ページのヒーロー：images/hero-tax.jpg を置くと背景写真に切替（無ければネイビー） */
.page-hero--tax {
  background:
    linear-gradient(to top, rgba(10,31,54,.56) 0%, rgba(14,42,71,.30) 50%, rgba(20,45,72,.10) 100%),
    url("../images/hero-tax.jpg") center / cover no-repeat,
    linear-gradient(150deg, var(--navy-deep), var(--navy) 70%, var(--navy-soft));
}
/* 不動産ページのヒーロー：images/hero-fudosan.jpg を置くと背景写真に切替 */
.page-hero--fudosan {
  background:
    linear-gradient(to top, rgba(10,31,54,.56) 0%, rgba(14,42,71,.30) 50%, rgba(20,45,72,.10) 100%),
    url("../images/hero-fudosan.jpg") center / cover no-repeat,
    linear-gradient(150deg, var(--navy-deep), var(--navy) 70%, var(--navy-soft));
}
/* 記帳指導・業績管理・金融機関対応（03/04/05）：images/hero-tax02.jpg */
.page-hero--tax02 {
  background:
    linear-gradient(to top, rgba(10,31,54,.56) 0%, rgba(14,42,71,.30) 50%, rgba(20,45,72,.10) 100%),
    url("../images/hero-tax02.jpg") center / cover no-repeat,
    linear-gradient(150deg, var(--navy-deep), var(--navy) 70%, var(--navy-soft));
}
/* 節税商品・相続税申告（06/07）：images/hero-tax03.jpg */
.page-hero--tax03 {
  background:
    linear-gradient(to top, rgba(10,31,54,.56) 0%, rgba(14,42,71,.30) 50%, rgba(20,45,72,.10) 100%),
    url("../images/hero-tax03.jpg") center / cover no-repeat,
    linear-gradient(150deg, var(--navy-deep), var(--navy) 70%, var(--navy-soft));
}
/* コラム一覧のヒーロー：images/hero-column.jpg */
.page-hero--column {
  background:
    linear-gradient(to top, rgba(10,31,54,.56) 0%, rgba(14,42,71,.30) 50%, rgba(20,45,72,.10) 100%),
    url("../images/hero-column.jpg") center / cover no-repeat,
    linear-gradient(150deg, var(--navy-deep), var(--navy) 70%, var(--navy-soft));
}
/* 会社概要・アクセスのヒーロー：images/hero-tax.jpg（表紙） */
.page-hero--company {
  background:
    linear-gradient(to top, rgba(10,31,54,.56) 0%, rgba(14,42,71,.30) 50%, rgba(20,45,72,.10) 100%),
    url("../images/hero-tax.jpg") center / cover no-repeat,
    linear-gradient(150deg, var(--navy-deep), var(--navy) 70%, var(--navy-soft));
}
/* 写真ヒーローの文字を、明るい背景でも読めるよう影を付ける */
.page-hero--tax .page-hero-title, .page-hero--tax .page-hero-eyebrow, .page-hero--tax .breadcrumb,
.page-hero--tax02 .page-hero-title, .page-hero--tax02 .page-hero-eyebrow, .page-hero--tax02 .breadcrumb,
.page-hero--tax03 .page-hero-title, .page-hero--tax03 .page-hero-eyebrow, .page-hero--tax03 .breadcrumb,
.page-hero--column .page-hero-title, .page-hero--column .page-hero-eyebrow, .page-hero--column .breadcrumb,
.page-hero--company .page-hero-title, .page-hero--company .page-hero-eyebrow, .page-hero--company .breadcrumb,
.page-hero--fudosan .page-hero-title, .page-hero--fudosan .page-hero-eyebrow, .page-hero--fudosan .breadcrumb { text-shadow: 0 2px 16px rgba(6,20,38,.70), 0 1px 4px rgba(6,20,38,.55); }
.page-hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.page-hero-title { font-family: var(--serif); font-size: clamp(28px, 5vw, 46px); font-weight: 700; }
.breadcrumb { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.7); display: flex; gap: 12px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--gold-light); }

.overview { background: var(--bg); }
.overview-table { width: 100%; border-collapse: collapse; max-width: 900px; margin-inline: auto; }
.overview-table th, .overview-table td { text-align: left; padding: 22px 24px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; line-height: 1.9; }
.overview-table th { width: 180px; color: var(--navy); font-family: var(--serif); font-weight: 700; background: var(--bg-soft); white-space: nowrap; }
.overview-table td { color: var(--gray); }
.overview-table td a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* 税務顧問：定義・業務範囲 */
.service-feature p strong { color: var(--navy); font-weight: 700; }
.komon-scope { background: var(--bg-soft); }
.scope-panel {
  max-width: 760px; margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 40px;
}
.scope-list { display: grid; }
.scope-list li {
  position: relative;
  padding: 22px 8px 22px 40px;
  border-bottom: 1px solid var(--line);
}
.scope-list li:last-child { border-bottom: none; }
.scope-list li::before {
  content: ""; position: absolute; left: 8px; top: 27px;
  width: 14px; height: 14px; border-radius: 4px; background: var(--gold);
}
.scope-list strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--navy); }
.scope-list span { display: block; margin-top: 6px; font-size: 14px; color: var(--gray); line-height: 1.7; }

/* よくあるご質問（FAQ） */
.faq-section { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px;
  font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.5;
  transition: background .2s var(--ease);
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary:hover { background: var(--bg-soft); }
.faq-q {
  flex: none; width: 32px; height: 32px; border-radius: 8px;
  background: var(--navy); color: #fff;
  font-family: var(--serif); font-size: 16px; font-weight: 700;
  display: grid; place-items: center;
}
.faq > summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq[open] > summary { border-bottom: 1px solid var(--line); }
.faq[open] > summary::after { transform: rotate(-135deg); }
.faq-a { display: flex; gap: 16px; padding: 22px 26px; align-items: flex-start; }
.faq-a-mark {
  flex: none; width: 32px; height: 32px; border-radius: 8px;
  background: var(--gold); color: #fff;
  font-family: var(--serif); font-size: 16px; font-weight: 700;
  display: grid; place-items: center;
}
.faq-a p { color: var(--gray); font-size: 14.5px; line-height: 1.95; }

/* コラム記事 */
.article-body { max-width: 760px; margin-inline: auto; }
.article-figure {
  margin: 0 0 32px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.article-figure img { width: 100%; display: block; aspect-ratio: 16 / 7; object-fit: cover; }
/* 記事上部の図版：images/ に写真を置くと自動で差し替わる */
.article-figure--photo {
  aspect-ratio: 16 / 7;
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.article-figure--invoice {
  background-image: url("../images/column-invoice.jpg"), url("../assets/invoice.svg");
}
.article-figure--kyosai {
  background-image: url("../images/column-kyosai.jpg"), url("../assets/kyosai.svg");
}
.article-figure--souzoku {
  background-image: url("../images/column-souzoku.jpg"), url("../assets/souzoku.svg");
}
.article-figure--iryo {
  background-image: url("../images/column-iryo.jpg"), url("../assets/iryo.svg");
}
.article-figure--kokko {
  background-image: url("../images/column-kokko.jpg"), url("../assets/kokko.svg");
}
.article-lead {
  font-size: 17px; color: var(--navy); font-weight: 500;
  line-height: 1.95; margin-bottom: 32px;
  padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.article-body h2 {
  font-family: var(--serif); font-size: clamp(20px, 3vw, 25px); color: var(--navy);
  margin: 40px 0 18px; padding-left: 16px;
  border-left: 4px solid var(--gold); line-height: 1.4;
}
.article-body h3 {
  font-family: var(--serif); font-size: clamp(17px, 2.2vw, 20px); color: var(--navy);
  margin: 32px 0 12px; padding-left: 14px;
  border-left: 3px solid var(--gold-light); line-height: 1.5;
}
.article-body p { color: var(--ink); font-size: 15.5px; line-height: 2.05; margin-bottom: 20px; }
.article-body strong { color: var(--navy); font-weight: 700; }
.article-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold); }
.article-ref { font-size: 13.5px; color: var(--gray); margin-bottom: 20px; }
.article-ref a { color: var(--gray); }
/* .notice 内の見出しは .article-body h3 の装飾を打ち消す */
.article-body .notice h3 { margin: 0 0 12px; padding-left: 0; border-left: none; font-size: 18px; }
.article-body ul { margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.article-body li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink); line-height: 1.8; }
.article-body li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.article-back { margin-top: 44px; text-align: center; }
.privacy-date { margin-top: 32px; font-size: 14px; color: var(--gray); text-align: right; }

/* 業績管理支援：番号付きパネル */
.perf-list { max-width: 820px; margin-inline: auto; display: grid; gap: 20px; }
.perf-item {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px 36px;
}
.perf-num {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: var(--gold-light);
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  display: grid; place-items: center;
}
.perf-body h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin-bottom: 14px; }
.perf-body p { color: var(--gray); font-size: 14.5px; line-height: 1.95; }
.perf-body p + p { margin-top: 12px; }

/* 業種別 融資のポイント（アコーディオン） */
.industry-section { background: var(--bg-soft); }
.industry-list { max-width: 860px; margin-inline: auto; display: grid; gap: 16px; }
.industry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.industry > summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 28px;
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy);
  transition: background .2s var(--ease);
}
.industry > summary::-webkit-details-marker { display: none; }
.industry > summary:hover { background: var(--bg-soft); }
.industry-num { font-family: var(--serif); font-size: 15px; color: var(--gold); }
.industry > summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.industry[open] > summary { border-bottom: 1px solid var(--line); }
.industry[open] > summary::after { transform: rotate(-135deg); }
.industry-body { padding: 24px 28px 30px; display: grid; gap: 26px; }
.industry-block h4 {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin: 0 0 14px; padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.industry-block p { font-size: 14.5px; color: var(--gray); line-height: 1.95; margin: 0 0 14px; }
.industry-block ul { display: grid; gap: 11px; }
.industry-block li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--gray); line-height: 1.75; }
.industry-block li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--gold-light);
}
.industry-block strong { color: var(--navy); font-weight: 700; }

/* 注意書きコールアウト */
.notice {
  max-width: 820px; margin: 32px auto 0;
  background: #fbf7ef;
  border: 1px solid var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.notice h3 { font-family: var(--serif); font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.notice p { color: var(--gray); font-size: 14.5px; line-height: 1.95; }
.notice p strong { color: var(--ink); font-weight: 700; }
.notice p a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.notice p a:hover { color: var(--gold); }
.section-desc strong { color: var(--navy); font-weight: 700; }

/* クラウド会計・DX対応 */
.dx {
  color: #fff;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(184,148,95,.22), transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 75%);
}
.dx .section-eyebrow { color: var(--gold-light); }
.dx .section-desc { color: rgba(255,255,255,.82); }
.dx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin-inline: auto; }
.dx-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.dx-card h3 { font-family: var(--serif); font-size: 20px; color: #fff; margin-bottom: 14px; }
.dx-card p { color: rgba(255,255,255,.8); font-size: 14.5px; line-height: 1.9; }
.dx-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.dx-tags span {
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--gold-light);
  background: rgba(184,148,95,.14);
  border: 1px solid rgba(215,189,147,.35);
  padding: 6px 14px; border-radius: 999px;
}

/* お客様の声 */
.voice { background: var(--bg); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.voice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.voice-card::before {
  content: "\201C";
  position: absolute; top: 12px; left: 22px;
  font-family: var(--serif); font-size: 64px; line-height: 1;
  color: var(--gold-light); opacity: .55;
}
.voice-quote { position: relative; margin-top: 26px; flex: 1; color: var(--gray); font-size: 15px; line-height: 1.9; }
.voice-author {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 15px;
}
.voice-author span { display: block; margin-top: 4px; font-family: var(--sans); font-weight: 500; font-size: 12.5px; color: var(--gray); }

/* 税務申告代理：書類リスト */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
}
.doc-card h3 {
  font-family: var(--serif); font-size: 20px; color: var(--navy);
  padding-bottom: 12px; margin-bottom: 20px;
  border-bottom: 2px solid var(--gold);
}
.doc-list { display: grid; gap: 14px; }
.doc-list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink); line-height: 1.7; }
.doc-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--gold);
}

/* 相続税申告：料金プラン */
.fee { background: var(--bg-soft); }
.fee-intro { max-width: 820px; margin: 0 auto 28px; text-align: center; }
.fee-intro--secondary { margin-top: 56px; }
.fee-intro h3 {
  display: inline-block;
  font-family: var(--serif); font-size: 22px; color: var(--navy);
  padding-bottom: 8px; margin-bottom: 16px;
  border-bottom: 3px solid var(--gold);
}
.fee-intro p { color: var(--gray); font-size: 15px; line-height: 1.9; }
.fee-table-wrap { max-width: 820px; margin-inline: auto; overflow-x: auto; }
.fee-table {
  width: 100%; border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fee-table thead th {
  background: var(--navy); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 15px;
  text-align: left; padding: 16px 24px;
  letter-spacing: .04em;
}
.fee-table tbody th,
.fee-table tbody td {
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  font-size: 15px; vertical-align: middle;
}
.fee-table tbody th {
  text-align: left; font-weight: 700; color: var(--navy);
  background: var(--bg-soft); white-space: nowrap;
  width: 44%;
}
.fee-table tbody td { color: var(--ink); font-weight: 500; }
/* 3列（比較表）用：見出し列を狭くする */
.fee-table--3col tbody th { width: 26%; white-space: normal; }
.fee-tax { display: inline-block; margin-left: 10px; font-size: 13px; color: var(--gray); font-weight: 400; }
.fee-note-row td {
  background: #fff; color: var(--gray); font-size: 13px;
  padding: 12px 24px; line-height: 1.7;
}

/* 代表挨拶 */
.message { background: var(--bg-soft); }
.message-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.message-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  /* 代表写真（無ければグラデーション表示） */
  background:
    url("../images/_F1A1447.jpg") center / cover no-repeat,
    linear-gradient(150deg, var(--bg-tint), var(--bg-soft));
}
.message-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 24px;
}
.message-body p { color: var(--gray); font-size: 15px; line-height: 2; }
.message-body p + p { margin-top: 16px; }
.message-sign { margin-top: 30px; }
.message-sign span { display: block; font-size: 13px; color: var(--gray); letter-spacing: .04em; margin-bottom: 6px; }
.message-sign strong { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: .06em; }
.message-qual { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.message-qual-label { font-size: 12.5px; letter-spacing: .12em; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.message-qual ul { display: grid; gap: 9px; }
.message-qual li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink); line-height: 1.7; }
.message-qual li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--gold); }

.access { background: var(--bg); }
.access-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.access-info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.access-info h3 { font-family: var(--serif); font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.access-addr { font-size: 15px; line-height: 1.9; color: var(--ink); margin-bottom: 24px; }
.access-list { display: grid; gap: 18px; margin-bottom: 28px; }
.access-list dt { font-size: 12.5px; letter-spacing: .1em; color: var(--gold); font-weight: 700; margin-bottom: 5px; }
.access-list dd { margin: 0; font-size: 14px; color: var(--gray); line-height: 1.8; }

.cta-band { background: var(--navy-deep); color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band-title { font-family: var(--serif); font-size: clamp(22px, 3.2vw, 30px); }
.cta-band-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band-tel { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--gold-light); display: grid; }
.cta-band-tel small { font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .06em; }

@media (max-width: 820px) {
  .access-grid { grid-template-columns: 1fr; }
  .message-inner { grid-template-columns: 1fr; gap: 28px; }
  .message-photo { max-width: 300px; margin-inline: auto; width: 100%; }
  .overview-table th { width: 120px; padding: 16px; }
  .overview-table td { padding: 16px; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-actions { flex-direction: column; width: 100%; }
  .cta-band-actions .btn { width: 100%; }
}

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--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, .service-card:hover, .price-card:hover, .column-card:hover { transform: none; }
}

/* ---------- Achievement / stat band ---------- */
.stat-band {
  background:
    linear-gradient(135deg, rgba(14,42,71,.82) 0%, rgba(27,58,92,.72) 100%),
    url("../images/hero-tax.jpg") center/cover no-repeat,
    linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  margin-top: 8px;
}
.stat-band .stat-label {
  font-size: .9rem;
  letter-spacing: .14em;
  color: var(--gold-light);
  margin: 0 0 18px;
  font-weight: 600;
}
.stat-band .stat-figure {
  font-family: var(--serif);
  line-height: 1.1;
  margin: 0 0 18px;
}
.stat-band .stat-figure .stat-num {
  font-size: clamp(3rem, 8vw, 4.6rem);
  font-weight: 700;
  color: var(--gold-light);
  padding: 0 .1em;
}
.stat-band .stat-figure .stat-unit {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
}
.stat-band .stat-desc {
  font-size: 1.02rem;
  line-height: 1.9;
  margin: 0;
  color: rgba(255,255,255,.92);
}
@media (max-width: 640px) {
  .stat-band { padding: 36px 22px; }
}

/* ---------- 税理士変更 導線バナー ---------- */
.switch-band {
  background:
    linear-gradient(135deg, rgba(14,42,71,.86) 0%, rgba(27,58,92,.78) 100%),
    url("../images/hero-tax.jpg") center/cover no-repeat,
    linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: 16px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.switch-band-text { flex: 1 1 340px; color: #fff; }
.switch-band-eyebrow {
  font-size: .82rem; letter-spacing: .14em; color: var(--gold-light);
  font-weight: 600; margin: 0 0 10px;
}
.switch-band-title {
  font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 600; line-height: 1.5; margin: 0 0 12px;
}
.switch-band-desc {
  font-size: 1rem; line-height: 1.9; margin: 0; color: rgba(255,255,255,.9);
}
.switch-band-action { flex: 0 0 auto; }
@media (max-width: 640px) {
  .switch-band { padding: 30px 24px; }
  .switch-band-action, .switch-band-action .btn { width: 100%; text-align: center; }
}

/* ---------- 関連会社 ---------- */
.group-name {
  font-family: var(--serif);
  font-size: clamp(17px, 2.4vw, 20px);
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.overview-table + .group-name { margin-top: 40px; }
.overview-list { margin: 0; padding: 0; }
.overview-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  line-height: 1.7;
}
.overview-list li:last-child { margin-bottom: 0; }
.overview-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .7em;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- 沿革 タイムライン ---------- */
.history { background: var(--bg-soft); }
.history-timeline {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.history-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 0 30px 26px;
  border-left: 2px solid var(--line);
}
.history-item:last-child { padding-bottom: 0; }
.history-item::before {
  content: "";
  position: absolute;
  left: -8px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-soft);
}
.history-year {
  flex: 0 0 auto;
  min-width: 56px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.history-text { flex: 1; }
.history-text p { line-height: 1.85; }
@media (max-width: 560px) {
  .history-item { flex-direction: column; gap: 4px; }
  .history-year { font-size: 18px; }
}

/* ---------- 引用ブロック ---------- */
.quote-block {
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--bg-tint);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.quote-block p {
  font-family: var(--serif);
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.7;
  margin: 0 0 10px;
}
.quote-block cite {
  font-style: normal;
  font-size: 14px;
  color: var(--gray);
}

/* ---------- お客様の声：レスポンシブ修正（記述順の上書き） ---------- */
@media (max-width: 960px) {
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .voice-grid { grid-template-columns: 1fr; }
}
