/* ==========================================================================
   よすが — style.css
   コンセプト「たより」：訪問が手紙になって家族に届く。
   ========================================================================== */

/* ---------- 0. 公開スイッチ ----------
   賠償責任保険（保険期間の開始は 2026-10-01）。その日になったら、
   次の1行目を削除して、2行目のコメント印を外してください。
   トップページ・事業者情報ページの保険の記載が表示され、
   利用規約 第17条第1項が、保険を前提にした文に入れ替わります。 */
.show-when-insured { display: none !important; }
/* .hide-when-insured { display: none !important; } */

/* 留守番電話（番号ができたら、次の1行を消してください。
   消す前に、index.html の REPLACE_WITH_PHONE_NUMBER（2か所）を実際の番号に差し替えること）。
   LINE公式アカウントは 2026-09-20 に公開済み（https://lin.ee/6nJBdu7）。 */
.show-when-phone { display: none !important; }

/* 学生の応募フォーム（Googleフォーム）は公開済み（2026-09-20）。
   応募の受け付けを止めるときは、次の2行を入れ替えてください
   （.hide-when-apply-form を隠すのをやめ、.show-when-apply-form を隠す）。 */
/* .show-when-apply-form { display: none !important; } */
.hide-when-apply-form { display: none !important; }

/* ---------- 1. トークン ---------- */
:root {
  /* 色 */
  --paper: #F3F5F1;        /* 便箋：ページの地 */
  --sheet: #FFFFFD;        /* 用紙：手紙・報告の紙 */
  --tint: #E6EBEF;         /* 藍白：区切りの面 */
  --ink: #1C2638;          /* 墨藍：本文 */
  --ink-soft: #4A5568;     /* 補足文 */
  --indigo: #25385C;       /* 藍：主題帯 */
  --indigo-deep: #1A2A45;  /* 濃藍：フッター */
  --rule: #C3CCD6;         /* 罫 */
  --rule-soft: #D8DFE7;    /* 手紙の罫線 */
  --yamabuki: #EDB23E;     /* 山吹：行動と付箋のみ */
  --yamabuki-pale: #F5D88C;
  --pen: #2B3F6B;          /* 手書きのインク */
  --shu: #B8452F;          /* 朱：印（見本・受付）と、入力の誤りだけに使う */
  --on-dark: #F3F5F1;
  --on-dark-soft: rgba(243, 245, 241, .8);
  --on-dark-rule: rgba(243, 245, 241, .22);

  /* 書体 */
  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --font-hand: "Klee One", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;

  /* 文字サイズ（完全4度に近い比率） */
  --fs-small: .8125rem;
  --fs-body: clamp(1rem, .96rem + .18vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.1875rem, 1.08rem + .5vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-h1: clamp(2.1rem, 1rem + 3.7vw, 3.9rem);

  /* レイアウト */
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 72px;
  --section-pad: clamp(88px, 10vw, 152px);

  /* 紙の影（モノとしての手紙にだけ使う） */
  --shadow-paper: 0 1px 1px rgba(28, 38, 56, .06), 0 22px 44px -22px rgba(28, 38, 56, .4);

  interpolate-size: allow-keywords;
}

@media (max-width: 959px) {
  :root { --header-h: 60px; }
}

@view-transition { navigation: auto; }

/* ---------- 2. ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: .03em;
  line-break: strict;
  text-autospace: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

p { margin: 0; }
p + p { margin-top: 1em; }

h1, h2, h3 { text-spacing-trim: trim-start; }

p, li, dd { text-wrap: pretty; }

/* 見出し・リードは文節で改行する。改行位置は HTML の <wbr>（BudouXで付与）と句読点の後。
   狭い画面で文節が入りきらないときだけ、文節の途中でも折り返す */
.heading-2, .concern__title, .hero__lead, .lead, .mutual__claim, .work__claim,
.step__title, .service-item__title, .price__headline, .calc__title, .composer__title,
.evidence__title, .not-do__title, .page-head__title, .page-head__lead,
.site-footer__tagline, .terms li, .faq-item summary, .message__promises,
.st-hero__title, .st-eyebrow, .st-quad__title, .st-four__title, .st-path__title, .st-list dt {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 2px;
}

.thesis :focus-visible,
.contact__intro :focus-visible,
.site-footer :focus-visible { outline-color: var(--yamabuki); }

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* 未確定の記入欄（公開前に必ず差し替える） */
.tbd {
  background: #FFE9A8;
  outline: 1px dashed #A77A00;
  outline-offset: 1px;
  color: #5E4400;
  font-weight: 700;
  padding: 0 .3em;
}

/* ---------- 3. 文字の型 ---------- */
.heading-2 {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.45;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}

.lead {
  font-size: var(--fs-lead);
  line-height: 2;
  color: var(--ink-soft);
}

.small-text {
  margin-top: 1rem;
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--ink-soft);
}

.section { padding-block: var(--section-pad); }

.section-head { max-width: 44rem; }
.section-head .lead { margin-top: 1.25rem; }

/* ---------- 4. ボタン・リンク ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .75em 1.5em;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
}

.button--primary {
  background: var(--yamabuki);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.button--primary:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.button--primary:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }

.button--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.button--ghost:hover { background: rgba(28, 38, 56, .06); }

.button--large {
  min-height: 56px;
  padding: .9em 1.9em;
  font-size: 1.0625rem;
}

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .4em;
  transition: text-decoration-thickness .15s;
}
.text-link:hover { text-decoration-thickness: 3px; }

.text-button {
  appearance: none;
  background: none;
  border: 0;
  padding: .35rem 0;
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .4em;
  cursor: pointer;
}
.text-button:hover { text-decoration-thickness: 3px; }

/* ---------- 5. ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
}

/* 背景は疑似要素に。header自体にbackdrop-filterを付けると、
   モバイルメニュー（position: fixed）の基準がheaderになってしまうため */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 245, 241, .86);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  box-shadow: 0 1px 0 var(--rule);
  opacity: 0;
  transition: opacity .3s ease;
}
.site-header.is-scrolled::before,
body.menu-open .site-header::before { opacity: 1; }

.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand__name {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: .1em;
}

/* 落款のような縦組みの「仙台」 */
.brand__place {
  writing-mode: vertical-rl;
  padding: .4em .22em;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: .625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .25em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.global-nav__list {
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav__list a {
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: .45em;
}
.global-nav__list a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; }
.global-nav__list a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yamabuki); }

.global-nav__cta { min-height: 44px; padding: .55em 1.2em; font-size: .9375rem; }

.menu-button {
  display: none;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .5rem .25rem .5rem .5rem;
  background: none;
  border: 0;
  font: inherit;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.menu-button__bars {
  position: relative;
  width: 22px;
  height: 10px;
}
.menu-button__bars::before,
.menu-button__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, top .25s ease;
}
.menu-button__bars::before { top: 0; }
.menu-button__bars::after { top: 8px; }
.menu-button[aria-expanded="true"] .menu-button__bars::before { top: 4px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__bars::after { top: 4px; transform: rotate(-45deg); }

/* ナビは項目が多いので、狭い画面では文字と間隔を詰めて、1行に収める */
@media (max-width: 1180px) {
  .site-header__inner { gap: 1.25rem; }
  .global-nav { gap: 1rem; }
  .global-nav__list { gap: .9rem; }
  .global-nav__list a { font-size: .875rem; white-space: nowrap; }
  .global-nav__cta { padding: .55em 1em; font-size: .875rem; white-space: nowrap; }
}

@media (max-width: 959px) {
  .brand__name { font-size: 1.5rem; }
  .menu-button { display: inline-flex; }

  .global-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--paper);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .global-nav__list { flex-direction: column; gap: 0; }
  .global-nav__list a {
    display: block;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-mincho);
    font-weight: 700;
    font-size: 1.375rem;
  }
  .global-nav__cta { min-height: 56px; font-size: 1.0625rem; }
}

/* ---------- 6. 手紙（報告・代表メッセージ共通のモノ） ---------- */
.letter {
  position: relative;
  background: var(--sheet);
  border-radius: 3px;
  box-shadow: var(--shadow-paper);
  color: var(--ink);
}

.letter__head {
  padding-bottom: .85rem;
  border-bottom: 2px solid var(--ink);
}

.letter__title {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: .08em;
}

/* 罫線：行の高さ（--line）に合わせて、文字の下に線が来る */
.ruled {
  background-image: linear-gradient(to bottom, transparent calc(var(--line) - 1px), var(--rule-soft) calc(var(--line) - 1px));
  background-size: 100% var(--line);
}

/* 付箋 */
.fusen {
  position: absolute;
  top: -16px;
  left: 22px;
  z-index: 2;
  margin: 0;
  padding: .45em .9em;
  background: var(--yamabuki-pale);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  transform: rotate(-2.5deg);
  box-shadow: 0 6px 10px -6px rgba(28, 38, 56, .45);
}

/* 見本の印（朱肉で押したように） */
.stamp {
  position: absolute;
  top: -26px;
  right: -22px;
  z-index: 2;
  width: clamp(112px, 11vw, 140px);
  color: var(--shu);
  opacity: .86;
  transform: rotate(-9deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.stamp__line { fill: none; stroke: currentColor; stroke-width: 3.2; }
.stamp__line--thin { stroke-width: 1.4; }
.stamp__text {
  fill: currentColor;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .32em;
  text-anchor: middle;
}

/* ---------- 7. ヒーロー ---------- */
.hero {
  padding-block: clamp(28px, 5vw, 72px) clamp(80px, 9vw, 136px);
  overflow-x: clip;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero__title {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 1.3;
  letter-spacing: .01em;
  font-feature-settings: "palt";
}
.hero__title span { display: block; }

.hero__lead {
  max-width: 30em;
  margin-top: 1.75rem;
  font-size: var(--fs-lead);
  line-height: 2.05;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1rem;
  margin: 2.75rem 0 0;
}
.hero__facts > div {
  padding: 0 1.25rem;
  border-left: 1px solid var(--rule);
}
.hero__facts > div:first-child { padding-left: 0; border-left: 0; }
.hero__facts dt { font-size: .75rem; line-height: 1.6; color: var(--ink-soft); }
.hero__facts dd { margin: 0; font-size: .9375rem; font-weight: 700; line-height: 1.6; }

.hero__visual { margin: 0; }
.hero__paper {
  position: relative;
  padding: 30px 26px 26px 10px;
}

.paper-stack__sheet {
  position: absolute;
  inset: 30px 26px 26px 10px;
  background: var(--sheet);
  border-radius: 3px;
  box-shadow: var(--shadow-paper);
}
.paper-stack__sheet--far { transform: rotate(4.5deg) translate(16px, 10px); opacity: .7; }
.paper-stack__sheet--near { transform: rotate(-4deg) translate(-10px, 18px); opacity: .9; }

.hero__caption {
  position: relative;
  margin-top: 2.25rem;
  padding-left: 10px;
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--ink-soft);
}

.letter--hero {
  --line: 42px;
  padding: clamp(30px, 3.4vw, 44px) clamp(24px, 3.2vw, 44px) clamp(30px, 3.2vw, 44px);
  transform: rotate(-1.5deg);
}

.letter__lines {
  margin-top: 1rem;
  background-image: linear-gradient(to bottom, transparent calc(var(--line) - 1px), var(--rule-soft) calc(var(--line) - 1px));
  background-size: 100% var(--line);
}

.hand {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(1rem, .92rem + .42vw, 1.1875rem);
  line-height: var(--line);
  color: var(--pen);
  letter-spacing: .04em;
}
p.hand + p.hand { margin-top: 0; }
.hand { word-break: keep-all; overflow-wrap: anywhere; }

/* ページ読み込み時の一度だけの演出：一行ずつ書かれ、最後に消印が押される */
.js .letter--hero .hand {
  animation: write .7s cubic-bezier(.5, .1, .45, 1) both;
  animation-delay: calc(.55s + var(--i) * .38s);
}
.js .letter--hero .stamp {
  animation: stamp .55s cubic-bezier(.2, .9, .3, 1.25) both;
  animation-delay: 3.05s;
}

@keyframes write {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-9deg) scale(1.7); }
  60% { opacity: .95; transform: rotate(-9deg) scale(.95); }
  100% { opacity: .86; transform: rotate(-9deg) scale(1); }
}

@media (max-width: 999px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 560px; margin-top: 1rem; }
}

@media (max-width: 640px) {
  .hero__paper { padding: 26px 12px 20px 4px; }
  .paper-stack__sheet { inset: 26px 12px 20px 4px; }
  .letter--hero { --line: 38px; transform: rotate(-1deg); }
  .stamp { top: -24px; right: -8px; width: 96px; }
  .hero__facts { display: grid; grid-template-columns: auto 1fr; }
  .hero__facts > div { padding: 0 1rem; }
  .hero__facts > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* ---------- 8. 課題 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.split__head {
  position: sticky;
  top: calc(var(--header-h) + 48px);
}

.concern-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.concern {
  padding-block: clamp(28px, 3.2vw, 44px);
  border-bottom: 1px solid var(--rule);
}
.concern__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.6;
  font-feature-settings: "palt";
}
p.concern__text { margin-top: .9rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__head { position: static; }
}

/* ---------- 9. 主題（縦組み） ---------- */
.thesis {
  padding-block: clamp(96px, 12vw, 176px);
  background: var(--indigo);
  color: var(--on-dark);
}

.thesis__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(48px, 8vw, 140px);
  align-items: end;
}

.thesis__vertical {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-weight: 800;
}
.thesis__main {
  display: block;
  font-size: clamp(2rem, .95rem + 3.3vw, 3.5rem);
  line-height: 1.3;
  letter-spacing: .16em;
}
.thesis__sub {
  display: block;
  margin-block-start: clamp(22px, 2.6vw, 40px);
  font-size: clamp(1.0625rem, .9rem + .55vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.95;
  letter-spacing: .14em;
  color: var(--on-dark-soft);
}

.thesis__body {
  grid-column: 1;
  grid-row: 1;
  max-width: 34rem;
  color: var(--on-dark-soft);
}

.dictionary {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--on-dark-rule);
}
.dictionary__word {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem);
  line-height: 1.25;
  letter-spacing: .14em;
  color: var(--on-dark);
}
p.dictionary__def {
  margin-top: .9rem;
  font-size: .9375rem;
  line-height: 1.95;
}

@media (max-width: 900px) {
  .thesis__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .thesis__vertical { grid-column: 1; grid-row: 1; }
  .thesis__body { grid-row: 2; }
}

/* ---------- 10. お願いできること ---------- */
.service__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(48px, 6vw, 80px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-item__title {
  margin: 0 0 .5rem;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.5;
}
.service-item__title::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 1rem;
  background: var(--ink);
}
.service-item p { color: var(--ink-soft); }

.day {
  margin: 0;
  padding: clamp(26px, 3.2vw, 40px);
  background: var(--tint);
  border-radius: 4px;
}
.day__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
  margin-bottom: 1.5rem;
}
.day__title {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.5;
}
.day__note { font-size: var(--fs-small); color: var(--ink-soft); }

.day__list { margin: 0; padding: 0; list-style: none; }
.day__list li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: .9rem;
}
.day__time {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}
.day__list p {
  position: relative;
  padding: 0 0 1.25rem 1.4rem;
  border-left: 2px solid var(--rule);
  font-size: .9375rem;
  line-height: 1.8;
}
.day__list p::before {
  content: "";
  position: absolute;
  left: -7px;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tint);
  border: 2px solid var(--indigo);
}
.day__list li:last-child p { border-left-color: transparent; padding-bottom: 0; }

p.day__after {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--rule);
  font-size: .875rem;
  color: var(--ink-soft);
}
p.day__after .text-link { display: inline-block; margin-top: .35rem; color: var(--ink); }

.not-do {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  gap: 1rem clamp(32px, 5vw, 80px);
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(28px, 3.6vw, 48px);
  background: var(--tint);
  border-radius: 4px;
}
.not-do__title {
  grid-column: 1;
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.5;
}
.not-do__text {
  grid-column: 1;
  font-size: .9375rem;
  color: var(--ink-soft);
}
.not-do__list {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: .9rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.not-do__list li {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 500;
  line-height: 1.7;
}
.not-do__list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -.05em;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--indigo);
}

@media (max-width: 900px) {
  .service__grid { grid-template-columns: minmax(0, 1fr); }
  .not-do { grid-template-columns: minmax(0, 1fr); }
  .not-do__list { grid-column: 1; grid-row: auto; margin-top: .75rem; }
}
@media (max-width: 640px) {
  .service-list,
  .not-do__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 11. 報告（シグネチャー） ---------- */
.report { background: var(--tint); overflow-x: clip; }

.report__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 72px);
}

.letter--report {
  --line: 34px;
  padding: clamp(24px, 3vw, 40px) clamp(22px, 3.2vw, 44px) clamp(26px, 3vw, 42px);
}
.report__sheet { max-width: 34rem; transform: rotate(-.8deg); }
.report__scraps {
  margin-top: .5rem;
  background-image: linear-gradient(to bottom, transparent calc(var(--line) - 1px), var(--rule-soft) calc(var(--line) - 1px));
  background-size: 100% var(--line);
}
.report__scraps p {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: var(--line);
  letter-spacing: .03em;
  color: var(--pen);
}
.report__scraps p + p { margin-top: var(--line); }
p.report__point { font-size: 1.0625rem; line-height: 1.9; }

@media (max-width: 900px) {
  .report__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .letter--report { --line: 32px; }
  .report__scraps p { font-size: 1rem; }
}

/* ---------- 12. 双方向 ---------- */
.mutual__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--rule);
}
.mutual__col { padding-block: clamp(28px, 3.6vw, 48px); }
.mutual__col:first-child { padding-right: clamp(24px, 4vw, 64px); }
.mutual__col + .mutual__col {
  padding-left: clamp(24px, 4vw, 64px);
  border-left: 1px solid var(--rule);
}
.mutual__who {
  margin: 0;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink-soft);
}
p.mutual__claim {
  margin: .4rem 0 1.25rem;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem);
  line-height: 1.5;
  font-feature-settings: "palt";
}
.mutual__col p:last-child { color: var(--ink-soft); }

.work {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1rem clamp(32px, 5vw, 80px);
  align-items: baseline;
  padding-block: clamp(28px, 3.6vw, 44px);
  border-block: 2px solid var(--ink);
}
.work__claim {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  line-height: 1.5;
}
p.work__text { margin-top: 0; }

.evidence { margin-top: clamp(48px, 6vw, 80px); max-width: 58rem; }
.evidence__title { margin: 0 0 1rem; font-size: 1rem; font-weight: 700; }
.evidence__list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding-left: 1.5em;
  font-size: .9375rem;
  line-height: 1.85;
}
.evidence__list ::marker { font-family: var(--font-mincho); font-weight: 800; }
p.evidence__cite { margin-top: .3rem; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-soft); }
p.evidence__note { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--ink-soft); }

@media (max-width: 900px) {
  .mutual__grid,
  .work { grid-template-columns: minmax(0, 1fr); }
  .mutual__col:first-child { padding-right: 0; }
  .mutual__col + .mutual__col { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------- 13. 安心の体制 ---------- */
.safety .work { margin-top: clamp(40px, 5vw, 72px); }
.safety-list { margin: clamp(40px, 5vw, 72px) 0 0; border-top: 1px solid var(--ink); }
.safety-item {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: .5rem clamp(24px, 4vw, 64px);
  padding-block: clamp(22px, 2.6vw, 34px);
  border-bottom: 1px solid var(--rule);
}
.safety-item dt {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.55;
}
.safety-item dd { margin: 0; }

@media (max-width: 640px) {
  .safety-item { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 14. 流れ ---------- */
.flow { background: var(--tint); }
.steps {
  --num: 3.2rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--num) / 2);
  height: 2px;
  background: var(--rule);
}
.steps::after { background: var(--ink); transform-origin: left center; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps::after {
      animation: draw-line linear both;
      animation-timeline: view();
      animation-range: entry 30% cover 50%;
    }
  }
}
@keyframes draw-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.step { position: relative; }
.step__no {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding-right: .6rem;
  background: var(--tint);
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: var(--num);
  line-height: 1;
}
.step__title {
  margin: 1.25rem 0 .5rem;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.5;
}
.step p { font-size: .9375rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .steps::before,
  .steps::after {
    left: calc(var(--num) * .32);
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .steps::after { transform-origin: center top; }
  @keyframes draw-line {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
  }
  .step { padding-left: calc(var(--num) + .75rem); }
  .step__no {
    position: absolute;
    left: 0;
    top: 0;
    padding: .2rem 0 .4rem;
  }
  .step__title { margin-top: .15rem; }
}

/* ---------- 15. 料金 ---------- */
.price { border-top: 1px solid var(--rule); }

.price__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

p.price__headline {
  margin-top: 1.5rem;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);
  line-height: 1.35;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  font-variant-numeric: tabular-nums;
}

.plans {
  margin: clamp(36px, 4vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.plan {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 7.5rem;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.plan__time {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
}
.plan__badge {
  display: block;
  width: fit-content;
  margin-top: .3rem;
  padding: .05em .5em;
  background: var(--yamabuki);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
}
/* 30分ごとの目盛り。うすい罫が枠、藍が実際の長さ */
.plan__bar {
  position: relative;
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--rule-soft) 0 calc(33.333% - 4px), transparent calc(33.333% - 4px) 33.333%);
}
.plan__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, var(--indigo) 0 calc(33.333% - 4px), transparent calc(33.333% - 4px) 33.333%);
  clip-path: inset(0 calc(100% - var(--span) * 33.333% + 4px) 0 0);
}
.plan--recommended .plan__bar::after {
  background: repeating-linear-gradient(90deg, var(--yamabuki) 0 calc(33.333% - 4px), transparent calc(33.333% - 4px) 33.333%);
}
.plan__fee {
  justify-self: end;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.plan__fee small { margin-left: .1em; font-size: .5em; font-weight: 700; }

p.price__why { margin-top: 1.25rem; font-size: .9375rem; color: var(--ink-soft); }

.terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
}
.terms li { position: relative; padding-left: 1.3rem; line-height: 1.8; }
.terms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85em;
  width: .65rem;
  height: 2px;
  background: var(--indigo);
}

.calc {
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--tint);
  border-radius: 6px;
}
.calc__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 1.3125rem;
  line-height: 1.5;
}
.calc__field {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.calc__field legend {
  margin-bottom: .5rem;
  padding: 0;
  font-size: .875rem;
  font-weight: 700;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: var(--paper);
  border-radius: 6px;
}
.segmented--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.segmented label { position: relative; }
.segmented input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.segmented span {
  display: block;
  padding: .6rem .2rem;
  border-radius: 4px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
  pointer-events: none;
}
.segmented input:checked + span { background: var(--ink); color: var(--on-dark); }
.segmented input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 2px; }
.segmented label:hover input:not(:checked) + span { background: rgba(28, 38, 56, .07); }

.calc__result {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.calc__label { font-size: .875rem; color: var(--ink-soft); }
p.calc__amount {
  margin-top: .1rem;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.calc__amount span { margin-left: .1em; font-size: .45em; font-weight: 700; }
p.calc__formula { margin-top: .25rem; font-size: .875rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
p.calc__note { margin-top: 1rem; font-size: var(--fs-small); color: var(--ink-soft); }

@media (max-width: 900px) {
  .price__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .plan { grid-template-columns: 4.5rem minmax(0, 1fr) 6.4rem; }
  .terms { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 16. 比較 ---------- */
.compare { background: var(--tint); }

.table-scroll {
  margin-top: clamp(40px, 5vw, 64px);
  overflow-x: auto;
  border-radius: 4px;
  -webkit-overflow-scrolling: touch;
}
.table-scroll.is-scrollable:not(.is-end) {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), rgba(0, 0, 0, .25));
  mask-image: linear-gradient(to right, #000 calc(100% - 48px), rgba(0, 0, 0, .25));
}
.scroll-hint { display: none; margin-top: 1.5rem; font-size: var(--fs-small); color: var(--ink-soft); }
.scroll-hint::after { content: " →"; }

.compare-table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  font-size: .9375rem;
}
.compare-table th,
.compare-table td {
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  line-height: 1.75;
  text-align: left;
  vertical-align: top;
}
.compare-table thead th,
.compare-table thead td {
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.4;
  vertical-align: bottom;
}
.compare-table small {
  display: block;
  margin-top: .15rem;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
}
.compare-table thead td { width: 19%; }
.compare-table tbody th {
  font-size: .875rem;
  font-weight: 700;
}
.compare-table tbody th,
.compare-table thead td {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--paper);
}
.compare-table td.is-ours { background: var(--sheet); font-weight: 700; }
.compare-table th.is-ours {
  background: var(--indigo);
  color: var(--on-dark);
  border-bottom-color: var(--indigo);
}
.compare-table tbody tr:last-child > * { border-bottom: 0; }
p.compare__note { margin-top: 1.25rem; }

@media (max-width: 800px) {
  .scroll-hint { display: block; }
  .table-scroll { margin-top: .75rem; }
}

/* ---------- 17. 代表から ---------- */
.message { background: var(--tint); }
.message__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
p.message__role { margin-top: 1rem; font-size: .9375rem; line-height: 1.8; color: var(--ink-soft); }

.letter--message {
  --line: 38px;
  padding: clamp(32px, 4.5vw, 64px);
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: var(--line);
  letter-spacing: .05em;
  background:
    linear-gradient(to bottom, transparent calc(var(--line) - 1px), var(--rule-soft) calc(var(--line) - 1px)) 0 0 / 100% var(--line) content-box,
    var(--sheet);
}
.letter--message p + p { margin-top: var(--line); }

.signature {
  display: flex;
  flex-direction: column;
}
.signature__date { font-family: var(--font-sans); font-size: .875rem; color: var(--ink-soft); }
.signature__name {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: var(--line);
  letter-spacing: .12em;
  color: var(--pen);
}

@media (max-width: 900px) {
  .message__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .letter--message { --line: 34px; font-size: 1rem; padding: 28px 22px; }
}

/* ---------- 18. よくある質問 ---------- */
.faq { border-top: 1px solid var(--rule); }

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }

.faq-item summary {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 1.25rem;
  gap: .75rem;
  align-items: baseline;
  padding: 1.35rem 0;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "問";
  font-weight: 800;
  color: var(--indigo);
}
.faq-item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  align-self: center;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--indigo); }

.faq-item__answer {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: .75rem;
  padding: 0 2rem 1.6rem 0;
}
.faq-item__answer::before {
  content: "答";
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

@supports selector(::details-content) {
  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size .35s ease, content-visibility .35s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

@media (max-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .faq-item summary { grid-template-columns: 1.75rem minmax(0, 1fr) 1rem; }
  .faq-item__answer { grid-template-columns: 1.75rem minmax(0, 1fr); padding-right: 0; }
}

/* ---------- 19. 相談 ---------- */
.contact {
  background: var(--indigo);
  color: var(--on-dark);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact .lead { margin-top: 1.25rem; color: var(--on-dark-soft); }

.mail-card {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--on-dark-rule);
}
.mail-card__label { font-size: var(--fs-small); color: var(--on-dark-soft); }
p.mail-card__address {
  margin: .3rem 0 .4rem;
  font-size: clamp(1.25rem, 1rem + 1.3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}
.mail-card__address a { text-decoration-thickness: 1.5px; text-underline-offset: .3em; }

/* LINEのQRコード（白い紙に刷ったように、地を白で囲う） */
.qr {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0 0;
}
.qr__img {
  flex: none;
  width: 132px;
  height: auto;
  padding: 8px;
  background: var(--sheet);
  border-radius: 4px;
}
.qr__note {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--on-dark-soft);
}

@media (max-width: 640px) {
  .qr { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
p.mail-card__hours { margin-top: .5rem; font-size: .875rem; color: var(--on-dark-soft); }

/* 便箋に書くように */
.composer {
  padding: clamp(24px, 3.6vw, 44px);
  background: var(--sheet);
  color: var(--ink);
  border-radius: 4px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.composer__title {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.5;
}
p.composer__intro { margin-top: .5rem; font-size: .9375rem; color: var(--ink-soft); }

.composer__fields { display: grid; gap: 1.25rem; margin-top: 1.75rem; }

.composer__subhead {
  margin: .75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: .06em;
}

.field { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.field > label,
.field > legend {
  display: block;
  margin-bottom: .45rem;
  padding: 0;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .65rem .85rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field .field { margin-top: 1rem; }
.field .field > label { font-weight: 500; }
.opt { margin-left: .5em; font-size: .75rem; font-weight: 500; color: var(--ink-soft); }
.field input::placeholder,
.field textarea::placeholder { color: #7D8796; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); }

.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: inline-block;
  padding: .5rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-size: .9375rem;
  line-height: 1.5;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  pointer-events: none;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 2px; }
.choice:hover input:not(:checked) + span { border-color: var(--ink); }

.composer__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.req {
  display: inline-block;
  margin-left: .6em;
  padding: 0 .45em;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  vertical-align: .1em;
}
.composer__intro .req { margin: 0 .25em; }

p.field-hint { margin-top: .4rem; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-soft); }
p.field-error {
  margin-top: .4rem;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--shu);
}
p.field-error::before { content: "！ "; }
.field [aria-invalid="true"] { border-color: var(--shu); box-shadow: inset 0 0 0 1px var(--shu); }

/* 迷惑投稿よけ（画面にも読み上げにも出さない） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.consent__label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
}
.consent__label input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.consent__box {
  flex: none;
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: .05rem;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  transition: background-color .15s ease;
}
.consent__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 7px;
  height: 13px;
  border: solid var(--on-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}
.consent__label input:checked + .consent__box { background: var(--ink); }
.consent__label input:checked + .consent__box::after { transform: rotate(45deg) scale(1); }
.consent__label input:focus-visible + .consent__box { outline: 3px solid var(--indigo); outline-offset: 2px; }
.consent__label input[aria-invalid="true"] + .consent__box { border-color: var(--shu); box-shadow: 0 0 0 1px var(--shu); }
.consent__label a { text-underline-offset: .3em; }

.composer__submit { min-width: 12rem; }
.composer__submit[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; box-shadow: 0 3px 0 var(--ink); }
.composer__submit[aria-busy="true"]::before {
  content: "";
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.composer__fallback {
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--paper);
  border-left: 3px solid var(--shu);
  border-radius: 2px;
  font-size: .9375rem;
  line-height: 1.8;
}
.composer__fallback[hidden] { display: none; }
.composer__fallback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: .9rem; }

.composer__done { position: relative; padding-top: .5rem; outline: none; }
.composer__done[hidden] { display: none; }
.composer__done-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.composer__done-title {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem);
  line-height: 1.5;
}
p.composer__done-note { margin-top: 1.25rem; font-size: var(--fs-small); line-height: 1.8; color: var(--ink-soft); }
.stamp--date {
  position: static;
  flex: none;
  width: clamp(84px, 9vw, 104px);
  transform: rotate(-12deg);
}
.stamp__date {
  fill: currentColor;
  font-family: var(--font-mincho);
  font-weight: 800;
  text-anchor: middle;
  letter-spacing: .04em;
}
.composer__done:not([hidden]) .stamp--date { animation: stamp-date .55s cubic-bezier(.2, .9, .3, 1.25) .35s both; }
@keyframes stamp-date {
  0% { opacity: 0; transform: rotate(-12deg) scale(1.7); }
  60% { opacity: .95; transform: rotate(-12deg) scale(.95); }
  100% { opacity: .86; transform: rotate(-12deg) scale(1); }
}
p.composer__status { min-height: 1.6em; margin-top: .9rem; font-size: .875rem; font-weight: 700; color: var(--indigo); }
p.composer__privacy { margin-top: .25rem; font-size: var(--fs-small); line-height: 1.8; color: var(--ink-soft); }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .composer__actions .button { flex: 1 1 100%; }
}

/* ---------- 20. フッター ---------- */
.site-footer {
  padding-block: clamp(56px, 7vw, 96px) 32px;
  background: var(--indigo-deep);
  color: var(--on-dark-soft);
  font-size: .875rem;
  line-height: 1.8;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 2.5rem clamp(32px, 5vw, 72px);
}
.site-footer__name {
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: .1em;
  color: var(--on-dark);
}
p.site-footer__tagline { margin-top: .6rem; }
.site-footer__info { margin: 0; }
.site-footer__info div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 1rem;
  padding-block: .55rem;
  border-bottom: 1px solid var(--on-dark-rule);
}
.site-footer__info div:first-child { padding-top: 0; }
.site-footer__info dt { color: rgba(243, 245, 241, .62); }
.site-footer__info dd { margin: 0; color: var(--on-dark); }
.site-footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; word-break: keep-all; overflow-wrap: anywhere; }
.site-footer__sns {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__sns[hidden] { display: none; }
.site-footer__sns a { font-weight: 700; }
.site-footer a { color: var(--on-dark); text-underline-offset: .35em; }
.site-footer__recruit {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--on-dark-soft);
}
.site-footer__recruit a { font-weight: 700; text-decoration-thickness: 1.5px; }
.site-footer__copy {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--on-dark-rule);
  color: rgba(243, 245, 241, .6);
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 959px) {
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- 21. モバイルの固定ボタン ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 245, 241, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 var(--rule);
  transform: translateY(110%);
  transition: transform .35s ease;
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .button { width: 100%; }

@media (max-width: 959px) {
  .mobile-cta { display: block; }
}

/* ---------- 22. 下層ページ（事業者情報・ポリシー） ---------- */
.page-head { padding-block: clamp(48px, 7vw, 104px) clamp(32px, 4vw, 56px); }
.page-head__title {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
  line-height: 1.45;
  font-feature-settings: "palt";
}
p.page-head__lead { max-width: 40rem; margin-top: 1.25rem; color: var(--ink-soft); }
.page-head__eyebrow { margin-bottom: .75rem; font-size: var(--fs-small); font-weight: 700; letter-spacing: .1em; color: var(--ink-soft); }
.page-head__eyebrow a { text-underline-offset: .35em; }
.page-head__eyebrow::after { content: " ／"; }

.page-section-title {
  margin: 0 0 1rem;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.55;
}
.page-body section + section { margin-top: clamp(48px, 6vw, 80px); }
.prose__date { margin-top: 3rem !important; font-size: var(--fs-small); color: var(--ink-soft); }
.site-footer__nav a[aria-current="page"] { text-decoration-thickness: 3px; text-decoration-color: var(--yamabuki); }

.page-body { padding-bottom: var(--section-pad); }

.info-table { max-width: 56rem; margin: 0; border-top: 1px solid var(--ink); }
.info-table > div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: .35rem clamp(20px, 4vw, 48px);
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule);
}
.info-table dt { font-weight: 700; line-height: 1.8; }
.info-table dd { margin: 0; line-height: 1.85; }

.prose { max-width: 42rem; }
.prose h2 {
  margin: 3rem 0 .9rem;
  font-family: var(--font-mincho);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.55;
}
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: .75rem 0 0; padding-left: 1.25em; }
.prose ol { margin: .75rem 0 0; padding-left: 1.6em; }
.prose li + li { margin-top: .35rem; }
.prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: .9rem; }

/* 利用規約の号は（1）（2）… の入れ子にする */
.prose ol ol {
  counter-reset: go;
  margin-top: .5rem;
  padding-left: 0;
  list-style: none;
}
.prose ol ol > li {
  counter-increment: go;
  padding-left: 2.4em;
  text-indent: -2.4em;
}
.prose ol ol > li::before { content: "（" counter(go) "）"; }

.back-link { display: inline-block; margin-top: 3rem; }

@media (max-width: 640px) {
  .info-table > div { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 23. 動きを控える設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
