/* =========================================
   基本変数
========================================= */
:root{
  --accent:#facc15;
  --text:#1f2937;
  --muted:#6b7280;
  --card-bg:rgba(255,255,255,0.95);
  --radius:10px;
}

html,body{
  height:100%;
  margin:0;
  font-family:"Noto Sans JP",sans-serif;
  color:var(--text);
  background:#f7fafc;
}

/* =========================================
   ヘッダー（基本）
========================================= */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:10000;
  padding:8px 14px;
  background:rgba(255,255,255,0.95);
  border-bottom:1px solid #e5e7eb;
  backdrop-filter:saturate(120%) blur(4px);
}

/* =========================================
   ヘッダー内コンテナ（PC・スマホ共通）
========================================= */
header .inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand img{
  width:40px;
  height:40px;
  border-radius:6px;
  object-fit:cover;
}

/* =========================================
   ボタン
========================================= */
.nav-cta{
  display:flex;
  gap:8px;
  align-items:center;
}

.btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:8px;
  font-weight:700;
  text-decoration:none;
  font-size:14px;
}

.btn-primary{
  background:var(--accent);
  color:#111;
}

.btn-ghost{
  background:transparent;
  border:1px solid #e5e7eb;
  color:var(--text);
}

/* =========================================
   HERO
========================================= */
.hero{
  position: relative;
  min-height: 48vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:36px 16px;
  color:#fff;
  text-align:center;
  overflow: hidden;
}

.hero-inner{
  max-width:980px;
  padding:18px;
  border-radius:12px;
  background:rgba(0,0,0,0.18);
  position: relative;
  z-index: 10; /* ← 背景より確実に前へ */
}

.hero h1{
  font-size:28px;
  margin:0 0 8px 0;
  font-weight:800;
  text-shadow:0 2px 6px rgba(0,0,0,0.28);
}

.hero p{
  margin:0 0 14px 0;
  font-size:16px;
  text-shadow:0 2px 6px rgba(0,0,0,0.28);
}

.cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.highlight {
  animation: highlight-fade 3s ease-out forwards;
}

@keyframes highlight-fade {
  0% {
    box-shadow: 0 0 0 4px var(--accent), 0 2px 8px rgba(0,0,0,0.06);
    background-color: #fff8e1; /* 薄い黄色 */
  }
  100% {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background-color: white;
  }
}

/* 共通ヘッダーナビゲーション */
.header-nav-links {
  display: flex;
  gap: 15px;
  margin-left: auto; /* 右寄せ */
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.2s;
}
.nav-link:hover, .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* =========================================
   レイアウト
========================================= */
main{
  max-width:1100px;
  margin:18px auto;
  padding:0 14px;
}

section.card{
  background:var(--card-bg);
  padding:16px;
  border-radius:var(--radius);
  margin-bottom:14px;
  box-shadow:0 1px 2px rgba(16,24,40,0.03);
}

.grid{
  display:grid;
  gap:12px;
}

.features{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.feature img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:8px;
}

/* =========================================
   ニュース（fade）
========================================= */
.news-fade{
  opacity:0;
  transform:translateY(12px);
  transition:opacity 0.6s ease-out, transform 0.6s ease-out;
}

.news-fade.show{
  opacity:1;
  transform:translateY(0);
}

/* =========================================
   セクション余白
========================================= */
@media (min-width:768px){
  .section{
    padding:40px 0 !important;
  }
}

@media (max-width:767px){
  .section{
    padding:16px 0 !important;
  }
}

.section > *:last-child{
  margin-bottom:0 !important;
}

.card{
  margin-bottom:0 !important;
}

/* =========================================
   セクションタイトル
========================================= */
.section-title{
  font-size:24px;
  font-weight:700;
  margin-bottom:16px;
  padding-left:14px;
  border-left:6px solid var(--accent);
  line-height:1.3;
}

/* =========================================
   FAQ アコーディオン
========================================= */
.faq dt{
  cursor:pointer;
  padding:10px 0 10px 28px;
  position:relative;
  font-weight:700;
}

.faq dt::before{
  content:"＋";
  position:absolute;
  left:0;
  top:6px;
  font-size:20px;
  transition:transform 0.25s ease;
}

.faq dt.open::before{
  content:"−";
}

.faq dd{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height 0.35s ease, opacity 0.35s ease;
  margin:0;
  padding-left:28px;
}

.faq dt.open{
  background:#fffbe8;
  border-radius:6px 6px 0 0;
}

.faq dd.show{
  max-height:500px;
  opacity:1;
  background:#fffef4;
  border-radius:0 0 6px 6px;
  padding:10px 20px 12px 28px;
  color:#333;
}

/* =========================================
   OBカード
========================================= */
.alumni-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.alumni-card{
  background:#fff;
  border-radius:10px;
  padding:16px;
  box-shadow:0 2px 6px rgba(0,0,0,0.12);
  border-left:6px solid var(--accent);
}

.alumni-icon{
  width:64px;
  height:64px;
  background:linear-gradient(135deg,#ffe27a,#facc15,#eab308);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  font-weight:900;
  color:#000;
  border:3px solid #000;
  box-shadow:0 4px 10px rgba(0,0,0,0.25);
  margin-bottom:12px;
}

.alumni-card h3{
  margin:0 0 6px;
  font-size:20px;
  font-weight:800;
}

.alumni-card .team{
  font-weight:700;
  color:#444;
  margin-bottom:10px;
}

.alumni-card .desc{
  color:#555;
  line-height:1.6;
  font-size:14px;
}

.koshien-list{
  list-style:none;
  padding:0;
  margin:0 0 12px;
}

.koshien-list li{
  background:#fff8d6;
  border:1px solid var(--accent);
  padding:6px 10px;
  border-radius:6px;
  margin-bottom:6px;
  font-weight:700;
  color:#000;
}

/* =========================================
   スマホ固定CTA
========================================= */
.fixed-cta{
  position:fixed !important;
  bottom:16px;
  left:50%;
  width:calc(100% - 40px);
  max-width:420px;
  background:rgba(250,204,21,0.55);
  backdrop-filter:blur(12px) saturate(160%);
  border-radius:40px;
  border:2px solid rgba(0,0,0,0.35);
  color:#000;
  font-weight:900;
  text-align:center;
  padding:14px 0;
  font-size:16px;
  box-shadow:0 6px 18px rgba(0,0,0,0.25);
  transition:transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  z-index:2147483647 !important;
}

.fixed-cta a{
  color:#000;
  text-decoration:none;
}

.fixed-cta:active{
  scale:0.92;
  transition:scale 0.12s ease-out;
}

@media (min-width:768px){
  .fixed-cta{
    display:none;
  }
}

@media (max-width:767px){
  footer{
    padding-bottom:80px;
  }
}

/* =========================================
   ハンバーガーメニュー（スマホ） - アイコンとメニュー本体
========================================= */
.floating-hamburger{
  position:fixed;
  top:10px;
  right:10px;
  width:60px;
  height:60px;
  background:rgba(255,255,255,0.9); /* 半透明の白 */
  border-radius:50%;
  display:flex;
  flex-direction: column; /* 線を縦に並べる */
  align-items: center;
  justify-content: space-between; /* 線を均等に配置 */
  padding: 15px 0; /* 線が収まるように調整 */
  box-sizing: border-box;
  z-index:99999;
  cursor:pointer;
  border:none; /* デフォルトのボタンの枠線を削除 */
  box-shadow:0 2px 6px rgba(0,0,0,0.15);
  transition:transform 0.25s ease, box-shadow 0.15s ease;
}

.floating-hamburger span {
  display: block;
  width: 60%; /* 線の幅 */
  height: 3px; /* 線の太さ */
  background-color: var(--text); /* 線の色 */
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* メニューが開いた時のアイコンアニメーション */
.floating-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg); /* 中央の線に寄せて回転 */
}
.floating-hamburger.active span:nth-child(2) {
  opacity: 0; /* 中央の線を非表示 */
}
.floating-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg); /* 中央の線に寄せて回転 */
}

.floating-hamburger:active{
  transform:scale(0.88);
  box-shadow:0 1px 3px rgba(0,0,0,0.25);
}

.hamburger-menu{
  position:fixed;
  top:0;
  right:-60%;
  width:60%;
  height:100%;
  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(14px) saturate(160%);
  box-shadow:-4px 0 18px rgba(0,0,0,0.25);
  padding:60px 20px;
  display:flex;
  flex-direction:column;
  gap:20px;
  transform:translateX(20px);
  opacity:0;
  transition:right 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
  z-index:99998;
  box-sizing:border-box;
  overflow-y:auto;
}

.hamburger-menu.open{
  right:0;
  transform:translateX(0);
  opacity:1;
}

.hamburger-menu a{
  display:block;
  padding:14px 18px;
  border-radius:14px;
  font-size:18px;
  font-weight:700;
  color:#000;
  text-decoration:none;
  background:rgba(255,255,255,0.45);
  backdrop-filter:blur(10px) saturate(160%);
  border:1px solid rgba(0,0,0,0.15);
  transition:background 0.25s ease, transform 0.15s ease;
}

.hamburger-menu a:active{
  transform:scale(0.94);
  background:rgba(255,255,255,0.65);
}

@media (min-width:768px){
  .floating-hamburger,
  .hamburger-menu{
    display:none;
  }
}

/* =========================================
   メニューオーバーレイ
========================================= */
.menu-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.45);
  z-index:99997;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.3s ease;
}

.menu-overlay.show{
  opacity:1;
  pointer-events:auto;
}

body.mobile-menu-open{
  overflow:hidden;
}

.btn-game-results{
  background:#fff;
  color:#064e3b;
  border-color:#fff;
}

.btn-game-results:hover{
  background:#fef3c7;
  color:#064e3b;
}

/* =========================================
   PC専用：1段ヘッダー（縮小アニメ）
========================================= */
@media (min-width: 768px) {

  header {
    height: 60px;
    border-bottom: 2px solid #000;
    transition: height 0.25s ease, padding 0.25s ease;
  }

  header.shrink {
    height: 52px;
    padding: 0 30px;
  }

  header .brand img {
    transition: width 0.25s ease, height 0.25s ease;
  }

  header.shrink .brand img {
    width: 32px;
    height: 32px;
  }

  header .brand strong,
  header .brand small {
    transition: font-size 0.25s ease;
  }

  header.shrink .brand strong {
    font-size: 15px;
  }

  header.shrink .brand small {
    font-size: 11px;
  }
}

/* =========================================
   入団案内ページ専用：アンカー位置補正
========================================= */
body.nyuudan-page :target {
  scroll-margin-top: 80px;
}

/* =========================================
   入団案内ページ専用：scrollIntoView の暴走防止
========================================= */
body.nyuudan-page {
  scroll-behavior: auto !important;
}

/* =========================================
   スマホでは PC ナビを非表示
========================================= */
@media (max-width: 767px) {
  .pc-nav-inline {
    display: none !important;
  }
}

/* =========================================
   PCナビ（横並びレイアウト）
========================================= */
@media (min-width: 768px) {

  .pc-nav-inline ul {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .pc-nav-inline li {
    display: block; /* ← これが最重要 */
    margin: 0;
    padding: 0;
  }

  .pc-nav-inline a {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    padding: 0 4px;
  }

  .pc-nav-inline a:hover {
    text-decoration: underline;
  }

  body {
    padding-top: 76px;
  }

  header .inner {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ← ここが最重要 */
    padding: 0 30px; /* ← 必要なら調整 */
  }

  .pc-nav-inline {
    margin-left: 40px; /* ← ナビ全体を左に寄せる量を調整 */
  }
}

footer {
  text-align: center;
  padding: 24px 0;
  color: #6b7280; /* muted */
  font-size: 14px;
  background: #f9fafb;
}

#backToTop {
  position: fixed;
  bottom: 80px;
  right: -70px;
  width: 60px;
  height: 70px;
  border-radius: 12px;
  background: #000;
  color: #facc15;
  border: 2px solid #facc15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  transition: right 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
  opacity: 0;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

#backToTop .arrow {
  font-size: 22px;
  line-height: 1;
}

#backToTop .label {
  font-size: 12px;
  margin-top: 2px;
  letter-spacing: 1px;
}

#backToTop.show {
  right: 20px;
  opacity: 1;
}

#backToTop:hover {
  transform: scale(1.1);
}

/* 流麗でカッコいい体験申込ボタン */
.cta-flow {
  display: inline-block;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  border-radius: 40px;

  /* 流麗な光のグラデーション */
  background: linear-gradient(135deg, #ffd700cc, #ffffff22);

  /* ガラス感 */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.45);

  /* 影で立体感 */
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);

  transition: all 0.35s ease;
}

/* ホバーで光が強く流れる */
.cta-flow:hover {
  background: linear-gradient(135deg, #ffe680ff, #ffffff55);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* ============================================================
   Public site refresh
   ============================================================ */
html{
  scroll-behavior:smooth;
  scroll-padding-top:96px;
}

body[data-page="index"],
body[data-page="nyuudan"],
body[data-page="apply"]{
  background:
    radial-gradient(circle at top, rgba(250,204,21,0.12), transparent 34%),
    linear-gradient(180deg, #fffef7 0%, #f7fafc 42%, #eef2ff 100%);
}

body[data-page="index"] main,
body[data-page="nyuudan"] main,
body[data-page="apply"] main{
  margin:0 auto;
  padding:88px 14px 32px;
}

section{
  scroll-margin-top:108px;
}

.section{
  margin-bottom:10px;
}

.section-intro{
  color:var(--muted);
  line-height:1.8;
  margin:0 0 18px;
}

.brand-subtitle{
  color:var(--muted);
  font-weight:600;
}

.hero{
  min-height:72vh;
  padding:32px 16px;
}

body[data-page="index"] .hero{
  isolation:isolate;
  box-sizing:border-box;
  min-height:clamp(560px, 68vh, 720px);
  padding:clamp(52px, 7vw, 88px) clamp(20px, 6vw, 72px);
  border-radius:28px;
  background:
    radial-gradient(circle at 12% 12%, rgba(250,204,21,0.24), transparent 30%),
    linear-gradient(135deg, #071426 0%, #0d2a4d 56%, #153f6d 100%);
  box-shadow:0 22px 58px rgba(15,23,42,0.18);
}

body[data-page="index"] .hero::before{
  content:"";
  position:absolute;
  top:-150px;
  right:-110px;
  width:360px;
  height:360px;
  border:58px solid rgba(250,204,21,0.14);
  border-radius:50%;
  z-index:0;
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:32%;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.28));
  z-index:1;
  pointer-events:none;
}

body[data-page="index"] .hero::after{
  inset:auto auto -210px -150px;
  width:430px;
  height:430px;
  border-radius:50%;
  background:rgba(255,255,255,0.055);
  box-shadow:0 0 0 68px rgba(255,255,255,0.025);
}

.hero-inner{
  max-width:760px;
  padding:24px 18px 22px;
  background:rgba(17,24,39,0.42);
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 16px 48px rgba(15,23,42,0.24);
  backdrop-filter:blur(14px) saturate(140%);
}

body[data-page="index"] .hero-inner{
  max-width:900px;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  backdrop-filter:none;
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.12);
  color:#fff;
  font-size:13px;
  font-weight:700;
  letter-spacing:0.02em;
}

body[data-page="index"] .hero-kicker{
  background:var(--accent);
  color:#172033;
  box-shadow:0 8px 24px rgba(250,204,21,0.18);
}

.hero h1{
  font-size:clamp(30px, 5vw, 52px);
  line-height:1.18;
  margin-bottom:12px;
}

.hero p{
  font-size:clamp(16px, 2.2vw, 19px);
  line-height:1.8;
  margin-bottom:18px;
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin:14px 0 18px;
}

.badge-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.28);
  color:#fff;
  font-size:13px;
  font-weight:700;
  backdrop-filter:blur(8px);
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.hero-actions .btn{
  min-width:180px;
  padding:14px 18px;
  font-size:16px;
}

.btn-secondary{
  background:rgba(255,255,255,0.14);
  color:#fff;
  border:1px solid rgba(255,255,255,0.36);
}

.news-grid,
.trust-grid,
.reason-grid,
.faq-grid{
  display:grid;
  gap:14px;
}

.news-grid{
  grid-template-columns:1fr;
}

.news-card,
.trust-card,
.reason-card,
.faq-card,
.apply-card,
.weekly-card{
  background:rgba(255,255,255,0.95);
  border:1px solid rgba(226,232,240,0.9);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(15,23,42,0.06);
}

.news-card{
  padding:16px;
  border-left:6px solid var(--accent);
}

.news-card h3,
.trust-card h3,
.reason-card h3,
.faq-card h3{
  margin:0 0 8px;
  line-height:1.35;
}

.news-card p,
.trust-card p,
.reason-card p,
.faq-card p,
.apply-card p{
  margin:0;
  color:#374151;
  line-height:1.8;
}

.news-empty-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.news-empty-actions a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 14px;
  border:1px solid #b8d0e7;
  border-radius:999px;
  color:#174e7a;
  font-size:.88rem;
  font-weight:700;
  text-decoration:none;
}

.news-empty-actions a:hover,
.news-empty-actions a:focus-visible{
  border-color:#0056b3;
  background:#f0f7ff;
}

.news-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
  font-size:12px;
  color:var(--muted);
}

.news-tag{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:#fff8d6;
  color:#92400e;
  font-weight:700;
}

.news-card-game{
  border-left-color:#0b6842;
  background:linear-gradient(135deg, rgba(240,253,244,.98), rgba(255,255,255,.98));
}

.news-card .news-score{
  color:#17211b;
  font-size:1.08rem;
  font-weight:800;
}

.news-link{
  display:inline-flex;
  margin-top:12px;
  color:#0b6842;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}

.trust-grid{
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
}

.concern-grid{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
}

.concern-card{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(226,232,240,0.9);
  box-shadow:0 10px 28px rgba(15,23,42,0.06);
}

.concern-card h3{
  margin:0 0 8px;
  color:#111827;
  font-size:17px;
}

.concern-card p{
  margin:0;
  color:#374151;
  line-height:1.75;
  font-size:14px;
}

.trust-card{
  padding:18px;
}

.trust-card.is-featured{
  background:linear-gradient(180deg, #fffef5 0%, #fff 100%);
  border-color:rgba(250,204,21,0.55);
}

.trust-badge{
  display:inline-flex;
  align-items:center;
  margin-bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  background:#fff8d6;
  color:#92400e;
  font-size:12px;
  font-weight:800;
}

.trust-list,
.reason-list,
.faq-list{
  margin:12px 0 0;
  padding-left:18px;
  line-height:1.8;
  color:#374151;
}

.koshien-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-left:0;
  list-style:none;
}

.koshien-list li{
  padding:7px 10px;
  border-radius:999px;
  background:#fff7ed;
  border:1px solid rgba(251,146,60,0.35);
  color:#9a3412;
  font-size:13px;
  font-weight:800;
}

.trust-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:14px;
  padding:10px 14px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(15,23,42,0.16);
}

.trust-link:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(15,23,42,0.2);
}

.youtube-thumb{
  position:relative;
  display:block;
  margin-top:14px;
  border-radius:14px;
  overflow:hidden;
  background:#111827;
  aspect-ratio:16 / 9;
  box-shadow:0 10px 24px rgba(15,23,42,0.16);
}

.youtube-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform 0.2s ease, opacity 0.2s ease;
}

.youtube-thumb:hover img{
  transform:scale(1.03);
  opacity:0.9;
}

.atmosphere-slider{
  max-width:760px;
  margin:0 auto;
}

.atmosphere-stage{
  position:relative;
  overflow:hidden;
  aspect-ratio:16 / 9;
  border-radius:14px;
  background:#0f172a;
  box-shadow:0 14px 30px rgba(15,23,42,0.16);
}

.atmosphere-stage img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:opacity .25s ease;
}

.slider-arrow{
  position:absolute;
  top:50%;
  width:42px;
  height:42px;
  transform:translateY(-50%);
  border:0;
  border-radius:50%;
  background:rgba(15,23,42,.72);
  color:#fff;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}

.slider-arrow:hover,
.slider-arrow:focus-visible{
  background:rgba(15,23,42,.92);
}

.slider-arrow-prev{ left:14px; }
.slider-arrow-next{ right:14px; }

.slider-controls{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:12px;
}

.slider-dots{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:7px;
}

.slider-dots button{
  width:24px;
  height:24px;
  padding:7px;
  border:1px solid transparent;
  border-radius:50%;
  background:#fff;
  cursor:pointer;
}

.slider-dots button::before{
  content:"";
  display:block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#cbd5e1;
}

.slider-dots button.is-active::before{
  background:#0056b3;
  transform:scale(1.25);
}

.slider-status{
  color:#64748b;
  font-size:.82rem;
}

.slider-autoplay{
  min-height:36px;
  padding:6px 12px;
  border:1px solid #cbd5e1;
  border-radius:999px;
  background:#fff;
  color:#334155;
  font:inherit;
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
}

.slider-autoplay:hover,
.slider-autoplay:focus-visible{
  border-color:#0056b3;
  color:#0056b3;
}

.youtube-play{
  position:absolute;
  left:50%;
  top:50%;
  width:58px;
  height:40px;
  transform:translate(-50%, -50%);
  border-radius:12px;
  background:rgba(220,38,38,0.92);
  box-shadow:0 8px 20px rgba(15,23,42,0.28);
}

.youtube-play::after{
  content:"";
  position:absolute;
  left:23px;
  top:11px;
  border-left:16px solid #fff;
  border-top:9px solid transparent;
  border-bottom:9px solid transparent;
}

.reason-grid{
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}

.reason-card{
  padding:18px;
}

.feature-photo{
  width:100%;
  display:block;
  border-radius:14px;
  object-fit:cover;
}

.news-image{
  margin-top:12px;
}

.weekly-image{
  margin-top:8px;
  max-width:260px;
}

.instagram-embed{
  width:100%;
  height:480px;
  border:0;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.embed-placeholder{
  min-height:280px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:24px;
  border-radius:14px;
  background:linear-gradient(180deg, #fffef5 0%, #fff 100%);
  border:1px dashed rgba(146,64,14,0.35);
  text-align:center;
}

.embed-loader{
  width:42px;
  height:42px;
  border-radius:999px;
  border:4px solid rgba(146,64,14,0.18);
  border-top-color:#f59e0b;
  animation:embed-spin 0.9s linear infinite;
}

@keyframes embed-spin{
  to{
    transform:rotate(360deg);
  }
}

.embed-placeholder p{
  max-width:560px;
  margin:0;
  color:#374151;
  line-height:1.7;
}

.apply-loading{
  padding:24px;
  color:var(--muted);
}

.table-empty-cell{
  padding:14px;
  text-align:center;
  color:var(--muted);
}

.reason-card .eyebrow{
  display:inline-block;
  margin-bottom:8px;
  color:#b45309;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.section-cta{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(250,204,21,0.18), rgba(255,255,255,0.9));
  border:1px solid rgba(250,204,21,0.35);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.section-cta p{
  margin:0;
  line-height:1.7;
  color:#374151;
}

.section-cta .btn{
  white-space:nowrap;
}

.weekly-card{
  padding:14px;
}

.weekly-card-list{
  display:grid;
  gap:14px;
}

.weekly-event-card{
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  padding:16px;
}

.weekly-day-group{
  padding:16px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
}

.weekly-day-group .weekly-event-date{
  margin-bottom:12px;
}

.weekly-day-events{
  display:grid;
  gap:14px;
}

.weekly-day-group .weekly-event-card{
  padding:0;
  border:0;
  border-radius:0;
}

.weekly-day-group .weekly-event-card + .weekly-event-card{
  padding-top:14px;
  border-top:1px solid #e5e7eb;
}

.weekly-event-date{
  display:inline-flex;
  align-items:center;
  margin-bottom:8px;
  padding:4px 10px;
  border-radius:999px;
  background:#fff8d6;
  color:#92400e;
  font-size:13px;
  font-weight:800;
}

.weekly-event-card h3{
  margin:0 0 12px;
  color:#111827;
  font-size:20px;
  line-height:1.45;
}

.weekly-event-card dl{
  display:grid;
  gap:8px;
  margin:0;
}

.weekly-event-card dl div{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:10px;
  padding:8px 0;
  border-top:1px solid #eef2f7;
}

.weekly-event-card dt{
  color:#64748b;
  font-size:13px;
  font-weight:800;
}

.weekly-event-card dd{
  margin:0;
  color:#1f2937;
  line-height:1.7;
}

.weekly-event-body{
  margin:12px 0 0;
  padding-top:12px;
  border-top:1px solid #eef2f7;
  color:#475569;
  line-height:1.8;
  white-space:pre-wrap;
}

.weekly-empty{
  margin:0;
  padding:18px;
  text-align:center;
  color:#64748b;
}

.weekly-empty p{
  margin:0 0 10px;
  line-height:1.7;
}

.weekly-empty a{
  display:inline-block;
  padding:8px;
  color:#174e7a;
  font-weight:700;
  text-underline-offset:4px;
}

.weekly-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
}

.weekly-table thead th{
  background:#fff9d6;
  color:#111827;
  padding:12px 10px;
  text-align:left;
  font-size:14px;
}

.weekly-table tbody td{
  padding:12px 10px;
  border-top:1px solid #eef2f7;
  vertical-align:top;
  line-height:1.7;
}

.weekly-table tbody tr:nth-child(even){
  background:#fcfdff;
}

@media (max-width: 640px){
  .atmosphere-stage{
    aspect-ratio:4 / 3;
  }

  .weekly-day-group{
    padding:14px;
  }

  .weekly-event-card{
    padding:14px;
  }

  .weekly-event-card h3{
    font-size:18px;
  }

  .weekly-event-card dl div{
    grid-template-columns:1fr;
    gap:4px;
  }
}

.apply-layout{
  display:grid;
  gap:16px;
}

.apply-card{
  padding:18px;
}

.apply-steps{
  display:grid;
  gap:10px;
  margin:14px 0 0;
  padding:0;
  list-style:none;
}

.apply-steps li{
  padding:12px 14px;
  border-radius:14px;
  background:#fffaf0;
  border:1px solid #f7e8b1;
  color:#374151;
  line-height:1.7;
}

.quick-facts{
  display:grid;
  gap:10px;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  margin:14px 0;
}

.quick-facts div{
  padding:12px;
  border-radius:14px;
  background:#fff8d6;
  border:1px solid #f7e8b1;
}

.quick-facts strong,
.quick-facts span{
  display:block;
}

.quick-facts strong{
  margin-bottom:4px;
  color:#92400e;
  font-size:12px;
}

.quick-facts span{
  color:#111827;
  font-weight:800;
}

.form-direct-link{
  margin-top:16px;
  padding:14px;
  border-radius:16px;
  background:#f9fafb;
  border:1px solid #e5e7eb;
}

.form-direct-link p{
  margin:0 0 10px;
}

.apply-iframe-shell{
  margin-top:16px;
  min-height:840px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e5e7eb;
  background:#fff;
  box-shadow:0 14px 36px rgba(15,23,42,0.08);
}

.apply-iframe-shell iframe{
  width:100%;
  min-height:840px;
  border:0;
  display:block;
}

.faq-grid{
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}

.faq-card{
  padding:18px;
  border-top:4px solid var(--accent);
}

.faq-card h3{
  font-size:18px;
}

.faq-card .answer{
  margin-top:6px;
}

.conversion-panel{
  padding:20px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(17,24,39,0.92), rgba(55,65,81,0.92));
  color:#fff;
  box-shadow:0 14px 36px rgba(15,23,42,0.16);
}

.conversion-panel h2{
  margin:0 0 8px;
  font-size:22px;
}

.conversion-panel p{
  margin:0 0 16px;
  color:rgba(255,255,255,0.9);
  line-height:1.8;
}

.map-link-card{
  display:block;
  padding:18px;
  border-radius:14px;
  background:#fff8d6;
  border:1px solid #f7e8b1;
  color:#111827;
  font-weight:800;
  text-align:center;
  text-decoration:none;
}

.page-footer{
  text-align:center;
  padding:26px 16px 96px;
  color:#6b7280;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin-top:10px;
}

.footer-links a{
  color:#374151;
  text-decoration:none;
  font-weight:700;
}

.fixed-cta{
  width:min(92vw, 440px);
  max-width:calc(100vw - 24px);
  box-sizing:border-box;
  left:50%;
  transform:translateX(-50%);
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  transition:transform 0.25s ease, opacity 0.25s ease;
}

.fixed-cta a{
  display:block;
  width:100%;
  box-sizing:border-box;
  padding:14px 18px;
  border-radius:999px;
  background:rgba(250,204,21,0.96);
  color:#111827;
  border:1px solid rgba(17,24,39,0.16);
  box-shadow:0 10px 28px rgba(15,23,42,0.18);
  font-size:15px;
}

@media (min-width:768px){
  body[data-page="index"] main,
  body[data-page="nyuudan"] main,
  body[data-page="apply"] main{
    padding-top:96px;
  }

  .apply-layout{
    grid-template-columns:1.1fr 0.9fr;
    align-items:start;
  }

  .fixed-cta{
    width:min(88vw, 360px);
  }
}

@media (max-width:767px){
  .hero{
    min-height:78vh;
    padding:24px 12px;
  }

  body[data-page="index"] .hero{
    min-height:auto;
    padding:48px 24px 54px;
    border-radius:22px;
  }

  body[data-page="index"] .hero::before{
    top:-120px;
    right:-135px;
    width:280px;
    height:280px;
    border-width:44px;
  }

  body[data-page="index"] .hero::after{
    bottom:-220px;
    left:-230px;
    width:390px;
    height:390px;
  }

  .hero-inner{
    border-radius:20px;
  }

  .hero-actions .btn{
    min-width:0;
    width:100%;
  }

  .section-cta{
    padding:16px;
  }

  .section-cta .btn{
    width:100%;
    text-align:center;
  }

  .apply-iframe-shell,
  .apply-iframe-shell iframe{
    min-height:760px;
  }

  .page-footer{
    padding-bottom:120px;
  }

  .fixed-cta{
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    width:min(92vw, 360px);
    max-width:calc(100vw - 24px);
    box-sizing:border-box;
  }

  .fixed-cta a{
    box-sizing:border-box;
    font-size:14px;
    padding:12px 16px;
  }
}

/* ============================================================
   Nyuudan page
   ============================================================ */
body.nyuudan-page .hero-compact{
  min-height:44vh;
}

body.nyuudan-page .hero-inner{
  max-width:820px;
}

.info-table{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
  font-size:14px;
}

.info-table th,
.info-table td{
  padding:10px 8px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
}

.info-table th{
  color:#374151;
  background:#fff9d6;
  font-weight:700;
}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.mini-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#fff8d6;
  color:#92400e;
  font-size:12px;
  font-weight:800;
}

.step-grid{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}

.step-card{
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(226,232,240,0.9);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(15,23,42,0.06);
  padding:18px;
}

.step-index{
  display:inline-flex;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--accent);
  color:#111827;
  font-weight:800;
  margin-bottom:10px;
}

.step-card h3{
  margin:0 0 8px;
  font-size:18px;
}

.step-card p{
  margin:0;
  color:#374151;
  line-height:1.8;
}

.map-grid{
  display:grid;
  gap:14px;
}

.map-card{
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(226,232,240,0.9);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(15,23,42,0.06);
  overflow:hidden;
}

.map-card summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:16px 18px;
  background:linear-gradient(180deg, #fffef5 0%, #fff 100%);
  border-bottom:1px solid rgba(226,232,240,0.8);
}

.map-card summary::-webkit-details-marker{
  display:none;
}

.map-title{
  font-size:18px;
  font-weight:800;
  color:#111827;
}

.map-body{
  padding:16px 18px 18px;
}

.map-body p{
  margin:0 0 14px;
  line-height:1.8;
  color:#374151;
}

.map-frame{
  width:100%;
  height:320px;
  border:0;
  border-radius:14px;
  overflow:hidden;
  display:block;
}

@media (max-width:767px){
  body.nyuudan-page .hero-compact{
    min-height:50vh;
  }

  .map-frame{
    height:260px;
  }
}

/* ============================================================
   Game results page
   ============================================================ */
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

body.games-page{
  background:#f5f7f4;
}

body.games-page .brand{
  color:inherit;
  text-decoration:none;
}

.games-hero{
  padding:72px 24px 58px;
  text-align:center;
  background:linear-gradient(145deg, #063b25 0%, #0b6842 58%, #d9a514 160%);
  color:#fff;
}

.games-hero h1{
  margin:6px 0 12px;
  font-size:clamp(2.2rem, 7vw, 4.2rem);
  letter-spacing:.08em;
}

.games-hero p{
  max-width:680px;
  margin:0 auto;
  line-height:1.8;
}

.games-eyebrow{
  color:#f7cf55;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.24em;
}

.games-section{
  max-width:1040px;
}

.games-filter-panel{
  border:1px solid rgba(11,104,66,.14);
  border-radius:22px;
  background:linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,249,246,.98));
  box-shadow:0 16px 42px rgba(15,62,42,.09);
  overflow:hidden;
}

.games-filter-panel summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 22px;
  color:#173d2d;
  cursor:pointer;
  list-style:none;
}

.games-filter-panel summary::-webkit-details-marker{ display:none; }
.games-filter-panel summary > span:first-child{ display:grid; gap:2px; }
.games-filter-panel summary small{
  color:#b17d00;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.16em;
}
.games-filter-panel summary strong{ font-size:1.12rem; letter-spacing:.04em; }

.games-filter-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#315a47;
  font-size:.82rem;
  font-weight:800;
}

.games-filter-toggle::after{
  content:"＋";
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid #b8cbbf;
  border-radius:50%;
  background:#fff;
  font-size:1rem;
}

.games-filter-panel[open] .games-filter-toggle::after{ content:"−"; }

.games-filters{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  padding:0 22px 22px;
}

.games-filter-actions{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:16px;
  border-bottom:1px solid #dce8e0;
  padding-bottom:14px;
}

.games-filter-actions p{ margin:0; color:#64748b; font-size:.84rem; }

.games-filters label{
  display:grid;
  min-width:0;
  gap:8px;
  padding:13px 14px 14px;
  border:1px solid #dce8e0;
  border-radius:14px;
  background:rgba(255,255,255,.82);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.games-filters label:focus-within{
  border-color:#0b6842;
  box-shadow:0 0 0 3px rgba(11,104,66,.11);
  transform:translateY(-1px);
}

.games-filter-label{
  color:#496357;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.05em;
}

.games-filters select,
.games-filters input{
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
  height:44px;
  padding:0 13px;
  border:1px solid #c8d8ce;
  border-radius:10px;
  background-color:#fff;
  color:#17211b;
  font:inherit;
  font-size:.95rem;
  outline:none;
  transition:border-color .2s ease, background-color .2s ease;
}

.games-date-control{
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
  height:44px;
  overflow:hidden;
  border:1px solid #c8d8ce;
  border-radius:10px;
  background:#fff;
  transition:border-color .2s ease, background-color .2s ease;
}

.games-date-control:hover{
  border-color:#7da18d;
}

.games-date-control:focus-within{
  border-color:#0b6842;
  background:#fbfffc;
}

.games-date-control input[type="date"]{
  -webkit-appearance:none;
  appearance:none;
  border:0;
  border-radius:0;
  background:transparent;
  inline-size:100%;
  min-inline-size:0;
  max-inline-size:100%;
  block-size:100%;
  min-block-size:0;
  -webkit-min-logical-width:0;
}

.games-date-control input[type="date"]:focus{
  border:0;
  background:transparent;
}

.games-filters input::placeholder{
  color:#94a39b;
}

.games-filters select:hover,
.games-filters input:hover{
  border-color:#7da18d;
}

.games-filters select:focus,
.games-filters input:focus{
  border-color:#0b6842;
  background-color:#fbfffc;
}

.games-filters select{
  padding-right:38px;
}

.games-filter-clear{
  min-height:40px;
  padding:0 16px;
  border:1px solid #b8cbbf;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  color:#315a47;
  font:inherit;
  font-size:.82rem;
  font-weight:800;
  cursor:pointer;
  transition:border-color .2s ease, color .2s ease, background-color .2s ease;
}

.games-filter-clear:hover,
.games-filter-clear:focus-visible{
  border-color:#0b6842;
  background:#edf8f1;
  color:#0b6842;
  outline:none;
}

@media (max-width:900px){
  .games-filters{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:600px){
  .games-filter-panel{ border-radius:18px; }
  .games-filter-panel summary{ min-height:48px; padding:14px 16px; }
  .games-filter-panel summary strong{ font-size:1rem; }
  .games-filter-toggle{ font-size:.76rem; }

  .games-filters{
    grid-template-columns:1fr;
    gap:10px;
    padding:0 16px 16px;
  }

  .games-filter-actions{ align-items:flex-end; }
  .games-filter-actions p{ max-width:190px; }

  .games-filter-clear{
    min-height:36px;
    padding:0 12px;
    font-size:.76rem;
  }

  .games-filters label{
    padding:11px 12px 12px;
  }
}

.games-summary{
  display:inline-block;
  margin:18px 8px 12px 2px;
  color:#64748b;
  font-size:.9rem;
}

.games-order-note{
  display:inline-block;
  margin:0 0 12px;
  color:#64748b;
  font-size:.82rem;
}

.games-order-note::before{ content:"・"; }

.games-list{
  display:grid;
  gap:18px;
}

.games-more{
  display:block;
  min-height:44px;
  margin:22px auto 0;
  padding:10px 22px;
  border:1px solid #174e7a;
  border-radius:999px;
  background:#fff;
  color:#174e7a;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

.games-more[hidden]{ display:none; }
.games-more:hover{ background:#eef6fc; }
.games-more:focus-visible{ outline:2px solid #0056b3; outline-offset:3px; }

.game-card{
  overflow:hidden;
  padding:22px;
  border:1px solid #dfe7e1;
  border-left-width:5px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 34px rgba(15,23,42,.06);
  scroll-margin-top:90px;
}

.game-card.is-linked{
  border-color:#c28a00;
  box-shadow:0 0 0 2px rgba(194,138,0,.16), 0 12px 34px rgba(15,23,42,.06);
}

.game-card.result-win{ border-left-color:#16a34a; }
.game-card.result-loss{ border-left-color:#dc2626; }
.game-card.result-draw{ border-left-color:#64748b; }

.game-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.game-card-head > div{ min-width:0; }

.game-card-head time{
  color:#64748b;
  font-size:.84rem;
  font-weight:700;
}

.game-card-head h3{
  margin:5px 0 0;
  color:#17211b;
  font-size:clamp(1rem, 3vw, 1.25rem);
}

.result-badge{
  flex:0 0 auto;
  padding:7px 12px;
  border-radius:999px;
  font-size:.8rem;
  font-weight:800;
  white-space:nowrap;
}

.result-badge.win{ background:#dcfce7; color:#166534; }
.result-badge.loss{ background:#fee2e2; color:#991b1b; }
.result-badge.draw{ background:#e2e8f0; color:#475569; }

.game-score-lead{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:12px;
  margin:20px 0;
  color:#17211b;
}

.game-score-lead strong{
  font-size:clamp(2.2rem, 8vw, 3.5rem);
  line-height:1;
}

.game-score-lead small{
  margin-left:8px;
  color:#475569;
  font-weight:700;
}

.score-table-wrap{
  overflow-x:auto;
  border:1px solid #e2e8f0;
  border-radius:10px;
}

.score-table{
  width:100%;
  min-width:540px;
  border-collapse:collapse;
  text-align:center;
  font-size:.88rem;
}

.score-table th,
.score-table td{
  padding:10px 9px;
  border-right:1px solid #e2e8f0;
  border-bottom:1px solid #e2e8f0;
}

.score-table tr:last-child th,
.score-table tr:last-child td{ border-bottom:0; }
.score-table th:last-child,
.score-table td:last-child{ border-right:0; }
.score-table thead th{ background:#f1f5f2; color:#52625a; font-weight:800; }
.score-table tbody th{ min-width:130px; text-align:left; }
.score-table .friends-row{ background:#fffbeb; }
.score-table .total{ color:#064e3b; font-weight:900; }

.game-details summary{ display:none; }

.game-meta{
  margin:13px 0 0;
  color:#64748b;
  font-size:.82rem;
}

@media (max-width:767px){
  body[data-page="index"] .btn-game-results{ display:none; }
  .games-hero{ padding:36px 20px 30px; }
  .games-hero h1{ font-size:2.2rem; }
  .games-hero p{ font-size:.9rem; }
  .games-order-note{ display:block; margin-top:-7px; }
  .games-order-note::before{ content:""; }
  .game-card{ padding:16px; border-radius:14px; }
  .game-card-head{ gap:8px; }
  .game-card-head > div{ flex:1; }
  .game-score-lead{ flex-wrap:wrap; gap:8px; }
  .game-score-lead small{ flex-basis:100%; margin:3px 0 0; text-align:center; }
  .game-details summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:44px;
    padding:10px 2px;
    border-top:1px solid #e2e8f0;
    color:#174e7a;
    font-size:.88rem;
    font-weight:700;
    cursor:pointer;
    list-style:none;
  }
  .game-details summary::-webkit-details-marker{ display:none; }
  .game-details summary::after{ content:"＋"; font-size:1.2rem; line-height:1; }
  .game-details[open] summary::after{ content:"－"; }
  .game-details[open] .score-table-wrap{ margin-top:8px; }
  .game-details summary:focus-visible{ outline:2px solid #0056b3; outline-offset:3px; }
}
