@charset "UTF-8";

/* ==========================================================================
   LIFE TENNIS - price.css（料金・メニューページ専用）
   ========================================================================== */

/* --------------------------------------------------------------------------
   体験レッスン
   -------------------------------------------------------------------------- */
.trial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 44px 48px;
  border-radius: var(--radius-l);
  background: linear-gradient(118deg, var(--lime-pale) 0%, var(--sky-pale) 100%);
}
.trial__name {
  margin-top: 14px;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 900;
}
.trial__text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-soft);
}

.trial__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 24px 34px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-family: var(--ff-round);
  font-weight: 700;
  white-space: nowrap;
}
.trial__time {
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--lime-pale);
  color: var(--lime-deep);
  font-size: 14px;
}
.trial__price strong {
  font-family: var(--ff-en);
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
  color: var(--lime-deep);
}
.trial__yen { font-size: 20px; color: var(--green); }

/* --------------------------------------------------------------------------
   料金表
   -------------------------------------------------------------------------- */
.ptable {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ptable th,
.ptable td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.ptable thead th {
  background: var(--green);
  color: #fff;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  border-bottom: 0;
}
.ptable tbody th {
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--green);
  width: 40%;
}
.ptable tbody tr:last-child th,
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td {
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 16px;
  color: var(--green);
}
.ptable td strong {
  font-family: var(--ff-en);
  font-size: 30px;
  line-height: 1;
  color: var(--sky-deep);
  margin-right: 2px;
}
.ptable td small {
  display: inline-block;
  margin-left: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-mute);
}
.ptable--premium td strong { color: var(--lime-deep); }
.ptable--wide tbody th { width: auto; }

/* 会員種別の切り替えタブ */
.ptab { max-width: 720px; margin-inline: auto; }
.ptab__switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.ptab__btn {
  padding: 13px 10px;
  border-radius: 999px;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  transition: background-color .28s var(--ease), color .28s var(--ease);
}
.ptab__btn.is-active { background: var(--grad-btn); color: #fff; }
.ptab__panel > .note { margin-top: 14px; text-align: center; }

/* --------------------------------------------------------------------------
   プレミアム会員
   -------------------------------------------------------------------------- */
.premium__card {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 56px;
  padding: 52px 56px;
  border-radius: var(--radius-l);
  background: linear-gradient(150deg, #fffaf0 0%, #fff 60%);
  border: 2px solid var(--sun);
  box-shadow: var(--shadow);
}
.premium__crown {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sun);
  color: #fff;
}
.premium__crown svg { width: 26px; height: 26px; }

.premium__fee {
  margin-top: 20px;
  font-family: var(--ff-round);
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
}
.premium__fee strong {
  font-family: var(--ff-en);
  font-size: 40px;
  line-height: 1;
  color: #d69a12;
  margin: 0 2px;
}
.premium__lead {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-soft);
}

.premium__merits { display: grid; gap: 22px; }
.premium__merits li {
  padding-left: 34px;
  position: relative;
}
.premium__merits li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.premium__merits h3 { font-size: 17px; font-weight: 900; }
.premium__merits p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   イベントチケット
   -------------------------------------------------------------------------- */
.ticket-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}
.ticket-block__title {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticket-block__title::before {
  content: "";
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sky);
}
.ticket-block--premium .ticket-block__title::before { background: var(--sun); }

.ticket-gift {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  vertical-align: middle;
}

.ticket-more { margin-top: 34px; text-align: center; }

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .premium__card { grid-template-columns: 1fr; gap: 36px; padding: 40px 34px; }
  .ticket-tables { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .trial { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; text-align: center; }
  .trial__text { text-align: left; font-size: 14.5px; }
  .trial__price { justify-content: center; padding: 20px 24px; }

  .ptable th, .ptable td { padding: 15px 16px; }
  .ptable tbody th { width: 42%; font-size: 14.5px; }
  .ptable td { font-size: 15px; }
  .ptable td strong { font-size: 25px; }
  .ptable td small { display: block; margin: 4px 0 0; }

  /* 3列の表は狭い画面で折り返しが増えるため、一段小さくする */
  .ptable--wide th,
  .ptable--wide td { padding: 13px 10px; font-size: 13.5px; }
  .ptable--wide thead th { font-size: 12.5px; }
  .ptable--wide td strong { font-size: 21px; }

  .ptab__btn { font-size: 14px; padding: 12px 6px; }

  .premium__card { padding: 34px 22px; }
  .premium__merits li { padding-left: 30px; }

  .ticket-gift { display: block; margin: 6px 0 0; width: fit-content; }
}
