/* 処女卒業サポート兵庫 — スタイル
   色は :root の変数だけで決まる。html[data-theme] で3つの配色を切り替えられる。 */

:root {
  /* シャイン（ロゴの紺とオレンジに合わせた配色・標準） */
  --bg: #FCF8F2;
  --surface: #FFFFFF;
  --surface-2: #F6EEDF;
  --ink: #1F2A3D;
  --ink-2: #566074;
  --heading: #13294B;
  --rule: #E8DDCB;
  --accent: #E07B1A;
  --accent-ink: #A8500F;
  --accent-soft: #FBEAD3;
  --primary: #13294B;
  --primary-ink: #FFFFFF;

  --line-green: #00873C;
  --focus: #1D6FE0;
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Noto Serif CJK JP", serif;
  --w-read: 44rem;
  --w-wide: 66rem;
  --radius: 14px;
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.2 6.6 5.4 10.8 12 12-6.6 1.2-10.8 5.4-12 12-1.2-6.6-5.4-10.8-12-12 6.6-1.2 10.8-5.4 12-12z'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.3 14.3l-4-4 1.5-1.4 2.5 2.5 5.6-5.6 1.4 1.4-7 7.1z'/%3E%3C/svg%3E");
}

html[data-theme="rose"] {
  --bg: #FBF7F5;
  --surface-2: #F6ECE9;
  --ink: #2E2929;
  --ink-2: #645B5A;
  --heading: #3B2B2F;
  --rule: #EBDDD9;
  --accent: #D08A93;
  --accent-ink: #9A4658;
  --accent-soft: #F7E4E4;
  --primary: #7E3B4B;
}

html[data-theme="sage"] {
  --bg: #F7F8F3;
  --surface-2: #EAEFE4;
  --ink: #252B27;
  --ink-2: #57615A;
  --heading: #24382E;
  --rule: #DCE4D6;
  --accent: #7FA08A;
  --accent-ink: #3F6350;
  --accent-soft: #E3ECDF;
  --primary: #2F4A3C;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  line-break: strict;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--accent-ink); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--heading);
  line-height: 1.5;
  letter-spacing: .04em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
  word-break: auto-phrase;
}
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--w-wide); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: var(--w-read); }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.center { text-align: center; }
.small { font-size: .86rem; color: var(--ink-2); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .75em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.35; letter-spacing: .04em; text-decoration: none;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(19, 41, 75, .5); }
.btn .ico { width: 1.25em; height: 1.25em; flex: none; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn-small { min-height: 42px; padding: .45em 1.2em; font-size: .88rem; }
.ico-arrow { width: 1em; height: 1em; vertical-align: -.12em; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: .35em; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: var(--w-wide); margin-inline: auto; padding: .5rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--heading); min-height: 44px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.brand-name { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 1rem; line-height: 1.35; letter-spacing: .06em; }
.brand-sub { display: block; font-size: .66rem; color: var(--ink-2); line-height: 1.4; letter-spacing: .1em; }

.nav-toggle { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); width: 48px; height: 44px; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.nav-button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 48px; height: 44px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface);
}
.nav-button i { display: block; width: 20px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle:checked + .nav-button i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-button i:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-button i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-button { outline: 3px solid var(--focus); outline-offset: 2px; }

.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--rule);
  padding: .25rem 1.25rem 1.5rem; box-shadow: 0 24px 30px -22px rgba(20, 30, 50, .35);
  max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); overflow: auto;
}
.nav-toggle:checked ~ .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: .95rem .25rem; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav li a[aria-current="page"] { color: var(--accent-ink); }
.site-nav .btn { margin-top: 1.1rem; width: 100%; }

@media (min-width: 62rem) {
  .nav-toggle, .nav-button { display: none; }
  .site-nav { display: flex; position: static; align-items: center; gap: 1.5rem; padding: 0; border: 0; box-shadow: none; background: none; overflow: visible; max-height: none; }
  .site-nav ul { display: flex; gap: 1.35rem; }
  .site-nav li a { padding: .4rem 0; border: 0; font-size: .86rem; font-weight: 500; }
  .site-nav li a:hover { color: var(--accent-ink); }
  .site-nav .btn { margin: 0; width: auto; }
}

/* ---------- トップの最初の画面 ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 9vw, 5.5rem) 0 clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(52rem 28rem at 108% -12%, var(--accent-soft), transparent 62%),
    radial-gradient(40rem 26rem at -22% 112%, var(--surface-2), transparent 60%),
    var(--bg);
}
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.hero h1 { font-size: inherit; }
.hero-eyebrow {
  display: flex; align-items: center; gap: .55em;
  font-family: var(--font-sans); font-size: .82rem; font-weight: 700; letter-spacing: .14em; color: var(--accent-ink);
  margin-bottom: 1rem;
}
.hero-eyebrow::before, .kicker::before {
  content: ""; width: .95em; height: .95em; flex: none; background: var(--accent);
  -webkit-mask: var(--sparkle) center / contain no-repeat; mask: var(--sparkle) center / contain no-repeat;
}
.hero-title { display: block; font-size: clamp(1.95rem, 7.6vw, 3.25rem); line-height: 1.45; letter-spacing: .06em; }
.hero-lead { margin: 1.4rem 0 0; max-width: 33em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.4rem 0 0; }
.chips li {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 999px;
  padding: .28em .95em; font-size: .84rem; font-weight: 700; color: var(--heading);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-note { margin: 1rem 0 0; font-size: .82rem; color: var(--ink-2); }
.hero-art { display: none; }
@media (max-width: 30rem) {
  .hero-actions .btn { width: 100%; }
}
@media (min-width: 56rem) {
  .hero-inner { grid-template-columns: 1.3fr .7fr; gap: 3rem; }
  .hero-art { display: block; justify-self: center; position: relative; }
  .hero-art img { width: min(18rem, 100%); border-radius: 50%; box-shadow: 0 34px 60px -34px rgba(19, 41, 75, .55); }
  .hero-art::before, .hero-art::after {
    content: ""; position: absolute; background: var(--accent);
    -webkit-mask: var(--sparkle) center / contain no-repeat; mask: var(--sparkle) center / contain no-repeat;
  }
  .hero-art::before { width: 2rem; height: 2rem; right: -1rem; top: .5rem; }
  .hero-art::after { width: 1.1rem; height: 1.1rem; left: -.5rem; bottom: 2rem; opacity: .7; }
}

/* ---------- セクション ---------- */
.section { padding: clamp(3.25rem, 9vw, 5.5rem) 0; }
.section.alt { background: var(--surface-2); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.45rem, 5.2vw, 2rem); }
.section-head p:not(.kicker) { margin: .8rem 0 0; color: var(--ink-2); }
.section-foot { margin: 1.75rem 0 0; }
.kicker {
  display: flex; align-items: center; gap: .55em; margin: 0 0 .6rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; color: var(--accent-ink);
}
.kicker-light { color: #fff; opacity: .85; justify-content: center; }
.kicker-light::before { background: #fff; }

/* 手紙のようなメッセージ */
.letter {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.5rem, 5.5vw, 3rem);
}
.letter h2 { font-size: clamp(1.4rem, 5.2vw, 1.9rem); margin-bottom: 1.3rem; }
.letter .feelings { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.letter .feelings li { background: var(--surface-2); border-radius: 10px; padding: .8em 1.05em; font-size: .95rem; line-height: 1.75; }
.letter .turn { font-family: var(--font-serif); font-size: 1.14rem; color: var(--heading); line-height: 1.8; margin: 1.6rem 0 1.2rem; }
.letter .sign { text-align: right; font-family: var(--font-serif); color: var(--heading); margin: 1.6rem 0 0; }

/* カード */
.grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) {
  .grid.cols-2, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 62rem) { .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.35rem 1.35rem 1.4rem; }
.card h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.card p { margin: 0; font-size: .93rem; color: var(--ink-2); line-height: 1.8; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.more { display: inline-flex; align-items: center; gap: .35em; margin-top: .8rem; font-size: .86rem; font-weight: 700; color: var(--accent-ink); }
.icon-badge { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: .9rem; }
.icon-badge svg { width: 23px; height: 23px; }

/* スマホでは「安心して相談してもらうために」のカードを横並び（アイコン左・文章右）にして短くする */
@media (max-width: 39.99rem) {
  .grid.compact { gap: .75rem; }
  .grid.compact .card { display: grid; grid-template-columns: 46px 1fr; column-gap: 1rem; align-items: start; padding: 1.1rem 1.15rem; }
  .grid.compact .card .icon-badge { grid-row: 1 / span 2; margin: .1rem 0 0; }
  .grid.compact .card h3 { margin-bottom: .25rem; }
}

/* 手順 */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.75rem 3.6rem; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--primary); color: var(--primary-ink); display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; letter-spacing: 0;
}
.steps > li::after { content: ""; position: absolute; left: 1.25rem; top: 2.8rem; bottom: .3rem; width: 1px; background: var(--rule); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { font-size: 1.1rem; padding-top: .3rem; margin: 0 0 .4rem; }
.steps p { margin: 0 0 .6em; font-size: .96rem; }
.steps p:last-child { margin-bottom: 0; }
.section.alt .steps > li::after { background: color-mix(in srgb, var(--heading) 18%, transparent); }

/* チェック付きの箇条書き */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.3rem; height: 1.3rem; background: var(--accent-ink);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.checks li b { color: var(--heading); }
.checks.detail li { padding-bottom: .7rem; border-bottom: 1px solid var(--rule); }
.checks.detail li span { display: block; font-size: .92rem; color: var(--ink-2); line-height: 1.75; margin-top: .15rem; }

/* 囲み */
.note { background: var(--accent-soft); border-radius: var(--radius); padding: 1.15rem 1.3rem; margin: 1.6rem 0; font-size: .95rem; }
.note > :last-child { margin-bottom: 0; }
.note-title { font-weight: 700; color: var(--heading); margin-bottom: .35rem; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.35rem 1.4rem; margin: 1.6rem 0; }
.panel > :last-child { margin-bottom: 0; }

dl.facts { display: grid; grid-template-columns: auto 1fr; margin: 1.2rem 0 1.6rem; border-top: 1px solid var(--rule); }
dl.facts dt, dl.facts dd { margin: 0; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
dl.facts dt { font-weight: 700; color: var(--heading); padding-right: 1.25rem; white-space: nowrap; font-size: .92rem; }
dl.facts dd { font-size: .96rem; }

/* 費用 */
.fee-grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .fee-grid { grid-template-columns: repeat(3, 1fr); } }
.fee { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.3rem; }
.fee .label { font-size: .84rem; font-weight: 700; color: var(--ink-2); margin: 0; }
.fee .value { font-family: var(--font-serif); font-size: 1.45rem; color: var(--heading); margin: .1rem 0 .35rem; line-height: 1.5; }
.fee .desc { font-size: .88rem; color: var(--ink-2); margin: 0; line-height: 1.75; }

/* よくある質問 */
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: start;
  padding: 1.05rem 0; font-weight: 700; color: var(--heading); line-height: 1.65;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; font-family: var(--font-serif); color: var(--accent-ink); font-size: 1.12rem; line-height: 1.45; }
.qa summary::after {
  content: ""; width: .65rem; height: .65rem; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg); margin: .35rem .2rem 0 0; transition: transform .2s;
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: .65rem; }
.qa .a { padding: 0 0 1.2rem 1.9rem; }
.qa .a > :last-child { margin-bottom: 0; }
.qa-group { margin: 0 0 2.5rem; }
.qa-group > h2 { border-bottom: 2px solid var(--heading) !important; }

/* 読みもの */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 56rem) { .section .container:not(.narrow) > .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.35rem; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.post-card time { font-size: .76rem; color: var(--ink-2); letter-spacing: .08em; }
.post-card h3 { font-size: 1.06rem; margin: .3rem 0 .45rem; }
.post-card p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.75; }
.post-card .more { margin-top: auto; padding-top: .8rem; }

/* ---------- 下層ページ ---------- */
.page-head {
  padding: clamp(1.75rem, 6vw, 3.25rem) 0 clamp(1.25rem, 4vw, 2rem);
  background: radial-gradient(46rem 20rem at 106% -30%, var(--accent-soft), transparent 62%);
}
.page-head h1 { font-size: clamp(1.6rem, 6.2vw, 2.4rem); }
.page-head .lead { margin: .9rem 0 0; color: var(--ink-2); }
.post-meta { font-size: .82rem; color: var(--ink-2); margin: .9rem 0 0; letter-spacing: .06em; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .5rem; padding: 0; margin: 0 0 1rem; font-size: .76rem; color: var(--ink-2); line-height: 1.6; }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; }
.breadcrumb a { color: var(--ink-2); }
.page-body { padding: 1.5rem 0 clamp(3rem, 8vw, 5rem); }

.prose > h2 { font-size: clamp(1.3rem, 4.8vw, 1.6rem); margin: 2.8rem 0 1.1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--rule); }
.prose > h2:first-child { margin-top: .5rem; }
.prose h3 { font-size: 1.1rem; margin: 1.9rem 0 .6rem; }
.prose .steps h3, .prose .card h3, .prose .form-done h3 { margin-top: 0; }
.prose strong { font-weight: 700; background: linear-gradient(transparent 64%, var(--accent-soft) 64%); }
.prose ul:not([class]) li { margin-bottom: .45em; }
.prose ul:not([class]) li::marker { color: var(--accent); }
.prose ol:not([class]) li { margin-bottom: .45em; }
.voices { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .5rem; }
.voices li { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: .7em 1.05em; font-size: .96rem; color: var(--heading); line-height: 1.75; }
.caution { font-size: .88rem; color: var(--ink-2); border-left: 3px solid var(--rule); padding-left: 1em; }
.pair { margin: 1.3rem 0; }
.pair .how { font-weight: 700; color: var(--heading); margin: 0 0 .3rem; }
.pair .say { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: .7em 1.05em; margin: 0 0 .5rem; color: var(--heading); }
.pair p:last-child { margin-bottom: 0; }
.link-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.2rem 0; padding: 0; list-style: none; }

.author-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 3rem 0 0; font-size: .9rem; }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0; line-height: 1.75; }
.author-name { font-weight: 700; color: var(--heading); }

/* LINEの案内 */
.line-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem 1.4rem; margin: 1.4rem 0 1.8rem; text-align: center; }
.line-card .who { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 0 0 1.1rem; text-align: left; }
.line-card .who img { width: 56px; height: 56px; border-radius: 50%; }
.line-card .who b { display: block; color: var(--heading); font-size: 1.05rem; line-height: 1.4; }
.line-card .who span { font-size: .82rem; color: var(--ink-2); line-height: 1.5; display: block; }
.line-card .btn { width: 100%; max-width: 22rem; }
.line-card .id { margin: 1rem 0 0; font-size: .88rem; color: var(--ink-2); }
.line-card .id code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: .15em .5em; border-radius: 6px; color: var(--heading); font-size: 1rem; }

/* フォーム */
.form { display: grid; gap: 1.3rem; margin: 1.4rem 0 0; }
.field label { display: block; font-weight: 700; color: var(--heading); margin-bottom: .4rem; }
.req, .opt { display: inline-block; font-size: .7rem; font-weight: 700; padding: .05em .6em; border-radius: 999px; margin-left: .4em; vertical-align: .1em; letter-spacing: .06em; }
.req { background: var(--accent-ink); color: #fff; }
.opt { background: var(--surface-2); color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--rule); border-radius: 12px; padding: .75em .9em; line-height: 1.6;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field textarea { resize: vertical; min-height: 9rem; }
.hint { font-size: .84rem; color: var(--ink-2); margin: .45rem 0 0; line-height: 1.7; }
.form-error { background: #FDECEC; color: #8A1F1F; border-radius: 12px; padding: .8em 1em; margin: 0; font-weight: 700; font-size: .92rem; }
.form .btn { justify-self: start; min-width: 14rem; }
.form-done { background: var(--accent-soft); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 1.4rem 0 0; }
.form-done h3 { margin: 0 0 .4rem; }
.form-done p { margin: 0; }

/* ---------- 相談のかたまり ---------- */
.cta-block { background: var(--primary); color: #fff; padding: clamp(3rem, 8vw, 4.5rem) 0; text-align: center; }
.cta-block h2 { color: #fff; font-size: clamp(1.4rem, 5.2vw, 1.9rem); }
.cta-block p { margin: 1rem auto 0; max-width: 32em; opacity: .93; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.cta-block .btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.cta-block .btn-line { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .28); }
.cta-block .cta-note { font-size: .8rem; opacity: .8; margin-top: 1.4rem; }
@media (max-width: 30rem) { .cta-actions .btn { width: 100%; } }

/* ---------- フッター ---------- */
.site-footer { background: var(--surface-2); padding: 3rem 0 2rem; font-size: .9rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .footer-grid { grid-template-columns: 1.5fr 1fr .8fr 1.5fr; gap: 2.5rem; } }
.footer-brand p { margin: .9rem 0 0; color: var(--ink-2); line-height: 1.8; }
.footer-title { font-weight: 700; color: var(--heading); margin: 0 0 .5rem; letter-spacing: .08em; font-size: .86rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: block; padding: .32rem 0; color: var(--ink); text-decoration: none; line-height: 1.6; }
.site-footer li a:hover { text-decoration: underline; }
.footer-note { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .84rem; }
.copyright { margin: .6rem 0 0; color: var(--ink-2); font-size: .8rem; }
.copyright a { color: var(--ink-2); }

/* ---------- スマホ下部の相談バー ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: .6rem;
  background: var(--bg); background: color-mix(in srgb, var(--bg) 93%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule);
  padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .25s; visibility: hidden;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta .btn { flex: 1; min-height: 46px; font-size: .9rem; padding: .45em .6em; }
.has-sticky .site-footer { padding-bottom: 6rem; }
@media (min-width: 62rem) { .sticky-cta { display: none; } .has-sticky .site-footer { padding-bottom: 2rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .sticky-cta, .cta-block, .site-footer nav { display: none; }
}
