@charset "UTF-8";

/* ====================================================
   ROOT & BASE
==================================================== */
:root {
  --blue: #1a5fcc;
  --blue-dark: #0d3d8a;
  --orange: #f25c00;
  --white: #ffffff;
  --off-white: #f4f5f8;
  --text: #111111;
  --text-mid: #555555;
  --text-light: #999999;
  --font: "M PLUS Rounded 1c", sans-serif;
  --max: 1200px;

  /* Figma準拠コートライン (SVG 903×425 / コート 823×375 + gap 80×50px)
     タイル gap: 横 80px・縦 50px（コートをマージン付き SVG に収めて繰り返すことで実現）
     ライン位置: 外枠(40,25)・サイドライン(y=55,368)・センター(y=211)
                バックサービス(x=90,813)・ショートサービス(x=332,571)・ネット(x=452) */

  /* About セクション用 — 青ベース・極薄 */
  --court-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='903' height='425'%3E%3Crect x='40' y='25' width='823' height='375' fill='none' stroke='%231a5fcc' stroke-width='1.5' opacity='0.1'/%3E%3Cline x1='40' y1='55' x2='863' y2='55' stroke='%231a5fcc' stroke-width='1' opacity='0.06'/%3E%3Cline x1='40' y1='368' x2='863' y2='368' stroke='%231a5fcc' stroke-width='1' opacity='0.06'/%3E%3Cline x1='40' y1='211' x2='863' y2='211' stroke='%231a5fcc' stroke-width='1' opacity='0.04'/%3E%3Cline x1='90' y1='25' x2='90' y2='400' stroke='%231a5fcc' stroke-width='1' opacity='0.05'/%3E%3Cline x1='813' y1='25' x2='813' y2='400' stroke='%231a5fcc' stroke-width='1' opacity='0.05'/%3E%3Cline x1='332' y1='25' x2='332' y2='400' stroke='%231a5fcc' stroke-width='1' opacity='0.05'/%3E%3Cline x1='571' y1='25' x2='571' y2='400' stroke='%231a5fcc' stroke-width='1' opacity='0.05'/%3E%3Cline x1='452' y1='25' x2='452' y2='400' stroke='%231a5fcc' stroke-width='0.8' opacity='0.04'/%3E%3C/svg%3E");

  /* 暗い背景用 — 白・極薄 */
  --court-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='903' height='425'%3E%3Crect x='40' y='25' width='823' height='375' fill='none' stroke='%23ffffff' stroke-width='1.5' opacity='0.06'/%3E%3Cline x1='40' y1='55' x2='863' y2='55' stroke='%23ffffff' stroke-width='1' opacity='0.04'/%3E%3Cline x1='40' y1='368' x2='863' y2='368' stroke='%23ffffff' stroke-width='1' opacity='0.04'/%3E%3Cline x1='40' y1='211' x2='863' y2='211' stroke='%23ffffff' stroke-width='1' opacity='0.03'/%3E%3Cline x1='90' y1='25' x2='90' y2='400' stroke='%23ffffff' stroke-width='1' opacity='0.04'/%3E%3Cline x1='813' y1='25' x2='813' y2='400' stroke='%23ffffff' stroke-width='1' opacity='0.04'/%3E%3Cline x1='332' y1='25' x2='332' y2='400' stroke='%23ffffff' stroke-width='1' opacity='0.04'/%3E%3Cline x1='571' y1='25' x2='571' y2='400' stroke='%23ffffff' stroke-width='1' opacity='0.04'/%3E%3Cline x1='452' y1='25' x2='452' y2='400' stroke='%23ffffff' stroke-width='0.8' opacity='0.03'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
}
body.no-scroll {
  overflow: hidden;
}

/* ====================================================
   COMMON COMPONENTS
==================================================== */

/* ---- レスポンシブ改行ユーティリティ ---- */
/* SP のみ改行: <span class="sp_br"></span> */
.sp_br {
  display: none;
}
/* PC のみ改行: <span class="pc_br"></span> */
.pc_br {
  display: block;
}

@media (max-width: 768px) {
  .sp_br {
    display: block;
  }
  .pc_br {
    display: none;
  }
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 36px 14px;
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s,
    box-shadow 0.2s;

  &:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
  }
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 36px 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;

  &:hover {
    border-color: var(--white);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.2);
  }
}
.btn-outline {
  display: inline-block;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 999px;
  padding: 11px 32px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--blue);
  transition:
    background 0.2s,
    color 0.2s;

  &:hover {
    background: var(--blue);
    color: var(--white);
  }
}
.btn-insta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 18px 40px;
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--text);
  transition:
    transform 0.2s,
    box-shadow 0.2s;

  &:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--text);
  }
}
/* ホーム募集セクション ボタン */
.btn-orange-pc {
  display: inline-block;
  align-self: flex-start;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;

  &:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
  }
}
.btn-orange-sp {
  display: none;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  margin-top: 24px;
  width: 100%;
  text-align: center;

  &:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
  }
}

/* ---- Section Common ---- */
section {
  padding: 100px 40px;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
}
.text-note {
  font-size: 0.88em;
  color: var(--text-mid);
}

.section-header {
  margin-bottom: 46px;

  .section-title {
    margin-bottom: 0;
  }
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
  padding-left: 6px;
}
.section-title {
  font-size: clamp(1.75rem, calc(1.6rem + 2.1vw), 4.5rem); /* 54px @ 1440px */
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-lead,
p.section-lead {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 28px;
}
p {
  font-size: 1rem;
  line-height: 1.8;
}

/* ---- Scroll Fade-in ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;

  &.visible {
    opacity: 1;
    transform: translateY(0);
  }
  &[data-delay="1"] {
    transition-delay: 0.1s;
  }
  &[data-delay="2"] {
    transition-delay: 0.2s;
  }
  &[data-delay="3"] {
    transition-delay: 0.3s;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 87.5%;
  } /* 14px ベース */
  section {
    padding: 40px 20px;
  }

  .section-lead,
  p.section-lead {
    font-size: 1.05rem;
  }

  p {
    font-size: 0.875rem;
  } /* 14px */
}

/* ====================================================
   HEADER & NAV
==================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition:
    height 0.3s ease,
    box-shadow 0.3s ease;

  .logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;

    a img {
      transition:
        width 0.3s,
        height 0.3s;
    }
  }

  .logo-badge {
    background: var(--orange);
    color: var(--white);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 7px;
    border-radius: 4px;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;

    span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
      transition: all 0.3s;
    }

    &.open {
      span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
      }
      span:nth-child(2) {
        opacity: 0;
      }
      span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
      }
    }
  }

  /* スクロール縮小（PC のみ） */
  &.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);

    @media (min-width: 769px) {
      height: 60px;

      .logo a img {
        width: 38px;
        height: 38px;
      }
    }
  }

  @media (max-width: 768px) {
    padding: 0 20px;
    height: 65px;

    .hamburger {
      display: flex;
      z-index: 100;
    }

    .logo a img {
      width: 42px;
      height: 42px;
    } /* モバイルヘッダーロゴサイズ */
  }
}

/* ---- Nav mobile footer: デスクトップでは非表示（native nesting 外で確実に効かせる） ---- */
.nav-mobile-footer {
  display: none;
}

/* ---- Nav ---- */
nav {
  display: flex;
  align-items: center;
  gap: 8px;

  /* Desktop: nav-links はフラット flex ラッパー */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  a {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    padding: 8px 14px;
    border-radius: 6px;
    transition:
      transform 0.2s,
      color 0.2s;

    &:hover {
      color: var(--white);
      transform: scale(1.07);
    }
    &.nav-active {
      background: rgba(255, 255, 255, 0.18);
      color: var(--white);
      font-weight: 800;
    }
  }

  .nav-cta {
    background: var(--orange) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
    transition:
      transform 0.2s,
      box-shadow 0.2s !important;

    &:hover {
      transform: translate(-1px, -1px) !important;
      box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2) !important;
    }
  }

  /* ---- モバイル全画面ナビ ---- */
  @media (max-width: 768px) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    background: var(--blue-dark);
    background-image: var(--court-dark);
    background-size: 903px 425px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    transform: translateY(-105%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    pointer-events: none;
    padding-top: 70px; /* header height 分 */

    &.open {
      transform: translateY(0);
      pointer-events: all;
    }

    /* リンク群: 縦中央 + flex:1 で余白を占有してフッターを底に押し出す */
    .nav-links {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    a {
      padding: 18px 44px;
      font-size: 1.3rem;
      font-weight: 800;
      letter-spacing: -0.3px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 0;
      color: rgba(255, 255, 255, 0.85);
      display: block;
      transition:
        color 0.2s,
        padding-left 0.2s;

      &:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.07);
      }
      &:hover {
        transform: none;
        color: var(--white);
        padding-left: 56px;
      }
    }

    .nav-cta {
      background: transparent !important;
      color: var(--orange) !important;
      box-shadow: none !important;
      border-radius: 0 !important;
      padding: 18px 44px !important;
      font-size: 1.3rem !important;
      text-align: left;
    }
  }
}

/* モバイルナビ フッター（©コピーライトのみ） */
@media (max-width: 768px) {
  .nav-mobile-footer {
    display: block;
    text-align: center;
    padding: 20px 20px 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-footer-copy {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.7rem;
    font-weight: 500;
  }
}

/* ====================================================
   HERO（TOP PAGE）
==================================================== */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroEmPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.hero {
  position: relative;
  min-height: 97vh;
  background: var(--blue-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px 80px 140px;

  &::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(
        107deg,
        rgba(14, 60, 133, 0.92) 0%,
        rgba(47, 91, 160, 0.82) 55%,
        rgba(26, 95, 204, 0.72) 100%
      ),
      url("../assets/images/hero.png");
    background-size: cover;
    background-position: center;
  }

  .hero-logo-s {
    position: absolute;
    right: 8%;
    top: 47%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    user-select: none;

    @media (max-width: 1200px) {
      width: 380px;
      height: 380px;
      opacity: 0.5;
    }
    @media (max-width: 768px) {
      display: none;
    }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
  }

  .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
  }

  h1 {
    font-size: clamp(2.8rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.25;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 20px;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;

    em {
      font-style: normal;
      color: var(--orange);
      display: block;
      animation: heroEmPulse 0.55s cubic-bezier(0.34, 1.86, 0.64, 1) 0.95s both;
    }
  }

  .hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.85;
    margin-bottom: 4rem;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
  }

  @media (max-width: 768px) {
    padding: 64px 20px 120px;
    min-height: 86vh;

    h1 {
      font-size: 4.4rem;
    }
    .hero-sub {
      font-size: 1.05rem;
    }
  }
}

/* ====================================================
   NEWS FLOAT（TOP PAGE）
==================================================== */
.news-float {
  position: relative;
  z-index: 10;
  margin: -70px auto 60px;
  max-width: 900px;
  padding: 0 20px;

  .news-card {
    background: var(--white);
    border: 2px solid var(--text);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 6px 6px 0 var(--text);
    position: relative;
    overflow: hidden;
  }

  .news-card-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 28px;

    h2 {
      font-size: 2rem;
      font-weight: 900;
      letter-spacing: -0.5px;
      line-height: 1.1;
    }
  }

  .news-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--orange);
  }

  .news-items {
    display: flex;
    flex-direction: column;
  }

  .news-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: padding-left 0.2s;

    &:last-child {
      border-bottom: none;
    }
    &:hover {
      padding-left: 6px;
    }
  }

  .news-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #d8e4f0;
    flex-shrink: 0;
    border: 1px solid #c8d4e0;
  }

  .news-meta {
    flex: 1;
  }

  .news-date {
    font-size: 0.72rem;
    color: #6c88b3;
    font-weight: 700;
    margin-bottom: 5px;
  }

  .news-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
  }

  .news-arrow {
    color: var(--orange);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;

    svg {
      display: block;
    }
  }

  .news-card-footer {
    margin-top: 24px;
    text-align: center;
  }

  @media (max-width: 768px) {
    padding: 0 20px;

    .news-card {
      padding: 24px;
    }
    .news-item {
      gap: 12px;
    }
    .news-thumb {
      width: 44px;
      height: 44px;
    }
  }
}

/* ====================================================
   COURT NET DIVIDER
==================================================== */
.court-divider {
  width: 100%;
  height: 40px;
  overflow: hidden;

  svg {
    width: 100%;
    height: 100%;
    display: block;
  }
}

/* ====================================================
   RECRUITMENT（TOP PAGE）
==================================================== */
.recruitment {
  background: var(--blue-dark);
  background-image: var(--court-dark);
  background-size: 903px 425px;
  position: relative;
  overflow: hidden;
  padding: 90px 0;

  .btn-orange-pc {
    margin-top: 30px;
  }

  .recruitment-inner {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 60px;
    align-items: center;
    min-height: 480px;
  }

  .recruitment-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;

    .section-title {
      color: var(--white);
      margin-bottom: 0;
    }
    .section-lead {
      color: rgba(255, 255, 255, 0.82);
      margin-bottom: 0;
    }
    .section-header {
      margin-bottom: 0;
    }
  }

  .recruitment-right {
    background: var(--white);
    border-radius: 30px;
    padding: 36px 40px;
  }

  .recruitment-table {
    width: 100%;

    tr {
      border-bottom: 1px solid #eee;
    }
    tr:last-child {
      border-bottom: none;
    }

    td {
      padding: 14px 0;
      font-size: 1rem;
      vertical-align: top;
      line-height: 1.7;

      &:first-child {
        font-weight: 800;
        color: var(--blue);
        width: 90px;
        padding-right: 16px;
        white-space: nowrap;
      }
    }
  }

  @media (max-width: 900px) {
    padding: 50px 0 40px;

    .recruitment-inner {
      grid-template-columns: 1fr;
      padding: 0 24px;
      gap: 32px;
      min-height: unset;
    }
    .recruitment-left {
      padding: 10px 0;
    }
    .recruitment-right {
      border-radius: 20px;
      padding: 28px 24px;
    }
    .btn-orange-pc {
      display: none;
    }
    .btn-orange-sp {
      display: block;
    }
  }
}

/* ====================================================
   GALLERY（TOP PAGE）
==================================================== */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-280px * 12 - 20px * 12));
  }
}

.gallery-section {
  background: var(--white);
  padding: 80px 0;
  overflow: hidden;
  display: none;

  .section-header {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 40px;
  }

  .gallery-track-wrap {
    overflow: hidden;
  }

  .gallery-track {
    display: flex;
    gap: 20px;
    animation: marquee 25s linear infinite;
    width: max-content;
  }

  .gallery-item {
    width: 280px;
    height: 280px;
    border-radius: 16px;
    background: #e0e0e0;
    flex-shrink: 0;
    border: 2px solid #ddd;

    &:nth-child(3n) {
      background: #d4e3f7;
    }
    &:nth-child(3n + 2) {
      background: #fce8d8;
    }
  }

  @media (max-width: 768px) {
    .section-header {
      padding: 0 20px;
    }
  }
}

/* ====================================================
   ABOUT（TOP PAGE）
==================================================== */
.about-section {
  background: var(--off-white);
  background-image: var(--court-light);
  background-size: 903px 425px;

  .about-grid {
    display: grid;
    grid-template-columns: 45% 55%; /* 画像45% / テキスト55% */
    gap: 60px;
    align-items: center;
  }

  .about-image-wrap {
    position: relative;
  }

  /* ロゴ SVG をそのまま表示 */
  .about-image {
    width: 100%;
    aspect-ratio: 5 / 5;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    --fill-0: var(--blue); /* インライン SVG の fill に届く */

    svg {
      width: 100%;
      height: 100%;
      --fill-0: var(--blue); /* SVG 自身にも明示 */
    }
  }

  .about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--orange);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-align: center;
    border: 3px solid var(--white);
    box-shadow: 3px 3px 0 var(--text);
    gap: 1px;

    span {
      font-size: 0.6rem;
      font-weight: 800;
      letter-spacing: 2px;
      opacity: 0.9;
      display: block;
    }
    strong {
      font-size: 1.6rem;
      font-weight: 900;
      line-height: 1;
      display: block;
    }
  }

  .about-text {
    .section-header {
      margin-bottom: 28px;
    }

    p:not(.section-lead) {
      color: var(--text-mid);
      line-height: 1.8;
      margin-bottom: 20px;
      font-size: 1rem;
    }

    p strong {
      color: var(--orange);
      font-weight: 900;
    }
  }

  .about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--blue);
    margin-top: 24px;
    border: 2px solid var(--blue);
    background: var(--white);
    border-radius: 999px;
    padding: 13px 28px;
    transition:
      background 0.2s,
      color 0.2s,
      transform 0.2s,
      box-shadow 0.2s;

    &:hover {
      background: var(--blue);
      color: var(--white);
      transform: translate(-2px, -2px);
      box-shadow: 4px 4px 0 var(--blue-dark);
    }
  }

  @media (max-width: 768px) {
    .about-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .about-image-badge {
      right: 10px;
      bottom: -10px;
    }

    .about-link {
      display: flex; /* inline-flex → flex でブロック扱いに */
      width: fit-content;
      margin: 20px auto 0; /* 左右 auto で中央寄せ */
    }
  }
}

/* ====================================================
   PAGE HERO（下層ページ共通）
==================================================== */
.page-hero {
  background: var(--blue-dark);
  background-image: var(--court-dark);
  background-size: 903px 425px;
  padding: 80px 40px 100px;
  position: relative;
  overflow: hidden;

  &::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
  }

  .page-hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--orange);
    display: block;
    margin-bottom: 4px;
    padding-left: 14px;
  }

  h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
  }

  @media (max-width: 768px) {
    padding: 44px 20px 50px;
    h1 {
      font-size: 2rem;
    }

    &::after {
      height: 40px;
    }

    .page-hero-eyebrow {
      padding-left: 6px;
    }
  }
}

/* ====================================================
   PHILOSOPHY（チーム紹介ページ）
==================================================== */
.philosophy-section {
  padding-bottom: 40px;

  .philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .philosophy-box {
    padding: 40px;
    border: 2px solid var(--text);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 4px 4px 0 var(--text);
    transition:
      transform 0.2s,
      box-shadow 0.2s;
    position: relative;
    overflow: hidden;

    &:hover {
      transform: translate(-2px, -2px);
      box-shadow: 6px 6px 0 var(--text);
    }

    .philosophy-number {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 2px;
      color: var(--orange);
      margin-bottom: 8px;
      display: block;
    }

    .philosophy-ja {
      font-size: 1.8rem;
      font-weight: 900;
      color: var(--blue);
      letter-spacing: -0.5px;
      line-height: 1;
      margin-bottom: 16px;
      display: block;
    }

    p {
      font-size: 1rem;
      color: var(--text-mid);
      line-height: 1.8;
    }
  }

  @media (max-width: 768px) {
    .philosophy-grid {
      grid-template-columns: 1fr;
    }
    .philosophy-box {
      padding: 28px;
    }
  }
}

/* ====================================================
   COACHES（チーム紹介ページ）
==================================================== */
.coaches-section {
  .coaches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .coach-card {
    border: 2px solid var(--text);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--text);
    background: var(--white);
    transition:
      transform 0.2s,
      box-shadow 0.2s;

    &:hover {
      transform: translate(-2px, -2px);
      box-shadow: 6px 6px 0 var(--text);
    }

    .coach-photo {
      width: 100%;
      aspect-ratio: 1;
      background: linear-gradient(135deg, #e0ebff 0%, #c8d9f5 100%);
      border-bottom: 2px solid var(--text);
    }

    .coach-info {
      padding: 24px;
    }

    .coach-role {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 2px;
      color: var(--orange);
      margin-bottom: 6px;
      display: block;
    }

    .coach-name {
      font-size: 1.2rem;
      font-weight: 900;
      margin-bottom: 12px;
    }

    .coach-bio {
      font-size: 0.92rem;
      color: var(--text-mid);
      line-height: 1.7;
    }
  }

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

/* ====================================================
   NEWS PAGE（お知らせページ）
==================================================== */
.insta-feed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;

  .insta-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-bottom: 2px solid var(--text);
    transition: background 0.2s;
    cursor: pointer;

    &:first-child {
      border-top: 2px solid var(--text);
    }
    &:hover {
      background: var(--off-white);
    }
  }

  .insta-thumb {
    width: 280px;
    aspect-ratio: 1;
    background: #d8e4f0;
    border-right: 2px solid var(--text);
    flex-shrink: 0;
  }

  .insta-content {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .insta-date {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
  }

  .insta-title {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
  }

  .insta-caption {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.85;
    flex: 1;
    margin-bottom: 24px;
  }

  .insta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--blue);
    transition: gap 0.2s;

    &:hover {
      gap: 14px;
      color: var(--orange);
    }
  }

  @media (max-width: 768px) {
    .insta-item {
      grid-template-columns: 1fr;
    }
    .insta-thumb {
      width: 100%;
      border-right: none;
      border-bottom: 2px solid var(--text);
    }
    .insta-content {
      padding: 24px;
    }
    .insta-title {
      font-size: 1.05rem;
    }
  }
}

/* ====================================================
   REQUIREMENTS（入部案内ページ）
==================================================== */
.requirements-section {
  background: var(--white);
  padding-bottom: 60px;
}

/* 吹き出しバナー */
.speech-bubble {
  position: relative;
  background: var(--white);
  border: 2px solid var(--text);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 32px;
  box-shadow: 3px 3px 0 var(--text);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-mid);
  line-height: 1.6;

  &::before {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid var(--text);
  }
  &::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 11px solid var(--white);
  }

  strong {
    color: var(--orange);
  }
}

.requirements-box {
  background: var(--white);
  border: 2px solid var(--text);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--text);
  margin-bottom: 20px;

  .requirements-header {
    background: var(--blue-dark);
    padding: 36px 40px;
    text-align: center;

    .section-header {
      margin-bottom: 0;
    }
    .section-eyebrow {
      padding-left: 0;
    }

    h2 {
      font-size: 2.875rem;
      font-weight: 900;
      color: var(--white);
      letter-spacing: -0.5px;
    }

    @media (max-width: 768px) {
      padding: 24px 20px;
      h2 {
        font-size: clamp(1.6rem, 7.3vw, 2.4rem);
      } /* モバイルで適切なサイズに */
    }
  }

  .requirements-body {
    padding: 0;
  }

  .requirements-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    border-bottom: 1px solid #eee;

    &:last-child {
      border-bottom: none;
    }
  }

  .requirements-key {
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue);
    padding: 20px;
    background: #f5f8ff;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
    line-height: 1.5;
  }

  .requirements-val {
    font-size: 1rem;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    line-height: 1.75;
  }

  @media (max-width: 768px) {
    .requirements-row {
      grid-template-columns: 80px 1fr;
    }
    .requirements-key {
      font-size: 1rem;
      padding: 16px 10px;
    }
    .requirements-val {
      font-size: 1rem;
      padding: 16px 14px;
      flex-direction: column; /* SP: 縦積み */
      align-items: flex-start;
    }
  }
}

/* ====================================================
   FAQ（入部案内ページ）
==================================================== */
.faq-section {
  background: var(--white);
  padding-top: 60px;

  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
  }

  .faq-item {
    border: 2px solid var(--text);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 3px 3px 0 var(--text);

    .faq-q {
      padding: 22px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-weight: 800;
      font-size: 1.05rem;
      cursor: pointer;
      background: var(--white);
      transition: background 0.2s;
      gap: 20px;
      line-height: 1.5;
    }

    .faq-q-text {
      flex: 1;
    }

    .faq-icon {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--blue);
      color: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      font-weight: 900;
      flex-shrink: 0;
      transition: background 0.2s;

      &::before {
        content: "+";
      }
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s;
      background: var(--off-white);
      border-top: 0 solid var(--text);

      p {
        padding: 22px 28px;
        font-size: 1rem;
        color: var(--text);
        line-height: 1.85;
      }
    }

    &.open {
      .faq-icon {
        background: var(--orange);
        &::before {
          content: "−";
        }
      }
      .faq-a {
        max-height: 300px;
        border-top-width: 2px;
      }
    }
  }

  @media (max-width: 768px) {
    .faq-q {
      padding: 18px 20px;
      font-size: 0.92rem;
    }
    .faq-a p {
      padding: 18px 20px;
    }
  }
}

/* ====================================================
   CTA BLOCK（入部案内ページ）
==================================================== */
.cta-block {
  background: var(--blue-dark);
  border: 2px solid var(--text);
  border-radius: 20px;
  padding: 60px 60px 50px;
  text-align: center;
  box-shadow: 6px 6px 0 var(--text);
  position: relative;
  overflow: hidden;

  h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
  }

  p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    font-size: 1rem;
  }

  @media (max-width: 768px) {
    padding: 40px 24px;
  }
}

/* ====================================================
   CONTACT（お問い合わせページ）
==================================================== */
.contact-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;

  .contact-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border: 2px solid var(--text);
    border-radius: 24px;
    padding: 60px 80px;
    background: var(--white);
    box-shadow: 8px 8px 0 var(--text);

    .section-header {
      margin-bottom: 36px;
    }
    .section-title {
      color: var(--text);
      margin-bottom: 20px;
    }

    p {
      font-size: 1rem;
      color: var(--text-mid);
      line-height: 1.8;
      margin-bottom: 40px;
    }
  }

  @media (max-width: 768px) {
    .contact-box {
      padding: 48px 24px;
    }
  }
}

/* ====================================================
   FOOTER
==================================================== */
footer {
  background: var(--text);
  background-image: var(--court-dark);
  background-size: 903px 425px;
  color: var(--white);
  padding: 80px 60px 40px;

  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .footer-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
  }

  .footer-logo-text {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .footer-logo-badge {
    background: var(--orange);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 6px;
    border-radius: 3px;
    align-self: flex-start;
  }

  .footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
  }

  .footer-col {
    h4 {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 2px;

      color: rgba(255, 255, 255, 0.4);
      margin-bottom: 20px;
    }

    ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    a {
      font-size: 0.95rem;
      color: rgba(255, 255, 255, 0.75);
      transition: color 0.2s;

      &:hover {
        color: var(--white);
      }
    }

    /* 代表者名ラベル */
    .footer-contact-name {
      font-size: 0.82rem;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.5);
      letter-spacing: 0.3px;
    }
  }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;

    p {
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.35);
    }
  }

  .footer-insta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;

    &:hover {
      color: var(--orange);
    }
  }

  @media (max-width: 768px) {
    padding: 60px 20px 32px;

    .footer-top {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
  }
}

/* ====================================================
   NEWS PAGE — Instagram 連携準備中プレースホルダー
==================================================== */
.news-insta-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 60px 20px;
}
.news-insta-icon {
  color: var(--blue);
  opacity: 0.5;
}
.news-insta-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
  text-align: center;
}

/* トップページニュース: Instagram アイコン付きサムネイル */
.news-thumb--insta {
  background: linear-gradient(135deg, #e8eef8, #c8d9f5);
  display: flex;
  align-items: center;
  justify-content: center;

  &::after {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' stroke='%231a5fcc' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='4.5' stroke='%231a5fcc' stroke-width='1.6'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.2' fill='%231a5fcc'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }
}

/* ====================================================
   BACK TO TOP
==================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.2s;

  &.show {
    opacity: 1;
    pointer-events: auto;
  }
  &:hover {
    transform: translateY(-3px);
  }
}
