/* ==================================================
   WILL CLENS - HOW TO USE
   共通header/footer/common-btn/js-fade-upは既存テーマを使用
================================================== */

#howto-page,
.howto-page,
.howto-page * {
  box-sizing: border-box;
}

.howto-page {
  position: relative;
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: transparent;
}

.howto-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("../images/how-to-use/howtouse-back-fixed.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  pointer-events: none;
}

.howto-page > * {
  position: relative;
  z-index: 1;
}

.howto-page a,
.howto-page a:hover,
.howto-page a:focus,
.howto-page a:active {
  text-decoration: none !important;
}

/* HERO */
.howto-hero {
  position: relative;
  width: 100%;
  min-height: 487px;
  overflow: hidden;
}

.howto-hero__picture,
.howto-hero__picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.howto-hero__picture {
  position: absolute;
  inset: 0;
}

.howto-hero__picture img {
  object-fit: cover;
  object-position: center;
}

.howto-breadcrumb {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 3;
  width: 90vw;
  max-width: 1728px;
  transform: translateX(-50%);
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}

.howto-breadcrumb a { color: inherit; }

.howto-hero__copy {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  color: #fff;
}

.howto-hero__en {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: .08em;
}

.howto-hero__title {
  margin: 0;
  font-size: clamp(28px, 2.2vw, 42px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .04em;
}

/* INTRO */
.howto-intro {
  width: 90vw;
  max-width: 1728px;
  margin: 58px auto 0;
}

.howto-intro__inner {
  width: 80%;
  max-width: 1536px;
  margin: 0 auto;
  text-align: center;
}

.howto-intro__text {
  max-width: 820px;
  margin: 0 auto;
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}

.howto-flow {
  margin-top: 42px;
}

.howto-flow__label {
  margin: 0 0 18px;
  color: #555;
  font-size: 12px;
  letter-spacing: .05em;
  font-weight: 600;
}

.howto-flow__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.howto-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #70c3e3;
  color: #fff;
}

.howto-flow__step span {
  font-size: 13px;
  margin-bottom: 5px;
}

.howto-flow__step strong {
  font-size: 28px;
  font-weight: 600;
}

.howto-flow__arrow {
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 17px solid #70c3e3;
}

/* SCENES */
.howto-scenes {
  width: 80vw;
  max-width: 1536px;
  margin: 100px auto 160px;
}

.howto-scene + .howto-scene {
  margin-top: 112px;
}

.howto-scene__heading {
  position: relative;
  margin-bottom: 52px;
  /* padding-bottom: 16px; */
}

.howto-scene__heading::after {
  content: "";

  position: absolute;
  left: -10vw;
  bottom: 0;

  width: 40vw;
  max-width: 650px;

  height: 1px;
  background: #666;
}

.howto-scene__number {
  margin: 0 0 8px;
  color: #666;
  font-size: 11px;
  letter-spacing: .08em;
}

.howto-scene__title {
  display: inline-block;

  margin: 0;
  padding-bottom: 8px;

  color: #3694c9;
  font-size: clamp(24px, 2vw, 38px) !important;
  font-weight: 600;
  line-height: 1.3;
}

.howto-routine {
  width: 100%;
}

.howto-product {
  display: grid;
  grid-template-columns: minmax(260px, 372px) minmax(0, 1fr);
  align-items: center;
  column-gap: 5.5%;
}

.howto-product__left {
  width: 100%;
  max-width: 372px;
  min-width: 0;
}

.howto-product__image {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 372px;
  aspect-ratio: 400 / 415;
  background: #8dc8e3;
}

.howto-product__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.howto-product:hover .howto-product__image img {
  opacity: .88;
  transform: scale(1.015);
}

.howto-product__content {
  position: relative;
  min-width: 0;
  padding-right: 250px;
}

.howto-product__step {
  margin: 0 0 10px !important;
  color: #3694c9;
  font-size: 24px !important;
  font-weight: 600;
}

.howto-product__step strong {
  font-size: 24px;
  font-weight: 600;
}

.howto-product__name {
  margin: 0 !important;
  color: #555;
  font-size: clamp(22px, 1.8vw, 34px) !important;
  font-weight: 600;
  line-height: 1.35;
}

.howto-product__catch {
  margin: 24px 0 0 !important;
  color: #3694c9;
  font-size: 13px !important;
  font-weight: 600;
}

.howto-product__description {
  max-width: 720px;
  margin: 7px 0 0 !important;
  color: #555;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.howto-product__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.howto-product__benefits li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #6bd5c1;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.howto-buy-btn {
  position: absolute;
  right: 0;
  bottom: 14px;
  width: 190px;
  height: 58px;
  flex-shrink: 0;
}

.howto-buy-btn .common-btn__arrow { width: 52px; }
.howto-buy-btn--middle { display: none; }

.howto-routine__arrow {
  display: block;
  width: 0;
  height: 0;
  margin: 28px 0 28px min(186px, 18%);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 18px solid #70c3e3;
}

/* 720px〜1170px：お悩みページ同様、ボタンを画像下へ */
@media (min-width: 561px) and (max-width: 1170px) {
  .howto-product {
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    column-gap: 5%;
  }

  .howto-product__left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .howto-product__content {
    padding-right: 0;
  }

  .howto-product__content > .howto-buy-btn:not(.howto-buy-btn--middle) {
    display: none;
  }

  .howto-buy-btn--middle {
    position: static;
    display: inline-flex;
    width: 190px;
    height: 52px;
    margin: 24px auto 0;
  }

  .howto-routine__arrow {
    margin-left: 17%;
  }
}

/* SP：お悩みページと同じ積み方 */
@media (max-width: 560px) {
  .howto-page::before {
    background-image: url("../images/how-to-use/howtouse-back-fixed-sp.png");
    background-size: 100% auto;
    background-position: top center;
  }

  .howto-hero {
    min-height: 469px;
  }

  .howto-breadcrumb {
    top: 20px;
    font-size: 9px;
  }

  .howto-hero__copy {
    width: 80%;
  }

  .howto-hero__en {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .howto-hero__title {
    font-size: 24px;
  }

  .howto-intro {
    width: 80vw;
    margin-top: 42px;
  }

  .howto-intro__inner {
    width: 100%;
  }

  .howto-intro__text {
    font-size: 10px;
    line-height: 1.7;
  }

  .howto-flow {
    margin-top: 34px;
  }

  .howto-flow__row {
    gap: 9px;
  }

  .howto-flow__step {
    width: 28%;
    max-width: 102px;
  }

  .howto-flow__step span {
    font-size: 9px;
    margin-bottom: 2px;
  }

  .howto-flow__step strong {
    font-size: 18px;
  }

  .howto-flow__arrow {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 11px;
  }

  .howto-scenes {
    width: 80vw;
    margin-top: 72px;
    margin-bottom: 100px;
  }

  .howto-scene + .howto-scene {
    margin-top: 84px;
  }

  .howto-scene__heading {
    margin-bottom: 36px;
  }

  .howto-scene__number {
    font-size: 9px;
  }

  .howto-scene__title {
    font-size: 20px !important;
  }

  .howto-product {
    display: block;
  }

  .howto-product__left {
    max-width: 100%;
  }

  .howto-product__image {
    width: 100%;
    max-width: 372px;
    margin: 0 auto;
  }

  .howto-product__content {
    padding: 24px 0 0;
  }

  .howto-product__step {
    font-size: 20px !important;
  }

  .howto-product__step strong {
    font-size: 20px;
  }

  .howto-product__name {
    font-size: 20px !important;
  }

  .howto-product__catch {
    margin-top: 18px !important;
    font-size: 11px !important;
  }

  .howto-product__description {
    font-size: 10px !important;
  }

  .howto-product__benefits {
    gap: 10px;
    margin-top: 18px;
  }

  .howto-product__benefits li {
    width: 62px;
    font-size: 11px;
  }

  .howto-buy-btn--middle {
    display: none;
  }

  .howto-product__content > .howto-buy-btn {
    position: static;
    display: flex !important;
    width: 190px !important;
    height: 48px !important;
    margin: 40px auto 0 !important;
  }

  .howto-routine__arrow {
    margin: 22px auto;
    border-left-width: 16px;
    border-right-width: 16px;
    border-top-width: 14px;
  }

  .howto-scene__heading::after {
    width: 80dvw;
  }
}



.howto-hero__title {
  font-size: var(--top-h1) !important;
}

.howto-flow__step strong,
.howto-scene__title,
.howto-product__step,
.howto-product__step strong {
  font-size: var(--top-24) !important;
}

.howto-product__name {
  font-size: var(--top-20) !important;
}

.howto-intro__text,
.howto-product__catch,
.howto-product__description {
  font-size: var(--top-16) !important;
}

.howto-breadcrumb {
  font-size: var(--top-small) !important;
}

/* ==================================================
   HOW TO USE - FINAL SYNC
   2026-09-18
   基準：
   ・お悩みページと同じ商品レイアウト
   ・使用方法ゾーンも同じ見た目
   ・561〜770pxは「使用方法」だけ2カラム下へ
   ・560px以下で商品全体を縦積み
   ・フォントは共通 --top-* 変数を使用
================================================== */

/* -----------------------------------------------
   PAGE / BACKGROUND / WIDTH
------------------------------------------------ */
#howto-page {
  background: #fff !important;
}

#howto-page::before {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

#howto-page .howto-breadcrumb,
#howto-page .howto-intro,
#howto-page .howto-scenes {
  width: calc(100% - 64px) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#howto-page .howto-intro {
  margin-top: 58px !important;
}

#howto-page .howto-intro__inner {
  width: 100% !important;
  max-width: none !important;
}

#howto-page .howto-scenes {
  margin-top: 96px !important;
  margin-bottom: 160px !important;
}


/* -----------------------------------------------
   TYPOGRAPHY
   共通style.cssの --top-* をそのまま使用
------------------------------------------------ */
#howto-page .howto-hero__title {
  font-size: var(--top-h1) !important;
  font-weight: 600 !important;
}

#howto-page .howto-hero__en,
#howto-page .howto-breadcrumb,
#howto-page .howto-flow__label,
#howto-page .howto-flow__step span,
#howto-page .howto-scene__number {
  font-size: var(--top-small) !important;
}

#howto-page .howto-intro__text,
#howto-page .howto-product__catch,
#howto-page .howto-product__description {
  font-size: 16px !important;
}

#howto-page .howto-flow__step strong,
#howto-page .howto-scene__title,
#howto-page .howto-product__step,
#howto-page .howto-product__step strong,
#howto-page .howto-product__name {
  font-size: var(--top-24) !important;
}

#howto-page .howto-product__name,
#howto-page .howto-product__step,
#howto-page .howto-scene__title {
  font-weight: 600 !important;
}

#howto-page .howto-intro__text {
  max-width: 920px !important;
  line-height: 1.8 !important;
}

#howto-page .howto-product__description {
  line-height: 1.7 !important;
}


/* -----------------------------------------------
   SCENE HEADING
------------------------------------------------ */
#howto-page .howto-scene__heading {
  margin-bottom: 52px !important;
}

#howto-page .howto-scene__heading::after {
  content: none !important;
  display: none !important;
}

#howto-page .howto-scene__number {
  margin: 0 0 10px !important;
  color: #777 !important;
  line-height: 1.4 !important;
}

#howto-page .howto-scene__title {
  display: flex !important;
  align-items: center !important;

  width: 100% !important;
  min-height: 58px !important;

  margin: 0 !important;
  padding: 10px 20px 10px 24px !important;

  background: #e7eff7 !important;
  border-left: 10px solid #3694c9 !important;
  color: #3694c9 !important;

  line-height: 1.3 !important;
}


/* -----------------------------------------------
   PRODUCT
   お悩みページと同じ基本構造
------------------------------------------------ */
#howto-page .howto-product {
  display: grid !important;
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr) !important;
  align-items: start !important;

  column-gap: 4.5% !important;
  row-gap: 0 !important;
}

#howto-page .howto-product__left {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

#howto-page .howto-product__image {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
}

#howto-page .howto-product__content {
  min-width: 0 !important;
  padding-right: 0 !important;
}

#howto-page .howto-product__step {
  display: flex !important;
  align-items: center !important;

  width: 100% !important;

  margin: 0 0 20px !important;
  padding: 10px 20px 10px 24px !important;

  background: #e7eff7 !important;
  border-left: 10px solid #3694c9 !important;
  color: #3694c9 !important;

  line-height: 1.3 !important;
}

#howto-page .howto-product__name {
  margin: 0 !important;
  color: #555 !important;
  line-height: 1.4 !important;
}

#howto-page .howto-product__catch {
  margin: 18px 0 0 !important;
  color: #3694c9 !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

#howto-page .howto-product__description {
  max-width: 780px !important;
  margin: 10px 0 0 !important;
  color: #555 !important;
}


/* -----------------------------------------------
   BUY BUTTON
   全サイズで商品画像の真下
------------------------------------------------ */
#howto-page .howto-buy-btn--middle {
  position: static !important;

  display: inline-flex !important;

  width: 260px !important;
  height: 60px !important;

  margin: 24px auto 0 !important;
}

#howto-page .howto-product__content > .howto-buy-btn:not(.howto-buy-btn--middle) {
  display: none !important;
}

#howto-page .howto-buy-btn .common-btn__text {
  font-size: var(--top-16) !important;
  font-weight: 600 !important;
}


/* -----------------------------------------------
   使用方法ゾーン
   HTML変更不要：
   .howto-product__benefits にタイトルを生成
------------------------------------------------ */
#howto-page .howto-product__benefits {
  position: relative !important;

  display: flex !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;

  width: 100% !important;

  gap: 16px 32px !important;
  margin: 30px 0 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

/* お悩みページの「使用方法」と同じ帯 */
#howto-page .howto-product__benefits::before {
  content: "使用方法";

  display: flex !important;
  align-items: center !important;

  flex: 0 0 100% !important;

  width: 100% !important;
  min-height: 48px !important;

  margin: 0 0 8px !important;
  padding: 10px 20px 10px 24px !important;

  background: #e7eff7 !important;
  border-left: 10px solid #3694c9 !important;
  color: #3694c9 !important;

  font-size: var(--top-24) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;

  box-sizing: border-box !important;
}

/* 緑丸 → 手順画像 */
#howto-page .howto-product__benefits li {
  position: relative !important;

  display: block !important;
  flex: 0 0 150px !important;

  width: 150px !important;
  max-width: 150px !important;
  aspect-ratio: 1 / 1 !important;

  overflow: visible !important;

  border-radius: 50% !important;

  background-color: #d9eef7 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;

  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
}

/* お悩みページと同じ矢印 */
#howto-page .howto-product__benefits li:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 50%;
  right: -25px;

  width: 0;
  height: 0;

  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 18px solid #3694c9;

  transform: translateY(-50%);
}


/* -----------------------------------------------
   手順画像
------------------------------------------------ */

/* scene 1 / フットソープ */
#howto-page .howto-scene:nth-of-type(1) .howto-product:nth-of-type(1) .howto-product__benefits li:nth-child(1) { background-image: url("../images/onayami/foot-soap-explanation-01.png") !important; }
#howto-page .howto-scene:nth-of-type(1) .howto-product:nth-of-type(1) .howto-product__benefits li:nth-child(2) { background-image: url("../images/onayami/foot-soap-explanation-02.png") !important; }
#howto-page .howto-scene:nth-of-type(1) .howto-product:nth-of-type(1) .howto-product__benefits li:nth-child(3) { background-image: url("../images/onayami/foot-soap-explanation-03.png") !important; }

/* scene 1 / シューズパウダー */
#howto-page .howto-scene:nth-of-type(1) .howto-product:nth-of-type(2) .howto-product__benefits li:nth-child(1) { background-image: url("../images/onayami/shoes-powder-explanation-01.png") !important; }
#howto-page .howto-scene:nth-of-type(1) .howto-product:nth-of-type(2) .howto-product__benefits li:nth-child(2) { background-image: url("../images/onayami/shoes-powder-explanation-02.png") !important; }
#howto-page .howto-scene:nth-of-type(1) .howto-product:nth-of-type(2) .howto-product__benefits li:nth-child(3) { background-image: url("../images/onayami/shoes-powder-explanation-03.png") !important; }

/* scene 1 / フットクリーム */
#howto-page .howto-scene:nth-of-type(1) .howto-product:nth-of-type(3) .howto-product__benefits li:nth-child(1) { background-image: url("../images/onayami/foot-cream-explanation-01.png") !important; }
#howto-page .howto-scene:nth-of-type(1) .howto-product:nth-of-type(3) .howto-product__benefits li:nth-child(2) { background-image: url("../images/onayami/foot-cream-explanation-02.png") !important; }
#howto-page .howto-scene:nth-of-type(1) .howto-product:nth-of-type(3) .howto-product__benefits li:nth-child(3) { background-image: url("../images/onayami/foot-cream-explanation-03.png") !important; }

/* scene 2 / ボディソープ */
#howto-page .howto-scene:nth-of-type(2) .howto-product:nth-of-type(1) .howto-product__benefits li:nth-child(1) { background-image: url("../images/onayami/body-soap-explanation-01.png") !important; }
#howto-page .howto-scene:nth-of-type(2) .howto-product:nth-of-type(1) .howto-product__benefits li:nth-child(2) { background-image: url("../images/onayami/body-soap-explanation-02.png") !important; }
#howto-page .howto-scene:nth-of-type(2) .howto-product:nth-of-type(1) .howto-product__benefits li:nth-child(3) { background-image: url("../images/onayami/body-soap-explanation-03.png") !important; }

/* scene 2 / ロールオン */
#howto-page .howto-scene:nth-of-type(2) .howto-product:nth-of-type(2) .howto-product__benefits li:nth-child(1) { background-image: url("../images/onayami/body-stick-explanation-01.png") !important; }
#howto-page .howto-scene:nth-of-type(2) .howto-product:nth-of-type(2) .howto-product__benefits li:nth-child(2) { background-image: url("../images/onayami/body-stick-explanation-02.png") !important; }
#howto-page .howto-scene:nth-of-type(2) .howto-product:nth-of-type(2) .howto-product__benefits li:nth-child(3) { background-image: url("../images/onayami/body-stick-explanation-03.png") !important; }

/* scene 2 / ボディローション：専用画像がないため既存body系を暫定使用 */
#howto-page .howto-scene:nth-of-type(2) .howto-product:nth-of-type(3) .howto-product__benefits li:nth-child(1) { background-image: url("../images/onayami/body-cream-explanation-01.png") !important; }
#howto-page .howto-scene:nth-of-type(2) .howto-product:nth-of-type(3) .howto-product__benefits li:nth-child(2) { background-image: url("../images/onayami/body-cream-explanation-02.png") !important; }
#howto-page .howto-scene:nth-of-type(2) .howto-product:nth-of-type(3) .howto-product__benefits li:nth-child(3) { background-image: url("../images/onayami/body-cream-explanation-01.png") !important; }

/* scene 3 / シューズクリーナー */
#howto-page .howto-scene:nth-of-type(3) .howto-product:nth-of-type(1) .howto-product__benefits li:nth-child(1) { background-image: url("../images/onayami/shoes-cleaner-explanation-01.png") !important; }
#howto-page .howto-scene:nth-of-type(3) .howto-product:nth-of-type(1) .howto-product__benefits li:nth-child(2) { background-image: url("../images/onayami/shoes-cleaner-explanation-02.png") !important; }
#howto-page .howto-scene:nth-of-type(3) .howto-product:nth-of-type(1) .howto-product__benefits li:nth-child(3) { background-image: url("../images/onayami/shoes-cleaner-explanation-03.png") !important; }

/* scene 3 / シューズパウダー */
#howto-page .howto-scene:nth-of-type(3) .howto-product:nth-of-type(2) .howto-product__benefits li:nth-child(1) { background-image: url("../images/onayami/shoes-powder-explanation-01.png") !important; }
#howto-page .howto-scene:nth-of-type(3) .howto-product:nth-of-type(2) .howto-product__benefits li:nth-child(2) { background-image: url("../images/onayami/shoes-powder-explanation-02.png") !important; }
#howto-page .howto-scene:nth-of-type(3) .howto-product:nth-of-type(2) .howto-product__benefits li:nth-child(3) { background-image: url("../images/onayami/shoes-powder-explanation-03.png") !important; }

/* scene 3 / シューズフォーム：専用画像がないため既存shoe系を暫定使用 */
#howto-page .howto-scene:nth-of-type(3) .howto-product:nth-of-type(3) .howto-product__benefits li:nth-child(1) { background-image: url("../images/onayami/shoes-cleaner-explanation-01.png") !important; }
#howto-page .howto-scene:nth-of-type(3) .howto-product:nth-of-type(3) .howto-product__benefits li:nth-child(2) { background-image: url("../images/onayami/shoes-cleaner-explanation-02.png") !important; }
#howto-page .howto-scene:nth-of-type(3) .howto-product:nth-of-type(3) .howto-product__benefits li:nth-child(3) { background-image: url("../images/onayami/shoes-cleaner-explanation-03.png") !important; }


/* -----------------------------------------------
   TB
------------------------------------------------ */
@media (min-width: 771px) and (max-width: 1170px) {

  #howto-page .howto-breadcrumb,
  #howto-page .howto-intro,
  #howto-page .howto-scenes {
    width: 90% !important;
    max-width: 1200px !important;
  }

  #howto-page .howto-scenes {
    margin-top: 72px !important;
    margin-bottom: 120px !important;
  }

  #howto-page .howto-product {
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr) !important;
    column-gap: 5% !important;
  }

  #howto-page .howto-product__step,
  #howto-page .howto-product__benefits::before {
    padding: 8px 16px 8px 18px !important;
    border-left-width: 8px !important;
  }

  #howto-page .howto-product__benefits li {
    flex-basis: 120px !important;
    width: 120px !important;
    max-width: 120px !important;
  }
}


/* -----------------------------------------------
   561〜770px
   商品画像＋説明は2列のまま。
   「使用方法」ゾーンだけその下へ。
------------------------------------------------ */
@media (min-width: 561px) and (max-width: 770px) {

  #howto-page .howto-breadcrumb,
  #howto-page .howto-intro,
  #howto-page .howto-scenes {
    width: 90% !important;
    max-width: none !important;
  }

  #howto-page .howto-product {
    display: grid !important;

    grid-template-columns: minmax(210px, 34%) minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto !important;

    column-gap: 5% !important;
    row-gap: 0 !important;
  }

  #howto-page .howto-product__left {
    grid-column: 1 !important;
    grid-row: 1 / 5 !important;
  }

  /* 右カラムの中身を親gridへ参加 */
  #howto-page .howto-product__content {
    display: contents !important;
  }

  #howto-page .howto-product__step {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  #howto-page .howto-product__name {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  #howto-page .howto-product__catch {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }

  #howto-page .howto-product__description {
    grid-column: 2 !important;
    grid-row: 4 !important;
  }

  /* 使用方法だけ2カラムの下へ */
  #howto-page .howto-product__benefits {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;

    width: 100% !important;
    margin-top: 40px !important;
  }

  #howto-page .howto-product__benefits::before {
    min-height: 48px !important;
    padding: 8px 16px 8px 18px !important;
    border-left-width: 8px !important;
  }

  #howto-page .howto-product__benefits li {
    flex-basis: 150px !important;
    width: 150px !important;
    max-width: 150px !important;
  }
}


/* -----------------------------------------------
   560px以下
   商品全体を縦積み（既存の正解挙動）
------------------------------------------------ */
@media (max-width: 560px) {

  #howto-page .howto-breadcrumb {
    width: 90% !important;
  }

  #howto-page .howto-intro,
  #howto-page .howto-scenes {
    width: 90% !important;
    max-width: none !important;
  }

  #howto-page .howto-product {
    display: block !important;
  }

  #howto-page .howto-product__left {
    width: 100% !important;
    max-width: 100% !important;
  }

  #howto-page .howto-product__content {
    display: block !important;
    padding: 24px 0 0 !important;
  }

  #howto-page .howto-product__step {
    padding: 7px 12px 7px 10px !important;
    border-left-width: 5px !important;
  }

  #howto-page .howto-product__benefits {
    margin-top: 28px !important;
    gap: 14px 24px !important;
  }

  #howto-page .howto-product__benefits::before {
    min-height: 40px !important;
    padding: 6px 10px 6px 12px !important;
    border-left-width: 5px !important;
  }

  #howto-page .howto-product__benefits li {
    flex-basis: calc((100% - 48px) / 3) !important;
    width: calc((100% - 48px) / 3) !important;
    max-width: none !important;
  }

  #howto-page .howto-product__benefits li:not(:last-child)::after {
    right: -20px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 14px;
  }

  /* SPでもボタンは商品画像下 */
  #howto-page .howto-buy-btn--middle {
    display: inline-flex !important;
    width: min(260px, 72vw) !important;
    height: 60px !important;
    margin: 24px auto 0 !important;
  }

  #howto-page .howto-product__content > .howto-buy-btn {
    display: none !important;
  }
}

/* =========================================================
   HOW TO USE / PRODUCT AREA = ONAYAMI LAYOUT
   PC / TB / SP 共通
   2026-09-25
========================================================= */

/* scene間の矢印はそのまま使用 */
#howto-page .howto-routine {
  width: 100% !important;
}

/* 商品ブロック本体：onayami-product と同じ */
#howto-page .howto-product {
  display: grid !important;
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 4.5% !important;

  width: 100% !important;
  padding: 0 0 72px !important;
  border-bottom: 1px solid rgba(54, 148, 201, .38) !important;
}

#howto-page .howto-product + .howto-routine__arrow + .howto-product {
  margin-top: 72px !important;
}

#howto-page .howto-product__left {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

#howto-page .howto-product__image {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #8dc8e3 !important;
}

#howto-page .howto-product__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#howto-page .howto-product__content {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  padding: 0 !important;
}

/* STEPはHOW TO USE固有要素として残すが、onayamiのcatchと同じ流れに置く */
#howto-page .howto-product__step {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;

  margin: 0 0 10px !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  color: #3694c9 !important;

  font-size: var(--top-16) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

#howto-page .howto-product__step strong {
  font-size: inherit !important;
  font-weight: 600 !important;
}

#howto-page .howto-product__catch {
  margin: 0 0 12px !important;
  color: #3694c9 !important;
  font-size: var(--top-16) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

#howto-page .howto-product__name {
  margin: 0 !important;
  color: #555 !important;
  font-size: var(--top-24) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

#howto-page .howto-product__description {
  max-width: 780px !important;
  margin: 20px 0 0 !important;
  color: #555 !important;
  font-size: var(--top-16) !important;
  line-height: 1.7 !important;
}

/* 下段：onayami-product__bottom と同じ */
#howto-page .howto-product__bottom {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 28px !important;
  margin-top: 4px !important;
}

#howto-page .howto-usage {
  flex: 1 !important;
  margin-top: 28px !important;
}

#howto-page .howto-usage__title {
  display: none !important;
  margin: 0 0 16px !important;
  color: #3694c9 !important;
  font-size: var(--top-24) !important;
  font-weight: 600 !important;
}

#howto-page .howto-usage__row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 32px !important;
}

#howto-page .howto-usage__step {
  flex: 0 1 170px !important;
  min-width: 0 !important;
  text-align: center !important;
}

#howto-page .howto-usage__media {
  overflow: hidden !important;
  width: 100% !important;
  aspect-ratio: 1 !important;
  border-radius: 50% !important;
}

#howto-page .howto-usage__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#howto-page .howto-usage__text {
  margin: 12px auto 0 !important;
  color: #555 !important;
  font-size: var(--top-16) !important;
  line-height: 1.5 !important;
}

#howto-page .howto-usage__arrow {
  flex-shrink: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin-top: 66px !important;
  border-top: 13px solid transparent !important;
  border-bottom: 13px solid transparent !important;
  border-left: 18px solid #3694c9 !important;
}

/* onayamiと同じボタン配置 */
#howto-page .howto-buy-btn {
  flex-shrink: 0 !important;
  position: static !important;
  right: auto !important;
  bottom: auto !important;

  width: 190px !important;
  height: 58px !important;
  margin-bottom: 4px !important;
}

#howto-page .howto-buy-btn--middle {
  display: none !important;
}

#howto-page .howto-buy-btn .common-btn__arrow {
  width: 62px !important;
}


/* =========================================================
   TABLET / SMALL PC
   onayamiと同じ：ボタンを画像下へ
========================================================= */
@media (min-width: 771px) and (max-width: 1170px) {

  #howto-page .howto-product {
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr) !important;
    gap: 5% !important;
  }

  #howto-page .howto-product__left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  #howto-page .howto-product__bottom > .howto-buy-btn:not(.howto-buy-btn--middle) {
    display: none !important;
  }

  #howto-page .howto-buy-btn--middle {
    display: inline-flex !important;
    width: 190px !important;
    height: 52px !important;
    margin: 24px auto 0 !important;
  }

  #howto-page .howto-product__bottom {
    display: block !important;
  }

  #howto-page .howto-usage {
    width: 100% !important;
  }

  #howto-page .howto-usage__row {
    width: 100% !important;
    max-width: 490px !important;
  }
}


/* =========================================================
   SP
   onayamiと同じ縦積み
========================================================= */
@media (max-width: 770px) {

  #howto-page .howto-product {
    display: block !important;
    padding-bottom: 56px !important;
  }

  #howto-page .howto-product__left {
    display: block !important;
  }

  #howto-page .howto-product__image {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  #howto-page .howto-product__content {
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 0 0 !important;
  }

  #howto-page .howto-product__step {
    margin-bottom: 8px !important;
  }

  #howto-page .howto-product__catch {
    margin-bottom: 8px !important;
  }

  #howto-page .howto-product__description {
    margin-top: 16px !important;
  }

  #howto-page .howto-product__bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  #howto-page .howto-usage {
    width: 100% !important;
    margin-top: 28px !important;
  }

  #howto-page .howto-usage__row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  #howto-page .howto-usage__step {
    display: grid !important;
    grid-template-columns: 42% minmax(0, 1fr) !important;
    align-items: center !important;

    flex: none !important;
    width: 100% !important;
    gap: 20px !important;
    text-align: left !important;
  }

  #howto-page .howto-usage__text {
    margin: 0 !important;
    font-size: var(--top-16) !important;
    line-height: 1.5 !important;
  }

  #howto-page .howto-usage__arrow {
    align-self: flex-start !important;
    margin: 0 0 0 calc(21% - 8px) !important;

    border-top: 12px solid #3694c9 !important;
    border-right: 10px solid transparent !important;
    border-left: 10px solid transparent !important;
    border-bottom: 0 !important;
  }

  #howto-page .howto-buy-btn--middle {
    display: none !important;
  }

  #howto-page .howto-product__bottom > .howto-buy-btn {
    display: flex !important;
    width: 190px !important;
    height: 48px !important;
    margin: 40px 0 0 !important;
  }

  #howto-page .howto-buy-btn .common-btn__arrow {
    width: 52px !important;
  }
}

/* =========================================================
   HOW TO USE / 商品を見るボタン 最終仕様
   PC / TB / SP 全サイズで商品画像の真下固定
   2026-09-25
========================================================= */

#howto-page .howto-product__left {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#howto-page .howto-buy-btn--middle {
  position: static !important;
  display: inline-flex !important;

  width: 190px !important;
  height: 58px !important;

  margin: 24px auto 0 !important;
}

#howto-page .howto-product__content > .howto-buy-btn {
  display: none !important;
}

#howto-page .howto-buy-btn .common-btn__arrow {
  width: 62px !important;
}

@media (max-width: 1170px) {
  #howto-page .howto-buy-btn--middle {
    display: inline-flex !important;
    width: 190px !important;
    height: 52px !important;
    margin: 24px auto 0 !important;
  }
}

@media (max-width: 770px) {
  #howto-page .howto-buy-btn--middle {
    display: inline-flex !important;
    width: 190px !important;
    height: 48px !important;
    margin: 24px auto 0 !important;
  }
}

