/* ============================================
   Y.M.G Girl's Dance Studio デモサイト
   ============================================ */

:root {
  --pink: #f472b6;
  --pink-dark: #db2777;
  --pink-light: #fce7f3;
  --magenta: #a21caf;
  --purple: #7c3aed;
  --gold: #fde68a;
  --dark: #0f0a1e;
  --text: #1f2937;
  --text-sub: #6b7280;
  --white: #ffffff;
  --gray-100: #fce7f3;
  --gray-200: #fbcfe8;
  --shadow-sm: 0 1px 4px rgba(219,39,119,0.1);
  --shadow-md: 0 4px 20px rgba(219,39,119,0.18);
  --shadow-lg: 0 12px 40px rgba(219,39,119,0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   写真枠 共通
   ============================================ */
.photo-frame {
  background: linear-gradient(135deg, rgba(244,114,182,0.15), rgba(124,58,237,0.15));
  border: 2px dashed rgba(244,114,182,0.5);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.photo-frame-pink {
  background: linear-gradient(135deg, rgba(219,39,119,0.1), rgba(162,28,175,0.1));
  border: 2px dashed rgba(219,39,119,0.4);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.photo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
}

.photo-inner .photo-icon { font-size: 32px; opacity: 0.6; }
.photo-inner p {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.photo-inner-dark .photo-icon { opacity: 0.5; }
.photo-inner-dark p { color: rgba(255,255,255,0.45); }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.logo { display: flex; flex-direction: column; line-height: 1.1; }

.logo-ymg {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink-dark), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.08em;
}

.logo-sub-text {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-sub);
  font-weight: 600;
}

.nav-pc {
  display: flex;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.nav-pc a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

.nav-pc a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--pink-dark);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-pc a:hover::after { width: 100%; }

.btn-primary-sm {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(219,39,119,0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--pink-dark);
  transition: 0.3s;
}

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

.nav-sp {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px;
}
.nav-sp.active { display: flex; }
.nav-sp a {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 600;
}
.nav-sp a:last-child { border-bottom: none; }

/* ============================================
   Ticker
   ============================================ */
.ticker-wrap {
  background: linear-gradient(135deg, var(--pink-dark) 0%, var(--magenta) 50%, var(--purple) 100%);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: ticker 24s linear infinite;
}

.ticker-track span {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(219,39,119,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); opacity: 1; }

.btn-outline-light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.25); opacity: 1; }

.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-hero-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--pink) 60%, var(--pink-dark) 100%);
  color: var(--dark);
  font-size: 17px;
  padding: 18px 40px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 32px rgba(219,39,119,0.45);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(219,39,119,0.55); opacity: 1; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0a1e 0%, #4a044e 35%, #831843 65%, #1e1b4b 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 75% 40%, rgba(244,114,182,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 15% 70%, rgba(124,58,237,0.22) 0%, transparent 70%);
}

/* キラキラ星 */
.hero-stars { position: absolute; inset: 0; pointer-events: none; }
.star {
  position: absolute;
  color: var(--gold);
  animation: twinkle 3s ease-in-out infinite;
  opacity: 0;
}
.s1 { top: 15%; left: 52%; font-size: 18px; animation-delay: 0s; }
.s2 { top: 25%; left: 78%; font-size: 12px; animation-delay: 0.6s; }
.s3 { top: 55%; left: 88%; font-size: 20px; animation-delay: 1.2s; }
.s4 { top: 70%; left: 60%; font-size: 10px; animation-delay: 0.3s; }
.s5 { top: 10%; left: 68%; font-size: 14px; animation-delay: 0.9s; }
.s6 { top: 40%; left: 95%; font-size: 16px; animation-delay: 1.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hl {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(253,230,138,0.6);
}

.hero-desc {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.88);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  width: fit-content;
}

.stat { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.stat strong { font-size: 26px; font-weight: 900; color: var(--gold); line-height: 1.1; }
.stat span { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.2); align-self: stretch; }

/* Hero写真枠エリア */
.hero-photos {
  display: flex;
  gap: 16px;
  align-items: stretch;
  height: 400px;
}

.hero-photo-main {
  flex: 1.2;
  position: relative;
  min-height: 360px;
  box-shadow: 0 20px 60px rgba(219,39,119,0.3);
}

.photo-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pink-dark), var(--magenta));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(219,39,119,0.4);
}

.hero-photo-sub {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0.8;
}

.photo-frame-sm {
  flex: 1;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(219,39,119,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   Section Common
   ============================================ */
.section { padding: 96px 0; }

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

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--pink-dark);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--pink); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-desc {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-sub);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.section-dark .section-desc { color: rgba(255,255,255,0.55); }

/* ============================================
   About — インストラクター写真枠
   ============================================ */
.instructors-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.instructor-card {
  text-align: center;
  transition: transform 0.3s;
}
.instructor-card:hover { transform: translateY(-6px); }

.instructor-photo {
  width: 100%;
  aspect-ratio: 3/4;
  margin-bottom: 16px;
}

.instructor-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-dark), var(--magenta));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.instructor-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.instructor-desc {
  font-size: 13px;
  color: var(--text-sub);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--pink); }

.about-card-icon { font-size: 40px; margin-bottom: 14px; }

.about-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--pink-dark);
}

.about-card p { font-size: 13px; color: var(--text-sub); line-height: 1.8; }

/* ============================================
   Classes
   ============================================ */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.class-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.class-card:hover { transform: translateY(-6px); border-color: var(--pink); box-shadow: 0 16px 40px rgba(219,39,119,0.25); }

/* クラスカード写真枠 */
.class-photo-frame {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.class-idol-bg { background: linear-gradient(135deg, #831843 0%, #db2777 100%); }
.class-kpop-bg { background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%); }
.class-kids-bg { background: linear-gradient(135deg, #4a044e 0%, #a21caf 100%); }

.class-photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
}

.class-body { padding: 24px; }

.class-icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.class-emoji { font-size: 22px; }

.class-body h3 { font-size: 20px; font-weight: 800; color: var(--white); }

.class-target { font-size: 12px; color: var(--pink); font-weight: 600; margin-bottom: 12px; }

.class-body > p:not(.class-target) {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 14px;
}

.class-features { list-style: none; display: flex; flex-direction: column; gap: 7px; }

.class-features li {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  padding-left: 18px;
  position: relative;
}
.class-features li::before { content: '✓'; position: absolute; left: 0; color: var(--pink); font-weight: 700; }

.trial-box {
  background: linear-gradient(135deg, rgba(244,114,182,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(244,114,182,0.3);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trial-lead { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.trial-sub { font-size: 14px; color: rgba(255,255,255,0.6); }

/* ============================================
   Gallery
   ============================================ */
.section-gallery-idol {
  padding: 96px 0;
  background: linear-gradient(180deg, #0f0a1e 0%, #1a0a2e 100%);
}

.section-gallery-idol .section-title { color: var(--white); }
.section-gallery-idol .section-desc { color: rgba(255,255,255,0.55); }
.section-gallery-idol .eyebrow { color: var(--pink); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
  padding: 0 24px;
  max-width: 1180px;
  margin: 0 auto 24px;
}

.gallery-big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px dashed rgba(244,114,182,0.35);
  background: rgba(255,255,255,0.04);
}

.photo-frame-gallery {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(219,39,119,0.08), rgba(124,58,237,0.08));
}

.photo-frame-gallery .photo-icon { font-size: 28px; opacity: 0.5; }
.photo-frame-gallery p { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 600; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(219,39,119,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.gallery-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  padding-top: 8px;
}

/* ============================================
   Events
   ============================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.event-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--pink); }

/* イベントカード写真枠 */
.event-photo-frame {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--pink-light), #f3e8ff);
  border-bottom: 1.5px dashed rgba(219,39,119,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.event-body { padding: 28px; text-align: center; }
.event-icon { font-size: 36px; margin-bottom: 12px; }
.event-body h3 { font-size: 18px; font-weight: 800; color: var(--pink-dark); margin-bottom: 10px; }
.event-body p { font-size: 13px; color: var(--text-sub); line-height: 1.8; }

.message-box {
  background: linear-gradient(135deg, #fdf4f8, #f3e8ff);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  border: 1.5px solid var(--gray-200);
}

.message-quote {
  font-size: 72px;
  line-height: 0.5;
  color: var(--pink);
  opacity: 0.25;
  font-family: Georgia, serif;
  margin-bottom: 24px;
}

.message-box blockquote {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto 16px;
}

.message-box cite { font-size: 13px; color: var(--text-sub); font-style: normal; }

/* ============================================
   Location
   ============================================ */
.location-card-single {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.location-header {
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.loc-pink { background: linear-gradient(135deg, #831843, #db2777); }
.loc-emoji { font-size: 32px; }
.location-header h3 { font-size: 20px; font-weight: 800; color: var(--white); }

.location-body { padding: 32px 36px; }

.loc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.loc-info-item { display: flex; flex-direction: column; gap: 6px; }

.loc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pink);
  text-transform: uppercase;
}

.loc-info-item span:last-child { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.loc-info-item a { color: rgba(255,255,255,0.8); }

.map-wrap { border-radius: 12px; overflow: hidden; opacity: 0.85; }

/* ============================================
   Contact
   ============================================ */
.section-contact {
  background: linear-gradient(135deg, #fdf4f8 0%, #f3e8ff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-direct h3,
.contact-form-wrap h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--pink-dark);
  margin-bottom: 20px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.contact-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--pink); opacity: 1; }

.contact-icon { font-size: 28px; }
.contact-btn-label { font-size: 12px; color: var(--text-sub); margin-bottom: 2px; }
.contact-btn-value { font-size: 16px; font-weight: 700; color: var(--text); }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.required {
  background: var(--pink-dark);
  color: var(--white);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--pink); }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--dark); padding: 48px 0 32px; }

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo { display: flex; flex-direction: column; align-items: center; }
.footer-address { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ============================================
   Mobile CTA
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 12px 16px;
  gap: 10px;
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}

.mobile-cta-call { background: var(--white); border: 2px solid var(--pink-dark); color: var(--pink-dark); }
.mobile-cta-form { background: linear-gradient(135deg, var(--pink), var(--pink-dark)); color: var(--white); }

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.modal-icon { font-size: 48px; margin-bottom: 16px; }
.modal-box h3 { font-size: 22px; font-weight: 800; color: var(--pink-dark); margin-bottom: 12px; }
.modal-box p { font-size: 14px; color: var(--text-sub); margin-bottom: 24px; line-height: 1.8; }

/* ============================================
   写真画像 共通スタイル
   ============================================ */
.frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* 写真が入ったフレーム：ダッシュ枠・背景を消す */
.photo-frame.has-photo,
.photo-frame-pink.has-photo {
  border: none;
  background: none;
}

.event-photo-frame.has-photo {
  background: none;
  border-bottom: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photos { display: none; }
  .hero-content { max-width: 100%; }
  .about-cards { grid-template-columns: repeat(2, 1fr); }
  .instructors-row { grid-template-columns: repeat(3, 1fr); }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-pc { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .instructors-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .about-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .classes-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .trial-box { flex-direction: column; text-align: center; padding: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .loc-info-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-big { grid-column: span 2; grid-row: span 1; }
  .gallery-tall { grid-row: span 1; }
  .btn-primary-sm { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
  .message-box { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .instructors-row { grid-template-columns: 1fr; max-width: 240px; margin-left: auto; margin-right: auto; }
  .about-cards { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .btn-hero-primary, .btn-outline-light { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 12px; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
}
