.price-page {
  --price-ink: #293a40;
  --price-muted: #505f63;
  --price-accent: #746047;
  --price-line: #ddd6ca;
  --price-paper: #f5f2ec;
  --price-sage: #eaf0e8;
  --price-serif: "Noto Serif JP", "Noto Serif CJK JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --price-sans: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--price-ink);
  font: 1rem/1.8 var(--price-sans);
}

.price-wrap {
  width: min(64rem, calc(100% - clamp(2.25rem, 10vw, 8rem)));
  margin-inline: auto;
}

.price-page h1, .price-page h2, .price-page h3, .price-table caption {
  margin: 0;
  font-family: var(--price-serif);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}

.price-page h2 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.price-page h3, .price-table caption { font-size: clamp(1.12rem, 1.65vw, 1.28rem); }

.price-intro {
  padding: clamp(2.25rem, 4.5vw, 3.55rem) 0;
  background: var(--price-paper);
  text-align: center;
}

.price-intro h1 {
  margin-block: .45rem .35rem;
  font-size: clamp(1.85rem, 3.1vw, 2.4rem);
  letter-spacing: .06em;
}

.price-eyebrow {
  color: var(--price-accent);
  font-size: .875rem;
  letter-spacing: .09em;
}

.price-keep { white-space: nowrap; }

.price-eyebrow[lang="en"] { letter-spacing: .18em; text-transform: uppercase; }
.price-store { font-family: var(--price-serif); }
.price-lead { margin-top: .8rem; color: var(--price-muted); text-wrap: pretty; }
.price-section { margin-top: clamp(2.6rem, 7vw, 5rem); }
.price-section:last-child { margin-bottom: clamp(3.25rem, 7vw, 5rem); }

.price-campaign {
  margin-top: clamp(1.75rem, 4.75vw, 3.65rem);
  padding: clamp(1.1rem, 3.8vw, 2.5rem);
  border: 1px solid var(--price-line);
  border-radius: .5rem;
  background: #faf8f4;
}

.price-campaign > .price-eyebrow, .price-campaign > h2, .price-section:not(.price-campaign) > h2 {
  text-align: center;
}

.price-campaign > h2 { margin: .35rem 0 1.45rem; }
.price-offers, .price-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 2.4vw, 1.5rem);
}

.price-offer {
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border: 1px solid var(--price-line);
  border-radius: .35rem;
  background: #fff;
}

.price-regular, .price-detail, .price-note {
  color: var(--price-muted);
  font-size: .9rem;
}

.price-regular { margin-top: .8rem; }
.price-amount { margin-bottom: .55rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.price-amount strong { font-size: clamp(1.625rem, 2.7vw, 2rem); font-weight: 600; }
.price-amount span { margin-left: .18em; }
.price-amount small, .price-note { font-size: .875rem; }
.price-note { margin-top: .35rem; }
.price-actions { display: flex; justify-content: center; margin-top: 1.25rem; }

.price-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  min-height: 2.9rem;
  padding: .55rem 1rem;
  border: 1px solid #87988b;
  border-radius: .3rem;
  background: #fff;
  color: #2c4639;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.price-button--primary { background: #c7d4bd; border-color: #a5b89f; }
.price-button:hover { background: #e5ece0; text-decoration: underline; text-underline-offset: .2em; }

.price-consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid #d7e1d4;
  border-radius: .35rem;
  background: var(--price-sage);
}

.price-consult-time { margin-top: .35rem; margin-bottom: .35rem; font-weight: 600; }
.price-consult .price-button { flex: 0 0 auto; }
.price-tone-50 {
  --course-accent: #8b562e;
  --course-fill: #97673e;
  --course-border: #d4ac88;
  --course-tint: #fcf8f3;
}

.price-tone-70 {
  --course-accent: #9d4551;
  --course-fill: #a7515c;
  --course-border: #dc9ca5;
  --course-tint: #fff7f8;
}

.price-course, .price-monthly { scroll-margin-top: 6rem; }
.price-course-grid, .price-steps { margin-top: 1.3rem; }

.price-course-card {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--course-border);
  border-radius: .6rem;
  background: #fff;
}

.price-course-card h3 {
  display: flex;
  align-items: center;
  gap: .95rem;
  color: var(--course-accent);
  letter-spacing: .05em;
}

.price-course-duration {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: clamp(3.6rem, 6.25vw, 4.65rem);
  aspect-ratio: 1;
  align-content: center;
  flex-wrap: wrap;
  border-radius: 50%;
  background: var(--course-fill);
  color: #fff;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.price-course-duration small { font-size: .52em; }
.price-course-points {
  display: grid;
  gap: .65rem;
  margin-top: 1.15rem;
  font: 1rem/1.7 var(--price-serif);
}

.price-course-points li {
  display: grid;
  grid-template-columns: 1.45rem minmax(0, 1fr);
  align-items: start;
  gap: .55rem;
}

.price-course-points li::before {
  display: grid;
  justify-items: center;
  align-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: .1em;
  border: 1px solid var(--course-border);
  border-radius: 50%;
  color: var(--course-accent);
  font: 500 .875rem/1 var(--price-sans);
  content: "✓" / "";
}

.price-monthly { margin-top: clamp(2.4rem, 5vw, 3.5rem); }
.price-plan-group { margin-top: 1.05rem; }
.price-plan-group + .price-plan-group { margin-top: 1.75rem; }

.price-plan-heading {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 2vw, 1.25rem);
  color: var(--course-accent);
}

.price-plan-heading::before, .price-plan-heading::after {
  flex: 1;
  border-top: 1px solid var(--course-border);
  content: "";
}

.price-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 2vw, 1.35rem);
  margin-top: 1.05rem;
}

.price-plan {
  position: relative;
  padding: 1.05rem clamp(.4rem, 2vw, 1.5rem) 1.15rem;
  border: 1px solid var(--course-border);
  border-radius: .5rem;
  background: #fff;
  font-family: var(--price-serif);
  text-align: center;
}

.price-plan--recommended { background: var(--course-tint); }

.price-plan-frequency {
  margin: 0 0 .65rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--price-line);
  font-size: 1.125rem;
  font-weight: 500;
}

.price-plan-label {
  position: absolute;
  inset: 0 auto auto 50%;
  padding: .15rem .85rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--course-fill);
  color: #fff;
  font: 600 .8125rem/1.45 var(--price-sans);
  white-space: nowrap;
}

.price-monthly-amount {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.price-plan--recommended .price-monthly-amount { color: var(--course-accent); }
.price-monthly-amount span { margin-left: .13em; font-size: .62em; }
.price-plan-tax { display: block; color: var(--price-muted); font-size: .875rem; }
.price-per-session { margin-top: .25rem; color: var(--price-ink); font-size: .9375rem; }
.price-dropin dd { font-size: .9375rem; }

.price-dropin, .price-payment {
  margin-top: 1.1rem;
  padding: .8rem clamp(.8rem, 2vw, 1.25rem);
  border-bottom: 1px solid var(--price-line);
}

.price-dropin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  background: #faf9f6;
}

.price-dropin dt { font-weight: 600; }
.price-dropin dt span { margin-left: .45rem; color: var(--price-muted); font-size: .9375rem; font-weight: 400; }
.price-dropin dd { white-space: nowrap; }
.price-dropin strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price-payment h3 { font-size: 1.05rem; }
.price-payment p { margin-top: .35rem; color: var(--price-muted); font-size: .9375rem; }

.price-steps {
  max-width: 49rem;
  margin-inline: auto;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  counter-reset: trial-step;
}

.price-steps li {
  display: grid;
  grid-template-columns: clamp(4.5rem, 15vw, 7.5rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.35rem);
  padding: .85rem 0;
  border-top: 1px solid var(--price-line);
  counter-increment: trial-step;
}

.price-steps li:last-child { border-bottom: 1px solid var(--price-line); }
.price-steps img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: .2rem; object-fit: cover; }
.price-steps h3 { font-size: 1.08rem; }
.price-steps h3::before {
  margin-right: .55rem;
  color: var(--price-accent);
  content: counter(trial-step, decimal-leading-zero);
  font: 500 .875rem var(--price-sans);
}
.price-steps p { margin-top: .25rem; color: var(--price-muted); font-size: .9375rem; }

@media (max-width: 700px) {
  .price-offers, .price-course-grid { grid-template-columns: minmax(0, 1fr); }
  .price-consult { flex-direction: column; align-items: stretch; }
  .price-actions > .price-button { width: 100%; }
  .price-dropin dt span { display: block; margin-left: 0; }
}

@media (max-width: 600px) {
  header .omiya-logo { width: clamp(6.25rem, 40vw, 9.625rem); }
  #hamburger { flex: 0 0 44px; }
}

@media (max-width: 560px) {
  .price-course-card h3 { gap: .75rem; }
  .price-plan-grid { grid-template-columns: minmax(0, 1fr); margin-top: .65rem; }
  .price-plan {
    display: grid;
    grid-template-columns: 5.7rem minmax(0, 1fr);
    align-items: center;
    padding: .7rem .85rem;
  }
  .price-plan-frequency {
    display: grid;
    justify-items: start;
    justify-self: stretch;
    gap: .25rem;
    margin: 0;
    padding: 0 .5rem 0 0;
    border: 0;
    text-align: left;
  }
  .price-plan-label {
    position: static;
    padding-inline: .55rem;
    transform: none;
  }
  .price-plan-cost {
    padding-left: .6rem;
    border-left: 1px solid var(--price-line);
    text-align: right;
  }
  .price-plan-tax { display: inline; }
  .price-per-session { margin-top: .1rem; }
}

@media (max-width: 360px) {
  .price-plan { grid-template-columns: 5.1rem minmax(0, 1fr); padding-inline: .7rem; }
  .price-dropin { gap: .45rem; padding-inline: .65rem; }
  .price-dropin dt span { font-size: .875rem; white-space: nowrap; }
}
