@charset "UTF-8";
/* ==========================================================
   jia soap cream 商品ページ PC用
   /item/jia/soap-cream/
   画像：/images/item/jia/soapcream/
   サイズは calc(var(--unit) * n)：n はカンプ（2000px幅）で測ったpx。画面幅1540px以上でそのままのpx、狭いと比率で縮小
   ========================================================== */

/* ==========================================================
   共通
   ========================================================== */
/* --unit を長さとして登録：計算した値（px）のまま子孫に引き継ぐ。
   未登録だと縦書きの要素で 100cqi が画面の高さ基準になり、文字が小さくなるため */
@property --unit {
  syntax: "<length>";
  inherits: true;
  initial-value: 1px;
}

@keyframes accordion_fade_in {
  from {
    opacity: 0;
    transform: translateY(-0.5em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.jia_soap_cream {
  /* font-family */
  --font_family_sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font_family_serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font_family_english: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;

  /* color */
  --color_night: #090a26;
  --color_navy: #1e2b6f;
  --color_light_blue: #8eb0ff;
  --color_mist: #eff2f4;
  --color_gray_light: #dde1e6;
  --color_lock: #09206b;
  --color_gold: #d8bb6a;
  --color_note: #b9bccb;
  --color_note_dark: #666;
  --color_voice: #b8c7db;
  --color_text: #232323;
  --color_white: #fff;
  --color_ink: #00072d;

  /* 見出しの光彩（--unit は使う側の要素で計算される） */
  --glow: 0 0 calc(var(--unit) * 20) rgba(170, 190, 255, 0.55), 0 0 calc(var(--unit) * 4) rgba(255, 255, 255, 0.5);

  /* 縮小用の単位：画面幅1540px以上でデザインの1px＝1px、最小幅まで比率で縮小 */
  --minimum_width: 62.5rem;             /* 1000px：サイト共通ヘッダーの幅に合わせる */

  container-type: inline-size;
  min-width: var(--minimum_width);

  font-family: var(--font_family_sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color_text);
  font-feature-settings: "palt";
  font-optical-sizing: none;            /* Bodoni Moda を大きいサイズでも細くしない（継承される） */

  & * {
    box-sizing: border-box;
  }
  & img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  .smartphone_only {
    display: none;
  }
  /* 縮小用の単位はセクション（横書き）で計算して、中の要素に引き継ぐ */
  & > * {
    --unit: calc(clamp(var(--minimum_width), 100cqi, 96.25rem) / 1540); /* デザインの1px */
  }
  .inner {
    width: 100%;
    max-width: calc(var(--unit) * 1540); /* コンテンツ1460px + 左右余白80px */
    margin: 0 auto;
    padding: 0 calc(var(--unit) * 40);
  }
  & sup {
    font-size: 0.6em;
    line-height: 0;
  }
  & rt {
    font-family: var(--font_family_sans);
    font-size: 0.4em;
    text-align: right;
    text-shadow: none;
    margin-right: -1rem;
  }


  /* 本文の基本（セクションごとに必要な分だけ上書き） */
  .text,
  .text_second {
    font-size: calc(var(--unit) * 26);
    line-height: 2.1;
  }

  /* ---------- アコーディオンの開閉アニメーション（CSSのみ） ----------
     ① 対応ブラウザ（Chrome / Edge 131以降など）：高さがスルッと伸び縮みする
     ② それ以外：開いたときに中身がふわっと表示される（閉じるときは即時） */
  & details[open] > :not(summary) {
    animation: accordion_fade_in 0.4s ease;
  }
  @supports (interpolate-size: allow-keywords) {
    interpolate-size: allow-keywords; /* height: auto へのアニメーションを許可 */

    & details::details-content {
      block-size: 0;
      overflow: hidden;
      transition: block-size 0.4s ease, content-visibility 0.4s allow-discrete;
    }
    & details[open]::details-content {
      block-size: auto;
    }
  }

  /* ---------- ボタン ---------- */
  .button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--unit) * 480);
    height: calc(var(--unit) * 88);
    padding-right: calc(var(--unit) * 40);
    background: var(--color_gold);
    color: var(--color_white);
    font-size: calc(var(--unit) * 32);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
  }
  .button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(var(--unit) * 28);
    width: calc(var(--unit) * 40);
    height: calc(var(--unit) * 40);
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23fff'/%3E%3Cpath d='M11 20h17M21 13l7 7-7 7' fill='none' stroke='%23d8bb6a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* ---------- FEATURE内の共通パーツ ---------- */
  /* 波の背景があるセクション：各セクションで3つの変数を指定するだけ
     --color_previous：波の上（透過部分）に見せる前のセクションの色
     --color_current ：セクション本体の色
     --wave_offset   ：背景画像を下げる量 */
  .wash,
  .charge,
  .lock {
    position: relative;
    isolation: isolate;
    overflow: clip; /* 背景画像の左右のはみ出しを切る */
    background: linear-gradient(var(--color_previous) calc(var(--unit) * 300), var(--color_current) 0);
  }
  .background {
    position: absolute;
    z-index: -1;
    top: var(--wave_offset, 0);
    left: 50%;
    width: max(calc(var(--unit) * 2000), 100%);
    max-width: none;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .number {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(var(--unit) * 202);
    height: calc(var(--unit) * 203);
    margin: 0 auto;
    padding-bottom: calc(var(--unit) * 10);
    background: url("/images/item/jia/soapcream/feature_number_shape.webp") center / contain no-repeat;
    font-family: var(--font_family_english);
    line-height: 1.2;
  }
  .number::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: calc(var(--unit) * 57);
    background: var(--color_night);
  }
  .number_digit {
    color: var(--color_light_blue);
    font-size: calc(var(--unit) * 30);
  }
  .number_label {
    color: var(--color_white);
    font-size: calc(var(--unit) * 38); /* 38px */
  }
  .number_bubble {
    position: absolute;
    z-index: 1;
    width: calc(var(--unit) * 105);
  }
  .heading {
    margin: 0;
    color: var(--color_navy);
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 92);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-align: center;
  }

  .heading_small {
    font-size: 0.7em;
  }
  .vertical_box {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-start;
    column-gap: calc(var(--unit) * 13);
    width: fit-content;
    margin: 0;
  }
  .vertical_box_line {
    display: block;
    padding: calc(var(--unit) * 15) 0;
    background: var(--color_white);
    color: var(--color_navy);
    writing-mode: vertical-rl;
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 46);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.13em;
  }
  .underline {
    color: var(--color_navy);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.5em;
  }
}

/* ==========================================================
   first_view
   ========================================================== */
.first_view {
  padding-bottom: calc(var(--unit) * 160);
  background: var(--color_night) url("/images/item/jia/soapcream/first_view_background_pc.webp") center top / calc(var(--unit) * 2000) auto no-repeat;
  color: var(--color_white);

  .inner {
    display: grid;
    grid-template-columns: calc(var(--unit) * 560) 1fr;
    column-gap: calc(var(--unit) * 64);
  }
  .visual {
    position: relative;
    height: calc(var(--unit) * 848);
  }
  .product {
    position: absolute;
    z-index: 1;
    top: calc(var(--unit) * 95);
    left: calc(var(--unit) * 135);
    width: calc(var(--unit) * 405);
  }
  .badge {
    position: absolute;
    mix-blend-mode: screen;
    top: calc(var(--unit) * 75);
    left: calc(var(--unit) * 158);
    width: calc(var(--unit) * 225);
  }
  .vertical_copy {
    position: absolute;
    top: calc(var(--unit) * 180);
    left: 0;
    margin: 0;
    writing-mode: vertical-rl;
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 36);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.12em;
  }
  .vertical_copy_line {
    display: block;
  }
  .vertical_copy_line + .vertical_copy_line {
    padding-top: calc(var(--unit) * 175);
  }
  .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: calc(var(--unit) * 160);
  }
  .title {
    order: 1;
    margin: 0;
    font-family: var(--font_family_serif);
    font-weight: 600;
    text-shadow: var(--glow);
  }
  .title_sub {
    display: block;
    font-size: calc(var(--unit) * 40);
    line-height: 1.6;
  }
  .title_main {
    display: block;
    font-size: calc(var(--unit) * 92);
    font-weight: 600;
    line-height: 1.3;
  }
  & rt {
    font-size: calc(var(--unit) * 14);
  }
  .product_list {
    order: 2;
    margin: calc(var(--unit) * 72) 0 0;
    padding: 0;
    font-size: inherit;
    font-weight: 400;
    text-shadow: var(--glow);
  }
  .product_item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: calc(var(--unit) * 10);
    line-height: 1.6;
  }
  .product_item + .product_item {
    margin-top: calc(var(--unit) * 10);
  }
  .product_english {
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 36);
  }
  .product_japanese {
    white-space: nowrap;
    font-size: calc(var(--unit) * 20);
  }
  .button {
    order: 3;
    margin-top: calc(var(--unit) * 56);
  }
  .note {
    order: 4;
    margin: calc(var(--unit) * 40) 0 0;
    color: var(--color_note);
    font-size: calc(var(--unit) * 16);
    line-height: 1.75;
    letter-spacing: calc(var(--unit) * 0.8);
  }
}

/* ==========================================================
   introduction
   ========================================================== */
.introduction {
  padding: calc(var(--unit) * 32) 0 calc(var(--unit) * 128);
  background: var(--color_night);
  color: var(--color_white);
  text-align: center;

  .title {
    margin: 0;
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 48);
    font-weight: 600;
    line-height: 1.6;
    text-wrap: balance;
    text-shadow: var(--glow);
  }
  .text {
    margin: calc(var(--unit) * 88) 0 0;
    line-height: 2.7;
  }
}

/* ==========================================================
   feature
   ========================================================== */
.feature {
  background: var(--color_night);
  color: var(--color_white);

  .inner {
    position: relative;
    display: grid;
    grid-template-columns: calc(var(--unit) * 730) calc(var(--unit) * 610);
    column-gap: calc(var(--unit) * 60);
    justify-content: center;
    align-items: start;
    max-width: calc(var(--unit) * 1480);
    padding: calc(var(--unit) * 195) calc(var(--unit) * 40) calc(var(--unit) * 109);
  }
  .title {
    margin: 0;
    font-weight: 400;
    text-shadow: var(--glow);
  }
  .title_english {
    position: absolute;
    top: calc(var(--unit) * 47);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 68);
    line-height: 1.2;
  }
  .title_japanese {
    display: block;
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 46);
    line-height: 1.74;
    font-weight: 600;
  }
  .text {
    margin: calc(var(--unit) * 38) 0 0;
    line-height: 2.3;
  }
  .note {
    margin: calc(var(--unit) * 21) 0 0;
    color: var(--color_note);
    font-size: calc(var(--unit) * 17);
    line-height: 1.65;
  }
  .step_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: calc(var(--unit) * 54);
    margin: calc(var(--unit) * 10) 0 0;
    padding: 0;
    list-style: none;
  }
  .step_item {
    padding-top: calc(var(--unit) * 46);
    border-radius: 999px;
    background: linear-gradient(to bottom, #14227c 0%, #0b0f46 70%, rgba(9, 10, 38, 0) 100%);
    text-align: center;
  }
  .step_number {
    margin: 0;
    color: var(--color_light_blue);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 32);
    line-height: 1.2;
  }
  .step_text {
    margin: calc(var(--unit) * 29) 0 0;
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 36);
    font-weight: 600;
    line-height: 1.39;
    /* letter-spacing: -0.05em; 文字詰め：一旦なし */
  }
  .step_text_small {
    font-size: 0.78em;
  }
  .step_image {
    margin-top: calc(var(--unit) * 12);
    margin-bottom: calc(var(--unit) * -16);
  }
  .step_image_mousse {
    width: 80%;
    margin-left: 10%;
  }
  .step_image_cream {
    width: 87%;
    margin-left: 13.7%;
  }
}

/* ==========================================================
   wash
   ========================================================== */
.wash {
  --color_previous: var(--color_night);
  --color_current: var(--color_mist);
  --wave_offset: calc(var(--unit) * 14);

  .inner {
    padding-bottom: calc(var(--unit) * 116);
  }
  .heading {
    margin-top: calc(var(--unit) * 72);
  }
  .vertical_box {
    margin: calc(var(--unit) * 70) 0 0 calc(var(--unit) * 195);
  }
  .text {
    font-weight: 500;
    margin: calc(var(--unit) * 220) 0 0;
    letter-spacing: 0.05em;
    text-align: center;
  }
}

/* ==========================================================
   charge
   ========================================================== */
.charge {
  --color_previous: var(--color_mist);
  --color_current: var(--color_white);
  --wave_offset: calc(var(--unit) * 18);

  .inner {
    padding-bottom: calc(var(--unit) * 112);
  }
  .number_bubble {
    top: calc(var(--unit) * -25);
    left: calc(var(--unit) * -28);
  }
  .heading {
    margin-top: calc(var(--unit) * 63);
  }
  .vertical_box {
    margin: calc(var(--unit) * 42) 0 0 calc(var(--unit) * 403);
  }
  .ingredient {
    display: grid;
    grid-template-columns: auto 1fr calc(var(--unit) * 694);
    grid-template-areas:
      "text text image"
      "second second image"
      "note depth depth";
    align-items: start;
    margin-top: calc(var(--unit) * 63);
    padding: 0 calc(var(--unit) * 111) 0 calc(var(--unit) * 122);
  }
  .text,
  .text_second {
    font-weight: 500;
  }
  .text {
    grid-area: text;
    margin: calc(var(--unit) * 21) 0 0;
  }
  .text_second {
    grid-area: second;
    margin: calc(var(--unit) * 32) 0 0;
    line-height: 2.05;
  }
  .text_second rt {
    font-size: 0.6em;
  }
  .ingredient_image {
    grid-area: image;
    justify-self: end;
    width: calc(var(--unit) * 669);
  }
  .ingredient_note,
  .depth_note {
    margin: calc(var(--unit) * 41) 0 0;
    color: var(--color_note_dark);
    font-size: calc(var(--unit) * 16);
  }
  .ingredient_note {
    grid-area: note;
  }
  .depth_note {
    grid-area: depth;
    margin-left: calc(var(--unit) * 20);
  }
  .point {
    position: relative;
    display: grid;
    grid-template-columns: calc(var(--unit) * 547) auto;
    grid-template-areas:
      "label label"
      "image copy";
    column-gap: calc(var(--unit) * 63);
    justify-content: center;
    align-items: start;
    max-width: calc(var(--unit) * 1036);
    margin: calc(var(--unit) * 65) auto 0;
    padding-bottom: calc(var(--unit) * 82);
    border: 2px dotted #1b2774;
  }
  .point_bubble {
    position: absolute;
    top: calc(var(--unit) * -105);
    left: calc(var(--unit) * -42);
    width: calc(var(--unit) * 200);
  }
  .point_label {
    grid-area: label;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--unit) * 220);
    height: calc(var(--unit) * 88);
    margin: 0 auto;
    clip-path: circle(calc(var(--unit) * 112.75) at 50% calc(var(--unit) * -24.75)); /* 円の一部（弓形）で切り抜く */
    background: var(--color_gray_light);
    color: var(--color_navy);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 30);
  }
  .point_image {
    grid-area: image;
    width: 100%;
    margin-top: calc(var(--unit) * 47);
  }
  .point_copy {
    grid-area: copy;
    margin: calc(var(--unit) * 87) 0 0;
    color: var(--color_navy);
    writing-mode: vertical-rl;
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 48);
    font-weight: 600;
    line-height: 1.88;
    letter-spacing: 0.05em;
  }
}

/* ==========================================================
   lock
   ========================================================== */
.lock {
  --color_previous: var(--color_white);
  --color_current: var(--color_lock);
  --wave_offset: calc(var(--unit) * 8);
  color: var(--color_white);

  .inner {
    padding-bottom: calc(var(--unit) * 156);
  }
  .number_bubble {
    top: calc(var(--unit) * 6);
    left: calc(var(--unit) * 166);
  }
  .heading {
    margin-top: calc(var(--unit) * 55);
    color: var(--color_white);
    font-size: calc(var(--unit) * 84);
    /* letter-spacing: -0.04em; 文字詰め：一旦なし */
  }
  .detail {
    display: grid;
    grid-template-columns: calc(var(--unit) * 670) 1fr;
    column-gap: calc(var(--unit) * 66);
    align-items: start;
    margin-top: calc(var(--unit) * 79);
    padding-left: calc(var(--unit) * 24);
  }
  .diagram {
    width: 100%;
  }
  .detail_text {
    padding-top: calc(var(--unit) * 75);
  }
  .highlight {
    margin: 0;
  }
  .highlight_line {
    display: block;
    width: fit-content;
    padding: 0 calc(var(--unit) * 20);
    background: var(--color_gray_light);
    color: var(--color_navy);
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 48);
    font-weight: 600;
    line-height: calc(var(--unit) * 75);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .highlight_line + .highlight_line {
    margin-top: calc(var(--unit) * 12);
  }
  .highlight_line rt {
    position: relative;
    bottom: calc(var(--unit) * -8);
  }
  .text {
    margin: calc(var(--unit) * 55) 0 0;
    padding-left: calc(var(--unit) * 10);
    line-height: 2.05;
  }
  .highlight + .text {
    margin-top: calc(var(--unit) * 50);
  }
  .underline {
    color: var(--color_white);
    text-decoration-color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
  }
  .button {
    margin-top: calc(var(--unit) * 63);
  }
}

/* ==========================================================
   voice
   ========================================================== */
.voice {
  /* 写真（壁と商品）の表示幅：2000pxのカンプ幅、画面がそれより広ければ画面幅いっぱい */
  --photo_width: max(calc(var(--unit) * 2000), 100%);
  overflow: clip; /* 写真の上と左右のはみ出しを切る */
  padding-bottom: calc(var(--unit) * 100);
  /* 写真以外の背景は2枚の重ね：泡の粒、下の泡の質感。
     声の件数でセクションの高さが変わっても、泡の質感は下端に固定され、間は背景色で埋まる */
  background:
    url("/images/item/jia/soapcream/voice_background_bubble.webp") 50% calc(var(--unit) * 1065) / var(--photo_width) auto no-repeat,
    url("/images/item/jia/soapcream/voice_background_foam.webp") 50% 100% / var(--photo_width) auto no-repeat,
    var(--color_voice);

  /* 写真は画像として置き、上を297px（カンプ幅2000px比）切って、中央揃え。
     margin の % は幅基準なので、写真が拡大縮小しても切る量と見出しの重なりが同じ比率で変わる */
  .background_photo {
    width: var(--photo_width);
    max-width: none;
    margin: calc(var(--photo_width) * -0.1485) 0 0 calc((100% - var(--photo_width)) / 2); /* 297 ÷ 2000 */
  }
  .inner {
    position: relative;
    max-width: calc(var(--unit) * 1280); /* カード1200px + 左右余白80px */
    margin-top: calc(var(--photo_width) * -0.099); /* 写真の下端から198px（カンプ）上に重ねる */
  }
  .title {
    margin: 0;
    color: var(--color_navy);
    font-weight: 400;
    text-align: center;
  }
  .title_english {
    display: block;
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 66);
    line-height: 1.2;
  }
  .title_japanese {
    display: block;
    margin-top: calc(var(--unit) * 17);
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 38);
    line-height: 2.1;
    letter-spacing: 0.08em;
    color: var(--color_ink);
    font-weight: 600;
  }
  .list {
    display: grid;
    row-gap: calc(var(--unit) * 84);
    margin: calc(var(--unit) * 70) 0 0;
    padding: calc(var(--unit) * 40) 0 0; /* 写真がカードの上にはみ出す分 */
    list-style: none;
  }
  .item {
    display: grid;
    grid-template-columns: 1fr calc(var(--unit) * 330);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "heading photo"
      "text photo";
    column-gap: calc(var(--unit) * 48);
    padding: 0 calc(var(--unit) * 54) 0 calc(var(--unit) * 72);
    background: var(--color_white);
  }
  /* 2件目は写真を左に */
  .item:nth-child(even) {
    grid-template-columns: calc(var(--unit) * 330) 1fr;
    grid-template-areas:
      "photo heading"
      "photo text";
    padding: 0 calc(var(--unit) * 55) 0 calc(var(--unit) * 78);
  }
  .photo {
    grid-area: photo;
    position: relative;
    align-self: start;
    margin-top: calc(var(--unit) * -40);
  }
  .photo_image {
    width: 100%;
    border-radius: calc(var(--unit) * 15);
  }
  .name {
    position: absolute;
    right: calc(var(--unit) * -29);
    bottom: calc(var(--unit) * -40);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(var(--unit) * 160);
    height: calc(var(--unit) * 160);
    margin: 0;
    border-radius: 50%;
    background: var(--color_lock);
    color: var(--color_white);
    font-family: var(--font_family_serif);
    font-weight: 600;
  }
  .item:nth-child(even) .name {
    right: auto;
    left: calc(var(--unit) * -52);
  }
  .name_role {
    font-size: calc(var(--unit) * 16);
    line-height: 1.25;
  }
  .name_person {
    font-size: calc(var(--unit) * 30);
    line-height: 1.3;
  }
  .name_honorific {
    font-size: 0.65em;
  }
  .item_heading {
    grid-area: heading;
    margin: 0;
    padding-top: calc(var(--unit) * 80);
    color: var(--color_navy);
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 44);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.02em;
    text-wrap: balance; /* 2行になるとき1文字だけ次の行に残らないように */
  }
  .item_text {
    grid-area: text;
    margin: calc(var(--unit) * 30) 0 0;
    padding-bottom: calc(var(--unit) * 66);
    font-size: calc(var(--unit) * 27);
    font-weight: 400;
    line-height: 1.86;
    letter-spacing: 0.08em;
  }
  .note {
    margin: calc(var(--unit) * 16) 0 0;
    color: var(--color_note_dark);
    font-size: calc(var(--unit) * 18);
    text-align: right;
  }
}

/* ==========================================================
   two_step
   ========================================================== */
.two_step {
  position: relative;
  isolation: isolate;
  overflow: clip; /* 泡・クリームの画像の右はみ出しを切る */
  padding: calc(var(--unit) * 118) 0 calc(var(--unit) * 120);
  background: var(--color_white);

  /* 星空と波の背景は疑似要素で泡の画像より手前に置く。
     泡の画像（白い背景つき）が波の上まで伸びても、紺の部分が隠れないようにするため */
  &::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 50%;
    width: max(calc(var(--unit) * 2000), 100%);
    aspect-ratio: 2000 / 428;
    transform: translateX(-50%);
    background: url("/images/item/jia/soapcream/two_step_background_pc.webp") center top / 100% auto no-repeat;
    pointer-events: none;
  }

  .inner {
    max-width: calc(var(--unit) * 1280); /* コンテンツ1200px + 左右余白80px */
  }
  .title {
    position: relative;
    z-index: 1; /* 星空の背景より手前 */
    margin: 0;
    color: var(--color_white);
    font-family: var(--font_family_serif);
    font-weight: 600;
    text-align: center;
    text-shadow: var(--glow);
  }
  .title_sub {
    display: block;
    font-size: calc(var(--unit) * 36);
    line-height: 1.6;
  }
  .title_main {
    display: block;
    font-size: calc(var(--unit) * 100);
    line-height: 1.2;
  }

  /* ---------- Step ---------- */
  .step {
    position: relative;
    padding-left: calc(var(--unit) * 194); /* 商品画像の分 */
  }
  .step_mousse {
    margin-top: calc(var(--unit) * 258);
  }
  .step_cream {
    margin-top: calc(var(--unit) * 186);
  }
  .step_texture {
    position: absolute;
    z-index: -1;
    max-width: none;
  }
  .step_mousse .step_texture {
    top: calc(var(--unit) * -118);
    left: calc(var(--unit) * 510);
    width: calc(var(--unit) * 1090);
  }
  .step_cream .step_texture {
    top: calc(var(--unit) * -114);
    left: calc(var(--unit) * 764);
    width: calc(var(--unit) * 827);
  }
  .step_product {
    position: absolute;
    left: calc(var(--unit) * -17);
  }
  .step_mousse .step_product {
    top: calc(var(--unit) * -42);
    width: calc(var(--unit) * 142);
  }
  .step_cream .step_product {
    top: calc(var(--unit) * 21);
    width: calc(var(--unit) * 169);
  }
  .step_label {
    margin: 0;
    color: #dfe6e9;
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 80);
    line-height: 1;
  }
  .step_name {
    margin: calc(var(--unit) * 22) 0 0;
    color: var(--color_lock);
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 42);
    font-weight: 600;
    line-height: 1.4;
  }
  .step_english {
    width: fit-content;
    margin: calc(var(--unit) * 28) 0 0;
    padding: 0 calc(var(--unit) * 20);
    border: 1px solid var(--color_lock);
    color: var(--color_lock);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 20);
    line-height: calc(var(--unit) * 40);
  }
  .step_catch {
    margin: calc(var(--unit) * 45) 0 0;
    color: var(--color_lock);
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 44);
    font-weight: 600;
    line-height: 1.66;
  }
  .step_text {
    margin: calc(var(--unit) * 22) 0 0;
    color: var(--color_ink);
    font-size: calc(var(--unit) * 28);
    font-weight: 500;
    line-height: 2;
  }

  /* ---------- 成分のアコーディオン（details / summary：JSなしで開閉） ---------- */
  .step + .accordion {
    margin-top: calc(var(--unit) * 150);
  }
  .accordion_button {
    position: relative;
    display: block; /* 古いSafariは summary の flex に未対応のため、行の高さで上下中央にする */
    line-height: calc(var(--unit) * 100);
    text-align: center;
    background: var(--color_lock);
    color: var(--color_white);
    font-size: calc(var(--unit) * 30);
    font-weight: 700;
    list-style: none; /* 標準の三角を消す */
    cursor: pointer;
  }
  .accordion_button::-webkit-details-marker {
    display: none; /* Safari の標準の三角を消す */
  }
  /* 矢印：閉じているときは下向き、開いたら上向き */
  .accordion_button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(var(--unit) * 60);
    width: calc(var(--unit) * 16);
    height: calc(var(--unit) * 16);
    border-right: 2px solid var(--color_white);
    border-bottom: 2px solid var(--color_white);
    transform: translateY(-75%) rotate(45deg);
    transition: transform 0.3s;
  }
  .accordion[open] .accordion_button::after {
    transform: translateY(-25%) rotate(-135deg);
  }
  .accordion_body {
    padding: calc(var(--unit) * 42) calc(var(--unit) * 72) calc(var(--unit) * 73);
    background: var(--color_mist);
  }
  .ingredient_list {
    display: grid;
    row-gap: calc(var(--unit) * 40);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .ingredient_item {
    display: grid;
    grid-template-columns: calc(var(--unit) * 182) 1fr;
    grid-template-areas: "image content";
    column-gap: calc(var(--unit) * 25);
    align-items: center;
  }
  .ingredient_image {
    grid-area: image;
    width: 100%;
    border-radius: 50%;
  }
  .ingredient_content {
    grid-area: content;
  }
  .ingredient_name {
    margin: 0;
    color: var(--color_lock);
    font-size: calc(var(--unit) * 32);
    font-weight: 700;
    line-height: 1.4;
  }
  .ingredient_text {
    margin: calc(var(--unit) * 10) 0 0;
    color: var(--color_ink);
    font-size: calc(var(--unit) * 24);
    line-height: 1.67;
  }
  .ingredient_note {
    margin: calc(var(--unit) * 8) 0 0;
    color: var(--color_note_dark);
    font-size: calc(var(--unit) * 16);
  }
  .ingredient_note_right {
    text-align: right;
  }
  .special {
    margin-top: calc(var(--unit) * 60);
  }
  .special_title {
    margin: 0;
    color: var(--color_lock);
    font-size: calc(var(--unit) * 36);
    font-weight: 700;
    line-height: 1.5;
  }
  .special_content {
    display: grid;
    grid-template-columns: 1fr calc(var(--unit) * 182);
    grid-template-areas: "text image";
    column-gap: calc(var(--unit) * 20);
    align-items: center;
    margin-top: calc(var(--unit) * 10);
  }
  .special_text {
    grid-area: text;
    margin: 0;
    color: var(--color_ink);
    font-size: calc(var(--unit) * 24);
    line-height: 1.67;
  }
  .accordion_note {
    margin: calc(var(--unit) * 75) 0 0;
    color: var(--color_note_dark);
    font-size: calc(var(--unit) * 16);
  }
}

/* ==========================================================
   how_to_use
   ========================================================== */
.how_to_use {
  padding: calc(var(--unit) * 73) 0 calc(var(--unit) * 60);
  background: var(--color_white);

  .inner {
    max-width: calc(var(--unit) * 1280);
  }

  /* ---------- 見出しとビジュアル ---------- */
  .lead {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0 calc(var(--unit) * 20) 0 calc(var(--unit) * 24);
  }
  .title {
    margin: 0;
    color: var(--color_lock);
    font-weight: 400;
  }
  .title_sub {
    display: block;
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 46);
    font-weight: 600;
    line-height: 1.5;
  }
  .title_english {
    display: block;
    margin-top: calc(var(--unit) * 12);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 84);
    line-height: 1.2;
  }
  .visual {
    display: flex;
    align-items: center;
    column-gap: calc(var(--unit) * 24);
    padding-top: calc(var(--unit) * 82); /* ボトルがカプセルの上にはみ出す分 */
  }
  .capsule {
    position: relative;
    width: calc(var(--unit) * 232);
    height: calc(var(--unit) * 340);
    border-radius: 116px;
    background: #dfe6e9;
  }
  .capsule_label {
    position: absolute;
    top: 50%;
    left: -2.5%;
    color: var(--color_white);
    writing-mode: vertical-rl;
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 48);
    line-height: 1;
    transform: translateY(-50%);
  }
  .capsule_product {
    position: absolute;
    left: calc(var(--unit) * 62);
  }
  .capsule_product_mousse {
    top: calc(var(--unit) * -82);
    width: calc(var(--unit) * 95);
  }
  .capsule_product_cream {
    top: calc(var(--unit) * -27);
    width: calc(var(--unit) * 105);
  }
  /* 点線の矢印 */
  .arrow {
    position: relative;
    width: calc(var(--unit) * 64);
    height: calc(var(--unit) * 16);
  }
  .arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: calc(var(--unit) * 46);
    border-top: 2px dotted var(--color_ink);
  }
  .arrow::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: calc(var(--unit) * 16);
    height: calc(var(--unit) * 16);
    background: var(--color_ink);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }

  /* ---------- 使い方のカード ---------- */
  .card_list {
    display: grid;
    grid-template-columns: calc(var(--unit) * 641) calc(var(--unit) * 643);
    column-gap: calc(var(--unit) * 44);
    justify-content: center;
    margin: calc(var(--unit) * 178) calc(var(--unit) * -64) 0; /* カードはコンテンツ幅より左右64pxずつ広い */
  }
  .card {
    position: relative;
    border-radius: calc(var(--unit) * 30);
    background: var(--color_mist);
  }
  .card_soap {
    padding: calc(var(--unit) * 60) calc(var(--unit) * 40) calc(var(--unit) * 69) calc(var(--unit) * 117);
  }
  .card_cream {
    padding: calc(var(--unit) * 72) calc(var(--unit) * 80) calc(var(--unit) * 64) calc(var(--unit) * 52);
  }
  /* 見出しはカードの上辺にまたがる */
  .card_title {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    color: var(--color_lock);
    font-family: var(--font_family_serif);
    font-size: calc(var(--unit) * 36);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-align: center;
    transform: translateY(-50%);
  }
  /* 見出しの後ろの薄い英字 */
  .card_ghost {
    position: absolute;
    z-index: -1;
    bottom: 50%;
    left: 50%;
    margin-bottom: -0.17em;
    color: var(--color_mist);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 140);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    transform: translateX(-50%);
  }
  .card_product {
    position: absolute;
  }
  .card_soap .card_product {
    top: calc(var(--unit) * 92);
    left: calc(var(--unit) * -60);
    width: calc(var(--unit) * 123);
  }
  .card_cream .card_product {
    top: calc(var(--unit) * 165);
    right: calc(var(--unit) * -70);
    width: calc(var(--unit) * 136);
  }
  .use_list {
    display: grid;
    row-gap: calc(var(--unit) * 35);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .use_item {
    display: grid;
    grid-template-columns: calc(var(--unit) * 180) 1fr;
    column-gap: calc(var(--unit) * 26);
    align-items: center;
  }
  .use_image {
    width: 100%;
    border-radius: 50%;
    background: var(--color_white); /* イラストは透過なので白い丸を敷く */
  }
  .use_number {
    margin: 0;
    color: var(--color_lock);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 30);
    line-height: 1.3;
  }
  .use_text {
    margin: calc(var(--unit) * 4) 0 0;
    color: var(--color_ink);
    font-size: calc(var(--unit) * 28);
    font-weight: 500;
    line-height: 1.6;
  }
}

/* ==========================================================
   question_answer
   ========================================================== */
.question_answer {
  padding: calc(var(--unit) * 88) 0 calc(var(--unit) * 120);
  background: var(--color_white);

  .inner {
    max-width: calc(var(--unit) * 1280); /* コンテンツ1200px + 左右余白80px */
  }
  /* FEATUREの番号と同じ紺の花形 */
  .title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--unit) * 202);
    height: calc(var(--unit) * 203);
    margin: 0 auto;
    background: url("/images/item/jia/soapcream/feature_number_shape.webp") center / contain no-repeat;
    color: var(--color_white);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 40);
    font-weight: 400;
    line-height: 1;
  }
  .list {
    display: grid;
    row-gap: calc(var(--unit) * 32);
    margin-top: calc(var(--unit) * 60);
  }
  .item {
    border-radius: calc(var(--unit) * 30) 0 0 0;    
    background: var(--color_mist);
  }
  /* 質問（details / summary：JSなしで開閉） */
  .question {
    position: relative;
    display: block; /* 古いSafariは summary の flex / grid に未対応のため block のまま */
    min-height: calc(var(--unit) * 124);
    padding: calc(var(--unit) * 39) calc(var(--unit) * 90) calc(var(--unit) * 39) calc(var(--unit) * 107);
    color: var(--color_lock);
    font-size: calc(var(--unit) * 30);
    font-weight: 700;
    line-height: 1.55;
    list-style: none; /* 標準の三角を消す */
    cursor: pointer;
  }
  .question::-webkit-details-marker {
    display: none; /* Safari の標準の三角を消す */
  }
  /* 矢印：閉じているときは下向き、開いたら上向き */
  .question::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(var(--unit) * 44);
    width: calc(var(--unit) * 14);
    height: calc(var(--unit) * 14);
    border-right: 2px solid var(--color_lock);
    border-bottom: 2px solid var(--color_lock);
    transform: translateY(-75%) rotate(45deg);
    transition: transform 0.3s;
  }
  .item[open] .question::after {
    transform: translateY(-25%) rotate(-135deg);
  }
  /* 左の「Q」：左上と右下だけ丸い葉の形 */
  .question_mark {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--unit) * 80);
    border-radius: calc(var(--unit) * 30) 0 calc(var(--unit) * 40) 0;
    background: var(--color_lock);
    color: var(--color_white);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 44);
    font-weight: 400;
    line-height: 1;
  }
  .answer {
    display: grid;
    grid-template-columns: calc(var(--unit) * 52) 1fr;
    padding: calc(var(--unit) * 29) calc(var(--unit) * 43) calc(var(--unit) * 62) calc(var(--unit) * 29);
  }
  .answer_mark {
    color: var(--color_lock);
    font-family: var(--font_family_english);
    font-size: calc(var(--unit) * 34);
    line-height: calc(var(--unit) * 44); /* 回答の1行目と高さを揃える */
  }
  .answer_text {
    margin: 0;
    color: var(--color_ink);
    font-size: calc(var(--unit) * 24);
    line-height: 1.85;
    letter-spacing: 0.04em;
  }
  .answer_note {
    grid-column: 2;
    margin: calc(var(--unit) * 8) 0 0;
    color: var(--color_note_dark);
    font-size: calc(var(--unit) * 16);
    text-align: right;
  }
}

/* ==========================================================
   purchase
   ========================================================== */
   .purchase {
    padding: calc(var(--unit) * 238) 0 calc(var(--unit) * 167);
    /* 星空と上の白い波：波の上（透過部分）は前のセクションの白 */
    background:
      url("/images/item/jia/soapcream/purchase_background_pc.webp") center top / max(calc(var(--unit) * 2000), 100%) auto no-repeat,
      linear-gradient(var(--color_white) calc(var(--unit) * 150), var(--color_night) 0);
  
    .inner {
      max-width: calc(var(--unit) * 1280); /* カード1200px + 左右余白80px */
    }
    .box {
      background: var(--color_white);
    }
    .title {
      margin: 0;
      background: var(--color_gold);
      color: var(--color_white);
      font-size: calc(var(--unit) * 42);
      font-weight: 700;
      line-height: calc(var(--unit) * 107);
      letter-spacing: 0.05em;
      text-align: center;
    }
    .product_list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding: calc(var(--unit) * 34) 0 calc(var(--unit) * 53);
    }
    .product {
      padding: 0 calc(var(--unit) * 35);
      text-align: center;
    }
    .product + .product {
      border-left: 1px solid #ccd3d8;
    }
  
    /* 商品のビジュアル（HOW TO USEと同じカプセル） */
    .capsule {
      position: relative;
      width: calc(var(--unit) * 232);
      height: calc(var(--unit) * 340);
      margin: calc(var(--unit) * 82) auto 0; /* 商品がカプセルの上にはみ出す分 */
      border-radius: calc(var(--unit) * 116);
      background: #dfe6e9;
    }
    .capsule_label {
      position: absolute;
      top: 50%;
      left: -2.5%;
      color: var(--color_white);
      writing-mode: vertical-rl;
      font-family: var(--font_family_english);
      font-size: calc(var(--unit) * 48);
      line-height: 1;
      transform: translateY(-50%);
    }
    .capsule_product {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
    .product_mousse .capsule_product {
      top: calc(var(--unit) * -40);
      width: calc(var(--unit) * 90);
      left: 47%;
      transform: translateX(-47%);
    }
    .product_cream .capsule_product {
      top: calc(var(--unit) * -17);
      width: calc(var(--unit) * 105);
    }
  
    .product_name {
      margin: calc(var(--unit) * 23) 0 0;
      color: #232323;
      font-size: calc(var(--unit) * 34);
      font-weight: 700;
      line-height: 1.4;
    }
    .product_capacity {
      margin: 0;
      color: #232323;
      font-size: calc(var(--unit) * 26);
      line-height: 1.4;
    }
    .product_capacity_small {
      font-size: 0.75em;
    }
    .plan {
      margin-top: calc(var(--unit) * 40);
    }
    .plan_regular {
      margin-top: calc(var(--unit) * 39);
      padding-top: calc(var(--unit) * 41);
      border-top: 1px solid #ccd3d8;
    }
    .plan_title {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      color: #232323;
      font-size: calc(var(--unit) * 34);
      font-weight: 700;
      line-height: 1.4;
    }
    .plan_regular .plan_title {
      font-weight: 500;
    }
    .plan_badge {
      display: inline-block;
      margin-right: calc(var(--unit) * 10);
      padding: calc(var(--unit) * 5);
      background: #ba2323;
      color: var(--color_white);
      font-size: calc(var(--unit) * 20);
      font-weight: 500;
      span{
        font-size: calc(var(--unit) * 15);
      }
    }
    .plan_emphasis {
      /* color: #ba2323; */
    }
    .price {
      margin: calc(var(--unit) * 4) 0 0;
      color: #232323;
      font-size: calc(var(--unit) * 30);
      font-weight: 500;
      line-height: 1.4;
    }
    .price_number {
      font-size: calc(var(--unit) * 50);
    }
    .price_tax {
      font-size: 0.5em;
    }
    .price_shipping {
      margin-left: calc(var(--unit) * 16);
      color: #ba2323;
      font-size: calc(var(--unit) * 29);
    }
    .price_shipping .price_tax {
      font-size: 0.55em;
    }
    /* 購入ボタン（input type="submit"）：サイト共通の .btnGreeN の見た目を上書き。
       input には ::after が付けられないので、矢印の丸は背景画像で重ねる */
    .btn_ad_cart {
      display: block;
      width: calc(var(--unit) * 500);
      height: calc(var(--unit) * 88);
      margin: calc(var(--unit) * 19) auto 0;
      padding: 0 calc(var(--unit) * 40) 0 0;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23fff'/%3E%3Cpath d='M11 20h17M21 13l7 7-7 7' fill='none' stroke='%23d8bb6a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right calc(var(--unit) * 28) center / calc(var(--unit) * 40) calc(var(--unit) * 40) no-repeat, var(--color_gold);
      color: var(--color_white);
      font-family: inherit;
      font-size: calc(var(--unit) * 30);
      font-weight: 700;
      letter-spacing: 0.08em;
      cursor: pointer;
      appearance: none;
    }
  }