:root {
  /* オレンジ系 */
  --green-900: #9a3412;
  --green-800: #c2410c;
  --green-700: #ea580c;
  --green-600: #f97316;
  --green-100: #ffedd5;
  --green-050: #fff7ed;

  /* 補助色 */
  --yellow: #fde047;
  --orange: #f97316;
  --red: #b91c1c;
  --blue: #1e3a5f;

  /* 無彩色 */
  --white: #ffffff;
  --gray-900: #292524;
  --gray-700: #57534e;
  --gray-500: #78716c;
  --gray-300: #d6d3d1;
  --gray-200: #e7e5e4;
  --gray-100: #f5f5f4;

  /* 共通設定 */
  --shadow: 0 8px 28px rgba(194, 65, 12, 0.14);
  --radius: 16px;
  --content-width: 1120px;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

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

a {
  color: var(--green-700);
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

/* アクセシビリティ */

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ヘッダー */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(234, 88, 12, 0.98);
  box-shadow: 0 3px 16px rgba(154, 52, 18, 0.22);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.logo-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 10px;
  border-radius: 8px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.17);
}

.nav-list .nav-cta {
  margin-left: 8px;
  padding-inline: 16px;
  color: #472000;
  background: var(--yellow);
  box-shadow: 0 3px 10px rgba(68, 24, 0, 0.15);
}

.nav-list .nav-cta:hover {
  color: var(--white);
  background: var(--blue);
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

/* トップページのメインビジュアル */

.hero {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(124, 45, 18, 0.92) 0%,
      rgba(234, 88, 12, 0.7) 58%,
      rgba(249, 115, 22, 0.36) 100%
    ),
    url("images/hero.jpg") center / cover no-repeat,
    var(--green-600);
}

.hero-content {
  max-width: 820px;
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.35;
  text-shadow: 0 3px 14px rgba(68, 24, 0, 0.3);
}

.hero-text {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* ボタン */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 2px solid var(--green-700);
  border-radius: 999px;
  color: var(--white);
  background: var(--green-700);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  color: var(--white);
  border-color: var(--green-900);
  background: var(--green-900);
  transform: translateY(-1px);
}

.button-accent {
  border-color: var(--yellow);
  color: #472000;
  background: var(--yellow);
}

.button-accent:hover {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.button-outline {
  border-color: currentColor;
  color: var(--green-800);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--green-800);
  color: var(--white);
  background: var(--green-800);
}

.hero .button-outline {
  color: var(--white);
}

/* セクション */

.section {
  padding-block: 80px;
}

.section-soft {
  background: var(--green-050);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, var(--green-900), var(--green-700));
}

.section-title {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.4;
  text-align: center;
}

.section-title::after {
  display: block;
  width: 52px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--orange);
  content: "";
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-title::after {
  background: var(--yellow);
}

.section-lead {
  max-width: 760px;
  margin: 0 auto 40px;
  color: var(--gray-700);
  text-align: center;
}

.section-dark .section-lead {
  color: var(--gray-200);
}

/* 下層ページ見出し */

.page-header {
  padding-block: 64px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      #c2410c 0%,
      #ea580c 52%,
      #f97316 100%
    );
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.page-header h1::after {
  display: block;
  width: 58px;
  height: 5px;
  margin-top: 15px;
  border-radius: 999px;
  background: var(--yellow);
  content: "";
}

.page-header p {
  max-width: 760px;
  margin: 12px 0 0;
}

.breadcrumb {
  padding-block: 14px;
  color: var(--gray-700);
  background: var(--gray-100);
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  color: var(--green-600);
  content: "/";
}

/* グリッド・カード */

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

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  margin-top: 0;
  color: var(--green-900);
  line-height: 1.5;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--green-600);
}

.feature-card::after {
  position: absolute;
  right: -35px;
  bottom: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(232, 93, 4, 0.07);
  content: "";
}

.feature-number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
  font-weight: 900;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding-block: 10px;
  border-bottom: 1px solid var(--gray-200);
}

.info-list li:last-child {
  border: 0;
}

/* お知らせ */

.notice {
  padding: 18px 22px;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  color: #4f2b14;
  background: #fff0e2;
}

.notice-danger {
  border-color: var(--red);
  color: #641e19;
  background: #fff0ef;
}

/* ステータス表示 */

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.badge-ok {
  color: #783000;
  background: #ffe1c4;
}

.badge-consult {
  color: #664900;
  background: #fff0b8;
}

.badge-no {
  color: #6f2824;
  background: #f9dcd9;
}

/* スケジュール */

.schedule-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--green-600);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(157, 53, 0, 0.07);
}

.schedule-date {
  color: var(--green-800);
  font-weight: 900;
}

.schedule-item h3 {
  margin: 0 0 4px;
  color: var(--gray-900);
}

.schedule-item p {
  margin: 0;
  color: var(--gray-700);
}

.schedule-action {
  min-width: 160px;
  text-align: right;
}

/* 表 */

.table-wrap {
  overflow-x: auto;
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 14px;
  border: 1px solid var(--gray-300);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--white);
  background: var(--green-800);
}

tbody tr:nth-child(even) {
  background: var(--green-050);
}

/* 定義リスト */

.definition-list {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
}

.definition-list dt,
.definition-list dd {
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid var(--gray-300);
}

.definition-list dt {
  color: var(--green-900);
  font-weight: 800;
  background: #fff0e3;
}

.definition-list dt:last-of-type,
.definition-list dd:last-of-type {
  border-bottom: 0;
}

/* 体験手順 */

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.step-list li {
  position: relative;
  padding: 70px 22px 24px;
  border: 1px solid var(--gray-200);
  border-top: 5px solid var(--green-600);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.step-list li::before {
  position: absolute;
  top: 18px;
  left: 22px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
  font-weight: 900;
  counter-increment: step;
  content: counter(step);
}

/* よくある質問 */

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

.faq details {
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: var(--white);
}

.faq details[open] {
  border-color: var(--green-600);
  box-shadow: 0 4px 12px rgba(157, 53, 0, 0.08);
}

.faq summary {
  padding: 18px 22px;
  color: var(--green-900);
  font-weight: 800;
  cursor: pointer;
}

.faq details > div {
  padding: 0 22px 18px;
}

/* 選手紹介 */

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.anchor-nav a {
  padding: 8px 14px;
  border: 1px solid var(--green-700);
  border-radius: 999px;
  color: var(--green-800);
  font-weight: 700;
  text-decoration: none;
}

.anchor-nav a:hover {
  color: var(--white);
  background: var(--green-700);
}

.player-section {
  padding-top: 90px;
  margin-top: -70px;
}

.player-section > h2 {
  padding-bottom: 10px;
  border-bottom: 4px solid var(--green-600);
  color: var(--green-900);
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.player-card {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.player-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--gray-200);
}

.player-content {
  padding: 18px;
  border-top: 4px solid var(--green-600);
}

.player-content h3 {
  margin: 0 0 10px;
  color: var(--green-900);
}

.player-content p {
  margin: 6px 0;
}

/* アーカイブ */

.archive-list {
  display: grid;
  gap: 16px;
}

.archive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--green-600);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(157, 53, 0, 0.07);
}

.archive-item h3 {
  margin-top: 0;
  color: var(--green-900);
}

/* フォーム */

.form {
  max-width: 800px;
  margin-inline: auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-900);
  font-weight: 800;
}

.required {
  margin-left: 6px;
  color: var(--red);
  font-size: 0.8rem;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--gray-500);
  border-radius: 8px;
  color: var(--gray-900);
  background: var(--white);
}

.form-control:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.14);
  outline: none;
}

textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.form-help {
  margin: 6px 0 0;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* 申込誘導 */

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      #c2410c 0%,
      #ea580c 55%,
      #f97316 100%
    );
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  border: 18px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.cta-panel::before {
  top: -70px;
  left: -70px;
  width: 170px;
  height: 170px;
}

.cta-panel::after {
  right: -90px;
  bottom: -100px;
  width: 220px;
  height: 220px;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
}

/* フッター */

.site-footer {
  padding-top: 54px;
  color: #ffedd5;
  background: #7c2d12;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #f8e7db;
}

.footer-bottom {
  margin-top: 40px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ead1c0;
  font-size: 0.86rem;
  text-align: center;
}

.mobile-fixed-cta {
  display: none;
}

/* 汎用 */

.muted {
  color: var(--gray-700);
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

/* タブレット */

@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 16px;
    background: var(--green-900);
    box-shadow: 0 12px 20px rgba(68, 24, 0, 0.24);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    display: grid;
  }

  .nav-list .nav-cta {
    margin: 6px 0 0;
    text-align: center;
  }

  .grid-3,
  .player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-item {
    grid-template-columns: 100px 1fr;
  }

  .schedule-action {
    grid-column: 2;
    text-align: left;
  }
}

/* スマートフォン */

@media (max-width: 680px) {
  body {
    padding-bottom: 66px;
  }

  .section {
    padding-block: 56px;
  }

  .hero {
    min-height: 540px;
    background:
      linear-gradient(
        90deg,
        rgba(124, 45, 18, 0.94),
        rgba(234, 88, 12, 0.68)
      ),
      url("images/hero.jpg") center / cover no-repeat,
      var(--green-600);
  }


  .grid-2,
  .grid-3,
  .player-grid,
  .step-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .definition-list {
    grid-template-columns: 1fr;
  }

  .definition-list dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .definition-list dd {
    padding-top: 4px;
  }

  .schedule-item {
    grid-template-columns: 1fr;
  }

  .schedule-action {
    grid-column: auto;
  }

  .archive-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel {
    padding: 32px 20px;
  }

  .mobile-fixed-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: block;
    padding: 8px 16px;
    background: #7c2d12;
    box-shadow: 0 -4px 14px rgba(124, 45, 18, 0.22);
  }

  .mobile-fixed-cta .button {
    width: 100%;
  }
}

/* 集合写真 */

.team-photo-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      var(--white) 0%,
      var(--green-050) 100%
    );
}

.team-photo-heading {
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  color: var(--green-700);
  text-align: center;
}

.team-photo {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 24px;
  background: var(--gray-200);
  box-shadow:
    0 18px 45px rgba(154, 52, 18, 0.18),
    0 0 0 1px rgba(234, 88, 12, 0.08);
}

.team-photo picture {
  display: block;
}

.team-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.team-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 20px 16px;
  color: var(--white);
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(70, 28, 8, 0.82)
    );
  font-size: 0.9rem;
  text-align: right;
}

.team-photo-buttons {
  justify-content: center;
  margin-top: 30px;
}

/* 年間ランキング */

.ranking-section {
  background:
    linear-gradient(
      180deg,
      var(--green-050) 0%,
      var(--white) 100%
    );
}

.ranking-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: var(--content-width);
  margin: 0 auto 24px;
}

.ranking-year-select {
  min-height: 44px;
  padding: 8px 38px 8px 14px;
  border: 1px solid var(--gray-500);
  border-radius: 8px;
  color: var(--gray-900);
  background: var(--white);
  font-weight: 700;
}

.ranking-year-select:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16);
  outline: none;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.ranking-card {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.ranking-card-header {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--green-800),
      var(--green-600)
    );
}

.ranking-card-header h3 {
  margin: 2px 0 0;
  color: var(--white);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.4;
}

.ranking-label {
  margin: 0;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.ranking-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.65rem;
  font-weight: 900;
}

.ranking-icon-assist {
  font-size: 1.4rem;
}

.ranking-table {
  min-width: 460px;
}

.ranking-table th {
  padding: 12px 10px;
  color: var(--gray-900);
  background: #ffedd5;
  white-space: nowrap;
}

.ranking-table td {
  padding: 14px 10px;
  vertical-align: middle;
}

.ranking-table th:first-child,
.ranking-table td:first-child {
  width: 68px;
  text-align: center;
}

.ranking-table th:last-child,
.ranking-table td:last-child {
  width: 90px;
  color: var(--green-900);
  text-align: center;
}

.ranking-table tbody tr:nth-child(even) {
  background: var(--green-050);
}

.rank-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--gray-700);
  background: var(--gray-200);
  font-weight: 900;
}

.rank-first .rank-number {
  color: #5c4200;
  background: #ffd84d;
  box-shadow: 0 2px 8px rgba(151, 105, 0, 0.22);
}

.rank-second .rank-number {
  color: #3f4549;
  background: #d9dfe3;
}

.rank-third .rank-number {
  color: #633416;
  background: #d89a6a;
}

.rank-first td {
  font-weight: 700;
}

.ranking-note {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 5px solid var(--green-600);
  border-radius: 8px;
  background: #fff4e8;
}

.ranking-note h3 {
  margin: 0 0 8px;
  color: var(--green-900);
}

.ranking-note ul {
  margin: 0;
}

/* 画面読み上げ用 */

.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;
}

@media (max-width: 960px) {
  .ranking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ranking-header {
    align-items: stretch;
    flex-direction: column;
  }

  .ranking-year-select {
    width: 100%;
  }

  .ranking-card-header {
    min-height: auto;
    padding: 18px;
  }

  .ranking-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 1.35rem;
  }

  .ranking-table {
    min-width: 420px;
  }

  .ranking-note {
    padding: 18px;
  }
}

/* 当該年度の試合結果・カテゴリーリンク */

.current-season-record {
  max-width: 960px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-top: 6px solid var(--green-600);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.current-season-header {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--green-800),
      var(--green-600)
    );
}

.current-season-label {
  margin: 0;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.current-season-header h3 {
  margin: 2px 0 0;
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.current-season-update {
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
}

/* 2列×4行のカテゴリー */

.category-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--gray-300);
}

.category-link-grid a {
  position: relative;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  color: var(--gray-900);
  background: var(--white);
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.category-link-grid a::after {
  flex-shrink: 0;
  color: var(--green-700);
  font-size: 1.35rem;
  font-weight: 900;
  content: "›";
  transition: transform 0.2s ease;
}

.category-link-grid a:hover {
  color: var(--green-900);
  background: var(--green-050);
  box-shadow: inset 5px 0 0 var(--green-600);
}

.category-link-grid a:hover::after {
  transform: translateX(3px);
}

.category-link-grid a:focus-visible {
  z-index: 1;
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.category-name {
  color: var(--green-900);
  font-size: 1.1rem;
  font-weight: 900;
}

.category-code {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--green-900);
  background: var(--green-100);
  font-size: 0.74rem;
  font-weight: 800;
}

/* スマートフォンでも2列×4行を維持 */

@media (max-width: 680px) {
  .current-season-header {
    min-height: 96px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
  }

  .category-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-link-grid a {
    min-height: 84px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 12px;
  }

  .category-link-grid a::after {
    position: absolute;
    right: 10px;
  }

  .category-name {
    padding-right: 16px;
    font-size: 1rem;
  }

  .category-code {
    margin-left: 0;
    font-size: 0.66rem;
  }
}

/* アーカイブページ内ナビゲーション */

.archive-page-nav {
  position: sticky;
  top: 76px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 16px rgba(154, 52, 18, 0.08);
  backdrop-filter: blur(8px);
}

.archive-page-nav a {
  padding: 7px 14px;
  border: 1px solid var(--green-700);
  border-radius: 999px;
  color: var(--green-900);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.archive-page-nav a:hover {
  color: var(--white);
  background: var(--green-700);
}

/* 固定ヘッダーに隠れないための移動位置調整 */

#category-menu,
#career-ranking,
#past-records {
  scroll-margin-top: 150px;
}

/* 6年間の通算ランキング */

.ranking-kicker {
  margin: 0 0 6px;
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
}

.ranking-return-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ページ上部へ戻る固定ボタン */

.page-top-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  min-width: 52px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: 2px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 6px 20px rgba(154, 52, 18, 0.3);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.page-top-button:hover {
  color: var(--white);
  background: var(--green-900);
  transform: translateY(-2px);
}

/* ランキング表 */

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.ranking-card {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.ranking-card-header {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--green-800),
      var(--green-600)
    );
}

.ranking-card-header h3 {
  margin: 2px 0 0;
  color: var(--white);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.4;
}

.ranking-label {
  margin: 0;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ranking-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.6rem;
  font-weight: 900;
}

.ranking-icon-assist {
  font-size: 1.35rem;
}

.ranking-table {
  min-width: 500px;
}

.ranking-table th {
  padding: 12px 10px;
  color: var(--gray-900);
  background: var(--green-100);
  white-space: nowrap;
}

.ranking-table td {
  padding: 14px 10px;
  vertical-align: middle;
}

.ranking-table th:first-child,
.ranking-table td:first-child {
  width: 68px;
  text-align: center;
}

.ranking-table th:last-child,
.ranking-table td:last-child {
  width: 100px;
  color: var(--green-900);
  text-align: center;
}

.rank-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--gray-700);
  background: var(--gray-200);
  font-weight: 900;
}

.rank-first .rank-number {
  color: #5c4200;
  background: #ffd84d;
}

.rank-second .rank-number {
  color: #3f4549;
  background: #d9dfe3;
}

.rank-third .rank-number {
  color: #633416;
  background: #d89a6a;
}

.ranking-note {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 5px solid var(--green-600);
  border-radius: 8px;
  background: var(--green-050);
}

.ranking-note h3 {
  margin: 0 0 8px;
  color: var(--green-900);
}

.ranking-note ul {
  margin: 0;
}

/* 画面読み上げ専用 */

.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;
}

@media (max-width: 960px) {
  .ranking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .archive-page-nav {
    top: 76px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 8px;
  }

  .archive-page-nav a {
    display: grid;
    min-height: 44px;
    place-items: center;
    padding: 5px 8px;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
  }

  #category-menu,
  #career-ranking,
  #past-records {
    scroll-margin-top: 145px;
  }

  .ranking-card-header {
    min-height: auto;
    padding: 18px;
  }

  .ranking-table {
    min-width: 470px;
  }

  .ranking-return-nav {
    display: grid;
  }

  .ranking-return-nav .button {
    width: 100%;
  }

  .page-top-button {
    right: 12px;
    bottom: 78px;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
  }

  .page-top-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

.score-unit {
  margin-left: 2px;
  color: var(--gray-700);
  font-size: 0.78rem;
  font-weight: 700;
}

.ranking-table td:nth-child(2) {
  min-width: 150px;
  white-space: nowrap;
}

.ranking-table td:nth-child(3) {
  min-width: 58px;
  white-space: nowrap;
}

.ranking-table td:last-child strong {
  font-size: 1.1rem;
}

/* 6年間通算ランキング・現役選手表示 */

.active-player-guide {
  margin: 0;
  padding: 10px 18px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  background: #fff7ed;
  font-size: 0.86rem;
  font-weight: 700;
}

.active-player-mark {
  color: #f97316;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.career-ranking-table tbody tr.active-player-row {
  background: #fff3e6;
}

.career-ranking-table tbody tr.active-player-row:nth-child(even) {
  background: #ffead7;
}

.career-ranking-table .active-player-row td {
  border-color: #fed7aa;
}

.career-ranking-table .active-player-row td:first-child {
  box-shadow: inset 5px 0 0 #f97316;
}

.career-ranking-table .active-player-row td:nth-child(2) {
  color: var(--green-900);
  font-weight: 900;
}

.career-ranking-table td:nth-child(3) {
  text-align: center;
  white-space: nowrap;
}

.career-ranking-table td:last-child {
  white-space: nowrap;
}

.career-ranking-table td:last-child strong {
  color: var(--green-900);
  font-size: 1.1rem;
}

/* 学年別歴代記録 */

#grade-records,
#hat-trick-records {
  scroll-margin-top: 150px;
}

.grade-record-section {
  background: var(--white);
}

.record-champion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.record-champion-panel,
.hat-trick-panel,
.special-record-panel {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.record-panel-header {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--green-800),
      var(--green-600)
    );
}

.record-panel-header p,
.special-record-header p {
  margin: 0;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.record-panel-header h3,
.special-record-header h3 {
  margin: 3px 0 0;
  color: var(--white);
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  line-height: 1.4;
}

.record-panel-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.4rem;
  font-weight: 900;
}

.record-panel-icon-assist {
  font-size: 1.2rem;
}

.record-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--gray-300);
}

.grade-record-card {
  position: relative;
  min-height: 190px;
  padding: 20px;
  background: var(--white);
}

.grade-record-card.active-player-card {
  background: #fff3e6;
  box-shadow: inset 5px 0 0 var(--green-600);
}

.grade-record-category {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
}

.grade-record-type {
  margin: 10px 0 2px;
  color: var(--gray-700);
  font-size: 0.78rem;
  font-weight: 700;
}

.grade-record-card h4 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.08rem;
}

.grade-record-value {
  margin: 8px 0 0;
  color: var(--green-800);
}

.grade-record-value strong {
  font-size: 2rem;
  line-height: 1;
}

.grade-record-value span {
  margin-left: 3px;
  font-size: 0.85rem;
  font-weight: 800;
}

.grade-record-year {
  margin: 4px 0 0;
  color: var(--gray-700);
  font-size: 0.82rem;
}

.grade-record-guide {
  max-width: 480px;
  margin: 20px auto 0;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  text-align: center;
}

/* ハットトリック記録 */

.hat-trick-guide {
  max-width: 480px;
  margin: 0 auto 24px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  text-align: center;
}

.hat-trick-panel {
  max-width: 960px;
  margin-inline: auto;
}

.hat-trick-table {
  min-width: 620px;
}

.hat-trick-table th:first-child,
.hat-trick-table td:first-child {
  width: 76px;
  text-align: center;
}

.hat-trick-table th:nth-child(3),
.hat-trick-table td:nth-child(3),
.hat-trick-table th:last-child,
.hat-trick-table td:last-child {
  text-align: center;
  white-space: nowrap;
}

.hat-trick-table tbody tr.active-player-row {
  background: #fff3e6;
}

.hat-trick-table tbody tr.active-player-row:nth-child(even) {
  background: #ffead7;
}

.hat-trick-table .active-player-row td {
  border-color: #fed7aa;
}

.hat-trick-table .active-player-row td:first-child {
  box-shadow: inset 5px 0 0 var(--green-600);
}

.hat-trick-table .active-player-row td:nth-child(2) {
  color: var(--green-900);
  font-weight: 900;
}

/* 特別達成記録 */

.special-record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 24px;
  align-items: start;
  margin-top: 32px;
}

.special-record-header {
  display: flex;
  min-height: 100px;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--green-800),
      var(--green-600)
    );
}

.special-record-count {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.5rem;
  font-weight: 900;
}

.special-record-description {
  margin: 0;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  background: var(--green-050);
  font-size: 0.86rem;
}

.achievement-table {
  min-width: 520px;
}

.achievement-table th:nth-child(2),
.achievement-table td:nth-child(2),
.achievement-table th:last-child,
.achievement-table td:last-child {
  text-align: center;
  white-space: nowrap;
}

.triple-record-panel {
  border: 2px solid var(--green-600);
}

.triple-record-highlight {
  padding: 42px 24px;
  background:
    radial-gradient(
      circle at top,
      #fff8dd,
      var(--white) 62%
    );
  text-align: center;
}

.triple-record-crown {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  color: #7c2d12;
  background: var(--yellow);
  box-shadow: 0 8px 20px rgba(194, 65, 12, 0.18);
  font-size: 1.8rem;
}

.triple-record-name {
  margin: 0;
  color: var(--green-900);
  font-size: 1.55rem;
  font-weight: 900;
}

.triple-record-detail {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 0;
  color: var(--gray-700);
  font-weight: 700;
}

@media (max-width: 960px) {
  .record-champion-grid,
  .special-record-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  #grade-records,
  #hat-trick-records {
    scroll-margin-top: 190px;
  }

  .record-panel-header,
  .special-record-header {
    min-height: auto;
    padding: 17px;
  }

  .record-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grade-record-card {
    min-height: 180px;
    padding: 15px 12px;
  }

  .grade-record-card h4 {
    font-size: 0.98rem;
  }

  .grade-record-value strong {
    font-size: 1.7rem;
  }

  .hat-trick-table {
    min-width: 560px;
  }

  .achievement-table {
    min-width: 480px;
  }

  .triple-record-highlight {
    padding: 32px 18px;
  }
}

#double-hat-trick {
  scroll-margin-top: 150px;
}

/* 年度別年間得点王・アシスト王 */

#annual-champions {
  scroll-margin-top: 150px;
}

.annual-champion-section {
  background:
    linear-gradient(
      180deg,
      var(--green-050) 0%,
      var(--white) 100%
    );
}

.annual-champion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.annual-champion-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.annual-champion-table {
  width: 100%;
  min-width: 510px;
  border-collapse: collapse;
}

.annual-champion-table th,
.annual-champion-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.annual-champion-table thead th {
  color: var(--gray-900);
  background: var(--green-100);
  font-size: 0.85rem;
  text-align: left;
  white-space: nowrap;
}

.annual-champion-table tbody th {
  color: var(--green-900);
  background: #fff7ed;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.annual-champion-table tbody tr:nth-child(even) td {
  background: #fffaf5;
}

/* 年度別年間王の列配置を統一 */

.annual-champion-table td:nth-child(2) {
  min-width: 125px;
  color: var(--gray-900);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.annual-champion-table td:nth-child(3) {
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.annual-champion-table td:nth-child(4) {
  text-align: center;
  white-space: nowrap;
}

/* 年度別年間王の通常行・同率行を統一 */

.annual-champion-table .champion-name {
  color: var(--gray-900);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.annual-champion-table .champion-grade {
  color: var(--gray-900);
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.annual-champion-table .champion-record {
  color: var(--green-900);
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

/* strongによる太字を解除して、他の記録数と同じ表示にする */

.annual-champion-table .champion-record strong {
  font-size: inherit;
  font-weight: 400;
}

/* 同率行に残っている列番号指定を上書き */

.annual-champion-table .shared-champion-row .champion-name {
  font-weight: 800;
  text-align: left;
}

.annual-champion-table .shared-champion-row .champion-grade,
.annual-champion-table .shared-champion-row .champion-record,
.annual-champion-table .shared-champion-row .champion-record strong {
  font-weight: 400;
  text-align: center;
}

.annual-champion-note {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-left: 4px solid var(--green-600);
  border-radius: 6px;
  color: var(--gray-700);
  background: #fff7ed;
  font-size: 0.86rem;
}

/* 年度別年間王のセル体裁 */

.annual-champion-table .champion-name {
  color: var(--gray-900);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.annual-champion-table .champion-grade {
  color: var(--gray-900);
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.annual-champion-table .champion-record {
  color: var(--green-900);
  text-align: center;
  white-space: nowrap;
}

.annual-champion-table .champion-record strong {
  font-size: 1.08rem;
  font-weight: 800;
}

@media (max-width: 960px) {
  .annual-champion-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  #annual-champions {
    scroll-margin-top: 230px;
  }

  .annual-champion-table {
    min-width: 470px;
  }
}

/* 年度別年間王の記録数をすべて同じ体裁に統一 */

.annual-champion-table tbody td strong {
  color: var(--green-900);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
}

/* 同率行に対する過去の指定を確実に上書き */

.annual-champion-table .shared-champion-row td strong,
.annual-champion-table .shared-champion-row .champion-record strong {
  color: var(--green-900);
  font-size: 1.08rem;
  font-weight: 700;
}

@media (max-width: 680px) {
  .team-photo {
    border-width: 4px;
    border-radius: 16px;
  }

  .team-photo img {
    aspect-ratio: 4 / 3;
  }

  .team-photo figcaption {
    padding: 32px 14px 12px;
    font-size: 0.8rem;
  }

  .team-photo-buttons {
    display: grid;
  }

  .team-photo-buttons .button {
    width: 100%;
  }

  #double-hat-trick {
    scroll-margin-top: 220px;
  }
}

/* ==================================================
   第35期生 試合結果
   ================================================== */

html {
  scroll-behavior: smooth;
}

#season-ranking,
#season-2026,
#season-2025,
#season-2024,
#season-2023,
#season-2022,
#season-2021,
#season-2020 {
  scroll-margin-top: 5rem;
}

.result-page-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem max(1rem, calc((100% - 1200px) / 2));
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid #dfe5e8;
  border-bottom: 1px solid #dfe5e8;
  box-shadow: 0 0.25rem 0.75rem rgba(20, 35, 45, 0.08);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.result-page-nav a {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  color: #1d3542;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  background: #f3f6f7;
  border: 1px solid #dce4e7;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.result-page-nav a:hover,
.result-page-nav a:focus-visible {
  color: #ffffff;
  background: #156b45;
  border-color: #156b45;
}

.season-section {
  padding-block: 4rem;
}

.season-heading {
  margin-bottom: 2rem;
}

.season-heading .section-title {
  margin-bottom: 0;
}

.competition-card {
  margin-top: 2rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe6e8;
  border-radius: 1rem;
  box-shadow: 0 0.6rem 1.8rem rgba(24, 42, 52, 0.08);
}

.competition-card:first-of-type {
  margin-top: 0;
}

.competition-header {
  padding: 1.15rem 1.25rem;
  color: #ffffff;
  background:
    linear-gradient(135deg, #0b5538 0%, #168054 100%);
}

.competition-header h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.5;
}

.competition-type {
  margin: 0 0 0.25rem;
  color: #d8f3e6;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.match-result-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
}

.match-result-table th,
.match-result-table td {
  padding: 0.85rem 0.9rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e3e8ea;
}

.match-result-table thead th {
  color: #253b46;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  background: #eef3f4;
}

.match-result-table tbody tr:last-child td {
  border-bottom: 0;
}

.match-result-table tbody tr:nth-child(even) {
  background: #fafcfc;
}

.match-result-table tbody tr:hover {
  background: #f1f8f5;
}

.match-result-table th:nth-child(1),
.match-result-table td:nth-child(1) {
  width: 8.5rem;
  white-space: nowrap;
}

.match-result-table th:nth-child(2),
.match-result-table td:nth-child(2) {
  width: 8rem;
  text-align: center;
  white-space: nowrap;
}

.match-result-table th:nth-child(3),
.match-result-table td:nth-child(3) {
  width: 14rem;
}

.match-result-table td:last-child {
  min-width: 19rem;
  line-height: 1.75;
}

/* チーム列を持つ試合表 */
.match-result-table th:nth-last-child(5):first-child ~ th:nth-child(2),
.match-result-table td:nth-last-child(5):first-child ~ td:nth-child(2) {
  text-align: left;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  min-height: 2rem;
  padding: 0.25rem 0.6rem;
  color: #26363f;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.35;
  background: #eef1f2;
  border: 1px solid transparent;
  border-radius: 999px;
}

.result-badge.win {
  color: #075c38;
  background: #dff5e9;
  border-color: #a8ddbf;
}

.result-badge.loss {
  color: #9a2631;
  background: #fde7e9;
  border-color: #f2b7bc;
}

.result-badge.draw {
  color: #725500;
  background: #fff4ce;
  border-color: #ecd581;
}

.result-badge.scheduled {
  color: #31546f;
  background: #e6f0f7;
  border-color: #bad0df;
}

.scheduled-match {
  color: #566973;
}

.scheduled-match td {
  background: #f7f9fa;
}

.competition-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding: 1rem 1.25rem;
  color: #263b45;
  background: #f3f8f5;
  border-top: 1px solid #dce8e1;
}

.competition-summary p {
  margin: 0;
  line-height: 1.65;
}

.competition-summary strong {
  color: #0b6240;
}

.result-data-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.4rem;
  color: #334952;
  background: #f4f8fa;
  border: 1px solid #d9e5ea;
  border-left: 0.35rem solid #237598;
  border-radius: 0.75rem;
}

.result-data-note h3 {
  margin: 0 0 0.7rem;
  color: #234451;
  font-size: 1.05rem;
}

.result-data-note ul {
  margin: 0;
  padding-left: 1.25rem;
}

.result-data-note li + li {
  margin-top: 0.35rem;
}

.ranking-return-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
}

.page-top-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  background: #0c6140;
  border-radius: 999px;
  box-shadow: 0 0.4rem 1.2rem rgba(18, 42, 33, 0.25);
}

.page-top-button:hover,
.page-top-button:focus-visible {
  background: #08482f;
}

@media (max-width: 767px) {
  .season-section {
    padding-block: 3rem;
  }

  .competition-card {
    border-radius: 0.75rem;
  }

  .competition-header {
    padding: 1rem;
  }

  .match-result-table {
    min-width: 680px;
  }

  .match-result-table th,
  .match-result-table td {
    padding: 0.75rem;
    font-size: 0.875rem;
  }

  .competition-summary {
    display: block;
    padding: 1rem;
  }

  .competition-summary p + p {
    margin-top: 0.5rem;
  }

  .page-top-text {
    display: none;
  }

  .page-top-button {
    width: 2.75rem;
    height: 2.75rem;
    justify-content: center;
    padding: 0;
    font-size: 1.1rem;
  }
}

@media print {
  .site-header,
  .breadcrumb,
  .result-category-section,
  .result-page-nav,
  .ranking-return-nav,
  .page-top-button,
  .site-footer {
    display: none !important;
  }

  .section,
  .season-section {
    padding-block: 1rem;
  }

  .competition-card {
    break-inside: avoid;
    box-shadow: none;
  }

  .table-wrap {
    overflow: visible;
  }

  .match-result-table {
    min-width: 0;
  }

  .match-result-table th,
  .match-result-table td {
    padding: 0.4rem;
    font-size: 9pt;
  }
}

/* ==================================================
   各年代の得点王・アシスト王
   ================================================== */

.past-award-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #dfe6e8;
}

.past-award-heading {
  margin-bottom: 1.5rem;
}

.past-award-heading h3 {
  margin: 0;
  color: #203943;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.4;
}

.past-award-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.past-award-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe6e8;
  border-radius: 1rem;
  box-shadow: 0 0.6rem 1.8rem rgba(24, 42, 52, 0.08);
}

.past-award-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  color: #ffffff;
  background: linear-gradient(135deg, #855e00 0%, #c28a09 100%);
}

.assist-award-card .past-award-card-header {
  background: linear-gradient(135deg, #164e79 0%, #297ca6 100%);
}

.past-award-card-header .ranking-label {
  margin: 0 0 0.15rem;
  color: rgba(255, 255, 255, 0.8);
}

.past-award-card-header h4 {
  margin: 0;
  color: inherit;
  font-size: 1.25rem;
}

.past-award-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  color: #5c4300;
  font-size: 1.35rem;
  font-weight: 900;
  background: #fff4c8;
  border-radius: 50%;
}

.past-award-icon-assist {
  color: #174e72;
  background: #e3f3fc;
}

.past-award-list {
  padding: 0.5rem 1.25rem;
}

.past-award-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid #e5eaec;
}

.past-award-item:last-child {
  border-bottom: 0;
}

.past-award-item h5 {
  margin: 0 0 0.65rem;
  color: #50636c;
  font-size: 0.875rem;
  line-height: 1.5;
}

.past-award-winner {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

.past-award-winner.is-tied {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #dce4e7;
}

.past-award-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  color: #6f5000;
  font-size: 0.85rem;
  font-weight: 900;
  background: #ffefb3;
  border: 1px solid #e1c454;
  border-radius: 50%;
}

.past-award-rank::after {
  content: "位";
  margin-left: 0.05rem;
  font-size: 0.55rem;
}

.assist-award-card .past-award-rank {
  color: #175578;
  background: #e3f3fc;
  border-color: #a9d2e6;
}

.past-award-name {
  min-width: 0;
  color: #243b45;
  font-size: 1rem;
  font-weight: 800;
}

.past-award-score {
  color: #4c5d65;
  font-size: 0.85rem;
  white-space: nowrap;
}

.past-award-score strong {
  margin-right: 0.15rem;
  color: #a36d00;
  font-size: 1.35rem;
  line-height: 1;
}

.assist-award-card .past-award-score strong {
  color: #17658e;
}

@media (max-width: 767px) {
  .past-award-section {
    margin-top: 2.25rem;
    padding-top: 2rem;
  }

  .past-award-grid {
    grid-template-columns: 1fr;
  }

  .past-award-card-header,
  .past-award-list {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media print {
  .past-award-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* ==================================================
   カテゴリー別試合結果ナビゲーション
   ================================================== */

.result-category-section {
  position: relative;
  padding: 2.5rem 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(17, 126, 80, 0.11),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 85%,
      rgba(29, 104, 145, 0.08),
      transparent 30%
    ),
    linear-gradient(180deg, #f9fcfa 0%, #edf5f1 100%);
  border-top: 1px solid #e2ebe6;
  border-bottom: 1px solid #d7e5de;
}

.result-category-section::before,
.result-category-section::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border: 1.25rem solid rgba(15, 112, 71, 0.035);
  border-radius: 50%;
}

.result-category-section::before {
  top: -4rem;
  right: -3rem;
  width: 11rem;
  height: 11rem;
}

.result-category-section::after {
  bottom: -5rem;
  left: -4rem;
  width: 13rem;
  height: 13rem;
}

.result-category-section .container {
  position: relative;
  z-index: 1;
}

.result-category-heading {
  margin-bottom: 1.4rem;
  text-align: center;
}

.result-category-heading h2 {
  margin: 0;
  color: #193b2d;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.4;
}

.result-category-kicker {
  margin: 0 0 0.3rem;
  color: #168254;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.18em;
}

.result-category-nav {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

.result-category-nav > a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.4rem;
  overflow: hidden;
  color: #29483a;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7e4dd;
  border-radius: 0.85rem;
  box-shadow:
    0 0.25rem 0.8rem rgba(32, 66, 50, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.result-category-nav > a::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.25rem;
  content: "";
  background: #5fb18a;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.result-category-nav > a:hover,
.result-category-nav > a:focus-visible {
  color: #075f3a;
  background: #ffffff;
  border-color: #83c4a3;
  box-shadow: 0 0.65rem 1.3rem rgba(19, 92, 59, 0.15);
  outline: none;
  transform: translateY(-0.2rem);
}

.result-category-nav > a:hover::before,
.result-category-nav > a:focus-visible::before {
  opacity: 1;
}

.result-category-nav > a.is-current,
.result-category-nav > a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(145deg, #095d3b 0%, #16875a 100%);
  border-color: #09623f;
  box-shadow:
    0 0.65rem 1.3rem rgba(10, 97, 62, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.result-category-nav > a.is-current::before,
.result-category-nav > a[aria-current="page"]::before {
  background: #f5d568;
  opacity: 1;
}

.result-category-nav > a.is-current::after,
.result-category-nav > a[aria-current="page"]::after {
  position: absolute;
  right: 0.45rem;
  bottom: 0.35rem;
  width: 0.35rem;
  height: 0.35rem;
  content: "";
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}

.category-grade {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

.category-code {
  display: block;
  margin-top: 0.25rem;
  color: #71877d;
  font-size: 0.63rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.result-category-nav > a.is-current .category-code,
.result-category-nav > a[aria-current="page"] .category-code {
  color: rgba(255, 255, 255, 0.78);
}

/* チーム記録のみ金色系 */
.result-category-nav > .team-record-link {
  flex-direction: row;
  gap: 0.45rem;
  color: #634900;
  background: linear-gradient(145deg, #fffdf5 0%, #fff2c5 100%);
  border-color: #e4cf83;
}

.result-category-nav > .team-record-link::before {
  background: #d7a917;
  opacity: 1;
}

.result-category-nav > .team-record-link:hover,
.result-category-nav > .team-record-link:focus-visible {
  color: #4f3900;
  background: #fff8dc;
  border-color: #d2ae36;
  box-shadow: 0 0.65rem 1.3rem rgba(129, 96, 8, 0.17);
}

.team-record-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  color: #805d00;
  font-size: 0.85rem;
  background: #ffe797;
  border: 1px solid #ddbe52;
  border-radius: 50%;
}

.team-record-text {
  min-width: 0;
}

.team-record-link .category-code {
  color: #92751e;
  font-size: 0.52rem;
}

/* ノートPC・タブレット */
@media (max-width: 1100px) {
  .result-category-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* スマートフォン */
@media (max-width: 767px) {
  .result-category-section {
    padding: 2rem 0;
  }

  .result-category-heading {
    margin-bottom: 1.1rem;
  }

  .result-category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .result-category-nav > a {
    min-height: 4.6rem;
    padding: 0.65rem 0.3rem;
    border-radius: 0.7rem;
  }

  .category-grade {
    font-size: 0.88rem;
  }

  .result-category-nav > .team-record-link {
    grid-column: span 2;
  }
}

/* 小型スマートフォン */
@media (max-width: 420px) {
  .result-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-category-nav > .team-record-link {
    grid-column: span 2;
  }
}

@media print {
  .result-category-section {
    display: none !important;
  }
}

/* ==================================================
   第35期生 集合写真
   ================================================== */

.generation-team-photo {
  position: relative;
  width: min(100%, 62rem);
  margin: 2rem auto 1.75rem;
  overflow: hidden;
  background: #e8efeb;
  border: 0.35rem solid rgba(255, 255, 255, 0.9);
  border-radius: 1.1rem;
  box-shadow:
    0 1.25rem 2.75rem rgba(7, 50, 32, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

.generation-team-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent 58%,
      rgba(5, 29, 19, 0.66) 100%
    );
}

.generation-team-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.generation-team-photo:hover img {
  transform: scale(1.015);
}

.generation-team-photo figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  left: 1.25rem;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: right;
  text-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.65);
}

.team-copy-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: #fff;
  overflow: hidden;
}

.team-copy-figure {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.team-copy-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .team-copy-section {
    padding: 1.5rem 0;
  }

  .team-copy-section .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media (max-width: 767px) {
  .generation-team-photo {
    margin: 1.5rem auto;
    border-width: 0.2rem;
    border-radius: 0.75rem;
  }

  .generation-team-photo figcaption {
    right: 0.85rem;
    bottom: 0.7rem;
    left: 0.85rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .generation-team-photo img {yumi_arco@yahoo.co.jp
    transition: none;
  }

  .generation-team-photo:hover img {
    transform: none;
  }
}

@media print {
  .generation-team-photo {
    box-shadow: none;
    break-inside: avoid;
  }

  .generation-team-photo::after {
    display: none;
  }

  .generation-team-photo figcaption {
    position: static;
    padding: 0.5rem;
    color: #000000;
    text-align: center;
    text-shadow: none;
    background: #ffffff;
  }
}

.recruitment-flyer-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: #fff;
}

.recruitment-flyer {
  width: min(100%, 760px);
  margin: 0 auto;
}

.recruitment-flyer img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

@media (max-width: 767px) {
  .recruitment-flyer-section {
    padding: 1.5rem 0;
  }

  .recruitment-flyer {
    width: 100%;
  }

  .recruitment-flyer img {
    border-radius: 8px;
  }
}

/* ========================================
   牟礼FC 2026テーマ
======================================== */

.annual-theme-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(18, 111, 72, 0.1),
      transparent 28rem
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(215, 165, 52, 0.12),
      transparent 30rem
    ),
    #f5f7f4;
}

.annual-theme-section::before,
.annual-theme-section::after {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(18, 111, 72, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.annual-theme-section::before {
  top: -9rem;
  left: -8rem;
}

.annual-theme-section::after {
  right: -8rem;
  bottom: -10rem;
}

.annual-theme-heading {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
  text-align: center;
}

.annual-theme-year {
  margin: 0 0 0.5rem;
  color: #167548;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.annual-theme-heading .section-title {
  margin-bottom: 0;
}

.annual-theme-card {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(16, 78, 52, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 1.5rem 4rem rgba(20, 62, 45, 0.12),
    0 0.25rem 0.75rem rgba(20, 62, 45, 0.06);
}

.annual-theme-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 5px;
  background: linear-gradient(
    90deg,
    #ffbe2e 0%,
    #f47b0b 50%,
    #c94707 100%
  );
  content: "";
}

.annual-theme-main {
  position: relative;
  padding: clamp(2.25rem, 6vw, 4.5rem) 1.5rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(
      135deg,
      rgba(5, 63, 40, 0.98),
      rgba(16, 112, 70, 0.94)
    );
}

.annual-theme-main {
  position: relative;
  padding: clamp(2.25rem, 6vw, 4.5rem) 1.5rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(255, 224, 156, 0.3),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 80%,
      rgba(148, 54, 8, 0.22),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #f59e0b 0%,
      #ea7209 48%,
      #c94c08 100%
    );
}

.annual-theme-main::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.annual-theme-main::after {
  position: absolute;
  top: -25%;
  right: -4rem;
  width: 15rem;
  height: 150%;
  background: rgba(255, 255, 255, 0.07);
  content: "";
  transform: rotate(18deg);
}

.annual-theme-label {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: #fff3cf;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.annual-theme-slogan > span:not(.annual-theme-divider) {
  display: inline-block;
  background: linear-gradient(
    180deg,
    #fff 5%,
    #fff8e8 55%,
    #ffe3a2 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.annual-theme-divider {
  color: #fff0bf;
  font-family: sans-serif;
  font-size: 0.35em;
  font-weight: 700;
  opacity: 0.95;
}

.annual-theme-message {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin: 1.4rem 0 0;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: #fff;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(107, 36, 3, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.annual-theme-three {
  padding: clamp(2rem, 5vw, 3.75rem);
}

.annual-theme-three-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.annual-theme-three-heading span {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(18, 111, 72, 0.28)
  );
}

.annual-theme-three-heading span:last-child {
  background: linear-gradient(
    90deg,
    rgba(18, 111, 72, 0.28),
    transparent
  );
}

.annual-theme-three-heading h3 {
  margin: 0;
  color: #174d38;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.1em;
}

.annual-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.annual-theme-item {
  position: relative;
  min-width: 0;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(21, 86, 58, 0.12);
  border-radius: 18px;
  background: #f9fbf9;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.annual-theme-item:hover {
  border-color: rgba(18, 111, 72, 0.28);
  box-shadow: 0 1rem 2.25rem rgba(17, 83, 56, 0.11);
  transform: translateY(-4px);
}

.annual-theme-kanji {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 1.15rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0.5rem 1.2rem rgba(18, 111, 72, 0.18);
}

.theme-sweat .annual-theme-kanji {
  background: linear-gradient(135deg, #159363, #09613d);
}

.theme-bond .annual-theme-kanji {
  background: linear-gradient(135deg, #d2a438, #a77615);
}

.theme-spirit .annual-theme-kanji {
  background: linear-gradient(135deg, #d0593d, #96311f);
}

.annual-theme-item-label {
  margin: 0 0 0.3rem;
  color: #188154;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.theme-bond .annual-theme-item-label {
  color: #a77615;
}

.theme-spirit .annual-theme-item-label {
  color: #ae3c27;
}

.annual-theme-item h4 {
  margin: 0 0 0.65rem;
  color: #173f31;
  font-size: 1.12rem;
  line-height: 1.5;
}

.annual-theme-item-body > p:last-child {
  margin: 0;
  color: #54635d;
  font-size: 0.92rem;
  line-height: 1.8;
}

.annual-theme-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1.15rem clamp(1.5rem, 5vw, 3.75rem);
  border-top: 1px solid rgba(18, 111, 72, 0.1);
  background: #f5f8f5;
}

.annual-theme-footer p {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin: 0;
}

.annual-theme-footer span {
  color: #68746f;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.annual-theme-footer strong {
  color: #174d38;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .annual-theme-grid {
    grid-template-columns: 1fr;
  }

  .annual-theme-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .annual-theme-kanji {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .annual-theme-card {
    border-radius: 16px;
  }

  .annual-theme-main {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .annual-theme-slogan {
    gap: 0.4rem;
    font-size: clamp(2.25rem, 17vw, 4rem);
    letter-spacing: 0.02em;
  }

  .annual-theme-message {
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
  }

  .annual-theme-three {
    padding: 1.5rem 1rem;
  }

  .annual-theme-item {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .annual-theme-kanji {
    width: 3.75rem;
    height: 3.75rem;
    font-size: 1.75rem;
  }

  .annual-theme-footer {
    justify-content: center;
  }

  .annual-theme-footer p {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .annual-theme-item {
    transition: none;
  }

  .annual-theme-item:hover {
    transform: none;
  }
}

/* 「楽笑 × 楽勝」を中央に大きく表示 */
.annual-theme-main {
  display: flex;
  min-height: clamp(320px, 45vw, 520px);
  padding: clamp(2rem, 5vw, 4rem) 1.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.annual-theme-label {
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.annual-theme-slogan {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2.25rem);
  margin: 0;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.annual-theme-slogan > span:not(.annual-theme-divider) {
  display: inline-block;
  padding-bottom: 0.08em;
}

.annual-theme-divider {
  flex: 0 0 auto;
  font-size: 0.32em;
}

.annual-theme-message {
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

/* タブレット */
@media (max-width: 900px) {
  .annual-theme-main {
    min-height: 380px;
  }

  .annual-theme-slogan {
    font-size: clamp(3.5rem, 12vw, 6rem);
    letter-spacing: 0.04em;
  }
}

/* スマートフォン */
@media (max-width: 600px) {
  .annual-theme-main {
    min-height: 300px;
    padding: 2.25rem 0.75rem;
  }

  .annual-theme-slogan {
    gap: clamp(0.35rem, 2vw, 0.7rem);
    font-size: clamp(2.65rem, 16vw, 4.3rem);
    letter-spacing: 0;
  }

  .annual-theme-divider {
    font-size: 0.27em;
  }

  .annual-theme-message {
    margin-top: 1.5rem;
  }
}

/* ========================================
   体験・入団案内：用品代・遠征費
======================================== */

.joining-costs {
  min-width: 0;
}

.additional-costs,
.expedition-costs {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(20, 92, 61, 0.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(22, 67, 49, 0.07);
}

.additional-costs-heading,
.expedition-costs-heading {
  margin-bottom: 1.5rem;
}

.additional-costs-label,
.expedition-costs-label {
  margin: 0 0 0.35rem;
  color: #147348;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.additional-costs-heading h4,
.expedition-costs-heading h4 {
  margin: 0 0 0.65rem;
  color: #173f31;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
}

.additional-costs-heading > p:last-child,
.expedition-costs-heading > p:last-child {
  margin: 0;
  color: #596760;
  line-height: 1.8;
}

/* 用品カード */

.equipment-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.equipment-cost-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e8e4;
  border-radius: 16px;
  background: #f9fbfa;
}

.equipment-cost-image {
  display: grid;
  width: 45%;
  min-width: 190px;
  margin: 0;
  padding: 1rem;
  place-items: center;
  background: #fff;
}

.equipment-cost-image img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: contain;
}

.equipment-cost-body {
  display: flex;
  min-width: 0;
  padding: 1.25rem;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.equipment-cost-type {
  margin: 0 0 0.35rem;
  color: #15774a;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.equipment-cost-body h5 {
  margin: 0 0 0.85rem;
  color: #183e31;
  font-size: 1.1rem;
}

.equipment-cost-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  color: #536159;
}

.equipment-cost-price strong {
  color: #d25c10;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.2;
}

.equipment-cost-price span {
  font-size: 0.9rem;
  font-weight: 700;
}

.equipment-cost-total {
  display: inline-block;
  align-self: flex-start;
  margin: 0.65rem 0 0;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  color: #9d440c;
  font-size: 0.84rem;
  font-weight: 700;
  background: #fff0e4;
}

.equipment-cost-note {
  margin: 0.75rem 0 0;
  color: #657169;
  font-size: 0.86rem;
  line-height: 1.7;
}

.price-notice,
.expedition-notice {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  color: #59645e;
  font-size: 0.84rem;
  line-height: 1.7;
  background: #f2f5f3;
}

/* 遠征費 */

.expedition-costs {
  border-color: rgba(220, 108, 17, 0.2);
  background:
    linear-gradient(
      135deg,
      rgba(255, 248, 239, 0.96),
      rgba(255, 255, 255, 0.98)
    );
}

.expedition-costs-label {
  color: #c75c0f;
}

.expedition-grade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.expedition-grade-card {
  display: flex;
  min-width: 0;
  padding: 1.15rem;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(207, 99, 17, 0.16);
  border-radius: 14px;
  background: #fff;
}

.expedition-grade-number {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 3.25rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f59b23, #cf570b);
  box-shadow: 0 0.4rem 1rem rgba(197, 83, 12, 0.2);
}

.expedition-grade-body {
  min-width: 0;
  flex: 1;
}

.expedition-grade-body h5 {
  margin: 0 0 0.7rem;
  color: #57331d;
  font-size: 1.05rem;
}

.expedition-grade-body ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.55rem;
  list-style: none;
}

.expedition-grade-body li {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: #4f5d55;
  font-size: 0.9rem;
  line-height: 1.5;
}

.expedition-season {
  display: inline-grid;
  min-width: 2.15rem;
  padding: 0.15rem 0.4rem;
  place-items: center;
  border-radius: 999px;
  color: #a4470c;
  font-size: 0.72rem;
  font-weight: 800;
  background: #fff0e3;
}

/* タブレット */

@media (max-width: 960px) {
  .equipment-cost-grid {
    grid-template-columns: 1fr;
  }

  .expedition-grade-grid {
    grid-template-columns: 1fr;
  }
}

/* スマートフォン */

@media (max-width: 600px) {
  .additional-costs,
  .expedition-costs {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 14px;
  }

  .equipment-cost-card {
    flex-direction: column;
  }

  .equipment-cost-image {
    width: 100%;
    min-width: 0;
    padding: 0.75rem;
  }

  .equipment-cost-image img {
    height: auto;
    max-height: 280px;
  }

  .equipment-cost-body {
    padding: 1rem;
  }

  .expedition-grade-card {
    padding: 1rem;
  }

  .expedition-grade-number {
    width: 2.75rem;
    height: 2.75rem;
    flex-basis: 2.75rem;
    font-size: 1.1rem;
  }
}

/* ========================================
   費用セクションのレイアウト調整
======================================== */

.costs-section {
  overflow: hidden;
}

.costs-section .container {
  min-width: 0;
}

/* 基本料金だけを2列にする */
.basic-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: start;
}

.basic-cost-card {
  min-width: 0;
  height: 100%;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid #dde6e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(22, 67, 49, 0.06);
}

.basic-cost-card h3 {
  margin: 0 0 1rem;
  color: #173f31;
  font-size: 1.25rem;
}

.basic-cost-card .table-wrap {
  margin: 0;
}

.basic-cost-card table {
  width: 100%;
}

/* 用品代と遠征費は必ず全幅表示 */
.costs-section .additional-costs,
.costs-section .expedition-costs {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

/* 用品カード */
.costs-section .equipment-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  width: 100%;
}

.costs-section .equipment-cost-card {
  display: grid;
  grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
}

.costs-section .equipment-cost-image {
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 1rem;
  box-sizing: border-box;
  place-items: center;
}

.costs-section .equipment-cost-image img {
  display: block;
  width: 100%;
  height: 230px;
  max-width: 100%;
  object-fit: contain;
}

.costs-section .equipment-cost-body {
  min-width: 0;
  padding: 1.25rem;
}

.costs-section .equipment-cost-body h4 {
  margin: 0 0 0.85rem;
  color: #183e31;
  font-size: 1.1rem;
}

.costs-section .equipment-cost-price {
  flex-wrap: wrap;
}

/* 遠征カード */
.costs-section .expedition-grade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.costs-section .expedition-grade-card {
  min-width: 0;
}

.costs-section .expedition-grade-body h4 {
  margin: 0 0 0.7rem;
  color: #57331d;
  font-size: 1.05rem;
}

/* タブレット */
@media (max-width: 960px) {
  .costs-section .equipment-cost-grid {
    grid-template-columns: 1fr;
  }

  .costs-section .equipment-cost-card {
    grid-template-columns: minmax(200px, 34%) minmax(0, 1fr);
  }

  .costs-section .expedition-grade-grid {
    grid-template-columns: 1fr;
  }
}

/* スマートフォン */
@media (max-width: 700px) {
  .basic-cost-grid {
    grid-template-columns: 1fr;
  }

  .basic-cost-card {
    padding: 1rem;
  }

  .costs-section .additional-costs,
  .costs-section .expedition-costs {
    padding: 1rem;
    border-radius: 14px;
  }

  .costs-section .equipment-cost-card {
    grid-template-columns: 1fr;
  }

  .costs-section .equipment-cost-image {
    padding: 0.75rem;
  }

  .costs-section .equipment-cost-image img {
    height: auto;
    max-height: 300px;
  }

  .costs-section .equipment-cost-body {
    padding: 1rem;
  }
}

.contact-form-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.contact-form-heading p {
  margin-top: 12px;
}

.contact-form-notice {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border-left: 4px solid #d79b00;
  border-radius: 8px;
  background: #fff8dc;
  color: #3d3521;
}

.contact-form-notice p {
  margin: 0;
}

.google-form-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dfe4e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(0 0 0 / 8%);
}

.google-form-frame {
  display: block;
  width: 100%;
  height: 2227px;
  border: 0;
}

.google-form-fallback {
  max-width: 760px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 0.9rem;
}

.google-form-fallback a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .google-form-wrap {
    border-radius: 10px;
  }

  .google-form-frame {
    height: 2380px;
  }

  .contact-form-notice {
    padding: 14px 16px;
  }
}

.form-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 6px;
  gap: 6px;
  border: 1px solid #dfe4e8;
  border-radius: 14px;
  background: #f3f5f7;
}

.form-switch-button {
  min-height: 52px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #33404a;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-switch-button:hover {
  background: rgb(255 255 255 / 65%);
}

.form-switch-button.is-active {
  background: #fff;
  color: #075c38;
  box-shadow: 0 3px 12px rgb(0 0 0 / 10%);
}

.form-switch-button:focus-visible {
  outline: 3px solid #f4b400;
  outline-offset: 2px;
}

.form-panel[hidden] {
  display: none;
}

.form-panel-heading {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 20px;
  text-align: center;
}

.form-panel-heading h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.form-panel-heading p {
  margin: 10px 0 0;
}

.match-form-notice {
  border-left-color: #1769aa;
  background: #edf6ff;
}

.trial-form-frame {
  height: 2227px;
}

.match-form-frame {
  height: 1982px;
}

@media (max-width: 767px) {
  .form-switcher {
    margin-bottom: 24px;
  }

  .form-switch-button {
    min-height: 58px;
    padding: 10px;
    font-size: 0.9rem;
  }

  .trial-form-frame {
    height: 2380px;
  }

  .match-form-frame {
    height: 2150px;
  }
}

@media (max-width: 420px) {
  .form-switcher {
    grid-template-columns: 1fr;
  }
}

.graduates-table-wrap {
  margin-top: 32px;
  border: 1px solid #dce3df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(0 0 0 / 7%);
}

.graduates-record-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.graduates-record-table th,
.graduates-record-table td {
  padding: 14px 12px;
  border-right: 1px solid #dfe5e1;
  border-bottom: 1px solid #dfe5e1;
  text-align: center;
  vertical-align: middle;
}

.graduates-record-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #075c38;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.graduates-record-table thead th span {
  font-size: 0.76rem;
  font-weight: 500;
}

.graduates-record-table tbody tr:nth-child(even) {
  background: #f7faf8;
}

.graduates-record-table tbody tr:hover {
  background: #edf7f1;
}

.graduates-record-table th:last-child,
.graduates-record-table td:last-child {
  border-right: 0;
}

.graduates-record-table tbody tr:last-child th,
.graduates-record-table tbody tr:last-child td {
  border-bottom: 0;
}

.generation-cell {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 152px;
  background: inherit;
}

.generation-cell > a,
.generation-cell > strong,
.generation-cell .generation-year {
  display: block;
}

.generation-cell > a {
  color: #075c38;
  text-decoration: none;
}

.generation-cell > a:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.generation-cell strong {
  margin-bottom: 4px;
  font-size: 1rem;
}

.generation-cell span {
  line-height: 1.45;
}

.generation-links a:hover {
  background: #075c38;
  color: #fff;
}

.graduates-record-table small {
  color: #52625a;
  font-size: 0.76rem;
}

.record-guide-card ul {
  margin: 0;
  padding-left: 1.4rem;
}

.record-guide-card li + li {
  margin-top: 10px;
}

.archive-notice p {
  margin: 0;
}

.archive-notice p + p {
  margin-top: 12px;
}

@media (max-width: 767px) {
  .graduates-table-wrap {
    border-radius: 10px;
  }

  .graduates-record-table {
    font-size: 0.82rem;
  }

  .graduates-record-table th,
  .graduates-record-table td {
    padding: 11px 9px;
  }

  .generation-cell {
    min-width: 138px;
  }

  .record-guide-card,
  .archive-notice {
    padding: 18px;
  }
}

.graduates-table-wrap {
  width: 100%;
  margin-top: 32px;
  overflow: visible;
  border: 1px solid #dce3df;
  border-radius: 12px;
  background: #fff;
}

.graduates-record-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: clamp(0.62rem, 0.78vw, 0.82rem);
  line-height: 1.35;
}

.graduates-record-table th,
.graduates-record-table td {
  padding: 9px 4px;
  overflow-wrap: anywhere;
  word-break: normal;
  border-right: 1px solid #dfe5e1;
  border-bottom: 1px solid #dfe5e1;
  text-align: center;
  vertical-align: middle;
}

.graduates-record-table thead th {
  background: #075c38;
  color: #fff;
  font-weight: 700;
}

.graduates-record-table thead th span {
  display: block;
  font-size: 0.9em;
  font-weight: 500;
}

.graduates-record-table tbody tr:nth-child(even) {
  background: #f7faf8;
}

.graduates-record-table tbody tr:hover {
  background: #edf7f1;
}

.graduates-record-table th:last-child,
.graduates-record-table td:last-child {
  border-right: 0;
}

.graduates-record-table tbody tr:last-child th,
.graduates-record-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 年代 */
.graduates-record-table th:nth-child(1) {
  width: 12%;
}

/* 主将名 */
.graduates-record-table th:nth-child(2) {
  width: 10%;
}

/* 人数 */
.graduates-record-table th:nth-child(3) {
  width: 5%;
}

/* 大会成績7項目 */
.graduates-record-table th:nth-child(n + 4) {
  width: 10.43%;
}

.generation-cell {
  padding: 0 !important;
  background: inherit;
}

.generation-link {
  display: flex;
  min-height: 76px;
  padding: 8px 3px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #075c38;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.generation-link:hover {
  background: #e4f3ea;
  text-decoration: none;
}

.generation-link:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid #f4b400;
  outline-offset: -3px;
}

.generation-link strong,
.generation-link span {
  display: block;
  white-space: nowrap;
}

.generation-link strong {
  margin-bottom: 2px;
  font-size: 1.05em;
}

.graduates-record-table small {
  display: block;
  color: #52625a;
  font-size: 0.85em;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .graduates-record-table {
    font-size: 0.61rem;
  }

  .graduates-record-table th,
  .graduates-record-table td {
    padding: 7px 2px;
  }

  .generation-link {
    min-height: 68px;
    padding: 6px 1px;
  }
}

@media (max-width: 600px) {
  .graduates-table-wrap {
    width: calc(100% + 24px);
    margin-right: -12px;
    margin-left: -12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .graduates-record-table {
    font-size: 0.47rem;
    line-height: 1.25;
  }

  .graduates-record-table th,
  .graduates-record-table td {
    padding: 6px 1px;
    letter-spacing: -0.02em;
  }

  .graduates-record-table th:nth-child(1) {
    width: 14%;
  }

  .graduates-record-table th:nth-child(2) {
    width: 10%;
  }

  .graduates-record-table th:nth-child(3) {
    width: 5%;
  }

  .graduates-record-table th:nth-child(n + 4) {
    width: 10.14%;
  }

  .generation-link {
    min-height: 62px;
    padding: 4px 0;
  }

  .generation-link strong,
  .generation-link span {
    white-space: normal;
  }
}

/* ========================================
   歴代戦績表
   PC・タブレット: 読みやすい表
   スマートフォン: 1期生ごとのカード表示
======================================== */

.graduates-table-wrap {
  width: 100%;
  margin-top: 32px;
  overflow: visible;
  border: 1px solid #dce3df;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(0 0 0 / 7%);
}

.graduates-record-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.graduates-record-table th,
.graduates-record-table td {
  padding: 12px 6px;
  overflow-wrap: anywhere;
  border-right: 1px solid #dfe5e1;
  border-bottom: 1px solid #dfe5e1;
  text-align: center;
  vertical-align: middle;
}

.graduates-record-table thead th {
  background: #075c38;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.graduates-record-table thead th span {
  display: block;
  margin-top: 2px;
  font-size: 0.85em;
  font-weight: 500;
}

.graduates-record-table tbody tr:nth-child(even) {
  background: #f7faf8;
}

.graduates-record-table tbody tr:hover {
  background: #edf7f1;
}

.graduates-record-table th:last-child,
.graduates-record-table td:last-child {
  border-right: 0;
}

.graduates-record-table tbody tr:last-child th,
.graduates-record-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 列幅 */
.graduates-record-table th:nth-child(1) {
  width: 13%;
}

.graduates-record-table th:nth-child(2) {
  width: 10%;
}

.graduates-record-table th:nth-child(3) {
  width: 5%;
}

.graduates-record-table th:nth-child(n + 4) {
  width: 10.28%;
}

/* 年代リンク */
.generation-cell {
  padding: 0 !important;
  background: inherit;
}

.generation-link {
  display: flex;
  min-height: 82px;
  padding: 10px 5px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #075c38;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.generation-link strong,
.generation-link span {
  display: block;
  white-space: nowrap;
}

.generation-link strong {
  margin-bottom: 3px;
  font-size: 1rem;
}

.generation-link span {
  font-size: 0.84rem;
}

.generation-link:hover {
  background: #e4f3ea;
  color: #034c2e;
  text-decoration: none;
}

.generation-link:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid #f4b400;
  outline-offset: -3px;
}

.graduates-record-table small {
  display: block;
  margin-top: 3px;
  color: #52625a;
  font-size: 0.76rem;
  line-height: 1.35;
}

.graduates-return-nav {
  margin-top: 32px;
}

/* 中型画面 */
@media (max-width: 1100px) and (min-width: 769px) {
  .graduates-record-table {
    font-size: 0.75rem;
  }

  .graduates-record-table th,
  .graduates-record-table td {
    padding: 10px 4px;
  }

  .graduates-record-table thead th {
    font-size: 0.72rem;
  }

  .generation-link {
    min-height: 76px;
    padding: 8px 3px;
  }

  .generation-link strong {
    font-size: 0.86rem;
  }

  .generation-link span {
    font-size: 0.72rem;
  }

  .graduates-record-table small {
    font-size: 0.68rem;
  }
}

/* ========================================
   スマートフォン: カード表示
======================================== */
@media (max-width: 768px) {
  .graduates-table-wrap {
    margin-top: 24px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .graduates-record-table,
  .graduates-record-table tbody,
  .graduates-record-table tr,
  .graduates-record-table th,
  .graduates-record-table td {
    display: block;
    width: 100%;
  }

  .graduates-record-table {
    table-layout: auto;
    border-collapse: separate;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* 見出し行はカード内のラベルへ置き換えるため非表示 */
  .graduates-record-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .graduates-record-table tbody tr {
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid #cedbd3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgb(0 0 0 / 7%);
  }

  .graduates-record-table tbody tr:nth-child(even),
  .graduates-record-table tbody tr:hover {
    background: #fff;
  }

  .graduates-record-table th,
  .graduates-record-table td {
    box-sizing: border-box;
    border-right: 0;
    border-bottom: 1px solid #e2e8e4;
    text-align: left;
  }

  /* 年代ヘッダー */
  .graduates-record-table .generation-cell {
    width: 100%;
    border-bottom: 0;
    background: #075c38;
  }

  .generation-link {
    min-height: auto;
    padding: 17px 18px;
    color: #fff;
    line-height: 1.45;
  }

  .generation-link:hover {
    background: #064c30;
    color: #fff;
  }

  .generation-link strong {
    margin: 0 0 3px;
    font-size: 1.18rem;
  }

  .generation-link span {
    font-size: 0.92rem;
  }

  /*
   主将名・人数:
   カード上部で見やすく表示
  */
  .graduates-record-table td:nth-child(2),
  .graduates-record-table td:nth-child(3) {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    align-items: center;
    min-height: 48px;
    padding: 11px 16px;
    background: #f3f8f5;
  }

  .graduates-record-table td:nth-child(2)::before {
    content: "主将名";
  }

  .graduates-record-table td:nth-child(3)::before {
    content: "人数";
  }

  /*
   大会成績:
   ラベルと結果を横並び
  */
  .graduates-record-table td:nth-child(n + 4) {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: center;
    min-height: 50px;
    padding: 12px 16px;
  }

  .graduates-record-table td:nth-child(4)::before {
    content: "全日";
  }

  .graduates-record-table td:nth-child(5)::before {
    content: "県選手権マルナカカップ";
  }

  .graduates-record-table td:nth-child(6)::before {
    content: "県リーグ";
  }

  .graduates-record-table td:nth-child(7)::before {
    content: "チャンピオンシップ";
  }

  .graduates-record-table td:nth-child(8)::before {
    content: "U-11県選手権";
  }

  .graduates-record-table td:nth-child(9)::before {
    content: "U-9新春";
  }

  .graduates-record-table td:nth-child(10)::before {
    content: "U-9夏季";
  }

  .graduates-record-table td::before {
    padding-right: 12px;
    color: #075c38;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .graduates-record-table td {
    color: #1e2923;
    font-size: 0.92rem;
    font-weight: 600;
  }

  .graduates-record-table td:last-child {
    border-bottom: 0;
  }

  .graduates-record-table small {
    display: inline;
    margin: 0 0 0 5px;
    color: #5b6861;
    font-size: 0.8rem;
  }
}

/* 小型スマートフォン */
@media (max-width: 390px) {
  .graduates-record-table td:nth-child(2),
  .graduates-record-table td:nth-child(3),
  .graduates-record-table td:nth-child(n + 4) {
    grid-template-columns: 6.6rem minmax(0, 1fr);
    padding-right: 12px;
    padding-left: 12px;
  }

  .graduates-record-table td::before {
    padding-right: 8px;
    font-size: 0.72rem;
  }

  .graduates-record-table td {
    font-size: 0.88rem;
  }
}
/* 上位成績の強調 */
.record-highlight {
  color: #c62828;
  font-weight: 800;
}

.graduates-record-table small.record-highlight {
  color: #c62828;
  font-weight: 800;
}

/* スマートフォンでも赤字を維持 */
@media (max-width: 768px) {
  .graduates-record-table .record-highlight,
  .graduates-record-table small.record-highlight {
    color: #c62828;
    font-weight: 800;
  }
}

[data-schedule="all"] {
  display: block !important;
}

[data-schedule="all"] ul.pdf-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

[data-schedule="all"] ul.pdf-link-list li {
  margin-bottom: 16px;
}

[data-schedule="all"] ul.pdf-link-list li a {
  display: inline-block;
  text-decoration: underline;
}

