/* KABELLIN treatment page */
@import url("./botox-style.css");

/* —— Desktop overrides —— */
@media (min-width: 901px) {
  .page-kabellin .hifu-benefits {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-kabellin .bx-areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-kabellin .hifu-hero-title {
  font-size: clamp(34px, 4.8vw, 52px);
  letter-spacing: 0.08em;
}

.page-kabellin .hifu-hero-title p {
  margin: 4px 0 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--navy);
  line-height: 1.35;
}

.page-kabellin .hifu-hero-title small {
  display: block;
  margin-top: 8px;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-kabellin .hifu-benefit p {
  font-size: 11px;
  line-height: 1.55;
}

.page-kabellin .about-diagram img {
  object-fit: contain;
  background: #faf8f5;
}

/* —— SP: kabellin page —— */
@media (max-width: 900px) {
  .page-kabellin .hifu-hero-title {
    font-size: clamp(28px, 8vw, 40px);
    letter-spacing: 0.06em;
    margin-top: 44px;
  }

  .page-kabellin .hifu-hero-title p {
    font-size: clamp(14px, 3.8vw, 18px);
    letter-spacing: 0.04em;
  }

  .page-kabellin .hifu-hero-title small {
    font-size: clamp(12px, 3.2vw, 14px);
    letter-spacing: 0.12em;
  }

  .page-kabellin .hifu-hero-catch br {
    display: none;
  }

  .page-kabellin .hifu-hero-catch {
    font-size: 12px;
    line-height: 1.85;
  }

  .page-kabellin .hifu-section {
    padding: 40px 0;
  }

  .page-kabellin .hifu-heading {
    margin-bottom: 24px;
    font-size: clamp(18px, 4.5vw, 22px);
  }

  .page-kabellin .hifu-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 8px;
    padding-top: 18px;
  }

  .page-kabellin .hifu-benefit {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 0;
    gap: 6px;
  }

  .page-kabellin .hifu-benefit p {
    font-size: 10px;
    line-height: 1.5;
  }

  .page-kabellin .hifu-benefit-icon {
    width: 36px;
    height: 36px;
  }

  .page-kabellin .bx-check-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .page-kabellin .bx-check-item {
    padding: 14px 12px;
  }

  .page-kabellin .bx-check-item p {
    font-size: 11px;
  }

  .page-kabellin .about-hifu-grid {
    padding: 20px 16px;
    gap: 20px;
  }

  .page-kabellin .about-hifu-text p {
    font-size: 12px;
    line-height: 1.85;
  }

  .page-kabellin .about-hifu-text .hifu-heading {
    text-align: left;
    margin-bottom: 14px;
    font-size: 18px;
  }

  .page-kabellin .about-diagram img {
    max-width: 100%;
    height: auto;
  }

  .page-kabellin .bx-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .page-kabellin .bx-feature-card {
    padding: 20px 14px;
  }

  .page-kabellin .bx-areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .page-kabellin .bx-area-body {
    padding: 12px;
  }

  .page-kabellin .bx-flow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-kabellin .bx-flow-arrow {
    display: none;
  }

  .page-kabellin .bx-flow-step:not(:last-of-type)::after {
    display: none;
  }

  .page-kabellin .bx-faq-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .page-kabellin .hifu-section {
    padding: 32px 0;
  }

  .page-kabellin .hifu-section > .container {
    width: min(1312px, 92vw);
  }

  .page-kabellin .hifu-heading {
    margin-bottom: 20px;
    font-size: 17px;
  }

  .page-kabellin .hifu-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 6px;
    padding-top: 14px;
  }

  .page-kabellin .bx-check-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-kabellin .bx-feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-kabellin .bx-feature-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    text-align: left;
  }

  .page-kabellin .bx-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .page-kabellin .bx-feature-card h3 {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .page-kabellin .bx-feature-card p {
    font-size: 10px;
    line-height: 1.65;
  }

  .page-kabellin .about-hifu-grid {
    padding: 16px 14px;
  }

  .page-kabellin .bx-areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .page-kabellin .bx-area-body h3 {
    font-size: 11px;
  }

  .page-kabellin .bx-area-body p {
    font-size: 10px;
  }

  .page-kabellin .bx-flow-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-kabellin .bx-flow-step {
    padding: 16px;
    background: #fff;
    border: 1px solid #ebe6df;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(14, 35, 70, 0.06);
  }

  .page-kabellin .bx-flow-head {
    gap: 12px;
    margin-bottom: 10px;
  }

  .page-kabellin .bx-flow-num {
    font-size: 18px;
  }

  .page-kabellin .bx-flow-icon {
    width: 36px;
    height: 36px;
  }

  .page-kabellin .bx-flow-step h3 {
    font-size: 13px;
  }

  .page-kabellin .bx-flow-step p {
    font-size: 11px;
    line-height: 1.75;
  }

  .page-kabellin .bx-flow-step p br {
    display: none;
  }

  .page-kabellin .bx-faq-grid .faq-item summary {
    font-size: 12px;
    padding: 12px 36px 12px 14px;
  }

  .page-kabellin .bx-faq-grid .faq-item p {
    font-size: 11px;
    padding: 0 14px 12px;
  }

  .page-kabellin .note {
    font-size: 10px;
    line-height: 1.7;
    text-align: left;
  }

  .page-kabellin .note br {
    display: none;
  }

  /* Price table → stacked cards */
  .page-kabellin .price-table {
    display: block;
    min-width: 0;
    font-size: 12px;
  }

  .page-kabellin .price-table thead {
    display: none;
  }

  .page-kabellin .price-table tbody {
    display: block;
  }

  .page-kabellin .price-table tr {
    display: block;
    border-bottom: 1px solid #eee;
  }

  .page-kabellin .price-table tbody tr:last-child {
    border-bottom: none;
  }

  .page-kabellin .price-table th,
  .page-kabellin .price-table td {
    display: block;
    width: 100%;
    padding: 0 14px;
    border-bottom: none;
    text-align: left;
    white-space: normal;
  }

  .page-kabellin .price-table tbody th {
    width: auto;
    padding: 12px 14px 6px;
    font-size: 13px;
    background: #faf8f5;
  }

  .page-kabellin .price-table tbody td {
    font-size: 11px;
    line-height: 1.65;
    color: #3a4558;
  }

  .page-kabellin .price-table tbody td::before {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
    content: attr(data-label);
  }

  .page-kabellin .price-table tbody td[data-label] {
    padding: 0 14px 10px;
  }

  .page-kabellin .price-table tbody td[data-label="コース"]:empty {
    display: none;
  }

  .page-kabellin .price-table tbody td.price-table-plan {
    background: #faf8f5;
    font-size: 11px;
    font-weight: 500;
    color: var(--navy);
    padding: 6px 14px 10px;
  }

  .page-kabellin .price-table tbody td[data-label="価格（税込）"] {
    padding-bottom: 14px;
    font-weight: 600;
    color: var(--navy);
  }
}

@media (max-width: 560px) {
  .page-kabellin .hifu-hero-visual {
    left: 5%;
    right: 0;
  }

  .page-kabellin .hifu-hero-visual img {
    object-position: 25% center;
  }

  .page-kabellin .hifu-hero-visual::after {
    width: 30%;
  }

  .page-kabellin .hifu-hero-title {
    font-size: 24px;
  }

  .page-kabellin .hifu-hero-title p {
    font-size: 13px;
  }

  .page-kabellin .hifu-hero-catch {
    font-size: 11px;
    line-height: 1.75;
  }

  .page-kabellin .hifu-section {
    padding: 28px 0;
  }

  .page-kabellin .hifu-benefit p {
    font-size: 9px;
  }

  .page-kabellin .hifu-benefit-icon {
    width: 32px;
    height: 32px;
  }

  .page-kabellin .bx-check-item p {
    font-size: 10px;
  }

  .page-kabellin .bx-areas-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-kabellin .bx-feature-icon {
    width: 36px;
    height: 36px;
  }

  .page-kabellin .price-table tbody th {
    font-size: 12px;
  }

  .page-kabellin .price-table tbody td {
    font-size: 10px;
  }
}
