/* 下層の小さなページ（会社概要・プライバシー・お問い合わせ・資料ダウンロード・完了画面・404・お知らせ）
   トップと同じ変数・黒の太い線・白抜きの大きな文字。横にはみ出す枠は作らない（責任者「フレームやめたら？」） */
.sb-c--blue { --c: var(--blue); }
.sb-c--mint { --c: var(--mint); }
.sb-c--orange { --c: var(--orange); }
.sb-c--yellow { --c: var(--yellow); }
.sb-c--sky { --c: var(--sky); }
.sb-c--peach { --c: var(--peach); }
.sb-center { text-align: center; justify-content: center; }
.sb-sec { padding: var(--pad-y) var(--gutter); }
.sb-sec + .sb-sec { padding-top: 0; }

/* ページの見出し：色の帯の上に、白抜きの大きな文字 */
.sb-hero { display: grid; justify-items: center; gap: 14px; padding: calc(var(--hd-h) + 48px) var(--gutter) 56px; border-bottom: var(--line-bold) solid var(--ink); background: var(--c); text-align: center; }
.sb-hero__h { display: grid; justify-items: center; gap: 8px; font-weight: 900; }
.sb-hero__main { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.2; color: var(--white); -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; word-break: keep-all; overflow-wrap: anywhere; }
.sb-hero__tail { font-family: var(--ff-en); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; }
.sb-hero__lead { max-width: 640px; }

/* 白い面（枠線なし・影なし。中身の幅で折り返す） */
.sb-card { width: min(880px, 100%); margin-inline: auto; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-card); background: var(--white); }
.sb-table { width: 100%; border-collapse: collapse; }
.sb-table th, .sb-table td { padding: 18px 12px; border-bottom: 2px dashed var(--ink); text-align: left; vertical-align: top; line-height: 1.7; overflow-wrap: anywhere; }
.sb-table th { width: 9em; font-weight: 900; white-space: nowrap; }
.sb-table a, .sb-prose a { color: var(--blue-deep); font-weight: 700; }
.sb-prose { display: grid; gap: 14px; font-size: var(--fs-body); line-height: 1.95; overflow-wrap: anywhere; }
.sb-prose h2 { margin-top: 18px; padding-bottom: 6px; border-bottom: 3px solid var(--ink); font-weight: 900; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; }
.sb-prose ul, .sb-prose ol { display: grid; gap: 6px; margin: 0; padding-left: 1.3em; }
.sb-prose img { max-width: 100%; height: auto; border-radius: 14px; }

/* フォーム：左に案内、右にフォーム（スマホは縦） */
.sb-form__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: var(--sp-g); width: min(1100px, 100%); margin-inline: auto; }
.sb-info { display: grid; gap: var(--sp-p); text-align: left; }
.sb-info__h { font-weight: 900; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; }
.sb-info__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.sb-info__i { display: grid; gap: 4px; padding: 14px 0; border-bottom: 2px dashed var(--ink); }
.sb-info__i h3 { font-weight: 900; font-size: 15px; }
.sb-info__i p { font-size: 14px; line-height: 1.75; }
.sb-info__i a { color: var(--blue-deep); font-weight: 700; }
.sb-form__card { width: 100%; text-align: left; }
.sb-form__t { margin: 0 0 18px; font-weight: 900; font-size: 20px; }
.sb-form form { display: grid; gap: 20px; }
.sb-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sb-form .form-group { display: grid; gap: 8px; }
.sb-form .form-group > label { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 15px; }
.sb-form .req, .sb-form .opt { padding: 2px 8px; border-radius: 999px; font-size: 13px; line-height: 1.3; }
.sb-form .req { background: var(--orange); color: var(--white); }
.sb-form .opt { background: var(--paper-deep); }
.sb-form input[type="text"], .sb-form input[type="tel"], .sb-form input[type="email"], .sb-form textarea { width: 100%; padding: 13px 15px; border: var(--line) solid var(--ink); border-radius: 14px; background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); }
.sb-form input:focus, .sb-form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; background: var(--white); }
.sb-form .radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-form .radio-label { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.sb-form .radio-label input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sb-form .radio-custom { display: none; }
.sb-form .radio-label span:last-child { padding: 9px 16px; border: var(--line) solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 700; font-size: 14px; }
.sb-form .radio-label input:checked ~ span:last-child { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.sb-form .radio-label input:focus-visible ~ span:last-child { outline: 3px solid var(--blue); outline-offset: 2px; }
.sb-form .submit-btn { justify-self: center; padding: 0; border: 0; background: none; cursor: pointer; }
.sb-form .submit-btn:disabled { opacity: 0.6; cursor: default; }
.sb-form .form-note { font-size: 13px; line-height: 1.8; color: var(--ink-soft); text-align: center; }
.sb-form .form-note a { color: var(--blue-deep); font-weight: 700; }

/* 資料・完了画面の札 */
.sb-dls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; width: min(1000px, 100%); margin: 0 auto var(--sp-g); }
.sb-dl { display: grid; justify-items: center; align-content: start; gap: 12px; padding: 28px 22px; border: var(--line-bold) solid var(--ink); border-radius: var(--r-card); background: var(--c); box-shadow: 6px 7px 0 var(--ink); text-align: center; }
.sb-dl__t { font-weight: 900; font-size: 19px; line-height: 1.45; }
.sb-dl p { font-size: 14px; line-height: 1.75; }

/* 404 の行き先 */
.sb-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(760px, 100%); margin: 0 auto var(--sp-g); padding: 0; list-style: none; }
.sb-links a { display: block; padding: 10px 18px; border: var(--line) solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; }

/* お知らせ */
.sb-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: var(--sp-g); }
.sb-filter__b { padding: 8px 18px; border: var(--line) solid var(--ink); border-radius: 999px; background: var(--white); font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.sb-filter__b.is-on { background: var(--ink); color: var(--white); }
.sb-news { width: min(880px, 100%); margin: 0 auto; padding: 0; list-style: none; border-top: var(--line) solid var(--ink); }
.sb-news__i a { display: grid; gap: 6px; padding: 20px 6px; border-bottom: 2px dashed var(--ink); color: var(--ink); text-decoration: none; text-align: left; }
.sb-news__i a:hover .sb-news__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sb-news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-family: var(--ff-en); font-weight: 700; font-size: 14px; }
.sb-news__cat { padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--c); font-family: var(--ff-jp); font-size: 13px; }
.sb-news__t { font-weight: 900; font-size: 17px; line-height: 1.6; }
.sb-news__ex { font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.sb-hero--article { gap: 18px; }
.sb-article__h { max-width: 880px; font-weight: 900; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.4; color: var(--white); -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; word-break: keep-all; overflow-wrap: anywhere; }
.sb-rel { width: min(880px, 100%); margin: var(--sp-g) auto 0; }
.sb-rel__h { margin-bottom: 12px; font-weight: 900; font-size: 20px; text-align: center; }
.sb-rel ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sb-rel a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 2px dashed var(--ink); color: var(--ink); text-decoration: none; text-align: left; }
.sb-rel__t { font-weight: 700; line-height: 1.6; }
.sb-rel time { font-family: var(--ff-en); font-weight: 700; font-size: 13px; }
.sb-cta .faq__cta { width: min(980px, 100%); margin: 0 auto; }

@media (max-width: 767px) {
  .sb-hero { padding-top: calc(var(--hd-h) + 28px); }
  .sb-hero__main { -webkit-text-stroke-width: 6px; }
  .sb-form__grid { grid-template-columns: minmax(0, 1fr); }
  .sb-info { text-align: center; }
  .sb-table th, .sb-table td { display: block; width: 100%; padding: 4px 4px; border: 0; }
  .sb-table th { padding-top: 14px; }
  .sb-table td { padding-bottom: 14px; border-bottom: 2px dashed var(--ink); }
  .sb-rel a { grid-template-columns: auto minmax(0, 1fr); }
  .sb-rel time { grid-column: 2; }
  .sb-article__h { -webkit-text-stroke-width: 6px; }
}
