/* ==========================================================================
   東京ガスジュニアクリエイターズ - style.css
   カラー: ネイビー(#0B1F4D / #1E3A8A) / レッド(#D7263D) / ホワイト(#FFFFFF)
   ========================================================================== */

/* ----------- 1. リセット & 基本設定 ----------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* sticky headerの分 */
}

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1A1A2E;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #1E3A8A; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }

ul, ol { list-style: none; padding: 0; margin: 0; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { line-height: 1.4; margin: 0; font-weight: 900; }

/* スキップリンク（アクセシビリティ） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #0B1F4D;
  color: #fff;
  z-index: 9999;
}

.sp-only { display: inline; }
.pc-only { display: none; }

/* ----------- 2. レイアウト ----------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 800px; }

/* ----------- 3. ボタン ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.2;
  min-height: 48px;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { opacity: 1; transform: translateY(-1px); }
.btn-icon { font-size: 18px; }

.btn-primary {
  background: #D7263D;
  color: #fff;
  box-shadow: 0 6px 16px rgba(215, 38, 61, .3);
}
.btn-primary:hover {
  background: #B91D31;
  box-shadow: 0 8px 22px rgba(215, 38, 61, .4);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-light:hover { background: #fff; color: #0B1F4D; }

.btn-lg { padding: 16px 28px; font-size: 16px; min-height: 52px; }
.btn-xl { padding: 20px 36px; font-size: 17px; min-height: 60px; }

/* ----------- 4. ヘッダー ----------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
/* 背景（白＋ぼかし）は疑似要素に分離。
   backdrop-filterを.site-header本体に直接かけると、
   中の固定表示メニュー(.nav)の基準位置がヘッダー内に閉じ込められてしまうため。 */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .96);
  border-bottom: 4px solid #0B1F4D;
  opacity: 0;
  transition: opacity .3s ease;
}
.site-header.is-scrolled::before {
  opacity: 1;
  backdrop-filter: saturate(180%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 8px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0B1F4D;
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0B1F4D, #1E3A8A);
  color: #fff;
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: 18px;
  letter-spacing: .03em;
  border: 2px solid #D7263D;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-en {
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: 14px;
  letter-spacing: .04em;
  color: #fff;
  transition: color .3s ease;
}
.logo-ja {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
  transition: color .3s ease;
}
.site-header.is-scrolled .logo-en { color: #0B1F4D; }
.site-header.is-scrolled .logo-ja { color: #1A1A2E; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 0;
  transition: border-color .3s ease;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  transition: transform .25s ease, opacity .25s ease, background-color .3s ease;
}
.site-header.is-scrolled .hamburger { border-color: #0B1F4D; }
.site-header.is-scrolled .hamburger span { background: #0B1F4D; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: 64px 0 0 0;
  background: #0B1F4D;
  padding: 32px 24px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
  overflow-y: auto;
}
.nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.nav-list a {
  display: block;
  padding: 14px 12px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-list a:hover { color: #FFD7DD; }

.header-cta { width: 100%; max-width: 320px; }

/* ----------- 5. ヒーロー ----------- */
.hero {
  position: relative;
  color: #fff;
  background: #0B1F4D;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
}
/* ヒーロー背景写真（images/hero.jpg を入れると表示。無ければネイビー） */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0B1F4D;
  background-image: linear-gradient(135deg, #0B1F4D 0%, #1E3A8A 100%);
  background-size: cover;
  background-position: center 58%;
}
.hero-photo.has-img {
  background-image: none;
}

/* ヒーロー動画（images/hero.mp4 を入れると再生。読み込めない場合は写真のまま） */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-video.video-error {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(215, 38, 61, .35), transparent 55%),
    linear-gradient(180deg, rgba(11, 31, 77, .55) 0%, rgba(11, 31, 77, .75) 60%, rgba(11, 31, 77, .92) 100%);
}
.hero-bg .field-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(10% - 1px),
      rgba(255, 255, 255, .07) calc(10% - 1px),
      rgba(255, 255, 255, .07) 10%
    );
  opacity: .8;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.04), transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(215, 38, 61, .9);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: .04em;
}

.hero-title { margin-bottom: 24px; }
.hero-en {
  display: block;
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: clamp(40px, 11vw, 88px);
  letter-spacing: .02em;
  line-height: .95;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.hero-ja {
  display: block;
  margin-top: 12px;
  font-size: clamp(13px, 3vw, 16px);
  font-weight: 700;
  letter-spacing: .15em;
  color: rgba(255,255,255,.85);
}

.hero-copy {
  font-size: clamp(24px, 6vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 32px;
  letter-spacing: .02em;
}
.hero-copy .accent { color: #FF6B7A; }

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin: 72px 0 36px;
}
.hero-ctas .btn { width: 100%; max-width: 360px; }

.hero-keys {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 16px 20px;
  max-width: 420px;
  margin: 0 auto;
}
.hero-keys li { display: flex; gap: 10px; align-items: center; }
.hero-keys li span {
  display: inline-block;
  min-width: 48px;
  padding: 2px 8px;
  background: #D7263D;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  text-align: center;
  letter-spacing: .05em;
}

/* ----------- 7. セクション共通 ----------- */
.section {
  padding: 64px 0;
}
.section-light { background: #F5F7FA; }
.section-dark {
  background: linear-gradient(135deg, #0B1F4D 0%, #1E3A8A 100%);
  color: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-eyebrow {
  display: inline-block;
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: 14px;
  letter-spacing: .2em;
  color: #D7263D;
  margin-bottom: 8px;
}
.section-eyebrow.light { color: #FF6B7A; }
.section-title {
  font-size: clamp(22px, 5.5vw, 32px);
  margin: 0 0 16px;
  color: #0B1F4D;
}
.section-title.light { color: #fff; }
.section-title small {
  display: inline-block;
  font-size: .65em;
  font-weight: 700;
  margin-top: 6px;
}
.section-title .title-kicker {
  display: block;
  font-size: .55em;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: .85;
  margin-bottom: 4px;
}
.section-lead {
  font-size: 15px;
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto;
  color: inherit;
}
.section-dark .section-lead { color: rgba(255,255,255,.9); }

/* ----------- 8. フラッグフットボールとは？（4枚カード） ----------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}
.feature-card {
  background: #fff;
  border: 1px solid #E5E9F2;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(11, 31, 77, .08);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B1F4D, #1E3A8A);
  color: #fff;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  color: #0B1F4D;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #4A4A5E;
  margin: 0;
}

/* ----------- 9. 3つの強み ----------- */
.strength-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: strength;
}
.strength-card {
  position: relative;
  background: #fff;
  color: #1A1A2E;
  border-radius: 16px;
  padding: 32px 24px 28px;
  border-top: 6px solid #D7263D;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.strength-num {
  display: inline-block;
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: 36px;
  color: #D7263D;
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 8px;
}
.strength-card h3 {
  font-size: 20px;
  color: #0B1F4D;
  margin-bottom: 12px;
}
.strength-card p {
  font-size: 15px;
  line-height: 1.9;
  color: #4A4A5E;
  margin: 0;
}

/* ----------- 10. 安心ポイント（チェックリスト） ----------- */
.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.check-list li {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #E5E9F2;
  border-radius: 12px;
  padding: 18px 18px;
}
.check-mark {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  background: #D7263D;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
}
.check-list h3 {
  font-size: 16px;
  color: #0B1F4D;
  margin: 2px 0 6px;
}
.check-list p {
  font-size: 14px;
  margin: 0;
  color: #4A4A5E;
  line-height: 1.7;
}

.midcta {
  text-align: center;
  margin-top: 32px;
}

/* ----------- 11. クラス・練習情報 ----------- */
.class-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.class-card {
  background: #fff;
  border: 2px solid #E5E9F2;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.class-card:hover {
  border-color: #D7263D;
  box-shadow: 0 12px 32px rgba(11,31,77,.1);
}
.class-card h3 {
  font-size: 22px;
  color: #0B1F4D;
  margin-bottom: 6px;
}
.class-target {
  display: inline-block;
  background: #0B1F4D;
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.class-desc {
  font-size: 14px;
  line-height: 1.9;
  color: #4A4A5E;
  margin: 0;
  text-align: left;
}

.info-table-wrap {
  background: #fff;
  border: 1px solid #E5E9F2;
  border-radius: 16px;
  padding: 24px 20px;
  max-width: 760px;
  margin: 0 auto;
}
.info-table-title {
  font-size: 18px;
  color: #0B1F4D;
  margin-bottom: 16px;
  text-align: center;
}
.info-table { margin: 0; }
.info-table > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 4px;
  border-bottom: 1px solid #E5E9F2;
}
.info-table > div:last-child { border-bottom: none; }
.info-table dt {
  font-weight: 700;
  color: #D7263D;
  font-size: 13px;
  letter-spacing: .04em;
}
.info-table dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #1A1A2E;
}
.badge-soon {
  display: inline-block;
  background: #FFE5E9;
  color: #D7263D;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
}

/* ----------- 12. コーチ紹介 ----------- */
.coach-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  color: #1A1A2E;
  border-radius: 20px;
  padding: 28px 22px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.coach-photo {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background-color: #0B1F4D;
  background-image: linear-gradient(135deg, #0B1F4D, #1E3A8A);
  background-size: cover;
  background-position: center;
  border: 4px solid #D7263D;
}
.coach-photo.has-img { background-image: none; }
.coach-photo.has-img .coach-initial { display: none; }
.coach-photo .coach-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255,255,255,.85);
  font-weight: 900;
  /* 画像が無い場合に表示。画像が読み込まれると上から覆われて見えなくなる */
}
.coach-body { text-align: center; }
.coach-name-en {
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: 14px;
  letter-spacing: .15em;
  color: #D7263D;
  margin: 0 0 4px;
}
.coach-name {
  font-size: 22px;
  color: #0B1F4D;
  margin: 0 0 16px;
}
.coach-name small {
  display: inline-block;
  font-size: .65em;
  font-weight: 700;
  color: #4A4A5E;
  margin-left: 4px;
}
.coach-bubble {
  position: relative;
  background: #F5F7FA;
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
  color: #0B1F4D;
}
.coach-bubble::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid #F5F7FA;
}
.coach-bubble p { margin: 0; }

/* コーチの現役時代の写真 */
.coach-history {
  max-width: 760px;
  margin: 28px auto 0;
}
.coach-action { margin: 0; }
.photo-action {
  aspect-ratio: 3 / 2;
  width: 100%;
  border-radius: 16px;
}
.coach-action figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .8);
}
.coach-history-text {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .9);
}
.coach-history-text strong { color: #FF6B7A; }
.nowrap { white-space: nowrap; }

/* ----------- 13. 体験参加の流れ ----------- */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: flow;
}
.flow-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 22px 22px 22px 22px;
  border-left: 6px solid #D7263D;
  box-shadow: 0 4px 16px rgba(11,31,77,.06);
}
.flow-num {
  display: inline-block;
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: 14px;
  letter-spacing: .15em;
  color: #D7263D;
  margin-bottom: 6px;
}
.flow-card h3 {
  font-size: 18px;
  color: #0B1F4D;
  margin-bottom: 6px;
}
.flow-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #4A4A5E;
  margin: 0;
}

/* ----------- 14. FAQ ----------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid #E5E9F2;
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #0B1F4D;
  line-height: 1.6;
}
.faq-q:hover { background: #F5F7FA; }
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-left: 12px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #D7263D;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #4A4A5E;
  margin: 0;
}

/* ----------- 15. お申込み・問い合わせ ----------- */
.contact-cta {
  background: linear-gradient(135deg, #0B1F4D 0%, #1E3A8A 100%);
  color: #fff;
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(215, 38, 61, .2), transparent 60%);
}
.contact-inner {
  position: relative;
  text-align: center;
  z-index: 1;
}
.contact-title {
  font-size: clamp(24px, 6vw, 36px);
  margin: 8px 0 20px;
}
.contact-lead {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 auto 32px;
  color: rgba(255,255,255,.9);
}
.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.contact-buttons .btn { width: 100%; max-width: 360px; }
.contact-note {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.9;
  margin: 0;
}
.contact-note a { color: #fff; text-decoration: underline; }

/* ----------- 16. フッター ----------- */
.site-footer {
  background: #061536;
  color: rgba(255,255,255,.85);
  padding: 48px 0 0;
  border-top: 4px solid #D7263D;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-logo {
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-logo-en {
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: .03em;
  color: #fff;
}
.footer-logo-ja {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
  margin: 12px 0 0;
}
.footer-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.footer-nav a {
  color: rgba(255,255,255,.85);
  font-size: 13px;
  display: block;
  padding: 4px 0;
}
.footer-nav a:hover { color: #fff; }

.footer-heading {
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: 12px;
  letter-spacing: .2em;
  color: #FF6B7A;
  margin: 0 0 12px;
}
.sns-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sns-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 13px;
}
.sns-list a:hover { color: #fff; border-color: #fff; }
.sns-list svg { color: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
}
.footer-bottom small {
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

/* ----------- 17. フローティングCTA（モバイル画面下に常時表示） ----------- */
.floating-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #D7263D;
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(215, 38, 61, .45);
  text-decoration: none;
  transition: transform .15s ease;
}
.floating-cta:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* ----------- 18. 写真プレースホルダー & ギャラリー -----------
   .ph に data-img を付けると script.js が画像を読み込みます。
   画像がある時 → .has-img が付いて写真表示
   画像が無い時 → ネイビーのグラデ＋「PHOTO ◯◯」案内が表示（崩れない） */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background-color: #0B1F4D;
  background-image: linear-gradient(135deg, #0B1F4D 0%, #1E3A8A 100%);
  background-size: cover;
  background-position: center;
}
.photo::after {
  /* 装飾：フィールドラインのうっすら模様（写真が無い時の見栄え） */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0, transparent calc(20% - 1px),
    rgba(255,255,255,.06) calc(20% - 1px), rgba(255,255,255,.06) 20%
  );
  pointer-events: none;
}
.photo.has-img { background-image: none; }
.photo.has-img::after { display: none; }
.photo.has-img .photo-tag { display: none; }

.photo-tag {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: rgba(255,255,255,.55);
  font-family: "Anton", "Bebas Neue", sans-serif;
  font-size: 14px;
  letter-spacing: .25em;
  text-align: center;
}
.photo-tag::before {
  content: "";
  width: 30px;
  height: 24px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 4px;
  background:
    radial-gradient(circle at 70% 35%, rgba(255,255,255,.45) 0 4px, transparent 5px),
    linear-gradient(45deg, transparent 55%, rgba(255,255,255,.4) 55% 70%, transparent 70%);
}
.photo-cap {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  color: rgba(255,255,255,.55);
  padding: 0 12px;
  max-width: 90%;
}

/* 横長（4:3）：フラッグとは・保護者など */
.photo-wide {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 8px;
}
/* カード内（4:3）：強み・クラス */
.photo-card {
  aspect-ratio: 4 / 3;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 12px;
}
/* 正方形：ギャラリー */
.photo-square {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* ==========================================================================
   タブレット (600px以上)
   ========================================================================== */
@media (min-width: 600px) {
  .container { padding: 0 32px; }
  .sp-only { display: none; }
  .pc-only { display: inline; }

  .section { padding: 80px 0; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .strength-grid { grid-template-columns: repeat(3, 1fr); }
  .check-list { grid-template-columns: 1fr 1fr; }
  .class-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  .info-table > div {
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: baseline;
  }

  .coach-card {
    grid-template-columns: 200px 1fr;
    padding: 36px 36px;
    gap: 36px;
  }
  .coach-body { text-align: left; }
  .coach-bubble::before {
    top: 24px;
    left: -12px;
    transform: none;
    border-left: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid #F5F7FA;
  }

  .hero-ctas { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .hero-ctas .btn { width: auto; min-width: 240px; }
  .hero-keys {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: none;
  }

  .contact-buttons { flex-direction: row; justify-content: center; }
  .contact-buttons .btn { width: auto; min-width: 240px; }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
  }
  .footer-nav ul { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PC (900px以上)
   ========================================================================== */
@media (min-width: 900px) {
  html { scroll-padding-top: 80px; }

  .hero { padding: 96px 0 110px; }
  .hero-en { font-size: clamp(64px, 8vw, 110px); }
  .hero-copy { font-size: clamp(32px, 4vw, 48px); }

  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .flow-grid { grid-template-columns: repeat(4, 1fr); }

  .floating-cta {
    left: auto;
    right: 24px;
    bottom: 24px;
    padding: 14px 24px;
  }

}

/* ==========================================================================
   ヘッダーの横並びナビ（1100px以上）
   ロゴ＋ナビ7項目＋ボタンが1行に収まる最小幅で切り替える。
   900〜1099pxは折り返し防止のため、この幅よりスマホ用ハンバーガーのままにする。
   ========================================================================== */
@media (min-width: 1100px) {
  .header-inner { min-height: 76px; padding: 8px 24px; }
  .logo { flex-shrink: 0; }
  .logo-mark { width: 48px; height: 48px; font-size: 22px; }
  .logo-text { white-space: nowrap; }
  .logo-en { font-size: 17px; }
  .logo-ja { font-size: 12px; }

  .hamburger { display: none; }

  .nav {
    position: static;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
    flex-direction: row;
  }
  .nav-list {
    flex-direction: row;
    gap: 2px;
    margin-bottom: 0;
  }
  .nav-list a {
    color: #fff;
    font-size: 14px;
    padding: 10px 10px;
    border-bottom: none;
    border-radius: 8px;
    white-space: nowrap;
    transition: color .3s ease;
  }
  .nav-list a:hover {
    color: #FFD7DD;
    background: rgba(255, 255, 255, .12);
  }
  .site-header.is-scrolled .nav-list a { color: #0B1F4D; }
  .site-header.is-scrolled .nav-list a:hover {
    color: #D7263D;
    background: #F5F7FA;
  }
  .header-cta {
    width: auto;
    max-width: none;
    padding: 12px 22px;
    min-height: 44px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   大画面
   ========================================================================== */
@media (min-width: 1200px) {
  .section { padding: 100px 0; }
  .section-title { font-size: 36px; }
}

/* ==========================================================================
   モーション削減設定（OS設定で「視差効果を減らす」を選んでいる人向け）
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
