/* =====================================================
   Kids王国 in 丸亀 — 共通スタイル v2（2026 Redesign）
   モバイルファースト設計
===================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --yellow: #f4a800;
  --dark:   #1a1a1a;
  --navy:   #1a3a5c;
  --gray:   #f5f4f0;
  --text:   #333;
  --sub:    #777;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: var(--text);
  background: #fff;
}

/* ===========================
   HEADER
=========================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--yellow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* デスクトップナビ（デフォルト非表示 → 769px以上で表示） */
nav {
  display: none;
  gap: 0.15rem;
}

nav a {
  display: block;
  padding: 0.5rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  white-space: nowrap;
}

nav a:hover { background: var(--gray); color: var(--yellow); }

.nav-cta {
  background: var(--yellow) !important;
  color: var(--dark) !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.1rem !important;
}

.nav-cta:hover { opacity: 0.85 !important; }

/* ===========================
   HAMBURGER（スマホ：デフォルト表示）
=========================== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.hamburger:hover { background: var(--gray); }

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

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

/* ===========================
   MOBILE NAV OVERLAY
=========================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.99);
  z-index: 99;
  flex-direction: column;
  padding: 0.8rem 1.5rem 4rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-overlay.open {
  display: flex;
  animation: mobileNavIn 0.22s ease;
}

@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-overlay a {
  display: block;
  padding: 1rem 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a:active { color: var(--yellow); padding-left: 0.8rem; }

.mobile-nav-overlay .nav-cta {
  background: var(--yellow) !important;
  color: var(--dark) !important;
  border-radius: 50px !important;
  border-bottom: none !important;
  text-align: center;
  margin-top: 1.2rem;
  padding: 1rem 1.5rem !important;
}

.mobile-nav-overlay .nav-cta:hover { opacity: 0.85; padding-left: 1.5rem !important; }

/* ===========================
   SECTION COMMON
=========================== */
.sec-label {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.32em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.sec-title {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-block;
  font-weight: 900;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 0.05em;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  padding: 0.9rem 2.4rem;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(244,168,0,0.4);
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  padding: 0.75rem 1.8rem;
  font-size: 0.85rem;
  border: 2px solid var(--navy);
}

.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--navy);
  padding: 0.9rem 2.4rem;
  font-size: 0.95rem;
}

.btn-white:hover { background: var(--yellow); }

/* ===========================
   FOOTER BASE
=========================== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 3rem 1.5rem 2rem;
}

.footer-disclaimers {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-disclaimers p {
  font-size: 0.7rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.3);
}

/* ===========================
   RESPONSIVE — DESKTOP
=========================== */
@media (min-width: 769px) {
  nav { display: flex; }
  .hamburger { display: none; }
}
