@charset "UTF-8";
/* =========================================================
   みらい経営サポート税理士事務所（デモ）  style.css
   1. デザインの基本ルール（色・文字・余白）
   2. 土台
   3. 共通パーツ（ボタン・見出し・セクション・カード）
   4. デモ表示バー / ヘッダー / メニュー
   5. フッター / スマホ固定ボタン / 相談コーナー
   6. トップページ
   7. 下層ページ共通（ページタイトル・パンくず）
   8. 業務ページ・料金・事務所紹介・FAQ・お問い合わせ
   ========================================================= */

/* ---------- 1. デザインの基本ルール ---------- */
:root {
  /* 色 */
  --c-white: #ffffff;
  --c-gray: #f3f5f7;        /* 淡いグレー（区切りの背景） */
  --c-gray-2: #e8ecf0;
  --c-line: #d9dee5;
  --c-navy: #1f2f4a;        /* 濃紺（見出し・ヘッダー・フッター） */
  --c-navy-dark: #16233a;
  --c-teal: #1f7a72;        /* ブルーグリーン（アクセント・相談ボタン） */
  --c-teal-dark: #17605a;
  --c-teal-light: #e4f2f0;
  --c-text: #2b2f36;
  --c-muted: #535b67;       /* 補足文字（グレー背景でも読める濃さ） */
  --c-demo: #8a5a00;        /* デモ表示の文字色 */
  --c-demo-bg: #fff5df;

  /* 文字 */
  --f-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-num: "Inter", "Noto Sans JP", sans-serif;

  /* 余白・サイズ */
  --container: 1120px;
  --gutter: 20px;
  --section-y: 72px;
  --radius: 10px;
  --header-h: 68px;
  --shadow: 0 4px 20px rgba(31, 47, 74, 0.08);
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 104px; --header-h: 80px; }
}

/* ---------- 2. 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 18px; } }
body.is-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-teal-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--c-navy); }
:focus-visible { outline: 3px solid #2aa597; outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 700; color: var(--c-navy); line-height: 1.5; letter-spacing: 0.04em; margin: 0 0 0.6em; }
p { margin: 0 0 1.2em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }
.num { font-family: var(--f-num); font-feature-settings: "tnum"; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- 3. 共通パーツ ---------- */
.section { padding: var(--section-y) 0; }
.section--gray { background: var(--c-gray); }
.section--teal { background: var(--c-teal-light); }
.section--navy { background: var(--c-navy); color: #e6ebf2; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* 見出し：小さな英字ラベルは飾り、日本語が主役 */
.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; }
.section-head__label { display: inline-block; font-family: var(--f-num); font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--c-teal); margin-bottom: 8px; }
.section-head__title { font-size: 1.55rem; margin: 0; }
.section-head__lead { margin: 18px 0 0; color: var(--c-muted); }
.section-head--center .section-head__lead { margin-left: auto; margin-right: auto; max-width: 40em; }
.section--navy .section-head__label { color: #7fd1c6; }
.section--navy .section-head__lead { color: #cfd7e2; }
@media (min-width: 768px) { .section-head__title { font-size: 1.95rem; } }
.section-head__title::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--c-teal); margin-top: 14px; }
.section-head--center .section-head__title::after { margin-left: auto; margin-right: auto; }

/* ボタン（指で押しやすい高さ52px） */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  font-family: var(--f-sans); font-size: 1rem; font-weight: 700; letter-spacing: .06em; line-height: 1.4;
  text-decoration: none; border: 2px solid transparent; border-radius: 8px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn--noarrow::after { display: none; }
.btn--primary { background: var(--c-teal); color: #fff; }
.btn--primary:hover { background: var(--c-teal-dark); color: #fff; }
.btn--navy { background: var(--c-navy); color: #fff; }
.btn--navy:hover { background: var(--c-navy-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--c-navy); border-color: var(--c-navy); }
.btn--outline:hover { background: var(--c-navy); color: #fff; }
.btn--white { background: #fff; color: var(--c-navy); }
.btn--white:hover { background: var(--c-teal-light); color: var(--c-navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: #fff; color: var(--c-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.more { margin-top: 44px; text-align: center; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-teal-dark); text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover { color: var(--c-navy); }
.text-link:hover::after { transform: translateX(3px); }

/* 写真 */
.photo { overflow: hidden; border-radius: var(--radius); background: var(--c-gray-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.photo-note { font-size: .78rem; color: var(--c-muted); margin: 6px 0 0; }

/* デモ表示 */
.demo-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6; padding: 2px 10px; border-radius: 4px; background: var(--c-demo-bg); color: var(--c-demo); border: 1px solid #f0d9a8; vertical-align: middle; }
.notice { border-left: 4px solid #e0b252; background: var(--c-demo-bg); border-radius: 6px; padding: 16px 20px; font-size: .95rem; color: #5b4310; }
.notice p:last-child { margin-bottom: 0; }

/* カード */
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px 24px; }
.card--shadow { border: 0; box-shadow: var(--shadow); }
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* 写真＋文章の2列 */
.split { display: grid; gap: 32px; align-items: center; }
.split__body > *:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split__media { order: 2; }
}

/* チェック付きリスト */
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 20px; height: 20px; border-radius: 50%; background: var(--c-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* アイコン（線画SVG） */
.icon { width: 48px; height: 48px; color: var(--c-teal); flex: none; }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--c-teal-light); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-circle .icon { width: 34px; height: 34px; }

/* ---------- 4. デモ表示バー / ヘッダー / メニュー ---------- */
.demo-bar { background: var(--c-navy-dark); color: #e6ebf2; font-size: .8rem; line-height: 1.6; text-align: center; padding: 6px var(--gutter); }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--c-line); }
.site-header__inner { height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-navy); margin-right: auto; white-space: nowrap; }
.logo:hover { color: var(--c-navy); }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.logo__sub { font-size: .75rem; font-weight: 500; color: var(--c-muted); letter-spacing: .06em; }
.logo__main { font-size: 1rem; font-weight: 700; letter-spacing: .06em; }
@media (min-width: 768px) { .logo__main { font-size: 1.12rem; } }

.header-tel { display: none; }
@media (min-width: 1280px) {
  .header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; text-decoration: none; color: var(--c-navy); margin-left: 8px; }
  .header-tel__num { font-family: var(--f-num); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; }
  .header-tel__time { font-size: .75rem; color: var(--c-muted); }
}
.header-cta { min-height: 44px; padding: 8px 16px; font-size: .9rem; white-space: nowrap; }
.header-cta::after { display: none; }
@media (max-width: 420px) { .header-cta { display: none; } }

.menu-toggle { width: 48px; height: 48px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 0; color: var(--c-navy); }
.menu-toggle__bar { width: 24px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-toggle__label { font-size: .75rem; font-weight: 700; line-height: 1; margin-top: 2px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* スマホ・タブレット：全画面メニュー */
.global-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 16px var(--gutter) 120px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.global-nav.is-open { visibility: visible; opacity: 1; }
.global-nav__list { max-width: 560px; margin: 0 auto; }
.global-nav__list > li { border-bottom: 1px solid var(--c-line); }
.global-nav__list a, .subnav-toggle { display: flex; align-items: center; width: 100%; min-height: 56px; padding: 12px 4px; text-decoration: none; color: var(--c-navy); font: inherit; font-weight: 700; font-size: 1.02rem; background: none; border: 0; text-align: left; cursor: pointer; }
.global-nav__list a:hover, .global-nav__list a[aria-current="page"] { color: var(--c-teal-dark); }
.subnav-toggle { justify-content: space-between; }
.subnav-toggle::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 6px 0 0; transition: transform .2s; }
.subnav-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.subnav { display: none; padding: 0 0 12px 12px; }
.subnav.is-open { display: block; }
.subnav a { min-height: 48px; font-weight: 500; font-size: .97rem; padding: 8px 4px; }
.subnav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-teal); margin-right: 12px; flex: none; }
.global-nav__cta { max-width: 560px; margin: 28px auto 0; display: grid; gap: 12px; }
.global-nav__cta .btn { width: 100%; }

/* PC：横並びメニュー＋業務案内のドロップダウン */
@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .global-nav { position: static; visibility: visible; opacity: 1; background: none; padding: 0; overflow: visible; }
  .global-nav__list { display: flex; max-width: none; gap: 4px; }
  .global-nav__list > li { border: 0; position: relative; }
  .global-nav__list > li > a, .subnav-toggle { min-height: 44px; padding: 8px 12px; font-size: .92rem; white-space: nowrap; border-radius: 6px; }
  .global-nav__list > li > a:hover, .subnav-toggle:hover { background: var(--c-gray); }
  .global-nav__list > li > a[aria-current="page"] { color: var(--c-teal-dark); box-shadow: inset 0 -3px 0 var(--c-teal); border-radius: 6px 6px 0 0; }
  .subnav-toggle::after { width: 6px; height: 6px; margin-left: 8px; }
  .subnav { position: absolute; left: 0; top: 100%; min-width: 300px; background: #fff; border: 1px solid var(--c-line); border-radius: 8px; box-shadow: var(--shadow); padding: 8px; }
  .has-subnav:hover .subnav, .has-subnav:focus-within .subnav { display: block; }
  .subnav a { border-radius: 6px; padding: 8px 12px; white-space: nowrap; }
  .subnav a:hover { background: var(--c-gray); }
  .global-nav__cta { display: none; }
}

/* ---------- 5. フッター / スマホ固定ボタン / 相談コーナー ---------- */
.site-footer { background: var(--c-navy); color: #d3dbe6; padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.1fr 1.5fr; gap: 64px; } }
.footer-logo { color: #fff; margin-bottom: 20px; }
.footer-logo:hover { color: #fff; }
.footer-logo .logo__sub { color: #aab6c7; }
.footer-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.footer-info dt { color: #aab6c7; font-size: .85rem; padding-top: .15em; }
.footer-tel { font-family: var(--f-num); font-size: 1.4rem; font-weight: 700; letter-spacing: .04em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 24px; }
@media (min-width: 600px) { .footer-nav { grid-template-columns: repeat(3, 1fr); } }
.footer-nav a { display: block; padding: 8px 0; }
.footer-demo { margin-top: 40px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; font-size: .85rem; color: #d3dbe6; }
.footer-bottom { margin-top: 32px; padding: 18px 0 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: #aab6c7; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p { margin: 0; }
@media (max-width: 899px) { .site-footer { padding-bottom: 72px; } }

.fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.4fr; box-shadow: 0 -4px 16px rgba(31,47,74,.15); }
.fixed-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.fixed-cta__tel { background: #fff; color: var(--c-navy); }
.fixed-cta__main { background: var(--c-teal); color: #fff; }
.fixed-cta svg { width: 18px; height: 18px; fill: currentColor; }
@media (min-width: 900px) { .fixed-cta { display: none; } }

/* 相談コーナー（全ページ共通） */
.cta { background: var(--c-navy); color: #e6ebf2; padding: 80px 0; }
.cta__box { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta__box { grid-template-columns: 1.3fr 1fr; gap: 56px; } .cta { padding: 104px 0; } }
.cta__title { color: #fff; font-size: 1.5rem; }
@media (min-width: 768px) { .cta__title { font-size: 1.9rem; } }
.cta__points { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.cta__points li { font-size: .88rem; padding: 4px 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.cta__actions { background: #fff; color: var(--c-text); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.cta__actions .btn { width: 100%; }
.cta__tel { display: block; margin: 18px 0 2px; font-family: var(--f-num); font-weight: 700; font-size: 1.8rem; color: var(--c-navy); text-decoration: none; letter-spacing: .04em; }
.cta__time { font-size: .85rem; color: var(--c-muted); margin: 0; }

/* ---------- 6. トップページ ---------- */
.hero { background: var(--c-gray); overflow: hidden; }
.hero__inner { display: grid; gap: 0; max-width: 1280px; margin: 0 auto; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.05fr 1fr; min-height: 560px; } }
.hero__body { padding: 48px var(--gutter) 56px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .hero__body { padding: 72px 56px 72px max(var(--gutter), calc((100vw - 1280px) / 2 + 32px)); } }
.hero__area { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--c-teal-dark); background: #fff; border-radius: 999px; padding: 4px 14px; margin-bottom: 18px; }
.hero__title { font-size: 1.9rem; line-height: 1.5; letter-spacing: .06em; margin-bottom: 16px; }
.hero__title em { font-style: normal; color: var(--c-teal-dark); }
@media (min-width: 768px) { .hero__title { font-size: 2.5rem; } }
.hero__lead { font-size: 1.02rem; color: var(--c-text); margin-bottom: 24px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero__badges li { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 6px 12px; font-size: .88rem; font-weight: 700; color: var(--c-navy); }
.hero__badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-teal); }
.hero__media { position: relative; min-height: 260px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__note { position: absolute; right: 10px; bottom: 8px; font-size: .78rem; color: #fff; background: rgba(22,35,58,.6); padding: 2px 8px; border-radius: 4px; }

/* よくある悩み */
.worry-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .worry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .worry-grid { grid-template-columns: repeat(3, 1fr); } }
.worry { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--c-text); transition: border-color .2s, box-shadow .2s; }
.worry:hover { border-color: var(--c-teal); box-shadow: var(--shadow); color: var(--c-text); }
.worry__q { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-num); font-weight: 700; }
.worry__text { font-weight: 700; line-height: 1.6; }
.worry__to { display: block; font-size: .82rem; font-weight: 500; color: var(--c-teal-dark); margin-top: 2px; }
.worry-answer { margin-top: 36px; text-align: center; font-size: 1.1rem; font-weight: 700; color: var(--c-navy); }

/* 対象者別 */
.target-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--c-text); transition: transform .2s; }
.target-card:hover { transform: translateY(-3px); color: var(--c-text); }
.target-card .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.target-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.target-card__who { font-size: .85rem; font-weight: 700; color: var(--c-teal-dark); }
.target-card__title { font-size: 1.2rem; margin: 4px 0 10px; }
.target-card__text { font-size: .95rem; color: var(--c-muted); }
.target-card .text-link { margin-top: auto; }

/* 業務案内 */
.service-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px 22px; }
.service-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.service-item p { font-size: .95rem; color: var(--c-muted); margin-bottom: 8px; }

/* 特徴 */
.feature-num { font-family: var(--f-num); font-weight: 700; font-size: 2.2rem; color: var(--c-teal); line-height: 1; display: block; margin-bottom: 12px; }
.feature h3 { font-size: 1.15rem; }
.feature p { font-size: .97rem; margin: 0; }

/* 代表者紹介（トップ） */
.profile-teaser { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .profile-teaser { grid-template-columns: 340px 1fr; gap: 56px; } }
.profile-teaser .photo { aspect-ratio: 4 / 5; }
.profile-name { font-size: 1.4rem; margin-bottom: 2px; }
.profile-role { font-size: .9rem; font-weight: 700; color: var(--c-teal-dark); }
.profile-quote { font-size: 1.15rem; font-weight: 700; color: var(--c-navy); line-height: 1.8; border-left: 4px solid var(--c-teal); padding-left: 18px; margin: 18px 0; }

/* 料金（トップの要約カード） */
.price-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line); padding: 26px 22px; text-align: center; display: flex; flex-direction: column; }
.price-card__name { font-size: 1.05rem; margin-bottom: 8px; }
.price-card__price { font-family: var(--f-num); font-size: 1.9rem; font-weight: 700; color: var(--c-navy); line-height: 1.3; margin: 0; }
.price-card__price small { font-family: var(--f-sans); font-size: .85rem; font-weight: 500; color: var(--c-muted); margin-left: 2px; }
.price-card__unit { font-size: .85rem; color: var(--c-muted); margin: 0 0 12px; }
.price-card__desc { font-size: .9rem; color: var(--c-muted); margin: 0; }
.price-card .demo-tag { align-self: center; margin-bottom: 12px; }

/* FAQ（タップで開く） */
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; padding: 18px 52px 18px 18px; position: relative; font-weight: 700; color: var(--c-navy); line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c-navy); color: #fff; font-family: var(--f-num); font-size: .9rem; display: flex; align-items: center; justify-content: center; margin-top: .1em; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--c-teal); border-bottom: 2px solid var(--c-teal); transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq summary:hover { color: var(--c-teal-dark); }
.faq__a { display: flex; gap: 14px; padding: 0 22px 20px 18px; }
.faq__a::before { content: "A"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c-teal-light); color: var(--c-teal-dark); font-family: var(--f-num); font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.faq__a p { margin: 0; font-size: .97rem; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group__title { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.faq-group__title::before { content: ""; width: 6px; height: 1.2em; background: var(--c-teal); border-radius: 3px; }

/* コラム・お知らせ（CMS化を想定した同じ形のカード） */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.post-item { border-bottom: 1px solid var(--c-line); }
.post-item__link { display: grid; gap: 4px 20px; padding: 18px 4px; text-decoration: none; color: var(--c-text); }
@media (min-width: 768px) { .post-item__link { grid-template-columns: 7.5em 8.5em 1fr; align-items: center; } }
.post-item__link:hover .post-item__title { color: var(--c-teal-dark); text-decoration: underline; }
.post-item__date { font-family: var(--f-num); font-size: .9rem; color: var(--c-muted); }
.post-item__cat { justify-self: start; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 4px; background: var(--c-teal-light); color: var(--c-teal-dark); }
.post-item__cat--news { background: var(--c-gray-2); color: var(--c-navy); }
.post-item__title { font-weight: 500; }

/* ---------- 7. 下層ページ共通 ---------- */
.page-hero { background: var(--c-navy); color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(31,122,114,.35); }
.page-hero__label { font-family: var(--f-num); font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: #7fd1c6; display: block; margin-bottom: 6px; position: relative; }
.page-hero__title { color: #fff; font-size: 1.65rem; margin: 0; position: relative; }
.page-hero__lead { color: #cfd7e2; margin: 12px 0 0; font-size: .97rem; position: relative; max-width: 40em; }
@media (min-width: 768px) { .page-hero { padding: 64px 0 56px; } .page-hero__title { font-size: 2.3rem; } }

.breadcrumb { background: var(--c-gray); font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; padding: 12px 0; }
.breadcrumb li { color: var(--c-muted); }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; color: #8a93a0; }
.breadcrumb a { color: var(--c-teal-dark); }

/* ページ内の目次 */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.anchor-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--c-navy); font-size: .95rem; font-weight: 500; }
.anchor-nav a:hover { border-color: var(--c-teal); color: var(--c-teal-dark); }

/* ---------- 8. 業務ページ・料金・事務所紹介・FAQ・お問い合わせ ---------- */
/* 業務ページの「こんなお悩み」 */
.worry-box { background: #fff; border: 2px solid var(--c-line); border-radius: var(--radius); padding: 28px 24px; }
.worry-box__title { font-size: 1.15rem; text-align: center; }
.worry-box .check-list { display: grid; gap: 4px 24px; }
@media (min-width: 768px) { .worry-box .check-list { grid-template-columns: 1fr 1fr; } }
.arrow-down { width: 0; height: 0; margin: 28px auto; border-left: 28px solid transparent; border-right: 28px solid transparent; border-top: 22px solid var(--c-teal); }

/* できること */
.support-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.support-card h3 .icon { width: 30px; height: 30px; }
.support-card p { font-size: .95rem; margin: 0; }

/* 進め方（番号付き） */
.steps { counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(var(--steps, 4), 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 20px 22px 20px; }
.step__num { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--c-navy); color: #fff; font-family: var(--f-num); font-size: .8rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .93rem; color: var(--c-muted); margin: 0; }

/* 料金表 */
.fee-block + .fee-block { margin-top: 56px; }
.fee-block__title { font-size: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fee-table { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.fee-table caption { text-align: left; font-size: .85rem; color: var(--c-muted); padding: 0 0 8px; caption-side: top; }
.fee-table th, .fee-table td { padding: 16px 18px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; font-size: .97rem; }
.fee-table thead th { background: var(--c-navy); color: #fff; font-weight: 700; font-size: .9rem; }
.fee-table tbody th { font-weight: 700; color: var(--c-navy); width: 40%; }
.fee-table tr:last-child th, .fee-table tr:last-child td { border-bottom: 0; }
.fee-table .price { font-family: var(--f-num); font-weight: 700; font-size: 1.15rem; color: var(--c-navy); white-space: nowrap; }
.fee-table .price small { font-family: var(--f-sans); font-weight: 500; font-size: .8rem; color: var(--c-muted); }
.fee-table td.note { font-size: .88rem; color: var(--c-muted); }
@media (max-width: 699px) {
  .fee-table thead { display: none; }
  .fee-table tr { display: block; border-bottom: 1px solid var(--c-line); padding: 14px 16px; }
  .fee-table tr:last-child { border-bottom: 0; }
  .fee-table th, .fee-table td { display: block; width: 100% !important; border: 0; padding: 2px 0; }
}
.fee-note { margin-top: 12px; font-size: .88rem; color: var(--c-muted); }
.fee-mini { display: grid; gap: 12px; }
.fee-mini__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 14px 18px; }
.fee-mini__name { font-weight: 700; color: var(--c-navy); }
.fee-mini__price { font-family: var(--f-num); font-weight: 700; color: var(--c-navy); font-size: 1.1rem; }
.fee-mini__price small { font-family: var(--f-sans); font-size: .8rem; color: var(--c-muted); font-weight: 500; }
.factor-list li { padding: 14px 0; border-bottom: 1px dashed var(--c-line); }
.factor-list strong { color: var(--c-navy); display: block; }

/* 事務所紹介 */
.profile-main { display: grid; gap: 32px; }
@media (min-width: 900px) { .profile-main { grid-template-columns: 360px 1fr; gap: 56px; align-items: start; } }
.profile-main .photo { aspect-ratio: 4 / 5; }
.career { border-left: 2px solid var(--c-line); padding-left: 20px; margin-top: 20px; }
.career li { position: relative; padding: 6px 0; font-size: .95rem; }
.career li::before { content: ""; position: absolute; left: -27px; top: 1em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--c-teal); }
.staff-card { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.staff-card .photo { aspect-ratio: 1 / 1; border-radius: 50%; }
.staff-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.staff-card p { font-size: .93rem; margin: 6px 0 0; }
.partner-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .partner-list { grid-template-columns: repeat(3, 1fr); } }
.partner { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 18px; text-align: center; }
.partner strong { display: block; color: var(--c-navy); font-size: 1.02rem; }
.partner span { font-size: .88rem; color: var(--c-muted); }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: .97rem; }
.info-table th { width: 8em; color: var(--c-muted); font-weight: 500; }
@media (max-width: 599px) { .info-table th, .info-table td { display: block; width: 100%; } .info-table th { border-bottom: 0; padding-bottom: 0; } .info-table td { padding-top: 2px; } }
.map-box { aspect-ratio: 16 / 10; background: var(--c-gray-2) repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.5) 14px 28px); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--c-muted); padding: 24px; }

/* お問い合わせ */
.contact-ways { display: grid; gap: 14px; }
@media (min-width: 768px) { .contact-ways { grid-template-columns: repeat(3, 1fr); } }
.contact-way { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.contact-way h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-way p { font-size: .9rem; color: var(--c-muted); margin: 0; }
.contact-way__tel { display: inline-block; font-family: var(--f-num); font-weight: 700; font-size: 1.6rem; color: var(--c-navy); text-decoration: none; margin: 4px 0; }
.form { display: grid; gap: 22px; }
.form__row label, .form__legend { display: block; font-weight: 700; color: var(--c-navy); margin-bottom: 8px; }
.req, .opt { font-size: .76rem; padding: 1px 8px; border-radius: 3px; margin-left: 8px; vertical-align: 2px; font-weight: 700; }
.req { background: #b3261e; color: #fff; }
.opt { background: var(--c-gray-2); color: var(--c-muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--c-text);
  background: #fff; border: 1px solid #aeb7c3; border-radius: 6px;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(31,122,114,.3); border-color: var(--c-teal); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-list label { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 1px solid #aeb7c3; border-radius: 6px; background: #fff; cursor: pointer; font-weight: 500; color: var(--c-text); margin: 0; }
.choice-list input { width: 20px; height: 20px; accent-color: var(--c-teal); }
.form__hint { font-size: .85rem; color: var(--c-muted); margin: 6px 0 0; }
.form__agree { font-size: .95rem; }
.form__agree input { width: 20px; height: 20px; accent-color: var(--c-teal); vertical-align: -4px; margin-right: 8px; }
.form__submit { text-align: center; }
.form__submit .btn { min-width: 280px; }
.form__result { margin-top: 16px; padding: 16px 20px; border-radius: 8px; background: var(--c-teal-light); color: var(--c-navy); font-weight: 700; }

/* 本文の読みもの（プライバシーポリシー） */
.prose h2 { font-size: 1.2rem; margin-top: 2.2em; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose li { margin-bottom: 6px; }

/* 汎用 */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.small { font-size: .88rem; color: var(--c-muted); }
[hidden] { display: none !important; }

.subnav-toggle.is-current { color: var(--c-teal-dark); }
.footer-bottom small { font-size: inherit; }
