/*
Theme Name: 京都八幡ヒーローズ
Theme URI: https://example.com/
Author: KAUSPO
Description: 京都八幡ヒーローズ 公式サイト用オリジナルテーマ。学童野球チーム向けのモダンでスポーティなデザイン。Contact Form 7 対応。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heroes
Tags: sports, one-column, custom-menu, responsive
*/

/* =========================================================
   0. Design tokens
   ========================================================= */
:root {
  --red: #d81f26;
  --red-dark: #a5141a;
  --navy: #0d1626;
  --navy-2: #16223a;
  --yellow: #ffe14d;
  --ink: #14181f;
  --muted: #6b7280;
  --line: #c6ccd8;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;

  --wrap: 1120px;
  --wrap-narrow: 860px;
  --radius: 16px;
  --radius-lg: 28px;
  /* ドロップシャドーは使わず、境界線と余白で整理する */
  --shadow: none;
  --shadow-lg: none;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: "Anton", "Noto Sans JP", sans-serif;

  --sec-pad: clamp(64px, 9vw, 120px);
}

/* =========================================================
   1. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { opacity: .78; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.4; font-weight: 800; letter-spacing: .01em; }
table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.only-sp { display: none; }
@media (max-width: 767px) { .only-pc { display: none; } .only-sp { display: block; } br.only-sp { display: inline; } }

/* =========================================================
   2. Typography helpers
   ========================================================= */
.en {
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1;
}

.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { text-align: center; }
.sec-head .en-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en);
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: .22em;
  color: var(--red);
  margin-bottom: 14px;
}
.sec-head .en-label::before {
  content: ""; width: 28px; height: 2px; background: var(--red); display: block;
}
.sec-head.center .en-label::after {
  content: ""; width: 28px; height: 2px; background: var(--red); display: block;
}
.sec-head h2 {
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.35;
}
.sec-head h2 {
  word-break: keep-all; line-break: strict; overflow-wrap: anywhere;
}
.sec-head h2 .mark {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 .1em; white-space: nowrap;
}
.sec-head .lead { margin-top: 18px; color: var(--muted); font-size: 15px; }

.text-red { color: var(--red); }

/* =========================================================
   3. Buttons
   ========================================================= */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 34px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .06em;
  box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s, background .25s, color .25s;
  cursor: pointer;
}
.btn:hover { opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { min-height: 68px; padding: 0 44px; font-size: 17px; }
.btn--block { width: 100%; }

/* =========================================================
   4. Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(13,22,38,.96);
  transition: background .35s;
}
/* ヘッダー下のライン：赤から白へのグラデーション */
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, #ffffff 100%);
}
.site-header.is-stuck { background: rgba(13,22,38,1); }
/* ログイン時の管理バーぶんヘッダーを下げる（ヒーロー画像との隙間対策） */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.header-inner {
  width: min(100% - 32px, 1560px); margin-inline: auto;
  height: 82px; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px);
  flex-wrap: nowrap;
}
.site-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.site-logo img { height: 62px; width: auto; }
.site-logo .txt {
  display: block; color: #fff; font-size: clamp(17px, 1.5vw, 21px); font-weight: 900;
  letter-spacing: .06em; line-height: 1.25; white-space: nowrap;
}
.site-logo .txt small {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: .16em;
  color: rgba(255,255,255,.72); margin-top: 4px;
}

@media (max-width: 480px) {
  .site-logo .txt { font-size: 16px; letter-spacing: .04em; }
  .site-logo .txt small { font-size: 8.5px; letter-spacing: .1em; margin-top: 2px; }
  .site-logo img { height: 44px; }
}

.global-nav { margin-left: auto; flex: 0 1 auto; }
/* PCではメニュー数を絞る（スマホメニューには表示） */
@media (min-width: 1301px) { .global-nav .nav-sp-only { display: none; } }
.global-nav > ul { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); }
.global-nav a {
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; white-space: nowrap;
  position: relative; padding: 6px 0;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--yellow); transition: width .25s;
}
.global-nav a:hover { opacity: 1; }
.global-nav a:hover::after, .global-nav .current-menu-item > a::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-tel { color: #fff; line-height: 1.2; text-align: right; }
.header-tel small { display: block; font-size: 10px; letter-spacing: .14em; opacity: .8; }
.ico { flex: none; display: inline-block; vertical-align: -.22em; }
.ico--ball { opacity: .95; }
.ico--mega { margin-right: 2px; }
.sponsor-more { text-align: center; margin: clamp(26px, 3.4vw, 40px) 0 0; }
.sponsor-more .btn { min-height: 56px; padding: 0 28px; gap: 10px; }
/* 協賛ページのCTAは文字を活かして余白を詰める */
.partner-intro .btn { min-height: 56px; padding: 0 26px; gap: 10px; }
.cta-band .btn .ico--mega { width: 22px; height: 22px; }
.btn .ico--ball { margin-right: -2px; }
.cta-band .tel-block a .ico,
.contact-alt__card strong .ico { margin-right: .28em; vertical-align: -.06em; opacity: .9; }
.header-tel strong { font-family: var(--font-en); font-size: clamp(17px, 1.4vw, 21px); letter-spacing: .04em; white-space: nowrap; }
.header-cta .btn { min-height: 46px; padding: 0 20px; font-size: 13.5px; white-space: nowrap; box-shadow: none; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: var(--red); border-radius: 12px;
  position: relative; margin-left: auto; z-index: 120; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 13px; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.is-nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1300px) {
  .header-inner { height: 68px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .global-nav {
    position: fixed; inset: 0; background: var(--navy);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 8px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    margin: 0; padding: 90px 24px 40px; overflow-y: auto; z-index: 110;
  }
  /* 開いたときに背景へ大きくロゴを敷く */
  .global-nav::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: url("assets/img/logo-maru.png") center 46% / min(80vw, 440px) auto no-repeat;
    opacity: .14;
  }
  .global-nav > ul, .global-nav .nav-extra { position: relative; z-index: 1; }
  .is-nav-open .global-nav { opacity: 1; visibility: visible; }
  .global-nav > ul { flex-direction: column; gap: 4px; text-align: center; }
  .global-nav a { color: #fff !important; font-size: 19px; padding: 14px 0; display: block; text-shadow: none; }
  .global-nav .nav-extra {
    margin-top: 26px; display: flex; flex-direction: column; gap: 10px;
    width: min(100%, 270px);
  }
  .global-nav .nav-extra .btn {
    display: flex; width: 100%; min-height: 50px; padding: 0 16px; font-size: 14.5px; gap: 9px;
    align-items: center; justify-content: center; text-align: center; letter-spacing: .04em;
  }
}

/* =========================================================
   5. Hero（キービジュアルをそのまま主役にしたポスター型）
   ========================================================= */
.hero {
  position: relative; background: #fff; overflow: hidden;
  padding-top: 82px;
}
.hero__visual { position: relative; }
.hero__visual img { width: 100%; height: auto; display: block; }
/* 画像下の白フェードへ自然につなげる */
.hero__visual::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 28%;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 78%);
  pointer-events: none;
}

.hero__copy {
  position: relative; z-index: 2;
  margin-top: clamp(-140px, -7vw, -40px);
  text-align: center;
  padding-bottom: clamp(48px, 6vw, 84px);
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--navy); font-size: clamp(11px, 1.3vw, 13px); font-weight: 700; letter-spacing: .18em;
  margin-bottom: 18px;
}
.hero__kicker::before,
.hero__kicker::after {
  content: ""; width: clamp(20px, 3vw, 40px); height: 3px; background: var(--red); border-radius: 2px;
}
.hero h2 {
  color: var(--navy); font-size: clamp(30px, 6vw, 76px); font-weight: 900;
  line-height: 1.22; letter-spacing: .01em;
  word-break: keep-all; line-break: strict;
  /* 行末の句読点ぶん（約0.5em）の余白を相殺し、見た目の中央を揃える */
  padding-left: .5em;
  hanging-punctuation: allow-end;
}
.hero h2 em {
  font-style: normal; color: var(--red); position: relative; padding: 0 .06em;
  white-space: nowrap;
}
.hero h2 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .22em;
  background: var(--yellow); z-index: -1;
}
.hero__sub {
  margin: clamp(18px, 2.4vw, 28px) auto 0; max-width: 40em;
  color: var(--muted); font-size: clamp(14px, 1.6vw, 17px);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-top: clamp(26px, 3.4vw, 40px);
}
/* 下端のチームカラーライン */
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  width: 90%; margin-inline: auto; border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0 38%, var(--yellow) 38% 58%, var(--navy) 58% 100%);
}

@media (max-width: 767px) {
  .hero { padding-top: 68px; }
  .hero__copy { margin-top: clamp(-70px, -9vw, -24px); }
  .hero h2 { font-size: clamp(26px, 8.4vw, 40px); }
  /* ボタンは同じ幅でセンター揃え（文字は大きめ・高さは詰める） */
  .hero__actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero__actions .btn {
    width: min(100%, 340px); min-height: 58px; padding: 0 20px;
    font-size: 17.5px; letter-spacing: .04em;
  }
}

/* =========================================================
   6. Sections
   ========================================================= */
.section { padding-block: var(--sec-pad); position: relative; }
/* 背景が同じセクションが続く箇所は、上下の余白を詰める */
.section--tight { padding-top: clamp(6px, 1vw, 14px); }
.section:has(+ .section--tight) { padding-bottom: clamp(28px, 4vw, 52px); }
.section--soft { background: var(--bg-soft); }
/* 明るいセクションにスタジアム写真をうっすら敷く */
.section--photo { position: relative; isolation: isolate; overflow: hidden; }
.section--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, var(--bg-soft) 0%, rgba(245,246,248,.82) 30%, rgba(245,246,248,.8) 70%, var(--bg-soft) 100%),
    url("assets/img/stadium.jpg") center / cover no-repeat;
}
.section--dark { background: var(--navy); color: #fff; isolation: isolate; overflow: hidden; }
/* 黒背景にグラウンド写真をうっすら敷く */
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("assets/img/stadium.jpg") center / cover no-repeat;
  opacity: .42;
}
.section--dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, var(--navy) 0%, rgba(13,22,38,.5) 26%, rgba(13,22,38,.32) 55%, rgba(13,22,38,.6) 85%, var(--navy) 100%);
}
.section--dark .sec-head h2 { color: #fff; }
.section--dark .sec-head .lead { color: rgba(255,255,255,.68); }
.section--dark .sec-head .en-label { color: var(--yellow); }
.section--dark .sec-head .en-label::before,
.section--dark .sec-head .en-label::after { background: var(--yellow); }

.bg-en {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-en); font-size: clamp(70px, 15vw, 200px);
  color: rgba(13,22,38,.045); letter-spacing: .04em; pointer-events: none; user-select: none; white-space: nowrap;
}
.section--dark .bg-en { color: rgba(255,255,255,.05); }

/* concept cards */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .concept-grid { grid-template-columns: 1fr; } }
.concept-card {
  background: #fff; border-radius: var(--radius); padding: 38px 30px 34px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.concept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.concept-card__num {
  font-family: var(--font-en); font-size: 54px; color: var(--red); opacity: .16;
  position: absolute; top: 14px; right: 22px; z-index: 0;
}
/* 見出しは1行、赤いラインは見出しテキスト全体のアンダーラインに */
.concept-card h3 {
  position: relative; z-index: 1;
  width: fit-content; max-width: 100%;
  font-size: 20px; font-weight: 900; margin-bottom: 14px;
}
.concept-card h3::after {
  content: ""; display: block; width: 100%; height: 4px;
  background: var(--red); border-radius: 2px; margin-top: 12px;
}
/* 3列のまま幅が狭くなる範囲では、見出しが1行に収まるよう少しだけ詰める */
@media (min-width: 901px) and (max-width: 1080px) {
  .concept-card { padding: 32px 24px 30px; }
  .concept-card h3 { font-size: 17px; }
}
@media (min-width: 901px) and (max-width: 975px) {
  .concept-card { padding: 30px 20px 28px; }
  .concept-card h3 { font-size: 16px; }
}
/* 1列になるSPでも見出しが1行に収まるように */
@media (max-width: 900px) {
  .concept-card h3 { font-size: clamp(15.5px, 4.6vw, 20px); }
}
.concept-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 26px); }
.photo-strip figure { margin: 0; position: relative; border-radius: 50%; overflow: hidden; aspect-ratio: 1; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.3,1); }
.photo-strip figure:hover img { transform: scale(1.08); }
.photo-strip figure:nth-child(2n) { transform: translateY(clamp(14px, 3vw, 34px)); }
@media (max-width: 767px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } .photo-strip figure:nth-child(2n) { transform: translateY(18px); } }

/* recruit */
.recruit { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) {
  .recruit { grid-template-columns: 1fr; gap: 32px; }
  /* スマホではチラシ全体が収まるように、左右に余白を残す */
  .recruit__media { width: 100%; margin-inline: 0; }
  .recruit__media img { width: 100%; height: auto; }
}
.recruit__media { position: relative; }
.recruit__media img { width: 100%; }
.recruit h3 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; line-height: 1.45; margin-bottom: 22px; }
.recruit p { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.tag-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 13.5px; font-weight: 700; color: var(--navy);
}
.section--soft .tag-list li { background: #fff; }

/* info table */
.info-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .info-layout { grid-template-columns: 1fr; } }
.info-table { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #7c8492; }
.info-table tr { border-bottom: 1px solid #7c8492; }
.info-table tr:last-child { border-bottom: 0; }
.info-table th, .info-table td { padding: 18px 22px; text-align: left; font-size: 15px; vertical-align: top; }
.info-table th { width: 34%; background: #ccd1da; font-weight: 700; color: var(--navy); white-space: nowrap; }
.info-table td { color: #333; }
.info-table td .fee { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.info-table td .fee:last-child { border-bottom: 0; }
.info-table td .fee b { font-family: var(--font-en); font-size: 18px; color: var(--red); letter-spacing: .02em; }
@media (max-width: 560px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: 8px; }
  .info-table td { padding-top: 6px; }
}
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.map-card iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-card__body { padding: 18px 22px; }
.map-card__body p { margin: 0; font-size: 14px; color: var(--muted); }
.map-card__body strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 4px; }

/* link cards */
.link-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 767px) { .link-cards { grid-template-columns: 1fr; } }
.link-card {
  position: relative; display: block; padding: 40px 34px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.link-card:hover { opacity: 1; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
/* カード内にもグラウンド写真をうっすら */
.link-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(13,22,38,.95) 0%, rgba(13,22,38,.78) 52%, rgba(13,22,38,.58) 100%),
    url("assets/img/card-bg.jpg") center / cover no-repeat;
}
.link-card::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(216,31,38,.5), transparent 65%);
}
.link-card > * { position: relative; z-index: 1; }
.link-card .en { font-size: 13px; letter-spacing: .22em; color: var(--yellow); }
.link-card h3 { font-size: 24px; font-weight: 900; margin: 10px 0 8px; }
.link-card p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }
.link-card .go { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); z-index: 1; font-size: 20px; }

/* news */
.news-list { border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item a { display: flex; gap: 22px; align-items: center; padding: 22px 8px; transition: background .25s; }
.news-item a:hover { opacity: 1; background: var(--bg-soft); }
.news-item time { font-family: var(--font-en); font-size: 15px; color: var(--muted); letter-spacing: .04em; }
.news-item .cat { background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.news-item .ttl { font-weight: 700; font-size: 15.5px; flex: 1; }
@media (max-width: 640px) {
  .news-item a { flex-wrap: wrap; gap: 10px 14px; padding: 18px 4px; }
  .news-item .ttl { flex-basis: 100%; }
}

/* sponsor */
.sponsor-banner { display: block; border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s; }
.sponsor-banner:hover { opacity: 1; transform: translateY(-4px); }

/* パートナー企業カード（3店舗） */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.sponsor-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid #b6bdca; border-radius: var(--radius-lg);
  transition: transform .3s, box-shadow .3s;
}
.sponsor-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(13,22,38,.1); }
/* ロゴ・バナーの縦横比がまちまちなので、切らずに収める */
.sponsor-card__media {
  aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.sponsor-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sponsor-card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.sponsor-card__name { margin: 0; font-size: 18px; font-weight: 900; color: var(--navy); line-height: 1.45; }
.sponsor-card__name small {
  display: block; margin-bottom: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--red);
}
.sponsor-card__links { margin: auto 0 0; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.sponsor-card__links a {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #b6bdca; border-radius: 999px; padding: 9px 16px;
  font-size: 12.5px; font-weight: 700; color: var(--navy);
  transition: background .25s, border-color .25s, color .25s;
}
.sponsor-card__links a:hover { background: var(--red); border-color: var(--red); color: #fff; opacity: 1; }
.sponsor-card__links .arrow { transition: transform .25s; }
.sponsor-card__links a:hover .arrow { transform: translateX(3px); }
/* Instagramはアイコンだけの丸ボタン */
.sponsor-card__links a.is-icon { width: 38px; height: 38px; padding: 0; justify-content: center; }
.sponsor-card__links a.is-icon img { display: block; width: 18px; height: 18px; transition: filter .25s; }
.sponsor-card__links a.is-icon:hover img { filter: brightness(0) invert(1); }
/* SPも3列のまま、サイズを詰めて表示 */
@media (max-width: 767px) {
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sponsor-card { border-radius: 12px; }
  .sponsor-card__body { padding: 9px 9px 11px; }
  .sponsor-card__name { font-size: 11.5px; line-height: 1.35; }
  .sponsor-card__name small { font-size: 8.5px; letter-spacing: .06em; margin-bottom: 2px; }
  .sponsor-card__links { padding-top: 9px; gap: 5px; }
  .sponsor-card__links a { padding: 5px 9px; font-size: 10.5px; gap: 3px; }
  .sponsor-card__links a.is-icon { width: 26px; height: 26px; }
  .sponsor-card__links a.is-icon img { width: 13px; height: 13px; }
}
/* 小さい端末でもボタン2つを1行に収める */
@media (max-width: 360px) {
  .sponsor-card__body { padding: 8px 7px 10px; }
  .sponsor-card__links { gap: 4px; }
  .sponsor-card__links a { padding: 5px 6px; font-size: 10px; gap: 2px; }
  .sponsor-card__links a.is-icon { width: 24px; height: 24px; }
  .sponsor-card__links a.is-icon img { width: 12px; height: 12px; }
}

/* cta band */
.cta-band { position: relative; padding-block: clamp(60px, 8vw, 96px); background: var(--red); color: #fff; overflow: hidden; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(24px, 3.6vw, 38px); font-weight: 900; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.88); margin-bottom: 30px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn--white { --btn-bg: #fff; --btn-fg: var(--red); border-color: #fff; }
.cta-band .tel-block { margin-top: 26px; }
.cta-band .tel-block a { font-family: var(--font-en); font-size: clamp(28px, 4vw, 42px); letter-spacing: .04em; }
.cta-band .tel-block small { display: block; font-size: 12px; letter-spacing: .16em; opacity: .85; }

/* =========================================================
   7. Page header (lower pages)
   ========================================================= */
.page-hero { position: relative; min-height: 320px; display: grid; place-items: center; background: var(--navy); overflow: hidden; text-align: center; padding: 130px 20px 60px; }
/* 固定ヘッダーの下だけを画像領域にして、筆記体ロゴが見える範囲の中央にくるようにする */
.page-hero img {
  position: absolute; left: 0; right: 0; top: 82px; bottom: 0;
  width: 100%; height: calc(100% - 82px); object-fit: cover; object-position: center; opacity: .38;
}
@media (max-width: 1300px) {
  .page-hero img { top: 68px; height: calc(100% - 68px); }
}
.page-hero__body { position: relative; }
.page-hero .en { color: var(--yellow); font-size: 13px; letter-spacing: .28em; margin-bottom: 14px; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4.6vw, 46px); font-weight: 900; }
@media (max-width: 767px) {
  /* SPは下層ページのヘッダーを低めに */
  .page-hero { min-height: 0; padding: 92px 20px 34px; }
  .page-hero .en { font-size: 11px; letter-spacing: .22em; margin-bottom: 8px; }
  .page-hero h1 { font-size: clamp(22px, 6.4vw, 28px); }
}

.breadcrumb { font-size: 12px; color: var(--muted); padding: 16px 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span + span::before { content: "/"; margin: 0 8px; opacity: .5; }

/* =========================================================
   8. Rules (kisoku) list
   ========================================================= */
.rule-list { display: grid; gap: 18px; counter-reset: rule; }
.rule-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px 26px; position: relative; transition: box-shadow .3s, transform .3s;
}
.rule-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.rule-item__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.rule-item__no {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff;
  font-family: var(--font-en); font-size: 22px;
}
.rule-item h3 { font-size: clamp(17px, 2.2vw, 21px); font-weight: 900; }
.rule-item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.notice-box {
  margin-top: 34px; border-radius: var(--radius); padding: 26px 30px;
  background: #fff5f5; border: 1px solid #f6c9cb; color: #93262b; font-size: 14.5px;
}
.notice-box strong { display: block; margin-bottom: 6px; font-size: 15px; }

/* =========================================================
   9. Staff
   ========================================================= */
/* スタッフ一覧：枠なしでセンター揃え。役職ラベルは左右対称の赤ライン付き */
.staff-list { border-top: 1px solid var(--line); }
.staff-group { text-align: center; padding: 30px 4px; border-bottom: 1px solid var(--line); }
.staff-group__title { margin: 0 0 10px; }
.staff-group__title h3 {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--red); white-space: nowrap;
}
.staff-group__title h3::before,
.staff-group__title h3::after {
  content: ""; width: 22px; height: 3px; background: var(--red); border-radius: 2px;
}
.staff-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 44px; }
.staff-card { background: none; border: 0; border-radius: 0; padding: 0; text-align: center; }
.staff-card:hover { transform: none; box-shadow: none; }
.staff-card .role { display: none; }
.staff-card .name {
  margin: 0; font-size: clamp(22px, 2.7vw, 28px); font-weight: 900;
  color: var(--navy); letter-spacing: .08em; line-height: 1.4;
}
.staff-card--lead { background: none; border-color: transparent; color: inherit; }
@media (max-width: 640px) {
  .staff-group { padding: 24px 2px; }
  .staff-group__title h3 { gap: 10px; font-size: 12px; }
  .staff-group__title h3::before, .staff-group__title h3::after { width: 16px; }
}
.staff-card--lead 
/* =========================================================
   10. Contact form (Contact Form 7 compatible)
   ========================================================= */
.form-card {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: clamp(28px, 4.5vw, 56px);
}
.form-note { font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.form-note .req { color: var(--red); font-weight: 700; }

.form-row { display: grid; grid-template-columns: 240px 1fr; gap: 20px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.form-row:first-of-type { padding-top: 0; }
@media (max-width: 767px) { .form-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; } }
.form-row__label { font-weight: 700; font-size: 15px; padding-top: 12px; display: flex; align-items: center; gap: 10px; }
@media (max-width: 767px) { .form-row__label { padding-top: 0; } }
.badge-req, .badge-any {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 3px 9px; border-radius: 4px; line-height: 1.6;
}
.badge-req { background: var(--red); color: #fff; }
.badge-any { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.form-hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* input styling – applies to raw inputs and CF7 output */
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card input[type="date"],
.form-card select,
.form-card textarea,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-date {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  /* 入力欄はソフトグレーの上に載るため、枠線は --line より濃くする */
  background: var(--bg-soft); border: 1.5px solid #aeb6c4; border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form-card textarea, .wpcf7-form-control.wpcf7-textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.form-card select, .wpcf7-form-control.wpcf7-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234b5563' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus,
.wpcf7-form-control:focus {
  outline: none; background: #fff; border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(216,31,38,.12);
}
.form-card ::placeholder { color: #8a92a1; }

/* radio / checkbox */
.wpcf7-radio, .wpcf7-checkbox, .choice-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.wpcf7-list-item { margin: 0; }
.wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; }
.wpcf7-list-item input[type="radio"], .wpcf7-list-item input[type="checkbox"],
.form-card input[type="radio"], .form-card input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--red); margin: 0; cursor: pointer;
}
.privacy-box {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; font-size: 13.5px; color: var(--muted); margin: 26px 0;
  max-height: 150px; overflow-y: auto;
}
.form-agree { text-align: center; margin: 26px 0 8px; font-size: 14.5px; }
.form-agree a { color: var(--red); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 22px; }
.form-submit input[type="submit"], .wpcf7-submit {
  min-height: 66px; padding: 0 60px; border: 0; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .1em;
  cursor: pointer; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.form-submit input[type="submit"]:hover, .wpcf7-submit:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: var(--red-dark); }
.wpcf7-spinner { display: block; margin: 14px auto 0; }
/* CF7の隠しフィールド用fieldset。CF7側のCSSが読み込まれない場面でも枠線が出ないようにする */
.wpcf7 .hidden-fields-container { display: none !important; }

/* CF7 messages */
.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0; border-radius: 12px; border-width: 1.5px; padding: 16px 20px; font-size: 14px; text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #1f9d55; background: #edfaf1; color: #1f7a44; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: var(--red); background: #fff5f5; color: var(--red-dark); }
.wpcf7-not-valid-tip { color: var(--red); font-size: 12.5px; margin-top: 6px; font-weight: 700; }
.wpcf7-not-valid { border-color: var(--red) !important; background: #fff8f8 !important; }

/* contact alternative */
.contact-alt { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; align-items: stretch; }
@media (max-width: 767px) { .contact-alt { grid-template-columns: 1fr; } }
/* 2枚のカードは高さを揃え、ボタンは下端で揃える */
.contact-alt__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; height: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.contact-alt__card .en {
  font-size: 15px; letter-spacing: .22em; color: var(--red); line-height: 1;
  padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--red);
}
.contact-alt__card strong { display: block; font-family: var(--font-en); font-size: 34px; line-height: 1.15; margin: 0 0 8px; color: var(--navy); letter-spacing: .03em; }
.contact-alt__card p { font-size: 13.5px; color: var(--muted); margin: 0; text-wrap: balance; }
/* 最後の要素（受付時間・ダウンロードボタン）はカード下端に揃える */
.contact-alt__card > :last-child { margin-top: auto; padding-top: 14px; }
/* 日本語見出しのカード（体験申込書など） */
.contact-alt__title { font-family: var(--font-jp) !important; font-size: 22px !important; font-weight: 900; letter-spacing: .02em; }
.contact-alt__action .btn { min-height: 48px; padding: 0 26px; font-size: 14.5px; }

/* =========================================================
   11. Article (WP content)
   ========================================================= */
.entry-content { font-size: 16px; }
.entry-content h2 { font-size: 26px; font-weight: 900; margin: 48px 0 20px; padding-left: 16px; border-left: 5px solid var(--red); }
.entry-content h3 { font-size: 20px; font-weight: 900; margin: 36px 0 16px; }
.entry-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1.4em; }
.entry-content img { border-radius: var(--radius); margin: 20px 0; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content blockquote { margin: 24px 0; padding: 18px 24px; background: var(--bg-soft); border-left: 4px solid var(--line); border-radius: 8px; }
.entry-meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 26px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; display: grid; place-content: center; border-radius: 10px;
  border: 1px solid var(--line); font-weight: 700; font-size: 14px;
}
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }

/* =========================================================
   12. Footer & fixed SP bar
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: clamp(56px, 7vw, 84px) 0 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { width: 190px; margin-bottom: 20px; }
.footer-brand p { font-size: 13.5px; line-height: 2; margin: 0; }
.footer-nav h4 { color: #fff; font-size: 13px; letter-spacing: .16em; margin-bottom: 16px; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.footer-nav a::before { content: "▶"; font-size: 8px; color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; text-align: center; }
.footer-bottom p { margin: 0; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .14em; color: rgba(255,255,255,.5); }

.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.sp-fixed-bar { display: none; }
@media (max-width: 767px) {
  .sp-fixed-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; inset: auto 0 0 0; z-index: 95; background: rgba(13,22,38,.9);
    backdrop-filter: blur(8px); padding: 8px; gap: 8px;
  }
  .sp-fixed-bar a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    height: 52px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #fff;
  }
  .sp-fixed-bar .tel { background: var(--navy-2); border: 1px solid rgba(255,255,255,.2); }
  .sp-fixed-bar .contact { background: var(--red); }
  body { padding-bottom: 68px; }
  .to-top { bottom: 80px; width: 44px; height: 44px; }
}

/* =========================================================
   13. Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.3,1), transform .8s cubic-bezier(.2,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   14. パートナー募集ページ
   ========================================================= */
.partner-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .partner-intro { grid-template-columns: 1fr; } }
.partner-intro__media img { border-radius: var(--radius-lg); width: 100%; }
.partner-intro p { color: var(--muted); }
.partner-intro .lead-strong { color: var(--ink); font-size: clamp(17px, 2vw, 20px); font-weight: 700; line-height: 1.9; }

/* 協賛のご案内（PDF）ダウンロード */
.partner-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.partner-actions .btn { min-height: 56px; padding: 0 26px; gap: 10px; }
.partner-actions__note { margin-top: 12px !important; text-align: center; font-size: 12.5px; color: var(--muted); }
@media (max-width: 560px) { .partner-actions .btn { width: 100%; } }
.cta-band .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--red); border-color: #fff; }

/* 協賛メニュー */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .3s, border-color .3s;
}
.menu-card:hover { transform: translateY(-4px); border-color: var(--red); }
.menu-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.menu-card__ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center;
  background: rgba(216,31,38,.08); color: var(--red); font-size: 17px;
}
.menu-card h3 { font-size: 16.5px; font-weight: 900; line-height: 1.5; }
.menu-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* 協賛プラン */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card {
  position: relative;
  background: #fff; border: 1px solid #b6bdca; border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  display: grid; align-content: start;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name name" "price medal" "use use";
  column-gap: 10px;
}
.plan-card--main { border: 2px solid var(--red); }
.plan-card--main::before {
  content: "おすすめ"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
/* プラン名：赤のアクセントバー付きの見出しに */
.plan-card__name {
  grid-area: name; grid-column: 1 / -1;
  display: flex; align-items: center; gap: 11px;
  font-size: 20px; font-weight: 900; color: var(--navy); letter-spacing: .04em;
}
.plan-card__name::before {
  content: ""; flex: none; width: 5px; height: 21px;
  background: var(--red); border-radius: 3px;
}
.plan-card__price { grid-area: price; font-family: var(--font-en); font-size: 38px; color: var(--red); margin: 12px 0 4px; letter-spacing: .02em; }
.plan-card__price small { font-family: var(--font-jp); font-size: 13px; font-weight: 700; color: var(--muted); margin-left: 6px; white-space: nowrap; }
/* 金額の右横のスペースに 金・銀・銅 のエンブレム（SPは名称の左隣に回す） */
.plan-card__medal {
  grid-area: medal; align-self: center; justify-self: end;
  width: auto; height: 54px;
}
.plan-card__note { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.plan-card__use {
  grid-area: use; grid-column: 1 / -1;
  margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #b6bdca;
  font-size: 14.5px; color: #4a4f5a; line-height: 1.9;
}
.plan-card ul { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 18px; display: grid; gap: 10px; }
.plan-card li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.plan-card li::before { content: "✓"; color: var(--red); font-weight: 700; flex: none; }

/* ステップ */
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 900px) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .step-list { grid-template-columns: 1fr; } }
.step-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step-item__no { font-family: var(--font-en); font-size: 13px; letter-spacing: .18em; color: var(--red); }
.step-item h3 { font-size: 16px; font-weight: 900; margin: 8px 0 8px; }
.step-item p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 54px 20px 24px; position: relative;
  font-weight: 700; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q."; color: var(--red); font-family: var(--font-en); margin-right: 10px; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item .faq-body { padding: 0 24px 22px; font-size: 14.5px; color: var(--muted); }

/* 支援でできること（数字ではなくチームの実像） */
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 767px) { .fact-grid { grid-template-columns: 1fr; } }
.fact-card {
  position: relative; overflow: hidden;
  background: #fff; color: var(--ink); border-radius: 20px; padding: 34px 26px 30px;
  transition: transform .3s;
  display: grid; grid-template-areas: "label" "text";
}
.fact-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 7px;
  background: linear-gradient(90deg, var(--red) 0 55%, var(--yellow) 55% 100%);
}
.fact-card:hover { transform: translateY(-6px); }
.fact-card dt {
  grid-area: label; justify-self: start;
  display: inline-flex; align-items: center; background: var(--navy); color: #fff;
  font-size: 17px; font-weight: 700; letter-spacing: .12em;
  padding: 9px 20px; border-radius: 999px;
}
.fact-card dd { grid-area: text; margin: 18px 0 0; font-size: 15px; line-height: 1.95; color: #4a4f5a; }

/* =========================================================
   15. 体験までのステップ（トップ）
   ========================================================= */
.trial { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.trial > .reveal:not(.trial__media):not(.coach-extra) { grid-column: 1; grid-row: 1; }
.trial__media { grid-column: 2; grid-row: 1; }
/* 「現役のプロ野球選手」の見出しはPCで1行に収めたいので全幅に回す */
.coach-extra { grid-column: 1 / -1; margin-top: 0; }
.coach-extra .coach-sub { margin-top: 0; }
@media (min-width: 901px) {
  .trial { row-gap: 15px; }       /* 写真ブロックとの間隔 */
  .trial__media { width: 80%; margin-inline: auto; }  /* PCでは写真を少し小さく */
}
@media (max-width: 900px) { .trial { grid-template-columns: 1fr; } }

.trial-step { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.trial-step:first-child { padding-top: 0; }
.trial-step:last-of-type { border-bottom: 0; }
.trial-step__no {
  flex: none; width: 40px; height: 40px; border-radius: 8px;
  background: var(--navy); color: #fff; font-family: var(--font-en); font-size: 20px;
  display: grid; place-content: center;
}
.trial-step h3 { font-size: clamp(17px, 2.1vw, 21px); font-weight: 900; margin-bottom: 8px; }
.trial-step p { margin: 0; font-size: 14.5px; color: var(--muted); }

.trial-note {
  margin-top: 26px; border: 2px solid var(--navy); border-radius: var(--radius);
  padding: 24px 26px; background: #fff;
}
.trial-note h4 { font-size: 15px; font-weight: 900; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.trial-note h4::before { content: ""; width: 6px; height: 18px; background: var(--red); border-radius: 3px; }
.trial-note ul { display: grid; gap: 9px; }
.trial-note li { font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; color: #333; }
.trial-note li::before { content: "✓"; color: var(--red); font-weight: 700; flex: none; }
.trial-note p { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* 以前は position: sticky だったが、下の .coach-extra にスクロールで重なるため解除 */
.trial__media { position: relative; }
.trial__media img { width: 100%; border-radius: var(--radius-lg); }
@media (max-width: 900px) { .trial__media { position: static; order: -1; } }
/* SPは画像を右半分に縦長で回り込ませ、テキストは左に流す */
@media (max-width: 767px) {
  /* 長い見出しは通常の日本語改行に任せる（「コ／ーチ」のような分割を防ぐ） */
  .sec-head h2 { word-break: normal; overflow-wrap: normal; }
  /* SPでも折り返さずに1行で見せる見出し（幅に合わせて自動縮小） */
  .sec-head h2.h2--nowrap-sp { font-size: clamp(19px, 6.4vw, 26px); white-space: nowrap; }
  .trial { display: block; }
  .trial__media {
    float: right; width: 44%; margin: 4px 0 14px 16px; order: 0;
  }
  .trial__media img { aspect-ratio: 2 / 3; object-fit: cover; object-position: center 25%; border-radius: 14px; }
  .trial__media .img-note { font-size: 10.5px; margin-top: 8px; }
  .coach-lead { font-size: 15px; line-height: 1.95; }
  .coach-profile { clear: right; }
  .trial__cta { clear: both; }
}
.trial__cta { text-align: center; margin-top: clamp(30px, 4vw, 48px); }

.img-note { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; letter-spacing: .04em; }
.section--dark .img-note { color: rgba(255,255,255,.55); }
.trial__media .img-note { margin-top: 10px; }

/* 指導体制（監督・コーチ紹介） */
.coach-lead { font-size: clamp(15px, 1.8vw, 16.5px); color: #333; line-height: 2.05; }
.coach-profile {
  background: rgba(255,225,77,.45); border-radius: var(--radius);
  padding: 22px 26px; margin: 26px 0;
}
.coach-profile dt { font-size: clamp(19px, 2.6vw, 24px); font-weight: 900; color: var(--navy); letter-spacing: .02em; }
.coach-profile dt small { font-size: 14px; font-weight: 700; margin-right: 12px; color: var(--red); }
.coach-profile dd { margin: 8px 0 0; font-size: 14px; color: #4a4f5a; line-height: 1.9; }
.coach-sub {
  font-size: clamp(24px, 3.3vw, 31px); font-weight: 900; color: var(--red);
  text-align: center; margin: 34px 0 14px; line-height: 1.55;
}

/* 協賛メニュー：掲載・特典のご案内パネル */
.menu-note {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(30px, 4.4vw, 56px);
}
.menu-note::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(120deg, rgba(13,22,38,.94) 0%, rgba(13,22,38,.7) 55%, rgba(13,22,38,.5) 100%),
    url("assets/img/card-bg.jpg") center / cover no-repeat;
}
.menu-note::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; z-index: -1;
  background: radial-gradient(circle, rgba(216,31,38,.45), transparent 68%);
}
.menu-note__lead {
  margin: 0; font-size: clamp(16.5px, 2.1vw, 21px); font-weight: 700; line-height: 2;
  letter-spacing: .02em;
}
.menu-note__lead .hl { color: var(--yellow); font-weight: 900; }
.menu-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3vw, 30px); }
.menu-tags li {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: 10px 20px; font-size: 13.5px; font-weight: 700;
}
.menu-gift {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(24px, 3vw, 32px); padding: 18px 24px;
  background: rgba(255,225,77,.12); border: 1px dashed rgba(255,225,77,.55);
  border-radius: var(--radius);
}
.menu-gift__badge {
  flex: none; background: var(--yellow); color: var(--navy);
  font-size: 12px; font-weight: 900; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 999px;
}
.menu-gift p { margin: 0; font-size: 15px; color: rgba(255,255,255,.92); }

/* 現物支援のご案内（協賛プラン内） */
.gift-note {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: clamp(30px, 4vw, 44px) auto 0; max-width: 860px;
  padding: 22px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,225,77,.28), rgba(255,225,77,.12));
  border: 2px dashed rgba(216,31,38,.4);
}
.gift-note__badge {
  flex: none; background: var(--red); color: #fff;
  font-size: 12.5px; font-weight: 900; letter-spacing: .08em;
  padding: 8px 16px; border-radius: 999px;
}
.gift-note p {
  margin: 0; font-size: clamp(14.5px, 1.7vw, 16.5px); font-weight: 700; color: var(--navy);
  line-height: 1.9; flex: 1 1 240px;
}
.gift-note__ico { color: var(--red); display: inline-flex; vertical-align: -.28em; margin-right: 8px; }
.gift-note strong { color: var(--red); }
@media (max-width: 560px) {
  .gift-note { gap: 12px; padding: 20px 22px; }
  .gift-note p { font-size: 14.5px; }
}

/* ご協賛までの流れ：アイコン付きカード＋つなぎの矢印 */
.step-item {
  position: relative; padding: 28px 22px 26px;
  display: grid; grid-template-columns: auto 1fr;
  grid-template-areas: "ico no" "ico title" "text text";
  column-gap: 14px; align-items: center;
}
.step-item__ico {
  grid-area: ico; display: grid; place-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff;
}
.step-item p.step-item__no { grid-area: no; align-self: end; margin: 0; color: var(--red); font-size: 12px; letter-spacing: .2em; }
.step-item h3 { grid-area: title; align-self: start; margin: 4px 0 0; }
.step-item p { grid-area: text; margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.step-item:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; z-index: 2;
  width: 12px; height: 12px; transform: translateY(-50%) rotate(45deg);
  border-top: 3px solid var(--red); border-right: 3px solid var(--red);
}
@media (max-width: 900px) {
  .step-item:not(:last-child)::after { display: none; }
}
.contact-alt--single { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

/* SPは左にエンブレム、右に名称＋金額を積む */
@media (max-width: 767px) {
  .plan-grid { gap: 12px; }
  .plan-card {
    grid-template-columns: auto minmax(0, 1fr); align-items: center;
    grid-template-areas: "medal name" "medal price" "use use";
    column-gap: 13px; padding: 15px 18px 15px; border-radius: 14px;
  }
  /* エンブレムが赤バーの役割を兼ねるので、バーは非表示 */
  .plan-card__medal { justify-self: start; height: 54px; }
  .plan-card__name {
    grid-area: name; align-self: end; margin: 0;
    font-size: 17px; color: var(--navy); gap: 0; line-height: 1.4; letter-spacing: .02em;
  }
  .plan-card__name::before { display: none; }
  .plan-card__price {
    grid-area: price; align-self: start; justify-self: start; margin: 2px 0 0;
    font-size: 26px; line-height: 1.15; letter-spacing: 0;
  }
  .plan-card__price small { font-size: 11px; margin-left: 3px; }
  .plan-card__use {
    grid-area: use; margin: 12px 0 0; padding-top: 11px;
    font-size: 13px; line-height: 1.75; color: #55596a;
  }
}

/* ご支援の活用先 */
.use-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.use-panel__title {
  background: var(--red); color: #fff; text-align: center;
  font-size: clamp(15px, 1.9vw, 18px); font-weight: 900; letter-spacing: .08em;
  padding: 16px 20px; margin: 0;
}
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.use-item { padding: 32px 22px 30px; text-align: center; border-right: 1px solid var(--line); }
.use-item:last-child { border-right: 0; }
.use-item__ico {
  display: grid; place-content: center; margin: 0 auto 16px; color: var(--red);
}
.use-item__ico img { width: 62px; height: 62px; object-fit: contain; }
.use-item h3 { font-size: 16px; font-weight: 900; color: var(--navy); margin-bottom: 10px; line-height: 1.55; }
.use-item p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
@media (min-width: 768px) and (max-width: 900px) {
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .use-item { border-bottom: 1px solid var(--line); }
  .use-item:nth-child(2n) { border-right: 0; }
  .use-item:nth-last-child(-n+2) { border-bottom: 0; }
}
/* SPは1列にして、アイコンと本文を横並びに */
@media (max-width: 767px) {
  .use-grid { grid-template-columns: 1fr; }
  .use-item {
    display: grid; grid-template-columns: auto 1fr;
    grid-template-areas: "ico title" "ico text";
    column-gap: 14px; text-align: left; padding: 18px 20px;
    border-right: 0; border-bottom: 1px solid var(--line);
  }
  .use-item:last-child { border-bottom: 0; }
  .use-item__ico { grid-area: ico; align-self: center; margin: 0; }
  .use-item__ico img { width: 50px; height: 50px; }
  .use-item h3 { grid-area: title; align-self: end; font-size: 15px; margin-bottom: 5px; }
  .use-item h3 br { display: none; }
  .use-item p { grid-area: text; align-self: start; font-size: 12.8px; line-height: 1.75; }
}

/* 見出しの先頭に置くエンブレム */
.sec-head h2 .head-logo {
  display: inline-block; width: clamp(56px, 6.4vw, 84px); height: auto;
  vertical-align: -.36em; margin-right: 16px;
}
@media (max-width: 560px) {
  .sec-head h2 .head-logo { display: block; margin: 0 auto 12px; width: 74px; }
}
.sec-head h2 .h2-sub { display: block; margin-top: 8px; font-size: clamp(14px, 1.7vw, 18px); font-weight: 700; color: var(--muted); }
