/* ========================================
   料金表
======================================== */

.pricelist-page {
  padding: 48px 24px 80px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(130, 220, 242, 0.18),
      transparent 38%
    ),
    #f3fbff;
}

.pricelist-sheet {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 48px;

  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(100, 184, 221, 0.25);
  border-radius: 32px;

  box-shadow:
    0 24px 60px rgba(54, 137, 176, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(8px);
}


/* ========================================
   入会金
======================================== */
.pricelist-head {
  margin-bottom: 30px;
  text-align: initial;
}

.pricelist-admission {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  width: 100%;
  min-width: 0;
  min-height: 138px;
  box-sizing: border-box;
  padding: 34px 38px;

  color: #285b73;
  background: linear-gradient(
    135deg,
    rgba(217, 245, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.98) 58%,
    rgba(239, 250, 255, 0.94) 100%
  );

  border: 1px solid rgba(72, 185, 220, 0.42);
  border-radius: 24px;

  box-shadow:
    0 16px 34px rgba(54, 137, 176, 0.12),
    inset 4px 0 0 #48b9dc,
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.pricelist-admission__label {
  position: static;

  padding: 0;

  color: #376f89;
  background: none;
  border-radius: 0;

  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;

  box-shadow: none;
}

.pricelist-admission__price {
  color: #177fae;

  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;

  font-size: clamp(40px, 5vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;

  font-variant-numeric: tabular-nums;
}
/* ========================================
   クラス料金カード
======================================== */

.pricelist-groups {
  display: grid;
  gap: 30px;
}

.price-card {
  --theme: #48b9dc;
  --theme-dark: #217aa5;
  --theme-soft: rgba(72, 185, 220, 0.1);

  position: relative;

  padding: 36px 28px 18px;

  background:
    linear-gradient(
      135deg,
      var(--theme-soft) 0%,
      rgba(255, 255, 255, 0.96) 56%
    );

  border: 1px solid color-mix(in srgb, var(--theme) 36%, white);
  border-radius: 24px;

  box-shadow:
    0 12px 30px rgba(38, 104, 137, 0.08),
    inset 4px 0 0 var(--theme);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.price-card:hover {
  box-shadow:
    0 18px 38px rgba(38, 104, 137, 0.14),
    inset 4px 0 0 var(--theme);

  transform: translateY(-3px);
}


/* テーマカラー */
.price-card--blue {
  --theme: #48b9dc;
  --theme-dark: #197da8;
  --theme-soft: rgba(72, 185, 220, 0.12);
}

.price-card--green {
  --theme: #62c58a;
  --theme-dark: #288653;
  --theme-soft: rgba(98, 197, 138, 0.12);
}

.price-card--yellow {
  --theme: #e3bd36;
  --theme-dark: #997512;
  --theme-soft: rgba(248, 213, 86, 0.15);
}

.price-card--pink {
  --theme: #e77da6;
  --theme-dark: #ad416b;
  --theme-soft: rgba(231, 125, 166, 0.12);
}


/* クラス名 */
.price-card__title {
  position: absolute;
  top: 0;
  left: 28px;

  display: inline-flex;
  align-items: center;

  min-height: 38px;
  margin: 0;
  padding: 0 22px;

  color: #fff;
  background: var(--theme);
  border-radius: 0 0 14px 14px;

  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;

  box-shadow: 0 7px 16px color-mix(in srgb, var(--theme) 25%, transparent);
}


/* ========================================
   料金行
======================================== */

.price-card__body {
  margin-top: 18px;
}

.price-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;

  min-height: 62px;
  padding: 8px 10px;

  border-bottom: 1px dashed color-mix(
    in srgb,
    var(--theme) 30%,
    transparent
  );
}

.price-line:last-child {
  border-bottom: 0;
}

.price-line__label {
  display: flex;
  align-items: center;
  gap: 12px;

  min-width: 0;

  color: #244b60;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.price-line__bullet {
  flex: 0 0 auto;

  width: 10px;
  height: 10px;

  overflow: hidden;
  color: transparent;
  background: var(--theme);
  border-radius: 50%;

  box-shadow: 0 0 0 5px var(--theme-soft);
}

.price-line__value {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 14px;

  white-space: nowrap;
}

.price-line__note {
  color: #718a97;
  font-size: 13px;
  font-weight: 600;
}

.price-line__value strong {
  min-width: 150px;

  color: var(--theme-dark);

  font-size: 25px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
  letter-spacing: 0.02em;
}


/* ========================================
   プライベート授業
======================================== */

.pricelist-private-note {
  margin: 36px 0 0;
  padding: 24px 26px;

  color: #b64471;
  background: #fff;

  border: 2px solid #e77da6;
  border-radius: 16px;

  font-size: 18px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;

  box-shadow: 0 10px 24px rgba(201, 80, 123, 0.1);
}

.pricelist-private-note::before {
  content: "PRIVATE LESSON";

  display: block;
  margin-bottom: 9px;

  color: #df6292;

  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
}

/* ========================================
   スマートフォン
======================================== */

@media (max-width: 768px) {
  .pricelist-page {
    padding: 28px 14px 56px;
  }

  .pricelist-sheet {
    padding: 30px 16px;
    border-radius: 22px;
  }

  .pricelist-head {
    margin-bottom: 12px;
  }

  .pricelist-admission {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 20px 16px;
  }

  .pricelist-admission__label {
    font-size: 16px;
  }

  .pricelist-admission__price {
    font-size: 32px;
  }
  .price-card {
    padding: 42px 16px 10px;
    border-radius: 18px;
  }

  .price-card__title {
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 0 16px;

    font-size: 15px;
    white-space: nowrap;
  }

  .price-line {
    grid-template-columns: 1fr;
    gap: 5px;

    padding: 16px 4px;
  }

  .price-line__label {
    align-items: flex-start;
    font-size: 16px;
  }

  .price-line__bullet {
    margin-top: 7px;
  }

  .price-line__value {
    padding-left: 22px;
  }

  .price-line__value strong {
    min-width: 0;
    font-size: 23px;
  }

  .pricelist-private-note {
    padding: 18px 14px;
    font-size: 15px;
  }
}
