body {
  margin-top: 0!important;
  padding-top: 0!important;
  color: #eee;
}
.wrapper {
  overflow: hidden;
}
body.page-products div.block-detail {
  max-width: 100%;
  padding: 0;
}
body.page-products div.block-detail--body {
  padding: 0;
  width: 100%;
}

footer {
  z-index: 6;
  color: #000;
  font-family: "EB Garamond", "Noto Serif JP", serif;
  line-height: 1.7;
}

footer p {
  margin-bottom: 0;
}
@media screen and (min-width: 769px) {
  footer .block-footer--other-list a {
    font-size: 14px;
  }
}

/* パンくずリスト */
.pane-topic-path {
  max-width: unset!important;
  padding: 10px 30px!important;
  color: #000;
}
.pane-topic-path--list-item:first-child::before {
  top: 0!important;
}

/* Revico */
.product-reviewArea{
  font-family: "EB Garamond", "Noto Serif JP", serif;
  width: 652px;
  z-index: 1;
  padding-top: 0!important;
  background: #EEEEEE;
  color: #000;
}
.product-reviewArea .product-reviewArea-inner {
  width: 650px;
  box-shadow: 0px 0px 3px #00000040;
  padding: 1em;
  background-color: #EEEEEE;
}
.revico-star .revico-star-graph-wrapper {
  width: 100%;
}
.product-reviewArea .revico-star .revico-logo {
  right: 10px;
}

.revico-star-zone {
  margin: 45px auto 5px;
  color: #000;
}
.revico-star {
  margin-top: 45px;
  margin-bottom: 5px;
  color: #000!important;
}
.revico-widget a.revico-read-more-review {
  display: block!important;
}

@media (max-width: 640px) {
  .revico-widget {
    font-size: 14px!important;
  }
  .product-reviewArea .revico-star .revico-logo {
    right: 30px;
  }
  .product-reviewArea-title h2 {
    font-size: 32px;
  }
  .product-reviewArea-title span,
  .product-reviewArea .revico-star .revico-star-graph-wrapper .revico-star-graph-label,
  .revico-star .revico-star-graph-wrapper .revico-star-graph-list,
  .product-reviewArea .revico-multicomment-top .revico-review-comment-row-wrapper 
  .revico-review-comment-row .revico-review-comment-detail .revico-review-comment-detail--star 
  .revico-review-comment-detail--star-date,
  .product-reviewArea .revico_login_message {
    font-size: 16px!important;
  }
  .product-reviewArea .revico-review-comment-detail--comment--content {
    font-size: 18px;
  }
}

/* カートボタン */
body.page-products .block-cart--buttons {
  width: 100%;
  margin: 0;
}
body.page-products .block-cart--button {
  width: 100%;
  font-family: "Noto Serif JP", Helvetica;
  font-size: 1em;
  padding: 18px 0 35px;
  margin: 0 0 10px!important;
  width: 352px!important;
  height: 52px;
  overflow: hidden;
  position: relative;
}
.block-cart--button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 50px;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: kiran 3s ease-in-out infinite;
}

@keyframes kiran {
  0% {
    left: -30%;
  }
  100% {
    left: 130%;
  }
}

p.block-cart-counseling--cart-in-message {
  color: #000;
}

/* 動画スタイル調整 */
.hacobune-app-container {
  padding: 0!important;
  width: unset!important;
  height: 100%!important;
  max-width: unset!important;
}
.hacobune-univideo,
.hacobune-unit-video,
.hacobune-unit-video-wrap,
.hacobune-unit-video-player,
.hacobune-video-frame,
.hacobune-video-js {
  height: 100%!important;
}
.hacobune-video-js .hacobune-vjs-tech {
  width: unset!important;
}

.WSMR-LP .main-video {
  --kv-h: 50vh;      /* 表示領域の高さ。例: 100dvh / 75vh / 720px など */
  --kv-pos-y: 30%!important;    /* 0%=上 / 50%=中央 / 100%=下（微調整は 85% など） */
}

.WSMR-LP .main-video .hacobune-unit-video-player,
.WSMR-LP .main-video .hacobune-video-frame,
.WSMR-LP .main-video .hacobune-video-js {
  position: relative;
  width: 100%;
  /* height: var(--kv-h) !important; */
  height: 100% !important;
}

.WSMR-LP .main-video .hacobune-video-js.hacobune-vjs-fluid {
  padding-top: 0 !important;
}

.WSMR-LP .main-video video.hacobune-vjs-tech,
.WSMR-LP .main-video .hacobune-vjs-poster {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.WSMR-LP .main-video video.hacobune-vjs-tech {
  object-fit: cover !important;                     /* 全面表示（トリミング有り） */
  object-position: 50% var(--kv-pos-y) !important;  /* 下端寄せ（微調整は変数で） */
}

.WSMR-LP .main-video .hacobune-vjs-poster {
  background-size: cover !important;
  background-position: 50% var(--kv-pos-y) !important;
}

@media screen and (max-width: 768px) {
  .hacobune-unit-video {
    margin: 0!important;
  }
  .hacobune-unit-video-outline {
    display: none!important;
  }

  .WSMR-LP .main-video {
    --kv-h: 50vh;      /* 表示領域の高さ。例: 100dvh / 75vh / 720px など */
    --kv-pos-y: 20%!important;    /* 0%=上 / 50%=中央 / 100%=下（微調整は 85% など） */
  }
    
  .WSMR-LP .main-video .hacobune-unit-video-player,
  .WSMR-LP .main-video .hacobune-video-frame,
  .WSMR-LP .main-video .hacobune-video-js {
    position: relative;
    width: 100%;
    height: 100%!important;
  }
  
  .WSMR-LP .main-video .hacobune-video-js.hacobune-vjs-fluid {
    padding-top: 0 !important;
  }
  
  .WSMR-LP .main-video video.hacobune-vjs-tech,
  .WSMR-LP .main-video .hacobune-vjs-poster {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }
  
  .WSMR-LP .main-video video.hacobune-vjs-tech {
    object-fit: cover !important;                     /* 全面表示（トリミング有り） */
    object-position: 50% var(--kv-pos-y) !important;  /* 下端寄せ（微調整は変数で） */
  }
  
  .WSMR-LP .main-video .hacobune-vjs-poster {
    background-size: cover !important;
    background-position: 50% var(--kv-pos-y) !important;
  }
}

/* ================================================ */

/* ローディング画面 */
    :root {
      --loading-bg: #595757;
      --text-color: #fff;
    }

    /* ローディング中はスクロールを抑止 */
    html.is-loading, body.is-loading { overflow: hidden; }

    /* ===== Loading Overlay ===== */
    .wsmr-loading {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: grid;
      place-items: center;
      background: var(--loading-bg);
      clip-path: inset(0 0 0 0); /* 下→上で消す */
      will-change: clip-path;
    }

    .wsmr-loading__inner {
      display: grid;
      justify-items: center;
      row-gap: 12px;
      padding: 24px;
      text-align: center;
    }

    /* ▼ 初期非表示（CSS側のガード） */
    .wsmr-loading [data-opening="logo"],
    .wsmr-loading [data-opening="catch"]{ opacity:0; }
    .wsmr-loading [data-opening="logo"]{ transform:translateY(0); }

    .wsmr-loading__logo {
      margin: 0;
      width: min(180px, 60vw);
      line-height: 0;
      will-change: transform, opacity;
    }

    .wsmr-loading__catch {
      margin: 0;
      color: var(--text-color);
      font-weight: 500;
      letter-spacing: 0.1em;
      line-height: 1.7;
      font-size: clamp(18px, 2rem, 22px);
      font-feature-settings: "palt";
      will-change: opacity;
      font-family: "Noto Serif JP", Helvetica;
    }

/* ================================================ */

.WSMR-LP {
  background-color: #eeeeee;
  display: grid;
  justify-items: center;
  align-items: start;
  width: 100%;
}

.WSMR-LP .div {
  background-color: #eeeeee;
  width: 100%;
  height: 5550px;
  position: relative;
}

.WSMR-LP .element {
  position: absolute;
  width: 656px;
  height: 630px;
  top: 4851px;
  left: 380px;
  z-index: 1;
}

.WSMR-LP .overlap {
  position: relative;
  width: 650px;
  height: 630px;
  background-color: #ffffff;
  box-shadow: 0px 0px 3px #00000040;
}

.WSMR-LP .text-wrapper {
  position: absolute;
  width: 253px;
  top: 413px;
  left: 350px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  letter-spacing: 0.80px;
  line-height: 27px;
}

.WSMR-LP .element-cm {
  position: absolute;
  width: 253px;
  top: 413px;
  left: 55px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  letter-spacing: 0.80px;
  line-height: 27px;
}

.WSMR-LP .overlap-group {
  position: absolute;
  width: 276px;
  height: 270px;
  top: 132px;
  left: 319px;
}
.WSMR-LP .overlap-group::after{
  content:"";
  position:absolute;
  left:-7px;
  top:55%;
  width:15px;
  height:15px;
  transform:translateY(-50%) rotate(-45deg);
  transform-origin:50% 50%;
  border-right:1px solid #666;
  border-bottom:1px solid #666;
}

.WSMR-LP .overlap-2 {
  position: absolute;
  width: 270px;
  height: 270px;
  top: 0;
  left: 6px;
}

.WSMR-LP .step2-video {
  position: absolute;
  width: 245px;
  height: 245px!important;
  top: 25px;
  left: 25px;
  background-color: #d9d9d9;
  aspect-ratio: 1;
}

.WSMR-LP .group {
  position: absolute;
  width: 74px;
  height: 70px;
  top: 0;
  left: 0;
  opacity: 0.85;
}

.WSMR-LP .overlap-group-2 {
  position: relative;
  width: 70px;
  height: 70px;
  background-color: #eeeeee;
  border-radius: 35px;
}
.WSMR-LP .group-2::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:44px;
  height:1px;
  background:#000;
  transform:rotate(69.9deg);
  transform-origin:left top;
}
.WSMR-LP .group-2::after{
  content:"";
  position:absolute;
  left:270px
  ;
  top:40px;
  width:45px;
  height:1px;
  background:#000;
  transform:rotate(-70.3deg);
  transform-origin:left top;
}

.WSMR-LP .text-wrapper-2 {
  position: absolute;
  top: 15px;
  left: 21px;
  font-family: "EB Garamond", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 12px;
  letter-spacing: 0.48px;
  line-height: normal;
}

.WSMR-LP .text-wrapper-3 {
  position: absolute;
  top: 19px;
  left: 18px;
  font-family: "EB Garamond", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 34px;
  letter-spacing: 0;
  line-height: normal;
}

.WSMR-LP .overlap-3 {
  position: absolute;
  width: 269px;
  height: 270px;
  top: 132px;
  left: 31px;
}

.WSMR-LP .step1-video {
  position: absolute;
  width: 245px;
  height: 245px!important;
  top: 25px;
  left: 24px;
  background-color: #d9d9d9;
  aspect-ratio: 1;
}

.WSMR-LP .group-2 {
  position: absolute;
  width: 286px;
  height: 40px;
  top: 84px;
  left: 185px;
}

.WSMR-LP .text-wrapper-4 {
  position: absolute;
  top: 4px;
  left: 24px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 32px;
  text-align: center;
  letter-spacing: 1.28px;
  line-height: 26px;
  white-space: nowrap;
}

.WSMR-LP .img {
  height: 40px;
  top: 0;
  left: 0;
  position: absolute;
  width: 14px;
}

.WSMR-LP .element-2 {
  position: absolute;
  width: 174px;
  height: 16px;
  top: 53px;
  left: 238px;
}

#product-details,
#usage-steps {
  font-family: "Noto Serif JP", Helvetica;
  font-weight: bold;
  color: #000000;
  font-size: 18px;
  text-align: center;
  letter-spacing: 1.28px;
  white-space: nowrap;
  padding-top: 50px;
}

.WSMR-LP .set-detail {
  position: absolute;
  width: 652px;
  height: 3770px;
  top: 1021px;
  left: 380px;
  z-index: 1;
}

.WSMR-LP .overlap-4 {
  position: relative;
  width: 650px;
  height: 3770px;
  background-color: #ffffff;
  box-shadow: 0px 0px 3px #00000040;
}

.WSMR-LP .gel {
  position: absolute;
  width: 570px;
  height: 2120px;
  top: 1599px;
  left: 55px;
}

.WSMR-LP .products {
  position: absolute;
  width: 504px;
  height: 658px;
  top: 1462px;
  left: 18px;
  aspect-ratio: 0.77;
  object-fit: cover;
}

.WSMR-LP .text-wrapper-5 {
  width: 521px;
  top: 1303px;
  left: 19px;
  font-weight: 500;
  color: #000000;
  font-size: 17px;
  letter-spacing: 0.34px;
  line-height: 27px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .overlap-5 {
  position: absolute;
  width: 380px;
  height: 64px;
  top: 1216px;
  left: 20px;
}

.WSMR-LP .highlight {
  width: 258px;
  top: 52px;
  left: 105px;
  position: absolute;
  height: 8px;
  background-color: #cef3ff;
}

.WSMR-LP .text-wrapper-6 {
  top: 0;
  left: 0;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  letter-spacing: 0.80px;
  line-height: 32px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-7 {
  top: 1257px;
  left: 403px;
  font-weight: 500;
  color: #000000;
  font-size: 16px;
  letter-spacing: 0.64px;
  line-height: normal;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .overlap-group-wrapper {
  position: absolute;
  width: 76px;
  height: 37px;
  top: 1169px;
  left: 18px;
}

.WSMR-LP .point-wrapper {
  position: relative;
  width: 84px;
  height: 40px;
  background-color: #eeeeee;
}

.WSMR-LP .point {
  top: 5px;
  position: absolute;
  left: 7px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 18px;
  line-height: normal;
}

.WSMR-LP .span {
  font-weight: 500;
  letter-spacing: -0.23px;
}

.WSMR-LP .text-wrapper-9 {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.31px;
}

.WSMR-LP .text-wrapper-10 {
  top: 1132px;
  left: 376px;
  font-weight: 500;
  color: #000000;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-11 {
  top: 1113px;
  left: 491px;
  font-weight: 500;
  color: #000000;
  font-size: 9px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-12 {
  top: 1112px;
  left: 376px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.60px;
  line-height: normal;
  white-space: nowrap;
}

.WSMR-LP .ingredient {
  position: absolute;
  width: 162px;
  height: 118px;
  top: 984px;
  left: 357px;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.WSMR-LP .text-wrapper-13 {
  top: 1112px;
  left: 213px;
  font-weight: 500;
  color: #000000;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.60px;
  line-height: 15px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .ingredient-2 {
  position: absolute;
  width: 162px;
  height: 118px;
  top: 984px;
  left: 188px;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.WSMR-LP .text-wrapper-14 {
  top: 1112px;
  left: 31px;
  font-weight: 500;
  color: #000000;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.60px;
  line-height: 15px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .ingredient-3 {
  position: absolute;
  width: 162px;
  height: 118px;
  top: 984px;
  left: 19px;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.WSMR-LP .overlap-6 {
  position: absolute;
  width: 235px;
  height: 30px;
  top: 946px;
  left: 19px;
}

.WSMR-LP .highlight-2 {
  width: 221px;
  top: 19px;
  left: 0;
  position: absolute;
  height: 8px;
  background-color: #cef3ff;
}

.WSMR-LP .text-wrapper-15 {
  top: 0;
  left: 1px;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  letter-spacing: 0.80px;
  line-height: 30px;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .overlap-wrapper {
  position: absolute;
  width: 76px;
  height: 37px;
  top: 898px;
  left: 18px;
}

.WSMR-LP .p {
  top: 6px;
  position: absolute;
  left: 7px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 18px;
  line-height: normal;
}

.WSMR-LP .overlap-7 {
  position: absolute;
  width: 414px;
  height: 32px;
  top: 842px;
  left: 20px;
}

.WSMR-LP .highlight-3 {
  width: 138px;
  top: 20px;
  left: 267px;
  position: absolute;
  height: 8px;
  background-color: #cef3ff;
}

.WSMR-LP .text-wrapper-16 {
  top: 0;
  left: 0;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  letter-spacing: 0.80px;
  line-height: 32px;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .group-3 {
  position: absolute;
  width: 76px;
  height: 37px;
  top: 795px;
  left: 18px;
}

.WSMR-LP .overlap-8 {
  position: absolute;
  width: 540px;
  height: 769px;
  top: 0;
  left: 0;
}

.WSMR-LP .overlap-9 {
  position: absolute;
  width: 337px;
  height: 64px;
  top: 705px;
  left: 20px;
}

.WSMR-LP .highlight-4 {
  width: 226px;
  top: 20px;
  left: 105px;
  position: absolute;
  height: 8px;
  background-color: #cef3ff;
}

.WSMR-LP .group-4 {
  position: absolute;
  width: 76px;
  height: 37px;
  top: 657px;
  left: 18px;
}

.WSMR-LP .overlap-10 {
  position: absolute;
  width: 540px;
  height: 717px;
  top: 0;
  left: 0;
}

.WSMR-LP .gel-video {
  position: absolute;
  width: 540px;
  height: 304px!important;
  top: 54px;
  left: 0;
  background-color: #d9d9d9;
  aspect-ratio: 1.78;
}

.WSMR-LP .award-mark {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 0;
  left: 15px;
  aspect-ratio: 1;
  object-fit: cover;
}

.WSMR-LP .set {
  position: absolute;
  width: 136px;
  height: 408px;
  top: 309px;
  left: 398px;
  aspect-ratio: 0.33;
  object-fit: cover;
}

.WSMR-LP .set-gel {
  position: absolute;
  width: 78px;
  height: 60px;
  top: 624px;
  left: 305px;
  aspect-ratio: 1.29;
  object-fit: cover;
}

.WSMR-LP .element-3 {
  width: 357px;
  top: 531px;
  left: 16px;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  letter-spacing: 0.70px;
  line-height: 28px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-17 {
  position: absolute;
  top: 497px;
  left: 5px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 17px;
  letter-spacing: 1.02px;
  line-height: normal;
  white-space: nowrap;
}

.WSMR-LP .text-wrapper-18 {
  top: 457px;
  left: 16px;
  font-weight: 600;
  color: #000000;
  font-size: 27px;
  letter-spacing: -1.35px;
  line-height: normal;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-19 {
  top: 418px;
  left: 16px;
  font-weight: 500;
  color: #000000;
  font-size: 21px;
  letter-spacing: 1.26px;
  line-height: normal;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .foam {
  position: absolute;
  width: 570px;
  height: 1405px;
  top: 94px;
  left: 55px;
}

.WSMR-LP .text-wrapper-20 {
  width: 521px;
  top: 1297px;
  left: 19px;
  font-weight: 500;
  color: #000000;
  font-size: 17px;
  letter-spacing: 0.34px;
  line-height: 27px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .overlap-11 {
  position: absolute;
  width: 380px;
  height: 64px;
  top: 1210px;
  left: 20px;
}

.WSMR-LP .text-wrapper-21 {
  top: 1251px;
  left: 403px;
  font-weight: 500;
  color: #000000;
  font-size: 16px;
  letter-spacing: 0.64px;
  line-height: normal;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .div-wrapper {
  position: absolute;
  width: 76px;
  height: 37px;
  top: 1163px;
  left: 18px;
}

.WSMR-LP .text-wrapper-22 {
  top: 1126px;
  left: 364px;
  font-weight: 500;
  color: #000000;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-23 {
  top: 1107px;
  left: 507px;
  font-weight: 500;
  color: #000000;
  font-size: 9px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-24 {
  top: 1106px;
  left: 360px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.60px;
  line-height: normal;
  white-space: nowrap;
}

.WSMR-LP .ingredient-4 {
  position: absolute;
  width: 162px;
  height: 118px;
  top: 978px;
  left: 357px;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.WSMR-LP .text-wrapper-25 {
  top: 1106px;
  left: 199px;
  font-weight: 500;
  color: #000000;
  font-size: 15px;
  letter-spacing: 0.60px;
  line-height: normal;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .ingredient-5 {
  position: absolute;
  width: 162px;
  height: 118px;
  top: 978px;
  left: 188px;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.WSMR-LP .text-wrapper-26 {
  top: 1106px;
  left: 28px;
  font-weight: 500;
  color: #000000;
  font-size: 15px;
  letter-spacing: 0.60px;
  line-height: normal;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .ingredient-6 {
  position: absolute;
  width: 162px;
  height: 118px;
  top: 978px;
  left: 19px;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.WSMR-LP .overlap-12 {
  position: absolute;
  width: 235px;
  height: 30px;
  top: 940px;
  left: 19px;
}

.WSMR-LP .group-5 {
  position: absolute;
  width: 76px;
  height: 37px;
  top: 892px;
  left: 18px;
}

.WSMR-LP .overlap-13 {
  position: absolute;
  width: 440px;
  height: 64px;
  top: 803px;
  left: 19px;
}

.WSMR-LP .highlight-5 {
  width: 424px;
  top: 52px;
  left: 0;
  position: absolute;
  height: 8px;
  background-color: #cef3ff;
}

.WSMR-LP .text-wrapper-27 {
  top: 0;
  left: 1px;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  letter-spacing: 0.80px;
  line-height: 32px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .group-6 {
  position: absolute;
  width: 76px;
  height: 37px;
  top: 756px;
  left: 18px;
}

.WSMR-LP .overlap-14 {
  position: absolute;
  width: 380px;
  height: 64px;
  top: 666px;
  left: 19px;
}

.WSMR-LP .highlight-6 {
  width: 126px;
  top: 20px;
  left: 0;
  position: absolute;
  height: 8px;
  background-color: #cef3ff;
}

.WSMR-LP .overlap-15 {
  position: absolute;
  width: 540px;
  height: 663px;
  top: 0;
  left: 0;
}

.WSMR-LP .group-7 {
  position: absolute;
  width: 76px;
  height: 37px;
  top: 618px;
  left: 18px;
}

.WSMR-LP .foam-video {
  position: absolute;
  width: 540px;
  height: 304px!important;
  top: 0;
  left: 0;
  background-color: #d9d9d9;
  aspect-ratio: 1.78;
}

.WSMR-LP .set-foam {
  position: absolute;
  width: 187px;
  height: 408px;
  top: 255px;
  left: 353px;
  aspect-ratio: 0.46;
  object-fit: cover;
}

.WSMR-LP .set-foam-2 {
  position: absolute;
  width: 90px;
  height: 94px;
  top: 548px;
  left: 281px;
  aspect-ratio: 0.96;
  object-fit: cover;
}

.WSMR-LP .text-wrapper-28 {
  top: 461px;
  left: 16px;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  letter-spacing: 0.70px;
  line-height: 28px;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-29 {
  top: 427px;
  left: 5px;
  font-size: 17px;
  text-align: center;
  letter-spacing: 1.02px;
  line-height: normal;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
}

.WSMR-LP .text-wrapper-30 {
  top: 389px;
  left: 16px;
  font-weight: 600;
  color: #000000;
  font-size: 28px;
  text-align: center;
  letter-spacing: 1.68px;
  line-height: normal;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-31 {
  top: 358px;
  left: 16px;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.84px;
  line-height: normal;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .image {
  position: absolute;
  width: 91px;
  height: 17px;
  top: 53px;
  left: 280px;
}

.WSMR-LP .FV {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.WSMR-LP .overlap-16 {
  position: relative;
  width: 100%;
  height: 890px;
}

.WSMR-LP .overlap-17 {
  position: absolute;
  width: 100%;
  height: 890px;
  top: 0;
  left: 0;
}

.WSMR-LP .main-video {
  position: absolute;
  width: 100%;
  height: 50%!important;
  top: 0;
  left: 0;
  background-color: #d9d9d9;
}

.WSMR-LP .scroll-animation {
  position: absolute;
  width: 30px;
  height: 120px;
  top: 80%;
  right: 2%;
}

.WSMR-LP .line-wrapper {
  position: absolute;
  width: 2px;
  height: 120px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ccc;
  overflow: hidden;
}

.WSMR-LP .line-progress {
  width: 100%;
  height: 100%;
  background-color: #000;
  transform: scaleY(0);
  transform-origin: top;
  animation: lineScroll 4s cubic-bezier(1, 0, 0.35, 1) infinite;
  will-change: transform;
}

@keyframes lineScroll {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.WSMR-LP .scroll-text {
  position: absolute;
  top: 23px;
  left: 27px;
  transform: translateX(-50%) rotate(90deg);
  font-family: "EB Garamond", Helvetica;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  letter-spacing: 2px;
  white-space: nowrap;
}

.WSMR-LP .fv-images {
  position: absolute;
  width: 50%;
  /* height: 557px; */
  top: 20%;
  left: 35%;
  display: flex;
  align-items: end;
}

.WSMR-LP .fv-items {
  width: 40%;
  aspect-ratio: 0.66;
  object-fit: cover;
}

.WSMR-LP .amazon {
  width: 20%;
  aspect-ratio: 0.89;
  object-fit: cover;
  margin-bottom: 10%;
}

.WSMR-LP .fv-award-mark {
  width: 20%;
  /* height: 132px; */
  aspect-ratio: 0.86;
  object-fit: cover;
  margin-bottom: 10%;
}

.WSMR-LP .amazon-2 {
  width: 20%;
  aspect-ratio: 0.89;
  object-fit: cover;
  margin-bottom: 10%;
}

.WSMR-LP .logo {
  position: absolute;
  top: 1%;
  left: 5%;
  z-index: 2;
  height: 144px;
  color: #fff;
}

/* ▼ ===== FV-text ===== ▼ */
.WSMR-LP .FV-text {
  position: absolute;
  top: 60%;
  left: 5%;
}
.WSMR-LP .text-wrapper-38 {
  font-weight: 700;
  color: #000000;
  font-size: 27px;
  letter-spacing: 2.16px;
  line-height: 40px;
  white-space: nowrap;
  font-family: "Noto Serif JP", Helvetica;
  margin-bottom: 1em;
}
.WSMR-LP .text-wrapper-38 br {
  display: none;
}

.WSMR-LP .element-5 {
  font-weight: 400;
  color: #000000;
  font-size: 18px;
  letter-spacing: 1.44px;
  line-height: 27px;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-35 {
  font-weight: 500;
  letter-spacing: 0.26px;
}

.WSMR-LP .text-wrapper-36 {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.46px;
}

.WSMR-LP .text-wrapper-37 {
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.46px;
}

.WSMR-LP .element-4 {
  font-weight: 400;
  color: #000000;
  font-size: 20px;
  letter-spacing: 1.60px;
  line-height: 30px;
  white-space: nowrap;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-33 {
  font-weight: 500;
  letter-spacing: 0.32px;
}

.WSMR-LP .text-wrapper-34 {
  font-weight: 700;
  letter-spacing: 0.32px;
}

.WSMR-LP .MEN-s-SKINCARE {
  font-family: "EB Garamond", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 25px;
  letter-spacing: 2.00px;
  line-height: 40px;
  white-space: nowrap;
  margin-bottom: 0;
}

.WSMR-LP .text-wrapper-32 {
  font-weight: 500;
  color: #000000;
  font-size: 11px!important;
  letter-spacing: 0.33px;
  line-height: normal;
  white-space: nowrap;
  font-family: "Noto Serif JP", Helvetica;
}
/* ▲ ===== FV-text ===== ▲ */

.WSMR-LP .BG {
  position: fixed;
  width: 100%;
  height: 890px;
  top: 0;
  left: 0;
}

.WSMR-LP .overlap-19 {
  position: relative;
  width: 100%;
  height: 890px;
}

.WSMR-LP .bg {
  position: fixed;
  width: 90%;
  aspect-ratio: 1.47;
  object-fit: cover;
  height: 890px;
  bottom: 0;
  left: 0;
}

.WSMR-LP .bg-right {
  position: absolute;
  width: 30%;
  /* height: 752px; */
  top: 3%;
  right: 3%;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.WSMR-LP .bg-right.show {
  opacity: 1;
  transform: translateX(0);
}

.WSMR-LP .element-6 {
  font-weight: 500;
  color: #595757;
  font-size: 10px;
  letter-spacing: 0.50px;
  line-height: 15px;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .button {
  all: unset;
  box-sizing: border-box;
  width: 352px!important;
  /* height: 52px; */
  cursor: pointer;
  margin-bottom: 10px;
}

.WSMR-LP .overlap-group-3 {
  position: relative;
  width: 350px;
  height: 52px;
  background-color: #595757;
}

.WSMR-LP .text-wrapper-39 {
  top: 13px;
  left: 116px;
  font-weight: 500;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: 1.44px;
  line-height: normal;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .cart {
  position: absolute;
  width: 23px;
  height: 22px;
  top: 15px;
  left: 79px;
}

.WSMR-LP .review {
  margin: 45px 0 20px;
}

.WSMR-LP .div-2 {
  -webkit-text-stroke: 1px #707070;
  font-weight: 500;
  color: #595757;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 22px;
  white-space: nowrap;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .text-wrapper-40 {
  text-decoration: underline;
}

.WSMR-LP .text-wrapper-41 {
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #595757;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 22px;
}

.WSMR-LP .text-wrapper-42 {
  -webkit-text-stroke: 1px #707070;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 13px;
  letter-spacing: 0.52px;
  line-height: 22px;
  white-space: nowrap;
}

.WSMR-LP .group-8 {
  width: 297px;
  height: 28px;
}

.WSMR-LP .text-wrapper-43 {
  background-color: #ffffff;
  border: 1px solid;
  border-color: #b8b8b8;
  font-weight: 600;
  color: #000000;
  font-size: 14px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  position: absolute;
  font-family: "Noto Serif JP", Helvetica;
  padding: 5px 15px;
}

.WSMR-LP .price {
  width: 70%;
  aspect-ratio: 6.24;
  object-fit: cover;
  margin-bottom: 0.5em;
}

.WSMR-LP .element-g-ml {
  font-size: 16px;
  line-height: 30px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  margin-bottom: 0.5em;
}

.WSMR-LP .text-wrapper-44 {
  letter-spacing: 0;
}

.WSMR-LP .text-wrapper-45 {
  letter-spacing: -0.15px;
}

.WSMR-LP .bg-trial {
  width: 75%;
  aspect-ratio: 1.29;
  object-fit: cover;
}

.WSMR-LP .MEN-s-SKINCARE-2 {
  font-family: "EB Garamond", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 28px;
  letter-spacing: 2.48px;
  line-height: 40px;
  white-space: nowrap;
  margin-bottom: 0;
}

.WSMR-LP .text-wrapper-46 {
  font-weight: 500;
  color: #000000;
  font-size: 13px;
  letter-spacing: 0;
  line-height: normal;
  font-family: "Noto Serif JP", Helvetica;
}

.WSMR-LP .bg-left {
  position: absolute;
  width: 250px;
  height: 326px;
  top: 70px;
  left: 70px;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.WSMR-LP .bg-left.show {
  opacity: 1;
  transform: translateX(0);
}

.WSMR-LP .anchor {
  position: absolute;
  width: 180px;
  height: 142px;
  top: 184px;
  left: 0;
}


.WSMR-LP .anchor div {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1.5em;
}

.WSMR-LP .anchor a {
  color: #000000;
  font-family: Noto Serif JP, Helvetica;
}
.WSMR-LP .anchor a:hover,
.WSMR-LP .anchor a.active {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  font-weight: 600;
}

.WSMR-LP .anchor-line {
  display: inline-block;
  width: 6px;
  height: 2px;
  background-color: #b8b8b8;
}

.WSMR-LP .logo-2 {
  top: 0;
  left: 0;
  position: absolute;
  /* width: 250px; */
  height: 144px;
}

/* Ensure interactive elements have proper cursor */
.button {
  cursor: pointer;
}

#product-details,
#usage-steps,
#reviewArea,
#comparison {
  scroll-margin-top: 50px;
}

/* Improve text readability */
.text-wrapper,
.element-cm,
.text-wrapper-5,
.text-wrapper-20,
.text-wrapper-6,
.text-wrapper-15,
.text-wrapper-16,
.text-wrapper-27,
.element-3,
.text-wrapper-28 {
  line-height: 1.5;
}

/* Ensure proper contrast for highlighted text */
.highlight,
.highlight-2,
.highlight-3,
.highlight-4,
.highlight-5,
.highlight-6 {
  opacity: 0.8;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s ease-out 0.8s;
}
.highlight.animate,
.highlight-2.animate,
.highlight-3.animate,
.highlight-4.animate,
.highlight-5.animate,
.highlight-6.animate {
  transform: scaleX(1);
}

/* Responsive improvements */
@media (max-width: 1680px) {
  .WSMR-LP .div {
    max-width: 100%;
  }
}

/* Ensure images are responsive */
.products,
.ingredient,
.ingredient-2,
.ingredient-3,
.ingredient-4,
.ingredient-5,
.ingredient-6,
.award-mark,
.set,
.set-gel,
.set-foam,
.set-foam-2,
.fv-items,
.amazon,
.fv-award-mark,
.amazon-2,
.bg,
.price,
.bg-trial {
  max-width: 100%;
  height: auto;
}

/* Improve button accessibility */
.button:hover {
  opacity: 0.9;
}

.button:active {
  transform: translateY(1px);
}

/* Ensure proper spacing for text elements */
p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* Improve readability of review text */
.div-2 {
  text-decoration: none;
}

.text-wrapper-40 {
  text-decoration: underline;
  cursor: pointer;
}

.text-wrapper-40:hover {
  text-decoration: none;
}

/* スクロール追従 */
.sticky-top {
  display: none;
  position: fixed;
  top: -50px;
  transition: top 1s ease;
  z-index: 5;
  width: 100%;
  background: #fff;
  justify-content: space-between;
  padding: 3px 15% 0px;  
  box-shadow: 0px 0px 3px #00000040;
  gap: clamp(8px, 2vw, 24px);  
 }
 .sticky-top.show {
  top: 0px; 
}
.sticky-top p{
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.sticky-top a {
  text-decoration: none;
  font-family: "Noto Serif JP", Helvetica;
  font-size: 14px;
  background: transparent;
  position: relative;
  padding: 6px 4px 10px;
  display: inline-block;
  color: #000;
  line-height: 1;
}
/* アクティブ時：太字＋該当項目の直下に #595757 のライン */
.sticky-top a.active{
  font-weight: 700;
}
.sticky-top a.active::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #595757;
  border-radius: 2px;
}
@media (max-width: 480px){
  .sticky-top{
    padding: 3px 24px 0px !important;
  }
  .sticky-top a{ font-size: 13px; }
}


.sticky-bottom {
  position: fixed;
  bottom: -300px;
  transition: bottom 1s ease;
  z-index: 5;
  background: #EEEEEE;
  border-top: #595757 10px solid;
  box-shadow: 0px 0px 3px #00000040;
  width: 100%;
  padding: 10px 15px 15px;
}
@media screen and (min-width: 481px) {
  .sticky-bottom {
    display: none;
  }
}
.sticky-bottom.show {
  bottom: 0px; 
}
.sticky-bottom.closed {
  bottom: -170px;
}

.sticky-bottom .toggle-btn {
  position: absolute;
  top: -40px;
  left: 0;
  height: 35px;
  background: #595757;
  border: none;
  cursor: pointer;
  padding: 5px 12px 10px;
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-bottom .toggle-btn::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.sticky-bottom .toggle-btn[aria-expanded="false"]::before {
  transform: rotate(225deg);
}

.WSMR-LP .sticky-bottom h2 {
  font-family: "EB Garamond", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 18px!important;
  letter-spacing: 2px;
}
.sticky-bottom .sticky-content {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.sticky-bottom img.trial-price {
  max-width: 100%;
  margin-bottom: 0.5em;
}
.sticky-bottom img.trial-sticky {
  max-width: 30%;
}

.sticky-bottom .sticky-content .button {
  transform: unset;
  width: 100%!important;
  margin: 10px 0 -5px;
}
.sticky-bottom .block-cart--button.js-cart-in-trigger {
  width: 100%!important;
  height: 34px!important;
  padding: 0;
}
.sticky-bottom .element-6 {
  letter-spacing: -0.5px;
}

/* 表示位置の調整・レスポンシブ */

/* ーーーーーーーーーー パソコン ーーーーーーーーーー */
@media (max-width: 1600px) {
  .WSMR-LP .div {
    height: 4670px;
  }
  .WSMR-LP .set-detail,
  .WSMR-LP .element {
    transform-origin: left top;
    transform: scale(0.8);
    left: 300px;
  }
  .WSMR-LP .element {
    top: 4100px;
  }
}
@media (max-width: 1300px) {
  .WSMR-LP .div {
    height: 4200px;
  }
  .WSMR-LP .fv-images {
    top: 25%;
  }
  .WSMR-LP .set-detail,
  .WSMR-LP .element {
    transform: scale(0.7);
    left: 280px;
  }
  .WSMR-LP .element {
    top: 3700px;
  }

  .WSMR-LP .MEN-s-SKINCARE-2 {
    font-size: 24px;
  }
  .WSMR-LP .element-g-ml {
    font-size: 14px;
    line-height: 24px;
    margin-top: -20px;
  }
  .WSMR-LP .button {
    transform-origin: left top;
    transform: scale(0.8);
  }
}
@media (max-width: 1140px) {
  .WSMR-LP .div {
    height: 4000px;
  }
  .WSMR-LP .fv-images {
    top: 200px;
  }

  .WSMR-LP .set-detail,
  .WSMR-LP .element {
    transform: scale(0.65);
    left: 40px;
  }
  .WSMR-LP .element {
    top: 3520px;
  }

  .WSMR-LP .bg-left {
    display: none;
  }
  .WSMR-LP .bg-right {
    width: 36%;
    right: 8%;
  }
  .WSMR-LP .MEN-s-SKINCARE-2 {
    font-size: 20px;
  }

  .sticky-top {
    display: flex;
  }
}

/* ーーーーーーーーーー タブレット ーーーーーーーーーー */
@media (min-width: 768px) and (max-width: 900px) {
  .WSMR-LP .bg-right {
    transform: scale(0.9);
    right: 3%;
  }
}

/* ーーーーーーーーーー スマホ横 ーーーーーーーーーー */
@media (max-width: 768px) {
  body > .wrapper {
    max-width: unset!important;
  }
  body.page-products .inner {
    padding: 0!important;
    overflow-x: unset;
  }
  body.page-products .block-detail--main {
    margin-top: 0!important;
  }
  .WSMR-LP .div {
    height: 6010px;
    background: url(/lp/img/bg_sp.jpg);
    background-repeat: no-repeat;
    background-position-y: 360px;
  }
/* ===== ▼ fv-images ▼ ===== */
  .WSMR-LP .fv-images {
    width: 90%;
    top: 25%;
    left: 12%;
  }
  .WSMR-LP .fv-items {
    width: 50%;
  }
  .WSMR-LP .amazon,
  .WSMR-LP .amazon-2 {
    width: 15%;;
  }
  .WSMR-LP .fv-award-mark {
    width: 15%;
    position: absolute;
    top: 40%;
    left: 66%;
  }
/* ===== ▲ fv-images ▲ ===== */

  .WSMR-LP .FV-text {
    top: 75%;
  }
  .WSMR-LP .BG {
    display: none;
  }

/* ===== ▼ sp-trial ▼ ===== */
  .WSMR-LP .sp-trial {
    position: absolute;
    left: 0;
    top: 980px;
    padding: 0 5%;
    z-index: 3;
  }
  .WSMR-LP .sp-trial .bg-trial {
    display: none;
  }
  .WSMR-LP .sp-trial .block-cart--button.js-cart-in-trigger {
    width: 100%!important;
  }
  .WSMR-LP .element-g-ml {
    line-height: 22px;
  }
/* ===== ▲ sp-trial ▲ ===== */

  .WSMR-LP .set-detail,
  .WSMR-LP .element {
    transform-origin: center top;
    transform: translateX(-50%) scale(1);
    left: 50%;
  }
  .WSMR-LP .set-detail {
    top: 1300px;
  }
  .WSMR-LP .element {
    top: 5110px;
  }
}

@media (max-width: 640px) {
  .WSMR-LP .div {
    height: 4820px;
  }
  .WSMR-LP .FV-text {
    top: 68%;
  }
  .WSMR-LP .sp-trial {
    top: 920px;
  }
  .WSMR-LP .set-detail,
  .WSMR-LP .element {
    transform: translateX(-50%) scale(0.75);
  }
  .WSMR-LP .set-detail {
    top: 1220px;
  }
  .WSMR-LP .element {
    top: 4080px;
  }
}

/* ーーーーーーーーーー スマホ縦 ーーーーーーーーーー */
@media (max-width: 480px) {
  .WSMR-LP .div {
    height: 3750px;
    background-position-x: center;
    background-position-y: 300px;
  }
  .WSMR-LP h2 {
    font-size: 24px!important;
    font-weight: 600!important;
  }

/* ===== ▼ FV ▼ ===== */
  .WSMR-LP .logo {
    width: 120px;
    top: 0;
    left: 30px;
  }
  .WSMR-LP .main-video {
    height: 40%!important;
  }
  .WSMR-LP .fv-images {
    width: 108%;
    top: 150px;
    left: 5%;
  }

  .WSMR-LP .FV-text {
    top: 470px;
    left: 3%;
  }
  .WSMR-LP .FV-text p {
    margin-bottom: 0.5em;
  }
  .WSMR-LP .text-wrapper-38 {
    font-size: 24px;
    margin-bottom: 0.5em;
  }
  .WSMR-LP .element-5{
    font-size: 16px;
    
  }
  .WSMR-LP .text-wrapper-36 {
    font-size: 20px;
  }
  .WSMR-LP .FV-text br {
    display: block;
  }
  .WSMR-LP p.MEN-s-SKINCARE {
    font-size: 21px;
    margin-bottom: 0;
  }

  .WSMR-LP .scroll-animation {
    top: 32px;
    right: 5%;
  }
  .WSMR-LP .line-progress {
    background-color: #fff;
  }
  .WSMR-LP .scroll-text {
    color: #fff;
  }

/* ===== ▲ FV ▲ ===== */

  .WSMR-LP .sp-trial {
    top: 800px;
  }

  .WSMR-LP .set-detail,
  .WSMR-LP .element {
    transform: translateX(-50%) scale(0.6);
  }
  .WSMR-LP .set-detail {
    top: 1140px;
  }
  .WSMR-LP .element {
    top: 3440px;
  }
  .WSMR-LP .sticky-bottom .element-6 {
    font-size: 8px;
  }
}
@media (max-width: 390px) {
  .WSMR-LP .div {
    height: 3610px;
    overflow: hidden;
  }
  .WSMR-LP .set-detail,
  .WSMR-LP .element {
    transform: translateX(-50%) scale(0.55);
  }
  .WSMR-LP .element {
    top: 3240px;
  }
}


/* ===== FIX: レビュー＆比較表を“フロー”に戻し、上下余白を安定化 ===== */
:root{
  --lp-scale: 1;               /* >1600px 相当の基準。必要なら 1.0 のまま */
  --lp-col-width: 650px;              /* コンテンツ幅（PC） */
  --lp-col-left: 380px;               /* 左レール位置（PC） */
  --lp-gap: clamp(24px, 4vw, 56px);   /* 上下余白（可変） */
  --lp-right-gutter: 0px;      /* 狭幅時の右バッファ */
}

/* ラッパー自体をグローバルに適用（.WSMR-LP に依存しない） */
.lp-flow{
  position: relative;
  width: var(--lp-col-width);
  margin-left: var(--lp-col-left);
  margin-right: 0;
  margin-top: -130px;
  width: min(
    calc(var(--lp-col-width) * var(--lp-scale)),
    calc(100% - var(--lp-col-left) - var(--lp-right-gutter))
  );
}

/* 中身だけスケールする（レイアウトは .lp-flow が持つ） */
.lp-flow__inner{
  transform: scale(var(--lp-scale));
  transform-origin: left top;
  will-change: transform;
}

/* レビュー＆比較表をフロー配置＋余白で管理（縮尺/相対移動は殺す） */
.lp-flow .product-reviewArea,
.lp-flow .comparison{
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  /* width: 100% !important; */
  transform: none !important;
  margin-top: var(--lp-gap) !important;
  margin-bottom: var(--lp-gap) !important;
}

/* 既存の固定幅/負のマージンを打ち消し、マージン潰れを防ぐ */
.lp-flow .product-reviewArea{
  margin-left: 0 !important;
  background: #eee;
  display: flow-root;
}
.lp-flow .product-reviewArea .product-reviewArea-inner{
  width: 100% !important;
}

@media (max-width: 1600px){
  :root{
    --lp-scale: .8;
    --lp-col-left: 300px;   /* ← .set-detail/.element の left:300px に合わせる */
  }
}
@media (max-width: 1300px){
  :root{
    --lp-scale: .7;
    --lp-col-left: 280px;
  }
}
@media (max-width: 1140px){
  :root{
    --lp-scale: .65;
    --lp-col-left: 40px;
    --lp-right-gutter: 8px;
  }
}
@media (max-width: 768px){
  :root{
    --lp-scale: 1;
    --lp-col-left: 20px;
    --lp-right-gutter: 12px;
    --lp-gap: 32px;
  }
  .lp-flow {
    margin-top: -320px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 640px){
  :root{
    --lp-scale: .75;
  }
}
@media (max-width: 480px){
  :root{
    --lp-scale: .6; 
    --lp-col-left: 10px;
    --lp-right-gutter: 12px;
    --lp-gap: 24px;
  }
  .lp-flow {
    margin-top: 0;
  }
}
@media (max-width: 415px) {
  .lp-flow {
    margin-left: 4px;
  }
  .product-reviewArea .product-reviewArea-inner {
    padding: 1.5em 2em 1.5em 1.5em;
    box-shadow: unset;
  }
}
@media (max-width: 390px){
  :root{
    --lp-scale: .55; 
    --lp-col-left: 3px;
    --lp-right-gutter: 8px;
  }
  .lp-flow {
    margin-top: -100px;
    margin-left: 10px;
  }
}
@media (max-width: 375px){
  .lp-flow {
    margin-left: 0px;
  }
}