/* ============================================================
   2026-10-12 大規模修繕（3サイト診断シート反映）
   - 文章と見出しは左ぞろえ（中央ぞろえは最初の画面とCTAだけ）
   - 影はごく薄く、角丸は16pxにそろえる（ボタンは完全な丸）
   - トップの最初の画面は「大きな写真1枚＋小さな写真2枚」
   全ページで読み込む。既存CSSの後ろに置くこと。
   ============================================================ */
:root {
  --shadow:    0 1px 2px rgba(0, 0, 0, .05);
  --shadow-lg: 0 2px 8px rgba(0, 0, 0, .06);
  --radius:    16px;
}

/* ---------- 見出し・説明文を左ぞろえに ---------- */
main .section-title,
main .section-header,
main .section-header h2,
main .section-desc,
main .section-header p {
  text-align: left;
  margin-left: 0;
}
main .section-title::after,
main .section-header h2::after {
  left: 0;
  transform: none;
}
main .section-desc {
  max-width: 44em;
  margin-bottom: 40px;
}

/* カードの影を薄く */
.feature-card,
.page-link-card,
.sponsor-card,
.schedule-card {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
}
.feature-card:hover,
.page-link-card:hover,
.sponsor-card:hover {
  box-shadow: 0 0 0 1px rgba(26, 107, 60, .25);
  transform: none;
}

/* ---------- トップ：最初の画面の写真 ---------- */
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  width: 100%;
}
.hero-photos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.hero-photos__main {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
}
.hero-photos__sub {
  aspect-ratio: 3 / 2;
}
.hero-photos__note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
}
.hero .hero-actions .btn-primary {
  box-shadow: none;
}
@media (max-width: 992px) {
  .hero-photos {
    max-width: 680px;
  }
}

/* ---------- トップ：初めての方へ（左右2列・文章だけ） ---------- */
.first-timers__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
  align-items: start;
}
.first-timers__title {
  font-size: clamp(26px, 3.4vw, 34px);
  color: var(--primary-dark);
  line-height: 1.4;
}
.first-timers__lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.first-timers__list dt {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 17px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.first-timers__list dd {
  margin: 6px 0 18px;
  color: var(--text-mid);
  line-height: 1.9;
}
@media (max-width: 768px) {
  .first-timers__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- 最後の呼びかけの補足 ---------- */
.cta-subnote {
  margin-top: 16px;
  font-size: 14px;
}
.cta-subnote a {
  text-decoration: underline;
}

/* ---------- 表（料金表など） ---------- */
.jw-table-wrap {
  margin: 24px 0;
}
.jw-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}
.jw-table caption {
  text-align: left;
  font-weight: 800;
  color: var(--primary-dark);
  padding: 0 0 8px;
}
.jw-table th,
.jw-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.jw-table thead th {
  background: #eef5f0;
  color: var(--primary-dark);
  font-weight: 700;
}
@media (max-width: 600px) {
  .jw-table--stack thead {
    display: none;
  }
  .jw-table--stack tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff;
  }
  .jw-table--stack td,
  .jw-table--stack th {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    padding: 6px 0;
  }
  .jw-table--stack td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-mid);
    flex: 0 0 auto;
  }
  .jw-table--stack th[scope="row"] {
    font-size: 16px;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
  }
}

/* ---------- お知らせの一覧（日付・種類・タイトル） ---------- */
.news-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.news-index details {
  border-bottom: 1px solid var(--border);
}
.news-index summary {
  display: grid;
  grid-template-columns: 9em 7em 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
}
.news-index summary::-webkit-details-marker {
  display: none;
}
.news-index__date {
  color: var(--text-light);
  font-size: 14px;
}
.news-index__tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 2px 10px;
  justify-self: start;
}
.news-index__title {
  font-weight: 700;
  color: var(--text-dark);
}
.news-index__body {
  padding: 0 4px 20px;
  color: var(--text-mid);
  line-height: 1.9;
}
@media (max-width: 600px) {
  .news-index summary {
    grid-template-columns: auto 1fr;
  }
  .news-index__title {
    grid-column: 1 / -1;
  }
}

/* ---------- 下層ページの写真 ---------- */
.page-photo {
  margin: 24px 0 32px;
}
.page-photo img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
}
.page-photo figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
}
.sports-hero-note {
  margin-top: 12px;
  font-size: 14px;
}
.sports-hero-note a {
  text-decoration: underline;
}
.sports-detail-toggle > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
  padding: 12px 0;
}
.sports-detail-toggle[open] > summary {
  margin-bottom: 16px;
}
.sports-hero .sports-hero-note,
.sports-hero .sports-hero-note a,
.sports-hero .page-photo figcaption {
  color: rgba(255, 255, 255, .9);
}

/* ---------- 参加費・入会ページ ---------- */
.fee-image-toggle > summary,
.rules-toggle > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
  padding: 10px 0;
}
.fee-image-toggle .price-image-wrapper {
  display: block;
  max-width: 640px;
  margin-top: 8px;
}
.mv-link {
  margin: 8px 0 32px;
}
@media (max-width: 600px) {
  .jw-table--stack td[colspan] {
    display: block;
  }
  .jw-table--stack td[colspan]::before {
    display: block;
    margin-bottom: 2px;
  }
}
.fee-group-title {
  font-weight: 800;
  color: var(--primary-dark);
  margin: 24px 0 8px;
}
.fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.jw-table--compact {
  font-size: 14px;
}
.jw-table--compact th,
.jw-table--compact td {
  padding: 6px 8px;
  text-align: right;
}
.jw-table--compact th[scope="row"],
.jw-table--compact caption {
  text-align: left;
}
.jw-table--compact td[colspan] {
  text-align: center;
}

/* ---------- お知らせページ：日付・種類・タイトルの一覧 ---------- */
.news-list .news-item {
  padding: 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.news-list .news-item > details > summary.news-row {
  display: grid;
  grid-template-columns: 9.5em 8em 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
}
.news-list .news-item > details > summary::-webkit-details-marker {
  display: none;
}
.news-list .news-row .news-title {
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
}
.news-list .news-row .news-tag {
  justify-self: start;
}
.news-list .news-item .news-body {
  padding: 0 4px 20px;
}
@media (max-width: 600px) {
  .news-list .news-item > details > summary.news-row {
    grid-template-columns: auto 1fr;
  }
  .news-list .news-row .news-title {
    grid-column: 1 / -1;
  }
}

/* ---------- 紫のグラデーションをやめる（緑にそろえる） ---------- */
.ai-source-message {
  background: var(--primary-dark);
  box-shadow: none;
}
.btn-primary--hero-ai {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}
.ai-onsite-event--past {
  opacity: .92;
}
/* AIラボの制作例：紫をやめて緑の濃淡に */
.ai-play-showcase {
  background: #0f3d24;
}
.ai-play-showcase::before {
  display: none;
}
.ai-play-card,
.ai-play-card--game .ai-play-card__visual,
.ai-play-card--lp .ai-play-card__visual,
.ai-play-card--tool .ai-play-card__visual,
.ai-play-card__visual {
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
  backdrop-filter: none;
}
.ai-play-orb {
  background: #fff;
  box-shadow: none;
  animation: none;
}
.ai-play-demo-link {
  background: #e8a817 !important;
  color: #2a332c !important;
}

/* ---------- 2026-10-12 トップ：ヘッダー・スケジュール・フッターだけの構成 ---------- */
.top-intro {
  padding: 110px 0 8px;
  background: #faf8f3;
}
.top-intro__badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 14px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}
.top-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.4;
  color: var(--primary-dark);
}
.top-intro__lede {
  margin: 0;
  color: var(--text-mid);
  max-width: 44em;
}
.top-intro + .schedule-section {
  padding-top: 32px;
}
@media (max-width: 768px) {
  .top-intro { padding-top: 90px; }
}
.mvv-vision {
  margin: 0 0 8px;
  padding-left: 1.2em;
  line-height: 1.9;
}
.mvv-vision li + li {
  margin-top: 6px;
}
.news-list .news-body ul {
  margin: 8px 0 12px;
  padding-left: 1.2em;
  line-height: 1.9;
}
.news-list .news-body li + li {
  margin-top: 4px;
}

/* ---------- 種目別ページ（tools/gen_sport_pages.py） ---------- */
.sport-page-hero { padding: 110px 0 48px; }
.sport-page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 8px 0 12px; }
.sport-page-hero .sports-hero-sub { color: rgba(255,255,255,.92); }
.breadcrumb-nav { font-size: 13px; color: rgba(255,255,255,.85); }
.breadcrumb-nav a { color: inherit; text-decoration: underline; }
.sport-page__body { max-width: 820px; }
.sport-page__body h2 { font-size: 22px; color: var(--primary-dark); margin: 40px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }
.sport-page__body p { line-height: 1.9; margin: 0 0 12px; }
.sport-page__body .btn-group { margin: 16px 0; }
.sport-page__others { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.sport-page__others a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--primary); border-radius: 999px; color: var(--primary); text-decoration: none; font-weight: 700; }
.sport-page__body .sports-faq-item summary { cursor: pointer; font-weight: 700; padding: 12px 0; }

/* ---------- 2026-10-12 右下の浮いたボタンは「質問する（チャット）」1つに。LINEはチャットの中とフッターから ---------- */
.floating-line { display: none !important; }
