@charset "UTF-8";

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --navy:        #1c2c46;
  --navy-deep:   #0b1729;
  --navy-text:   #24344e;
  --navy-sub:    #33455f;
  /* サイトのアクセントカラー（指し色）。変数名は --orange のままだが値は青。 */
  --orange:      #2b7fc7;
  --orange-link: #2670b3;
  /* 英語ラベル（eyebrow）用。もとは金色だったが水色に変更。変数名は据え置き。 */
  --gold:        #4aa3d6;

  --bg:          #edeae4;
  --card-bg:     #ffffff;
  --line:        #e4e0d8;
  --line-soft:   #eeeae2;

  --gray:        #8a94a3;
  --gray-strong: #6f7a8b;
  --chevron:     #9aa3b2;

  --badge-bg:    #dde5f0;
  --badge-text:  #3a4d6b;

  /* 見出し＝明朝、本文＝ゴシック */
  --font-serif: 'Zen Old Mincho', 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-en: 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow: 0 6px 26px rgba(28, 44, 70, .05);

  --gnav-h: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  /* overflow-x: hidden は .gnav の position:sticky を無効化するため使わない。
     ヒーロー画像のはみ出しは .hero 側の overflow:hidden でクリップする。 */
}

body.is-locked { overflow: hidden; }

h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .25s ease, color .25s ease;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* 見出し・強調テキストは明朝。それ以外（本文・日付・タグ・UI）はゴシック */
.brand__name,
.hero__title,
.philosophy__title,
.card__title,
.result__team,
.result__point,
.schedule__vs,
.news__title,
.blog-card__title,
.instagram__title,
.footer__name {
  font-family: var(--font-serif);
}

/* 共通パーツ ------------------------------------------------ */
.eyebrow {
  display: block;
  font-family: var(--font-en);
  color: var(--gold);
  font-size: clamp(10px, .8vw, 12px);
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  padding-left: .38em; /* letter-spacing 分の視覚補正 */
}

.eyebrow--sub {
  color: #a2abb8;
  letter-spacing: .3em;
  padding-left: .3em;
  margin-bottom: 4px;
}

.badge {
  flex: none;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: clamp(11px, .9vw, 13px);
  line-height: 1.6;
  padding: 3px 11px;
  border-radius: 4px;
  letter-spacing: .05em;
  white-space: nowrap;
}

.chevron {
  flex: none;
  color: var(--chevron);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 300;
  line-height: 1;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: min(84vh, 720px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 118%;
  max-width: none; /* ベースの img { max-width:100% } を解除してパン用の余白を確保する */
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  transform: translateX(0);
  animation: heroPan 11s cubic-bezier(.25, .6, .2, 1) .35s forwards;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(8, 17, 33, .97) 0%,
    rgba(9, 20, 38, .92) 30%,
    rgba(11, 24, 44, .55) 60%,
    rgba(11, 24, 44, .12) 100%);
}

/* ヒーロー内トップバー */
.hero__nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2.6vw, 28px) clamp(20px, 4vw, 56px);
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 16px);
  min-width: 0;
}

.brand__logo {
  flex: none;
  height: clamp(38px, 3.6vw, 54px);
  width: auto;
  filter: brightness(0) invert(1);
}

.brand__name {
  color: #fff;
  font-size: clamp(16px, 1.6vw, 23px);
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* ハンバーガー（SPのみ） */
.menu-btn {
  position: relative;
  z-index: 60;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 34px;
  padding: 8px 0;
  cursor: pointer;
}

.menu-btn__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}

.menu-btn.is-open .menu-btn__line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.is-open .menu-btn__line:nth-child(2) { opacity: 0; }
.menu-btn.is-open .menu-btn__line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ヒーローコピー */
.hero__copy {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 4vw, 56px) clamp(24px, 4.5vw, 64px) clamp(52px, 6.5vw, 92px);
}

.hero__title {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .09em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .42);
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-top: .06em;
}

.hero__line-inner {
  display: block;
  transform: translateY(120%);
  animation: lineUp 1.15s cubic-bezier(.19, 1, .22, 1) .35s forwards;
}

.hero__line:nth-child(2) .hero__line-inner { animation-delay: .52s; }

.hero__lead {
  color: #eef1f6;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 2;
  letter-spacing: .05em;
  margin-top: clamp(20px, 2.2vw, 32px);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 1.1s ease .95s forwards;
}

/* =========================================================
   Global nav（PCのみ／メインビジュアル直下・スクロール追従）
   ========================================================= */
.gnav {
  display: none; /* SPはドロワーを使う */
}

/* ヒーローコピーと左端を揃えるため、コンテナ幅＋左右余白を共通化する */
.gnav__list {
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.gnav__item {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.gnav__item:last-child {
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.gnav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--gnav-h);
  color: #fff;
  position: relative;
  transition: background-color .25s ease, color .25s ease;
}

/* Material Symbols Rounded（アイコンフォント） */
.gnav__icon {
  flex: none;
  font-family: 'Material Symbols Rounded';
  font-size: 24px;
  font-weight: 200;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  font-style: normal;
  letter-spacing: normal;
  white-space: nowrap;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
}

.gnav__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gnav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .28s ease;
}

.gnav__link:hover,
.gnav__link.is-current { background: rgba(255, 255, 255, .05); }

.gnav__link:hover::after,
.gnav__link.is-current::after { transform: scaleX(1); }

.gnav__ja {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  white-space: nowrap;
}

.gnav__en {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  font-weight: 200;
  font-style: italic;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-top: 2px;
  text-transform: none;
}

/* =========================================================
   Main
   ========================================================= */
.main {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 5.5vw, 88px) clamp(16px, 3.4vw, 36px) clamp(56px, 6.5vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 38px);
}

/* 理念 ----------------------------------------------------- */
.philosophy {
  text-align: center;
  margin-bottom: clamp(4px, 1.2vw, 16px);
}

.philosophy .eyebrow { margin-bottom: clamp(10px, 1.1vw, 15px); }

.philosophy__title {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .2em;
  padding-left: .2em;
}

.philosophy__rule {
  width: clamp(40px, 3.2vw, 52px);
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: clamp(16px, 1.6vw, 24px) auto clamp(22px, 2.4vw, 34px);
}

.philosophy__text {
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 2.1;
  letter-spacing: .04em;
  color: var(--navy-text);
}

/* カード --------------------------------------------------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.2vw, 32px) clamp(18px, 2.4vw, 36px);
}

.card--flat { padding: 0; }

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: clamp(14px, 1.5vw, 20px);
  border-bottom: 1px solid #e7e3db;
}

.card__head-left {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 14px);
  min-width: 0;
}

.card__icon {
  flex: none;
  width: clamp(24px, 2vw, 30px);
  height: auto;
  color: var(--navy);
}

.card__icon--accent { color: var(--orange); }

.card__title {
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* 英語サブラベル（Match Result / Schedule / Blog）は幅が足りず改行が乱れるため、
   SPでは非表示。PC（900px〜）でのみ表示する */
.card__title-en {
  display: none;
  font-family: var(--font-en);
  color: #a2abb8;
  font-size: clamp(9px, .75vw, 11px);
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.card__more {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-link);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
}

.card__more-arrow { font-size: 1.15em; }
.card__more:hover { opacity: .7; }

/* 行リンク共通 */
.result,
.schedule,
.news {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
}

.result:hover,
.schedule:hover,
.news:hover { opacity: .75; }

/* 試合結果 ------------------------------------------------- */
.result { padding-top: clamp(16px, 1.8vw, 24px); }

.result__body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}

.result__meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 14px);
}

.result__date {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--navy-sub);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.result__match {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.result__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 32px);
}

.result__team {
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 500;
}

.result__point {
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 700;
  color: var(--orange-link);
  letter-spacing: .1em;
  white-space: nowrap;
}

.result__sets {
  font-size: clamp(12px, .95vw, 14px);
  color: #7d8798;
  letter-spacing: .05em;
}

/* 試合予定 ------------------------------------------------- */
.schedule {
  padding: clamp(16px, 1.8vw, 24px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.schedule:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.schedule__body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
}

.schedule__info {
  flex: 1;
  min-width: 0;
}

.schedule__meta {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
}

.schedule__date {
  font-size: clamp(14px, 1.1vw, 16px);
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}

.schedule__vs {
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  margin-top: 4px;
}

.schedule__venue {
  flex: none;
  font-size: clamp(12px, .95vw, 14px);
  color: var(--gray-strong);
  letter-spacing: .04em;
}

/* お知らせ ------------------------------------------------- */
.news {
  padding: clamp(16px, 1.8vw, 24px) 0;
  border-bottom: 1px solid var(--line-soft);
  gap: clamp(14px, 1.8vw, 26px);
}

.news:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.news__thumb {
  flex: none;
  width: clamp(110px, 12vw, 160px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.news__body {
  flex: 1;
  min-width: 0;
}

.news__date {
  display: block;
  font-size: clamp(11px, .9vw, 13px);
  color: var(--gray);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.news__title {
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .03em;
  margin-top: 4px;
}

/* ブログ（カードグリッド） ----------------------------------- */
.blog__head {
  /* 白カードの外に置くため、区切り線を背景色になじむ濃さにする */
  border-bottom-color: #dcd6ca;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  padding-top: clamp(20px, 2.2vw, 30px);
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(28, 44, 70, .14);
}

.blog-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e5df;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .3, 1);
}

.blog-card:hover .blog-card__thumb img { transform: scale(1.07); }

/* 画像下端をわずかに沈ませ、白いボディへ自然につなぐ */
.blog-card__thumb::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(to top, rgba(11, 23, 41, .16), transparent);
  pointer-events: none;
}

.blog-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 1.2vw, 18px) clamp(12px, 1.2vw, 18px) clamp(14px, 1.4vw, 20px);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.blog-card__date {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.blog-card__cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #1f5f9e;
  background: rgba(43, 127, 199, .12);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.blog-card__title {
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .03em;
  /* カードの高さを揃えるため2行で打ち切る */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  transition: color .25s ease;
}

.blog-card:hover .blog-card__title { color: var(--orange-link); }

/* Instagram ------------------------------------------------ */
.instagram {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(20px, 2.2vw, 32px) clamp(18px, 2.4vw, 36px);
}

.instagram:hover { opacity: .75; }

.instagram__icon {
  flex: none;
  width: clamp(32px, 2.8vw, 42px);
  height: auto;
  color: var(--navy);
}

.instagram__body {
  flex: 1;
  min-width: 0;
}

.instagram__title {
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 500;
  letter-spacing: .06em;
}

.instagram__text {
  font-size: clamp(12px, 1vw, 14px);
  color: #566276;
  letter-spacing: .03em;
  margin-top: 4px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--navy-deep);
  color: #c8d0dc;
  text-align: center;
  padding: clamp(36px, 4vw, 56px) 20px;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer__logo {
  height: clamp(30px, 2.6vw, 38px);
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__name {
  color: #fff;
  font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: .06em;
}

.footer__copy {
  font-size: clamp(11px, .9vw, 13px);
  color: #7f8ba0;
  letter-spacing: .05em;
}

/* =========================================================
   Drawer（SPのみ）
   ========================================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(6, 13, 25, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .32s ease;
}

.drawer-overlay.is-open { opacity: 1; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  height: 100%;
  width: min(320px, 82vw);
  background: var(--navy-deep);
  box-shadow: -12px 0 40px rgba(0, 0, 0, .4);
  padding: clamp(76px, 9vh, 100px) clamp(24px, 5vw, 36px) 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}

.drawer.is-open { transform: translateX(0); }

/* 閉じる×ボタン（ドロワー右上） */
.drawer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .35s cubic-bezier(.2, 1.3, .4, 1);
}

.drawer__close:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--orange);
  transform: rotate(90deg);
}

.drawer__close-icon {
  font-family: 'Material Symbols Rounded';
  font-size: 30px;
  font-weight: 300;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

/* ドロワーの×と重ならないよう、開いている間はハンバーガーを隠す */
.menu-btn.is-open {
  opacity: 0;
  pointer-events: none;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #eef1f6;
  font-size: 17px;
  letter-spacing: .1em;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.drawer__link span { color: var(--orange); font-weight: 300; }
.drawer__link:hover { color: var(--orange); }

/* =========================================================
   Animations
   ========================================================= */
@keyframes heroPan {
  from { transform: translateX(0); }
  to   { transform: translateX(-15.25%); }
}

@keyframes lineUp {
  to { transform: translateY(0); }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   スクロール表示アニメーション（reveal）
   JS が画面に入った要素へ .is-visible を付ける
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .85s cubic-bezier(.2, .7, .3, 1),
    transform .85s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* フェードのみ（動かさない） */
[data-reveal="fade"] { transform: none; }

/* 弾むように出る（スコアの数字など） */
[data-reveal="pop"] {
  transform: scale(.72);
  transition:
    opacity .5s ease,
    transform .7s cubic-bezier(.2, 1.5, .4, 1);
}

[data-reveal="pop"].is-visible { transform: scale(1); }

/* 左からスライド */
[data-reveal="left"] { transform: translateX(-26px); }

/* =========================================================
   マイクロインタラクション（ホバー時の細かい動き）
   ========================================================= */

/* 矢印がホバーで少し前に出る */
.chevron,
.card__more-arrow {
  display: inline-block;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}

.result:hover .chevron,
.schedule:hover .chevron,
.news:hover .chevron,
.instagram:hover .chevron,
.simple-list__link:hover .chevron,
.card__more:hover .card__more-arrow { transform: translateX(4px); }

/* ナビのアイコンが軽く跳ねる */
.gnav__icon {
  transition: transform .35s cubic-bezier(.2, 1.5, .4, 1);
}

.gnav__link:hover .gnav__icon { transform: translateY(-3px) scale(1.1); }

/* Instagramアイコンがホバーで少し大きくなる */
.instagram__icon {
  transition: transform .35s cubic-bezier(.2, 1.4, .4, 1);
}

.instagram:hover .instagram__icon { transform: scale(1.1) rotate(-4deg); }

/* カード見出しのアイコンをふわっと */
.card__icon {
  transition: transform .4s cubic-bezier(.2, 1.3, .4, 1);
}

.card:hover .card__icon,
.blog:hover .card__icon { transform: translateY(-2px); }

/* 詳細ページの前後リンク */
.detail-nav__link,
.detail-nav__center { transition: transform .3s ease, color .25s ease, opacity .25s ease; }
.detail-nav__link:hover { transform: translateX(3px); }

/* =========================================================
   ページトップへ戻るボタン
   ========================================================= */
.to-top {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 35;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(11, 23, 41, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s, background-color .25s ease;
}

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.to-top__icon {
  font-family: 'Material Symbols Rounded';
  font-size: 24px;
  font-weight: 300;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

/* =========================================================
   Responsive — PC（900px～）：グローバルナビを表示
   ========================================================= */
@media (min-width: 900px) {
  .gnav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--navy-deep);
    box-shadow: 0 2px 14px rgba(11, 23, 41, .18);
  }

  .menu-btn { display: none; }

  .card__title-en { display: inline; }

  /* ヒーローコピーの左端をグローバルナビの左端に揃え（同じコンテナ幅・同じ左右余白）、
     下パディングを増やして 50px ほど上に持ち上げる */
  .hero__copy {
    width: 100%;
    max-width: calc(var(--container) + 48px);
    margin-inline: auto;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: clamp(102px, 9.8vw, 142px);
  }
}

/* ナビ7項目が窮屈になる幅では、文字と余白を詰めて1行に収める */
@media (min-width: 900px) and (max-width: 1240px) {
  .gnav__link { gap: 5px; }
  .gnav__icon { font-size: 19px; }
  .gnav__ja { font-size: 13px; letter-spacing: .5px; }
  .gnav__en { font-size: 11px; letter-spacing: .5px; }
}

/* =========================================================
   Responsive — Tablet（～899px）
   ========================================================= */
@media (max-width: 899px) {
  .schedule__venue {
    align-self: flex-end;
    text-align: right;
  }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
/* 注：.player-grid など、これより後ろで定義しているものの調整は
   ファイル末尾の「下層ページのレスポンシブ」にまとめている。
   （同じ詳細度なら後に書いたルールが勝つため） */

/* =========================================================
   Responsive — SP（～767px）
   ========================================================= */
/* =========================================================
   追従ヘッダー
   ・下層：元からある濃紺バーをそのまま貼り付ける
   ・トップ：ヒーローを1画面ぶんスクロールしたら、同じ濃紺バーを上から降ろす
   ========================================================= */

/* トップページ用。普段は画面の外に隠しておく */
.floating-head {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--navy-deep);
  box-shadow: 0 4px 18px rgba(11, 23, 41, .35);
  transform: translateY(-100%);
  transition: transform .38s cubic-bezier(.2, .8, .3, 1);
}

.floating-head.is-shown { transform: translateY(0); }

.floating-head__inner {
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: clamp(12px, 2vw, 16px) clamp(20px, 4vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 追従バーの中ではロゴを少し小さくして、圧迫感を減らす */
.floating-head .brand__logo { height: 34px; }
.floating-head .brand__name { font-size: 16px; }

@media (max-width: 899px) {
  .floating-head { display: block; }

  /* 下層ページのヘッダーはそのまま貼り付ける */
  .subhead {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow .3s ease;
  }

  .subhead.is-stuck {
    box-shadow: 0 4px 18px rgba(11, 23, 41, .35);
  }

  /* 追従ヘッダーより手前にドロワーを出す */
  .drawer-overlay { z-index: 55; }
  .drawer { z-index: 56; }
}

@media (max-width: 767px) {
  .hero { min-height: 80vh; }

  .hero__bg { object-position: 42% center; }

  .hero__overlay {
    background: linear-gradient(115deg,
      rgba(8, 17, 33, .96) 0%,
      rgba(9, 20, 38, .88) 34%,
      rgba(11, 24, 44, .5) 68%,
      rgba(11, 24, 44, .18) 100%);
  }

  .hero__title { font-size: clamp(30px, 9vw, 38px); }

  .hero__lead { font-size: 14px; }

  /* 理念：1行あたりの文字数が入り切らないため br を外して自然折り返しにする */
  .philosophy__text {
    font-size: 14px;
    line-height: 2;
  }

  .philosophy__text br { display: none; }

  /* 試合結果：日付＋タグ／スコア／セット を縦積み */
  .result__body {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .result__meta { justify-content: flex-start; }

  .result__match { align-items: center; }

  .result__score { gap: 12px; }

  /* 試合予定 */
  .schedule__body {
    align-items: flex-end;
    gap: 10px;
  }

  .schedule__venue { font-size: 12px; }

  /* お知らせ */
  .news__thumb { width: 118px; }

  /* ブログ */
  .blog-grid { gap: 10px; }
  .blog-card__body { padding: 12px 12px 14px; }
  .blog-card__title { font-size: 14px; line-height: 1.6; }
  .blog-card__date { font-size: 11px; }
}

/* =========================================================
   Responsive — 小型SP（～374px）
   ========================================================= */
@media (max-width: 374px) {
  .brand__name { font-size: 14px; }
  .brand__logo { height: 32px; }

  .hero__title { font-size: 29px; }

  .card__title { font-size: 17px; }

  .schedule__body { flex-direction: column; align-items: flex-start; }
  .schedule__venue { align-self: flex-start; text-align: left; }

  .news__thumb { width: 96px; }
}

/* =========================================================
   Motion reduction
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__bg,
  .hero__line-inner,
  .hero__lead {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* スクロール表示・ホバーの動きをすべて止める（内容は最初から見える状態にする） */
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .chevron,
  .card__more-arrow,
  .gnav__icon,
  .instagram__icon,
  .card__icon,
  .blog-card,
  .blog-card__thumb img,
  .detail-nav__link,
  .drawer,
  .drawer-overlay,
  .to-top {
    transition: none !important;
  }

  .result:hover .chevron,
  .schedule:hover .chevron,
  .news:hover .chevron,
  .instagram:hover .chevron,
  .card__more:hover .card__more-arrow,
  .gnav__link:hover .gnav__icon,
  .instagram:hover .instagram__icon,
  .card:hover .card__icon,
  .blog-card:hover,
  .detail-nav__link:hover,
  .to-top:hover { transform: none !important; }
}

/* =========================================================
   下層ページ用（WordPress）
   ========================================================= */

/* 下層ページのヘッダー（ヒーローなし） */
.subhead {
  background: var(--navy-deep);
}

.subhead__inner {
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: clamp(16px, 2vw, 22px) 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ページタイトル（下層の見出し帯） */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 17, 33, .95) 0%, rgba(11, 24, 44, .82) 55%, rgba(11, 24, 44, .62) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 68px) 24px;
}

.page-hero__en {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-style: italic;
  font-weight: 200;
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 6px;
}

.page-hero__title {
  font-family: var(--font-serif);
  color: #fff;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
}

/* パンくず */
.breadcrumb {
  background: rgba(255, 255, 255, .55);
  border-bottom: 1px solid var(--line);
}

.breadcrumb__list {
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-strong);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb__item a:hover { color: var(--orange-link); }

.breadcrumb__sep { color: var(--chevron); }

/* 詳細ページの外枠 */
.detail {
  padding: clamp(22px, 2.6vw, 40px) clamp(18px, 2.6vw, 40px) clamp(24px, 2.8vw, 44px);
}

/* スコアボード（試合結果詳細） */
.scoreboard {
  text-align: center;
  padding: clamp(18px, 2.4vw, 32px) 0 clamp(22px, 2.6vw, 34px);
  border-bottom: 1px solid var(--line-soft);
}

.scoreboard__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.scoreboard__date {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--navy-sub);
  font-variant-numeric: tabular-nums;
}

.badge--round {
  background: rgba(43, 127, 199, .14);
  color: #1f5f9e;
}

.scoreboard__result {
  font-family: var(--font-en);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 12px;
}

.scoreboard__result--win { color: var(--orange); }
.scoreboard__result--lose { color: var(--gray); }

.scoreboard__teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 40px);
}

.scoreboard__team {
  flex: 1;
  min-width: 0;
  max-width: 260px;
}

.scoreboard__team-name {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.4;
}

.scoreboard__score {
  flex: none;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
}

.scoreboard__num {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 700;
  color: var(--orange-link);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.scoreboard__dash {
  font-size: clamp(20px, 2vw, 30px);
  color: var(--chevron);
  font-weight: 300;
}

.scoreboard__sets {
  margin-top: 14px;
  font-size: clamp(13px, 1.1vw, 16px);
  color: #7d8798;
  letter-spacing: .05em;
}

/* スコアボード（試合予定詳細） */
.scoreboard--schedule .scoreboard__vs {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: .06em;
}

.scoreboard__venue {
  margin-top: 12px;
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--gray-strong);
}

/* 詳細テーブル */
.detail-table {
  margin-top: clamp(18px, 2vw, 26px);
}

.detail-table__row {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.detail-table__row dt {
  flex: none;
  width: clamp(90px, 12vw, 130px);
  font-weight: 600;
  font-size: clamp(13px, 1.05vw, 15px);
  color: var(--navy-sub);
}

.detail-table__row dd {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: clamp(14px, 1.1vw, 16px);
}

/* 記事ヘッダー（お知らせ・ブログ詳細） */
.entry-head {
  padding-bottom: clamp(14px, 1.6vw, 20px);
  border-bottom: 1px solid var(--line-soft);
}

.entry-head__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.entry-head__date {
  display: block;
  font-size: clamp(12px, 1vw, 14px);
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}

.entry-head__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
  margin-top: 6px;
}

/* 前後リンク */
.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(22px, 2.6vw, 36px);
  padding-top: clamp(16px, 1.8vw, 24px);
  border-top: 1px solid var(--line-soft);
  font-size: clamp(13px, 1.05vw, 15px);
}

.detail-nav__link { color: var(--orange-link); }
.detail-nav__link:hover { opacity: .7; }
.detail-nav__center { color: var(--navy-sub); font-weight: 500; }
.detail-nav__center:hover { color: var(--orange-link); }

/* カテゴリ絞り込み */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cat-filter__link {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-bg);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--navy-sub);
}

.cat-filter__link:hover {
  border-color: var(--orange);
  color: var(--orange-link);
}

.cat-filter__link.is-current {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}

/* フッターナビ */
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 18px;
}

.footer__link {
  font-size: clamp(13px, 1.05vw, 15px);
  color: #c8d0dc;
  letter-spacing: .05em;
}

.footer__link:hover { color: var(--orange); }

/* =========================================================
   チーム紹介（選手一覧）
   ========================================================= */
.players__count {
  flex: none;
  font-size: clamp(12px, 1vw, 14px);
  color: var(--gray-strong);
  letter-spacing: .06em;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  padding-top: clamp(18px, 2vw, 28px);
}

.player-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(28, 44, 70, .13);
}

/* カード上部：背番号＋氏名＋ポジション（写真なし） */
.player-card__head {
  position: relative;
  padding: clamp(16px, 1.8vw, 22px) clamp(14px, 1.4vw, 18px) clamp(13px, 1.4vw, 17px);
  padding-left: clamp(52px, 5vw, 62px); /* 背番号ぶんの余白 */
  background: var(--navy-deep);
  color: #fff;
}

/* 背番号（左に大きく） */
.player-card__number {
  position: absolute;
  left: clamp(14px, 1.4vw, 18px);
  top: 50%;
  transform: translateY(-50%);
  min-width: 30px;
  font-family: var(--font-en);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.player-card__name {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.4;
  color: #fff;
}

.player-card__position {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(10px, .85vw, 12px);
  font-weight: 500;
  color: #9ecbf2;
  letter-spacing: .06em;
}

.player-card__body {
  flex: 1;
  padding: clamp(12px, 1.3vw, 17px) clamp(13px, 1.4vw, 18px) clamp(14px, 1.5vw, 19px);
}

/* プロフィール（出身・身長・強み） */
.player-card__spec {
  margin: 0;
}

.player-card__spec-row {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  font-size: clamp(11px, .95vw, 13px);
  line-height: 1.6;
  border-bottom: 1px solid var(--line-soft);
}

.player-card__spec-row:last-child { border-bottom: none; }

.player-card__spec-row dt {
  flex: none;
  width: 34px;
  color: var(--gray);
  font-weight: 600;
}

.player-card__spec-row dd {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--navy-text);
}

.player-card__comment {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: clamp(11px, .95vw, 13px);
  color: var(--navy-sub);
  line-height: 1.7;
  letter-spacing: .02em;
}

/* =========================================================
   お問い合わせフォーム（Contact Form 7）
   ========================================================= */
.contact-lead {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 2;
  color: var(--navy-text);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}

.cf7-field {
  grid-column: 1 / -1; /* 既定は横幅いっぱい */
  margin: 0;
}

.cf7-field--half { grid-column: span 1; }

.cf7-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--navy-sub);
  margin-bottom: 8px;
}

/* CF7 が入力欄を包む span。ブロックにしてラベル直下にぴったり付ける */
.cf7-field .wpcf7-form-control-wrap {
  display: block;
}

.cf7-required {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: #fff;
  background: var(--orange);
  padding: 2px 7px;
  border-radius: 3px;
}

/* 入力欄 */
.cf7-grid input[type="text"],
.cf7-grid input[type="email"],
.cf7-grid input[type="tel"],
.cf7-grid select,
.cf7-grid textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-sans);
  font-size: 16px; /* iOSで拡大されないよう16px以上にする */
  line-height: 1.7;
  color: var(--navy);
  background: #fbfaf8;
  border: 1px solid #ddd8cd;
  border-radius: 6px;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.cf7-grid textarea {
  resize: vertical;
  min-height: 160px;
}

/* セレクトに矢印を付ける（appearance:none で消えるため） */
.cf7-grid select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236f7a8b' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}

.cf7-grid input:focus,
.cf7-grid select:focus,
.cf7-grid textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(43, 127, 199, .16);
}

.cf7-grid ::placeholder { color: #b3b0a8; }

/* プライバシーポリシー同意 */
.cf7-privacy {
  text-align: center;
  font-size: clamp(13px, 1.05vw, 15px);
  color: var(--navy-text);
  padding-top: clamp(4px, 1vw, 10px);
}

.cf7-privacy .wpcf7-list-item { margin: 0; }

.cf7-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: var(--orange);
  vertical-align: -3px;
  cursor: pointer;
}

.cf7-privacy a {
  color: var(--orange-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cf7-privacy a:hover { opacity: .75; }

/* 送信ボタン */
.cf7-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: clamp(6px, 1vw, 12px);
}

.cf7-grid input[type="submit"] {
  min-width: 240px;
  padding: 16px 40px;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: .1em;
  color: #fff;
  background: var(--navy-deep);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .3s ease, transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease;
}

.cf7-grid input[type="submit"]:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 127, 199, .3);
}

.cf7-grid input[type="submit"]:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* 送信中のスピナー */
.wpcf7-spinner { margin: 0 0 0 12px; }

/* エラー・完了メッセージ */
.wpcf7 form .wpcf7-response-output {
  margin: clamp(18px, 2vw, 26px) 0 0;
  padding: 14px 18px;
  border: none;
  border-radius: 6px;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.8;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(90, 160, 110, .12);
  color: #2f6b45;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: rgba(200, 70, 70, .1);
  color: #a63b3b;
}

/* 各項目のエラー文言 */
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #c0392b;
  letter-spacing: .03em;
}

.wpcf7-not-valid {
  border-color: #d98080 !important;
  background: #fdf7f7 !important;
}

/* 404 */
.notfound {
  text-align: center;
  padding: clamp(20px, 3vw, 44px) 0;
}

.notfound__code {
  font-family: var(--font-en);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 700;
  color: var(--line);
  line-height: 1;
}

.notfound__text {
  margin: 18px 0 26px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 2;
  color: var(--navy-text);
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 6px;
  background: var(--navy-deep);
  color: #fff;
  font-size: clamp(14px, 1.1vw, 16px);
  letter-spacing: .06em;
  transition: background-color .25s ease;
}

.btn:hover { background: var(--orange); color: #fff; }

/* 空状態メッセージ */
.empty-note {
  padding-top: clamp(16px, 1.8vw, 24px);
  color: var(--gray-strong);
  font-size: clamp(14px, 1.1vw, 16px);
}

/* 一覧（アーカイブ）用シンプルリスト */
.simple-list__link {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  padding: clamp(14px, 1.6vw, 20px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.simple-list li:last-child .simple-list__link { border-bottom: none; }

.simple-list__link:hover { opacity: .75; }

.simple-list__date {
  flex: none;
  font-size: clamp(13px, 1vw, 15px);
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}

.simple-list__title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.2vw, 18px);
}

/* 個別記事本文 */
.entry__thumb {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: clamp(16px, 2vw, 26px) 0;
}

.entry__body {
  padding-top: clamp(12px, 1.4vw, 18px);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 2;
}

.entry__body p { margin: 0 0 1.4em; }
.entry__body h2,
.entry__body h3 {
  font-family: var(--font-serif);
  margin: 1.6em 0 .7em;
}
.entry__body img { border-radius: 6px; height: auto; }

/* ページネーション */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: clamp(20px, 2.4vw, 34px);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card-bg);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.pagination .page-numbers.current {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pagination a.page-numbers:hover { border-color: var(--orange); color: var(--orange-link); }

/* =========================================================
   下層ページ・フォーム・選手のレスポンシブ
   ここまでに定義したルールを上書きするため、必ずファイル末尾に置く。
   （CSSは同じ詳細度なら「後に書いたもの」が勝つ）
   ========================================================= */

/* --- タブレット（～899px） --- */
@media (max-width: 899px) {
  .player-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- スマートフォン（～767px） --- */
@media (max-width: 767px) {

  /* 選手：4カラムは窮屈なので2カラムにする */
  .player-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .player-card__name { font-size: 15px; }
  .player-card__position { font-size: 11px; }
  .player-card__meta { font-size: 11px; }
  .player-card__comment { font-size: 12px; }

  /* お問い合わせフォーム：すべての項目を横幅いっぱいの1カラムにする */
  .cf7-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cf7-field--half { grid-column: 1 / -1; }

  .cf7-grid input[type="submit"] {
    width: 100%;
    min-width: 0;
  }

  /* スコアボード：チーム名とスコアを縦積みにして読みやすく */
  .scoreboard__teams {
    flex-direction: column;
    gap: 10px;
  }

  .scoreboard__team { max-width: none; }
  .scoreboard__num { font-size: 40px; }

  /* 詳細テーブル：見出しと内容を縦積み */
  .detail-table__row {
    flex-direction: column;
    gap: 4px;
  }

  .detail-table__row dt { width: auto; }

  /* カテゴリ絞り込みは見出しの下へ回す */
  .blog__head {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .cat-filter {
    width: 100%;
    justify-content: flex-start;
  }

  .cat-filter__link { font-size: 12px; padding: 4px 11px; }

  /* パンくずは省スペースに */
  .breadcrumb__list { font-size: 12px; padding: 10px 16px; }

  /* 前後リンク */
  .detail-nav { font-size: 12px; }

  /* フッターメニューはスマホでは表示しない（ドロワーがあるため） */
  .footer__nav { display: none; }
}

/* --- 小型スマートフォン（～374px） --- */
@media (max-width: 374px) {
  .player-card__name { font-size: 14px; }
  .player-card__comment { font-size: 11px; }
}

/* =========================================================
   「準備中」ポップアップ
   ========================================================= */
.coming-soon {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.coming-soon__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 25, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .4s ease;
}

.coming-soon.is-open .coming-soon__overlay { opacity: 1; }

.coming-soon__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(6, 13, 25, .5);
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 44px) clamp(28px, 4vw, 40px);
  text-align: center;
  /* 上部に濃紺のアクセント */
  border-top: 4px solid var(--navy-deep);
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2, .9, .3, 1);
}

.coming-soon.is-open .coming-soon__box {
  opacity: 1;
  transform: none;
}

.coming-soon__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gray-strong);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .35s cubic-bezier(.2, 1.3, .4, 1);
}

.coming-soon__close:hover {
  background: var(--bg);
  color: var(--navy);
  transform: rotate(90deg);
}

.coming-soon__close-icon {
  font-family: 'Material Symbols Rounded';
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.coming-soon__logo {
  height: clamp(52px, 8vw, 66px);
  width: auto;
  margin: 0 auto clamp(16px, 2vw, 22px);
  /* 黒の校章を濃紺寄りに */
  filter: brightness(0) saturate(100%) invert(11%) sepia(28%) saturate(1500%) hue-rotate(185deg);
}

.coming-soon__en {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-style: italic;
  font-weight: 200;
  font-size: clamp(13px, 1.3vw, 15px);
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 8px;
}

.coming-soon__title {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.coming-soon__text {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2;
  color: var(--navy-text);
  letter-spacing: .02em;
  margin-bottom: clamp(22px, 3vw, 30px);
}

.coming-soon__btn {
  display: inline-block;
  min-width: 200px;
  padding: 13px 32px;
  background: var(--navy-deep);
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .3s ease, transform .3s cubic-bezier(.2, .8, .3, 1);
}

.coming-soon__btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

/* SP では本文の改行を外して自然に折り返す */
@media (max-width: 767px) {
  .coming-soon__text br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon__overlay,
  .coming-soon__box,
  .coming-soon__close,
  .coming-soon__btn { transition: none; }
}
