/* ============================================
   Sunny Kids English（サンプル）
   カジュアル：まるゴシック＋スカイブルー×サンオレンジ（参考サイトの色は使わない）
   ============================================ */
:root {
  --ink: #1e2a4a;
  --paper: #fffaf3;
  --paper-deep: #fff0dc;
  --accent: #ff7a45;
  --accent-soft: #ffe4d4;
  --mark: #ffd0b5;
  --sky: #3d8bfd;
  --muted: #3f4a68;
  --muted-2: #5c6688;
  --row: #e8dcc8;
  --white: #ffffff;
  --line: rgba(30, 42, 74, 0.12);
  --shadow: 0 10px 28px rgba(30, 42, 74, 0.10);
  --radius: 18px;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", Meiryo, sans-serif;
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 15.5px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { max-width: 1024px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 720px; }

.sample-bar {
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--maru);
  font-size: 15px;
  font-weight: 700;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 18px;
  transform: rotate(-3deg);
}
.brand-name small {
  font-size: 10px;
  color: var(--muted);
  margin-left: 6px;
  font-family: var(--sans);
  font-weight: 500;
}
.global-nav { margin-left: auto; }
.global-nav ul { display: flex; gap: 20px; list-style: none; }
.global-nav a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
}
.global-nav a:hover { opacity: 0.7; }
.header-cta {
  background: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(30, 42, 74, 0.14); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); transition: 0.25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}
.hero-lead {
  font-family: var(--maru);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.5;
}
.marker {
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  padding: 0 2px;
}
.hero-sub { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.hero-btns { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn-line { background: var(--white); box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(30, 42, 74, 0.14); }
.hero-badges { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.badge-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px 16px;
  text-align: center;
  transform: rotate(-1.2deg);
}
.badge-card:nth-child(2) { transform: rotate(1.4deg); }
.badge-card:nth-child(3) { transform: rotate(-0.8deg); }
.badge-card strong { display: block; font-size: 17px; line-height: 1.3; }
.badge-card span { font-size: 11px; color: var(--muted); }
.badge-accent { background: var(--accent); color: #fff; }
.badge-accent span { color: rgba(255,255,255,0.9); }

.hero-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.photo-frame { position: relative; display: block; }
.photo-note {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  background: rgba(10, 8, 6, 0.62);
  color: #fff;
  font-size: 9.5px;
  line-height: 1.3;
  padding: 3px 7px;
  border-radius: 3px;
  max-width: calc(100% - 12px);
  text-align: right;
  pointer-events: none;
}

.section { padding: 68px 0; }
.section-alt {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.label-pill {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--maru);
  font-size: clamp(21px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: center;
}
.section-title.left { text-align: left; }
.section-lead {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 auto 34px;
  max-width: 36em;
  text-align: center;
  line-height: 1.85;
}
.section > .container:not(.teacher-grid) > .label-pill {
  display: block;
  width: fit-content;
  margin: 0 auto 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--maru);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature h3 { font-size: 15.5px; margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--muted); }

.scene-photo {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.scene-photo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: start;
  margin-top: 30px;
}
.price-hero {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
}
.price-label { font-size: 13px; opacity: 0.85; }
.price-big {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
  margin: 8px 0 12px;
}
.price-big span { font-size: 22px; }
.price-note { font-size: 13px; opacity: 0.9; line-height: 1.7; }
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 14px;
}
.price-table th, .price-table td { padding: 13px 16px; text-align: left; }
.price-table thead th {
  background: var(--accent);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.price-table tbody tr + tr td { border-top: 1px solid var(--row); }
.price-policy {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.price-policy h3 { font-size: 15px; margin-bottom: 10px; }
.price-policy ul { list-style: none; }
.price-policy li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 13.5px;
  color: var(--muted);
  border-bottom: 1px dashed var(--row);
}
.price-policy li::before { content: "・"; position: absolute; left: 0; font-weight: 700; }

.teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.teacher-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.teacher-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.teacher-sub { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.teacher-text p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.teacher-msg {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  margin-top: 30px;
}
.flow-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px 20px;
}
.step-num {
  position: absolute;
  top: -14px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
}
.flow-step h3 { font-size: 15px; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--muted); }

.faq-list { display: grid; gap: 12px; margin-top: 30px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-weight: 700;
  font-size: 14.5px;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 20px 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.trial-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
  max-width: 720px;
  width: 100%;
  margin: 30px auto 0;
  text-align: left;
}
.form-title { font-family: var(--maru); font-size: 18px; font-weight: 700; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 6px 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: block; font-size: 13px; font-weight: 700; }
.form-grid .wide { grid-column: 1 / -1; }
.req {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 1px;
}
.form-grid input, .form-grid select, .form-grid textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--sans);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--line);
}
.btn-submit { margin-top: 22px; cursor: pointer; font-family: var(--sans); font-size: 14.5px; }
.form-result { margin-top: 14px; font-size: 12.5px; color: #d95a28; font-weight: 700; }

.shop-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  margin-top: 30px;
  align-items: start;
}
.shop-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 14px;
}
.shop-table th, .shop-table td { padding: 12px 16px; text-align: left; }
.shop-table th { width: 96px; background: var(--accent-soft); font-size: 13px; }
.shop-table tr + tr th, .shop-table tr + tr td { border-top: 1px solid var(--row); }
.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  background: repeating-linear-gradient(45deg, #fff0dc, #fff0dc 12px, #f0e0c4 12px, #f0e0c4 24px);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer {
  background: var(--ink);
  color: #f4eedf;
  text-align: center;
  padding: 40px 20px 90px;
}
.footer-brand {
  font-family: var(--maru);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer-note { font-size: 11.5px; color: #9aa3bd; margin-top: 10px; }
.copyright { font-size: 11px; color: #7e88a8; margin-top: 14px; }

.sticky-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 90;
  background: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 13px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}

.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid, .teacher-grid, .price-grid { grid-template-columns: 1fr; }
  .feature-grid, .flow-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 10px 20px 18px;
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; gap: 4px; }
  .global-nav a { display: block; padding: 10px 4px; font-size: 15px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .header-inner { position: relative; }
  .brand { font-size: 13px; }
  .brand-name small { display: block; margin-left: 0; }
  .feature-grid, .flow-grid { grid-template-columns: 1fr; }
  .flow-grid { gap: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .sticky-cta { display: block; }
}
