/* ============================================================
   相模ボーイズ 公式サイト — スタイルシート
   チームカラー: ターコイズブルー #0891b2
   ============================================================ */

:root {
  --color-bg:           #f0f9ff;      /* メイン背景（爽やか水色） */
  --color-bg-alt:       #e8f4fb;      /* セクション交互背景（薄い水色） */
  --color-bg-light:     #f0f8fc;      /* ライトセクション背景 */
  --color-teal:         #0891b2;      /* ターコイズブルー（メインブランド） */
  --color-teal-light:   #22d3ee;      /* ターコイズ明 */
  --color-teal-dark:    #0e7490;      /* ターコイズ暗 */
  --color-accent:       #f59e0b;      /* アンバー（CTA） */
  --color-accent-dark:  #d97706;
  --color-text:         #f1f5f9;      /* メイン文字（白系・ダークセクション用） */
  --color-text-muted:   #94a3b8;      /* サブ文字 */
  --color-text-dark:    #0f2d3d;      /* ライトセクション上の文字 */
  --color-border:       rgba(8,145,178,0.18);
  --color-border-teal:  rgba(8,145,178,0.35);
  --color-card:         #ffffff;
  --color-card-hover:   rgba(8,145,178,0.04);
  --nav-height: 72px;
  --admin-bar-offset: 0px;
  --radius: 10px;
  --shadow-card: 0 2px 16px rgba(8,145,178,0.10);
  --shadow-hover: 0 12px 40px rgba(8,145,178,0.20);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* iOS/Androidタップ時の灰色フラッシュを抑制 */
a, button, [role="button"], input, select, textarea { -webkit-tap-highlight-color: transparent; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--color-bg);
  color: var(--color-text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
section[id] { scroll-margin-top: calc(var(--nav-height) + var(--admin-bar-offset) + 24px); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.site-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-icon--xl {
  width: 4.25rem;
  height: 4.25rem;
  stroke-width: 1.45;
}
.site-icon--hero {
  width: 5.25rem;
  height: 5.25rem;
  stroke-width: 1.25;
}
.site-icon-img {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.site-icon-img.site-icon--xl {
  width: 5rem;
  height: 5rem;
}
.site-icon-img.site-icon--hero {
  width: 6rem;
  height: 6rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 2rem;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.site-nav.scrolled {
  background: rgba(10,30,42,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1);
}
/* ナビはヒーロー（ダーク）上なので文字を常に白に */
.nav-links a { color: #f1f5f9; }
.nav-hamburger span { background: #f1f5f9; }
.nav-logo {
  font-size: 1.3rem; font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-teal-light);
  margin-right: auto;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-teal);
  font-size: 1rem; font-weight: 900; color: #fff;
}
.nav-logo-img { width: 64px; height: 64px; object-fit: contain; border-radius: 4px; }
.nav-links {
  display: flex; gap: 1.75rem; list-style: none;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 2px; background: var(--color-teal-light);
  transition: right 0.3s;
}
.nav-links a:hover,
.nav-links a.current { opacity: 1; color: var(--color-teal-light); }
.nav-links a:hover::after,
.nav-links a.current::after { right: 0; }

/* ハンバーガー */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 10px; /* 44px hit area確保 */
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 480px;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
/* 画像がない場合のグラデーション */
.hero-slide:nth-child(1) { background-color: #062a38; background-image: linear-gradient(135deg, #041e2a 0%, #0e5f7a 50%, #0891b2 100%); }
.hero-slide:nth-child(2) { background-color: #051f2d; background-image: linear-gradient(135deg, #051520 0%, #083d52 50%, #0e7490 100%); }
.hero-slide:nth-child(3) { background-color: #071626; background-image: linear-gradient(135deg, #071020 0%, #0c4a6e 50%, #0369a1 100%); }

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.hero-content {
  position: relative; z-index: 10;
  width: 100%;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  padding-top: var(--nav-height);
}
.hero-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--color-teal-light);
  border: 1px solid var(--color-teal);
  padding: 0.35rem 1rem; border-radius: 2px;
  margin-bottom: 1.5rem;
  animation: heroReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
.hero-title {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.02em;
  animation: heroReveal 0.9s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}
.hero-title span { color: var(--color-teal-light); }
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(241,245,249,0.8);
  margin-top: 1rem; max-width: 480px;
  animation: heroReveal 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s both;
}
.hero-actions {
  display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap;
  animation: heroReveal 0.9s cubic-bezier(0.16,1,0.3,1) 0.7s both;
}
.btn-primary {
  padding: 0.9rem 2rem; font-size: 0.95rem; font-weight: 700;
  background: var(--color-teal); color: #fff;
  border: none; border-radius: 5px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8,145,178,0.45);
}
.btn-outline {
  padding: 0.9rem 2rem; font-size: 0.95rem; font-weight: 700;
  background: transparent; color: var(--color-text);
  border: 1px solid rgba(255,255,255,0.45); border-radius: 5px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--color-teal-light);
  color: var(--color-teal-light);
  background: rgba(8,145,178,0.1);
}

/* Slider dots */
.hero-dots {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; position: relative;
  transition: background 0.3s, transform 0.3s;
}
/* 視覚サイズ8pxのまま44x44pxのタップ領域を付与 */
.hero-dot::before {
  content: ''; position: absolute;
  inset: -18px;
}
.hero-dot.active { background: var(--color-teal-light); transform: scale(1.4); }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTIONS — 共通
   ============================================================ */
.section { padding: 5.5rem 2rem; }
.section-dark  {
  background: linear-gradient(160deg, #0e5170 0%, #0a3c56 100%);
  color: #f1f5f9;
}
.section-dark .section-label  { color: var(--color-teal-light); }
.section-dark .section-title  { color: #f1f5f9; }
.section-dark .section-desc   { color: rgba(241,245,249,0.72); }
.section-alt   {
  background: var(--color-bg-alt);
  color: var(--color-text-dark);
}
.section-alt .section-label  { color: var(--color-teal-dark); }
.section-alt .section-desc   { color: #4b7a8f; }
.section-light {
  background: var(--color-bg-light);
  color: var(--color-text-dark);
}
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--color-teal); text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-light .section-label { color: var(--color-teal-dark); }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--color-text-muted); max-width: 520px;
  margin-bottom: 3rem; font-size: 0.95rem;
  text-align: center; margin-left: auto; margin-right: auto;
}
.section-light .section-desc { color: #475569; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 80ms; }
.stagger-3 { transition-delay: 160ms; }
.stagger-4 { transition-delay: 240ms; }
.stagger-5 { transition-delay: 320ms; }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-track {
  display: flex; gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 1rem;
}
.news-track::-webkit-scrollbar { display: none; }
@media (min-width: 560px) {
  .news-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
}
@media (min-width: 900px) {
  .news-track {
    grid-template-columns: repeat(4, 1fr);
  }
}
.news-card {
  scroll-snap-align: start; flex-shrink: 0; width: 300px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
@media (min-width: 560px) {
  .news-card {
    width: auto;
    flex-shrink: unset;
    scroll-snap-align: none;
  }
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-teal);
}
.news-card-img {
  height: 170px;
  background: var(--color-bg-alt);
  overflow: hidden; position: relative;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.07); }
.news-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, #0e4a60 100%);
  color: rgba(255,255,255,0.72);
}
.news-card-body { padding: 1.25rem; }
.news-date {
  font-size: 0.72rem; color: var(--color-teal-dark);
  font-weight: 700; letter-spacing: 0.1em; margin-bottom: 0.5rem;
}
.news-card-title { font-size: 0.92rem; font-weight: 700; line-height: 1.45; color: var(--color-text-dark); }
.news-card-text {
  font-size: 0.82rem; color: #4b7a8f;
  margin-top: 0.5rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-more {
  display: block; text-align: right; margin-top: 2rem;
  font-size: 0.85rem; font-weight: 700; color: var(--color-teal-light);
  letter-spacing: 0.06em;
}
.news-more:hover { text-decoration: underline; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-philosophy {
  font-size: 1.2rem; font-weight: 700; color: var(--color-teal-light);
  line-height: 1.5; margin-bottom: 1.5rem;
  padding-left: 1rem; border-left: 3px solid var(--color-teal-light);
}
.about-text { color: #374151; font-size: 0.95rem; line-height: 1.9; margin-bottom: 1rem; }
.about-img {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0a3d58 0%, #0891b2 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.62);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.8s ease-in-out; }

/* About スライダー：クロスフェード */
.about-img-wrap { display: flex; flex-direction: column; gap: 0.75rem; position: relative; }
.about-img.fading img { opacity: 0; }
.about-content-fading .about-philosophy,
.about-content-fading .about-text { opacity: 0; transform: translateY(8px); }
.about-dots { display: flex; gap: 8px; justify-content: center; }
.about-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #cbd5e1; border: none; cursor: pointer; padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.about-dot.active { background: var(--color-teal-light); transform: scale(1.3); }
.about-nav {
  position: absolute;
  top: 0;
  bottom: calc(0.75rem + 8px); /* gap + ドット高さ分を除いて写真エリアに限定 */
  width: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25);
  border: none; cursor: pointer;
  color: #fff; font-size: 1.6rem; line-height: 1;
  transition: background 0.2s;
  z-index: 1;
}
.about-nav-prev { left: 0; border-radius: 12px 0 0 12px; }
.about-nav-next { right: 0; border-radius: 0 12px 12px 0; }
.about-nav:hover { background: rgba(0,0,0,0.45); }

/* ============================================================
   FACILITIES SECTION
   ============================================================ */
.facilities-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.facility-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--color-card); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}
.facility-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.facility-img {
  aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(135deg, #0e5170 0%, #0891b2 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.72);
  position: relative;
}
.facility-img img { width: 100%; height: 100%; object-fit: cover; }
.facility-body { padding: 1.25rem; }
.facility-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--color-text-dark); }
.facility-desc { font-size: 0.85rem; color: #4b7a8f; }

/* ============================================================
   OB SECTION
   ============================================================ */
.ob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.ob-card {
  text-align: center; padding: 1.75rem 1rem;
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ob-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--color-border-teal); }
.ob-card-icon {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
}
.ob-card-icon .site-icon-img {
  width: 58px;
  height: 58px;
}
.ob-photo {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1rem;
  border: 2px solid var(--color-teal);
  background: linear-gradient(135deg, #b2e0f0 0%, var(--color-teal-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: #fff;
  overflow: hidden;
}
.ob-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ob-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--color-text-dark); }
.ob-year { font-size: 0.75rem; color: #4b7a8f; margin-bottom: 0.4rem; }
.ob-school {
  display: inline-flex; align-items: center; gap: 0.2rem;
  font-size: 0.78rem; color: var(--color-teal-dark); font-weight: 700;
  background: rgba(8, 145, 178, 0.08);
  padding: 0.2rem 0.5rem; border-radius: 4px; margin-top: 0.1rem;
}
.ob-arrow { color: var(--color-teal); font-weight: 700; }

/* 実績サマリー */
.ob-summary {
  display: flex; justify-content: center; gap: 3rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.ob-summary-item { text-align: center; }
.ob-summary-num {
  font-size: 2.25rem; font-weight: 800;
  color: var(--color-teal); line-height: 1;
}
.ob-summary-label {
  font-size: 0.72rem; color: #64748b;
  margin-top: 0.3rem; letter-spacing: 0.04em;
}
@media (max-width: 480px) {
  .ob-summary { gap: 2rem; }
  .ob-summary-num { font-size: 1.75rem; }
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  padding: 2rem; border-radius: var(--radius);
  background: #fff; border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.testimonial-quote-icon {
  color: var(--color-teal); margin-bottom: 1rem;
  line-height: 1;
}
.testimonial-quote-icon .site-icon-img { width: 2.35rem; height: 2.35rem; }
.testimonial-text {
  font-size: 0.92rem; line-height: 1.8; color: #334155;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  font-size: 0.82rem; font-weight: 700; color: #0f172a;
}
.testimonial-grade {
  font-size: 0.78rem; color: var(--color-teal-dark);
  margin-top: 0.2rem;
}
.testimonial-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 2px 10px; border-radius: 20px; margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.testimonial-badge--ob { background: var(--color-teal); color: #fff; }
.testimonial-badge--parent { background: var(--color-accent); color: #fff; }
.testimonials-empty { text-align: center; color: #94a3b8; padding: 2rem; }

/* セクションCTA（「すべての声を見る」ボタン） */
.section-cta { text-align: center; margin-top: 2.5rem; }
.btn-outline {
  display: inline-block; padding: 0.75rem 2rem;
  border: 2px solid var(--color-teal); color: var(--color-teal);
  border-radius: var(--radius); font-weight: 700; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--color-teal); color: #fff;
  outline: 2px solid var(--color-teal); outline-offset: 2px;
}
/* section-dark 上では btn-outline を白系に */
.section-dark .btn-outline {
  color: var(--color-teal-light);
  border-color: var(--color-teal-light);
}
.section-dark .btn-outline:hover,
.section-dark .btn-outline:focus-visible {
  background: var(--color-teal-light);
  color: #0a3c56;
  outline-color: var(--color-teal-light);
}

/* voices.html フィルタータブ */
.filter-tabs {
  display: flex; gap: 0.5rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.5rem 1.5rem; border: 2px solid var(--color-teal);
  border-radius: 20px; background: transparent; color: var(--color-teal);
  font-weight: 600; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter-btn:hover, .filter-btn:focus-visible { background: var(--color-teal-light); color: #fff; }
.filter-btn[aria-pressed="true"] { background: var(--color-teal); color: #fff; }
.filter-btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }


/* ============================================================
   CONTACT / JOIN SECTION
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start;
}
.contact-info { }
.contact-info-item {
  display: flex; gap: 1rem; margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: transparent; border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-teal-light);
  flex-shrink: 0; margin-top: 2px;
  overflow: hidden;
}
.contact-icon .site-icon-img {
  width: 42px;
  height: 42px;
}
.section-alt .contact-icon {
  background: transparent;
  border-color: transparent;
  color: var(--color-teal);
}
.contact-info-label { font-size: 0.75rem; color: rgba(241,245,249,0.65); margin-bottom: 0.25rem; }
.contact-info-value { font-size: 0.95rem; font-weight: 600; color: #f1f5f9; }
.section-alt .contact-info-label { color: #4b7a8f; }
.section-alt .contact-info-value { color: var(--color-text-dark); }
.trial-box {
  margin-top: 2rem; padding: 1.5rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
}
.trial-box-title {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 700; color: var(--color-teal-light); margin-bottom: 0.5rem;
}
.site-icon-img.trial-title-icon { width: 2rem; height: 2rem; }
.trial-box-text { font-size: 0.88rem; color: rgba(241,245,249,0.75); }
.section-alt .trial-box {
  background: #fff;
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}
.section-alt .trial-box-title { color: var(--color-teal-dark); }
.section-alt .trial-box-text { color: #4b7a8f; }
.contact-map { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; }
.contact-map iframe { display: block; width: 100%; height: 250px; }

/* お問い合わせフォーム */
.contact-form { }
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 0.4rem; letter-spacing: 0.04em; color: rgba(241,245,249,0.9);
}
.section-alt .form-label { color: var(--color-text-dark); }
.form-required {
  font-size: 0.72rem; color: #f87171; font-weight: 700; margin-left: 4px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%; padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6px; color: var(--color-text-dark);
  font-family: inherit; font-size: 1rem; /* iOS auto-zoom防止 (16px以上必須) */
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-teal);
  background: rgba(8,145,178,0.06);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.15);
}
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 1rem; font-size: 1rem; font-weight: 700;
  background: var(--color-teal); color: #fff;
  border: none; border-radius: 6px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8,145,178,0.4);
}
.form-note { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.5rem; text-align: center; }

/* ============================================================
   PLAYERS PAGE — grid  (Clean Design)
   ============================================================ */
.players-page-hero {
  background: linear-gradient(135deg, #051520 0%, #0891b2 100%);
  padding: calc(var(--nav-height) + 3rem) 2rem 3rem;
  text-align: center;
}
.players-page-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
.players-filter {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0 1.25rem;
  height: 44px; line-height: 44px;
  font-size: 0.85rem; font-weight: 600;
  background: #ffffff; border: 1.5px solid #d1d5db;
  border-radius: 999px; color: #374151;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.filter-btn:hover {
  background: #eff6ff; border-color: #3B82F6; color: #3B82F6;
}
.filter-btn.active {
  background: #3B82F6; border-color: #3B82F6; color: #ffffff;
}
.filter-btn:focus-visible {
  outline: 2px solid #3B82F6; outline-offset: 2px;
}
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.player-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.player-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.player-card-photo {
  aspect-ratio: 3 / 4;
  background: #f3f4f6;
  position: relative; overflow: hidden;
}
.player-card-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.player-card:hover .player-card-photo img { transform: scale(1.04); }
.player-no-image {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af;
}
.player-info { padding: 1rem 1.25rem 1.25rem; }
.player-number { font-size: 0.72rem; font-weight: 700; color: #3B82F6; letter-spacing: 0.1em; text-transform: uppercase; }
.player-name { font-size: 1.05rem; font-weight: 800; color: #111827; margin-top: 0.2rem; }
.player-position { font-size: 0.8rem; color: #6b7280; margin-top: 0.2rem; }
.player-grade {
  display: inline-block; margin-top: 0.5rem;
  font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.65rem;
  background: #eff6ff; color: #3B82F6; border-radius: 999px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #060f18;
  color: #f1f5f9;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-logo {
  font-size: 1.3rem; font-weight: 900; color: var(--color-teal-light);
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem;
}
.footer-logo-mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--color-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 900;
}
.footer-tagline { color: var(--color-text-muted); font-size: 0.82rem; }
.footer-sns { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-sns a {
  width: 44px; height: 44px; border-radius: 50%; /* 44px タップターゲット */
  background: var(--color-card); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s;
}
.footer-sns a:hover { background: var(--color-teal); border-color: var(--color-teal); }
.footer-sns a svg { display: block; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 1rem; color: var(--color-text-muted);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.875rem; opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
.footer-col a:hover { opacity: 1; color: var(--color-teal-light); }
.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(241,245,249,0.5);
}

/* Loading placeholder */
.loading-placeholder {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; color: var(--color-text-muted); font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-inner > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: var(--nav-height) 0 0 0;
    background: rgba(6,15,24,0.98);
    padding: 2.5rem 2rem; gap: 1.75rem; font-size: 1.1rem;
    overflow-y: auto;
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .about-img { max-height: 280px; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-inner > *:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-actions { flex-direction: column; max-width: 280px; }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(240px, 34svh, 300px) auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: var(--nav-height);
    align-items: stretch;
    background: linear-gradient(180deg, #041e2a 0%, #0b3042 100%);
  }
  .hero-slider,
  .hero-overlay,
  .hero-dots {
    grid-column: 1;
    grid-row: 1;
  }
  .hero-slider {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
  }
  .hero-slide {
    background-size: contain;
    background-position: center center;
  }
  .hero-overlay {
    display: none;
  }
  .hero-content {
    grid-column: 1;
    grid-row: 2;
    padding: 0 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }
  .hero-title { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero-subtitle { font-size: 0.9rem; max-width: 100%; }
  .hero-badge { font-size: 0.65rem; }
  .hero-dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    align-self: end;
    justify-self: center;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .facilities-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE ENHANCEMENTS
   ============================================================ */

/* スクロールロック — メニュー/モーダル開時にbodyをロック */
body.menu-open  { overflow: hidden; }
body.modal-open { overflow: hidden; }

/* ナビゲーション safe-area 対応（ノッチ/Dynamic Island） */
.site-nav {
  padding-left:  max(2rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
}

/* WordPress 管理バー表示時のナビ位置調整 */
.admin-bar .site-nav {
  top: 32px;
}
.admin-bar {
  --admin-bar-offset: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-nav {
    top: 46px;
  }
  .admin-bar {
    --admin-bar-offset: 46px;
  }
}

/* ニューストラック 末端バウンス抑制 */
.news-track { overscroll-behavior-x: contain; }

/* ランドスケープ（横向き）スマホ対応 */
@media (max-width: 768px) and (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 0;
    grid-template-rows: clamp(170px, 38svh, 220px) auto;
  }
  .hero-title    { font-size: 1.8rem; }
  .hero-badge,
  .hero-subtitle { display: none; }
  .hero-actions  { margin-top: 1rem; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:focus-visible { outline: 2px solid var(--color-teal-light); outline-offset: 3px; }

/* ===== Instagram Feed ===== */
.ig-handle {
  color: #E1306C;
  text-decoration: none;
  font-weight: 600;
}
.ig-handle:hover {
  text-decoration: underline;
}

.instagram-feed-wrap {
  width: 100%;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.instagram-feed-fallback {
  text-align: center;
  padding: 2rem 0;
}

.instagram-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================================
   OB ページ — 学校ランキング専用スタイル（スコープ付き）
   ============================================================ */

/* ob-card 内の学校名 */
.ob-school-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 都道府県タグ */
.ob-prefecture-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-teal-dark);
  background: rgba(0, 149, 139, 0.08);
  border: 1px solid rgba(0, 149, 139, 0.25);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}


/* ob.html 日本地図フィルター */
.ob-map-section { margin-bottom: 2rem; }
.ob-map-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.75rem;
}
.ob-map-label { font-size: 0.82rem; color: #64748b; margin: 0; }
.ob-map-container {
  position: relative; width: 100%;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
#japan-map {
  display: block; width: 100%; max-width: 600px; min-width: 340px;
  height: auto; margin: 0 auto;
}
.pref-path {
  stroke: #ffffff; stroke-width: 0.7;
  transition: fill 0.18s, opacity 0.18s;
  cursor: default;
}
.pref-path[data-has-data="false"] { fill: #e8edf2; }
.pref-path[data-has-data="true"] { cursor: pointer; }
.pref-path[data-has-data="true"]:hover { opacity: 0.70; }
.pref-path[data-intensity="0"], .pref-path:not([data-intensity]) { fill: #dde6ed; }
.pref-path[data-intensity="1"] { fill: #bae6fd; }
.pref-path[data-intensity="2"] { fill: #7dd3fc; }
.pref-path[data-intensity="3"] { fill: #38bdf8; }
.pref-path[data-intensity="4"] { fill: #0ea5e9; }
.pref-path[data-intensity="5"] { fill: #0891b2; }
.pref-path.map-selected { fill: #f59e0b !important; stroke: #d97706; stroke-width: 1.5; }
.pref-path:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.map-tooltip {
  position: fixed; background: rgba(15,45,61,0.92); color: #f1f5f9;
  padding: 0.35rem 0.7rem; border-radius: 6px; font-size: 0.8rem;
  pointer-events: none; white-space: nowrap; z-index: 999;
  opacity: 0; transition: opacity 0.15s;
}
.map-tooltip.visible { opacity: 1; }
.map-tooltip-pref { font-weight: 700; display: block; }
.map-tooltip-detail { color: #7dd3fc; font-size: 0.75rem; }
@media (max-width: 540px) { #japan-map { min-width: 480px; } }
@media (prefers-reduced-motion: reduce) { .pref-path, .map-tooltip { transition: none; } }
.map-license { text-align: center; font-size: 0.65rem; color: #94a3b8; margin-top: 0.25rem; }

/* ob-card グリッドレイアウト調整（学校名用に最小幅を広げる） */
@media (max-width: 480px) {
  .ob-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .ob-school-name {
    font-size: 0.85rem;
  }
}

/* 出典注記 */
.ob-source-note {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   NEWS PAGE — news.html 専用
   ============================================================ */

/* グリッドレイアウト（3列→2列→1列 レスポンシブ） */
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) {
  .news-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .news-page-grid { grid-template-columns: 1fr; }
}

/* グリッド内カードは幅固定を解除 */
.news-page-grid .news-card {
  width: auto;
  scroll-snap-align: none;
  flex-shrink: unset;
}

/* カテゴリーバッジ（英字スラッグ） */
.news-category-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2em 0.7em;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}
.news-category-badge--match   { background: #1e40af; color: #fff; }
.news-category-badge--notice  { background: #0e7490; color: #fff; }
.news-category-badge--recruit { background: #b45309; color: #fff; }
.news-category-badge--event   { background: #15803d; color: #fff; }

/* フィルタータブ（#news-filter-tabs にスコープ化） */
#news-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
#news-filter-tabs .filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--color-teal);
  border-radius: 20px;
  background: transparent;
  color: var(--color-teal-dark);
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
#news-filter-tabs .filter-btn:hover {
  background: var(--color-teal-light);
  color: #fff;
}
#news-filter-tabs .filter-btn[aria-pressed="true"] {
  background: var(--color-teal);
  color: #fff;
}
#news-filter-tabs .filter-btn:focus-visible {
  outline: 3px solid var(--color-accent, var(--color-teal));
  outline-offset: 2px;
}

/* 空状態 */
.news-page-empty {
  text-align: center;
  padding: 3rem 0;
  color: #64748b;
  font-size: 0.95rem;
  grid-column: 1 / -1;
}

/* ============================================================
   NEWS SINGLE — 記事内写真ギャラリー
   ============================================================ */

.sb-news-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}
@media (max-width: 700px) { .sb-news-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .sb-news-gallery { grid-template-columns: 1fr; } }
.sb-news-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-bg-alt);
  aspect-ratio: 4 / 3;
}
.sb-news-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sb-news-gallery__item:hover img { transform: scale(1.06); }

/* ============================================================
   NEWS MODAL
   ============================================================ */

/* クリック可能なカード */
.news-card--clickable {
  cursor: pointer;
}
.news-card--clickable:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}

/* オーバーレイ */
.news-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(2px);
}
.news-modal-overlay.open {
  display: flex;
}

/* モーダル本体 */
.news-modal {
  background: var(--color-card, #fff);
  border-radius: 12px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: newsModalIn 0.22s ease;
}
@keyframes newsModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* 閉じるボタン — 44x44pxタップ領域 */
.news-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.75rem;  /* 44px */
  height: 2.75rem; /* 44px */
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  color: #475569;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.news-modal-close:hover { background: rgba(0, 0, 0, 0.15); }
.news-modal-close:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

/* モーダル内コンテンツ */
.news-modal-img {
  height: 200px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--color-bg-alt, #e2f0f4);
}
.news-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.news-modal-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-teal);
}
.news-modal-body {
  padding: 1.75rem 2rem 2rem;
}
.news-modal-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.news-modal-date {
  font-size: 0.78rem;
  color: var(--color-teal-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.news-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-dark, #0f172a);
  margin-bottom: 1.25rem;
}
.news-modal-content {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #334155;
  white-space: pre-line;
}
.news-modal-link {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--color-primary, #1e4e8c);
  border-radius: 4px;
  color: var(--color-primary, #1e4e8c);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.news-modal-link:hover {
  background: var(--color-primary, #1e4e8c);
  color: #fff;
}

@media (max-width: 560px) {
  .news-modal-body { padding: 1.25rem 1.25rem 1.5rem; }
  .news-modal-title { font-size: 1rem; }
}

/* ============================================================
   スタッフページ専用スタイル
   ============================================================ */
:root {
  --s-bg:       #f4f4f2;
  --s-hero:     #1a1e2e;
  --s-card:     #ffffff;
  --s-gold:     #b8975a;
  --s-gold-lt:  #d4b97c;
  --s-text:     #1e2535;
  --s-muted:    #6b7280;
  --s-border:   #e5e5e3;
  --s-shadow:   0 2px 20px rgba(30,37,53,0.08);
  --s-shadow-h: 0 12px 40px rgba(30,37,53,0.18);
  --s-radius:   10px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.staff-card {
  display: flex;
  flex-direction: column;
  background: var(--s-card);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
  overflow: hidden;
  box-shadow: var(--s-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--s-shadow-h);
}

.staff-card-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #1a1e2e 0%, #2e3552 60%, #3a2e52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.staff-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.staff-card-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.staff-card:hover .staff-card-photo::after {
  background: rgba(255,255,255,0.07);
}

.staff-card-placeholder {
  color: rgba(184,151,90,0.4);
  user-select: none;
  line-height: 1;
}

.staff-card-info {
  padding: 1rem 1.1rem 1.25rem;
  background: var(--s-card);
  border-top: 2px solid var(--s-gold);
}

.staff-card-role {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--s-gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.staff-card-name {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--s-text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.staff-card-profile {
  font-size: 0.78rem;
  color: var(--s-muted);
  line-height: 1.8;
  margin: 0;
}

.staff-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--s-muted);
  font-size: 0.95rem;
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .staff-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 360px) {
  .staff-grid { grid-template-columns: 1fr; }
}
