/* 吉江社会保険労務士事務所 共通スタイル */
:root {
  --navy: #12304f;
  --navy-deep: #0b2038;
  --gold: #b08a4a;
  --ink: #1f2933;
  --muted: #5b6672;
  --line: #e3e0d8;
  --bg: #ffffff;
  --bg-soft: #f6f4ef;
  --radius: 10px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { text-decoration: none; color: var(--navy); font-weight: 700; font-size: 17px; letter-spacing: .02em; line-height: 1.3; }
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .08em; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
/* 社労士徽章：事務所名2行分の高さ。縦横比を保つため高さだけ指定し幅は自動 */
.logo-mark { height: 40px; width: auto; flex-shrink: 0; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-size: 14px; }
.nav a:hover { color: var(--gold); }
.nav .nav-cta a { background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 999px; }
.nav .nav-cta a:hover { background: var(--navy-deep); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; padding: 4px 8px; }

/* ファーストビュー */
/* 写真は右側に見せ、文字の下は白いグラデーションで読みやすくする */
.hero {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.97) 38%, rgba(255,255,255,.78) 58%, rgba(255,255,255,.15) 100%),
    url("../img/hero.jpg") right center / cover no-repeat;
  color: var(--navy);
  padding-block: 112px 104px;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow { color: var(--gold); font-size: 14px; letter-spacing: .12em; margin-bottom: 18px; font-weight: 700; }
.hero h1 { font-family: "Noto Serif JP", serif; font-size: clamp(30px, 5vw, 48px); font-weight: 600; letter-spacing: .04em; }
.hero .lead { margin-top: 22px; max-width: 560px; color: var(--ink); font-size: 17px; }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero .btn-ghost { border-color: var(--navy); color: var(--navy); background: rgba(255,255,255,.7); }
.hero .btn-ghost:hover { background: var(--navy); color: #fff; }

.btn {
  display: inline-block; text-decoration: none; border-radius: 999px;
  padding: 14px 30px; font-weight: 700; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; font-family: inherit;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9a7740; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

/* セクション共通 */
.section { padding-block: 88px; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .en { display: block; color: var(--gold); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.section-head h2 { font-family: "Noto Serif JP", serif; font-size: clamp(24px, 3.4vw, 32px); font-weight: 600; color: var(--navy); }
.section-head p { margin-top: 14px; color: var(--muted); }

/* 強み */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.reason .num { font-family: "Noto Serif JP", serif; color: var(--gold); font-size: 28px; line-height: 1; }
.reason h3 { margin: 14px 0 10px; font-size: 19px; color: var(--navy); }
.reason p { color: var(--muted); font-size: 15px; margin: 0; }

.stats { margin-top: 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.stat { text-align: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 8px; }
.stat b { display: block; font-family: "Noto Serif JP", serif; font-size: 28px; line-height: 1.2; }
.stat b small { font-size: 14px; margin-left: 2px; }
.stat span { font-size: 13px; color: rgba(255,255,255,.8); }

/* 考え方 */
.philosophy { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.philosophy blockquote {
  margin: 0; font-family: "Noto Serif JP", serif; font-size: clamp(22px, 3vw, 30px);
  color: var(--navy); line-height: 1.7; border-left: 3px solid var(--gold); padding-left: 24px;
}
.philosophy p { color: var(--ink); }

/* サービス */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: #fff; border-radius: var(--radius); border-top: 4px solid var(--navy); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.service .tag { font-size: 12px; letter-spacing: .12em; color: var(--gold); }
.service h3 { font-size: 21px; color: var(--navy); margin: 6px 0 12px; }
.service p { color: var(--muted); font-size: 15px; }
.service ul { list-style: none; padding: 0; margin: 0 0 24px; }
.service li { padding: 8px 0 8px 18px; border-bottom: 1px dashed var(--line); font-size: 15px; position: relative; }
.service li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.service .more { margin-top: auto; font-weight: 700; text-decoration: none; font-size: 15px; }
.service .more::after { content: " →"; }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: #fff; }
.plan h3 { font-size: 17px; color: var(--navy); }
.plan .price { margin: 12px 0; font-size: 14px; color: var(--muted); }
.plan .price b { font-family: "Noto Serif JP", serif; font-size: 24px; color: var(--ink); }
.plan p { font-size: 14px; color: var(--muted); margin: 0; }
.center-link { text-align: center; margin-top: 36px; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin-top: 16px; }

/* セミナー */
.seminar { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 24px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 14px; }
.box { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.box h3 { font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.box p { font-size: 15px; color: var(--muted); }

/* 代表紹介 */
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.profile img { border-radius: var(--radius); width: 220px; }
.profile .name { font-family: "Noto Serif JP", serif; font-size: 26px; color: var(--navy); }
.profile .name small { font-size: 14px; color: var(--muted); margin-left: 10px; font-family: "Noto Sans JP", sans-serif; }
.profile .role { color: var(--gold); font-size: 14px; margin-bottom: 16px; }
.profile ul { padding-left: 1.2em; margin: 0 0 20px; }

/* 事務所概要 */
.office { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 7.5em; color: var(--navy); font-weight: 700; white-space: nowrap; }
.awards { list-style: none; padding: 0; margin: 0; }
.awards li { background: #fff; border-left: 3px solid var(--gold); padding: 14px 18px; margin-bottom: 12px; font-size: 15px; border-radius: 0 var(--radius) var(--radius) 0; }
.awards li small { display: block; color: var(--muted); font-size: 13px; }
.awards li.award-photo { background: none; border: 0; padding: 0 0 0 3px; }
.awards li.award-photo img { display: block; width: 100%; max-width: 360px; height: auto; border-radius: var(--radius); }

/* 認証・表彰ロゴ（縦横比を保つため高さのみ指定） */
.logos { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logos li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 14px; width: 190px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.logos img { max-height: 110px; max-width: 100%; width: auto; height: auto; }
.logos img.small { height: 64px; margin-block: 23px; }
.logos span { display: block; margin-top: 10px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.policy-logo { float: right; height: 120px; width: auto; margin: 0 0 12px 20px; }

/* お問い合わせ */
.contact { background: var(--navy); color: #fff; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: rgba(255,255,255,.8); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.contact-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.contact-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 14px; }
.contact-card .mail-img { width: 100%; max-width: 280px; display: block; margin: 0 auto 18px; }
.contact-card .tel { font-family: "Noto Serif JP", serif; font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--muted); margin: 0; }
.contact .free { text-align: center; margin: 0 auto 40px; max-width: 720px; color: rgba(255,255,255,.88); }

/* フッター */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); font-size: 13px; padding-block: 36px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: #fff; }

/* 下層ページ */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: 56px 48px; }
.page-head .en { color: var(--gold); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.page-head h1 { font-family: "Noto Serif JP", serif; font-size: clamp(26px, 4vw, 36px); font-weight: 600; color: var(--navy); margin-top: 6px; }
.page-head p { margin: 14px 0 0; color: var(--muted); max-width: 720px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

.toc { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.toc a { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 14px; text-decoration: none; }
.toc a:hover { border-color: var(--gold); }

.article { padding-block: 64px 24px; }
.block { max-width: 860px; margin: 0 auto 72px; }
.block > h2 { font-family: "Noto Serif JP", serif; font-size: clamp(22px, 3vw, 28px); font-weight: 600; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 24px; }
.block > h2 small { display: block; font-family: "Noto Sans JP", sans-serif; font-size: 13px; color: var(--gold); letter-spacing: .12em; font-weight: 400; }
.block h3 { font-size: 18px; color: var(--navy); margin: 32px 0 12px; }
.block ul, .block ol { padding-left: 1.4em; margin: 0 0 1em; }
.block li { margin-bottom: 4px; }
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.steps li { counter-increment: step; background: var(--bg-soft); border-radius: 8px; padding: 10px 14px 10px 48px; position: relative; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; text-align: center; line-height: 24px; }
.price-box { border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 20px 0; background: #fff; }
.price-box b { color: var(--navy); }
.price-box p { margin: 0; font-size: 15px; }
.price-box p + p { margin-top: 6px; }
.note { font-size: 14px; color: var(--muted); }

.table-scroll { overflow-x: auto; margin: 16px 0 8px; }
.fee { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.fee th, .fee td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.fee thead th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
.fee tbody th { background: var(--bg-soft); color: var(--navy); font-weight: 700; min-width: 7em; }
.fee td.num, .fee th.num { text-align: right; white-space: nowrap; }
.fee td.c { text-align: center; }
/* スマホ：表は横スクロール。左端の列を固定し、横に動かせることを案内する */
@media (max-width: 600px) {
  .table-scroll::before { content: "← 表は横にスクロールできます →"; display: block; font-size: 12px; color: var(--muted); text-align: right; margin-bottom: 4px; position: sticky; left: 0; }
  .fee tbody th:first-child, .fee thead th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 2px 0 0 var(--line); }
}

details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 16px 0; background: #fff; }
details summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details[open] summary { margin-bottom: 12px; }

.cta-band { background: var(--navy); color: #fff; text-align: center; padding-block: 56px; }
.cta-band p { margin: 0 0 20px; color: rgba(255,255,255,.85); }

.profile-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.profile-table th, .profile-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.profile-table th { width: 7em; color: var(--navy); white-space: nowrap; }
.mail-inline { height: 1.2em; width: auto; vertical-align: -0.25em; }
.noscript { background: #fff4e5; border: 1px solid #e8c48a; border-radius: var(--radius); padding: 14px 18px; margin: 24px 0 0; }

/* お問い合わせフォーム（Googleフォームの埋め込み） */
.form-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.form-frame iframe { display: block; width: 100%; height: 1900px; border: 0; }
.prefill-note { background: #eef2f7; border-left: 4px solid var(--navy); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 15px; }

/* かんたん見積り */
.disclaimer { margin-top: 20px; background: #fff; border: 1px solid #e8c48a; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; font-size: 15px; max-width: 760px; }
.est-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-block: 40px 72px; }
.est-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 20px; background: #fff; min-width: 0; }
.est-step legend { font-weight: 700; color: var(--navy); font-size: 18px; padding: 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.est-step legend small { font-weight: 400; font-size: 13px; color: var(--muted); }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; }
.help { font-size: 13px; color: var(--muted); margin: 10px 0 0; line-height: 1.7; }
.count-input { display: flex; align-items: center; gap: 8px; }
.count-input input { width: 110px; font-size: 22px; text-align: center; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; }
.count-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-size: 22px; cursor: pointer; line-height: 1; }
.count-btn:hover { background: var(--navy); color: #fff; }
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-card { position: relative; cursor: pointer; }
.plan-card input { position: absolute; opacity: 0; }
.plan-card span { display: block; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 12px; text-align: center; height: 100%; }
.plan-card b { display: block; color: var(--navy); font-size: 15px; }
.plan-card small { color: var(--muted); font-size: 12px; }
.plan-card input:checked + span { border-color: var(--navy); background: #eef2f7; }
.plan-card input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.sub-option { margin-top: 16px; padding: 14px 16px; background: var(--bg-soft); border-radius: 8px; }
.sub-option label[for] { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.sub-option select { font-size: 15px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line); font-family: inherit; max-width: 100%; }
.check { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 15px; cursor: pointer; line-height: 1.6; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--navy); }
.check small { display: block; color: var(--muted); font-size: 12px; }
.check-grid .check { flex-wrap: wrap; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.indent { margin-left: 26px; }
.inline-count { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; font-size: 15px; }
.inline-count input { width: 72px; font-size: 16px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; text-align: right; font-family: inherit; }
.group-label { font-size: 13px; font-weight: 700; color: var(--gold); margin: 12px 0 2px; }
.est-group { margin: 12px 0 0; }
.est-group summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.est-group .badge { font-size: 12px; font-weight: 700; color: #fff; background: var(--gold); border-radius: 999px; padding: 0 10px; }
.est-group .badge:empty { display: none; }

.est-summary { position: sticky; top: 84px; background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); padding: 22px 22px 18px; max-height: calc(100vh - 100px); overflow-y: auto; }
.est-summary h2 { font-family: "Noto Serif JP", serif; color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.summary-warn { background: #fff4e5; border-radius: 6px; padding: 8px 12px; font-size: 13px; margin: 0 0 12px; }
.summary-cond { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.sum-section { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.sum-section h3 { font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.sum-section ul { list-style: none; padding: 0; margin: 0; }
.sum-section li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 4px 0; line-height: 1.5; }
.sum-section li small { display: block; color: var(--muted); font-size: 12px; }
.sum-section li b { white-space: nowrap; font-weight: 700; }
.sum-section li.needs-detail b { color: #a0522d; }
.sum-total { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 6px; font-size: 15px; }
.sum-total b { font-family: "Noto Serif JP", serif; font-size: 20px; color: var(--navy); }
.detail-msg { margin-top: 14px; background: #fdf0e6; border-left: 4px solid #a0522d; padding: 10px 12px; font-size: 13px; border-radius: 0 6px 6px 0; }
.detail-msg b { color: #a0522d; font-size: 14px; }
.sum-notes { font-size: 12px; color: var(--muted); padding-left: 1.2em; margin: 12px 0 0; }
.sum-notes-plain { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; }
.summary-actions .btn { width: 100%; text-align: center; }
.btn-text { background: none; border: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 6px 0; font-family: inherit; }
.est-bar { display: none; }

/* メニューが増えたため、少し広めの画面からハンバーガーメニューにする */
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta a { text-align: center; margin-top: 12px; border: 0; }
}

@media (max-width: 960px) {
  .est-layout { grid-template-columns: 1fr; }
  .est-summary { position: static; max-height: none; }
  .est-bar {
    display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9;
    background: var(--navy); color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .est-bar div { flex: 1; min-width: 0; }
  .est-bar small { display: block; font-size: 11px; color: rgba(255,255,255,.75); }
  .est-bar b { font-size: 16px; white-space: nowrap; }
  .est-bar .btn { padding: 10px 18px; }
  .estimate-page .site-footer { padding-bottom: 96px; }
}

/* スマホ */
@media (max-width: 860px) {
  .logo { font-size: 15px; }
  .logo small { font-size: 10px; letter-spacing: .02em; }
  .logo { gap: 8px; }
  .logo-mark { height: 36px; }
  .plan-cards { grid-template-columns: 1fr; gap: 8px; }
  .plan-card span { padding: 10px 14px; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .plan-card b { display: inline; }
  .check-grid { grid-template-columns: 1fr; }
  .est-step { padding: 18px 16px; }
  /* スマホでは写真を上の帯にして、文字は白地にのせる */
  .hero { background: #fff; padding-block: 0 56px; }
  .hero::before {
    content: ""; display: block; height: 200px; margin-bottom: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 60%, #fff 100%), url("../img/hero.jpg") 70% 60% / cover no-repeat;
  }
  .section { padding-block: 64px; }
  .reasons, .services, .philosophy, .seminar, .office, .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .philosophy { gap: 28px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .profile { grid-template-columns: 1fr; gap: 24px; }
  .profile img { width: 180px; }
  .page-head { padding-block: 40px 32px; }
  .article { padding-top: 40px; }
  .block { margin-bottom: 56px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
