/* Scoped slimming page styles */
.slim-page {
  --slim-ink: #302321;
  --slim-muted: #69514c;
  --slim-tan: #d89b8e;
  --slim-soft: #fff5f2;
  --slim-line: rgba(125, 75, 68, 0.18);
  --slim-content-size: 18rem;
  background: #fff8f6;
}

.slim-page .hd .lnk a.active {
  color: #302321;
}

.slim-page .hd:not(.on) .lnk a.active {
  color: #fff;
}

.slim-page .slim-eyebrow {
  color: #b96f63;
  font-size: 15rem;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.slim-page .slim-title {
  margin-top: 18rem;
  font-family: var(--NotoSerif);
  font-size: clamp(34rem, 2.48vw, 44rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--slim-ink);
  letter-spacing: 0;
}

.slim-page .slim-lead {
  margin-top: 24rem;
  max-width: 720rem;
  font-size: var(--slim-content-size);
  line-height: 1.78;
  color: var(--slim-muted);
}

.slim-page .slim-copy,
.slim-page :where(
  .easy-card p,
  .slim-note,
  .cut-program__card p,
  .cut-feature,
  .cut-list p,
  .slim-detail-list li,
  .slim-bullet-list li,
  .fit-parts p,
  .flow-cards p,
  .slim-info-block p,
  .check-list li,
  .drug-card p,
  .slim-caution,
  .cell-cards p,
  .cell-cards .slim-bullet-list li,
  .option-grid p,
  .closing-copy,
  .ft .note,
  .ft .legal
) {
  font-size: var(--slim-content-size);
}

.slim-page .slim-section {
  position: relative;
  padding: 132rem 0;
  overflow: hidden;
}

.slim-page .slim-head {
  max-width: 880rem;
}

.slim-page .slim-head--center {
  max-width: 940rem;
  margin: 0 auto;
  text-align: center;
}

.slim-page .slim-head--center .slim-lead {
  margin-left: auto;
  margin-right: auto;
}

.slim-page .slim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154rem;
  height: 54rem;
  padding: 0 28rem;
  border: 1px solid rgba(216, 132, 120, 0.18);
  border-radius: 999px;
  background: #d88478;
  color: #fff;
  font-size: 16rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.slim-page .slim-btn:hover {
  background: #c96f64;
}

.slim-page .slim-btn--ghost {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
}

.slim-page .slim-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #9b514a;
}

.slim-page .hd.on .gnb .cta,
.slim-page .top_btn {
  background: #d88478;
  color: #fff;
}

.slim-page .hd.on .gnb .cta:hover,
.slim-page .top_btn:hover {
  background: #c96f64;
  color: #fff;
}

.slim-page .ft {
  background: #5f312e !important;
}

/* Hero */
.slim-hero {
  position: relative;
  overflow: hidden;
  background: #f6ddd7;
}

.slim-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(49, 33, 31, 0.68) 0%, rgba(79, 49, 45, 0.45) 34%, rgba(115, 67, 61, 0.1) 72%, rgba(80, 47, 43, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(58, 38, 35, 0.16) 64%, rgba(49, 33, 31, 0.48) 100%);
  pointer-events: none;
}

.slim-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 44%;
  transform: scale(1.018);
  transition: transform 3.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.slim-hero.active .slim-hero__media img {
  transform: scale(1);
}

.slim-page .slim-hero .tit_box {
  font-size: clamp(116rem, 7.6vw, 132rem);
}

/* EASY */
.slim-easy {
  background: #fff8f6;
}

.easy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26rem;
  margin-top: 70rem;
}

.easy-card {
  position: relative;
  overflow: hidden;
  min-height: 300rem;
  padding: 34rem 30rem 38rem;
  border-top: 1px solid var(--slim-line);
  border-bottom: 1px solid var(--slim-line);
  background: rgba(255, 255, 255, 0.42);
}

.easy-card__letter {
  display: block;
  font-size: clamp(82rem, 7vw, 112rem);
  line-height: 1;
  color: rgba(185, 111, 99, 0.5);
  letter-spacing: 0;
}

.easy-card h3 {
  position: relative;
  margin-top: 22rem;
  font-family: var(--NotoSerif);
  font-size: 22rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--slim-ink);
}

.easy-card p {
  position: relative;
  margin-top: 16rem;
  font-size: 16rem;
  line-height: 1.72;
  color: var(--slim-muted);
}

.slim-note {
  margin-top: 38rem;
  color: var(--slim-muted);
  font-size: 18rem;
  line-height: 1.75;
}

.slim-page .slim-easy .slim-lead b {
  display: inline-block;
  margin-top: 8rem;
  color: #9d4037;
  font-size: clamp(21rem, 1.55vw, 26rem);
  line-height: 1.55;
}

.slim-page .slim-easy .slim-note {
  font-size: clamp(20rem, 1.4vw, 24rem) !important;
}

.slim-note--center {
  max-width: 900rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Split sections */
.split-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(70rem, 7vw, 130rem);
}

.split-wrap--reverse .split-media {
  order: 2;
}

.split-wrap--reverse .split-copy {
  order: 1;
}

.split-media {
  overflow: hidden;
  background: #f4ddd8;
  aspect-ratio: 4 / 5;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slim-cut {
  background: #fff;
}

.cut-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30rem;
  align-items: center;
}

.cut-hero__copy .slim-title {
  padding-bottom: 24rem;
  border-bottom: 1px solid rgba(185, 111, 99, 0.45);
}

.cut-hero__copy .slim-lead {
  margin-top: 48rem;
}

.cut-hero__media {
  overflow: hidden;
  background: #f3f0ee;
}

.cut-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cut-program {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24rem;
  margin-top: 18rem;
}

.cut-program__card {
  position: relative;
  min-width: 0;
  padding: 76rem 36rem 38rem;
  border: 1px solid rgba(125, 75, 68, 0.18);
  border-radius: 10rem;
  background: rgba(255, 255, 255, 0.62);
}

.cut-program__card::before {
  position: absolute;
  top: 24rem;
  left: 36rem;
  z-index: 0;
  color: rgba(216, 132, 120, 0.14);
  font-family: var(--NotoSerif);
  font-size: 76rem;
  font-weight: 400;
  line-height: 1;
}

.cut-program__card:nth-child(1)::before {
  content: "01";
}

.cut-program__card:nth-child(2)::before {
  content: "02";
}

.cut-program__card h3 {
  position: relative;
  z-index: 1;
  color: var(--slim-ink);
  font-size: 31rem;
  font-weight: 600;
  line-height: 1.35;
}

.cut-program__card p {
  position: relative;
  z-index: 1;
  margin-top: 18rem;
  color: #765952;
  font-size: 15rem;
  line-height: 1.72;
}

.cut-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48rem;
  padding: 18rem 0 8rem;
  border-radius: 0;
  background: transparent;
}

.cut-feature {
  min-width: 0;
  padding: 0 24rem;
  color: #1e1d1c;
  font-size: 15rem;
  line-height: 1.42;
  text-align: center;
}

.cut-feature + .cut-feature {
  border-left: 1px solid rgba(125, 75, 68, 0.14);
}

.cut-feature__icon {
  display: flex;
  width: 70rem;
  height: 70rem;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20rem;
  border-radius: 50%;
  background: #df9a91;
  color: #fff;
}

.cut-feature__icon svg {
  display: block;
  width: 34rem;
  height: 34rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cut-feature strong,
.cut-feature span:not(.cut-feature__icon) {
  display: block;
}

.cut-feature .cut-feature__icon {
  display: flex;
  line-height: 0;
}

.cut-feature strong {
  margin-bottom: 7rem;
  font-weight: 500;
}

.cut-list {
  margin-top: 46rem;
  border-top: 1px solid var(--slim-line);
}

.cut-list article {
  display: grid;
  grid-template-columns: 72rem 1fr;
  gap: 24rem;
  padding: 28rem 0;
  border-bottom: 1px solid var(--slim-line);
}

.cut-list span {
  color: #b96f63;
  font-size: 24rem;
}

.cut-list h3 {
  font-size: 21rem;
  font-weight: 600;
  color: var(--slim-ink);
}

.cut-list p {
  grid-column: 2;
  margin-top: 9rem;
  font-size: 16rem;
  line-height: 1.74;
  color: var(--slim-muted);
}

.slim-detail-list,
.slim-bullet-list {
  margin-top: 22rem;
}

.slim-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10rem 14rem;
}

.slim-detail-list li,
.slim-bullet-list li {
  position: relative;
  padding-left: 16rem;
  color: var(--slim-muted);
  font-size: 15rem;
  line-height: 1.68;
}

.slim-detail-list li::before,
.slim-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 5rem;
  height: 5rem;
  background: #b96f63;
}

/* Fit */
.slim-fit {
  background: #fff0ec;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38rem 58rem;
  align-items: stretch;
  margin-top: 72rem;
}

.fit-visual {
  min-width: 0;
}

.fit-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eed0c9;
}

.fit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fit-parts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  border-top: 1px solid rgba(125, 75, 68, 0.22);
  border-bottom: 1px solid rgba(125, 75, 68, 0.16);
}

.fit-parts article {
  min-width: 0;
  padding: 18rem 16rem 20rem;
  border-right: 1px solid rgba(125, 75, 68, 0.14);
}

.fit-parts article:last-child {
  border-right: 0;
}

.fit-parts span {
  display: block;
  color: #b96f63;
  font-size: 16rem;
  line-height: 1;
}

.fit-parts h3 {
  margin-top: 10rem;
  font-size: 18rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--slim-ink);
}

.fit-parts p {
  margin-top: 8rem;
  color: var(--slim-muted);
  font-size: 14rem;
  line-height: 1.62;
}

.fit-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  border-top: 1px solid rgba(125, 75, 68, 0.24);
  border-bottom: 1px solid rgba(125, 75, 68, 0.24);
}

.fit-panel article {
  padding: 34rem 0;
}

.fit-panel article + article {
  border-top: 1px solid rgba(125, 75, 68, 0.18);
}

.fit-panel h3 {
  font-family: var(--NotoSerif);
  font-size: 24rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--slim-ink);
}

.fit-panel p {
  margin-top: 16rem;
  font-size: 16rem;
  line-height: 1.75;
  color: var(--slim-muted);
}

.fit-panel .slim-bullet-list {
  margin-top: 18rem;
}

/* Flow */
.slim-flow {
  background: #8b4f49;
  color: rgba(255, 245, 242, 0.76);
}

.slim-flow .slim-title,
.slim-flow .flow-cards h3 {
  color: #fff;
}

.slim-flow .slim-lead,
.slim-flow .flow-cards p {
  color: rgba(255, 245, 242, 0.76);
}

.slim-flow .slim-eyebrow,
.slim-flow .flow-cards span {
  color: #f0b6aa;
}

.flow-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34rem 24rem;
  margin-top: 62rem;
}

.flow-cards li {
  display: block;
  min-width: 0;
  padding: 0 0 28rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.flow-cards span {
  display: block;
  margin-top: 22rem;
  font-size: 34rem;
  line-height: 1;
}

.flow-card__media {
  overflow: hidden;
  background: rgba(255, 245, 242, 0.08);
}

.flow-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.flow-cards li > span,
.flow-cards li > div {
  padding: 0 24rem;
}

.flow-cards h3 {
  margin-top: 12rem;
  font-family: var(--NotoSerif);
  font-size: 21rem;
  font-weight: 500;
  line-height: 1.35;
}

.flow-cards p {
  margin-top: 10rem;
  font-size: 16rem;
  line-height: 1.68;
}

/* Medical */
.slim-medical {
  background: #fff;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12rem;
  margin-top: 34rem;
}

.check-list li {
  padding: 14rem 16rem;
  border: 1px solid rgba(125, 75, 68, 0.16);
  color: #59423e;
  font-size: 16rem;
}

.slim-info-block {
  margin-top: 30rem;
  padding: 24rem 0;
  border-top: 1px solid var(--slim-line);
  border-bottom: 1px solid var(--slim-line);
}

.slim-info-block h3 {
  color: var(--slim-ink);
  font-size: 21rem;
  font-weight: 600;
}

.slim-info-block p {
  margin-top: 12rem;
  color: var(--slim-muted);
  font-size: 16rem;
  line-height: 1.75;
}

.slim-subtitle {
  margin-top: 30rem;
  color: var(--slim-ink);
  font-size: 21rem;
  font-weight: 600;
  line-height: 1.45;
}

.drug-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18rem;
  margin-top: 30rem;
}

.drug-card {
  min-width: 0;
  border-top: 1px solid rgba(125, 75, 68, 0.2);
  border-bottom: 1px solid rgba(125, 75, 68, 0.14);
  background: rgba(255, 245, 242, 0.5);
}

.drug-card figure {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #fff0ec;
}

.drug-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drug-card > div {
  padding: 24rem 22rem 26rem;
}

.drug-card span {
  display: block;
  color: #b96f63;
  font-size: 14rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.drug-card h3 {
  margin-top: 10rem;
  color: var(--slim-ink);
  font-family: var(--NotoSerif);
  font-size: 24rem;
  font-weight: 500;
  line-height: 1.35;
}

.drug-card p {
  margin-top: 12rem;
  color: var(--slim-muted);
  font-size: 15rem;
  line-height: 1.68;
}

.slim-caution {
  margin-top: 24rem;
  padding-top: 22rem;
  border-top: 1px solid rgba(125, 75, 68, 0.18);
  color: #80605a;
  font-size: 15rem;
  line-height: 1.7;
}

/* Cell */
.slim-cell {
  background: #fff5f2;
}

.cell-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72rem;
  align-items: center;
  margin-top: 70rem;
}

.cell-wrap figure {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f4ddd8;
}

.cell-wrap figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cell-cards {
  border-top: 1px solid var(--slim-line);
  border-bottom: 1px solid var(--slim-line);
}

.cell-cards article {
  padding: 44rem 0;
}

.cell-cards article + article {
  border-top: 1px solid var(--slim-line);
}

.cell-cards span {
  display: block;
  color: #b96f63;
  font-size: 15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cell-cards h3 {
  margin-top: 14rem;
  font-family: var(--NotoSerif);
  font-size: 24rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--slim-ink);
}

.cell-cards p {
  margin-top: 16rem;
  max-width: 720rem;
  color: var(--slim-muted);
  font-size: 16rem;
  line-height: 1.75;
}

.cell-cards .slim-bullet-list {
  margin-top: 18rem;
}

/* Closing */
.slim-closing {
  padding: 150rem 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(49, 33, 31, 0.66), rgba(49, 33, 31, 0.76)),
    url("../img/slimming-bodyline.webp") center 44% / cover no-repeat;
  color: #fff;
}

.slim-closing .slim-eyebrow,
.slim-closing .slim-title {
  color: #fff;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24rem;
  margin-top: 60rem;
}

.option-grid article {
  padding: 32rem 26rem;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.option-grid span {
  color: #f0b6aa;
  font-size: 15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.option-grid h3 {
  margin-top: 14rem;
  font-size: 24rem;
  font-weight: 600;
}

.option-grid p {
  margin-top: 12rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16rem;
  line-height: 1.65;
}

.closing-copy {
  max-width: 760rem;
  margin: 44rem auto 34rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18rem;
  line-height: 1.75;
}

.slim-closing .slim-btn + .slim-btn {
  margin-left: 10rem;
}

.slim-page .slim-copy,
.slim-page :where(
  .slim-lead,
  .easy-card p,
  .slim-note,
  .cut-program__card p,
  .cut-feature,
  .cut-list p,
  .slim-detail-list li,
  .slim-bullet-list li,
  .fit-parts p,
  .flow-cards p,
  .slim-info-block p,
  .check-list li,
  .drug-card p,
  .slim-caution,
  .cell-cards p,
  .cell-cards .slim-bullet-list li,
  .option-grid p,
  .closing-copy,
  .ft .note,
  .ft .legal
) {
  font-size: var(--slim-content-size) !important;
}

@media screen and (max-width: 1280px) {
  .slim-page .container {
    width: 100%;
    padding: 0 28rem;
  }

  .slim-page .slim-section,
  .slim-closing {
    padding: 96rem 0;
  }

  .easy-grid,
  .cut-hero,
  .cut-program,
  .cell-wrap,
  .split-wrap {
    grid-template-columns: 1fr;
  }

  .split-wrap--reverse .split-media,
  .split-wrap--reverse .split-copy {
    order: initial;
  }

  .easy-grid,
  .cut-hero,
  .cut-program,
  .cell-wrap,
  .fit-parts {
    gap: 24rem;
  }

  .fit-grid {
    gap: 34rem 42rem;
  }

  .flow-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .fit-parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 0;
  }

  .fit-parts article {
    border-right: 0;
    border-bottom: 1px solid rgba(125, 75, 68, 0.14);
    padding: 22rem 0;
  }
}

@media screen and (max-width: 640px) {
  .slim-page .slim-hero .tit_box {
    font-size: clamp(42rem, 11.5vw, 48rem) !important;
  }

  .slim-page .slim-title {
    font-size: clamp(26rem, 6.6vw, 34rem);
  }

  .slim-page .slim-lead,
  .closing-copy {
    font-size: 16rem;
    line-height: 1.72;
  }

  .slim-hero__media img {
    object-position: 58% center;
  }

  .slim-hero.visual_sect .txt_box {
    width: calc(100% - 48rem);
  }

  .slim-hero.visual_sect .txt_box .txt {
    font-size: 15rem !important;
    line-height: 1.7 !important;
  }

  .slim-hero.visual_sect .txt_box .txt br {
    display: block !important;
  }

  .slim-page .slim-btn {
    min-width: 132rem;
    height: 48rem;
    padding: 0 20rem;
    font-size: 14rem;
  }

  .easy-card {
    min-height: 0;
    padding: 28rem 0;
    background: transparent;
  }

  .cut-hero__copy .slim-title {
    padding-bottom: 18rem;
  }

  .cut-hero__copy .slim-lead {
    margin-top: 28rem;
  }

  .cut-program__card {
    padding: 64rem 24rem 28rem;
  }

  .cut-program__card h3 {
    font-size: 27rem;
  }

  .cut-program__card::before {
    top: 20rem;
    left: 24rem;
    font-size: 62rem;
  }

  .cut-feature__icon {
    width: 64rem;
    height: 64rem;
    margin-bottom: 14rem;
  }

  .cut-feature__icon svg {
    width: 31rem;
    height: 31rem;
  }

  .cut-feature-grid {
    grid-template-columns: 1fr;
    gap: 18rem;
    margin-top: 30rem;
    padding: 12rem 0 0;
    border-radius: 0;
  }

  .cut-feature {
    padding: 0 0 18rem;
  }

  .cut-feature + .cut-feature {
    border-left: 0;
    border-top: 1px solid rgba(125, 75, 68, 0.14);
    padding-top: 18rem;
  }

  .cut-list article,
  .flow-cards li {
    gap: 16rem;
  }

  .check-list,
  .drug-grid,
  .slim-detail-list,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .split-media,
  .cell-wrap figure {
    aspect-ratio: 4 / 4.8;
  }

  .fit-parts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow-cards {
    grid-template-columns: 1fr;
  }

  .flow-cards li > span,
  .flow-cards li > div {
    padding: 0 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slim-hero__media img {
    transform: none !important;
    transition: none !important;
  }
}
