@charset "UTF-8";
/* =========================================================
   /operation/skincare/cp/ Renewal Stylesheet
   Design: Figma operation_skincare_cp (2026-05)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #f6f4ef;
  --bg-card: #ffffff;
  --bg-alt: #eae6dd;
  --line: #d6d1c6;
  --gold: #bba171;
  --gold-dark: #8b7349;
  --text: #2a2826;
  --text-sub: #6f6a62;
  --text-mute: #948e83;
  --font-serif: "Noto Serif JP", "Yu Mincho", "游明朝", "YuMincho", serif;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
}

/* ---------- Reset / Base (scoped to .cp-renewal wrapper only) ---------- */
.cp-renewal {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em;
}

.cp-renewal,
.cp-renewal *,
.cp-renewal *::before,
.cp-renewal *::after {
  box-sizing: border-box;
}

.cp-renewal img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

/* :where() to keep this reset at 0,1,0 specificity so individual .cp-* rules
   (also 0,1,0) can override it via source-order without needing prefixes. */
.cp-renewal :where(p, h1, h2, h3, dl, dt, dd, ul, li) {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: normal;
}

.cp-renewal a {
  color: inherit;
  text-decoration: none;
}

.cp-renewal section {
  position: relative;
  background: var(--bg);
}

/* Body bg for the renewed CP page only */
body.page-cp-renewal {
  background: var(--bg);
}

/* Hide the SP floating CTA (contact_box01) from the common footer
   on this renewed page only. */
body.page-cp-renewal .contact_box01.switch-sp {
  display: none !important;
}

/* ---------- Layout ---------- */
.cp-section {
  padding: 80px 0;
}

.cp-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.cp-inner--narrow {
  max-width: 800px;
}

/* Section label (e.g. "ABOUT") with leading line */
.cp-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 28px;
}
.cp-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* Heading 2 - Noto Serif JP */
.cp-renewal .cp-h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

/* Body paragraph */
.cp-lead {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text);
  letter-spacing: 0.04em;
}
.cp-lead + .cp-lead,
.cp-lead + p {
  margin-top: 16px;
}
.cp-sub {
  font-size: 13px;
  line-height: 2.1;
  color: var(--text-sub);
}

/* ===================== Header / Footer flow-correction ===================== */
/* The shared header keeps its appearance, but we make sure the renewed
   content area sits flush on the cream background without affecting
   the global header/footer chrome. */

/* =============================================================================
   FV
   ========================================================================== */
.cp-fv {
  padding: 100px 0 110px;
  overflow: hidden;
}
.cp-fv__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.cp-renewal .cp-fv__eyebrow {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 60px;
}
.cp-fv__grid {
  position: relative;
  display: grid;
  grid-template-columns: 378px 1fr;
  gap: 0;
  align-items: start;
  min-height: 460px;
}
.cp-fv__sub {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  max-width: 378px;
}
.cp-fv__sub img {
  width: 100%;
  aspect-ratio: 252 / 302;
  object-fit: cover;
}
.cp-fv__main {
  position: relative;
  margin-left: -90px;
  margin-top: 220px;
  z-index: 1;
}
.cp-fv__main img {
  width: 100%;
  aspect-ratio: 624 / 273;
  object-fit: cover;
}
.cp-fv__heading {
  position: absolute;
  top: 40px;
  right: 0;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.05em;
  color: var(--text);
  z-index: 3;
  text-align: left;
  white-space: nowrap;
}
/* SP-only line break utility */
.cp-br-sp {
  display: none;
}
.cp-fv__sep {
  display: block;
  border: none;
  border-top: 1px solid var(--line);
  margin: 110px 0 0;
}

/* =============================================================================
   ABOUT
   ========================================================================== */
.cp-about {
  padding: 80px 0 90px;
}
.cp-about__video {
  margin-top: 60px;
  width: 100%;
  aspect-ratio: 624 / 351;
  background: #2a2826;
  position: relative;
  overflow: hidden;
}
.cp-about__video img,
.cp-about__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================================================
   RHYTHM
   ========================================================================== */
.cp-rhythm {
  padding: 60px 0 90px;
}
.cp-rhythm__cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
}
.cp-rhythm__card {
  background: var(--bg-card);
  padding: 30px 26px;
  min-height: 133px;
}
.cp-rhythm__card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.cp-rhythm__card-body {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-sub);
}

/* =============================================================================
   TWO_APPROACHES (comparison table)
   ========================================================================== */
.cp-two {
  padding: 60px 0 90px;
}
.cp-two__table-wrap {
  margin-top: 50px;
  overflow-x: auto;
}
.cp-two__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--bg-card);
  table-layout: fixed;
}
.cp-two__table th,
.cp-two__table td {
  border: 1px solid var(--line);
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.65;
  vertical-align: middle;
  text-align: left;
  font-weight: normal;
}
.cp-two__table thead th {
  background: #ece8df;
  color: var(--text);
  height: 56px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.cp-two__table thead th.cp-two__skin {
  background: var(--gold-dark);
  color: #fff;
}
.cp-two__table thead th.cp-two__empty {
  background: var(--bg);
  border-top: none;
  border-left: none;
}
.cp-two__table tbody th {
  background: var(--bg-card);
  color: var(--text-sub);
  width: 14%;
  text-align: left;
  font-size: 12px;
}
.cp-two__table tbody td {
  color: var(--text);
}
.cp-renewal .cp-two__footnote {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.85;
}

/* =============================================================================
   FACTS
   ========================================================================== */
.cp-facts {
  padding: 60px 0 90px;
}
.cp-facts__list {
  margin-top: 50px;
}
.cp-facts__item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 20px;
  padding: 36px 0 30px;
  border-bottom: 1px solid var(--line);
}
.cp-facts__item:first-child {
  border-top: 1px solid var(--line);
}
.cp-facts__num {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.cp-facts__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cp-facts__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.55;
  letter-spacing: 0.04em;
}
.cp-facts__text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.95;
}

/* =============================================================================
   CASE
   ========================================================================== */
.cp-case {
  padding: 60px 0 90px;
}
.cp-case__photos {
  margin-top: 40px;
  display: flex;
  gap: 16px;
}
.cp-case__photo {
  width: 274px;
  height: 274px;
  overflow: hidden;
  background: #ddd;
}
.cp-case__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cp-renewal .cp-case__caption {
  margin-top: 20px;
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: 0.08em;
}
.cp-case__details {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.cp-case__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cp-case__term {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.cp-case__desc {
  font-size: 13px;
  color: var(--text);
  line-height: 1.95;
}

/* =============================================================================
   CONSULTATION
   ========================================================================== */
.cp-cons {
  padding: 60px 0 90px;
}
.cp-cons__buttons {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 280px);
  justify-content: center;
  gap: 12px 16px;
}
.cp-cons__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 64px;
  border: 1px solid var(--text);
  text-align: center;
  font-size: 13px;
  transition: background .2s, color .2s;
}
.cp-cons__btn:hover {
  background: var(--text);
  color: #fff;
}
.cp-cons__btn-sub {
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}
.cp-cons__btn:hover .cp-cons__btn-sub {
  color: rgba(255, 255, 255, 0.85);
}
.cp-cons__btn-main {
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.08em;
}
.cp-cons__btn:hover .cp-cons__btn-main {
  color: #fff;
}
.cp-renewal .cp-cons__group-label {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  margin: 20px 0 4px;
}

/* =============================================================================
   CTA
   ========================================================================== */
.cp-renewal .cp-cta {
  background: var(--bg-alt);
  padding: 70px 0 80px;
  text-align: center;
}
.cp-cta__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.cp-cta__sub {
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}
.cp-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 216px;
  height: 64px;
  border: 1px solid var(--text);
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text);
  transition: background .2s, color .2s;
}
.cp-cta__btn:hover {
  background: var(--text);
  color: #fff;
}

/* =============================================================================
   FLOW
   ========================================================================== */
.cp-flow {
  padding: 70px 0 80px;
}
.cp-flow__list {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.cp-flow__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  min-height: 110px;
}
.cp-flow__body {
  flex: 1;
}
.cp-flow__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.cp-flow__text {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.9;
}
.cp-flow__thumbs {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cp-flow__thumb {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
}
.cp-flow__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================================================
   Q&A
   ========================================================================== */
.cp-qa {
  padding: 70px 0 80px;
}
.cp-qa__list {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.cp-qa__item {
  border-bottom: 1px solid var(--line);
}
.cp-qa__q {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 24px 0;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.cp-qa__q-mark {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.05em;
  width: 12px;
  flex-shrink: 0;
}
.cp-qa__q-text {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.65;
}
.cp-qa__toggle {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 4px;
  text-indent: -9999px;
  overflow: hidden;
}
.cp-qa__toggle::before,
.cp-qa__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--text-sub);
  transition: opacity .2s;
}
.cp-qa__toggle::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.cp-qa__toggle::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.cp-qa__item.is-open .cp-qa__toggle::after {
  opacity: 0;
}
.cp-qa__item.is-open .cp-qa__toggle::before {
  background: var(--text);
}
.cp-qa__a {
  display: none;
  padding: 0 0 28px 42px;
  gap: 18px;
}
.cp-qa__a-mark {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.05em;
  width: 12px;
  flex-shrink: 0;
}
.cp-qa__a-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 2;
}
.cp-qa__item.is-open .cp-qa__a {
  display: flex;
}

/* =============================================================================
   IMPORTANT
   ========================================================================== */
.cp-important {
  padding: 70px 0 50px;
}
.cp-important__list {
  margin-top: 50px;
}
.cp-important__item {
  border-bottom: 1px solid var(--line);
}
.cp-important__item:first-child {
  border-top: 1px solid var(--line);
}
.cp-important__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.05em;
}
.cp-important__toggle {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  text-indent: -9999px;
  overflow: hidden;
}
.cp-important__toggle::before,
.cp-important__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--text-sub);
  transition: opacity .2s;
}
.cp-important__toggle::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.cp-important__toggle::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.cp-important__item.is-open .cp-important__toggle::after {
  opacity: 0;
}
.cp-important__item.is-open .cp-important__toggle::before {
  background: var(--text);
}
.cp-important__detail {
  display: none;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.95;
  padding: 0 0 24px;
}
.cp-important__item.is-open .cp-important__detail {
  display: block;
}
.cp-important__subhead {
  margin: 24px 0 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
}
.cp-important__subhead:first-child {
  margin-top: 0;
}
.cp-important__lead {
  margin-bottom: 6px;
}
.cp-important__lead + .cp-important__bullets {
  margin-top: 4px;
}
.cp-important__bullets {
  margin: 0 0 18px;
}
.cp-important__bullets:last-child {
  margin-bottom: 0;
}
.cp-important__bullets li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 6px;
}
.cp-important__bullets li:last-child {
  margin-bottom: 0;
}
.cp-important__bullets li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.cp-important__bullets li p {
  margin-bottom: 8px;
}
.cp-important__bullets li p:last-child {
  margin-bottom: 0;
}
.cp-renewal .cp-important__tagline {
  margin: 80px auto 20px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.08em;
  line-height: 1.85;
}

/* =============================================================================
   Responsive (SP)
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* Offset for the fixed common header (50px on <=979px) */
  .cp-renewal {
    padding-top: 50px;
  }
  .cp-section {
    padding: 50px 0;
  }
  .cp-inner {
    padding: 0 28px;
  }
  .cp-eyebrow {
    font-size: 10px;
    margin-bottom: 22px;
  }
  .cp-renewal .cp-h2 {
    font-size: 25px;
    line-height: 1.7;
    margin-bottom: 22px;
  }
  .cp-lead {
    font-size: 13px;
    line-height: 2.1;
  }

  /* FV */
  .cp-fv {
    padding: 60px 0 50px;
  }
  .cp-fv__inner {
    padding: 0;
  }
  .cp-renewal .cp-fv__eyebrow {
    margin-bottom: 30px;
  }
  .cp-fv__grid {
    display: grid;
    grid-template-columns: 113px 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 32px;
    min-height: 0;
    padding: 0;
  }
  .cp-fv__sub {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
    width: 113px;
    max-width: 113px;
    position: relative;
    z-index: 2;
  }
  .cp-fv__sub img {
    aspect-ratio: 113 / 261;
  }
  .cp-fv__heading {
    position: static;
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    font-size: 31.2px;
    line-height: 1.85;
    margin: 30px 0 0;
  }
  .cp-br-sp {
    display: inline;
  }
  .cp-fv__main {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: -40px 0 0;
    padding-left: 56px;
    z-index: 1;
  }
  .cp-fv__main img {
    aspect-ratio: 334 / 188;
  }
  .cp-fv__sep {
    margin: 50px 0 0;
  }

  /* ABOUT */
  .cp-about {
    padding: 50px 0;
  }
  .cp-about__video {
    margin-top: 36px;
    aspect-ratio: 334 / 188;
  }

  /* RHYTHM */
  .cp-rhythm__cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 36px;
  }
  .cp-rhythm__card {
    padding: 22px 22px;
    min-height: 0;
  }
  .cp-rhythm__card-title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  /* TWO_APPROACHES */
  .cp-two__table-wrap {
    overflow-x: auto;
    margin-right: -28px;
  }
  .cp-two__table {
    table-layout: fixed;
    min-width: 510px;
  }
  /* col1: row labels / col2: 保険診療 / col3: 肌トリートメント
     col2 and col3 are equal width so the total exceeds SP viewport
     and the wrap shows a horizontal scroll. */
  .cp-two__table thead th:nth-child(1) {
    width: 110px;
  }
  .cp-two__table thead th:nth-child(2),
  .cp-two__table thead th:nth-child(3) {
    width: 200px;
  }
  .cp-two__table th,
  .cp-two__table td {
    padding: 14px 12px;
    font-size: 11.5px;
    line-height: 1.6;
  }
  .cp-two__table tbody th {
    font-size: 11px;
  }
  .cp-two__table thead th {
    font-size: 12px;
    height: 48px;
  }

  /* FACTS */
  .cp-facts__item {
    grid-template-columns: 40px 1fr;
    padding: 26px 0 22px;
  }
  .cp-facts__num {
    font-size: 16px;
  }
  .cp-facts__title {
    font-size: 16px;
  }
  .cp-facts__text {
    font-size: 12px;
  }

  /* CASE */
  .cp-case__photos {
    gap: 8px;
  }
  .cp-case__photo {
    width: 161px;
    height: 161px;
    flex: 1;
  }
  .cp-case__row {
    grid-template-columns: 110px 1fr;
    padding: 18px 0;
  }
  .cp-case__term {
    font-size: 12px;
  }
  .cp-case__desc {
    font-size: 12.5px;
  }

  /* CONSULTATION */
  .cp-cons__buttons {
    grid-template-columns: 1fr;
    justify-content: stretch;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    gap: 12px;
  }

  /* CTA */
  .cp-cta {
    padding: 60px 0 70px;
  }
  .cp-cta__title {
    font-size: 20px;
  }

  /* FLOW */
  .cp-flow__item {
    gap: 12px;
    padding: 18px 0;
    align-items: center;
  }
  .cp-flow__body {
    flex: 1 1 0;
    min-width: 0;
  }
  .cp-flow__thumbs {
    flex-shrink: 0;
  }
  .cp-flow__thumb {
    width: 95px;
    height: 95px;
  }
  .cp-flow__title {
    font-size: 15px;
  }

  /* Q&A */
  .cp-qa__q {
    gap: 20px;
    padding: 20px 0;
  }
  .cp-qa__q-text {
    font-size: 13px;
  }
  .cp-qa__a {
    padding-left: 32px;
    padding-bottom: 24px;
  }

  /* IMPORTANT */
  .cp-important {
    padding: 50px 0 30px;
  }
  .cp-renewal .cp-important__tagline {
    font-size: 20px;
    margin: 60px auto 16px;
  }
}

@media screen and (max-width: 420px) {
  .cp-flow__thumb {
    width: 72px;
    height: 72px;
  }
  .cp-flow__item {
    gap: 10px;
  }
  .cp-flow__title {
    font-size: 14px;
  }
}
