/* ============================================================
   AKITA SPORTS PLUS — Shared Design System
   Base: #0a2e1f / Accent: #2ECC71 / Gold: #d4af37
   共通スタイル: 全ページで読み込む
   ============================================================ */

/* ==== CSS Custom Properties ==== */
:root {
  --dark:       #0a2e1f;
  --dark2:      #0d1f14;
  --green:      #2ECC71;
  --gold:       #d4af37;
  --white:      #ffffff;
  --offwhite:   #f6f8f5;
  --gray:       #888;
  --text:       #1a1a1a;
  --light-text: rgba(255,255,255,0.75);
  --radius:     4px;
  --max-w:      1160px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==== Reset / Base ==== */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding-top: 80px;
  font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ==== Section Label ==== */
.sec-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.sec-label::after {
  content: "";
  display: block;
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--green);
  opacity: 0.5;
}
.sec-label--dark { color: var(--green); }

/* ==== HEADER ==== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 46, 31, 0.72);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

header.scrolled {
  background: rgba(10, 30, 20, 0.97);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  border-bottom-color: rgba(212,175,55,0.35);
}

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

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: color 0.3s;
}
.logo a { color: inherit; text-decoration: none; }
.logo:hover { color: var(--green); }

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav ul li a {
  color: var(--light-text);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.header-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.35s var(--ease);
}

.header-nav ul li a:hover { color: var(--white); }
.header-nav ul li a:hover::after { width: 100%; }

.sns-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.sns-links a { opacity: 0.7; transition: opacity 0.3s, transform 0.3s; }
.sns-links a:hover { opacity: 1; transform: translateY(-2px); }
.sns-links a svg { width: 20px; height: 20px; }

/* ==== ハンバーガーボタン ==== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* オーバーレイ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

/* デスクトップではナビ内SNSを非表示 */
.nav-sns { display: none; }

/* ==== Header — Tablet / Mobile ==== */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .sns-links { display: none; }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: rgba(8, 36, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 40px 40px;
    transition: right 0.4s var(--ease);
    box-shadow: -8px 0 30px rgba(0,0,0,0.4);
    border-left: 1px solid rgba(212,175,55,0.2);
  }

  .header-nav.active { right: 0; }

  .header-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .header-nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .header-nav ul li:first-child {
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .header-nav ul li a {
    display: block;
    padding: 18px 0;
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .header-nav ul li a::after { display: none; }

  .nav-sns {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-sns a { opacity: 0.75; transition: opacity 0.3s, transform 0.3s; }
  .nav-sns a:hover { opacity: 1; transform: translateY(-2px); }
}

@media (max-width: 768px) {
  body { padding-top: 64px; }
  .header-inner { padding: 0 20px; height: 64px; }
  .logo { font-size: 0.9rem; letter-spacing: 1px; }
}
