/* ==========================================================================
   ブリジャール福岡FC  —  style.css
   寸法の考え方: デザインPDFは横720px（書き出し1440px＝2倍）。
   1rem = デザイン上の10px とし、画面幅に比例して拡縮する（上限 960px 幅相当）。
   640px 未満（スマホ）は比例縮小をやめ、読める文字サイズで組み直す。
   ========================================================================== */

:root {
  --c-band: #09162c;
  --c-band-mid: #142a4a;
  --c-band-light: #1b365b;
  --c-bg: #10213e;
  --c-card: #182f51;
  --c-navy: #19385f;
  --c-ink: #10274b;
  --c-text: #ffffff;
  --c-text-sub: #cad3df;
  --c-label: #a9c1e3;
  --c-accent: #8faed1;
  --c-rule: #83a6d2;
  --c-off: #ced9e9;
  --c-off-badge: #bacce7;
  --c-dot: #486a93;
  --c-shine: #ffda4d;
  --slope: 8.5rem; /* 見出し帯の斜めカットの水平ずれ（帯の高さ12.5remに対して） */
}

html { font-size: calc(min(100vw, 960px) / 72); -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "M PLUS 1", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  /* 改行は文節（<wbr>）単位。語の途中では折り返さず、収まらない語だけは途中で折る */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  text-wrap: pretty;
  font-size: 1.8rem;
  line-height: 1.5;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
.wrap { width: 72rem; max-width: 100%; margin: 0 auto; padding: 0 3.8rem; position: relative; }
.shine { color: var(--c-shine); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 見出し帯 ---------- */
.band { position: relative; display: flex; align-items: center; height: 12.5rem; background: var(--c-band); overflow: hidden; }
.band__p { position: absolute; inset: 0; }
.band__p--mid { background: var(--c-band-mid); clip-path: polygon(67.36% 0, 100% 0, 100% 100%, calc(67.36% - var(--slope)) 100%); }
.band__p--light { background: var(--c-band-light); clip-path: polygon(82.64% 0, 100% 0, 100% 100%, calc(82.64% - var(--slope)) 100%); }
.band .wrap { height: 100%; display: flex; align-items: center; }
.band__title { display: flex; align-items: center; font-size: 3.6rem; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
.band__bar { flex: none; width: .35rem; height: 3.8rem; margin-right: 1.4rem; background: var(--c-accent); }
.band__text { word-break: keep-all; overflow-wrap: anywhere; }

.band--center .wrap { flex-direction: column; justify-content: center; text-align: center; }
.band--center .band__title { font-size: 4.3rem; display: block; letter-spacing: .02em; }
.band__sub { margin-top: .9rem; font-size: 1.45rem; font-weight: 700; letter-spacing: .03em; color: #c1d6f1; line-height: 1; }

.sec__body { padding: 2rem 0 3rem; }
#policy .sec__body { padding-top: 1.2rem; }
.card { background: var(--c-card); border-radius: 1rem; }

/* ---------- 01 クラブ紹介 ---------- */
.club { text-align: center; padding-top: 3.5rem; padding-bottom: 3.6rem; }
.club__logo { width: 13rem; margin: 0 auto; }
.club__name { margin-top: 2.6rem; font-size: 3.7rem; font-weight: 700; line-height: 1.2; }
.club__rule { width: 5.6rem; height: .2rem; margin: 1.9rem auto 0; background: var(--c-rule); }
.club__mean { margin-top: 2.6rem; font-size: 1.9rem; line-height: 2.75rem; }
.club__wish { margin-top: 3.3rem; font-size: 2.35rem; line-height: 3.8rem; }

/* ---------- 02 育成方針・チーム理念 ---------- */
.policy__lead { margin-top: .5rem; font-size: 3rem; font-weight: 700; line-height: 1.4; }
.policy__text { margin-top: 1.3rem; font-size: 1.8rem; line-height: 2.6rem; color: var(--c-text-sub); }
.policy__list { margin-top: 1.8rem; display: grid; gap: 1.05rem; }
.policy__item { padding: 1.35rem 3.1rem 1.45rem; min-height: 11.1rem; }
.policy__item h4 { margin: 0; font-size: 2.2rem; font-weight: 700; line-height: 3.2rem; }
.policy__item p { margin-top: .35rem; font-size: 1.65rem; line-height: 2.4rem; color: var(--c-text-sub); }

/* ---------- 03 スタッフ紹介 ---------- */
.staff { display: grid; gap: 1.1rem; }
.staff__row { display: grid; grid-template-columns: 15.7rem 1fr; padding: 1.6rem 2rem; }
.staff__role { align-self: start; display: flex; align-items: center; height: 4.25rem; font-size: 1.8rem; font-weight: 700; color: var(--c-label); line-height: 1.2; }
.staff__names { border-left: 1px solid #34507a; padding-left: 2.85rem; }
.staff__names li { display: flex; align-items: center; height: 4.25rem; font-size: 2.8rem; font-weight: 700; line-height: 1; }
.staff__names li span { display: inline-block; min-width: 15.6rem; }
.staff__names li small { font-size: 1.6rem; font-weight: 400; color: #b4c6e0; line-height: 1; }
.staff__extra { grid-column: 2; padding-left: calc(2.85rem + 1px); font-size: 2.6rem; font-weight: 700; line-height: 4.25rem; }

/* ---------- 04 週間スケジュール ---------- */
.week { display: grid; gap: .95rem; }
.week__row { display: grid; grid-template-columns: 7.1rem 31.2rem 1px 1fr; align-items: center; height: 4.9rem; background: #fff; border-radius: 1rem; color: var(--c-ink); }
.week__day { justify-self: start; margin-left: .55rem; width: 4.75rem; height: 3.85rem; display: grid; place-items: center; border-radius: .7rem; background: var(--c-navy); color: #fff; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.week__what { font-size: 2.2rem; font-weight: 700; white-space: nowrap; }
.week__sep { width: 1px; height: 2.5rem; background: #c5d1e0; }
.week__when { display: flex; padding-left: 1.75rem; font-size: 1.75rem; font-weight: 700; white-space: nowrap; }
.week__when time { width: 12.9rem; }
.week__row--off { background: var(--c-off); }
.week__row--off .week__day { background: var(--c-off-badge); color: var(--c-ink); }
.week__row--off .week__what { font-size: 1.9rem; letter-spacing: .02em; }
.week__row:not(.week__row--timed) .week__sep { visibility: hidden; }
/* ---------- 05 費用 ---------- */
.fees { display: grid; gap: .9rem; }
.fees__row { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 5rem; padding: 0 2.95rem 0 2.85rem; background: #fff; border-radius: 1rem; color: var(--c-ink); }
.fees__row::before { content: ""; position: absolute; left: .7rem; top: .55rem; bottom: .55rem; width: .7rem; border-radius: .35rem; background: var(--c-navy); }
.fees__row dt { font-size: 2.2rem; font-weight: 700; }
.fees__row dd { font-size: 2.6rem; font-weight: 700; }
.fees__row--wear { align-items: flex-start; }
.fees__row--wear dt { line-height: 5.1rem; }
.fees__row { gap: 2.4rem; }
.fees__row--wear dd { flex: 0 1 37.35rem; min-width: 0; }
.fees__sub { display: flex; justify-content: space-between; align-items: center; height: 4.55rem; }
.fees__sub + .fees__sub { border-top: 1px solid #dbe3ee; }
.fees__sub span:first-child { font-size: 1.9rem; }
.fees__row--tour dd { font-size: 2.2rem; }
.fees__note { margin-top: 2.3rem; padding-top: 1.4rem; border-top: 1px solid #3a4d6d; }
.fees__note h3 { font-size: 1.9rem; font-weight: 700; color: #c4d8ef; }
.fees__note p { margin-top: .9rem; font-size: 1.8rem; font-weight: 700; }

/* ---------- 06 連絡方法・月会費のお支払い ---------- */
.contact__head { display: flex; align-items: center; gap: 2.3rem; margin-top: .1rem; }
.contact__logo { flex: none; width: 17.25rem; height: 6.55rem; display: grid; place-items: center; background: #fff; border-radius: 1.2rem; }
.contact__logo img { width: 14.5rem; }
.contact__head h3 { font-size: 2.45rem; font-weight: 700; }
.contact__grid { margin-top: 2.1rem; display: grid; grid-template-columns: 32.75rem 1fr; gap: 1.7rem; }
.contact__cards { display: grid; gap: 1.4rem; align-content: start; }
.contact__card { padding: 1.3rem 1.2rem 1.9rem 1.9rem; }
.contact__card h4 { margin: 0; font-size: 2.3rem; font-weight: 700; line-height: 3rem; }
.contact__card p { margin-top: .9rem; font-size: 1.62rem; line-height: 2.45rem; color: #dbe2ec; }
.contact__shots { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; align-content: start; }
.contact__shots figcaption { margin-top: .8rem; text-align: center; font-size: 1.7rem; font-weight: 700; color: var(--c-label); }

/* ---------- 07 選手サポート ---------- */
.support { display: grid; gap: 1.7rem; margin-top: -.4rem; }
.support__row { display: grid; grid-template-columns: 22.85rem 1fr; min-height: 14.5rem; padding: 2.1rem 0; align-items: center; }
.support__logo { align-self: stretch; }
.support__logo { display: grid; place-items: center; border-right: 1px solid #3d5377; }
.support__logo img { width: 16.2rem; }
.support__logo--haru img { width: 18.2rem; }
.support__text { padding-left: 2.35rem; padding-right: 2rem; }
.support__text h3 { font-size: 2.1rem; font-weight: 700; line-height: 2.6rem; }
.support__text p { margin-top: .8rem; font-size: 1.46rem; line-height: 2.4rem; color: #dbe2ec; }

/* ---------- 08 ホームグラウンド ---------- */
.ground { display: grid; gap: 1.45rem; }
.ground__main { padding: 1.9rem 2.1rem 2.5rem; }
.ground__main h3 { font-size: 3.2rem; font-weight: 700; line-height: 4.4rem; }
.ground__main p { margin-top: .75rem; font-size: 1.8rem; color: #dbe2ec; }
.ground__sub { padding: 1.9rem 2rem .7rem; }
.ground__label { font-size: 1.8rem; font-weight: 700; color: var(--c-label); line-height: 2.8rem; }
.ground__sub li { font-size: 2.4rem; font-weight: 700; line-height: 4.5rem; }
.ground__sub li + li { border-top: 1px solid #3b5683; }
.ground__note { padding: .9rem 2rem 1.5rem; }
.ground__note .ground__label { font-size: 1.65rem; line-height: 2.6rem; }
.ground__note p { font-size: 1.5rem; line-height: 2.45rem; color: #dbe2ec; }

/* ---------- 09 高校進路実績 ---------- */
.results { display: grid; gap: 1.05rem; margin-top: -.35rem; }
.results__card { background: #fff; border-radius: 1rem; padding: 1rem 1rem .3rem 1.1rem; color: var(--c-ink); }
.results__tag { width: 13.4rem; height: 2.8rem; display: flex; align-items: center; padding-left: 1.1rem; border-radius: .6rem; background: var(--c-navy); color: #fff; font-size: 1.6rem; font-weight: 700; }
.results__list { margin-top: .75rem; padding-left: .9rem; display: grid; grid-template-columns: 20.45rem 20.5rem 1fr; grid-auto-flow: column; grid-template-rows: repeat(var(--rows), 2.25rem); }
.results__list li { position: relative; padding-left: 1rem; font-size: 1.6rem; font-weight: 700; line-height: 2.25rem; white-space: nowrap; }
.results__list li::before { content: ""; position: absolute; left: -.2rem; top: .95rem; width: .4rem; height: .4rem; border-radius: 50%; background: var(--c-dot); }
.results__list--2 { grid-template-columns: 30.8rem 1fr; }

/* ---------- スマホ（640px未満）: 比例縮小をやめて組み直す ---------- */
@media (max-width: 639.98px) {
  html { font-size: 62.5%; }
  :root { --slope: 6rem; }
  .wrap { padding: 0 1.8rem; }
  .band { height: auto; min-height: 9.2rem; }
  .band .wrap { padding-top: 1.8rem; padding-bottom: 1.8rem; padding-right: 7.2rem; }
  .band__title { font-size: 2.4rem; }
  .band__bar { height: 2.8rem; margin-right: 1rem; }
  .band--center .wrap { padding-right: 1.8rem; }
  .band--center .band__title { font-size: 3rem; }
  .band__sub { font-size: 1.2rem; }
  .sec__body { padding: 2rem 0 3.2rem; }
  .club__name { font-size: 2.8rem; }
  .club__mean { font-size: 1.6rem; line-height: 2.6rem; }
  .club__wish { margin-top: 3rem; font-size: min(1.5rem, 4vw); line-height: 2.9rem; }
  .policy__text br, .policy__item br, .contact__card br, .support__text br, .ground__note br { display: none; }
  .policy__lead { font-size: 2.3rem; }
  .policy__text { font-size: 1.6rem; }
  .policy__item { padding: 1.4rem 1.8rem 1.6rem; min-height: 0; }
  .policy__item h4 { font-size: 1.9rem; line-height: 2.8rem; }
  .policy__item p { font-size: 1.5rem; }
  .staff__row { grid-template-columns: 8.4rem 1fr; padding: 1.4rem 1.4rem; }
  .staff__role { font-size: 1.5rem; height: 3.6rem; }
  .staff__names { padding-left: 1.6rem; }
  .staff__names li { font-size: 2.1rem; height: auto; min-height: 3.6rem; flex-wrap: wrap; }
  .staff__names li span { min-width: 9.5rem; }
  .staff__names li small { font-size: 1.3rem; }
  .staff__extra { padding-left: calc(1.6rem + 1px); font-size: 1.7rem; line-height: 3rem; }
  .week__row { grid-template-columns: 5.6rem 1fr; grid-template-rows: auto auto; height: auto; min-height: 5rem; padding: .6rem 0; row-gap: .1rem; }
  .week__day { grid-row: 1 / span 2; width: 4.2rem; height: 3.8rem; font-size: 1.9rem; margin-left: .6rem; }
  .week__what { font-size: 1.8rem; white-space: normal; }
  .week__row:not(.week__row--timed) .week__what { grid-row: 1 / span 2; }
  .week__sep { display: none; }
  .week__when { grid-column: 2; padding-left: 0; font-size: 1.4rem; gap: 1.2rem; }
  .week__when time { width: auto; }
  .fees__row { padding: 0 1.6rem 0 2.4rem; }
  .fees__row dt { font-size: 1.8rem; }
  .fees__row dd { font-size: 2.1rem; }
  .fees__row--wear { display: block; padding-top: .4rem; padding-bottom: .4rem; }
  .fees__row--wear dt { line-height: 3.6rem; }
  .fees__row--wear dd { width: auto; }
  .fees__sub { height: 4rem; }
  .fees__sub span:first-child { font-size: 1.6rem; }
  .fees__row--tour dd { font-size: 1.6rem; }
  .fees__note p { font-size: 1.5rem; }
  .contact__head { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .contact__head h3 { font-size: 2rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact__card h4 { font-size: 2rem; }
  .contact__card p { font-size: 1.5rem; }
  .contact__shots { gap: 1.4rem; }
  .contact__shots figcaption { font-size: 1.5rem; }
  .support__row { grid-template-columns: 1fr; padding: 2rem 1.8rem; }
  .support__logo { border-right: 0; border-bottom: 1px solid #3d5377; padding-bottom: 1.8rem; margin-bottom: 1.6rem; }
  .support__text { padding: 0; }
  .support__text h3 { font-size: 2rem; }
  .support__text p { font-size: 1.5rem; }
  .ground__main { padding: 1.6rem 1.8rem 1.8rem; }
  .ground__main h3 { font-size: 2.6rem; }
  .ground__main p { font-size: 1.5rem; }
  .ground__sub, .ground__note { padding-left: 1.8rem; padding-right: 1.8rem; }
  .ground__label { font-size: 1.5rem; }
  .ground__sub li { font-size: 1.9rem; line-height: 4.2rem; }
  .ground__note p { font-size: 1.5rem; }
  .results__card { padding: 1.1rem 1.4rem 1.3rem 1.1rem; }
  .results__tag { font-size: 1.5rem; }
  .results__list, .results__list--2 { grid-template-columns: 1fr 1fr; grid-auto-flow: row; grid-template-rows: none; row-gap: .5rem; column-gap: 1rem; }
  .results__list li[aria-hidden] { display: none; }
  .results__list li { font-size: 1.4rem; white-space: normal; line-height: 2rem; }
  .results__list li::before { top: .8rem; }
}

/* ==========================================================================
   ナビゲーション／フッター／PC用レイアウト
   ========================================================================== */
/* CSSの scroll-behavior: smooth は使わない（ScrollTrigger の位置計測が狂うため）。なめらかな移動は motion.js 側で行う */
html { scroll-padding-top: var(--nav-h); }
:root { --nav-h: 5.6rem; }
.skip { position: fixed; left: 1rem; top: -10rem; z-index: 100; padding: 1rem 1.6rem; background: #fff; color: var(--c-ink); font-size: 1.4rem; font-weight: 700; border-radius: .6rem; }
.skip:focus { top: 1rem; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--c-shine); outline-offset: 3px; }

/* ---------- ナビゲーション ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--nav-h); background: #060e1e; border-bottom: 1px solid #1d3355; }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 2.4rem; }
.nav__brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.nav__brand img { width: 2.6rem; }
.nav__btn { position: relative; z-index: 2; width: 4.4rem; height: 4.4rem; margin-right: -1rem; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.nav__btn i { position: absolute; left: 1.1rem; width: 2.2rem; height: 2px; background: currentColor; transform: skewX(-34deg); }
.nav__btn i:nth-of-type(1) { top: 1.75rem; }
.nav__btn i:nth-of-type(2) { top: 2.55rem; }
.nav__menu { position: fixed; inset: 0; z-index: 1; display: none; padding: calc(var(--nav-h) + 2rem) 2.4rem 3rem; background: var(--c-band); overflow: auto; }
.nav.is-open .nav__menu { display: block; }
.nav__menu a { display: block; padding: 1.3rem 0; border-bottom: 1px solid #1d3355; text-decoration: none; font-size: 2rem; font-weight: 700; }
.nav__ind { display: none; }
main { padding-top: var(--nav-h); }

/* ---------- フッター ---------- */
.foot { background: var(--c-band); border-top: 1px solid #1d3355; }
.foot__in { display: grid; gap: 3rem; padding-top: 4.4rem; padding-bottom: 3.6rem; }
.foot__brand { display: flex; align-items: center; gap: 2.2rem; }
.foot__logo { width: 7.6rem; flex: none; }
.foot__name { font-size: 2.2rem; font-weight: 700; }
.foot__addr { margin-top: .6rem; font-size: 1.4rem; line-height: 1.7; color: var(--c-text-sub); }
.foot__links { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .2rem 2rem; }
.foot__links a { display: inline-block; padding: .7rem 0; font-size: 1.45rem; color: var(--c-text-sub); text-decoration: none; }
.foot__links a:hover { color: #fff; }
.foot__bottom { border-top: 1px solid #1d3355; }
.foot__bottom .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 1.8rem; padding-bottom: 1.8rem; }
.foot__word { width: 9rem; }
.foot__bottom small { font-size: 1.2rem; letter-spacing: .06em; color: #8296b4; }

@media (max-width: 639.98px) {
  :root { --nav-h: 5.4rem; }
  .nav__in { padding: 0 1.8rem; }
  .foot__links { grid-template-columns: 1fr 1fr; }
  .foot__links a { font-size: 1.35rem; }
  .foot__brand { align-items: flex-start; }
  .foot__logo { width: 6.2rem; }
  .foot__addr { font-size: 1.25rem; }
}

/* ---------- PC（1024px以上）: 横幅を使うレイアウト ---------- */
@media (min-width: 1024px) {
  html { font-size: clamp(10.4px, .8vw, 12px); }
  :root { --nav-h: 6rem; }
  .wrap { width: 108rem; padding: 0 4rem; }
  .nav__in { max-width: 132rem; margin: 0 auto; padding: 0 3rem; }
  .nav__btn { display: none; }
  .nav__menu { position: relative; inset: auto; display: block; padding: 0; background: none; overflow: visible; }
  .nav__menu ul { display: flex; gap: .4rem; }
  .nav__menu a { padding: 1.2rem 1.1rem; border: 0; font-size: 1.3rem; font-weight: 500; color: #b9c8de; white-space: nowrap; transition: color .2s; }
  .nav__menu a:hover, .nav__menu a[aria-current="true"] { color: #fff; }
  .nav__ind { display: block; position: absolute; left: 0; bottom: .4rem; width: 4rem; height: 2px; background: var(--c-shine); transform-origin: 0 50%; opacity: 0; }

  .club { padding-top: 5rem; padding-bottom: 5.4rem; }
  .club__logo { width: 15rem; }
  .sec__body { padding-top: 3.2rem; padding-bottom: 4.6rem !important; }
  #policy .sec__body { padding-top: 2.6rem; }
  .policy__list { grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.4rem; }
  .policy__item br { display: none; }
  .policy__item { padding: 1.8rem 2.6rem 2rem; }

  .staff { grid-template-columns: 1fr 1.3fr; grid-template-rows: 1fr 1fr; gap: 1.4rem; }
  .staff__row { grid-template-columns: 11.5rem 1fr; }
  .staff__names li span { min-width: 14rem; }
  .staff__names li small { white-space: nowrap; }
  .staff__row { align-content: center; }
  .staff__row--coach { grid-column: 2; grid-row: 1 / span 2; }

  .week__row { grid-template-columns: 7.1rem 1fr 1px 36rem; height: 5.2rem; }
  .week__when time { width: 14.5rem; }

  #fees .sec__body .wrap { display: grid; grid-template-columns: 1fr 32rem; gap: 3.4rem; align-items: start; }
  .fees__note { margin: 0; padding: .4rem 0 .6rem 2.6rem; border-top: 0; border-left: 1px solid #3a4d6d; }
  .fees__note p { font-size: 1.6rem; line-height: 1.8; }

  .contact__grid { grid-template-columns: 1fr 40rem; gap: 2.4rem; }
  .contact__cards { align-content: stretch; grid-template-rows: 1.4fr 1fr; }
  .contact__card { padding: 2.2rem 2.6rem; }
  .contact__shots { gap: 1.4rem; }

  .support { grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 0; }
  .support__row { grid-template-columns: 19rem 1fr; }
  .support__logo img { width: 13rem; }
  .support__logo--haru img { width: 15rem; }
  .support__text br { display: none; }

  .ground { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .ground__sub { grid-column: 2; grid-row: 1 / span 2; padding-bottom: 1.4rem; }
  .ground__note br { display: none; }
  .ground__note { padding: 1.6rem 2rem 2rem; }

  .results { grid-template-columns: 2fr 1fr; gap: 1.4rem; margin-top: 0; }
  .results__card { padding: 1.4rem 1.6rem 1.2rem; }
  .results__card:first-child { grid-column: 1 / -1; }
  .results__list { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: repeat(var(--rows), 2.6rem); }
  .results__list li { line-height: 2.6rem; }
  .results__list li::before { top: 1.1rem; }
  .results__list--2 { grid-template-columns: 1fr; grid-template-rows: repeat(4, 2.6rem); }

  .foot__in { grid-template-columns: 1fr 1.2fr; align-items: center; }
}

/* 帯の斜めの面が右から差し込むあいだ、横スクロールを出さない */
.sec, .foot { overflow: hidden; overflow: clip; }

/* ==========================================================================
   PCの文字と余白
   ========================================================================== */
@media (min-width: 1024px) {
  /* PCは文字の基準と余白を上げ、横幅に見合う密度にする */
  html { font-size: clamp(11px, .9vw, 13.5px); }
  .sec__body { padding-top: 4.2rem; padding-bottom: 6.4rem !important; }
  #policy .sec__body { padding-top: 3.4rem; }
  .policy__list, .staff, .support, .ground, .results { gap: 2rem; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  /* 1024〜1279px はメニュー9項目とクラブ名が並ばないため、クラブ名を隠してエンブレムだけにする */
  .nav__brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav__menu a { padding-left: .9rem; padding-right: .9rem; }
}

/* ==========================================================================
   ヒーロー・ローディング・各セクションの装飾
   ========================================================================== */

/* ---------- ヒーロー（旧「クラブ紹介」帯を削除し、1画面目をクラブの顔にする） ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: calc(100svh - var(--nav-h)); background: var(--c-band); }
.hero__p { position: absolute; inset: 0; pointer-events: none; }
/* 見出し帯と同じ傾き 0.68 の斜め面。高さぶんの水平ずれ ≒ 画面高 × 0.68 */
.hero__p--mid { background: var(--c-band-mid); clip-path: polygon(70% 0, 100% 0, 100% 100%, calc(70% - 68svh) 100%); }
.hero__p--light { background: var(--c-band-light); clip-path: polygon(88% 0, 100% 0, 100% 100%, calc(88% - 68svh) 100%); }
.hero__in { position: relative; text-align: center; padding-top: 4.4rem; padding-bottom: 5rem; }
.hero .club__logo { width: 19rem; margin: 0 auto; }
.hero__logo { display: block; width: 100%; height: auto; overflow: visible; }
.hero__logo .lp { transform-box: fill-box; transform-origin: 50% 50%; }
.hero .club__name { margin-top: 2.8rem; }
@media (min-width: 1024px) { .hero .club__logo { width: 24rem; } .hero__in { padding-top: 5.6rem; padding-bottom: 6.4rem; } }
@media (max-width: 639.98px) { .hero .club__logo { width: 14rem; } .hero__in { padding-top: 3.6rem; padding-bottom: 4.4rem; } }

/* ---------- 見出し帯: 動かさず、原本どおり縦線と斜め面を常に見せる ---------- */

/* ---------- ホームグラウンド: ピッチのライン ---------- */
.ground__main { position: relative; overflow: hidden; }
.ground__main > :not(.ground__pitch) { position: relative; }
.ground__pitch { position: absolute; right: -2rem; top: 50%; width: 26rem; height: auto; transform: translateY(-50%); fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; pointer-events: none; }
@media (max-width: 639.98px) { .ground__pitch { width: 18rem; right: -3rem; } }

/* ---------- スタッフ: スコアボード式に切り替わる文字 ---------- */
.flap { display: inline-block; min-width: .6em; text-align: center; }

/* ---------- スマホ: 文字を原本の比率に近づける ---------- */
@media (max-width: 639.98px) {
  body { font-size: 1.6rem; }
  .club__mean { font-size: 1.7rem; }
  .club__wish { font-size: min(1.65rem, 4.3vw); }
  .policy__text, .policy__item p, .contact__card p, .support__text p, .ground__note p, .ground__main p, .fees__note p { font-size: 1.6rem; line-height: 1.65; }
  .staff__names li small { font-size: 1.4rem; }
  .week__when { font-size: 1.5rem; }
  .results__list li { font-size: 1.5rem; }
  .foot__addr { font-size: 1.4rem; }
  .foot__links a { font-size: 1.45rem; }
  .foot__bottom small { font-size: 1.3rem; }
  /* 進路実績の並び順を原本どおり「列ごとに上→下」に */
  .results__list, .results__list--2 { display: block; column-count: 2; column-gap: 1rem; }
  .results__list li { break-inside: avoid; margin-bottom: .5rem; }
}
/* ヒーローの組み立て前の伏せ（head の inline script が付け、motion.js が初期状態を付けたら外す） */
.js-hero .hero__in, .js-hero .hero__p { visibility: hidden; }

/* ---------- 書体: 見出しは M PLUS 1 の太字、欧文は Barlow Condensed 斜体 ---------- */
.lat { font-family: "Barlow Condensed", "M PLUS 1", sans-serif; font-style: italic; font-weight: 700; letter-spacing: .01em; padding-right: .04em; }
h1, h2, h3, h4, .band__title, .policy__lead { text-wrap: balance; }
.club__name { font-weight: 900; letter-spacing: .02em; }
.club__name .lat { font-size: 1.12em; }
.band__title { font-weight: 800; }
.policy__lead, .ground__main h3, .contact__head h3 { font-weight: 800; }
.staff__names li, .staff__extra, .fees__row dd, .ground__sub li { font-weight: 800; }
.nav__brand { font-weight: 800; }
.nav__brand .lat { font-size: 1.1em; }
.foot__name { font-weight: 800; }
@media (max-width: 639.98px) {
  /* クラブ名は1行に収める（画面幅に合わせて縮める） */
  .hero .club__name { font-size: min(2.9rem, 8.4vw); white-space: nowrap; }
}
/* 文節の中で改行させない部分（tools/phrase-wrap.js が付ける） */
.w { white-space: nowrap; }
.fees__row dt { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 639.98px) {
  /* ヒーローの文章は文節で自然に折り返す（画面幅で縮めない） */
  .hero .club__mean { font-size: 1.6rem; line-height: 1.7; }
  .hero .club__wish { font-size: 1.6rem; line-height: 1.8; }
}
.hero .club__mean, .hero .club__wish, .hero .club__mean .l, .hero .club__wish .l { text-wrap: balance; }

/* ---------- SNS（Instagram 公式アカウント @brillar_fukuoka） ---------- */
.foot__sns:hover { color: var(--c-shine); }
.foot__sns { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.2rem; color: #fff; text-decoration: none; font-size: 1.4rem; font-weight: 700; }
.foot__sns svg { width: 2.2rem; height: 2.2rem; fill: currentColor; flex: none; }
.foot__sns span { font-family: "Barlow Condensed", "M PLUS 1", sans-serif; font-style: italic; font-size: 1.15em; letter-spacing: .02em; }

/* ---------- 最新情報（Instagram への案内）。アイコンは Instagram のアプリアイコンと同じ配色 ---------- */
.news { background: var(--c-bg); }
.news .wrap { padding-top: 3.2rem; padding-bottom: 3.2rem; }
.news__card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2rem 2.4rem; border-radius: 1.2rem; background: #fff; color: var(--c-ink); text-decoration: none; transition: transform .2s; }
.news__card:hover { transform: translateY(-2px); }
.news__icon, .sns-float { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.news__icon { display: grid; place-items: center; width: 6.4rem; height: 6.4rem; border-radius: 1.6rem; color: #fff; }
.news__icon svg { width: 3.6rem; height: 3.6rem; fill: currentColor; }
.news__body { display: grid; gap: .3rem; }
.news__label { font-size: 1.6rem; color: #d6249f; letter-spacing: .06em; }
.news__title { font-size: 2.4rem; font-weight: 800; line-height: 1.35; }
.news__text { font-size: 1.6rem; color: #48607f; }
.news__cta { display: grid; justify-items: center; gap: .2rem; padding: 1.1rem 2rem; border-radius: 99rem; background: var(--c-ink); color: #fff; font-size: 1.5rem; font-weight: 800; white-space: nowrap; }
.news__cta .lat { font-size: 1.15em; }
@media (max-width: 639.98px) {
  .news .wrap { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .news__card { grid-template-columns: auto 1fr; gap: 1.4rem 1.6rem; padding: 1.8rem; }
  .news__icon { width: 5.2rem; height: 5.2rem; border-radius: 1.3rem; }
  .news__icon svg { width: 3rem; height: 3rem; }
  .news__title { font-size: 1.9rem; }
  .news__text { font-size: 1.4rem; }
  .news__cta { grid-column: 1 / -1; grid-auto-flow: column; justify-content: center; gap: .8rem; }
}

/* ---------- 画面右下に常に出す Instagram ボタン ---------- */
.sns-float { position: fixed; right: max(1.6rem, env(safe-area-inset-right)); bottom: max(1.6rem, env(safe-area-inset-bottom)); z-index: 25; display: flex; align-items: center; gap: .8rem; height: 5.4rem; padding: 0 2rem 0 1.5rem; border-radius: 99rem; color: #fff; text-decoration: none; box-shadow: 0 .6rem 2rem rgba(0, 0, 0, .35); }
.sns-float svg { width: 2.6rem; height: 2.6rem; fill: currentColor; flex: none; }
.sns-float span { font-size: 1.9rem; }
.sns-float:hover { filter: brightness(1.08); }
.nav.is-open ~ .sns-float { visibility: hidden; }  /* スマホのメニューを開いている間は隠す */
@media (max-width: 639.98px) {
  /* スマホは丸いアイコンだけ（本文を隠しにくいように） */
  .sns-float { width: 5.4rem; padding: 0; justify-content: center; }
  .sns-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* フッターの最下部ではボタンが著作権表示に重ならないよう余白を足す */
@media (max-width: 639.98px) { .foot { padding-bottom: 8rem; } }
@media (min-width: 640px) { .foot__bottom .wrap { padding-right: calc(4rem + 17rem); } }

/* ---------- 育成方針のカード: 見出しのマーカー ---------- */
.policy__item { position: relative; overflow: hidden; }
.policy__item h4 .mk { --hl: 100%; background: linear-gradient(transparent 60%, rgba(255, 218, 77, .38) 60%, rgba(255, 218, 77, .38) 92%, transparent 92%) no-repeat 0 0 / var(--hl) 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- スタッフ: 役職は英語の小見出し＋日本語、名前は太く大きく ---------- */
.staff__role { flex-direction: column; align-items: flex-start; justify-content: center; gap: .2rem; height: auto; min-height: 4.25rem; }
.staff__en { font-size: 1.25rem; color: var(--c-accent); letter-spacing: .08em; line-height: 1; }
.staff__jp { font-size: 1.6rem; line-height: 1.2; color: #fff; }
.staff__names li > span { position: relative; font-weight: 900; font-size: 3.1rem; letter-spacing: .06em; }
.staff__names li small { margin-left: .8rem; padding: .3rem .9rem; border: 1px solid #4a6890; border-radius: 99rem; font-size: 1.3rem; color: #c1d6f1; }
.staff__extra { justify-self: start; display: inline-block; margin-top: .6rem; margin-left: calc(2.85rem + 1px); padding: .5rem 1.2rem; border-radius: .6rem; background: rgba(143, 174, 209, .14); font-size: 1.7rem; line-height: 1.5; }
@media (max-width: 639.98px) {
  .staff__names li > span { font-size: 2.3rem; }
  .staff__names li small { font-size: 1.2rem; margin-left: .6rem; }
  .staff__extra { margin-left: calc(1.6rem + 1px); font-size: 1.4rem; }
  .staff__en { font-size: 1.05rem; }
  .staff__jp { font-size: 1.4rem; }
}
@media (max-width: 639.98px) {
  /* 名前と「4月から予定」の札が2段になるとき、行間を取り、札は名前の頭にそろえる */
  .staff__names li { flex-wrap: wrap; row-gap: .4rem; padding: .35rem 0; }
  .staff__names li small { margin-left: 0; }
  .staff__role { padding-top: 0; min-height: 3.6rem; }
}
/* スタッフ名を出すときの黄色い斜めの帯（motion.js が付けて、出し終えたら外す） */
.staff__sweep { position: absolute; left: 0; top: 50%; height: 2.6rem; margin-top: -1.3rem; width: calc(100% + .8rem); background: var(--c-shine); transform: skewX(-34deg); transform-origin: 0 50%; pointer-events: none; }
@media (max-width: 639.98px) { .staff__sweep { height: 2rem; margin-top: -1rem; } }

/* ---------- ヒーローの「輝」: 先に点火し、光の筋が左右へ走って行が開く（JSで付ける） ---------- */
.hero .shine { position: relative; }
.shine-fx { position: absolute; color: #fff; white-space: nowrap; text-align: center; pointer-events: none; }
.streak { position: absolute; height: 2px; margin-top: -1px; pointer-events: none; }
.glint { position: absolute; right: -.7em; top: -.6em; width: 1em; height: 1em; pointer-events: none; }
.glint svg { display: block; width: 100%; height: 100%; fill: #fffbe6; }

/* ---------- 体験申込への導線: ヘッダーのボタン（全ページで常に表示） ---------- */
.nav__cta { display: inline-flex; align-items: center; gap: .6rem; height: 3.8rem; margin-left: auto; margin-right: 1.4rem; padding: 0 1.4rem 0 1.6rem; border-radius: .4rem; background: var(--c-shine); color: var(--c-ink); font-size: 1.5rem; font-weight: 900; text-decoration: none; white-space: nowrap; clip-path: polygon(.8rem 0, 100% 0, calc(100% - .8rem) 100%, 0 100%); transition: background-color .2s; }
.nav__cta svg { width: 1.4rem; height: 1.4rem; flex: none; transition: transform .25s cubic-bezier(.3, 0, 0, 1); }
.nav__cta:hover { background: #ffe57f; }
.nav__cta:hover svg { transform: translateX(.3rem); }
.nav.is-open .nav__cta { visibility: hidden; }
@media (min-width: 1024px) {
  .nav__cta { order: 3; height: 3.6rem; margin: 0 0 0 .8rem; font-size: 1.35rem; }
  /* ボタンの分だけメニューの項目の間を詰め、項目は折り返させない */
  .nav__menu li { flex: none; }
  .nav__menu a { padding-left: .8rem; padding-right: .8rem; }
}

/* ---------- 体験申込への導線: トップの最新情報の下の帯 ---------- */
.entry-bnr { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; margin-top: 1.6rem; padding: 2rem 2.4rem; border-radius: 1.2rem; background: var(--c-shine); color: var(--c-ink); text-decoration: none; position: relative; overflow: hidden; }
.entry-bnr::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 34%; background: #ffe57f; clip-path: polygon(var(--slope) 0, 100% 0, 100% 100%, 0 100%); }
.entry-bnr > * { position: relative; }
.entry-bnr__body { display: grid; gap: .3rem; }
.entry-bnr__label { font-size: 1.6rem; letter-spacing: .06em; color: #7a5b00; }
.entry-bnr__title { font-size: 2.4rem; font-weight: 900; line-height: 1.35; }
.entry-bnr__text { font-size: 1.6rem; color: #4a3d12; }
.entry-bnr__cta { display: inline-flex; align-items: center; gap: .8rem; padding: 1.2rem 2.2rem; border-radius: 99rem; background: var(--c-ink); color: #fff; font-size: 1.6rem; font-weight: 800; white-space: nowrap; }
.entry-bnr__cta svg { width: 1.5rem; height: 1.5rem; transition: transform .25s cubic-bezier(.3, 0, 0, 1); }
.entry-bnr:hover .entry-bnr__cta svg { transform: translateX(.3rem); }
@media (max-width: 639.98px) {
  .entry-bnr { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.8rem; }
  .entry-bnr__title { font-size: 1.9rem; }
  .entry-bnr__text { font-size: 1.4rem; }
  .entry-bnr__cta { justify-content: center; }
}

/* ---------- 体験申込ページ: 案内 ---------- */
.entry__en { font-size: 1.8rem; letter-spacing: .08em; color: var(--c-label); }
.entry__lead { margin-top: .6rem; font-size: 2.2rem; font-weight: 700; line-height: 1.6; }
.entry__jump { display: inline-flex; align-items: center; gap: .8rem; margin-top: 2rem; padding: 1.2rem 2.2rem; border-radius: 99rem; background: var(--c-shine); color: var(--c-ink); font-size: 1.6rem; font-weight: 800; text-decoration: none; }
.entry__jump svg { width: 1.5rem; height: 1.5rem; transition: transform .25s cubic-bezier(.3, 0, 0, 1); }
.entry__jump:hover svg { transform: translateX(.3rem); }
.entry__h { display: flex; align-items: center; gap: 1rem; margin: 4rem 0 1.4rem; font-size: 2.2rem; font-weight: 800; }
.entry__h::before { content: ""; flex: none; width: .5rem; height: 2.2rem; background: var(--c-shine); transform: skewX(-34deg); }
.entry__targets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.entry__target { display: grid; align-content: start; gap: .4rem; padding: 2rem 2.2rem 2.2rem; }
.entry__gen { font-size: 2rem; font-weight: 800; white-space: nowrap; }
.entry__gen .lat { font-size: 4.4rem; line-height: 1; margin-right: .3rem; color: var(--c-shine); }
.entry__grade { font-size: 1.7rem; color: var(--c-text-sub); }
.entry__tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.entry__tags span { padding: .3rem 1.1rem; border-radius: 99rem; background: var(--c-off); color: var(--c-ink); font-size: 1.35rem; font-weight: 800; }
.entry__grid { display: grid; gap: 0 2.4rem; }
.entry__cal { padding: 2rem 2.2rem 2.4rem; }
.entry__month { white-space: nowrap; font-size: 1.8rem; font-weight: 800; color: var(--c-label); }
.entry__month .lat { font-size: 1.4em; color: #fff; }
.entry__days { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); gap: .8rem; margin-top: 1.2rem; }
.entry__days li { display: grid; place-items: center; height: 6.8rem; border-radius: .8rem; background: var(--c-navy); }
.entry__days b { font-size: 3rem; line-height: 1; }
.entry__days span { font-size: 1.3rem; color: var(--c-label); }
.entry__info { padding: .6rem 2.2rem; }
.entry__row { display: grid; grid-template-columns: 8rem 1fr; gap: 1.6rem; padding: 1.6rem 0; border-bottom: 1px solid #2a4570; }
.entry__row:last-child { border-bottom: 0; }
.entry__row dt { font-size: 1.5rem; font-weight: 700; color: var(--c-label); padding-top: .2rem; }
.entry__row dd { margin: 0; font-size: 1.8rem; font-weight: 700; }
.entry__row strong { display: block; font-size: 2.2rem; font-weight: 800; }
.entry__addr { display: block; margin-top: .2rem; font-size: 1.45rem; font-weight: 500; color: var(--c-text-sub); }
.entry__time { font-size: 3.2rem; line-height: 1; }
@media (min-width: 1024px) {
  .entry__grid { grid-template-columns: 1.15fr 1fr; }
}
@media (max-width: 639.98px) {
  .entry__en { font-size: 1.4rem; }
  .entry__lead { font-size: 1.7rem; }
  .entry__h { margin-top: 3.2rem; font-size: 1.9rem; }
  .entry__targets { grid-template-columns: 1fr; gap: .8rem; }
  .entry__target { grid-template-columns: auto 1fr; align-items: center; gap: .2rem 1.4rem; padding: 1.4rem 1.6rem; }
  .entry__gen { grid-row: span 2; font-size: 1.6rem; }
  .entry__gen .lat { font-size: 3.6rem; }
  .entry__grade { font-size: 1.5rem; }
  .entry__tags { margin-top: 0; }
  .entry__tags span { font-size: 1.2rem; }
  .entry__cal { padding: 1.6rem; }
  .entry__days { grid-template-columns: repeat(4, 1fr); gap: .6rem; }
  .entry__days li { height: 6rem; }
  .entry__days b { font-size: 2.6rem; }
  .entry__info { padding: .2rem 1.6rem; }
  .entry__row { grid-template-columns: 6.4rem 1fr; gap: 1rem; padding: 1.3rem 0; }
  .entry__row dd { font-size: 1.6rem; }
  .entry__row strong { font-size: 1.9rem; }
  .entry__addr { font-size: 1.3rem; }
  .entry__time { font-size: 2.8rem; }
}

/* ---------- 体験申込ページ: フォーム ---------- */
.ef { display: grid; gap: 2.4rem; padding: 3rem 3.2rem 3.4rem; }
.ef[hidden], .ef-done[hidden], .ef__row[hidden] { display: none; }
.ef fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ef__trap { display: none; }
.ef__note { font-size: 1.45rem; color: var(--c-text-sub); }
.ef em, .ef__label i { display: inline-block; margin-left: .8rem; padding: .1rem .7rem; border-radius: .3rem; background: var(--c-shine); color: var(--c-ink); font-size: 1.15rem; font-style: normal; font-weight: 800; vertical-align: .2rem; }
.ef__note em { margin: 0 .3rem 0 0; }
.ef__label i { background: #3a5378; color: #dce6f3; }
.ef__row { display: grid; gap: .8rem; }
.ef__label { display: block; padding: 0; font-size: 1.7rem; font-weight: 800; }
.ef__label small { font-size: .85em; font-weight: 700; }
.ef__input { width: 100%; min-height: 5.4rem; padding: 1.2rem 1.6rem; border: 2px solid #2f4d78; border-radius: .6rem; background: #0e1d37; color: #fff; font: inherit; font-size: 1.8rem; transition: border-color .2s, background-color .2s; }
.ef__input::placeholder { color: #6f86a8; }
.ef__input:focus { outline: none; border-color: var(--c-shine); background: #11223f; }
textarea.ef__input { resize: vertical; min-height: 12rem; line-height: 1.6; }
.ef__pair { display: grid; gap: 2.4rem; }
.ef__choices { display: grid; gap: .8rem; }
.ef__choices--2 { grid-template-columns: 1fr 1fr; }
.ef__choices--3 { grid-template-columns: repeat(3, 1fr); }
.ef__choices--4 { grid-template-columns: repeat(4, 1fr); }
.ef__choice, .ef__chip { position: relative; display: block; cursor: pointer; }
.ef__choice input, .ef__chip input, .ef__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ef__choice > span { display: grid; align-content: center; justify-items: center; gap: .2rem; height: 100%; min-height: 5.6rem; padding: 1rem 1.2rem; border: 2px solid #2f4d78; border-radius: .6rem; background: #0e1d37; font-size: 1.8rem; font-weight: 800; text-align: center; transition: border-color .2s, background-color .2s, color .2s; }
.ef__choice small { font-size: 1.3rem; font-weight: 500; color: var(--c-text-sub); }
.ef__choice b { font-size: 1.9rem; }
.ef__choice:hover > span, .ef__chip:hover > span { border-color: #5b7fae; }
.ef__choice input:checked + span, .ef__chip input:checked + span { border-color: var(--c-shine); background: var(--c-shine); color: var(--c-ink); }
.ef__choice input:checked + span small { color: #4a3d12; }
.ef__choice input:focus-visible + span, .ef__chip input:focus-visible + span, .ef__check input:focus-visible + span::before { outline: 3px solid #fff; outline-offset: 2px; }
.ef__chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr)); gap: .8rem; }
.ef__chip > span { display: grid; justify-items: center; padding: .9rem .4rem; border: 2px solid #2f4d78; border-radius: .6rem; background: #0e1d37; transition: border-color .2s, background-color .2s, color .2s; }
.ef__chip b { font-size: 2.2rem; line-height: 1.1; }
.ef__chip small { font-size: 1.3rem; }
.ef__chip.is-past { cursor: default; }
.ef__chip.is-past > span { border-style: dashed; background: none; color: #5a7091; }
.ef__chip.is-past:hover > span { border-color: #2f4d78; }
.ef__help { font-size: 1.4rem; color: var(--c-text-sub); }
.ef__check { display: flex; gap: 1.2rem; cursor: pointer; font-size: 1.6rem; line-height: 1.6; }
.ef__check > span { position: relative; padding-left: 3.6rem; }
.ef__check > span::before { content: ""; position: absolute; left: 0; top: .1rem; width: 2.4rem; height: 2.4rem; border: 2px solid #5b7fae; border-radius: .4rem; background: #0e1d37; }
.ef__check > span::after { content: ""; position: absolute; left: .85rem; top: .45rem; width: .7rem; height: 1.3rem; border: solid var(--c-ink); border-width: 0 .3rem .3rem 0; transform: rotate(45deg) scale(0); transition: transform .2s cubic-bezier(.3, 0, 0, 1); }
.ef__check input:checked + span::before { border-color: var(--c-shine); background: var(--c-shine); }
.ef__check input:checked + span::after { transform: rotate(45deg) scale(1); }
.ef__err { min-height: 0; font-size: 1.4rem; font-weight: 700; color: #ff9b8a; }
.ef__err:empty { display: none; }
.ef__row.is-error .ef__input, .ef__row.is-error .ef__choice > span, .ef__row.is-error .ef__chip:not(.is-past) > span, .ef__row.is-error .ef__check > span::before { border-color: #ff9b8a; }
.ef__submit { display: grid; justify-items: center; gap: 1.2rem; padding-top: .8rem; }
.ef__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-width: 32rem; height: 6.4rem; padding: 0 3.2rem; border: 0; border-radius: 99rem; background: var(--c-shine); color: var(--c-ink); font: inherit; font-size: 2rem; font-weight: 900; cursor: pointer; overflow: hidden; }
.ef__btn svg { width: 1.8rem; height: 1.8rem; transition: transform .25s cubic-bezier(.3, 0, 0, 1); }
.ef__btn:hover svg { transform: translateX(.4rem); }
.ef__btn:disabled { cursor: progress; }
.ef__btn::after { content: ""; position: absolute; left: 0; bottom: 0; height: .4rem; width: 100%; background: var(--c-ink); transform: scaleX(0); transform-origin: 0 50%; }
.ef.is-sending .ef__btn::after { animation: ef-send 1s cubic-bezier(.87, 0, .13, 1) infinite; }
@keyframes ef-send { 0% { transform: scaleX(0); transform-origin: 0 50%; } 50% { transform: scaleX(1); transform-origin: 0 50%; } 50.1% { transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
.ef__status { font-size: 1.5rem; font-weight: 700; color: #ff9b8a; text-align: center; }
.ef__status:empty { display: none; }
.ef-done { display: grid; justify-items: center; gap: 1.4rem; padding: 5rem 3rem; text-align: center; outline: none; }
.ef-done__mark { width: 8rem; height: 8rem; color: var(--c-shine); }
.ef-done__title { font-size: 2.8rem; font-weight: 900; }
.ef-done__text { font-size: 1.7rem; line-height: 1.8; color: var(--c-text-sub); }
@media (min-width: 1024px) {
  .ef { padding: 4rem 4.8rem 4.4rem; }
  .ef__pair { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639.98px) {
  .ef { gap: 2.2rem; padding: 2.2rem 1.6rem 2.6rem; }
  .ef__label { font-size: 1.6rem; }
  .ef__input { font-size: 1.6rem; min-height: 5rem; }
  .ef__choices--3 { grid-template-columns: 1fr; }
  .ef__choices--3 .ef__choice > span { display: flex; align-items: center; justify-content: flex-start; gap: 1.2rem; min-height: 5rem; padding: .8rem 1.4rem; text-align: left; }
  .ef__choices--3 .ef__choice b { flex: none; width: 7rem; white-space: nowrap; }
  .ef__choices--4 { grid-template-columns: 1fr 1fr; }
  .ef__choice > span { font-size: 1.6rem; }
  .ef__chips { grid-template-columns: repeat(4, 1fr); gap: .6rem; }
  .ef__chip b { font-size: 1.9rem; }
  .ef__check { font-size: 1.45rem; }
  .ef__btn { width: 100%; min-width: 0; }
  .ef-done { padding: 3.6rem 1.8rem; }
  .ef-done__title { font-size: 2.2rem; }
  .ef-done__text { font-size: 1.5rem; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) { .nav__menu a { padding-left: .65rem; padding-right: .65rem; } }
/* 狭いスマホ: ヘッダーの社名とボタンが重ならないよう詰める。359px以下は紋章だけにする（読み上げ名は残る） */
@media (max-width: 413.98px) {
  .nav__brand { font-size: 1.5rem; gap: .8rem; }
  .nav__cta { gap: 0; margin-right: 1.2rem; padding: 0 1.1rem 0 1.3rem; font-size: 1.4rem; }
  .nav__cta svg { display: none; }
}
@media (max-width: 359.98px) { .nav__brand > span { display: none; } }
.ef-done__info { display: grid; gap: .6rem; margin: .4rem 0 1rem; padding: 1.6rem 2.2rem; border-radius: .8rem; background: var(--c-navy); text-align: left; font-size: 1.5rem; }
.ef-done__info div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; }
.ef-done__info dt { color: var(--c-label); font-weight: 700; white-space: nowrap; }
.ef-done__info dd { margin: 0; font-weight: 700; }
.ef-done__info a { color: var(--c-shine); }
@media (max-width: 639.98px) { .ef-done__info { padding: 1.4rem 1.6rem; font-size: 1.4rem; } .ef-done__info div { grid-template-columns: 9.4rem 1fr; gap: .8rem; } }
