/* ===== p-hero ===== */
.p-hero {
  position: relative;
  padding: 24px 20px 40px;

  & .p-hero__deco-star--top-right {
    position: absolute;
    top: 20px;
    right: 30px;
    transform: rotate(15deg);
  }

  & .p-hero__deco-star--mid-left {
    position: absolute;
    top: 80px;
    left: 18px;
  }

  & .p-hero__deco-leaf {
    position: absolute;
    top: 140px;
    right: 50px;
  }
}

.p-hero__copy {
  position: relative;
  margin-top: 28px;
}

.p-hero__welcome {
  font-family: var(--font-en);
  font-size: 28px;
  color: var(--accent);
  transform: rotate(-2deg);
  display: inline-block;
}

.p-hero__heading {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.3;
  margin: 6px 0 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.p-hero__heading-mark {
  position: relative;
  display: inline-block;

  & svg {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 12px;
  }
}

.p-hero__lead {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--accent-sub);

  & strong { color: var(--accent); }
}

.p-hero__cta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;

  & .c-btn { flex: 1; min-width: 140px; }
}

/* ===== p-about ===== */
.p-about {
  padding: 50px 20px;
  background: var(--surface);
  margin: 40px 0;
  position: relative;

  & .p-about__deco-star--tl {
    position: absolute;
    top: 20px;
    left: 20px;
    transform: rotate(-15deg);
  }

  & .p-about__deco-star--tr {
    position: absolute;
    top: 40px;
    right: 25px;
  }
}

.p-about__title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--ink);
  text-align: center;
}

.p-about__lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--accent-sub);
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.p-about__points {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

/* ===== p-classes ===== */
.p-classes {
  padding: 50px 20px;

  & .p-classes__list {
    display: grid;
    gap: 16px;
  }
}

/* ===== p-newclass ===== */
.p-newclass {
  padding: 50px 20px;
  position: relative;

  & .p-newclass__deco {
    position: absolute;
    top: 24px;
    right: 28px;
    transform: rotate(10deg);
  }
}

.p-newclass__header {
  text-align: center;
  margin-bottom: 28px;
}

.p-newclass__label {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--accent);
  transform: rotate(-2deg);
  display: inline-block;
}

.p-newclass__heading {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 2px 0 0;
  color: var(--ink);
  line-height: 1.1;
}

.p-newclass__rule {
  margin: 10px auto 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.p-newclass__cards {
  display: grid;
  gap: 24px;
}

/* ===== p-schedule ===== */
.p-schedule {
  padding: 50px 20px;
  background: var(--ink);
  color: var(--bg);
  margin: 40px 0;
  position: relative;
}

.p-schedule__header {
  text-align: center;
  margin-bottom: 24px;

  & .p-schedule__en {
    font-family: var(--font-en);
    font-size: 24px;
    color: var(--accent-gold);
    transform: rotate(-2deg);
    display: inline-block;
  }

  & .p-schedule__ja {
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 900;
    margin: 4px 0 0;
  }
}

.p-schedule__panels {
  display: grid;
  gap: 12px;
}

.p-schedule__panel {
  display: none;

  &.is-active { display: grid; gap: 12px; }
}

.p-schedule__note {
  margin-top: 18px;
  font-size: 11px;
  text-align: center;
  opacity: 0.6;
}

/* ===== p-pricing ===== */
.p-pricing {
  padding: 50px 20px;

  & .p-pricing__lead {
    font-size: 13px;
    text-align: center;
    color: var(--accent-sub);
    margin: 0 0 24px;
  }

  & .p-pricing__list {
    display: grid;
    gap: 14px;
  }
}

/* ===== p-access ===== */
.p-access {
  padding: 50px 20px;
  background: var(--surface);
  margin: 40px 0;
}

/* ===== p-contact ===== */
.p-contact {
  padding: 50px 20px;

  & .p-contact__lead {
    font-size: 13px;
    text-align: center;
    color: var(--accent-sub);
    margin: 0 0 24px;
  }

  & .p-contact__submit {
    margin-top: 8px;
    width: 100%;
  }

  & .p-contact__success {
    text-align: center;
    padding: 40px 20px;
    background: color-mix(in srgb, var(--accent) 6%, transparent);
    border: 1.5px solid var(--accent);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 2;
    color: var(--ink);
  }
}

/* スケジュールセクションの波線（margin上書き不要 — .c-scribble のデフォルトで対応） */
.p-schedule .c-scribble {
  margin: 8px auto 0;
}
