.ptm-price-table {
  background: var(--ptm-bg);
  color: var(--ptm-text);
  padding: clamp(36px, 6vw, 72px) 16px;
}

.ptm-price-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.ptm-price-head {
  text-align: center;
  margin-bottom: 34px;
}

.ptm-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--ptm-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.ptm-price-head h2 {
  margin: 0;
  color: var(--ptm-title);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.45;
  font-weight: 900;
}

.ptm-lead {
  max-width: 760px;
  margin: 14px auto 0;
  line-height: 1.9;
  font-size: 15px;
}

.ptm-category-block {
  margin-top: 30px;
}

.ptm-category-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ptm-title);
  font-size: 22px;
  margin: 0 0 14px;
}

.ptm-category-block h3::before {
  content: "";
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: var(--ptm-accent);
}

.ptm-price-cards {
  display: grid;
  gap: 14px;
}

.ptm-price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: var(--ptm-card-bg);
  border: 1px solid rgba(14, 116, 144, 0.16);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.07);
}

.ptm-price-card h4 {
  margin: 0;
  color: var(--ptm-title);
  font-size: 18px;
  font-weight: 850;
  background: transparent;
  padding: 0;
}

.ptm-description {
  margin: 8px 0 0;
  line-height: 1.8;
  font-size: 14px;
}

.ptm-price-card-price {
  text-align: right;
  min-width: 150px;
}

/*価格の文字の大きさ*/
.ptm-price-value {
  display: block;
  color: var(--ptm-price);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

.ptm-tax-label {
  display: inline-flex;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--ptm-accent);
  font-size: 12px;
  font-weight: 800;
}

.ptm-button-wrap {
  text-align: center;
  margin-top: 36px;
}

.ptm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--ptm-button-bg);
  color: var(--ptm-button-text);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(2, 132, 199, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ptm-button:hover {
  color: var(--ptm-button-text);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(2, 132, 199, 0.28);
}

.ptm-empty {
  text-align: center;
  padding: 30px;
  background: var(--ptm-card-bg);
  border-radius: 16px;
}

/* =========================================
   表示スタイル切替
========================================= */

/* 標準デザイン */
.ptm-style-standard .ptm-price-cards {
  display: grid;
  gap: 14px;
}

.ptm-style-standard .ptm-price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

/* プランカード風デザイン */
.ptm-style-plan .ptm-category-block {
  margin-top: 34px;
}

.ptm-style-plan .ptm-category-block h3 {
  margin-bottom: 18px;
}

.ptm-style-plan .ptm-price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ptm-style-plan .ptm-price-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  min-height: 100%;
  padding: 24px 20px;
  border-radius: 22px;
  background: var(--ptm-card-bg);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 18px 36px rgba(14, 116, 144, 0.08);
}

.ptm-style-plan .ptm-price-card-main {
  text-align: center;
}

.ptm-style-plan .ptm-price-card h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.ptm-style-plan .ptm-description {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
}

.ptm-style-plan .ptm-price-card-price {
  margin-top: 18px;
  text-align: center;
  min-width: 0;
}

.ptm-style-plan .ptm-price-value {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
}

.ptm-style-plan .ptm-tax-label {
  margin-top: 8px;
}

.ptm-style-plan .ptm-price-card::before {
  content: "";
  display: block;
  width: 54px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ptm-accent), rgba(56, 189, 248, 0.35));
}

.ptm-style-plan .ptm-button-wrap {
  margin-top: 42px;
}

/* PCで3列、狭い幅では2列 */
@media (max-width: 1000px) {
  .ptm-style-plan .ptm-price-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホでは1列 */
@media (max-width: 700px) {
  .ptm-style-plan .ptm-price-cards {
    grid-template-columns: 1fr;
  }

  .ptm-style-plan .ptm-price-card {
    padding: 18px;
    border-radius: 16px;
  }

  .ptm-style-plan .ptm-price-card h4 {
    font-size: 18px;
  }

  .ptm-style-plan .ptm-price-value {
    font-size: 24px;
  }






  .ptm-price-table {
    padding: 30px 12px;
  }

  .ptm-price-head {
    margin-bottom: 24px;
  }

  .ptm-price-head h2 {
    font-size: 24px;
    line-height: 1.45;
  }

  .ptm-lead {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  .ptm-category-block {
    margin-top: 26px;
  }

  .ptm-category-block h3 {
    line-height: 1.4;
    font-size: 19px;
    margin-bottom: 10px;
  }

  .ptm-price-card-main {
    min-width: 0;
  }

  .ptm-price-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
    border-radius: 14px;
  }

  .ptm-price-card h4 {
    display: block;
    background: transparent;
    padding: 0;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: 0.02em;
  }

  .ptm-description {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.85;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .ptm-price-card-price {
    text-align: left;
    min-width: 0;
    margin-top: 2px;
    padding-top: 2px;
  }

  .ptm-price-cards {
    gap: 12px;
  }

  .ptm-price-value {
    font-size: 20px;
    line-height: 1.35;
    white-space: normal;
  }

  .ptm-tax-label {
    font-size: 11px;
    margin-top: 4px;
  }

  .ptm-button {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    padding: 13px 20px;
  }

  .ptm-price-card-main,
  .ptm-price-card-main h4 {
    background: transparent !important;
  }
}