/* =========================================================
   オンラインレッスン ランディングページ
   simple static stylesheet (no build step)
   ========================================================= */

:root {
  --bg: #fbf9f5;
  --surface: #ffffff;
  --text: #2b2a28;
  --muted: #6f6a63;
  --border: #e7e1d7;
  --accent: #1f7a6b;
  --accent-dark: #166053;
  --accent-soft: #e8f3f0;
  --sand: #f4efe7;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(43, 42, 40, 0.04), 0 8px 24px rgba(43, 42, 40, 0.06);
  --maxw: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", Meiryo, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------------- Hero ---------------- */

.hero {
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
  padding: 72px 0 64px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--accent);
}

.hero__title {
  margin: 0;
  font-size: clamp(1.6rem, 5.2vw, 2.5rem);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero__lead {
  margin: 22px auto 0;
  max-width: 40em;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
}

.hero__actions {
  margin: 30px 0 0;
}

/* ---------------- Sections ---------------- */

.section {
  padding: 64px 0;
}

.section--tint {
  background: var(--sand);
}

.section__title {
  margin: 0 0 28px;
  font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.section__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--accent);
}

.section__lead {
  margin: -12px 0 26px;
  text-align: center;
  color: var(--muted);
}

/* ---------------- Plans ---------------- */

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

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.plan--private {
  border-color: #cfe3de;
}

.plan__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.plan__name {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.plan__desc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.plan__amount {
  font-size: clamp(1.9rem, 6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent-dark);
  letter-spacing: 0.01em;
}

.plan__yen {
  font-size: 1.1rem;
  margin-left: 2px;
}

.plan__tax {
  font-size: 0.8rem;
  color: var(--muted);
}

/* spec list */

.spec {
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.spec__row dt {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.spec__row dd {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
}

.plan__cta {
  margin-top: auto;
}

.note {
  margin: 26px 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------------- Card / ticket ---------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.card--center {
  text-align: center;
}

.ticket__lead {
  margin: 0;
  font-size: clamp(1.1rem, 3.4vw, 1.35rem);
  font-weight: 700;
  color: var(--accent-dark);
}

.ticket__text {
  margin: 10px 0 0;
  color: var(--muted);
}

/* ---------------- Apply ---------------- */

.apply {
  display: grid;
  gap: 14px;
  max-width: 460px;
  margin-inline: auto;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--outline {
  background: var(--surface);
  color: var(--accent-dark);
  border-color: #bcd9d3;
}

.btn--outline:hover {
  background: var(--accent-soft);
}

.btn--wide {
  width: 100%;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid #9ec9c0;
  outline-offset: 2px;
}

/* ---------------- FAQ ---------------- */

.faq {
  margin: 0;
  display: grid;
  gap: 14px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.faq__q {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.faq__label {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.faq__a {
  margin: 10px 0 0 38px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------------- Footer ---------------- */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.footer__brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------------- Responsive ---------------- */

@media (min-width: 760px) {
  .hero {
    padding: 96px 0 80px;
  }

  .section {
    padding: 80px 0;
  }

  .plans {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .plan {
    padding: 34px 30px;
  }

  .card {
    padding: 40px 32px;
  }
}

@media (max-width: 480px) {
  .br-sp {
    display: none;
  }

  body {
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
