:root {
  --bg: #fffdfd;
  --text: #1e1e1e;
  --subtext: #555;
  --line: #e7dede;
  --main: #111111;
  --accent: #ef8fb7;
  --accent-dark: #db6d9c;
  --soft-pink: #fff3f8;
  --soft-blue: #eef8ff;
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--text);
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(255,255,255,0.96)),
    radial-gradient(circle at top left, #ffeaf3 0%, transparent 30%),
    radial-gradient(circle at top right, #e8f6ff 0%, transparent 28%);
  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.soft-bg {
  background: linear-gradient(180deg, #fff8fb 0%, #f8fcff 100%);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  text-transform: uppercase;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.3;
}

.section-note {
  margin: 12px 0 0;
  color: var(--subtext);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-ja {
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-en {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--subtext);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: 0.95rem;
  color: #222;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #111;
  margin: 6px auto;
  transition: 0.3s;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(255,255,255,0.18), rgba(255,255,255,0.45)),
    url("https://images.unsplash.com/photo-1522383225653-ed111181a951?auto=format&fit=crop&w=1400&q=80")
    center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 205, 225, 0.55), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(192, 233, 255, 0.42), transparent 26%),
    linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(255,255,255,0.62));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  padding: 80px 0;
}

.hero-lead {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(239, 143, 183, 0.35);
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.35;
  font-weight: 800;
}

.hero-catch {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.2;
  font-weight: 800;
}

.hero-text {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: 1.05rem;
  color: #333;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(239, 143, 183, 0.28);
}

.btn-secondary {
  background: rgba(255,255,255,0.88);
  color: #222;
  border: 1px solid rgba(0,0,0,0.08);
}

.btn.full {
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  padding: 34px 28px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-card-logo {
  width: 120px;
  margin: 0 auto 16px;
}

.hero-card-sub {
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.hero-card-info {
  margin: 0;
  color: var(--subtext);
}

.about-grid,
.course-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card,
.course-card,
.contact-card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3,
.course-card h3,
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.feature-list {
  display: grid;
  gap: 24px;
}

.feature-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: start;
  background: rgba(255,255,255,0.9);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd7e8, #ffc1db);
  color: #8c3559;
  font-size: 1.5rem;
  font-weight: 800;
}

.feature-body h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.feature-lead {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-weight: 700;
}

.course-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.course-tag.elementary {
  background: #e8f9df;
  color: #5f8a26;
}

.course-tag.junior {
  background: #e3f4ff;
  color: #2c7aa8;
}

.course-tag.high {
  background: #ffe4e4;
  color: #b33737;
}

.schedule-wrap {
  background: rgba(255,255,255,0.85);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
}

.schedule-image {
  width: 100%;
  border-radius: 18px;
}

.message-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, #fff7fb, #f2fbff);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.message-box h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.message-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.message-visual img {
  max-width: 280px;
  opacity: 0.95;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-note,
.small-text {
  color: var(--subtext);
}

.contact-actions {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.footer {
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.8);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.to-top {
  color: var(--accent-dark);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-inner,
  .message-box,
  .about-grid,
  .course-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 60px 0;
  }

  .hero-card {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-number {
    width: 74px;
    height: 74px;
  }

  .section {
    padding: 74px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-catch {
    font-size: 2.4rem;
  }

  .hero-text {
    font-size: 1rem;
  }
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.sns-btn {
  padding: 14px 24px;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
}

.sns-btn:hover {
  transform: translateY(-3px);
}

/* Instagram */
.insta {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

/* Facebook */
.fb {
  background: #1877f2;
}
