/* ============================================
   かなた陸上クラブ デザインリニューアル CSS
   参考: STEP UP キッズジム風デザイン
   ============================================ */

/* ============================================
   カラーパレット変数
   ============================================ */
:root {
  --color-base: #fff6ea;          /* ベースカラー（温かみのあるクリーム） */
  --color-text: #0e2689;          /* テキストカラー（ディープネイビー） */
  --color-accent-pink: #ff1f76;   /* CTA・重要ボタン */
  --color-accent-green: #00f48e;  /* ポジティブ要素・タグ */
  --color-accent-yellow: #ffe927; /* 見出し装飾・ハイライト */
  --color-accent-purple: #680e72; /* セクション区切り・差別化 */
  --color-white: #ffffff;
  --color-gray-light: #f5f5f5;
  --color-gray: #888888;

  /* フォント */
  --font-main: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", sans-serif;
  --font-english: "Poppins", "Montserrat", sans-serif;

  /* 余白 */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;

  /* ボーダー半径 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;
}

/* ============================================
   ベーススタイル
   ============================================ */
body {
  font-family: var(--font-main);
  background-color: var(--color-base);
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ============================================
   タイポグラフィ
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

/* 日本語見出し（大きく太く） */
.heading-jp {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
}

/* 英字サブ見出し（小さめ） */
.heading-en {
  font-family: var(--font-english);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-pink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   ヘッダー（リニューアル）
   ============================================ */
.header-renewal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: var(--spacing-sm) var(--spacing-md);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-renewal.scrolled {
  background: rgba(255, 246, 234, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.header-logo img {
  height: 50px;
  width: auto;
}

/* ナビゲーション（PC） */
.header-nav {
  display: none;
}

@media (min-width: 992px) {
  .header-nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
  }

  .header-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
  }

  .header-nav a:hover {
    background: rgba(0, 224, 226, 0.15);
    color: var(--color-accent-mint);
    transform: translateY(-2px);
  }
}

/* 体験ボタン */
.btn-trial {
  background: var(--color-accent-pink);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 31, 118, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-trial:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 31, 118, 0.5);
  background: #e6196a;
}

.btn-trial:active {
  transform: translateY(0) scale(0.98);
}

/* ハンバーガーメニュー */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .hamburger {
    display: none;
  }
}

/* ============================================
   ファーストビュー（FV）
   ============================================ */
.fv-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fv-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.fv-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(14, 38, 137, 0.7) 0%,
    rgba(104, 14, 114, 0.5) 100%
  );
  z-index: 2;
}

.fv-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  padding: var(--spacing-md);
  max-width: 800px;
}

.fv-catchphrase {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fv-catchphrase .highlight {
  color: var(--color-accent-yellow);
}

.fv-sub {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: var(--spacing-lg);
}

/* 装飾要素（ドット） */
.decoration-dots {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--color-accent-yellow) 3px, transparent 3px);
  background-size: 15px 15px;
  opacity: 0.5;
  z-index: 2;
}

.decoration-dots.top-left {
  top: 10%;
  left: 5%;
}

.decoration-dots.bottom-right {
  bottom: 10%;
  right: 5%;
}

/* ============================================
   セクション共通スタイル
   ============================================ */
.section {
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* 波線装飾 */
.wave-decoration {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
}

.wave-decoration.top {
  top: -1px;
}

.wave-decoration.bottom {
  bottom: -1px;
  transform: rotate(180deg);
}

.wave-decoration svg {
  width: 100%;
  height: 100%;
}

/* 背景色バリエーション */
.section-white {
  background-color: var(--color-white);
}

.section-cream {
  background-color: var(--color-base);
}

.section-navy {
  background-color: var(--color-text);
  color: var(--color-white);
}

.section-pink {
  background-color: #fff0f5;
}

.section-yellow {
  background-color: #fffaeb;
}

/* ============================================
   カードコンポーネント
   ============================================ */
.card-renewal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card-renewal:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.card-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.card-renewal:hover .card-image img {
  transform: scale(1.05);
}

/* 丸型画像マスク */
.image-circle {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
}

/* ============================================
   ボタンスタイル
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent-pink);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 31, 118, 0.3);
}

.btn-primary:hover {
  background: #e6196a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 31, 118, 0.4);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-text);
  color: var(--color-white);
}

.btn-green {
  background: var(--color-accent-green);
  color: var(--color-text);
}

.btn-green:hover {
  background: #00d87d;
}

/* 矢印付きボタン */
.btn-arrow::after {
  content: ">";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 0.8rem;
}

/* ============================================
   ニュースセクション
   ============================================ */
.news-section-renewal {
  padding: var(--spacing-lg) 0;
}

.news-list-renewal {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.news-item:hover {
  border-left-color: var(--color-accent-pink);
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.news-date {
  font-size: 0.8rem;
  color: var(--color-gray);
  white-space: nowrap;
}

.news-category {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-accent-green);
  color: var(--color-text);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
}

.news-title {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================
   FAQセクション
   ============================================ */
.faq-section-renewal {
  padding: var(--spacing-xl) var(--spacing-md);
}

.faq-item-renewal {
  margin-bottom: var(--spacing-sm);
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question-renewal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text);
  transition: background 0.3s ease;
}

.faq-question-renewal:hover {
  background: var(--color-gray-light);
}

.faq-question-renewal::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-question-renewal.active::after {
  transform: rotate(45deg);
}

.faq-answer-renewal {
  display: none;
  padding: 0 var(--spacing-md) var(--spacing-md);
  line-height: 1.8;
  color: var(--color-text);
}

.faq-answer-renewal.show {
  display: block;
}

/* ============================================
   料金セクション
   ============================================ */
.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pricing-header {
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent-purple) 100%);
  color: var(--color-white);
  padding: var(--spacing-md);
  text-align: center;
}

.pricing-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
}

.pricing-body {
  padding: var(--spacing-md);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-gray-light);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.pricing-features li::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--color-accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   フッター
   ============================================ */
.footer-renewal {
  background: var(--color-text);
  color: var(--color-white);
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo img {
  height: 60px;
  margin-bottom: var(--spacing-md);
}

.footer-description {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.8;
}

.footer-nav-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: #0e2689;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: var(--spacing-sm);
}

.footer-nav-list a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-nav-list a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-accent-pink);
  transform: translateY(-3px);
}

.footer-social img {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============================================
   アニメーション
   ============================================ */
/* フェードイン（スクロール連動） */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 遅延アニメーション */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ホバーアニメーション */
.hover-pop {
  transition: transform 0.3s ease;
}

.hover-pop:hover {
  transform: scale(1.05);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   装飾要素
   ============================================ */
/* カラフルな円装飾 */
.circle-decoration {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.circle-pink {
  background: var(--color-accent-pink);
  opacity: 0.2;
}

.circle-yellow {
  background: var(--color-accent-yellow);
  opacity: 0.3;
}

.circle-green {
  background: var(--color-accent-green);
  opacity: 0.2;
}

.circle-purple {
  background: var(--color-accent-purple);
  opacity: 0.15;
}

/* タグスタイル */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-pink {
  background: var(--color-accent-pink);
  color: var(--color-white);
}

.tag-green {
  background: var(--color-accent-green);
  color: var(--color-text);
}

.tag-yellow {
  background: var(--color-accent-yellow);
  color: var(--color-text);
}

.tag-purple {
  background: var(--color-accent-purple);
  color: var(--color-white);
}

/* ============================================
   レスポンシブ調整
   ============================================ */
@media (max-width: 768px) {
  .heading-jp {
    font-size: 1.5rem;
  }

  .section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .fv-catchphrase {
    font-size: 1.5rem;
  }
}

@media (min-width: 992px) {
  .container-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
  }
}

/* ============================================
   ユーティリティ
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

/* グリッドレイアウト */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

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