/* ============================================================================
   manabie-trial（入塾総合案内）だけで使う追加のスタイル
   ----------------------------------------------------------------------------
   2026-11-15 デザイン統一。色・文字・余白は assets/css/site.css・manabie.css
   （manabie.co.jp のトップページと同じもの）に従い、ここは
   「校舎の切りかえ」「PDFの行」など、このサイトにしかない部品だけを足す。
   🚫 ティール（--teal #0095aa）以外の強い色は増やさない（DESIGN.md §6）。
   ============================================================================ */

/* 校舎の切りかえバー（上部に貼りつく） */
.t-branchbar { position: sticky; top: 60px; z-index: 18; background: #fff; border-bottom: 1px solid var(--line); }
.t-branchbar .inner { max-width: var(--content); margin: 0 auto; padding: 10px var(--gutter); display: flex; gap: 10px; align-items: center; }
.t-branchbar .lbl { font-size: 12px; letter-spacing: .1em; color: var(--teal); white-space: nowrap; }
.t-bbtn { flex: 1; min-height: 40px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 20px; background: #fff;
  font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.t-bbtn:hover { border-color: var(--teal); }
.t-bbtn[aria-selected="true"] { border-color: var(--teal); background: var(--teal); color: #fff; }
.t-bbtn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.t-branch { display: none; }
.t-branch.on { display: block; }

/* PDF・外部ページへの行（1行で1つ） */
.t-files { max-width: 845px; margin: 24px auto 0; display: grid; gap: 10px; }
.t-file { display: flex; gap: 14px; align-items: center; min-height: 56px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.t-file:hover { opacity: 1; border-color: var(--teal); box-shadow: 0 6px 18px rgba(0, 149, 170, .12); }
.t-file:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.t-file .t { flex: 1; font-size: 15px; line-height: 1.7; }
.t-file .go { font-size: 12px; letter-spacing: .1em; color: var(--teal); white-space: nowrap; }

/* 校舎ごとの枠（指導形態） */
.t-course { max-width: 845px; margin: 24px auto 0; border: 1px solid var(--teal); border-radius: 10px; padding: 26px 30px; }
.t-course h4 { font-size: 20px; font-weight: 400; color: var(--teal); letter-spacing: .06em; margin: 0; }
.t-course .meta { font-size: 13px; color: #555; margin: 8px 0 0; }
.t-course p { font-size: 15px; line-height: 1.9; margin: 16px 0 0; }
.t-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.t-pills span { border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px; font-size: 13px; color: var(--teal); }

/* 「2つのおためし」の説明 */
.t-two { max-width: 845px; margin: 28px auto 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 20px 24px; }
.t-two dl { margin: 0; display: grid; gap: 12px; }
.t-two dl > div { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.t-two dt { min-width: 150px; font-size: 15px; color: var(--teal); }
.t-two dd { margin: 0; font-size: 15px; line-height: 1.8; flex: 1; }
.t-two .t-note { font-size: 13px; color: #555; margin: 14px 0 0; line-height: 1.8; }

@media (max-width: 767px) {
  .t-branchbar { top: 60px; }
  .t-course { padding: 20px 18px; }
  .t-two { padding: 18px 16px; }
  .t-two dt { min-width: 0; }
}

/* 2026-11-16 /taiken/ 冒頭＝背景写真の前面に「教室を選ぶ」2択（社長指示：TOPと同じ大きな写真だけだと手間が増えて体験申込を取りこぼす） */
.t-hero { position: relative; min-height: min(72vh, 620px); margin-top: 0; background-size: cover; background-position: center 30%; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.t-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,95,110,.55), rgba(0,125,143,.72)); }
.t-hero-in { position: relative; z-index: 1; width: 100%; max-width: 760px; text-align: center; color: #fff; }
.t-hero .hero-en { color: #cfeef3; }
.t-hero h2 { font-size: 30px; font-weight: 500; line-height: 1.5; margin: 6px 0 10px; letter-spacing: .04em; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.t-hero-sub { font-size: 14px; margin: 0 0 22px; opacity: .95; }
.t-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t-choice-btn { display: block; background: #fff; color: var(--ink); border-radius: 14px; padding: 22px 18px 18px; text-decoration: none; box-shadow: 0 10px 28px rgba(0,40,50,.25); transition: transform .15s, box-shadow .15s; }
.t-choice-btn:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,40,50,.32); }
.t-choice-btn b { display: block; font-size: 24px; font-weight: 700; color: var(--teal-dark); letter-spacing: .04em; }
.t-choice-btn small { display: block; font-size: 12px; color: #41606a; margin: 4px 0 12px; }
.t-choice-btn span { display: inline-block; background: var(--teal); color: #fff; border-radius: 18px; padding: 8px 18px; font-size: 14px; font-weight: 700; }
.t-hero-note { margin: 18px 0 0; font-size: 13px; }
.t-hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.t-hero .sp { display: none; }
@media (max-width: 767px) { .t-hero { min-height: 0; padding: 36px 16px 32px; } .t-hero h2 { font-size: 22px; } .t-hero .sp { display: inline; } .t-choice { grid-template-columns: 1fr; gap: 12px; } .t-choice-btn b { font-size: 21px; } }
