/* ============================================
   REMI DANCE SCHOOL デモサイト
   ============================================ */

:root {
  --pink: #f472b6;
  --pink-light: #fce7f3;
  --pink-dark: #db2777;
  --gold: #d97706;
  --gold-light: #fef3c7;
  --navy: #1e1b4b;
  --text: #1f2937;
  --text-sub: #6b7280;
  --white: #ffffff;
  --gray-50: #fdf4f8;
  --gray-100: #fce7f3;
  --gray-200: #fbcfe8;
  --shadow-sm: 0 1px 4px rgba(244, 114, 182, 0.1);
  --shadow-md: 0 4px 20px rgba(244, 114, 182, 0.15);
  --shadow-lg: 0 12px 40px rgba(244, 114, 182, 0.2);
  --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;
}

/* ============================================
   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-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--pink-dark);
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

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

.nav-pc {
  display: flex;
  gap: 24px;
  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);
  border-radius: 2px;
  transition: width 0.3s;
}

.nav-pc a:hover::after { width: 100%; }

.btn-primary-sm {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  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);
}

.btn-primary-sm:hover { opacity: 1; box-shadow: 0 6px 20px rgba(219, 39, 119, 0.4); }

.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%, #7c3aed 100%);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: ticker 22s 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) 0%, var(--pink-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(219, 39, 119, 0.45);
  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);
  border-color: var(--white);
  opacity: 1;
}

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

.btn-hero-primary {
  background: linear-gradient(135deg, #fde68a 0%, var(--pink) 60%, var(--pink-dark) 100%);
  color: var(--navy);
  font-size: 17px;
  padding: 18px 40px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 32px rgba(219,39,119,0.45);
  transition: all 0.25s;
}

.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, #7c3aed 0%, #db2777 50%, #1e1b4b 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(219, 39, 119, 0.82) 0%,
    rgba(139, 92, 246, 0.75) 50%,
    rgba(30, 27, 75, 0.85) 100%
  );
}

.hero-inner { position: relative; z-index: 2; }

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

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

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hl {
  color: #fde68a;
  text-shadow: 0 0 40px rgba(253, 230, 138, 0.5);
}

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

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

.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  width: fit-content;
}

.stat { text-align: center; }
.stat strong { display: block; font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 800; }
.stat span { font-size: 12px; opacity: 0.85; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.3); }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   Sections
   ============================================ */
.section { padding: 120px 0; }
.section-pink { background: var(--gray-50); }

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

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

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-grid-single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.about-deco-card {
  position: absolute;
  top: 32px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.deco-num {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--pink-dark);
  line-height: 1;
}

.deco-label {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 600;
  white-space: nowrap;
}

.about-text { padding-right: 16px; }

.instructor-name {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}

.instructor-name span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.about-text p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-text strong { color: var(--text); }

.profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.profile-tags span {
  background: var(--pink-light);
  color: var(--pink-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

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

.class-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-light);
}

/* クラスカード：写真付きに刷新 */
.class-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: none;
  padding: 0;
  transition: all 0.3s;
}

.class-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.class-photo {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.class-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.class-card:hover .class-photo img { transform: scale(1.05); }

.class-photo-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(219,39,119,0.4);
}

.class-body {
  padding: 24px 24px 28px;
}

.class-cheer .class-body { border-top: 4px solid var(--pink); }
.class-idol  .class-body { border-top: 4px solid var(--gold); }
.class-baton .class-body { border-top: 4px solid #7c3aed; }

.class-icon { font-size: 32px; margin-bottom: 8px; }

.class-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.class-target {
  font-size: 12px;
  color: var(--pink-dark);
  font-weight: 700;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: var(--pink-light);
  border-radius: 999px;
  display: inline-block;
}

.class-body > p:not(.class-target) {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

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

.class-features li {
  font-size: 13px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.class-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

.trial-box {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--gold-light) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.trial-lead { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.trial-lead strong { color: var(--pink-dark); }
.trial-sub { font-size: 13px; color: var(--text-sub); }

/* ============================================
   Gallery
   ============================================ */
.section-gallery { padding: 80px 0; background: var(--navy); }
.section-gallery .section-head { margin-bottom: 48px; }
.section-gallery .eyebrow { color: var(--pink); }
.section-gallery .section-title { color: var(--white); }
.section-gallery .section-desc { color: rgba(255,255,255,0.7); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 4px;
  margin-bottom: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(219,39,119,0.7) 100%);
  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;
}

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

/* ============================================
   Locations
   ============================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  margin: -36px -28px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.location-h1 { background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%); }
.location-h2 { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.location-h3 { background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%); }

.location-num {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  line-height: 1;
}

.location-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0;
}

.location-place {
  font-size: 13px;
  color: var(--pink-dark);
  margin-bottom: 20px;
  font-weight: 600;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.schedule-table tr { border-bottom: 1px solid var(--gray-100); }
.schedule-table tr:last-child { border-bottom: none; }

.schedule-table th, .schedule-table td {
  padding: 10px 0;
  font-size: 13px;
  vertical-align: top;
  line-height: 1.6;
}

.schedule-table th {
  color: var(--text-sub);
  width: 52%;
  font-weight: 600;
}

.schedule-table td {
  color: var(--text);
  font-weight: 600;
}

.location-note {
  font-size: 12px;
  color: var(--text-sub);
  background: var(--gray-50);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--pink);
}

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

/* イベントカード：写真付きに刷新 */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.event-photo {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-photo img { transform: scale(1.05); }

.event-body {
  padding: 24px 24px 28px;
  text-align: center;
}

.event-icon { font-size: 36px; margin-bottom: 10px; }

.event-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.event-card p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.85;
}

.message-box {
  position: relative;
  background: linear-gradient(135deg, var(--pink-dark) 0%, #7c3aed 100%);
  border-radius: var(--radius-xl);
  padding: 60px 52px;
  text-align: center;
  color: var(--white);
  margin-top: 48px;
  overflow: hidden;
}

.message-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.message-box::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.message-inner { position: relative; z-index: 1; }

.message-quote {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  line-height: 0.6;
  color: rgba(255,255,255,0.2);
  margin-bottom: 16px;
  display: block;
}

.message-box blockquote {
  font-size: clamp(16px, 2.5vw, 21px);
  font-weight: 500;
  line-height: 2;
  font-style: italic;
  margin-bottom: 20px;
}

.message-box cite {
  font-size: 14px;
  font-style: normal;
  opacity: 0.75;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ============================================
   Contact
   ============================================ */
.section-contact {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  padding: 120px 0;
}

.contact-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-desc {
  color: var(--text-sub);
  font-size: 16px;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-line, .contact-instagram {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: left;
  transition: all 0.3s;
}

.contact-line {
  background: #06C755;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.35);
}

.contact-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.45);
  opacity: 1;
}

.contact-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(221, 42, 123, 0.35);
}

.contact-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(221, 42, 123, 0.45);
  opacity: 1;
}

.line-text, .ig-text { flex: 1; }
.line-text strong, .ig-text strong { display: block; font-size: 16px; margin-bottom: 2px; }
.line-text span, .ig-text span { font-size: 12px; opacity: 0.85; }
.ig-icon { font-size: 32px; }
.line-arrow, .ig-arrow { font-size: 18px; opacity: 0.8; }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  text-align: left;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.req {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  margin-top: 8px;
  background: var(--white);
  transition: border-color 0.2s;
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
}

.contact-form textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 12px;
}

/* ============================================
   Modal
   ============================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 75, 0.5);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active { display: flex; }

.modal-box {
  background: var(--white);
  padding: 48px 36px;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.modal-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.modal-box p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.modal-box .btn { width: 100%; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.footer-sns a {
  font-size: 13px;
  color: var(--pink);
  font-weight: 600;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-links p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}

.copyright small {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   Sticky Mobile CTA
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 12px;
  gap: 8px;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(244, 114, 182, 0.12);
}

.sticky-trial {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
}

.sticky-ig {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  background: var(--pink-light);
  color: var(--pink-dark);
}

/* ============================================
   ロゴ画像
   ============================================ */
.logo-img {
  height: 44px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================
   Responsive — タブレット (〜1024px)
   ============================================ */
@media (max-width: 1024px) {
  .classes-grid { grid-template-columns: 1fr 1fr; }
  .locations-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================
   Responsive — スマホ (〜768px)
   ============================================ */
@media (max-width: 768px) {
  /* ---- Header ---- */
  .nav-pc, .btn-primary-sm { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 60px; gap: 12px; }
  .logo-img { height: 36px; }
  .logo-text { font-size: 17px; }

  /* ---- Section ---- */
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: 26px; }
  .section-desc { font-size: 14px; }

  /* ---- Hero ---- */
  .hero {
    min-height: 100svh;
    padding: 90px 0 100px;
  }
  .hero-title { font-size: 32px; letter-spacing: -0.01em; }
  .hero-desc { font-size: 14px; margin-bottom: 28px; }
  .hero-tag { font-size: 11px; padding: 5px 14px; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 32px;
  }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 16px 24px; font-size: 15px; }
  .hero-stats {
    width: 100%;
    padding: 16px 20px;
    gap: 0;
    justify-content: space-around;
  }
  .stat strong { font-size: 18px; }
  .stat span { font-size: 11px; }
  .stat-divider { width: 1px; height: 32px; }
  .hero-scroll { display: none; }

  /* ---- About ---- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-text { padding-right: 0; }
  .about-img-wrap {
    aspect-ratio: 3/2;
    border-radius: var(--radius-lg);
  }
  .about-badge { font-size: 11px; padding: 8px 16px; white-space: normal; text-align: center; }
  .instructor-name { font-size: 22px; }
  .profile-tags { gap: 6px; }
  .profile-tags span { font-size: 12px; padding: 5px 12px; }

  /* ---- Classes ---- */
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .class-body { padding: 20px 20px 24px; }
  .class-icon { font-size: 28px; }
  .class-card h3 { font-size: 18px; }
  .trial-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }
  .trial-lead { font-size: 15px; }

  /* ---- Locations ---- */
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .location-card { padding: 24px 20px; }
  .location-num { font-size: 28px; }
  .location-card h3 { font-size: 17px; }

  /* ---- Gallery ---- */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }
  .gallery-big { grid-column: span 2; aspect-ratio: 16/9; }
  .gallery-tall { grid-row: span 1; aspect-ratio: 1; }

  /* ---- Events ---- */
  .events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .event-body { padding: 20px 20px 24px; }
  .event-icon { font-size: 32px; }
  .message-box {
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    margin-top: 32px;
  }
  .message-quote { font-size: 56px; }
  .message-box blockquote { font-size: 15px; line-height: 1.9; }

  /* ---- Contact ---- */
  .contact-title { font-size: 24px; }
  .contact-desc { font-size: 14px; }
  .contact-methods {
    flex-direction: column;
    gap: 12px;
  }
  .contact-line, .contact-instagram {
    padding: 16px 20px;
    gap: 12px;
  }
  .line-text strong, .ig-text strong { font-size: 14px; }
  .contact-form {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }
  .form-title { font-size: 17px; margin-bottom: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* iOS zoom防止 */
    padding: 13px 14px;
  }

  /* ---- Footer ---- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }

  /* ---- Sticky CTA ---- */
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}

/* ============================================
   Responsive — 極小スマホ (〜390px)
   ============================================ */
@media (max-width: 390px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 27px; }
  .hero-stats { gap: 0; justify-content: space-between; }
  .stat strong { font-size: 16px; }
  .section-title { font-size: 23px; }
  .sticky-trial { font-size: 13px; }
}
