/* PEELING treatment page */
@import url("./density-style.css");
@import url("./dermapen-style.css");
@import url("./cta-banner.css");

.page-peeling .hifu-hero-title {
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: 0.1em;
}

.page-peeling .hifu-hero-title small {
  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;
}

.page-peeling .hifu-benefits {
  grid-template-columns: repeat(5, 1fr);
}

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

/* Concerns with checkmarks */
.page-peeling .peel-check-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.page-peeling .peel-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 14px;
  background: #fff;
  border: 1px solid #ebe6df;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(14, 35, 70, 0.06);
}

.page-peeling .peel-check-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(176, 122, 50, 0.12);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.page-peeling .peel-check-item p {
  margin: 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 12px;
  line-height: 1.65;
  color: #3a4558;
}

/* Recommended peeling cards */
.page-peeling .peel-rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.page-peeling .peel-rec-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid #ebe6df;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(14, 35, 70, 0.08);
}

.page-peeling .peel-rec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 0;
  position: absolute;
  z-index: 1;
}

.page-peeling .peel-rec-num {
  font-family: "Petit Formal Script", cursive;
  font-size: 28px;
  line-height: 1;
  color: var(--gold);

}

.page-peeling .peel-rec-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f1ee;
  position: relative;
}

.page-peeling .peel-rec-img::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.0) 38%,
    rgba(0, 0, 0, 0.18) 62%,
    rgba(0, 0, 0, 0.62) 100%
  ); */
  pointer-events: none;
}

.page-peeling .peel-rec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-peeling .peel-rec-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 56px;
  z-index: 2;
  padding: 16px 56px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-peeling .peel-rec-body h3 {
  margin: 0;
  font-family: var(--gb-serif, "Noto Serif JP", serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

.page-peeling .peel-rec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.page-peeling .peel-rec-tags span {
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background: #d4a85f54;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 10px;
  color: var(--navy);
  backdrop-filter: blur(6px);
}

.page-peeling .peel-rec-body p {
  margin: 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 12px;
  line-height: 1.85;
  color: var(--navy);
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}

.page-peeling .peel-case-btn-wrap {
  text-align: center;
}

.page-peeling .peel-case-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 320px;
  padding: 14px 28px;
  border: 1px solid rgba(7, 31, 72, 0.35);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.page-peeling .peel-case-btn:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Treatment flow — horizontal icon steps */
.page-peeling .peel-flow-track {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.page-peeling .peel-flow-step {
  position: relative;
  min-width: 0;
  padding: 0 10px 0 0;
  text-align: left;
}

.page-peeling .peel-flow-step:not(:last-of-type)::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 1px;
  height: 116px;
  background: #e8e2d8;
}

.page-peeling .peel-flow-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}

.page-peeling .peel-flow-num {
  flex: 0 0 auto;
  font-family: "Petit Formal Script", cursive;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.page-peeling .peel-flow-icon {
  flex: 0 0 auto;
  width: clamp(36px, 3.6vw, 44px);
  height: clamp(36px, 3.6vw, 44px);
  color: var(--gold);
}

.page-peeling .peel-flow-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.page-peeling .peel-flow-step h3 {
  margin: 0 0 10px;
  font-family: var(--gb-serif, "Noto Serif JP", serif);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.page-peeling .peel-flow-step p {
  margin: 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: clamp(10px, 0.95vw, 11px);
  line-height: 1.85;
  color: #3a4558;
}

.page-peeling .peel-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0 6px;
  color: #c4b8a8;
}

/* FAQ 2-column grid */
.page-peeling .peel-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.page-peeling .peel-faq-grid .faq-item summary {
  font-size: 13px;
}

@media (max-width: 1100px) {
  .page-peeling .peel-check-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-peeling .peel-rec-grid {
    grid-template-columns: 1fr;
  }

  .page-peeling .peel-flow-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .page-peeling .peel-flow-arrow {
    display: none;
  }

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

@media (max-width: 1024px) {
  .page-peeling .hifu-benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

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

  .page-peeling .hifu-hero-title small {
    font-size: clamp(13px, 3.5vw, 16px);
    letter-spacing: 0.12em;
    text-transform: none;
  }

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

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

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

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

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

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

  .page-peeling .hifu-benefit p br {
    display: none;
  }

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

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

  .page-peeling .peel-check-item {
    padding: 14px 12px;
  }

  .page-peeling .peel-check-item p {
    font-size: 11px;
  }

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

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

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

  .page-peeling .peel-rec-grid {
    gap: 16px;
    margin-bottom: 24px;
  }

  .page-peeling .peel-rec-card {
    display: flex;
    flex-direction: column;
  }

  .page-peeling .peel-rec-head {
    position: static;
    padding: 14px 16px 0;
  }

  .page-peeling .peel-rec-num {
    font-size: 24px;
  }

  .page-peeling .peel-rec-body {
    position: static;
    padding: 14px 16px 18px;
    gap: 8px;
  }

  .page-peeling .peel-rec-body h3 br {
    display: none;
  }

  .page-peeling .peel-rec-body p {
    text-shadow: none;
  }

  .page-peeling .peel-rec-body p br {
    display: none;
  }

  .page-peeling .peel-case-btn {
    width: 100%;
    min-width: 0;
  }

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

  .page-peeling .peel-faq-grid {
    gap: 10px;
  }
}

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

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

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

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

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

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

  /* Recommended peeling cards → stacked layout */
  .page-peeling .peel-rec-card {
    display: flex;
    flex-direction: column;
  }

  .page-peeling .peel-rec-head {
    position: static;
    padding: 14px 16px 0;
  }

  .page-peeling .peel-rec-num {
    font-size: 22px;
  }

  .page-peeling .peel-rec-img {
    aspect-ratio: 16 / 9;
  }

  .page-peeling .peel-rec-body {
    position: static;
    padding: 14px 16px 18px;
    gap: 8px;
  }

  .page-peeling .peel-rec-body h3 {
    font-size: 14px;
  }

  .page-peeling .peel-rec-body h3 br {
    display: none;
  }

  .page-peeling .peel-rec-body p {
    font-size: 11px;
    line-height: 1.75;
    text-shadow: none;
  }

  .page-peeling .peel-rec-body p br {
    display: none;
  }

  .page-peeling .peel-rec-tags span {
    font-size: 9px;
    padding: 2px 8px;
  }

  .page-peeling .peel-case-btn {
    width: 100%;
    min-width: 0;
    padding: 12px 20px;
    font-size: 12px;
  }

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

  .page-peeling .peel-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-peeling .peel-flow-head {
    gap: 12px;
    margin-bottom: 10px;
  }

  .page-peeling .peel-flow-num {
    font-size: 18px;
  }

  .page-peeling .peel-flow-icon {
    width: 36px;
    height: 36px;
  }

  .page-peeling .peel-flow-step h3 {
    font-size: 13px;
  }

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

  .page-peeling .peel-flow-step p br {
    display: none;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .page-peeling .price-table tbody td[data-label="備考"]:empty {
    display: none;
  }

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

  .page-peeling .price-table tbody td[data-label="備考"]:not(:empty) {
    padding-bottom: 14px;
  }

  .page-peeling .price-table tbody tr:has(td[data-label="備考"]:empty) td[data-label="価格（税込）"] {
    padding-bottom: 14px;
  }
}

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

  .page-peeling .hifu-hero-visual img {
    object-position: left;
  }

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

  .page-peeling .hifu-hero-title {
    font-size: 24px;
    margin-top: 44px;
  }

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

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

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

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

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

  .page-peeling .peel-check-item p {
    font-size: 10px;
  }

  .page-peeling .peel-rec-body h3 {
    font-size: 13px;
  }

  .page-peeling .peel-rec-body p {
    font-size: 10px;
  }

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

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