/* ============================================
   Price Page
   ============================================ */

/* --------------------------------------------
   Section heading (shared pattern)
   -------------------------------------------- */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading__en {
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-navy);
  font-style: normal;
}

.section-heading__en em {
  color: var(--color-pink);
  font-style: normal;
}

.section-heading__ja {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
}

/* --------------------------------------------
   Shared utilities
   -------------------------------------------- */
.pr-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

.pr-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-pink);
}

.pr-link {
  color: #589dd8;
  text-decoration: underline;
  text-underline-offset: 5%;
  transition: opacity 0.3s ease;
}

.pr-link:hover {
  opacity: 0.7;
}

/* --------------------------------------------
   PR Intro Section
   -------------------------------------------- */
.pr-intro {
  padding: 40px 40px 0;
}

.pr-intro__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .pr-intro {
    padding: 60px 120px 0;
  }
}

/* --------------------------------------------
   PR Self-paid Section (gradient bg)
   -------------------------------------------- */
.pr-self {
  padding: 80px 40px 60px;
  --section-bg: linear-gradient(to bottom, #fff, var(--color-pink-bg));
}

.pr-self__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .pr-self {
    padding: 100px 120px 60px;
  }
}

/* --------------------------------------------
   PR Category (h3 group)
   -------------------------------------------- */
.pr-category {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pr-category__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-pink);
}

.pr-category__diamond {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-pink);
  transform: rotate(45deg);
}

/* --------------------------------------------
   PR Divider (dotted pink line)
   -------------------------------------------- */
.pr-divider {
  border: none;
  border-top: 2px dashed var(--color-pink);
  margin: 0;
}

/* --------------------------------------------
   PR Table (price list)
   -------------------------------------------- */
.pr-table__row {
  display: flex;
  flex-direction: column;
}

.pr-table__label {
  padding: 12px 16px;
  background: var(--color-pink-bg);
  color: var(--color-pink);
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid var(--color-pink);
  border-bottom: none;
}

.pr-table__value {
  padding: 12px 16px;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid var(--color-pink);
  border-top: none;
}

.pr-table__row + .pr-table__row .pr-table__label {
  border-top: none;
}

.pr-table__row + .pr-table__row .pr-table__value {
  border-top: none;
}

.pr-table__value p {
  margin-top: 10px;
}

.pr-table__value p:first-child {
  margin-top: 0;
}

.pr-table__value--center {
  display: flex;
  align-items: center;
}

/* PC: side-by-side label + value */
@media (min-width: 769px) {
  .pr-table__row {
    flex-direction: row;
  }

  .pr-table__label {
    flex-shrink: 0;
    width: 310px;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-pink);
    border-bottom: 1px solid var(--color-pink);
  }

  .pr-table__value {
    flex: 1;
    min-width: 0;
    padding: 12px 30px;
    border: 1px solid var(--color-pink);
    border-left: none;
  }

  .pr-table__row:first-child .pr-table__label,
  .pr-table__row:first-child .pr-table__value {
    border-top: 1px solid var(--color-pink);
  }

  .pr-table__row + .pr-table__row .pr-table__label,
  .pr-table__row + .pr-table__row .pr-table__value {
    border-top: none;
  }
}

/* --------------------------------------------
   PR Bottom Note
   -------------------------------------------- */
.pr-bottom-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-pink);
}

/* --------------------------------------------
   PR Total Cost Section
   -------------------------------------------- */
.pr-total {
  position: relative;
  padding: 60px 40px 80px;
  --section-bg: linear-gradient(to bottom, #fff, var(--color-pink-bg));
}

/* Decorative gradient circle */
.deco-circle-price-total {
  position: absolute;
  top: -28px;
  right: -60px;
  width: 502px;
  height: 748px;
  pointer-events: none;
  z-index: 0;
}

.deco-circle-price-total img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .deco-circle-price-total {
    width: 200px;
    height: 298px;
    top: -20px;
    right: -40px;
  }
}

.pr-total__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: 1040px;
  margin: 0 auto;
}

.pr-total__block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pr-total__formula {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pr-total__formula-main {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-pink);
}

.pr-total__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

@media (min-width: 769px) {
  .pr-total {
    padding: 100px 120px 100px;
  }
}
