/*
 * WSMR normal-flow layout
 *
 * 大セクションと商品情報を top/left/固定height で積み上げず、
 * HTMLの記述順に Flex/Grid で流すための正本CSS。
 * 既存 style_wsmr.css は共通UIとFVの見た目を引き継ぐために先に読み込む。
 */

:root {
  --wsmr-content-width: 650px;
  --wsmr-section-gap: clamp(32px, 5vw, 72px);
  --wsmr-card-gap: clamp(24px, 4vw, 48px);
  --wsmr-page-gutter: clamp(16px, 3vw, 32px);
  --wsmr-surface: #fff;
  --wsmr-page: #eee;
  --wsmr-ink: #111;
  --wsmr-muted: #595757;
  --wsmr-accent: #cef3ff;
}

.wsmr-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.WSMR-LP,
.WSMR-LP .div {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  background-color: var(--wsmr-page);
}

.WSMR-LP .div {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* FVは1セクションとして高さを持つ。内部の重ね合わせだけabsoluteを許可する。 */
.WSMR-LP .FV {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 890px !important;
  min-height: 890px !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
}

.WSMR-LP .FV .overlap-16,
.WSMR-LP .FV .overlap-17 {
  width: 100% !important;
  height: 100% !important;
}

/* 本番FVと同じく、動画をmain-videoの高さに追従させる。 */
.WSMR-LP .main-video .hacobune-unit-video-player,
.WSMR-LP .main-video .hacobune-video-frame,
.WSMR-LP .main-video .hacobune-video-js {
  height: 100% !important;
}

/* 通常フローの大セクション */
.WSMR-LP .wsmr-section,
.lp-flow {
  position: relative !important;
  inset: auto !important;
  width: min(var(--wsmr-content-width), calc(100% - (var(--wsmr-page-gutter) * 2))) !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: var(--wsmr-section-gap) auto 0 !important;
  transform: none !important;
  overflow: visible !important;
  flex: 0 0 auto !important;
  z-index: 2;
}

.WSMR-LP .BG {
  z-index: 0;
  pointer-events: none;
}

.WSMR-LP .bg-left,
.WSMR-LP .bg-right {
  pointer-events: auto;
}

@media (min-width: 1141px) {
  .WSMR-LP .wsmr-section,
  .lp-flow {
    margin-left: clamp(240px, 24vw, 380px) !important;
    margin-right: auto !important;
  }
}

@media (min-width: 1141px) and (max-width: 1300px) {
  .WSMR-LP .bg-right {
    width: 25%;
    right: 0;
  }
}

.WSMR-LP .wsmr-section__inner {
  width: 100%;
  padding: clamp(28px, 5vw, 52px);
  color: var(--wsmr-ink);
  background: var(--wsmr-surface);
  box-shadow: 0 0 3px #00000040;
  box-sizing: border-box;
}

.WSMR-LP .wsmr-section__title {
  margin: 0 0 clamp(28px, 4vw, 48px) !important;
  padding: 0 !important;
  color: var(--wsmr-ink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .06em;
  text-align: center;
  white-space: normal;
  scroll-margin-top: 96px;
}

/* 商品カード */
.WSMR-LP .wsmr-products .wsmr-section__inner {
  display: grid;
  gap: 0;
}

.WSMR-LP #product-details.wsmr-section__title {
  margin-bottom: 19px !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  letter-spacing: 1.28px !important;
}

.WSMR-LP .wsmr-product-card {
  position: static !important;
  inset: auto !important;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  width: min(540px, 100%) !important;
  max-width: calc(100vw - 40px);
  height: auto !important;
  margin-inline: auto !important;
  padding: 0 0 var(--wsmr-card-gap);
  color: var(--wsmr-ink);
  border-bottom: 1px solid #d7d7d7;
  box-sizing: border-box;
}

.WSMR-LP .wsmr-product-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.WSMR-LP .wsmr-product-card__visual,
.WSMR-LP .wsmr-product-card__header,
.WSMR-LP .wsmr-points,
.WSMR-LP .wsmr-product-card__note {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
}

.WSMR-LP .wsmr-product-card__visual {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, .85fr);
  align-items: center;
  gap: clamp(16px, 4vw, 32px);
}

.WSMR-LP .wsmr-product-video,
.WSMR-LP .wsmr-step-card__video {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden;
  background: #d9d9d9;
}

.WSMR-LP .wsmr-product-video {
  aspect-ratio: 540 / 304;
}

.WSMR-LP .wsmr-step-card__video {
  aspect-ratio: 1;
}

.WSMR-LP .wsmr-product-video > [id^="hacobune-vjs_video_"],
.WSMR-LP .wsmr-product-video video {
  width: 100% !important;
  height: 100% !important;
}

.WSMR-LP .wsmr-product-video .hacobune-container,
.WSMR-LP .wsmr-product-video .hacobune-app-container,
.WSMR-LP .wsmr-product-video .hacobune-app-main,
.WSMR-LP .wsmr-product-video .hacobune-unit-video,
.WSMR-LP .wsmr-product-video .hacobune-unit-video-wrap,
.WSMR-LP .wsmr-product-video .hacobune-unit-video-player,
.WSMR-LP .wsmr-product-video .hacobune-video-frame,
.WSMR-LP .wsmr-product-video .hacobune-video-js,
.WSMR-LP .wsmr-step-card__video .hacobune-container,
.WSMR-LP .wsmr-step-card__video .hacobune-app-container,
.WSMR-LP .wsmr-step-card__video .hacobune-app-main,
.WSMR-LP .wsmr-step-card__video .hacobune-unit-video,
.WSMR-LP .wsmr-step-card__video .hacobune-unit-video-wrap,
.WSMR-LP .wsmr-step-card__video .hacobune-unit-video-player,
.WSMR-LP .wsmr-step-card__video .hacobune-video-frame,
.WSMR-LP .wsmr-step-card__video .hacobune-video-js {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
}

.WSMR-LP .wsmr-product-video video,
.WSMR-LP .wsmr-step-card__video video {
  inset: 0 !important;
  object-fit: contain !important;
}

.WSMR-LP .wsmr-product-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 8px;
}

.WSMR-LP .wsmr-product-card__images img,
.WSMR-LP .gel-bubble-size,
.WSMR-LP .wsmr-function-image {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  object-fit: contain;
}

/* 元デザインの動画全面＋商品画像オーバーラップを、商品カード内だけで再現 */
.WSMR-LP .wsmr-product-card.foam {
  display: block;
  margin: 0 auto 100px !important;
  padding-bottom: 0;
  border-bottom: 0;
}

.WSMR-LP .wsmr-product-card.foam .wsmr-product-card__visual {
  position: relative !important;
  display: block;
  aspect-ratio: 540 / 304;
  overflow: visible;
}

.WSMR-LP .wsmr-product-card.foam .wsmr-product-card__images {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.WSMR-LP .wsmr-product-card.foam .set-foam {
  position: absolute !important;
  top: 83.88% !important;
  right: 0 !important;
  left: auto !important;
  width: 34.63% !important;
  max-width: 187px !important;
  height: 134.21% !important;
  object-fit: cover;
}

.WSMR-LP .wsmr-product-card.foam .set-foam-2 {
  position: absolute !important;
  top: 180.26% !important;
  right: auto !important;
  left: 52.04% !important;
  width: 16.67% !important;
  max-width: 90px !important;
  height: 30.92% !important;
  object-fit: cover;
}

/* ジェルも元デザインの動画全面＋商品画像オーバーラップをカード内で再現 */
.WSMR-LP .wsmr-product-card.gel {
  display: block;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-product-card__visual {
  position: relative !important;
  display: block;
  aspect-ratio: 540 / 358;
  overflow: visible;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-product-video {
  position: absolute !important;
  top: 15.08% !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  width: 100% !important;
  height: 84.92% !important;
  aspect-ratio: 540 / 304;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-product-card__images {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.WSMR-LP .wsmr-product-card.gel .set {
  position: absolute !important;
  top: 86.31% !important;
  right: auto !important;
  left: 73.7% !important;
  width: 25.19% !important;
  max-width: 136px !important;
  height: 113.97% !important;
  object-fit: cover;
}

.WSMR-LP .wsmr-product-card.gel .set-gel {
  position: absolute !important;
  top: 174.3% !important;
  right: auto !important;
  left: 56.48% !important;
  width: 14.44% !important;
  max-width: 78px !important;
  height: 16.76% !important;
  object-fit: cover;
}

.WSMR-LP .gel-bubble-size {
  grid-column: 1 / -1;
  max-width: 380px !important;
  margin-inline: auto !important;
}

.WSMR-LP .wsmr-product-card__header {
  text-align: center;
}

.WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header {
  position: relative !important;
  width: min(373px, 70%) !important;
  margin: 10% 0 0 16px !important;
  padding: 0;
  text-align: left;
  z-index: 1;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header {
  position: relative !important;
  width: min(373px, 70%) !important;
  margin: 11.11% 0 0 16px !important;
  padding: 0;
  text-align: left;
  z-index: 1;
}

.WSMR-LP .wsmr-product-card__header h3 {
  margin: 6px 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.35;
}

.WSMR-LP .wsmr-product-card__header p {
  margin: 0 0 12px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.75;
}

.WSMR-LP .wsmr-product-card__eyebrow,
.WSMR-LP .wsmr-product-card__meta {
  color: var(--wsmr-muted);
  font-weight: 500;
}

.WSMR-LP .wsmr-product-card.foam .wsmr-product-card__eyebrow {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .84px;
  white-space: nowrap;
}

.WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header h3 {
  margin: 0 0 2px;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: 1.68px;
  white-space: nowrap;
}

.WSMR-LP .wsmr-product-card.foam .wsmr-product-card__meta {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 1.02px;
}

.WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .7px;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-product-card__eyebrow {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: 1.26px;
  white-space: nowrap;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header h3 {
  margin: 0 0 2px;
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: -1.35px;
  white-space: nowrap;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-product-card__meta {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 1.02px;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .7px;
}

.WSMR-LP .wsmr-product-card.gel .gel-bubble-size {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 150px !important;
  max-width: 44% !important;
  height: auto !important;
  margin: 42px auto 0 !important;
  padding: 0 !important;
  transform: none !important;
  object-fit: contain;
}

.WSMR-LP .wsmr-function-image {
  margin-top: 20px !important;
}

.WSMR-LP .wsmr-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding: 0 !important;
  list-style: none;
}

.WSMR-LP .wsmr-product-card.foam .wsmr-points {
  width: calc(100% - 18px) !important;
  margin: 13% 0 0 18px !important;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-points {
  width: calc(100% - 18px) !important;
  margin: 25px 0 0 18px !important;
}

.WSMR-LP .wsmr-points > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
}

.WSMR-LP .wsmr-points p,
.WSMR-LP .wsmr-points small {
  margin: 0;
  color: var(--wsmr-ink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.6;
  letter-spacing: .8px;
}

.WSMR-LP .wsmr-points mark {
  color: inherit;
  background: linear-gradient(transparent 68%, var(--wsmr-accent) 68%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.WSMR-LP .wsmr-point-label {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 92px;
  height: 40px;
  min-height: 40px;
  box-sizing: border-box;
  justify-self: start;
  padding: 5px 7px;
  color: var(--wsmr-ink);
  background: var(--wsmr-page);
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  flex-wrap: nowrap;
}

#you-recommend {
  display: none !important;
}

.WSMR-LP .wsmr-point-label strong {
  font-size: 21px;
}

.WSMR-LP .wsmr-ingredients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  max-width: 500px;
}

.WSMR-LP .wsmr-ingredients figure {
  display: grid;
  gap: 8px;
  margin: 0;
  text-align: center;
}

.WSMR-LP .wsmr-ingredients img {
  display: block;
  width: 100%;
  aspect-ratio: 162 / 118;
  object-fit: cover;
}

.WSMR-LP .wsmr-ingredients figcaption {
  color: var(--wsmr-ink);
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  line-height: 1.35;
}

.WSMR-LP .wsmr-ingredients small {
  display: block;
  font-size: 10px;
}

.WSMR-LP .wsmr-product-card__note {
  color: var(--wsmr-muted);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(13px, 1.7vw, 17px);
  line-height: 1.6;
  letter-spacing: .34px;
}

.WSMR-LP .wsmr-product-card.foam .wsmr-product-card__note {
  margin-top: 15px !important;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-product-card__note {
  margin-top: 15px !important;
}

.WSMR-LP .wsmr-product-card .wsmr-points > li:last-child small {
  position: relative;
  justify-self: end;
  margin-top: -39px;
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
}

.WSMR-LP .wsmr-product-card.gel .wsmr-function-image {
  position: static !important;
  inset: auto !important;
  display: block;
  width: min(504px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 48px auto 0 !important;
  padding: 0 !important;
  aspect-ratio: 504 / 658;
  transform: none !important;
  object-fit: cover;
}

/* 2ステップ */
.WSMR-LP .wsmr-usage .wsmr-section__inner {
  display: grid;
  padding: 48px 36px 88px;
}

.WSMR-LP .wsmr-usage__lead {
  position: relative;
  order: 2;
  width: 286px;
  max-width: 100%;
  margin: 10px auto 8px;
  color: var(--wsmr-ink);
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 1.28px;
  text-align: center;
}

.WSMR-LP .wsmr-usage__lead::before,
.WSMR-LP .wsmr-usage__lead::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44px;
  height: 1px;
  background: currentColor;
}

.WSMR-LP .wsmr-usage__lead::before {
  left: 0;
  transform: rotate(70deg);
  transform-origin: left center;
}

.WSMR-LP .wsmr-usage__lead::after {
  right: 0;
  transform: rotate(-70deg);
  transform-origin: right center;
}

.WSMR-LP #usage-steps.wsmr-section__title {
  order: 1;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  letter-spacing: 1.28px !important;
}

.WSMR-LP .wsmr-usage__grid {
  order: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.WSMR-LP .wsmr-step-card {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.WSMR-LP .wsmr-step-card__number {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  color: var(--wsmr-ink);
  background: var(--wsmr-page);
  border-radius: 50%;
  font-family: "EB Garamond", serif;
  line-height: 1;
}

.WSMR-LP .wsmr-step-card__number span {
  align-self: end;
  font-size: 11px;
}

.WSMR-LP .wsmr-step-card__number strong {
  align-self: start;
  font-size: 32px;
  font-weight: 500;
}

.WSMR-LP .wsmr-step-card p {
  max-width: 253px;
  margin: 11px auto 0;
  color: var(--wsmr-ink);
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: .8px;
}

.WSMR-LP .wsmr-step-card__video {
  width: 245px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 25px auto 0 !important;
}

.WSMR-LP .wsmr-step-card:first-child::after {
  content: "";
  position: absolute;
  top: 148px;
  right: -2px;
  width: 15px;
  height: 15px;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  transform: rotate(-45deg);
}

/* Reviewと比較表は変形・高さ計算なしで流す */
.lp-flow,
.lp-flow__inner {
  height: auto !important;
  min-width: 0;
  transform: none !important;
}

.lp-flow {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--wsmr-section-gap);
}

.lp-flow__inner {
  display: grid;
  gap: var(--wsmr-section-gap);
  width: 100% !important;
}

.lp-flow .product-reviewArea,
.lp-flow .comparison,
section.wsmr-comparison {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
}

.lp-flow .product-reviewArea .product-reviewArea-inner {
  width: 100% !important;
  box-sizing: border-box;
}

/* 本番のRevico表示補正を通常フロー側でも維持する。 */
.lp-flow .revico-star {
  margin-top: 45px;
  margin-bottom: 5px;
  color: #000 !important;
}

.lp-flow .revico-widget a.revico-read-more-review {
  display: block !important;
}

/* 本番の600px比較表を、実HTML tableとセル結合で再現する。 */
.WSMR-LP .wsmr-comparison,
.wsmr-comparison {
  color: var(--wsmr-ink);
  background: #fff;
}

section.wsmr-comparison .wsmr-section__inner {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  padding-bottom: 102px !important;
  box-sizing: border-box;
}

section.wsmr-comparison .wsmr-section__title {
  height: auto !important;
  margin: 0 !important;
  padding: 50px 0 0 !important;
  color: #000;
  font-family: "Noto Serif JP", Helvetica, serif;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  letter-spacing: 1.28px;
  text-align: center;
  white-space: nowrap;
}

section.wsmr-comparison .wsmr-table-scroll {
  width: 600px;
  max-width: 100%;
  margin: 28px auto 0 !important;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

:is(.wsmr-comparison, #table-zoom-modal) .c-table {
  position: static !important;
  inset: auto !important;
  display: table !important;
  width: 600px !important;
  min-width: 600px;
  height: auto !important;
  margin: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
  transform: none !important;
  color: #000;
  background: #fff;
  font-family: "Noto Serif JP", Helvetica, serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: .48px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-label-column {
  width: 107px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-product-column {
  width: 164px;
}

:is(.wsmr-comparison, #table-zoom-modal) .c-table th,
:is(.wsmr-comparison, #table-zoom-modal) .c-table td {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  padding: 0;
  border: 1px solid #ddd;
  vertical-align: middle;
  text-align: center;
  transform: none !important;
  box-sizing: border-box;
}

:is(.wsmr-comparison, #table-zoom-modal) .c-table th {
  font-weight: 500;
}

:is(.wsmr-comparison, #table-zoom-modal) .c-table tbody th {
  padding-left: 12px;
  background: #fff !important;
  text-align: left;
  white-space: nowrap;
}

:is(.wsmr-comparison, #table-zoom-modal) .c-table thead th {
  height: 176px !important;
  padding: 3px 11px 12px;
  background: #f3f3f3 !important;
  vertical-align: top;
}

:is(.wsmr-comparison, #table-zoom-modal) .c-table thead th:first-child {
  padding: 0 0 0 12px;
  vertical-align: middle;
  text-align: left;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-image {
  display: block;
  width: 141px;
  max-width: none;
  height: 141px;
  margin: 0 auto;
  object-fit: cover;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-image--trial {
  width: 142px;
  height: 142px;
}

:is(section.wsmr-comparison, #table-zoom-modal) .c-table thead th .wsmr-table-plan-name {
  display: block;
  margin-top: 4px;
  font-size: 12px !important;
  line-height: normal !important;
  letter-spacing: .6px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-capacity th,
:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-capacity td {
  height: 72px !important;
}

:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-price th,
:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-price td {
  height: 73px !important;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-capacity td {
  line-height: 23px;
}

:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-usage th,
:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-usage td {
  height: 50px !important;
}

:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-per-day th,
:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-per-day td,
:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-actions th,
:is(section.wsmr-comparison, #table-zoom-modal) .wsmr-table-actions td {
  height: 51px !important;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-usage td,
:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-per-day td {
  letter-spacing: .15px;
  white-space: nowrap;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-usage strong,
:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-per-day strong {
  margin-inline: 4px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .35px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-cell {
  padding: 0 !important;
  white-space: nowrap;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-cell--trial {
  padding-top: 16px !important;
  vertical-align: top !important;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-cell--subscription {
  padding-top: 3px !important;
  vertical-align: top !important;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-old,
:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-new,
:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-plain {
  line-height: 19px;
  white-space: nowrap;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-old {
  display: block;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  text-decoration-thickness: 1px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-new {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: 2px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-cell--subscription .wsmr-price-new {
  margin-top: -1px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-new strong,
:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-plain {
  color: #e20000;
  font-size: 17px;
  font-weight: 500;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-price td:has(del) strong::before {
  content: none !important;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-plain {
  display: inline-block;
  color: #000;
  font-size: 16px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-arrow {
  margin-right: 5px;
  color: #000;
  font-size: 16px;
  letter-spacing: .48px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-price-unit {
  font-size: 12px;
  letter-spacing: .04px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-discount {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 20px;
  margin: 4px auto 0;
  color: #fff;
  background: #e20000;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: .1px;
  white-space: nowrap;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-discount-rate {
  margin-inline: 3px;
  font-size: 14px;
  letter-spacing: .14px;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-actions th,
:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-actions td {
  padding: 0;
}

:is(.wsmr-comparison, #table-zoom-modal) .wsmr-table-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 16px);
  height: 37px;
  margin: 0 auto;
  padding: 0;
  color: #fff;
  background: #595757;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: normal;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.WSMR-LP a:focus-visible,
.WSMR-LP button:focus-visible,
.WSMR-LP [tabindex="0"]:focus-visible,
.wsmr-comparison a:focus-visible,
.wsmr-comparison [tabindex="0"]:focus-visible,
#table-zoom-modal a:focus-visible,
#table-zoom-modal button:focus-visible {
  outline: 3px solid #0b66c3;
  outline-offset: 3px;
}

.WSMR-LP .sticky-bottom .toggle-btn {
  top: -49px;
  min-width: 44px;
  min-height: 44px;
}

section.wsmr-comparison .btn-zoom {
  position: relative !important;
  inset: auto !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px !important;
  height: 38px !important;
  min-height: 38px;
  margin: 24px auto 0 !important;
  padding: 0 !important;
  color: var(--wsmr-muted);
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 0;
  font-family: "Noto Serif JP", Helvetica, serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transform: none !important;
  appearance: none;
  cursor: pointer;
}

section.wsmr-comparison .btn-zoom:hover,
section.wsmr-comparison .btn-zoom:focus-visible {
  color: #fff;
  background: var(--wsmr-muted);
  border-color: var(--wsmr-muted);
}

section.wsmr-comparison .btn-zoom:hover .icon *,
section.wsmr-comparison .btn-zoom:focus-visible .icon * {
  stroke: currentColor;
}

section.wsmr-comparison .c-ingredients {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  margin-top: 29px !important;
  padding: 0 50px !important;
  color: var(--wsmr-ink);
  font-family: "Noto Serif JP", Helvetica, serif;
  box-sizing: border-box;
}

section.wsmr-comparison .c-ingredients h3 {
  margin: 0 0 16px;
}

section.wsmr-comparison .c-ingredients h4 {
  margin: 0 0 8px;
}

section.wsmr-comparison .c-ingredients p {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 24px;
}

section.wsmr-comparison .c-ingredients p:last-child {
  margin-bottom: 0;
}

/* 拡大モーダル（本番PCの全面表示デザインに合わせる） */
#table-zoom-modal {
  --modal-zoom: 1.5;
}

#table-zoom-modal[aria-hidden="true"] {
  display: none;
  pointer-events: none;
}

#table-zoom-modal[aria-hidden="false"] {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000;
  display: block;
  width: 100dvw !important;
  height: 100dvh !important;
  padding: 0;
  pointer-events: auto;
  box-sizing: border-box;
}

#table-zoom-modal > .scroll-animation {
  position: absolute !important;
  top: 40px !important;
  right: auto !important;
  left: 65px !important;
  z-index: 1;
  display: block !important;
  width: 30px !important;
  height: 120px !important;
  transform: rotate(-90deg) !important;
}

#table-zoom-modal > .scroll-animation .line-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 120px;
  background: #ccc;
  overflow: hidden;
  transform: translateX(-50%);
}

#table-zoom-modal > .scroll-animation .line-progress {
  width: 100%;
  height: 100%;
  background: #000;
}

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

#table-zoom-modal .modal__overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, .5) !important;
}

#table-zoom-modal#table-zoom-modal .modal__dialog {
  position: fixed !important;
  inset: 0 !important;
  z-index: auto !important;
  display: flex;
  flex-direction: column;
  width: 100dvw !important;
  max-width: none !important;
  height: 100dvh !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  overflow: hidden;
  transform: none !important;
}

#table-zoom-modal .modal__header {
  position: static !important;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  box-sizing: border-box;
}

#table-zoom-modal .modal__title,
#table-zoom-modal .modal__hint {
  display: none !important;
}

#table-zoom-modal .modal__close {
  position: static !important;
  z-index: auto !important;
  display: block;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  appearance: none;
  cursor: pointer;
  pointer-events: auto;
}

#table-zoom-modal .modal__close:hover,
#table-zoom-modal .modal__close:focus-visible {
  color: #fff;
  background: none;
  box-shadow: none;
}

#table-zoom-modal#table-zoom-modal .modal__body {
  flex: 1 1 auto !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  padding: 8px 24px;
  background: #fff;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

#table-zoom-modal .comparison {
  position: static !important;
  display: inline-block !important;
  width: calc(650px * var(--modal-zoom)) !important;
  min-width: calc(650px * var(--modal-zoom)) !important;
  height: calc(1150px * var(--modal-zoom)) !important;
  margin: 0 !important;
  background: transparent;
  transform: none !important;
}

#table-zoom-modal .c-overlap {
  position: relative !important;
  inset: auto !important;
  width: 650px !important;
  min-width: 650px !important;
  height: 1150px !important;
  padding: 96px 25px 0;
  background: transparent;
  box-shadow: none;
  transform: scale(var(--modal-zoom)) !important;
  transform-origin: left top !important;
  box-sizing: border-box;
}

#table-zoom-modal .c-table {
  position: static !important;
  inset: auto !important;
  display: table !important;
  width: 600px !important;
  min-width: 600px !important;
  height: auto !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  transform: none !important;
  background: #fff;
}

/* 複製した表にも通常表示と同じセル設計を適用する。 */
#table-zoom-modal .wsmr-comparison .c-table th,
#table-zoom-modal .wsmr-comparison .c-table td {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  padding: 0 !important;
  border: 1px solid #ddd !important;
  vertical-align: middle !important;
  text-align: center !important;
  transform: none !important;
  box-sizing: border-box;
}

#table-zoom-modal .wsmr-comparison .c-table th {
  font-weight: 500 !important;
}

#table-zoom-modal .wsmr-comparison .c-table tbody th {
  padding-left: 12px !important;
  background: #fff !important;
  text-align: left !important;
  white-space: nowrap !important;
}

#table-zoom-modal .wsmr-comparison .c-table thead th {
  height: 176px !important;
  padding: 3px 11px 12px !important;
  background: #f3f3f3 !important;
  vertical-align: top !important;
}

#table-zoom-modal .wsmr-comparison .c-table thead th:first-child {
  padding: 0 0 0 12px !important;
  vertical-align: middle !important;
  text-align: left !important;
}

#table-zoom-modal .wsmr-comparison .wsmr-price-cell {
  padding: 0 !important;
}

#table-zoom-modal .wsmr-comparison .wsmr-price-cell--trial {
  padding-top: 16px !important;
  vertical-align: top !important;
}

#table-zoom-modal .wsmr-comparison .wsmr-price-cell--subscription {
  padding-top: 3px !important;
  vertical-align: top !important;
}

#table-zoom-modal .wsmr-comparison .wsmr-discount {
  display: flex !important;
  width: 116px !important;
  height: 20px !important;
  margin: 4px auto 0 !important;
  padding: 0 !important;
  line-height: 20px !important;
}

#table-zoom-modal .wsmr-comparison .wsmr-table-actions th,
#table-zoom-modal .wsmr-comparison .wsmr-table-actions td {
  padding: 0 !important;
}

#table-zoom-modal .wsmr-comparison .wsmr-table-actions a {
  width: calc(100% - 16px) !important;
  height: 37px !important;
  min-height: 37px !important;
  max-height: 37px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 14px !important;
}

@media (max-height: 980px) {
  #table-zoom-modal { --modal-zoom: 1.35; }
}

@media (max-height: 900px) {
  #table-zoom-modal { --modal-zoom: 1.2; }
}

@media (max-height: 820px) {
  #table-zoom-modal { --modal-zoom: 1.05; }
}

@media (max-height: 740px) {
  #table-zoom-modal { --modal-zoom: .9; }
}

@media (max-height: 660px) {
  #table-zoom-modal { --modal-zoom: .8; }
}

/* SP購入カードをFV直後へ移した後も通常フローで表示 */
@media (max-width: 768px) {
  body.page-products > .wrapper,
  body.page-products .wrapper,
  .WSMR-LP {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 背景だけを画面端まで広げ、390px基準の子要素は中央に維持する。 */
  .WSMR-LP.WSMR-LP > .div,
  .WSMR-LP.WSMR-LP .div {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: none !important;
    margin-left: 0 !important;
    padding-left: max(0px, calc((100vw - 390px) / 2)) !important;
    padding-right: max(0px, calc((100vw - 390px) / 2)) !important;
    box-sizing: border-box !important;
  }

  section.wsmr-comparison .btn-zoom {
    display: flex !important;
  }

  .WSMR-LP .wsmr-section {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-inline: auto !important;
  }

  .WSMR-LP .FV {
    height: 620px !important;
    min-height: 620px !important;
  }

  .WSMR-LP .BG {
    display: none !important;
  }

  .WSMR-LP .sp-trial {
    position: static !important;
    inset: auto !important;
    width: min(var(--wsmr-content-width), calc(100% - (var(--wsmr-page-gutter) * 2))) !important;
    height: auto !important;
    margin: 24px auto 0 !important;
    padding: 24px !important;
    color: var(--wsmr-ink);
    background: #fff;
    box-shadow: 0 0 3px #00000040;
    transform: none !important;
    box-sizing: border-box;
  }

  .WSMR-LP {
    overflow-x: visible;
  }

  .WSMR-LP .sp-trial .text-wrapper-43 {
    position: static !important;
    display: inline-block;
    margin: 0 0 16px;
  }

  .WSMR-LP .sp-trial .button,
  .WSMR-LP .sp-trial .block-cart--button {
    width: 100% !important;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .WSMR-LP .FV {
    height: 620px !important;
    min-height: 620px !important;
  }

  .WSMR-LP .wsmr-section__inner {
    padding: 28px 20px;
  }

  .WSMR-LP .wsmr-product-card__visual,
  .WSMR-LP .wsmr-usage__grid {
    grid-template-columns: 1fr;
  }

  .WSMR-LP .wsmr-product-card:not(.foam):not(.gel) .wsmr-product-card__images {
    max-width: 280px;
    margin-inline: auto;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__images,
  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__images {
    max-width: none !important;
    margin: 0 !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__visual,
  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__visual {
    margin-bottom: 66.48% !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header,
  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header {
    width: 100% !important;
    margin: 0 !important;
    padding-inline: 8px;
    box-sizing: border-box;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__eyebrow {
    font-size: 12px;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header h3 {
    font-size: 24px;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__meta {
    font-size: 15px;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header > p:last-child {
    font-size: 13px;
    line-height: 1.8;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__eyebrow {
    font-size: 15px;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header h3 {
    font-size: 22px;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__meta {
    font-size: 14px;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header > p:last-child {
    font-size: 13px;
    line-height: 1.8;
  }

  .WSMR-LP .wsmr-ingredients {
    gap: 8px;
  }

  .WSMR-LP .wsmr-point-label {
    width: auto;
    min-width: 84px;
    height: 40px;
    white-space: nowrap;
    word-break: normal;
    flex-wrap: nowrap;
  }

  .WSMR-LP .wsmr-product-card .wsmr-points > li:last-child small {
    justify-self: start;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
  }

  .WSMR-LP .wsmr-usage .wsmr-section__inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 20px 48px;
  }

  .WSMR-LP .wsmr-usage__lead {
    width: 100%;
    font-size: 25px;
  }

  .WSMR-LP #usage-steps.wsmr-section__title,
  .WSMR-LP .wsmr-usage__grid {
    width: 100%;
    min-width: 0;
  }

  .WSMR-LP .FV-text,
  .WSMR-LP .FV-text > * {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .WSMR-LP .FV-text > * {
    width: 100% !important;
  }

  .WSMR-LP .sticky-bottom {
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    padding-inline: 12px;
    box-sizing: border-box;
  }

  .WSMR-LP .sticky-bottom .sticky-content,
  .WSMR-LP .sticky-bottom .sticky-content > div {
    min-width: 0;
  }

  .WSMR-LP .wsmr-step-card p {
    font-size: 15px;
    line-height: 1.8;
  }

  .WSMR-LP .wsmr-step-card:first-child::after {
    display: none;
  }

  .WSMR-LP .wsmr-step-card + .wsmr-step-card {
    margin-top: 18px;
  }

}

@media (max-width: 390px) {
  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__eyebrow,
  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header h3,
  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__eyebrow,
  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header h3 {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .WSMR-LP .wsmr-products .wsmr-section__inner {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 16px;
  }

  .WSMR-LP .wsmr-product-card {
    max-width: 100% !important;
  }

}

/*
 * PCは本番旧デザインの実表示スケールに合わせる。
 * zoomはレイアウトサイズにも反映されるため、通常フローの縦積みを維持できる。
 */
@media (min-width: 1301px) and (max-width: 1600px) {
  .WSMR-LP .wsmr-section,
  .lp-flow {
    width: 650px !important;
    max-width: none !important;
    margin-left: 375px !important;
    margin-right: auto !important;
    zoom: .8;
  }

}

@media (min-width: 1141px) and (max-width: 1300px) {
  .WSMR-LP .wsmr-section,
  .lp-flow {
    width: 650px !important;
    max-width: none !important;
    margin-left: 400px !important;
    margin-right: auto !important;
    zoom: .7;
  }

}

@media (min-width: 769px) {
  .WSMR-LP .wsmr-product-card.gel .gel-bubble-size {
    width: calc(70% - 25.2px) !important;
    max-width: none !important;
    margin: 85px auto 0 !important;
  }

}

/* 本番SPの650pxカンプを390px表示へ縮尺し、通常フローで再現する。 */
@media (max-width: 768px) {
  .WSMR-LP {
    width: 390px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-bottom: 23.5px !important;
    overflow-x: clip;
  }

  .WSMR-LP .FV,
  .WSMR-LP .FV .overlap-16,
  .WSMR-LP .FV .overlap-17 {
    height: 890px !important;
    min-height: 890px !important;
  }

  .WSMR-LP .FV {
    width: 100vw !important;
    margin-left: calc((390px - 100vw) / 2) !important;
    overflow: hidden !important;
  }

  .WSMR-LP .FV .overlap-16,
  .WSMR-LP .FV .overlap-17,
  .WSMR-LP .main-video {
    width: 100% !important;
  }

  .WSMR-LP .main-video {
    height: 356px !important;
  }

  .WSMR-LP .FV-text {
    width: 305.2px !important;
    max-width: 305.2px !important;
  }

  .WSMR-LP .FV-text > * {
    max-width: 100% !important;
  }

  .WSMR-LP .sp-trial {
    position: relative !important;
    inset: auto !important;
    width: 90vw !important;
    max-width: 611.953px !important;
    height: 314.367px !important;
    min-height: 314.367px !important;
    margin: -90px 0 0 calc((390px - 100vw) / 2) !important;
    padding: 0 5vw !important;
    color: var(--wsmr-ink);
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: content-box !important;
    transform: none !important;
    zoom: 1;
  }

  .WSMR-LP .sp-trial > .overlap-21,
  .WSMR-LP .sp-trial > img.price,
  .WSMR-LP .sp-trial > .text-wrapper-43,
  .WSMR-LP .sp-trial > .revico-star-zone,
  .WSMR-LP .sp-trial > .block-cart--buttons,
  .WSMR-LP .sp-trial > .element-6 {
    position: absolute !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .WSMR-LP .sp-trial > .overlap-21 {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
  }

  .WSMR-LP .sp-trial > img.price {
    position: static !important;
    inset: auto !important;
    width: 70% !important;
    height: auto !important;
    aspect-ratio: 6.24 !important;
    margin-bottom: 8px !important;
  }

  .WSMR-LP .sp-trial > .text-wrapper-43 {
    position: absolute !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 14px !important;
  }

  .WSMR-LP .sp-trial > .revico-star-zone {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: 35px !important;
    margin: 45px 0 5px !important;
  }

  .WSMR-LP .sp-trial > .block-cart--buttons {
    position: static !important;
    inset: auto !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    transform: scale(.8) !important;
    transform-origin: left top !important;
  }

  .WSMR-LP .sp-trial > .block-cart--buttons .block-cart--button {
    width: 100% !important;
    transform: none !important;
  }

  .WSMR-LP .sp-trial > .element-6 {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
  }

  .WSMR-LP .sp-trial .element-g-ml {
    margin: -20px 0 7px !important;
    font-size: 14px !important;
    line-height: 22px !important;
  }

  .WSMR-LP .wsmr-products {
    width: 358.6px !important;
    max-width: none !important;
    margin: 25.6px 0 0 15.7px !important;
  }

  .WSMR-LP .wsmr-products .wsmr-section__inner {
    padding: 0 22.5px 28.2px !important;
  }

  .WSMR-LP section.wsmr-products > .wsmr-section__inner > #product-details {
    width: 358px !important;
    height: 40.7px !important;
    margin: 0 0 11px -22.5px !important;
    display: grid;
    place-items: center;
    line-height: 40.7px !important;
  }

  .WSMR-LP .wsmr-products article.wsmr-product-card.foam,
  .WSMR-LP .wsmr-products article.wsmr-product-card.gel {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative !important;
  }

  .WSMR-LP .wsmr-products article.wsmr-product-card.foam {
    width: 553.9px !important;
    height: 1365.283px !important;
    min-height: 1365.283px !important;
    margin-bottom: 97px !important;
    zoom: .566;
  }

  .WSMR-LP .wsmr-products article.wsmr-product-card.gel {
    width: 533.2px !important;
    height: 2364.59px !important;
    min-height: 2364.59px !important;
    zoom: .588;
  }

  .WSMR-LP .wsmr-products article.wsmr-product-card.foam .wsmr-product-card__visual {
    margin-bottom: 36px !important;
  }

  .WSMR-LP .wsmr-products article.wsmr-product-card.gel .wsmr-product-card__visual {
    margin-bottom: 39px !important;
  }

  .WSMR-LP .wsmr-products article.wsmr-product-card.foam .wsmr-product-card__header,
  .WSMR-LP .wsmr-products article.wsmr-product-card.gel .wsmr-product-card__header {
    width: 360px !important;
    max-width: 360px !important;
    align-self: flex-start !important;
  }

  .WSMR-LP .wsmr-products article.wsmr-product-card.gel img.gel-bubble-size {
    position: absolute !important;
    display: block !important;
    left: calc(50% - 170.565px) !important;
    right: auto !important;
    top: 640px !important;
    width: 341.13px !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 3 !important;
  }

  .WSMR-LP .wsmr-usage {
    width: 360.8px !important;
    max-width: none !important;
    height: 346.5px !important;
    min-height: 346.5px !important;
    margin: 26.5px 0 0 14.6px !important;
  }

  .WSMR-LP .wsmr-usage .wsmr-section__inner {
    height: 346.5px !important;
    min-height: 346.5px !important;
    padding: 0 !important;
    position: relative !important;
  }

  .WSMR-LP section.wsmr-section.wsmr-usage .wsmr-section__title {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 357.5px !important;
    height: 40.7px !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    line-height: 40.7px !important;
  }

  .WSMR-LP .wsmr-usage__grid {
    position: absolute !important;
    top: 86.35px !important;
    left: 30.25px !important;
    width: 301.3px !important;
    height: 260px !important;
    display: grid !important;
    grid-template-columns: repeat(2, 139.15px) !important;
    gap: 23.1px !important;
    align-items: start !important;
  }

  .WSMR-LP .wsmr-step-card,
  .WSMR-LP .wsmr-step-card + .wsmr-step-card {
    width: 139.15px !important;
    height: 260px !important;
    margin: 0 !important;
  }

  .WSMR-LP .wsmr-step-card__video {
    display: block !important;
    width: 134.75px !important;
    height: 134.75px !important;
    margin: 0 !important;
  }

  .WSMR-LP .wsmr-step-card > p {
    width: 139.15px !important;
    margin: 6.05px 0 0 !important;
    font-size: 8.8px !important;
    line-height: 14.85px !important;
  }

  .lp-flow {
    width: 650px !important;
    max-width: none !important;
    margin: -181.818px 0 0 calc((100vw - 357.5px) / 1.1) !important;
    zoom: .55;
  }

  .lp-flow__inner {
    gap: 24px !important;
  }

  .lp-flow .product-reviewArea,
  section.wsmr-comparison,
  section.wsmr-comparison .wsmr-section__inner {
    width: 650px !important;
    max-width: none !important;
  }

  .lp-flow .product-reviewArea {
    width: 650px !important;
  }

}

@media (max-width: 480px) {
  section.wsmr-comparison .wsmr-section__inner {
    padding-bottom: 44px !important;
  }

  section.wsmr-comparison .wsmr-section__title {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
  }

  section.wsmr-comparison .wsmr-table-scroll {
    margin-top: 22px !important;
  }

  section.wsmr-comparison .c-ingredients {
    width: 650px !important;
    margin-top: -38px !important;
    padding: 58px 50px 0 !important;
  }
}

/* 比較表は段階的に縮小されるため、拡大ボタンだけ実寸へ戻す。 */
@media (max-width: 399px) {
  .lp-flow.lp-flow {
    margin-left: calc((100vw - 357.5px) / 1.1) !important;
  }

  section.wsmr-comparison .btn-zoom {
    zoom: 1.818182;
  }
}

@media (min-width: 400px) and (max-width: 480px) {
  section.wsmr-comparison .btn-zoom {
    zoom: 1.666667;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  section.wsmr-comparison .btn-zoom {
    zoom: 1.333333;
  }
}

/* 本番SPの段階的な縮尺に合わせ、セット内容以降を画面中央で拡大する。 */
@media (min-width: 400px) and (max-width: 480px) {
  .WSMR-LP .wsmr-products {
    margin-left: -.55px !important;
    zoom: 1.090909;
  }

  .WSMR-LP .wsmr-usage {
    margin-left: -1.65px !important;
    zoom: 1.090909;
  }

  .lp-flow {
    margin-top: -152.5px !important;
    margin-left: calc((100vw - 390px) / 1.2) !important;
    zoom: .6;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  .WSMR-LP .main-video {
    height: 445px !important;
  }

  .WSMR-LP .FV-text {
    width: 437.406px !important;
    max-width: 437.406px !important;
  }

  .WSMR-LP .sp-trial {
    transform: translateY(120px) !important;
  }

  .WSMR-LP .wsmr-products {
    margin-left: -36.3px !important;
    zoom: 1.363636;
  }

  .WSMR-LP .wsmr-usage {
    margin-left: -37.4px !important;
    zoom: 1.363636;
  }

  .lp-flow {
    margin-top: -101.36px !important;
    margin-left: max(21.333px, calc((100vw - 487.5px) / 1.5)) !important;
    zoom: .75;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .WSMR-LP .main-video {
    height: 445px !important;
  }

  .WSMR-LP .FV-text {
    width: 437.406px !important;
    max-width: 437.406px !important;
  }

  .WSMR-LP .sp-trial {
    transform: translateY(180px) !important;
  }

  .WSMR-LP .wsmr-products {
    margin-left: -72.05px !important;
    zoom: 1.818182;
  }

  .WSMR-LP .wsmr-usage {
    margin-left: -73.15px !important;
    zoom: 1.818182;
  }

  .lp-flow.lp-flow {
    margin-top: -73.59px !important;
    margin-left: max(0px, calc((100vw - 650px) / 2)) !important;
    zoom: 1;
  }
}

/* 本番SPの商品カード配置。セクション自体は通常フローのまま維持する。 */
@media (max-width: 768px) {
  /* 固定ナビを390px基準のLPコンテナではなく、表示領域の左端へ揃える。 */
  .WSMR-LP .sticky-top {
    left: 0 !important;
    right: auto !important;
    width: 100vw !important;
  }

  /* 本番SPの「これだけで完結」とSTEPラベルを同じ基準座標で表示する。 */
  .WSMR-LP .wsmr-usage__lead {
    position: absolute !important;
    top: 46.2px !important;
    left: 101.75px !important;
    display: block !important;
    width: 157.3px !important;
    height: 22px !important;
    margin: 0 !important;
    font-size: 23.4667px !important;
    line-height: 19.0667px !important;
    letter-spacing: .9387px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-usage__lead > span {
    position: absolute !important;
    top: 0 !important;
    left: -8.98px !important;
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;
    transform: scale(.74286, .75) !important;
    transform-origin: center center !important;
  }

  .WSMR-LP .wsmr-usage__lead::before,
  .WSMR-LP .wsmr-usage__lead::after {
    top: 0 !important;
    width: 22px !important;
  }

  .WSMR-LP .wsmr-usage__lead::before {
    left: 0 !important;
    transform: rotate(70deg) !important;
    transform-origin: left top !important;
  }

  .WSMR-LP .wsmr-usage__lead::after {
    right: 0 !important;
    transform: rotate(-70deg) !important;
    transform-origin: right top !important;
  }

  .WSMR-LP .wsmr-step-card__number {
    top: -13.75px !important;
    left: -13.2px !important;
    display: grid !important;
    width: 38.5px !important;
    height: 38.5px !important;
    background: #eee !important;
  }

  .WSMR-LP .wsmr-step-card:nth-child(2) .wsmr-step-card__number {
    left: -13.75px !important;
  }

  .WSMR-LP .wsmr-step-card__number span,
  .WSMR-LP .wsmr-step-card__number strong {
    position: absolute !important;
    left: 50% !important;
    align-self: auto !important;
    transform-origin: center !important;
  }

  .WSMR-LP .wsmr-step-card__number span {
    top: 8.25px !important;
    height: 8.525px !important;
    font-size: 8.8px !important;
    line-height: 8.525px !important;
    letter-spacing: .352px !important;
    white-space: nowrap !important;
    transform: translateX(calc(-50% + .257px)) scaleX(.75) !important;
  }

  .WSMR-LP .wsmr-step-card__number strong {
    top: 10.45px !important;
    font-size: 24.9333px !important;
    line-height: 24.2px !important;
    transform: translateX(calc(-50% - .37px)) scaleX(.75) !important;
  }

  .WSMR-LP .wsmr-usage #usage-steps > span {
    display: inline-block !important;
    transform: translateY(13.777px) scale(.56162, .538732) !important;
    transform-origin: center center !important;
  }

  .WSMR-LP section.set-detail.wsmr-products > .wsmr-section__inner > #product-details {
    width: 357.5px !important;
  }

  .WSMR-LP .wsmr-products article.wsmr-product-card.foam {
    left: 13.69px !important;
  }

  .WSMR-LP .wsmr-products article.wsmr-product-card.gel {
    left: 13.18px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 524.735px !important;
    max-width: none !important;
    height: 295.406px !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__visual {
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__images {
    position: static !important;
    width: 0 !important;
    height: 0 !important;
  }

  .WSMR-LP .wsmr-product-card.foam .set-foam {
    top: 247.79px !important;
    right: auto !important;
    left: 343.02px !important;
    width: 181.714px !important;
    max-width: none !important;
    height: 396.466px !important;
    object-fit: cover !important;
  }

  .WSMR-LP .wsmr-product-card.foam .set-foam-2 {
    top: 532.509px !important;
    right: auto !important;
    left: 273.057px !important;
    width: 87.456px !important;
    max-width: none !important;
    height: 91.343px !important;
    object-fit: cover !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__eyebrow {
    position: absolute !important;
    top: 347.88px !important;
    left: 15.548px !important;
    width: 288.422px !important;
    margin: 0 !important;
    font-size: 13.604px !important;
    line-height: 19.435px !important;
    letter-spacing: .816px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header h3 {
    position: absolute !important;
    top: 378px !important;
    left: 15.548px !important;
    width: 284.473px !important;
    margin: 0 !important;
    font-size: 27.208px !important;
    line-height: 38.87px !important;
    letter-spacing: 1.632px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__meta {
    position: absolute !important;
    top: 414.93px !important;
    left: 4.859px !important;
    width: 118.763px !important;
    margin: 0 !important;
    font-size: 16.519px !important;
    line-height: 24.293px !important;
    letter-spacing: .991px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__header > p:last-child {
    position: absolute !important;
    top: 448px !important;
    left: 15.548px !important;
    width: 342.84px !important;
    margin: 0 !important;
    font-size: 13.604px !important;
    line-height: 27.208px !important;
    letter-spacing: .68px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points {
    position: static !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li {
    position: absolute !important;
    left: 17.491px !important;
    display: block !important;
    width: 506.272px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li:nth-child(1) {
    top: 600.53px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li:nth-child(2) {
    top: 734.63px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li:nth-child(3) {
    top: 866.78px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li:nth-child(4) {
    top: 1130.12px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-point-label {
    width: 81.625px !important;
    min-width: 81.625px !important;
    height: 38.87px !important;
    min-height: 38.87px !important;
    padding: 5.83px 6.8px !important;
    font-size: 17.491px !important;
    line-height: 27.208px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-point-label strong {
    font-size: 19.435px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li > p {
    position: absolute !important;
    top: 46.16px !important;
    left: 1.944px !important;
    margin: 0 !important;
    font-size: 19.435px !important;
    line-height: 31.095px !important;
    letter-spacing: .777px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li:nth-child(1) > p {
    width: 362.076px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li:nth-child(2) > p {
    top: 45.67px !important;
    width: 420.183px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li:nth-child(3) > p {
    width: 222.344px !important;
    line-height: 29.151px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li:nth-child(4) > p {
    top: 45.68px !important;
    width: 361.302px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-ingredients {
    position: absolute !important;
    top: 83.57px !important;
    left: .972px !important;
    width: 487.456px !important;
    max-width: none !important;
    gap: 6.8px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-ingredients figure {
    gap: 7.77px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-ingredients figcaption {
    font-size: 14.575px !important;
    line-height: 19.678px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-ingredients small {
    font-size: 9.717px !important;
    line-height: 13.604px !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-points > li:last-child > small {
    position: absolute !important;
    top: 85.52px !important;
    left: 374.12px !important;
    margin: 0 !important;
    font-size: 15.548px !important;
    line-height: 22.35px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.foam .wsmr-product-card__note {
    position: absolute !important;
    top: 1260.34px !important;
    left: 18.463px !important;
    width: 506.272px !important;
    margin: 0 !important;
    font-size: 16.519px !important;
    line-height: 26.237px !important;
    letter-spacing: .33px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-video {
    top: 50.51px !important;
    left: 0 !important;
    width: 505.1px !important;
    max-width: none !important;
    height: 284.35px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .set {
    top: 289.03px !important;
    left: 372.28px !important;
    width: 127.21px !important;
    max-width: none !important;
    height: 381.63px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .set-gel {
    top: 583.67px !important;
    left: 285.29px !important;
    width: 72.96px !important;
    max-width: none !important;
    height: 56.12px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header {
    position: static !important;
    width: auto !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header > * {
    position: absolute !important;
    margin: 0 !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__eyebrow {
    top: 391px !important;
    left: 14.97px !important;
    width: 301.32px !important;
    font-size: 19.64px !important;
    line-height: 28.06px !important;
    letter-spacing: 1.18px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header h3 {
    top: 427.47px !important;
    left: 14.97px !important;
    width: 337.11px !important;
    font-size: 25.26px !important;
    line-height: 36.48px !important;
    letter-spacing: -1.26px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__meta {
    top: 464.88px !important;
    left: 4.68px !important;
    width: 244.24px !important;
    font-size: 15.9px !important;
    line-height: 23.38px !important;
    letter-spacing: .95px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__header > p:last-child {
    top: 496.68px !important;
    left: 14.97px !important;
    width: 333.93px !important;
    font-size: 13.1px !important;
    line-height: 26.19px !important;
    letter-spacing: .65px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li {
    position: absolute !important;
    left: 16.84px !important;
    display: block !important;
    width: 487.33px !important;
    height: auto !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(1) {
    top: 996.13px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(2) {
    top: 1125.21px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(3) {
    top: 1221.56px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(4) {
    top: 1475.04px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-point-label {
    position: static !important;
    width: 78.57px !important;
    min-width: 78.57px !important;
    height: 37.41px !important;
    min-height: 37.41px !important;
    padding: 5.61px 6.55px !important;
    font-size: 16.84px !important;
    line-height: 28.06px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-point-label strong {
    font-size: 19.64px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li > p {
    position: absolute !important;
    top: 44.4px !important;
    left: 1.87px !important;
    margin: 0 !important;
    font-size: 18.71px !important;
    line-height: 29.93px !important;
    letter-spacing: .75px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(1) > p {
    width: 309.8px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(2) > p {
    width: 387.81px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(3) > p {
    width: 214.03px !important;
    line-height: 28.06px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(4) > p {
    width: 347.78px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(3) .wsmr-ingredients {
    position: absolute !important;
    top: 80.44px !important;
    left: .95px !important;
    width: 467.69px !important;
    max-width: none !important;
    gap: 6.55px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(4) > small {
    position: absolute !important;
    top: 82.32px !important;
    left: 359.18px !important;
    width: 108.96px !important;
    margin: 0 !important;
    font-size: 14.97px !important;
    line-height: 22.97px !important;
    white-space: nowrap !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-product-card__note {
    position: absolute !important;
    top: 1600.38px !important;
    left: 17.77px !important;
    width: 487.33px !important;
    height: auto !important;
    margin: 0 !important;
    font-size: 15.9px !important;
    line-height: 25.25px !important;
    letter-spacing: .32px !important;
  }

  .WSMR-LP .wsmr-product-card.gel .wsmr-function-image {
    position: absolute !important;
    top: 1749.11px !important;
    left: 16.84px !important;
    width: 471.43px !important;
    max-width: none !important;
    height: 615.48px !important;
    margin: 0 !important;
  }

  .WSMR-LP .sticky-bottom {
    padding-inline: 15px !important;
  }

  .WSMR-LP .sticky-bottom .toggle-btn {
    top: -40px !important;
    left: 0 !important;
    width: 34px !important;
    min-width: 0 !important;
    height: 35px !important;
    min-height: 0 !important;
    padding: 5px 12px 10px !important;
  }
}

@media (max-width: 480px) {
  .WSMR-LP .wsmr-usage #usage-steps > span {
    transform: translateY(13.874px) scale(.735771, .744112) !important;
  }
}

@media (min-width: 400px) and (max-width: 480px) {
  .WSMR-LP section.set-detail.wsmr-products {
    margin-top: 23.5px !important;
  }

  .WSMR-LP section.wsmr-section.wsmr-usage {
    margin-top: 34.833px !important;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  .WSMR-LP section.set-detail.wsmr-products {
    margin-top: 77.46px !important;
  }

  .WSMR-LP section.set-detail.wsmr-products > .wsmr-section__inner > #product-details {
    height: 37.4px !important;
    margin-bottom: 14.3px !important;
    line-height: 37.4px !important;
  }

  .WSMR-LP section.wsmr-section.wsmr-usage .wsmr-section__title {
    height: 37.4px !important;
    line-height: 37.4px !important;
  }

  .WSMR-LP section.wsmr-section.wsmr-usage {
    margin-top: 23.833px !important;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .WSMR-LP section.set-detail.wsmr-products {
    margin-top: 102.1px !important;
  }

  .WSMR-LP section.set-detail.wsmr-products > .wsmr-section__inner > #product-details {
    height: 37.4px !important;
    margin-bottom: 14.3px !important;
    line-height: 37.4px !important;
  }

  .WSMR-LP .wsmr-usage .wsmr-section__title {
    height: 37.4px !important;
    line-height: 37.4px !important;
  }

  .WSMR-LP .wsmr-usage #usage-steps > span {
    transform: translateY(12.083px) scale(.56162, .542553) !important;
  }

  .WSMR-LP section.wsmr-section.wsmr-usage {
    margin-top: 22px !important;
  }
}

/*
 * 本番WSMRの商品詳細・比較セクションに最終整合する。
 * 大セクションは通常フローのまま、カード内部だけ本番座標へ合わせる。
 */
@media (min-width: 769px) {
  body.page-products .block-detail--main.block-detail--main:has(.WSMR-LP) {
    margin-bottom: 0 !important;
  }

  .WSMR-LP.WSMR-LP section.wsmr-products.wsmr-section {
    margin-top: 185px !important;
  }

  .WSMR-LP.WSMR-LP .wsmr-product-card.foam {
    height: 1405px !important;
    min-height: 1405px !important;
  }

  .WSMR-LP.WSMR-LP .wsmr-product-card.gel {
    height: auto !important;
    min-height: 2464px !important;
  }

  .WSMR-LP.WSMR-LP .wsmr-product-card.gel .wsmr-points.wsmr-points {
    margin-top: 43px !important;
  }

  .WSMR-LP.WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(3) {
    margin-top: -3px !important;
  }

  .WSMR-LP.WSMR-LP .wsmr-product-card.gel .wsmr-points > li:nth-child(4) {
    margin-top: -9.5px !important;
  }

  .WSMR-LP.WSMR-LP section.wsmr-usage.wsmr-section {
    margin-top: 56.13px !important;
  }

  .WSMR-LP.WSMR-LP .wsmr-usage .wsmr-section__inner {
    padding-bottom: 56px !important;
  }

  .lp-flow.lp-flow {
    margin-top: 35.1px !important;
    gap: 51.67px !important;
  }

  .lp-flow .product-reviewArea {
    min-height: 3361.8px !important;
  }
}

@media (max-width: 480px) {
  body.page-products .lp-flow.lp-flow section.wsmr-comparison .btn-zoom.btn-zoom {
    zoom: 1 !important;
  }
}

@media (max-width: 399px) {
  body.page-products .lp-flow.lp-flow.lp-flow {
    margin-left: calc((100vw - 357.5px) / 1.1) !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  body.page-products .lp-flow.lp-flow section.wsmr-comparison .btn-zoom.btn-zoom {
    display: none !important;
  }
}

/* Keep the 390px composition inside narrower iPhone SE viewports. */
@media (max-width: 389px) {
  .WSMR-LP.WSMR-LP .FV,
  .WSMR-LP.WSMR-LP .sp-trial {
    margin-left: 0 !important;
  }

  .WSMR-LP.WSMR-LP .wsmr-products {
    zoom: .95;
    margin-left: calc((100vw - 340.67px) / 1.9) !important;
  }

  .WSMR-LP.WSMR-LP .wsmr-usage {
    zoom: .95;
    margin-left: calc((100vw - 342.76px) / 1.9) !important;
  }

  body.page-products .lp-flow.lp-flow.lp-flow.lp-flow {
    zoom: .5225;
    margin-left: calc((100vw - 339.625px) / 1.045) !important;
  }

  section.wsmr-comparison .btn-zoom {
    zoom: 1.913876;
  }
}

@media (max-width: 359px) {
  .WSMR-LP.WSMR-LP .wsmr-products {
    zoom: .8;
    margin-left: calc((100vw - 286.88px) / 1.6) !important;
  }

  .WSMR-LP.WSMR-LP .wsmr-usage {
    zoom: .8;
    margin-left: calc((100vw - 288.64px) / 1.6) !important;
  }

  body.page-products .lp-flow.lp-flow.lp-flow.lp-flow {
    zoom: .44;
    margin-left: calc((100vw - 286px) / .88) !important;
  }

  section.wsmr-comparison .btn-zoom {
    zoom: 2.272727;
  }
}

@media (prefers-reduced-motion: reduce) {
  .WSMR-LP *,
  .WSMR-LP *::before,
  .WSMR-LP *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
