/* ============================================================
   ATHLETE CARDS — ファンデッキ（トップ）＋ 一覧グリッド
============================================================ */

/* ===== sec-media をダーク背景に ===== */
.sec-media {
  background: #111d16 !important;
}

.sec-media .section-label {
  color: rgba(255,255,255,.45) !important;
}

.sec-media .section-heading {
  color: #ffffff !important;
}

.sec-media .section-desc {
  color: rgba(255,255,255,.6) !important;
}

.sec-media .gold-bar {
  background: #c9a84c !important;
}

.sec-media .media-copy-main {
  color: #ffffff !important;
}

.sec-media .media-copy-sub {
  color: rgba(255,255,255,.55) !important;
}

/* ============================================================
   FAN DECK（トップページ 扇形カード）
============================================================ */

.fan-deck {
  position: relative;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 3rem 0 2.5rem;
  padding-bottom: 2rem;
  user-select: none;
}

/* --- カード1枚 --- */
.fan-card-wrap {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  margin-left: -88px;       /* カード幅の半分 */
  width: 176px;
  height: 248px;
  transform-origin: 50% 148%;  /* 下方に仮想ピボット */
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 36px rgba(0,0,0,.55);
  cursor: pointer;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.28s ease;
  will-change: transform;
}

/* z-index：中央カードを一番上に */
.fan-card-wrap:nth-child(1) { z-index: 1; }
.fan-card-wrap:nth-child(2) { z-index: 2; }
.fan-card-wrap:nth-child(3) { z-index: 5; }
.fan-card-wrap:nth-child(4) { z-index: 2; }
.fan-card-wrap:nth-child(5) { z-index: 1; }

.fan-card-wrap:hover {
  z-index: 20 !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.75);
}

/* --- カード内レイアウト --- */
.fan-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* 番号バッジ */
.fan-card-num {
  position: absolute;
  top: 9px;
  left: 10px;
  z-index: 3;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: #fff;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2px 8px 2px 7px;
  border-radius: 20px;
}

/* 写真エリア */
.fan-card-photo {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.fan-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.42s ease;
}

.fan-card-wrap:hover .fan-card-photo img {
  transform: scale(1.06);
}

/* 情報ストリップ */
.fan-card-info {
  flex: 0 0 72px;
  background: #ffffff;
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.fan-card-name-jp {
  font-size: .8rem;
  font-weight: 700;
  color: #1a2f22;
  margin: 0;
  line-height: 1.3;
  letter-spacing: .02em;
}

.fan-card-name-en {
  font-size: .5rem;
  font-weight: 400;
  color: #aaa;
  margin: 2px 0 5px;
  letter-spacing: .08em;
}

.fan-card-sport-tag {
  display: inline-block;
  font-size: .48rem;
  color: #2d6a4f;
  border: 1px solid #2d6a4f;
  border-radius: 20px;
  padding: 1px 7px;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* --- 一覧ボタン --- */
.fan-cta {
  text-align: center;
  margin-top: .5rem;
}

.fan-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .14em;
  padding: .75rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s;
}

.fan-cta-btn svg {
  transition: transform .25s;
}

.fan-cta-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.fan-cta-btn:hover svg {
  transform: translateX(4px);
}

/* 明るい背景セクション（トップの主なサポート実績）用：濃緑の塗りボタン */
.sec-media .fan-cta-btn {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: #ffffff;
}

.sec-media .fan-cta-btn:hover {
  background: #1a3a2a;
  border-color: #1a3a2a;
  color: #ffffff;
}

/* ===== mobile：水平スクロール ===== */
@media (max-width: 640px) {
  .fan-deck {
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    gap: 12px;
    padding: .5rem 1.5rem 1.2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .fan-deck::-webkit-scrollbar { display: none; }

  .fan-card-wrap {
    position: static;
    flex: 0 0 148px;
    height: 210px;
    margin-left: 0;
    transform: none !important;
    scroll-snap-align: center;
    transition: none;
  }

  .fan-card-info {
    flex: 0 0 62px;
    padding: 7px 10px 8px;
  }

  .fan-card-num {
    font-size: .55rem;
  }
}

/* ============================================================
   ATHLETE LISTING PAGE（athletes.html 一覧グリッド）
============================================================ */

/* ページ全体 */
.ac-page {
  background: #f4f1ec;
  min-height: 100vh;
}

/* ヒーロー */
.ac-hero {
  position: relative;
  background: radial-gradient(circle at center, #FAFAF8 0%, #F3EEE9 100%);
  padding: 5rem 0 3.5rem;
  text-align: center;
  overflow: hidden;
}

.ac-hero-label {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: .72rem;
  letter-spacing: .25em;
  color: var(--c-dgreen1, #2d6a4f);
  margin: 0 0 .8rem;
  text-transform: uppercase;
}

.ac-hero-heading {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--t-dark, #163A2E);
  margin: 0 0 .5rem;
  letter-spacing: .1em;
}

.ac-hero-sub {
  position: relative;
  z-index: 1;
  font-size: .82rem;
  color: var(--t-muted, #5a7a68);
  margin: 0;
  letter-spacing: .05em;
}

/* コンテナ */
.ac-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* グリッド */
.ac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 4rem 0 5rem;
}

@media (max-width: 860px) {
  .ac-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .ac-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* --- カード --- */
.ac-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 28px rgba(0,0,0,.13);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.ac-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 52px rgba(0,0,0,.22);
}

/* 写真 */
.ac-card-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: #e8e3dc;
}

.ac-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .42s ease;
}

.ac-card:hover .ac-card-photo img {
  transform: scale(1.05);
}

/* 写真内バッジ */
.ac-card-num-badge {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: .62rem;
  letter-spacing: .12em;
  color: #fff;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}

/* 情報エリア */
.ac-card-body {
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.ac-card-name-jp {
  font-size: .95rem;
  font-weight: 700;
  color: #1a2f22;
  margin: 0 0 2px;
  letter-spacing: .02em;
}

.ac-card-name-en {
  font-size: .58rem;
  color: #bbb;
  letter-spacing: .1em;
  margin: 0 0 6px;
}

.ac-card-sport-tag {
  display: inline-block;
  font-size: .55rem;
  color: #2d6a4f;
  border: 1px solid #2d6a4f;
  border-radius: 20px;
  padding: 2px 9px;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.ac-card-desc {
  font-size: .75rem;
  color: #777;
  line-height: 1.75;
  margin: 0 0 10px;
}

.ac-card-link-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .65rem;
  color: #2d6a4f;
  letter-spacing: .06em;
  font-weight: 500;
}

/* 準備中カード */
.ac-card--coming {
  opacity: .6;
  pointer-events: none;
}

.ac-card-coming-badge {
  display: inline-block;
  font-size: .52rem;
  background: #ddd;
  color: #999;
  padding: 2px 9px;
  border-radius: 20px;
  margin-top: 6px;
  letter-spacing: .06em;
}

/* CTA */
.ac-cta {
  background: #1a3a2a;
  padding: 4rem 0;
  text-align: center;
}

.ac-cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,.85);
  line-height: 1.9;
  margin: 0 0 1.8rem;
  letter-spacing: .04em;
}

/* 準備中カードでもクリック可能にする（詳細ページは COMING SOON 表示） */
.ac-card--coming.is-clickable {
  opacity: .82;
  pointer-events: auto;
}

.ac-card-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.28);
  font-family: 'Cormorant Garamond', serif;
  font-size: .7rem;
  letter-spacing: .18em;
  background: repeating-linear-gradient(135deg, #e8e3dc, #e8e3dc 10px, #ede9e2 10px, #ede9e2 20px);
}

/* ============================================================
   ATHLETE DETAIL PAGE（athlete-detail.html）
============================================================ */

.ad-page {
  background: #f4f1ec;
  min-height: 100vh;
}

.ad-hero {
  position: relative;
  background: radial-gradient(circle at center, #FAFAF8 0%, #F3EEE9 100%);
  padding: 3.4rem 0 2.2rem;
  overflow: hidden;
}

.ad-nav-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.ad-nav-chip {
  font-family: 'Cormorant Garamond', serif;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--t-muted, #5a7a68);
  border: 1px solid var(--border-green, rgba(45,106,79,.2));
  border-radius: 999px;
  padding: 5px 13px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.ad-nav-chip:hover {
  border-color: var(--c-dgreen1, #2d6a4f);
  color: var(--c-dgreen1, #2d6a4f);
}

.ad-nav-chip.is-active {
  background: #c9a84c;
  border-color: #c9a84c;
  color: #fff;
}

.ad-back {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  font-size: .78rem;
  color: var(--t-muted, #5a7a68);
  text-decoration: none;
  margin-bottom: 1.2rem;
}

.ad-back:hover { color: var(--c-dgreen1, #2d6a4f); }

.ad-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 3.2rem 24px 5rem;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.ad-photo {
  flex: none;
  width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #e8e3dc;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.ad-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ad-info {
  flex: 1 1 380px;
  max-width: 480px;
  padding-top: 4px;
}

.ad-chip {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: #fff;
  background: #2d6a4f;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.ad-no {
  font-family: 'Cormorant Garamond', serif;
  font-size: .74rem;
  letter-spacing: .16em;
  color: #999;
  margin: 0 0 4px;
}

.ad-name-jp {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2f22;
  margin: 0;
  letter-spacing: .03em;
}

.ad-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: .78rem;
  letter-spacing: .22em;
  color: #aaa;
  margin: 4px 0 18px;
}

.ad-sub {
  font-size: 1rem;
  font-weight: 700;
  color: #a3781f;
  margin: 0 0 14px;
}

.ad-desc {
  font-size: .88rem;
  color: #555;
  line-height: 2;
  margin: 0 0 22px;
}

.ad-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: #1a3a2a;
  background: #eef1e6;
  border: 1px solid rgba(45,106,79,.25);
  border-radius: 999px;
  padding: 9px 18px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: background .2s, transform .2s;
}

.ad-badge-link:hover {
  background: #e2e8d8;
  transform: translateY(-2px);
}

.ad-exercise-title {
  font-size: .78rem;
  font-weight: 700;
  color: #999;
  letter-spacing: .1em;
  margin: 0 0 10px;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 20px;
}

.ad-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.ad-tag {
  font-size: .72rem;
  font-weight: 500;
  color: #1a2f22;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  padding: 6px 14px;
}

.ad-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ad-cta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
}

.ad-cta-golf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2d6a4f;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
}

.ad-cta-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,0,0,.2);
  color: #333;
  font-size: .8rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
}

/* COMING SOON 選手 */
.ad-photo--coming {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.3);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: .2em;
  font-size: .8rem;
  background: repeating-linear-gradient(135deg, #e8e3dc, #e8e3dc 10px, #ede9e2 10px, #ede9e2 20px);
}

.ad-coming-note {
  font-size: .85rem;
  color: #888;
  line-height: 2;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 20px;
  margin-top: 4px;
}

/* プロフィール以降のブロック（保護者コメント・CTA）中央寄せ */
.ad-after-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px 4rem;
}

/* 保護者様からのコメント */
.ad-parent-comment {
  background: #f0f7f3;
  border: 1px solid rgba(45,106,79,.18);
  border-left: 3px solid #2d6a4f;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 4px 0 26px;
}

.ad-parent-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #2d6a4f;
  margin: 0 0 8px;
}

.ad-parent-text {
  font-size: .88rem;
  color: #4a4a4a;
  line-height: 1.95;
  margin: 0;
}

/* ============================================================
   IRODORI HOLO CARD — 一覧グリッド版（トップの扇形カードと同一デザイン）
============================================================ */
.irdcl-section {
  background: #f6f3ec;
  padding: 4rem 0 5rem;
}

.irdcl-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.irdcl-link {
  display: block;
  width: 320px;
  text-decoration: none;
  transition: transform .3s ease;
}

.irdcl-link:hover {
  transform: translateY(-8px);
}

.irdcl-card {
  width: 320px;
  height: 470px;
  border-radius: 18px;
  position: relative;
  background: linear-gradient(140deg, #b8892e 0%, #f3d98b 45%, #b8892e 82%);
  padding: 9px;
  box-sizing: border-box;
  box-shadow: 0 24px 48px -18px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.25);
  transition: box-shadow .3s ease;
}

.irdcl-link:hover .irdcl-card {
  box-shadow: 0 32px 64px -18px rgba(0,0,0,.45), 0 6px 16px rgba(0,0,0,.3);
}

.irdcl-face {
  position: relative;
  height: 100%;
  background: #f7f4ec;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  box-sizing: border-box;
  overflow: hidden;
  text-align: left;
}

.irdcl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.irdcl-chip {
  font-family: 'Montserrat', 'Cormorant Garamond', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .22em;
  color: #fdfbf5;
  background: #a3781f;
  padding: 4px 10px;
  border-radius: 3px;
}

.irdcl-no {
  font-family: 'Montserrat', 'Cormorant Garamond', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #a39d8e;
}

.irdcl-nameja {
  margin: 0;
  font-size: 23px;
  font-weight: 900;
  color: #262319;
  letter-spacing: .04em;
}

.irdcl-nameen {
  margin: 0;
  font-family: 'Montserrat', 'Cormorant Garamond', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .26em;
  color: #8a857a;
}

.irdcl-photo {
  width: 100%;
  height: 172px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dcd6c6;
}

.irdcl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.irdcl-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.28);
  font-family: 'Cormorant Garamond', serif;
  font-size: .68rem;
  letter-spacing: .16em;
  background: repeating-linear-gradient(135deg, #e9e4d8, #e9e4d8 10px, #f0ece1 10px, #f0ece1 20px);
}

.irdcl-subttl {
  font-size: 13px;
  font-weight: 700;
  color: #a3781f;
  line-height: 1.5;
}

.irdcl-desc {
  font-size: 11.5px;
  color: #5a564d;
  line-height: 1.75;
}

.irdcl-foot {
  margin-top: auto;
  border-top: 1px dashed #cfc8b5;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.irdcl-foot-l {
  font-size: 10px;
  font-weight: 700;
  color: #6e6857;
  letter-spacing: .08em;
}

.irdcl-foot-r {
  font-family: 'Montserrat', 'Cormorant Garamond', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #a39d8e;
}

.irdcl-coming-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #a39d8e;
  border: 1px solid #cfc8b5;
  padding: 2px 8px;
  border-radius: 999px;
}
