/* Layout: 白地と淡い青の帯を交互に重ねる読みやすい構成。信頼の青、行動のオレンジ、要点に黄色のマーカー。
   公開サイトは明るい配色だけに固定（ダークモードでも同じ見た目）。 */
:root {
  --bg: #ffffff;
  --bg-alt: #f1f5fa;
  --ink: #18212d;
  --ink-soft: #3f4b5c;
  --rule: #d6dee8;
  --primary: #0d4a87;       /* 信頼の青：見出しの印・リンク・表の罫 */
  --primary-dark: #0a3866;
  --primary-soft: #e3edf8;
  --accent: #e2682c;        /* 行動のオレンジ：予約ボタンだけ */
  --accent-dark: #c4541d;
  --marker: #ffe07a;        /* 要点のマーカー */
  --todo-bg: #fff3c4;
  --todo-fg: #6b5200;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --num: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --measure: 42rem;
  --wide: 70rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.85; letter-spacing: .04em; font-weight: 400; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 4px; }
a:hover { color: var(--primary-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.45; text-wrap: balance; margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { max-width: calc(var(--wide) + 32px); margin-inline: auto; padding-inline: 16px; }
.todo { background: var(--todo-bg); color: var(--todo-fg); padding: 0 .3em; border-radius: 3px; font-weight: 700; }
.mark { background: linear-gradient(transparent 58%, var(--marker) 58%); }
.note { font-size: .9rem; color: var(--ink-soft); line-height: 1.8; }

/* header */
.site-head { background: var(--bg); border-bottom: 1px solid var(--rule); padding-block: 12px; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.35; }
.brand b { font-size: 1.3rem; color: var(--primary); letter-spacing: .04em; }
.brand small { color: var(--ink-soft); font-size: .8rem; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: .95rem; font-weight: 700; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--primary); }
.nav a:last-child { background: var(--accent); color: #fff; padding: 6px 16px; border-radius: 999px; }
.nav a:last-child:hover { background: var(--accent-dark); color: #fff; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: 12px 28px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem;
  border-radius: 999px; border: 2px solid var(--accent); box-shadow: 0 3px 0 var(--accent-dark);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: var(--bg); color: var(--primary); border-color: var(--primary); box-shadow: none; }
.btn.ghost:hover { background: var(--primary-soft); color: var(--primary-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(13,74,135,.10), transparent 70%); pointer-events: none; }
.hero .fee-line { margin-top: 14px; font-size: .95rem; color: var(--ink-soft); }
.hero-visual { margin: 0; background: var(--bg); border: 1px solid var(--rule); border-radius: 16px; padding: 18px 18px 10px; box-shadow: 0 12px 32px rgba(13,74,135,.12); position: relative; }
.hero-visual svg { display: block; width: 100%; height: auto; }
.hero-visual figcaption { text-align: center; font-size: .9rem; color: var(--ink-soft); padding-top: 4px; }
.hero-visual .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: hvGrow 7s ease-out infinite; }
.hero-visual .b2 { animation-delay: .35s; } .hero-visual .b3 { animation-delay: .7s; } .hero-visual .b4 { animation-delay: 1.05s; } .hero-visual .b5 { animation-delay: 1.4s; }
.hero-visual .hv-trend { animation: hvFade 7s ease-out infinite; animation-delay: 1.9s; }
.hero-visual .hv-pop { transform-box: fill-box; transform-origin: 50% 100%; animation: hvPop 7s ease-out infinite; animation-delay: 2.3s; }
.hero-visual .hv-spark { animation: hvFade 7s ease-out infinite; animation-delay: 2.6s; }
@keyframes hvGrow { 0% { transform: scaleY(0); } 12% { transform: scaleY(1); } 88% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes hvFade { 0% { opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes hvPop { 0% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.08); } 12% { transform: scale(1); } 78% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-visual .bar, .hero-visual .hv-trend, .hero-visual .hv-pop, .hero-visual .hv-spark { animation: none; } }
.hero { background: linear-gradient(180deg, var(--primary-soft), var(--bg)); padding-block: 56px 52px; }
.hero .wrap { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
.eyebrow { font-size: .9rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.35; }
.hero h1 em { font-style: normal; color: var(--primary); background: linear-gradient(transparent 62%, var(--marker) 62%); }
.hero .lead { margin-top: 20px; max-width: 34rem; font-size: 1.1rem; }
.hero .btn-row { margin-top: 28px; }
.visit {
  background: var(--bg); border: 2px solid var(--primary); border-radius: 12px; padding: 22px 24px;
  display: grid; gap: 10px; min-width: 0;
}
.visit .label { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.visit p { font-size: .95rem; color: var(--ink-soft); }
.visit .ledger { font-size: 1rem; }
.visit .ledger th, .visit .ledger td.n { white-space: normal; }
.visit .ledger td.n { font-weight: 700; color: var(--ink); font-size: 1.2rem; }
.visit .ledger th { vertical-align: middle; } .visit .ledger td.n { vertical-align: middle; line-height: 1.4; }

/* stats */
.stats { background: var(--primary); color: #fff; padding-block: 26px; }
.stats dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; }
.stats dl > div { display: grid; gap: 2px; min-width: 0; }
.stats dt { font-size: .9rem; opacity: .9; }
.stats dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.stats dd b { font-family: var(--num); font-size: 2.2rem; font-variant-numeric: tabular-nums; margin-right: 3px; }

/* sections */
section { padding-block: 64px; }
main > section:nth-of-type(even) { background: var(--bg-alt); }
.sec-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: var(--measure); }
.sec-head h2, .feature h2, .rep-body h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
.sec-head h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--primary); border-radius: 2px; margin-top: 12px; }
.sec-head p { color: var(--ink-soft); }

.worries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.worry { text-decoration: none; color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 26px 24px; display: grid; gap: 12px; align-content: start; box-shadow: 0 2px 10px rgba(13, 74, 135, .06); }
.worry:hover { border-color: var(--primary); }
.worry .tag { justify-self: start; font-size: .85rem; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 2px 12px; border-radius: 999px; }
.worry h3 { font-size: 1.25rem; }
.worry a { font-weight: 700; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.feature .copy { display: grid; gap: 18px; }
.feature > div:not(.copy) { background: var(--bg); border-radius: 12px; padding: 20px 22px; border: 1px solid var(--rule); min-width: 0; }

/* ledger table */
.ledger { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ledger caption { caption-side: bottom; text-align: left; padding-top: 10px; }
.ledger th, .ledger td { border-bottom: 1px solid var(--rule); padding: 12px 10px; text-align: left; vertical-align: top; }
.ledger thead th { background: var(--primary); color: #fff; border-bottom: 0; }
.ledger tbody th { font-weight: 700; white-space: nowrap; }
.ledger td.n { font-family: var(--num); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger tr.total th, .ledger tr.total td { border-top: 2px solid var(--primary); border-bottom: 2px solid var(--primary); font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.table-scroll { overflow-x: auto; }
#menu .ledger { background: var(--bg); border-radius: 12px; overflow: hidden; }
#menu .ledger tbody th { color: var(--primary); }

/* steps: 実際に順番がある流れ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.steps li::before { content: "STEP " counter(s); justify-self: start; order: -1; font-family: var(--num); font-size: .85rem; font-weight: 700; color: #fff; background: var(--primary); padding: 2px 12px; border-radius: 999px; }
.steps h3 { font-size: 1.15rem; }

/* list rows */
.col-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.col-list li { background: var(--bg); border: 1px solid var(--rule); border-radius: 10px; }
.col-list a, .col-list span.soon { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; align-items: center; padding: 16px 20px; text-decoration: none; color: var(--ink); }
.col-list a { font-weight: 700; }
.col-list a:hover .t { color: var(--primary); text-decoration: underline; }
.col-list .cat { font-size: .85rem; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 0 10px; border-radius: 999px; }
.col-list span.soon .cat { color: var(--ink-soft); background: var(--bg-alt); }

/* profile */
.dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; margin: 0; }
.dl dt { color: var(--primary); font-weight: 700; }
.dl dd { margin: 0; }

/* CTA band */
section.cta { background: var(--primary); color: #fff; text-align: center; }
.cta .wrap { display: grid; gap: 18px; justify-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.cta p { max-width: var(--measure); }

/* footer */
.site-foot { background: #111a26; color: #d6dde6; padding-block: 36px 48px; font-size: .9rem; }
.site-foot a { color: #fff; }
.site-foot .wrap { display: grid; gap: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* article & simple pages */
.article { max-width: calc(var(--measure) + 32px); margin-inline: auto; padding: 44px 16px 64px; display: grid; gap: 24px; }
.crumbs { font-size: .9rem; color: var(--ink-soft); }
.article h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.article h2 { font-size: 1.45rem; margin-top: 20px; padding: 12px 16px; background: var(--primary-soft); border-left: 5px solid var(--primary); border-radius: 4px; }
.article h3 { font-size: 1.15rem; color: var(--primary); }
.article ul, .article ol { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; }
.meta { font-size: .9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.callout { background: #fff8e6; border: 1px solid #f1d58a; border-radius: 10px; padding: 16px 20px; }
.inline-cta { border: 2px solid var(--accent); border-radius: 12px; padding: 22px; display: grid; gap: 14px; background: #fff6f0; text-align: center; justify-items: center; }
.inline-cta p { font-weight: 700; font-size: 1.05rem; }
.toc { background: var(--bg-alt); border-radius: 10px; padding: 18px 22px; }
.toc ol { margin-top: 8px; }

/* trust */
.voices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.voices figure { margin: 0; padding: 22px; border-radius: 12px; background: var(--bg); border: 1px solid var(--rule); display: grid; gap: 14px; align-content: space-between; }
.voices blockquote { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.75; }
.voices blockquote::before { content: "“"; display: block; color: var(--accent); font-size: 2.4rem; line-height: .8; font-family: Georgia, serif; }
.voices figcaption { font-size: .9rem; }
.rep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 44px; align-items: start; }
.rep-photo { aspect-ratio: 4 / 5; max-width: 100%; background: var(--primary-soft); border-radius: 12px; display: grid; place-items: center; }
.rep-photo span { font-size: 2rem; font-weight: 700; color: var(--primary); letter-spacing: .1em; }
.rep-photo.small { width: 72px; aspect-ratio: 1; border-radius: 50%; }
img.rep-photo { display: block; width: 100%; height: auto; object-fit: cover; box-shadow: 0 10px 28px rgba(13,74,135,.15); }
img.rep-photo.small { width: 72px; height: 72px; box-shadow: none; }
.hero-rep { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hero-rep img { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(13,74,135,.2); flex: none; }
.rep-photo.small span { font-size: .8rem; letter-spacing: 0; }
.rep-body { display: grid; gap: 18px; max-width: var(--measure); }
.faq { display: grid; gap: 10px; max-width: 50rem; }
.faq details { background: var(--bg); border: 1px solid var(--rule); border-radius: 10px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; gap: 12px; }
.faq summary::before { content: "Q"; font-family: var(--num); color: #fff; background: var(--primary); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .9rem; margin-top: 2px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 10px; padding-left: 40px; }
.author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; background: var(--bg-alt); border-radius: 12px; padding: 20px; }
.author .eyebrow { margin-bottom: 2px; }

/* form */
.form { display: grid; gap: 30px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.form legend { font-weight: 700; font-size: 1.2rem; padding: 0 0 8px; border-bottom: 2px solid var(--primary); width: 100%; margin-bottom: 6px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { font-weight: 700; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fbfcfe;
  border: 1.5px solid #b9c5d3; border-radius: 8px; padding: 12px 14px; min-height: 52px;
}
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--primary-soft); border-color: var(--primary); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.checks label, .agree { display: flex; gap: 10px; align-items: flex-start; }
.checks label { background: #fbfcfe; border: 1.5px solid #b9c5d3; border-radius: 8px; padding: 10px 12px; }
.checks input, .agree input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--primary); flex: none; }
.req { font-size: .75rem; font-weight: 700; color: #fff; background: var(--accent); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.form button.btn { cursor: pointer; font-family: inherit; width: 100%; max-width: 26rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* icons & diagrams */
.ic { width: 28px; height: 28px; flex: none; }
.ic-wrap { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.badges { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 16px 6px 10px; font-weight: 500; font-size: .95rem; }
.badges .ic { width: 22px; height: 22px; color: var(--primary); }
.btn-row.center { justify-content: center; margin-top: 28px; }
.source { margin-top: 16px; text-align: right; }
.worry p, .menu-card p, .reasons p, .steps p { color: var(--ink-soft); font-size: .98rem; }

.scheme { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.scheme li { position: relative; background: var(--bg); border: 2px solid var(--primary); border-radius: 12px; padding: 22px 16px 18px; display: grid; gap: 4px; justify-items: center; text-align: center; }
.scheme li b { font-size: 1.15rem; }
.scheme li small { font-size: .9rem; color: var(--ink-soft); }
.scheme .step-no { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; margin-bottom: 4px; }
.scheme li:not(:last-child)::after { content: ""; position: absolute; right: -28px; top: 50%; width: 0; height: 0; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 16px solid var(--primary); transform: translateY(-50%); }
.scheme li.goal { background: var(--primary); color: #fff; }
.scheme li.goal small { color: #fff; opacity: .9; }
.scheme li.goal .step-no { background: #fff; color: var(--primary); }

.taxbar { margin-top: 36px; background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 22px 24px; display: grid; gap: 12px; }
.taxbar-title { font-weight: 700; }
.bar { display: flex; height: 52px; border-radius: 8px; overflow: hidden; font-weight: 700; font-size: .95rem; }
.bar span { display: flex; align-items: center; padding-inline: 14px; white-space: nowrap; }
.bar .net { background: var(--primary); color: #fff; }
.bar .tax { background: var(--accent); color: #fff; justify-content: center; padding-inline: 4px; font-size: .85rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; max-width: 56rem; }
.checklist li { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--rule); border-radius: 10px; padding: 14px 18px; font-weight: 500; }
.checklist .ic { color: #fff; background: var(--accent); border-radius: 50%; padding: 5px; width: 28px; height: 28px; stroke-width: 3; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.menu-card { background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 22px 18px; display: grid; gap: 10px; align-content: start; justify-items: start; }
.menu-card h3 { font-size: 1.08rem; }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reasons > div { display: grid; gap: 10px; justify-items: center; text-align: center; }
.steps li .ic-wrap { order: 0; }

.scheme.compact { gap: 26px; }
.scheme.compact li { padding: 16px 8px 14px; }
.scheme.compact li b { font-size: 1rem; }
@media (min-width: 761px) { .scheme.compact li:not(:last-child)::after { right: -21px; border-left-width: 12px; } }

/* sticky mobile bar */
.mobile-bar { display: none; }

@media (max-width: 960px) { .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 80px; }
  .hero { padding-block: 36px 36px; }
  .hero .wrap, .feature, .rep { grid-template-columns: minmax(0, 1fr); }
  .worries, .steps, .field-row, .checks, .checklist, .reasons { grid-template-columns: minmax(0, 1fr); }
  .scheme { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .scheme li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 16px solid var(--primary); border-bottom: 0; }
  .bar { font-size: .85rem; }
  .stats dl, .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats dd b { font-size: 1.8rem; }
  section { padding-block: 44px; }
  .nav { font-size: .9rem; gap: 2px 16px; }
  .nav a:last-child { display: none; }
  .site-head { position: static; }
  .rep-photo:not(.small) { max-width: 220px; }
  .mobile-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--rule);
  }
  .mobile-bar .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* simulator */
.form input[type=number] { width: 100%; font: inherit; color: var(--ink); background: #fbfcfe; border: 1.5px solid #b9c5d3; border-radius: 8px; padding: 12px 14px; min-height: 52px; font-size: 1.15rem; font-weight: 700; }
.sim .checks input { margin-top: 3px; }
.field-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.field-row.three .btn { width: 100%; min-height: 52px; padding-inline: 8px; cursor: pointer; font-family: inherit; }
.helper { background: var(--bg-alt); border-radius: 10px; padding: 12px 16px; }
.helper summary { cursor: pointer; font-weight: 700; color: var(--primary); }
.helper[open] { display: grid; gap: 14px; }
.sim-result { background: var(--bg); border: 2px solid var(--primary); border-radius: 14px; padding: 22px; display: grid; gap: 16px; box-shadow: 0 8px 24px rgba(13,74,135,.10); }
.sim-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
.sim-head span { display: block; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.sim-head b { font-size: clamp(1.25rem, 4vw, 1.8rem); color: var(--primary); font-variant-numeric: tabular-nums; }
.sim-head div:first-child b { color: var(--ink); }
.sim-head div:nth-child(2) b { color: var(--accent-dark); }
.sim-result .bar span { transition: width .4s ease; }
.sim-result .ledger th { white-space: normal; }
@media (max-width: 760px) { .field-row.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .field-row.three .field:last-child { grid-column: 1 / -1; } .sim-result { padding: 16px; } }

/* comparison */
.ledger.compare th, .ledger.compare td { text-align: center; }
.ledger.compare tbody th { text-align: left; }
.ledger.compare td { font-weight: 500; }
.pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pros-cons > div { border-radius: 10px; padding: 16px 18px; display: grid; gap: 8px; align-content: start; }
.pros-cons .pros { background: var(--primary-soft); }
.pros-cons .cons { background: #fff6f0; }
.pros-cons .cons h3 { color: var(--accent-dark); }
.article .steps { padding-left: 0; }
@media (max-width: 760px) { .pros-cons { grid-template-columns: minmax(0, 1fr); } }

/* LINE & seminar */
.line-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; background: #effaf2; border: 1px solid #b9e4c6; border-radius: 12px; padding: 18px 20px; color: var(--ink); text-align: left; max-width: var(--measure); width: 100%; }
.line-cta b { font-size: 1.05rem; }
.line-cta p { font-size: .95rem; color: var(--ink-soft); margin-top: 4px; }
.btn.line { background: #06c755; border-color: #06c755; box-shadow: none; }
.btn.line:hover { background: #05a847; border-color: #05a847; }
.seminar-band { background: linear-gradient(135deg, #fff6f0, #fff); border-top: 1px solid var(--rule); }
.seminar-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.seminar-band h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
.seminar-band p:not(.eyebrow) { color: var(--ink-soft); margin-top: 6px; }
#apply .article { padding-block: 0; }
.visit .ledger td { white-space: normal; }
main > section.cta { background: var(--primary); }
main > section.seminar-band { background: linear-gradient(135deg, #fff6f0, #fff); }
.article .checklist { padding-left: 0; grid-template-columns: minmax(0, 1fr); }
.article .ledger tbody th { white-space: normal; }
@media (max-width: 760px) { .article .ledger td.n { white-space: normal; } .ledger.compare tbody th { width: 30%; } .ledger.compare th, .ledger.compare td { padding: 10px 6px; font-size: .92rem; } }
.article .col-list { padding-left: 0; }
.steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps.four { grid-template-columns: minmax(0, 1fr); } }

/* 代表プロフィール */
.profile-head { margin: 8px 0 12px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--primary-soft); display: grid; gap: 24px; }
.timeline li { position: relative; background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 20px 22px; display: grid; gap: 10px; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 26px; width: 15px; height: 15px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.timeline h3 { font-size: 1.15rem; margin: 0; }
.timeline p { margin: 0; }
.tl-tag { justify-self: start; font-size: .8rem; font-weight: 700; color: #fff; background: var(--primary); padding: 2px 12px; border-radius: 999px; }
.tl-point { background: var(--primary-soft); border-radius: 8px; padding: 10px 14px; font-size: .95rem; }
.rep-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rep-points li { border-left: 4px solid var(--primary); background: var(--bg); padding: 10px 14px; border-radius: 0 8px 8px 0; }
.rep-points strong { display: block; color: var(--primary); }
@media (max-width: 720px) { .profile-head { grid-template-columns: 1fr; gap: 20px; } .profile-head .rep-photo { max-width: 260px; } }

/* 無料診断 */
.quiz fieldset { display: grid; gap: 12px; }
.quiz-progress { font-weight: 700; color: var(--primary); text-align: right; margin: 0; }
.quiz-q { border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px; display: grid; gap: 10px; background: var(--bg); }
.quiz-q p { margin: 0; }
.quiz-q b { color: var(--primary); margin-right: 4px; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yn label { position: relative; cursor: pointer; }
.yn input { position: absolute; opacity: 0; }
.yn span { display: block; text-align: center; padding: 10px; border: 2px solid var(--rule); border-radius: 999px; font-weight: 700; transition: .15s; }
.yn input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.yn input[value="1"]:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.yn input[value="0"]:checked + span { background: var(--primary-soft); border-color: var(--primary-soft); color: var(--primary); }
.quiz-result h2 { margin: 0; }
.quiz-bars { display: grid; gap: 10px; }
.qb { display: grid; grid-template-columns: 11em minmax(0, 1fr) 3em; gap: 10px; align-items: center; font-size: .95rem; }
.qb-track { height: 14px; background: var(--primary-soft); border-radius: 999px; overflow: hidden; }
.qb-track span { display: block; height: 100%; border-radius: 999px; background: var(--primary); transition: width .5s ease; }
.qb.high .qb-track span { background: var(--accent); }
.qb.high .qb-name { color: var(--accent-dark); font-weight: 700; }
.qb-num { font-weight: 700; text-align: right; }
.qr h3 { font-size: 1.05rem; margin: 8px 0 4px; }
.qr ul { margin: 0; padding-left: 1.2em; }
.note.center { text-align: center; }
@media (max-width: 520px) { .qb { grid-template-columns: minmax(0, 1fr) 3em; } .qb-name { grid-column: 1 / -1; } }

/* トップのヒーロー（濃紺・インパクト版） */
.hero.hero-dark { background: radial-gradient(120% 90% at 85% 10%, #1d6bb8 0%, #0d4a87 38%, #072a4f 100%); color: #fff; padding-block: 64px 72px; }
.hero.hero-dark::before { display: none; }
.hero-dark .wrap { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; }
.hero-dark .eyebrow { color: #ffd27a; letter-spacing: .08em; }
.hero-dark h1 { color: #fff; font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.3; letter-spacing: .01em; }
.hero-dark .h-q { display: block; animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-dark .h-q + .h-q { animation-delay: .25s; }
.hero-answer { margin-top: 22px; font-size: clamp(1.25rem, 2.8vw, 1.7rem); font-weight: 700; animation: heroIn .9s .6s cubic-bezier(.2,.7,.2,1) both; }
.hero-answer em { font-style: normal; color: #1a1a1a; background: linear-gradient(90deg, #ffe07a, #ffc94a); padding: 2px 10px; border-radius: 6px; box-shadow: 0 6px 18px rgba(255, 200, 74, .35); }
.hero-dark .lead { color: rgba(255,255,255,.88); animation: heroIn .9s .8s both; }
.hero-dark .btn-row { animation: heroIn .9s 1s both; }
.hero-dark .btn:not(.ghost) { box-shadow: 0 10px 26px rgba(226, 104, 44, .45); }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,.75); background: transparent; }
.btn.ghost.light:hover { background: rgba(255,255,255,.12); }
.hero-dark .badges { margin-top: 22px; }
.hero-dark .badges li { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.hero-dark .badges svg { color: #ffd27a; }
.hero-dark .fee-line { color: rgba(255,255,255,.7); }
.hero-photo { position: relative; justify-self: center; width: min(100%, 400px); }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.9); }
.photo-frame { position: relative; }
.photo-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px; border: 2px solid #ffd27a; opacity: .7; z-index: -1; }
.float-chip { position: absolute; margin: 0; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; font-size: .85rem; font-weight: 700; line-height: 1.45; box-shadow: 0 14px 30px rgba(0,0,0,.25); animation: floaty 5s ease-in-out infinite; }
.float-chip b { font-size: 1.5rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.float-chip.c1 { left: -34px; top: 16%; }
.float-chip.c2 { right: -26px; top: 50%; animation-delay: -2.5s; border-left: 4px solid var(--primary); }
.hero-name { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); width: max-content; max-width: 108%; margin: 0; background: var(--accent); color: #fff; font-weight: 700; text-align: center; padding: 8px 20px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,.25); font-size: 1rem; }
.hero-name small { display: block; font-size: .72rem; font-weight: 500; opacity: .92; }
.hero-glow span { position: absolute; border-radius: 50%; filter: blur(2px); background: radial-gradient(circle, rgba(255,210,122,.35), transparent 65%); animation: drift 14s ease-in-out infinite; pointer-events: none; }
.hero-glow span:nth-child(1) { width: 420px; height: 420px; left: -120px; top: -140px; }
.hero-glow span:nth-child(2) { width: 260px; height: 260px; right: 8%; bottom: -120px; animation-delay: -5s; background: radial-gradient(circle, rgba(120,180,255,.35), transparent 65%); }
.hero-glow span:nth-child(3) { width: 160px; height: 160px; left: 45%; top: 12%; animation-delay: -9s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, 20px); } }
.nisa-visual { max-width: 560px; margin: 0 auto 28px; }
br.sp { display: none; }
@media (max-width: 860px) {
  .hero.hero-dark { padding-block: 40px 64px; }
  .hero-dark .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-photo { width: min(78%, 320px); }
  .float-chip { font-size: .78rem; padding: 8px 11px; }
  .float-chip b { font-size: 1.25rem; }
  .float-chip.c1 { left: -18%; }
  .float-chip.c2 { right: -18%; }
  br.sp { display: inline; }
}
/* スクロールで出てくる演出 */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero-dark .h-q, .hero-answer, .hero-dark .lead, .hero-dark .btn-row, .float-chip, .hero-glow span { animation: none; } }
.hero-dark h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
@media (max-width: 860px) { .hero-name small:last-child { display: none; } .hero-name { padding: 8px 18px; font-size: .95rem; } }
/* 写真を小さめに（09-30） */
@media (min-width: 861px) { .hero-dark .wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.hero-photo { width: min(100%, 300px); }
@media (max-width: 860px) { .hero-photo { width: min(62%, 240px); } .float-chip.c1 { left: -30%; } .float-chip.c2 { right: -30%; } }
/* トップに置いた無料診断 */
.wrap.narrow { max-width: 900px; }
.shindan-sec .quiz-result { margin-top: 24px; }
@media (min-width: 761px) { .quiz fieldset { grid-template-columns: repeat(3, minmax(0, 1fr)); } .quiz fieldset legend { grid-column: 1 / -1; } .quiz-q { align-content: space-between; } }
/* 札は写真の下に並べ、顔に重ねない（09-30） */
.hero-photo .chip-row { display: flex; justify-content: center; gap: 12px; margin-top: 44px; }
.hero-photo .chip-row .float-chip { position: static; flex: 1 1 0; text-align: center; }
.hero-photo .chip-row .float-chip.c2 { border-left: 0; border-top: 4px solid var(--primary); }
.hero-photo .chip-row .float-chip.c1 { border-top: 4px solid var(--accent); }
@media (max-width: 860px) { .hero-photo .chip-row { width: min(92vw, 360px); margin-left: 50%; transform: translateX(-50%); } }
.hero-photo .chip-row .float-chip { white-space: nowrap; font-size: .82rem; padding: 10px 12px; }
.hero-photo .chip-row .float-chip b { font-size: 1.3rem; }
@media (min-width: 861px) { .hero-photo .chip-row { width: 380px; margin-left: 50%; transform: translateX(-50%); } }
/* テーマ別まとめ・関連記事・安心の一言 */
.hub-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.hub-nav a { background: var(--primary-soft); color: var(--primary); font-weight: 700; padding: 6px 14px; border-radius: 999px; text-decoration: none; font-size: .95rem; }
.hub { scroll-margin-top: 90px; }
.related { margin-top: 36px; }
.trust-line { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.next-step { border-top: 1px dashed var(--rule); padding-top: 14px; display: grid; gap: 10px; }
.ledger.hayami td small { display: block; font-size: .75rem; color: var(--ink-soft); font-weight: 400; }
.ledger.hayami th, .ledger.hayami td { white-space: nowrap; text-align: center; }

/* 無料PDF */
.dl-box{display:flex;gap:24px;align-items:flex-start;margin:20px 0 28px}
.dl-box img{width:200px;height:auto;border:1px solid #d7e0ea;box-shadow:0 6px 18px rgba(13,40,80,.15);border-radius:4px;flex:none}
.dl-box>div{flex:1;min-width:0}
@media (max-width:600px){.dl-box{flex-direction:column;align-items:center}.dl-box img{width:170px}.dl-box>div{width:100%}}
.dl-banner{display:flex;gap:16px;align-items:center;background:#fff7ef;border:2px solid #f08a24;border-radius:12px;padding:16px 18px;margin:24px 0}
.dl-banner img{width:84px;height:auto;border:1px solid #e5d3c0;flex:none}
.dl-banner p{margin:0 0 8px}
.dl-banner .btn{white-space:nowrap;padding:10px 18px;font-size:.95rem}
.cases .case-who{margin:0;font-size:.85rem;font-weight:700;color:var(--primary);background:var(--primary-soft);border-radius:999px;padding:4px 12px;justify-self:start}
.cases figcaption b{display:block;color:var(--accent-dark);font-size:.85rem;margin-bottom:2px}
@media (max-width:1000px){.voices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.voices{grid-template-columns:1fr}}

/* トップの診断：スマホでは「診断をはじめる」を押すまで質問を隠してページを短くする */
.shindan-open { display: none; }
@media (max-width: 760px) {
  .shindan-sec.is-closed .shindan-body { display: none; }
  .shindan-sec.is-closed .shindan-open { display: flex; }
}

/* 用語集 */
.glossary { display: grid; gap: 12px; margin: 12px 0 0; }
.glossary .term { border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px; background: var(--bg); scroll-margin-top: 80px; }
.glossary dt { color: var(--primary); font-weight: 700; font-size: 1.05rem; }
.glossary dt small { display: block; font-weight: 400; font-size: .8rem; color: var(--ink-soft); }
.glossary dd { margin: 6px 0 0; }
@media (min-width: 761px) { .glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
