/* ============================================
   GKY Goalkeeper School — Minimal Modern Style
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --font-sans: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--gray-200);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.6;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.5;
}

.nav-cta {
  padding: 8px 20px;
  background: var(--black);
  color: var(--white) !important;
  border-radius: 100px;
  transition: background 0.2s ease, opacity 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--gray-700);
  opacity: 1 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.nav-toggle.active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
}

.hero-content {
  text-align: center;
  max-width: 900px;
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(44px, 9vw, 110px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.hero-title-line {
  display: block;
}

.hero-sub {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-scroll span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: var(--gray-300);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* --- Marquee --- */
.marquee {
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-300);
  padding: 0 24px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  border: none;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gray-700);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--black);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--gray-600);
}

.btn-outline-light:hover {
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 15px;
}

/* --- Sections --- */
.section {
  padding: 120px 0;
}

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

.section-gray {
  background: var(--gray-50);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 64px;
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

.section-label-light {
  color: var(--gray-600);
}

.section-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

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

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.about-body {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 2;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}

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

.stat-number {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-unit {
  font-size: 20px;
  font-weight: 600;
  margin-left: 2px;
}

.stat-to {
  font-size: 28px;
  margin: 0 2px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 400;
}

/* --- Philosophy --- */
.philosophy-intro {
  margin-bottom: 48px;
}

.philosophy-intro-text {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.8;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.philosophy-card {
  padding: 48px 40px;
  border: 1px solid var(--gray-800);
  transition: background 0.3s ease;
}

.philosophy-card:hover {
  background: var(--gray-900);
}

.philosophy-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 28px;
}

.philosophy-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.philosophy-text {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.9;
}

/* --- Words --- */
.words-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.word-card {
  padding: 48px 40px;
  border: 1px solid var(--gray-200);
  transition: border-color 0.3s ease;
}

.word-card:hover {
  border-color: var(--black);
}

.word-card-large {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 48px;
  border-color: var(--black);
  background: var(--gray-50);
}

.word-quote {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.word-card-large .word-quote {
  font-size: 24px;
}

.word-source {
  font-size: 12px;
  font-style: normal;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

/* --- Programs --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.program-card {
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  background: var(--white);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.program-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
}

.program-card-featured {
  border-color: var(--black);
  position: relative;
}

.program-card-featured::before {
  content: 'Recommended';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 100px;
}

.program-card-wide {
  grid-column: 1 / -1;
}

.program-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.program-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.program-name {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.program-age {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.program-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.program-features li {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--gray-100);
  border-radius: 100px;
  color: var(--gray-700);
}

.program-sub-card {
  margin-top: 24px;
  padding: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
}

.program-sub-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.program-sub-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* --- Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feature-card {
  padding: 40px 32px;
  border: 1px solid var(--gray-800);
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--gray-900);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--gray-500);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-text {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.9;
}

/* --- Story / Timeline --- */
.story-intro {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 2;
  margin-bottom: 64px;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--black);
}

.timeline-item:last-child .timeline-dot {
  background: var(--black);
}

.timeline-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.timeline-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.9;
  max-width: 640px;
}

.timeline-text strong {
  color: var(--black);
}

/* --- Why --- */
.why-content {
  text-align: center;
}

.why-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  text-align: left;
}

.why-card {
  padding: 40px 32px;
  border: 1px solid var(--gray-800);
  transition: background 0.3s ease;
}

.why-card:hover {
  background: var(--gray-900);
}

.why-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 20px;
}

.why-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why-card-text {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.9;
}

/* --- Coach --- */
.coach-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.coach-image-placeholder {
  width: 280px;
  height: 340px;
  background: var(--gray-100);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
}

.coach-image-placeholder svg {
  width: 64px;
  height: 64px;
}

.coach-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.coach-name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.2;
}

.coach-name-en {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.coach-career {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.coach-career-item {
  display: flex;
  gap: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.coach-career-label {
  flex-shrink: 0;
  width: 72px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--gray-400);
  padding-top: 2px;
}

.coach-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 24px;
}

.coach-social {
  display: flex;
  gap: 12px;
}

.coach-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  transition: border-color 0.2s ease;
}

.coach-social-link:hover {
  border-color: var(--black);
}

/* --- CTA --- */
.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: block;
  margin-bottom: 24px;
}

.cta-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.cta-text {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--black);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--black);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 24px;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 20px;
    font-weight: 600;
  }

  .nav-cta {
    font-size: 16px !important;
    padding: 12px 28px;
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-stats {
    flex-direction: row;
    gap: 0;
  }

  .stat {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--gray-200);
    padding: 0 24px 0 0;
    margin-right: 24px;
  }

  .stat:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  .stat-number {
    font-size: 28px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .words-grid {
    grid-template-columns: 1fr;
  }

  .word-card-large {
    grid-column: auto;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card-wide {
    grid-column: auto;
  }

  .program-inner-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .coach-content {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
    text-align: center;
  }

  .coach-image-placeholder {
    width: 200px;
    height: 240px;
  }

  .coach-career {
    text-align: left;
  }

  .coach-social {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: clamp(36px, 12vw, 72px);
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 0 0 24px 0;
    margin: 0;
  }

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

  .philosophy-card {
    padding: 32px 24px;
  }

  .word-card {
    padding: 32px 24px;
  }

  .word-card-large {
    padding: 40px 24px;
  }

  .word-card-large .word-quote {
    font-size: 20px;
  }

  .program-card {
    padding: 32px 24px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .why-card {
    padding: 32px 24px;
  }

  .timeline {
    padding-left: 32px;
  }

  .timeline-dot {
    left: -32px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .story-intro {
    font-size: 15px;
  }

  .sp-hide {
    display: none;
  }
}
