/*
 * みらいサッカースクール - 全ページ共通CSS
 * ヘッダー・フッター・ドロワー・フローティングCTA・共通ユーティリティ
 */

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&family=Oswald:wght@400;500;600;700&family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: .2s ease; }
ul { list-style: none; }

:root {
  --primary: #03327b;
  --primary-light: #e6edf8;
  --primary-dark: #021f50;
  --accent: #f39800;
  --accent-light: #fff8ed;
  --text: #222;
  --text-light: #555;
  --text-muted: #999;
  --bg-cream: #f6f8fb;
  --bg-green: #eef3f9;
  --border: #dde4ed;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 16px rgba(0,0,0,.06);
  --shadow-hover: 0 6px 24px rgba(0,0,0,.1);
  --max-w: 1080px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 0; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .82rem; font-weight: 500; color: var(--text-light);
  text-decoration: none; transition: .2s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta-wrap { display: flex; align-items: center; gap: 10px; }
.nav-cta-line {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700;
  background: #06C755; color: #fff;
  padding: 9px 18px; border-radius: 8px;
  text-decoration: none; transition: all .2s ease;
}
.nav-cta-line:hover { background: #05b34c; color: #fff; transform: translateY(-1px); }
.nav-cta-tel {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700;
  background: var(--primary); color: #fff;
  padding: 9px 18px; border-radius: 8px;
  text-decoration: none; transition: all .2s ease;
}
.nav-cta-tel:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 24px;
  position: relative; z-index: 201;
}
.hamburger span {
  display: block; width: 100%; height: 2.5px;
  background: var(--text); border-radius: 2px;
  position: absolute; left: 0;
  transition: all .3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Drawer */
.drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.4); z-index: 199;
}
.drawer-overlay.is-open { display: block; }
.drawer {
  position: fixed; top: 0; right: -280px;
  width: 280px; height: 100%; background: #fff;
  z-index: 200; padding: 80px 28px 40px;
  transition: right .3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,.1);
  display: flex; flex-direction: column; gap: 32px;
}
.drawer.is-open { right: 0; }
.drawer-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  border: none; background: var(--bg-cream);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-muted);
  transition: all .2s ease;
}
.drawer-close:hover {
  background: var(--primary-light); color: var(--primary);
}
.drawer-nav { display: flex; flex-direction: column; gap: 0; }
.drawer-nav a {
  padding: 16px 0; font-size: .95rem; font-weight: 600;
  color: var(--text); border-bottom: 1px solid #f0ede8;
  text-decoration: none; transition: .2s ease;
}
.drawer-nav a:hover { color: var(--primary); }
.drawer-cta { display: flex; flex-direction: column; gap: 12px; }
.drawer-btn-line {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #06C755; color: #fff;
  padding: 14px 0; border-radius: 10px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
}
.drawer-btn-tel {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 14px 0; border-radius: 10px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
}

/* ===== FOOTER ===== */
.footer {
  background: #fff; color: var(--text-light);
  padding: 56px 0 0; border-top: 1px solid #eee;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 36px;
}
.footer-brand .logo-text { color: var(--text); }
.footer-brand p {
  font-size: .8rem; margin-top: 12px;
  line-height: 1.8; color: var(--text-muted);
}
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; text-decoration: none; transition: .2s ease;
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer h4 {
  color: var(--text); font-size: .78rem; font-weight: 700;
  margin-bottom: 16px; letter-spacing: .04em;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: .8rem; color: var(--text-muted); text-decoration: none; transition: .2s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  text-align: center; font-size: .7rem; color: var(--text-muted);
  padding: 20px 0; border-top: 1px solid #eee;
}

/* ===== PC Floating Circle CTA ===== */
.pc-float-circle {
  position: fixed; bottom: 32px; right: 32px;
  z-index: 998; width: 110px; height: 110px;
  border-radius: 50%; background: var(--accent);
  color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  text-decoration: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: .68rem;
  letter-spacing: .04em; line-height: 1.3; text-align: center;
  box-shadow: 0 4px 20px rgba(243,152,0,.4);
  transition: all .3s ease;
  animation: float-bounce 3s ease-in-out infinite;
}
.pc-float-circle:hover {
  transform: scale(1.08); color: #fff;
  box-shadow: 0 6px 28px rgba(243,152,0,.55);
}
.pc-float-circle i { font-size: 1.2rem; margin-bottom: 2px; }
@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== SP Floating CTA ===== */
.sp-float-cta { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: block; }
  .header-inner { height: 56px; }
  .nav-links { display: none; }
  .nav-cta-wrap { display: none; }
  .pc-float-circle { display: none; }
  .sp-float-cta {
    display: flex; position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999; gap: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,.12);
  }
  .sp-float-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 14px 0; font-size: .9rem; font-weight: 700;
    color: #fff; text-decoration: none;
  }
  .sp-float-line { background: #06C755; }
  .sp-float-tel { background: var(--primary); }
  .footer { padding-bottom: 56px; }
}
