@charset "UTF-8";

/* ==========================================================================
   Base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  /* width:100vwを使ったfull-bleed要素（.p-journal__sliderなど）が、
     縦スクロールバーの分だけ実際の表示幅より広くなり横スクロールが発生するのを防ぐ */
  overflow-x: hidden;
}

body {
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  color: #2f3d57;
  min-width: 769px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ハンバーガーメニュー展開中の背景スクロールを止める（VEIN流用） */
html.is-scroll-lock,
body.is-scroll-lock {
  overflow: hidden;
}

/* SP版だけで改行させたい箇所に使う<br>（PC版では非表示のまま改行させない） */
.u-sp-br {
  display: none;
}

/* SP版で改行の代わりに全角スペースを入れたい箇所に使う（PC版では非表示） */
.u-sp-space {
  display: none;
}

/* ==========================================================================
   .js-scale-wrapper（PC版レスポンシブ：769-1380pxはscale、1380px以上は余白で調整）
   JOURNALセクションの前後で分割しているため、クラスセレクタで複数箇所に適用する
   ========================================================================== */
.js-scale-outer {
  /* 縦スクロールバーの分だけ幅が狭くなる通常のブロック要素のままだと、
     overflow:hiddenが実際の画面幅(100vw)より内側で切り取ってしまうため、
     この外側の箱自体をfull-bleedで実際の画面幅いっぱいに広げる */
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: hidden;
  /* JSがscale/位置を計算し終える前の一瞬、無変形のレイアウトが見えてしまう
     ちらつき（FOUC）を防ぐため、計算完了までは非表示にしておく（VEINと同じ手法）。
     万一JSが動かなかった場合に永久に非表示のままにならないよう、
     フォールバックのアニメーションで一定時間後に強制的に表示する */
  visibility: hidden;
  animation: js-scale-reveal-fallback 0s 1.5s forwards;
}

.js-scale-outer.is-scaled {
  visibility: visible;
  animation: none;
}

@keyframes js-scale-reveal-fallback {
  to {
    visibility: visible;
  }
}

.js-scale-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  transform: translateX(-50%);
  transform-origin: top center;
}

/* section-nayamiをwrapperの外に出した影響で、.p-lifestage-intro__textが
   このwrapperの一番上の要素になり、上方向にはみ出す93px分が
   .js-scale-outerのoverflow:hiddenに切られてしまう。
   outer自体を93px×scale分だけ上にずらしてクリップ境界を引き上げ（JS側でscaleに応じて設定）、
   wrapper側に同じ分のpaddingを入れて中身の見た目の位置を元に戻す
   （paddingはwrapper内部＝scale対象なので自動でscale分だけ伸縮する） */
.js-scale-wrapper--lifestage {
  padding-top: 93px;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==========================================================================
   l-header
   ========================================================================== */
.l-header {
  width: 100%;
  background: #fff;
}

.l-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px 45px;
}

.c-logo img {
  width: 240px;
  display: block;
  transform: translate(36px, 14px);
}

.c-gnav {
  /* 常に画面に固定表示するため、scale対象外にしてwrapperの外に配置している。
     1440px以上では中央寄せされたコンテナの右端(45pxパディング)に合わせて位置を追従させる。
     ロゴ側(.l-header)はwrapperのscaleで拡大縮小するため、ナビのtopも同じ倍率で
     連動させないと、scaleが1から離れるほどロゴとナビの高さがズレて見えてしまう */
  position: fixed;
  top: calc(50px * var(--page-scale, 1));
  right: max(45px, calc((100vw - 1440px) / 2 + 45px));
  z-index: 1000;
}

.c-gnav__list {
  display: flex;
  align-items: center;
  gap: 37px;
  transform: translate(-33px, 15px);
}

.c-gnav__item a {
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 1.2;
  font-weight: 500;
  transition: color 0.3s ease;
}

.js-gnav.is-dark .c-gnav__item a {
  color: #fff;
}

/* ==========================================================================
   section-fv / p-fv
   ========================================================================== */
.p-fv {
  display: flex;
  width: 100%;
  margin-top: 30px;
}

.p-fv__slider {
  position: relative;
  width: 1150px;
  height: 700px;
  overflow: hidden;
  flex-shrink: 0;
}

.p-fv__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.p-fv__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.p-fv__catch {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 61px;
  font-weight: normal;
  letter-spacing: 0.32em;
  line-height: 90px;
  color: #2f3d57;
  transform: translateX(-9px);
}

/* 1920px超の幅では拡大率を固定しているため中央揃えのまま余白が発生するが、
   FVのスライダーだけは常に画面左端に固定し、幅が増えた分は高さを保ったままcoverでマスクして見切れさせる
   （lifestage.htmlの.p-stage-fv__img/.p-stage-hero__imgと同じ考え方） */
@media (min-width: 1921px) {
  .p-fv {
    /* 高さは明示指定せず、縦書きテキスト(.p-fv__catch)の内容量に合わせて自動で決まるようにする
       （固定してしまうと文字数の多い行が収まりきらず、途中で次の行に折り返されてしまう） */
    position: relative;
  }

  .p-fv__slider {
    position: absolute;
    top: 0;
    left: calc((1920px - 100vw) / 2 / var(--page-scale, 1));
    width: calc(1150px + (100vw - 1920px) / 2 / var(--page-scale, 1));
  }

  .p-fv__catch {
    margin-left: 1150px;
  }
}

/* ==========================================================================
   section-lifeloop / p-lifeloop
   ========================================================================== */
.section-lifeloop {
  /* wrapperの外（scale対象外）にあるため、通常のfull-bleedで画面幅いっぱいに広がる */
  background: #fff;
}

.p-lifeloop {
  position: relative;
  overflow: hidden;
  padding: calc(40px * var(--page-scale, 1)) 0;
}

.p-lifeloop__scale-inner {
  /* ページ全体のtransform:scaleと連動させ、他セクションと同じ比率で拡大縮小させる
     （.p-lifeloop自体はoverflow:hiddenの実寸100vwのまま維持し、内側だけ拡縮する） */
  display: inline-block;
  transform-origin: left top;
  transform: scale(var(--page-scale, 1));
}

.p-lifeloop__track {
  display: flex;
  width: max-content;
  animation: p-lifeloop-scroll 50s linear infinite;
}

.p-lifeloop__list {
  display: flex;
  flex-shrink: 0;
}

.p-lifeloop__item {
  position: relative;
  display: flex;
  align-items: center;
  width: 340px;
  padding: 0 30px;
}

.p-lifeloop__item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80px;
  background: #707070;
}

.p-lifeloop__img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 20px;
}

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

.p-lifeloop__text {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 17px;
  letter-spacing: 0.15em;
  line-height: 25px;
  font-weight: 500;
}

@keyframes p-lifeloop-scroll {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ==========================================================================
   c-heading (共通見出し)
   ========================================================================== */
.c-heading-en {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 4rem;
  font-weight: 700;
  color: #2f3d5a;
  letter-spacing: 0.05em;
}

.c-heading-en--white {
  color: #fff;
}

.c-heading-en > a,
.p-lifestage__title > a {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.c-heading-en__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

a:hover .c-heading-en__arrow,
button:hover .c-heading-en__arrow {
  transform: scale(1.15);
}

.c-heading-ja {
  margin-top: 6px;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: #2f3d5a;
}

.c-heading-ja--white {
  color: #fff;
}

.c-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 192px;
  height: 28px;
  background: #fff;
  color: #2f3d5a;
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0.18em;
  line-height: 32px;
  border-radius: 20px;
  transform: translateY(-12px);
}

.c-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 40px;
  background: #fff;
  color: #4a4a45;
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.18em;
  line-height: 44px;
  border-radius: 20px;
  transform: translateY(-102px);
}

/* ==========================================================================
   section-nayami / p-nayami
   ========================================================================== */
.section-nayami {
  /* wrapperの外（scale対象外）にあるため、通常のfull-bleedで画面幅いっぱいに広がる */
  position: relative;
  margin-top: 47px;
  background: #2f3d5a;
  overflow-x: hidden;
}

.p-nayami {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 45px 0;
  text-align: center;
}

.p-nayami__text-scale {
  /* section-nayamiはscale対象外（実寸）のため、テキストも他セクションと同じ比率で
     拡大縮小させるためにページ共通の--page-scaleを個別に適用する。
     幅を実寸（可変）のままにすると、scaleされる前の狭い実寸幅で改行判定されてしまい
     ウインドウを狭めた時に意図しない位置で折り返るため、幅は1440px設計時の固定値(1350px)
     にした上でcenter基準でscaleする（他セクションのjs-scale-wrapperと同じ考え方） */
  position: relative;
  left: 50%;
  width: 1350px;
  transform: translateX(-50%) scale(var(--page-scale, 1));
  transform-origin: top center;
}

.p-nayami__lead {
  color: #fff;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.2em;
  line-height: 50px;
  transform: translateY(-53px);
}

.p-nayami__balloon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 839px;
  height: 90px;
  margin: 50px auto 70px;
  background: #d2cf4c;
  color: #fff;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 52px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  border-radius: 16px;
  transform: translateY(-59px);
}

.p-nayami__balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(calc(-50% + 247px));
  border-style: solid;
  border-width: 40px 23.5px 0 23.5px;
  border-color: #d2cf4c transparent transparent transparent;
}

.p-nayami__loop {
  /* テキスト側(.p-nayami__text-scale)と同じ--page-scaleでこの余白も連動させないと、
     scaleが1以外の時にテキストとカードの間隔がズレる（重なる/開きすぎる）ため
     px固定ではなくcalc()でscale倍する */
  position: relative;
  overflow: hidden;
  padding-top: calc(70px * var(--page-scale, 1));
  padding-bottom: calc(100px * var(--page-scale, 1));
  transform: translateY(calc(-45px * var(--page-scale, 1)));
}

.p-nayami__toggle {
  position: absolute;
  left: 45px;
  bottom: calc(100px * var(--page-scale, 1));
  width: 40px;
  height: 40px;
  border: 1.5px solid #000;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease;
}

.p-nayami__toggle:hover {
  transform: scale(1.1);
}

.p-nayami__toggle-icon--play {
  display: none;
}

.p-nayami__toggle.is-paused .p-nayami__toggle-icon--pause {
  display: none;
}

.p-nayami__toggle.is-paused .p-nayami__toggle-icon--play {
  display: block;
}

.p-nayami__scale-inner {
  /* ページ全体のtransform:scaleと連動させ、他セクションと同じ比率で拡大縮小させる
     （.p-nayami__loop自体はoverflow:hiddenの実寸100vwのまま維持し、内側だけ拡縮する） */
  display: inline-block;
  transform-origin: left top;
  transform: scale(var(--page-scale, 1));
}

.p-nayami__track {
  display: flex;
  width: max-content;
  gap: 68px;
  animation: p-nayami-scroll 50s linear infinite;
}

.p-nayami__list {
  display: flex;
  flex-shrink: 0;
  gap: 68px;
}

.p-nayami__item {
  width: 269px;
  flex-shrink: 0;
  perspective: 1000px;
}

.p-nayami__card {
  position: relative;
  width: 100%;
  height: 400px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.p-nayami__item:hover .p-nayami__card {
  transform: rotateY(180deg) rotate(3deg);
}

.p-nayami__card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  backface-visibility: hidden;
}

.p-nayami__card-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-nayami__card-face--back {
  transform: rotateY(180deg);
}

.p-nayami__item--placeholder {
  height: 400px;
  border-radius: 8px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
}

@keyframes p-nayami-scroll {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ==========================================================================
   section-lifestage / p-lifestage
   ========================================================================== */
.p-lifestage-intro {
  position: relative;
  padding: 60px 45px;
  height: 170px;
}

/* mattress.htmlではsection-lifestageの直前にsection-nayami（濃紺背景）がないため、
   その上に重ねる前提だった上方向のはみ出し(-153px)を解除し、通常表示にする */
.page-mattress .p-lifestage-intro {
  height: auto;
}

.page-mattress .p-lifestage-intro__text {
  transform: none;
}

/* .p-lifestage__imgのtransform:translateY(-250px)により、カード下部に見えない
   250px分の余白がボックスに残る。index.htmlではsection-mattressがmargin-top:-247pxで
   その上に重なって隠していたが、mattress.htmlではその次のsection-storeが直接続くため
   同様に重ねて隙間を詰める */
.page-mattress .section-lifestage {
  margin-top: -50px;
  margin-bottom: -250px;
}

/* mattress.html：指定書体への変更 */
.page-mattress .p-lifestage__label-text,
.page-mattress .p-lifestage__title,
.page-mattress .p-store__heading {
  font-family: "MFW-PA1MinchoStdN-Bold", serif;
}

.page-mattress .p-lifestage__label-text,
.page-mattress .p-store__heading {
  font-size: 25px;
  letter-spacing: 0.4em;
  line-height: 55px;
}

.page-mattress .p-lifestage__title {
  font-size: 24px;
  letter-spacing: 0.2em;
  line-height: 73px;
}

.page-mattress .p-store .c-heading-en {
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
}

/* 書体変更（A1明朝Bold）で行間が詰まり重なって見えるため、位置を調整 */
.page-mattress .p-lifestage__num {
  font-size: 11px;
  transform: translateY(-156px);
}

.page-mattress .p-lifestage__num.is-green,
.page-mattress .p-lifestage__num.is-accent,
.page-mattress .p-lifestage__num.is-brown {
  transform: translateY(-136px);
}

.page-mattress .p-lifestage__title.is-green,
.page-mattress .p-lifestage__title.is-accent,
.page-mattress .p-lifestage__title.is-brown {
  transform: translateY(-199px);
}

.page-mattress .p-lifestage__title .c-heading-en__arrow {
  width: 30px;
  height: 30px;
  font-size: 1.7rem;
}

.page-mattress .p-lifestage__img {
  transform: translateY(-230px);
}

.page-mattress .p-store__item .c-heading-ja {
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
}

.page-mattress .p-store__heading,
.page-mattress .p-store .c-heading-en,
.page-mattress .p-store__item .c-heading-ja {
  color: #5f554d;
}

.p-lifestage-intro__text {
  max-width: 1440px;
  margin: 0 auto;
  color: #fff;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.2em;
  line-height: 50px;
  text-align: center;
  transform: translateY(-153px);
}

.p-lifestage {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 45px;
  text-align: center;
}

.p-lifestage .c-heading-en {
  display: flex;
  margin-left: 35px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 52px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  transform: translateY(-10px);
}

.p-lifestage .c-heading-en .c-heading-en__arrow {
  width: 47px;
  height: 47px;
  border-width: 3px;
  transform: translateX(3px);
  font-size: 3rem;
  padding-left: 7px;
}

.p-lifestage .c-heading-en a:hover .c-heading-en__arrow {
  transform: translateX(3px) scale(1.15);
}

.p-lifestage .c-heading-ja {
  text-align: left;
  margin-left: 35px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  transform: translateY(-59px);
}

.p-lifestage__copy {
  margin-top: 30px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 40px;
  font-weight: normal;
  letter-spacing: 0.2em;
  line-height: 70px;
  color: #2f3d5a;
  transform: translateY(-87px);
}

.p-lifestage__list {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  text-align: left;
}

.p-lifestage__item {
  flex: 0 0 427px;
  width: 427px;
}

.p-lifestage__num {
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  color: #2f3d5a;
  margin-bottom: 8px;
  transform: translateY(-141px);
}

.p-lifestage__num.is-accent {
  color: #b65836;
}

.p-lifestage__num.is-brown {
  color: #603a23;
}

.p-lifestage__num.is-green {
  color: #4a4a45;
}

.p-lifestage__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.2em;
  line-height: 91px;
  color: #2f3d5a;
  margin-bottom: 24px;
  transform: translateY(-209px);
}

.p-lifestage__title.is-accent {
  color: #b65836;
}

.p-lifestage__title.is-brown {
  color: #603a23;
}

.p-lifestage__title.is-green {
  color: #4a4a45;
}

.p-lifestage__title .c-heading-en__arrow {
  width: 37px;
  height: 37px;
  border-width: 2px;
  font-size: 2.5rem;
  padding-left: 7px;
}

.p-lifestage__img {
  transform: translateY(-250px);
}

.p-lifestage__img img {
  display: block;
  width: 100%;
}

.p-lifestage__label {
  height: 198px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  transform: translateY(-250px);
}

.p-lifestage__label.is-green {
  background: #4a4a45;
}

.p-lifestage__label.is-green .c-btn-small {
  color: #4a4a45;
}

.p-lifestage__label.is-orange {
  background: #bc5531;
}

.p-lifestage__label.is-orange .c-btn-small {
  color: #bc5531;
}

.p-lifestage__label.is-brown {
  background: #603a23;
}

.p-lifestage__label.is-brown .c-btn-small {
  color: #603a23;
}

.p-lifestage__label-text {
  color: #fff;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.2em;
  line-height: 68px;
  margin-bottom: 0;
  transform: translateY(-16px);
}

/* ==========================================================================
   section-mattress / p-mattress
   ========================================================================== */
.section-mattress {
  position: relative;
  margin-top: -247px;
  margin-bottom: -135px;
}

.p-mattress {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 45px;
  text-align: center;
}

.p-mattress .c-heading-en {
  display: flex;
  margin-left: 35px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 52px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  transform: translateY(-11px);
}

.p-mattress .c-heading-en .c-heading-en__arrow {
  width: 47px;
  height: 47px;
  border-width: 3px;
  font-size: 3rem;
  padding-left: 7px;
}

.p-mattress .c-heading-ja {
  text-align: left;
  margin-left: 35px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  transform: translateY(-57px);
}

.p-mattress__copy {
  margin: 30px 0 50px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 40px;
  font-weight: normal;
  letter-spacing: 0.2em;
  line-height: 70px;
  color: #fff;
  transform: translateY(-88px);
}

.p-mattress__movie {
  width: 1044px;
  height: 588px;
  margin: 0 auto 50px;
  background: #d4d4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100px);
}

.p-mattress__play {
  width: 126px;
  height: 126px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.p-mattress__play:hover {
  transform: scale(1.1);
}

.p-mattress__play img {
  width: 100%;
  display: block;
}

/* ==========================================================================
   section-journal / p-journal
   ========================================================================== */
.section-journal {
  /* wrapperの外（scale対象外）にあるため、通常のブロック要素として自然に画面幅いっぱいに広がる */
  background: #fff;
  padding-top: 100px;
  margin-bottom: 0;
  text-align: center;
}

.p-journal__heading-scale {
  /* section-journalはscale対象外（実寸）のため、見出し部分も1440px設計時の
     固定幅(1350px)にした上でcenter基準でscaleする（他のscale対象外セクションと同様） */
  position: relative;
  left: 50%;
  width: 1350px;
  transform: translateX(-50%) scale(var(--page-scale, 1));
  transform-origin: top center;
}

.p-journal .c-heading-en {
  display: flex;
  margin-left: 80px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 52px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  transform: translateY(-13px);
}

.p-journal .c-heading-en .c-heading-en__arrow {
  width: 47px;
  height: 47px;
  border-width: 3px;
  font-size: 3rem;
  padding-left: 7px;
}

.p-journal .c-heading-ja {
  text-align: left;
  margin-left: 80px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  transform: translateY(-62px);
}

.p-journal__copy {
  text-align: center;
  margin: 30px auto 50px;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 40px;
  font-weight: normal;
  letter-spacing: 0.2em;
  line-height: 70px;
  color: #2f3d5a;
  transform: translateY(-89px);
}

.p-journal__slider {
  /* wrapperの外（scale対象外）にあるため、通常のfull-bleedで画面幅いっぱいに広がる。
     余白はheading側と同じ--page-scaleで連動させ、間隔がズレないようにする */
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%) translateY(calc(-129px * var(--page-scale, 1)));
  overflow: hidden;
  padding: calc(70px * var(--page-scale, 1)) 0;
}

.p-journal__scale-inner {
  /* カード自体はcenter基準でscaleする。translateXでの中央寄せはJSがwindow.innerWidth基準で
     計算しており、center基準のscaleはその中心を動かさないため、JS側の計算式は変更不要 */
  display: block;
  width: 100%;
  transform: scale(var(--page-scale, 1));
  transform-origin: center top;
}

.p-journal__track {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 180px;
}

.p-journal__track.is-ready {
  transition: transform 0.5s ease;
}

.p-journal__item {
  flex: 0 0 697px;
  width: 697px;
  height: 606px;
  background: #2f3d5a;
  transform: translateY(30px);
}

.p-journal__head {
  display: block;
  width: 600px;
  height: 130px;
  background: #fff;
  transform: translateY(26px);
}

.p-journal__num {
  padding: 30px 40px 0;
  text-align: left;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  color: #2f3d5a;
  transform: translate(5px, -57px);
}

.p-journal__title {
  padding: 8px 40px 0;
  text-align: left;
  white-space: nowrap;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 45px;
  color: #2f3d5a;
  transform: translateY(-96px);
}

.p-journal__title .c-heading-en__arrow {
  width: 37px;
  height: 37px;
  border-width: 2px;
  font-size: 2.5rem;
  padding-left: 7px;
}

.p-journal__img {
  padding: 30px 40px 40px;
  transform: translateY(32px);
}

.p-journal__img img {
  display: block;
  width: 100%;
}

.p-journal__arrow {
  /* カードと同じ--page-scaleでボタン自体の大きさも連動させる */
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 30px * var(--page-scale, 1))) scale(var(--page-scale, 1));
  width: 64px;
  height: 64px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease;
}

.p-journal__arrow:hover {
  transform: translateY(calc(-50% + 30px * var(--page-scale, 1))) scale(var(--page-scale, 1)) scale(1.15);
}

.p-journal__arrow--prev {
  /* 中央カードとその左隣のカードの間（gapの中央）に常に位置するよう、ウィンドウ幅基準で計算。
     カード側がscaleで拡縮するため、オフセット量も--page-scaleに連動させる */
  left: calc(50vw - 470.5px * var(--page-scale, 1));
}

.p-journal__arrow--next {
  right: calc(50vw - 469.5px * var(--page-scale, 1));
}

.p-journal__arrow img {
  width: 100%;
  display: block;
}

/* ==========================================================================
   section-store / p-store
   ========================================================================== */
.p-store {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 45px;
  text-align: center;
}

/* lifestage.htmlのみ：お近くの取扱店舗を探すブロックの位置調整（index.htmlには影響させない） */
.page-lifestage .section-store {
  padding-top: 100px;
}

.p-store__heading {
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 40px;
  font-weight: normal;
  letter-spacing: 0.4em;
  line-height: 70px;
  color: #2f3d5a;
  margin-bottom: 60px;
  transform: translateY(-67px);
}

.p-store__list {
  display: flex;
  justify-content: center;
  gap: 60px;
  text-align: left;
}

.p-store__item {
  flex: 0 0 600px;
  width: 600px;
}

.p-store__item .c-heading-en {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.4em;
  line-height: 66px;
  transform: translateY(-90px);
}

.p-store__item .c-heading-en .c-heading-en__arrow {
  width: 47px;
  height: 47px;
  border-width: 1px;
  font-size: 3rem;
  padding-left: 11px;
}

.p-store__item .c-heading-ja {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0.4em;
  line-height: 33px;
  margin-bottom: 24px;
  transform: translateY(-112px);
}

.p-store__link {
  display: block;
  transform: translateY(-127px);
}

.p-store__link img {
  display: block;
  width: 100%;
}

/* ==========================================================================
   footer（VEIN流用）
   ========================================================================== */
.section-brand {
  width: 100%;
  padding: 100px 0 0;
  position: relative;
  z-index: 2;
}

.c-brand {
  width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: border-box;
}

.c-brand__title {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-align: center;
  color: #000;
}

.c-brand__banner {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.c-brand__banner a {
  display: block;
  min-width: 0;
}

.c-brand__banner img {
  display: block;
  width: 100%;
  height: auto;
}

.c-footer {
  position: relative;
  padding: 100px 100px 100px 60px;
}

.c-footer__info-wrap {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: start;
  justify-content: space-between;
}

.c-footer__nav {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.c-footer__nav li {
  list-style-type: none;
}

.c-footer__nav li a {
  font-family: "MFW-PA1GothicStdN-Light", sans-serif;
  font-size: 20px;
  color: #000;
  text-decoration: none;
}

.c-footer__follow {
  border-left: 1px solid #989898;
  height: 185px;
  padding-left: 40px;
}

.c-footer__title {
  margin: 0;
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #000;
}

.c-footer__text {
  margin: 25px 0 0;
  font-family: "MFW-PA1GothicStdN-Light", sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #000;
}

.c-footer__sns {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 32px 32px 32px;
  gap: 30px;
  align-items: center;
}

.c-footer__sns-icon {
  display: block;
  width: 32px;
  color: #000;
}

.c-footer__sns-icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.c-footer__contact {
  border-left: 1px solid #989898;
  height: 185px;
  padding-left: 40px;
}

.c-footer__btn {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.c-footer__link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 280px;
  height: 60px;
  border-radius: 30px;
  background-color: #3f4040;
  font-family: "MFW-PA1GothicStdN-Light", sans-serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: #fff;
  text-decoration: none;
}

.c-footer__logo-wrap {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 200px auto auto;
  gap: 30px;
  align-items: center;
}

.c-footer__logo {
  display: block;
  width: 200px;
}

.c-footer__logo-text {
  display: inline-block;
  font-family: "MFW-PA1GothicStdN-Light", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #000;
  text-decoration: none;
}

.c-footer__copy {
  font-family: "MFW-PA1GothicStdN-Light", sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #000;
  text-align: right;
}

/* ==========================================================================
   full-bleed背景（各セクションの背景色をウィンドウ幅いっぱいに拡張）
   #js-scale-wrapper に掛かる transform:scale の影響をscaleXで打ち消し、
   横方向だけ画面幅いっぱいに広げる（縦方向はセクションの高さに追従させる）
   ========================================================================== */
.p-lifestage-intro::before,
.section-mattress::before,
.section-brand::before,
.c-footer::before,
.p-stage-hero::before,
.p-stage-content::before,
.section-restel-concept::before,
.section-restel-features::before,
.section-restel-movie::before,
.p-restel-model__features-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%) scaleX(calc(1 / var(--page-scale, 1)));
  z-index: -1;
}

.section-restel-concept::before,
.section-restel-features::before,
.section-restel-movie::before {
  background: #aca39a;
}

.p-restel-model__features-wrap::before {
  background: #d5d1cd;
}

.p-lifestage-intro::before {
  /* 中のテキスト(.p-lifestage-intro__text)が高さ170px固定の範囲を93pxはみ出して
     表示されているため、背景もその分だけ上に拡張してカバーする */
  top: -93px;
  height: calc(100% + 93px);
  background: #2f3d5a;
}

.section-mattress::before {
  background: #5f554d;
}

.section-brand::before {
  background-color: #dad8d8;
}

.c-footer::before {
  background-color: #dad8d8;
}

/* ==========================================================================
   lifestage.html 専用スタイル
   ========================================================================== */

/* ステージ共通の見出し（COORDINATE STYLE / FAMILIES WITH KIDS など英字＋日本語の3点セット） */
.p-stage-en {
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  color: var(--stage-color, #4a4a45);
}

.p-stage-heading {
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 52px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  color: var(--stage-color, #4a4a45);
  margin-top: -47px;
}

.p-stage-ja {
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 91px;
  color: var(--stage-color, #4a4a45);
  margin-top: -44px;
}

/* ステージ1コーディネートセクションの位置微調整（このブロックのみ） */
.is-stage1 .p-stage-coordinate .p-stage-en {
  transform: translateY(-62px);
}

.is-stage1 .p-stage-coordinate .p-stage-heading {
  transform: translateY(-62px);
}

.is-stage1 .p-stage-coordinate .p-stage-ja {
  transform: translateY(-62px);
}

.is-stage1 .p-stage-coordinate__photo {
  transform: translateY(-113px);
}

.is-stage1 .p-product__list {
  transform: translateY(-107px);
}

.is-stage1 .p-stage-coordinate .c-btn-dark {
  transform: translateY(-123px);
}

.is-stage1 .p-stage-tips {
  transform: translateY(-153px);
}

.is-stage1 .p-tips__list {
  transform: translateY(-52px);
}

.is-stage1 .p-stage-mattress {
  transform: translateY(-223px);
  margin-bottom: -286px;
}

.is-stage1 .p-mattress-promo {
  transform: translateY(-54px);
}

.is-stage1 .p-stage-mattress .c-btn-dark {
  transform: translateY(-63px);
}

.is-stage2 .p-stage-coordinate .p-stage-en,
.is-stage2 .p-stage-coordinate .p-stage-heading,
.is-stage2 .p-stage-coordinate .p-stage-ja {
  transform: translateY(-74px);
}

.is-stage2 .p-stage-coordinate__photo {
  transform: translateY(-125px);
}

.is-stage2 .p-product__list {
  transform: translateY(-119px);
}

.is-stage2 .p-stage-coordinate .c-btn-dark {
  transform: translateY(-133px);
}

.is-stage2 .p-stage-tips {
  transform: translateY(-159px);
}

.is-stage2 .p-tips__list {
  transform: translateY(-52px);
}

.is-stage2 .p-stage-mattress {
  transform: translateY(-238px);
  margin-bottom: -289px;
}

.is-stage2 .p-mattress-promo {
  transform: translateY(-58px);
}

.is-stage2 .p-stage-mattress .c-btn-dark {
  transform: translateY(-71px);
}

.is-stage3 .p-stage-coordinate .p-stage-en,
.is-stage3 .p-stage-coordinate .p-stage-heading,
.is-stage3 .p-stage-coordinate .p-stage-ja {
  transform: translateY(-74px);
}

.is-stage3 .p-stage-coordinate__photo {
  transform: translateY(-129px);
}

.is-stage3 .p-stage-hero__text {
  letter-spacing: 0.148em;
}

.is-stage3 .p-product__list {
  transform: translateY(-121px);
}

.is-stage3 .p-stage-coordinate .c-btn-dark {
  transform: translateY(-138px);
}

.is-stage3 .p-stage-tips .p-stage-en,
.is-stage3 .p-stage-tips .p-stage-heading,
.is-stage3 .p-stage-tips .p-stage-ja {
  transform: translateY(-154px);
}

.is-stage3 .p-tips__list {
  transform: translateY(-205px);
}

.is-stage3 .p-mattress-promo__text {
  letter-spacing: 0.05em;
}

.is-stage3 .p-stage-mattress {
  transform: translateY(-260px);
  margin-bottom: -285px;
}

.is-stage3 .p-mattress-promo {
  transform: translateY(-54px);
}

.is-stage3 .p-stage-mattress .c-btn-dark {
  transform: translateY(-63px);
}




/* トップFV（画像80% + 縦書きテキストパネル20%、1枚画像・スライドなし） */
.p-stage-fv {
  display: flex;
  width: 100%;
}

.p-stage-fv__img {
  /* 画像2300×1400pxの2倍書き出しを50%（1150×700px）でそのまま表示 */
  display: block;
  flex: 0 0 1150px;
  width: 1150px;
  height: 700px;
  transform: translateY(25px);
}

.p-stage-fv__panel {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
  gap: 20px;
  background: #fff;
}

.p-stage-fv__text {
  writing-mode: vertical-rl;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 61px;
  font-weight: normal;
  letter-spacing: 0.33em;
  color: #2f3d5a;
  line-height: 91px;
  transform: translate(-11px, -35px);
}

/* p-stage-nav（LIFE STAGE .01/02/03 の丸型アバター行、スクロールなしの静的表示） */
.p-stage-nav {
  padding: 60px 45px;
  text-align: center;
}

.p-stage-nav--top {
  padding-bottom: 90px;
  transform: translateY(35px);
}

.p-stage-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1350px;
  margin: 0 auto;
}

.p-stage-nav__item {
  position: relative;
  width: 448px;
  padding: 0 45px;
}

/* リンクではなく現在地インジケーターのため、現在のステージ以外は半調にする */
.p-stage-nav__item.is-dimmed {
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.p-stage-nav__item.is-dimmed:hover {
  opacity: 1;
}

.p-stage-nav__item + .p-stage-nav__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80px;
  background: #707070;
}

.p-stage-nav__item a {
  display: flex;
  align-items: center;
  gap: 16px;
}

.p-stage-nav__avatar {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.p-stage-nav__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-stage-nav__label {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.p-stage-nav__num {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #2f3d5a;
}

.p-stage-nav__text {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 17px;
  font-weight: normal;
  letter-spacing: 0.15em;
  line-height: 25px;
  color: #2f3d5a;
  margin-top: 4px;
}

/* ステージごとのテーマカラー（LIFE STAGE .01/02/03と同じ配色に統一） */
.section-stage {
  position: relative;
  scroll-margin-top: 165px;
}

.section-stage.is-stage1 {
  --stage-color: #4a4a45;
  --stage-bg-light: #d1d1d0;
}

.section-stage.is-stage2 {
  --stage-color: #bc5531;
  --stage-bg-light: #efd4cb;
}

.section-stage.is-stage3 {
  --stage-color: #603a23;
  --stage-bg-light: #d6cdc6;
}

/* stage hero（画像＋縦書きテキストの帯。背景色はfull-bleedで画面幅いっぱいに） */
.p-stage-hero {
  position: relative;
  display: flex;
  width: 100%;
}

.p-stage-hero::before {
  background: var(--stage-color);
}

.p-stage-hero__img {
  /* 画像2300×1400pxの2倍書き出しを50%（1150×700px）でそのまま表示 */
  display: block;
  flex: 0 0 1150px;
  width: 1150px;
  height: 700px;
  margin: 100px 0;
}

.p-stage-hero__panel {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  gap: 16px;
}

.p-stage-hero__text {
  writing-mode: vertical-rl;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 61px;
  font-weight: normal;
  letter-spacing: 0.33em;
  color: #fff;
  line-height: 91px;
  transform: translateX(-11px);
}

/* 1920px超の幅では拡大率を固定しているため中央揃えのまま余白が発生するが、
   FV/heroの写真だけは常に画面左端に固定し、幅が増えた分は高さを保ったままマスクして見切れさせる */
@media (min-width: 1921px) {
  .p-stage-fv {
    position: relative;
    height: 700px;
  }

  .p-stage-fv__img {
    position: absolute;
    top: 0;
    left: calc((1920px - 100vw) / 2 / var(--page-scale, 1));
    width: calc(1150px + (100vw - 1920px) / 2 / var(--page-scale, 1));
    max-width: none;
    height: 700px;
    object-fit: cover;
    object-position: left center;
  }

  .p-stage-fv__panel {
    margin-left: 1150px;
  }

  .p-stage-hero {
    height: 900px;
  }

  .p-stage-hero__img {
    position: absolute;
    top: 100px;
    left: calc((1920px - 100vw) / 2 / var(--page-scale, 1));
    margin: 0;
    width: calc(1150px + (100vw - 1920px) / 2 / var(--page-scale, 1));
    max-width: none;
    height: 700px;
    object-fit: cover;
    object-position: left center;
  }

  .p-stage-hero__panel {
    margin-left: 1150px;
  }
}

/* stage content（コーディネート／TIPS／マットレスをまとめて包む、ステージごとの薄い背景色） */
.p-stage-content {
  position: relative;
  padding-bottom: 100px;
}

.p-stage-content::before {
  background: var(--stage-bg-light);
}

.p-stage-coordinate,
.p-stage-tips,
.p-stage-mattress {
  /* カンプ実測: コンテンツ幅1044px（画像を2倍書き出し→50%表示にするための基準幅） */
  max-width: 1044px;
  margin: 0 auto;
  padding: 100px 0 0;
  text-align: left;
}

.p-stage-coordinate__photo {
  margin: 40px 0;
}

.p-stage-coordinate__photo img {
  display: block;
  width: 100%;
  border-radius: 20px;
  border-radius: 4px;
}

/* 商品グリッド（3列）：画像600×348pxの2倍書き出しを50%（300×174px）で表示、
   gap=72pxでちょうど1044px幅（300×3+72×2）に収まる */
.p-product__list {
  display: flex;
  flex-wrap: wrap;
  gap: 35px 72px;
  text-align: left;
  margin-top: 40px;
}

.p-product__item {
  flex: 0 0 300px;
  width: 300px;
}

.p-product__item a {
  display: block;
}

.p-product__item img {
  display: block;
  width: 100%;
  background: #fff;
  margin-bottom: 16px;
}

.p-product__name,
.p-product__spec,
.p-product__price {
  transform: translateY(-5px);
}

.p-product__name {
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: #2f3d5a;
  line-height: 30px;
}

.p-product__spec {
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  line-height: 30px;
  color: #2f3d5a;
}

.p-product__price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0.18em;
  line-height: 30px;
  color: #2f3d5a;
}

.p-product__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  color: #2f3d5a;
  line-height: 1;
  padding-left: 3px;
  transition: transform 0.2s ease;
}

a:hover .p-product__toggle,
button:hover .p-product__toggle {
  transform: scale(1.15);
}

.c-btn-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 408px;
  height: 29px;
  margin: 60px auto 0;
  background: var(--stage-color, #4a4a45);
  color: #fff;
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0.18em;
  line-height: 44px;
  border-radius: 14.5px;
  transition: transform 0.2s ease;
}

.c-btn-dark:hover {
  transform: scale(1.05);
}

/* TIPS FOR PARENTS：画像とテキストが交互に並ぶ5ブロック */
.p-tips__list {
  display: flex;
  flex-direction: column;
  gap: 91px;
  margin-top: 60px;
}

.p-tips__item {
  /* imgとbodyを常に同じ幅（500px）にして、テキストが右のパターンでも
     写真が右のパターンでも左端の位置が揃うようにする（合計1044px幅に一致） */
  display: flex;
  align-items: center;
  gap: 44px;
}

.p-tips__img {
  flex: 0 0 500px;
}

.p-tips__img img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.p-tips__body {
  flex: 0 0 500px;
  text-align: left;
}

.p-tips__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.p-tips__heading span {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #bcbcbc;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 51px;
  height: 51px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-tips__text {
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.08em;
  line-height: 40px;
  color: #333;
}

/* RECOMMENDED MATTRESS：画像＋テキスト1セット＋ボタン */
.p-mattress-promo {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 60px;
  text-align: left;
}

.p-mattress-promo__body {
  flex: 1;
}

.p-mattress-promo__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.p-mattress-promo__heading span {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #bcbcbc;
  font-family: "MFW-PA1GothicStdN-Bold", sans-serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 51px;
  height: 51px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-mattress-promo__text {
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.08em;
  line-height: 40px;
  color: #333;
}

.p-mattress-promo__img {
  flex: 0 0 500px;
}

.p-mattress-promo__img img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

/* 白帯見出し：スクロールで表示されるたびにフェードアップ＋カラーワイプするアニメーション */
.p-tips__heading span::after,
.p-mattress-promo__heading span::after {
  content: attr(data-title-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 20px;
  line-height: 51px;
  white-space: nowrap;
  color: var(--stage-color, #4a4a45);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.p-tips__heading.is-inview span,
.p-mattress-promo__heading.is-inview span {
  opacity: 1;
  transform: translateY(0);
}

.p-tips__heading.is-inview span::after,
.p-mattress-promo__heading.is-inview span::after {
  clip-path: inset(0 0 0 0);
}

.p-tips__heading span:nth-child(1),
.p-mattress-promo__heading span:nth-child(1) {
  transition-delay: 0s;
}
.p-tips__heading span:nth-child(1)::after,
.p-mattress-promo__heading span:nth-child(1)::after {
  transition-delay: 0.35s;
}

.p-tips__heading span:nth-child(2),
.p-mattress-promo__heading span:nth-child(2) {
  transition-delay: 0.28s;
}
.p-tips__heading span:nth-child(2)::after,
.p-mattress-promo__heading span:nth-child(2)::after {
  transition-delay: 0.63s;
}

.p-tips__heading span:nth-child(3),
.p-mattress-promo__heading span:nth-child(3) {
  transition-delay: 0.56s;
}
.p-tips__heading span:nth-child(3)::after,
.p-mattress-promo__heading span:nth-child(3)::after {
  transition-delay: 0.91s;
}

/* ==========================================================================
   mattress.html（RESTEL商品ページ）専用スタイル
   ========================================================================== */

/* --- hero（FVスライドショー＋RESTEL専用ロゴ・ナビ） --- */
.p-restel-hero {
  position: relative;
  width: 100%;
  height: 1080px;
}

.p-restel-hero__slider {
  /* ウインドウを広げても左右に余白ができないよう、full-bleedで画面幅いっぱいに広げる
     （#js-scale-wrapperのtransform:scaleの影響をscaleXで打ち消す、他セクションと同じ仕組み） */
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%) scaleX(calc(1 / var(--page-scale, 1)));
  overflow: hidden;
}

.p-restel-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.p-restel-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.p-restel-hero__overlay {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.p-restel-hero__logo {
  margin-bottom: 48px;
  transform: translateY(15px);
}

.p-restel-hero__logo img {
  display: inline-block;
  width: 282px;
}

/* 固定ナビゲーション：スクロールしても常に画面上部に表示し続けるため、
   scale対象の.js-scale-wrapperの外（transform:scaleの影響を受けない場所）に配置している。
   .js-scale-wrapperと同じ「width:1440px; left:50%; transform:translateX(-50%)」で中央寄せし、
   内側の__innerだけ--page-scaleに合わせてscaleすることで、元のFV内ナビと同じ拡縮率を保つ */
/* FV内、ロゴ下のテキストナビ（固定化はせず、他のコンテンツと同じくスクロールで流れる） */
.p-restel-hero__nav {
  display: flex;
  justify-content: center;
  gap: 73px;
  list-style: none;
  transform: translateX(15px);
}

.p-restel-hero__nav a {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
}

/* ハンバーガーボタン（SP専用。VEINプロジェクトの.c-hamburgerを参考） */
.c-hamburger {
  display: none;
}

/* FV下の「ロゴとナビ」(.p-restel-concept-nav)と全く同じ見た目のコピーで、
   スクロールしてconcept-navが画面上端に到達したら、そこで止まって
   固定表示に切り替わる（position:sticky相当の動きをJSで再現）。
   .js-scale-wrapperのtransform（scale）の影響下だとposition:fixedが
   正しく効かないため、wrapperの外に配置している */
.p-restel-fixed-nav {
  position: fixed;
  top: 0;
  left: 50%;
  width: 1440px;
  transform: translateX(-50%) translateY(-100%);
  transform-origin: top center;
  z-index: 1000;
  visibility: hidden;
  animation: js-scale-reveal-fallback 0s 1.5s forwards;
}

.p-restel-fixed-nav.is-scaled {
  visibility: visible;
  animation: none;
}

.p-restel-fixed-nav.is-stuck {
  transform: translateX(-50%) translateY(30px);
}

.p-restel-fixed-nav__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1044px;
  margin: 0 auto;
  /* padding-topを持たせるとロゴの表示位置が上端(top:0)からズレてしまい、
     切り替わった瞬間にロゴが下にずれて見える。ロゴの上端がぴったりtop:0に
     来るよう、上方向のpaddingは持たせない */
  padding: 0 0 20px;
  transform-origin: top center;
  transform: scale(var(--page-scale, 1));
  pointer-events: auto;
}

.p-restel-fixed-nav__logo {
  display: block;
  width: 144px;
  color: #fff;
  transition: color 0.3s ease;
}

.p-restel-fixed-nav__logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.p-restel-fixed-nav ul {
  display: flex;
  gap: 73px;
  list-style: none;
  transform: translateX(15px);
}

.p-restel-fixed-nav a {
  color: #fff;
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ITEMS/STYLEなど白い（明るい）背景のセクションと重なっている間は
   ロゴ・文字ともに色を変える */
.p-restel-fixed-nav.is-light a {
  color: #5f554d;
}

.p-restel-fixed-nav.is-light .p-restel-fixed-nav__logo {
  color: #5f554d;
}

/* アンカーリンクの着地位置：固定ナビの高さ分、少し上（着地先の手前）で止まるようにする */
#concept {
  scroll-margin-top: -100px;
}

#style {
  scroll-margin-top: 0px;
}

#mr1000,
#mr2000,
#mr3000 {
  scroll-margin-top: 100px;
}

/* --- concept ---
   concept/features/movieの背景は上記full-bleedパターン（::before）で表現しているため、
   ここではposition:relativeのみ指定する。section-restel-bannerはscale対象外セクションなので
   通常のbackgroundのままで画面幅いっぱいに広がる */
.section-restel-concept,
.section-restel-features,
.section-restel-movie {
  position: relative;
}

/* CONCEPT以降のセクション全体をまとめて上に詰める */
.section-restel-concept {
  margin-top: -65px;
}

.section-restel-banner {
  background: #aca39a;
  /* .js-scale-outerと同じ理由：JSが高さ・位置を計算するまでの一瞬のちらつきを防ぐ。
     子の.p-restel-banner側だけを隠すと、このセクション自体の背景色が先に見えてしまうため、
     セクション自体をこの対象にする */
  visibility: hidden;
  animation: js-scale-reveal-fallback 0s 1.5s forwards;
}

.section-restel-banner.is-scaled {
  visibility: visible;
  animation: none;
}

/* 隣接セクション間のサブピクセルの継ぎ目（白い筋）を防ぐため、同色背景同士を2pxだけ重ねる */
.section-restel-features,
.section-restel-banner,
.section-restel-movie {
  margin-top: -2px;
}

/* スライダー(banner)を上に詰める。継ぎ目防止の-2px分と合わせた数値。
   section-restel-bannerはscale対象外セクションで、真上のfeatures側の高さは
   .js-scale-outerの高さとして既にJSが実寸px換算済みの値をセットしているため、
   ここで必要な重なり量はscaleに関わらず常に一定の実寸pxになる（計測により確認済み）。
   以前はcalc(px * --page-scale)でscaleに比例させていたが、それだと逆にscaleが
   1未満になるほど重なりが足りなくなり、狭い幅で背景に白い隙間ができていた */
.section-restel-banner {
  margin-top: -288px;
}

/* FV下、CONCEPTセクション冒頭のロゴ＋ナビ帯 */
.p-restel-concept-nav {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1044px;
  margin: 0 auto;
  padding: 75px 0 0;
  /* 下の要素を押し下げずにロゴ+ナビの見た目の位置だけ下げるためtransformを使用 */
  transform: translateY(30px);
}

/* 固定ナビ(.p-restel-fixed-nav)が同じ位置に出現したら、元のロゴ+ナビは隠す
   （display:noneにするとレイアウトが詰まって下のコンテンツが動いてしまうため
   visibility:hiddenでスペースだけ残す） */
.p-restel-concept-nav.is-hidden-by-fixed-nav {
  visibility: hidden;
}

.p-restel-concept-nav__logo img {
  display: block;
  width: 144px;
}

.p-restel-concept-nav__list {
  display: flex;
  gap: 73px;
  list-style: none;
  transform: translateX(15px);
}

.p-restel-concept-nav__list a {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
}

.p-restel-concept {
  max-width: 1044px;
  margin: 0 auto;
  padding: 100px 0;
}

.p-restel-concept__label {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 20px;
  letter-spacing: 0.4em;
  line-height: 44px;
  color: #fff;
  margin-bottom: 40px;
}

.p-restel-concept__body {
  display: flex;
  align-items: center;
  gap: 29px;
  transform: translateY(-53px);
}

.p-restel-concept__img {
  flex: 0 0 545px;
  transform: translateY(28px);
}

.p-restel-concept__img img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.p-restel-concept__text {
  flex: 1;
  text-align: center;
  color: #fff;
}

.p-restel-concept__catch {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 25px;
  letter-spacing: 0.15em;
  line-height: 91px;
  margin-bottom: 30px;
  transform: translateY(50px);
}

.p-restel-concept__catch--logo {
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
  font-size: 44px;
  letter-spacing: 0.2em;
  line-height: 1.4;
  margin-top: -20px;
  transform: none;
}

.p-restel-concept__catch--small {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 25px;
  margin-top: 30px;
}

.p-restel-concept__lead {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 25px;
  margin-bottom: 24px;
}

.p-restel-concept__lead--01 {
  margin-top: -20px;
  /* 1行目「「休む」を意味するRESTと心地よく過ごす場所、HOTEL。」を1行に収めるため、
     このパラグラフだけトラッキングを詰める */
  letter-spacing: 2px;
}

.p-restel-concept__logo {
  margin-top: 40px;
  /* 直後の.p-restel-concept__lead--01がmargin-top:-30pxを持っているため、
     そのままだとロゴと本文が重なる。ロゴ側にmargin-bottomを足して引き離す */
  margin-bottom: 50px;
}

.p-restel-concept__logo img {
  display: inline-block;
  width: 212px;
}

.p-restel-concept__logo-sub {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  line-height: 91px;
  margin-top: 10px;
  transform: translateY(-22px);
}

/* --- features（4アイコン） --- */
.p-restel-features__heading {
  text-align: center;
  color: #fff;
  font-family: "MFW-PA1MinchoStdN-Bold", serif;
  font-size: 25px;
  letter-spacing: 0.15em;
  line-height: 91px;
  padding: 0 0 60px;
  transform: translateY(-118px);
}

.p-restel-features__list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  max-width: 1044px;
  margin: 0 auto;
  padding-bottom: 100px;
  transform: translateY(15px);
}

.p-restel-features__item {
  flex: 0 0 246px;
  width: 246px;
  text-align: center;
  color: #fff;
  transform: translateY(-218px);
}

.p-restel-features__item-img {
  height: 221px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 16px;
}

.p-restel-features__item-img img {
  display: block;
  flex-shrink: 0;
  /* グローバルのimg{max-width:100%}リセットが親要素246px幅を上限にしてしまうため解除 */
  max-width: none;
}

.p-restel-features__item:nth-child(1) .p-restel-features__item-img img {
  width: 304px;
}

.p-restel-features__item:nth-child(2) .p-restel-features__item-img img {
  width: 302px;
}

.p-restel-features__item:nth-child(3) .p-restel-features__item-img img {
  width: 289px;
}

.p-restel-features__item:nth-child(4) .p-restel-features__item-img img {
  width: 284px;
}

.p-restel-features__item p {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 25px;
  transform: translateY(-15px);
}

/* --- intro-features（4アイコンの下、FEATURES 01〜04の導入ブロック） --- */
.p-restel-intro-features {
  max-width: 1044px;
  margin: -344px auto 0;
  padding: 100px 0 40px;
  text-align: left;
}

.p-restel-intro-features__label {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 20px;
  letter-spacing: 0.4em;
  line-height: 44px;
  color: #fff;
  margin-bottom: 40px;
}

.p-restel-intro-features__row {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-bottom: 80px;
}

.p-restel-intro-features__row:first-of-type {
  margin-top: -25px;
}

.p-restel-intro-features__row:last-child {
  margin-bottom: 0;
}

/* --reverse行はHTML側でbody→imgの順にDOMを入れ替えて対応しているため、ここでのflex-direction反転は不要（二重反転を防ぐ） */

.p-restel-intro-features__img {
  flex: 0 0 500px;
}

.p-restel-intro-features__row:nth-of-type(2) {
  transform: translateY(-26px);
}

.p-restel-intro-features__row:nth-of-type(3) {
  transform: translateY(-50px);
}

.p-restel-intro-features__row:nth-of-type(4) {
  transform: translateY(-76px);
}

/* 画像は2倍サイズ(1000×700px)で書き出されているため、表示は必ずその50%(500×350px)にする */
.p-restel-intro-features__img img {
  display: block;
  width: 500px;
  height: 350px;
  object-fit: cover;
  border-radius: 4px;
}

.p-restel-intro-features__body {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.p-restel-intro-features__title {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 25px;
  letter-spacing: 0.2em;
  line-height: 55px;
  color: #fff;
  padding-bottom: 11px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.p-restel-intro-features__text {
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  line-height: 33px;
  color: #fff;
}

.p-restel-intro-features__text--tight {
  letter-spacing: 0.05em;
}

.p-restel-intro-features__note {
  display: inline-block;
  font-size: 11px;
  opacity: 0.8;
  margin-top: 8px;
}

/* --- banner（画面幅いっぱい、2枚並びで右から左へスライドするカルーセル） --- */
.p-restel-banner {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-top: 286px;
  transform: translateX(-50%);
  overflow: hidden;
}

.p-restel-banner__scale-inner {
  display: inline-block;
  transform-origin: left top;
  transform: scale(var(--page-scale, 1));
}

.p-restel-banner__track {
  display: flex;
  gap: 1px;
  background: #fff;
}

.p-restel-banner__track.is-ready {
  transition: transform 0.6s ease;
}

.p-restel-banner__item {
  flex: 0 0 640px;
  width: 640px;
}

.p-restel-banner__item a {
  display: block;
}

.p-restel-banner__item img {
  display: block;
  width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

.p-restel-banner__track {
  cursor: grab;
}

.p-restel-banner__track:active {
  cursor: grabbing;
}

/* --- movie（COMMERCIAL MESSAGE） --- */
.p-restel-movie {
  max-width: 1044px;
  margin: 0 auto;
  padding: 100px 0 245px;
  text-align: center;
}

.p-restel-movie__label {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 20px;
  letter-spacing: 0.4em;
  transform: translateY(3px);
  line-height: 44px;
  color: #fff;
  text-align: left;
  margin-bottom: 24px;
}

.p-restel-movie__heading {
  font-family: "MFW-PA1MinchoStdN-Bold", serif;
  font-size: 25px;
  letter-spacing: 0.15em;
  line-height: 91px;
  color: #fff;
  margin-bottom: 50px;
  transform: translateY(-21px);
}

.p-restel-movie__player {
  position: relative;
  width: 100%;
  height: 588px;
  background: #d4d4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-61px);
  margin-top: 50px;
  margin-bottom: -115px;
}

.p-restel-movie__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-restel-movie__player-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-restel-movie__play {
  position: relative;
  width: 126px;
  height: 126px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.p-restel-movie__play:hover {
  transform: scale(1.1);
}

.p-restel-movie__play img {
  width: 100%;
  display: block;
}

/* --- items（3モデル紹介） --- */
.section-restel-items {
  margin-top: 65px;
}

.p-restel-items {
  max-width: 1044px;
  margin: 0 auto;
  padding: 100px 0;
  text-align: center;
}

.p-restel-items__label {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 20px;
  letter-spacing: 0.4em;
  line-height: 44px;
  color: #5f554d;
  text-align: left;
  margin-bottom: 24px;
  transform: translateY(-62px);
}

.p-restel-items__heading {
  font-family: "MFW-PA1MinchoStdN-Bold", serif;
  font-size: 25px;
  letter-spacing: 0.15em;
  line-height: 91px;
  color: #5f554d;
  margin-bottom: 30px;
  transform: translateY(-94px);
}

.p-restel-items__lead {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 35px;
  color: #5f554d;
  margin-bottom: 60px;
  transform: translateY(-133px);
}

.p-restel-items__icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1044px;
  margin: 0 auto 100px;
  list-style: none;
  transform: translateY(-149px);
}

.p-restel-items__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-restel-items__icon-img {
  height: 221px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 16px;
}

.p-restel-items__icon-img img {
  display: block;
}

.p-restel-items__icon:nth-child(1) .p-restel-items__icon-img img {
  width: 253px;
}

.p-restel-items__icon:nth-child(2) .p-restel-items__icon-img img {
  width: 252px;
}

.p-restel-items__icon:nth-child(3) .p-restel-items__icon-img img {
  width: 241px;
}

.p-restel-items__icon:nth-child(4) .p-restel-items__icon-img img {
  width: 237px;
}

.p-restel-items__icon span {
  display: block;
  width: 200px;
  height: 30px;
  background: #aca39b;
  border-radius: 10px;
}

/* --- model-nav（MODEL01/02/03 切り替えナビ。各モデルの手前に繰り返し配置） --- */
.p-restel-model-nav {
  display: flex;
  width: 1162px;
  /* 親.p-restel-itemsのmax-width:1044pxより広いため、中央基準で配置してはみ出す */
  position: relative;
  left: 50%;
  transform: translateX(-50%) translateY(-166px);
  margin: 0 0 60px;
  list-style: none;
}

.p-restel-model-nav__item {
  flex: 1;
  min-width: 0;
}

/* 中央(MODEL02)ブロックの罫線間の幅をちょうど448pxにする。両端は残りを均等割り */
.p-restel-model-nav__item:nth-child(2) {
  flex: 0 0 448px;
}

.p-restel-model-nav__item:nth-child(1),
.p-restel-model-nav__item:nth-child(3) {
  flex: 1 1 0;
}

.p-restel-model-nav__item:nth-child(1) {
  transform: translateX(-67px);
}

.p-restel-model-nav__item:nth-child(2) a,
.p-restel-model-nav__item:nth-child(3) a {
  transform: translateX(30px);
}

.p-restel-model-nav__item + .p-restel-model-nav__item {
  border-left: 1px solid #ccc;
}

.p-restel-model-nav__item a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 8px;
  color: #5f554d;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.p-restel-model-nav__item.is-dimmed a {
  opacity: 0.45;
}

.p-restel-model-nav__item.is-dimmed a:hover {
  opacity: 1;
}

.p-restel-model-nav__thumb {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.p-restel-model-nav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-restel-model-nav__text {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 17px;
  letter-spacing: 0.15em;
  line-height: 25px;
  text-align: left;
  white-space: nowrap;
}

.p-restel-model-nav__num {
  display: block;
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  font-size: 17px;
  letter-spacing: 0.15em;
  line-height: 25px;
  opacity: 0.7;
  margin-bottom: 2px;
}

/* --- model-nav 追従表示用コピー（メイン固定ナビのすぐ下に固定し、半透明の白背景を敷く）。
   位置(top)はJSがメイン固定ナビの実際の下端を計測して設定するため、ここでは指定しない。
   表示/非表示はJSがis-visibleを付け外しして切り替える */
.p-restel-model-fixed-nav {
  position: fixed;
  left: 50%;
  width: 1440px;
  transform: translateX(-50%);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.p-restel-model-fixed-nav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.p-restel-model-fixed-nav__inner {
  position: relative;
  padding: 24px 0;
  transform: scale(var(--page-scale, 1));
  transform-origin: top center;
}

/* 背景を100vwのfull-bleedにし、親のtransform:scaleによるX方向の拡縮だけscaleXで打ち消して
   ウインドウ幅いっぱいに広げる（Y方向はそのまま親のscaleに追従させ、高さのズレが出ないようにする） */
.p-restel-model-fixed-nav__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%) scaleX(calc(1 / var(--page-scale, 1)));
  background: rgba(255, 255, 255, 0.85);
  z-index: -1;
}

/* コピー側では、本来の1044px幅の親からはみ出すための位置調整(translateY(-166px))や
   下マージンは不要なため打ち消す。中央寄せ(translateX(-50%))はそのまま活かす */
.p-restel-model-nav.p-restel-model-nav--fixed {
  transform: translateX(-50%);
  margin: 0;
}

/* --- model（各モデル紹介ブロック） --- */
.p-restel-model {
  max-width: 1044px;
  margin: 0 auto 120px;
  text-align: left;
}

/* MODEL-navをタブ切り替え化：非アクティブなモデルの中身は表示しない */
.p-restel-model {
  display: none;
  transition: opacity 0.25s ease;
}

.p-restel-model.is-active {
  display: block;
}

/* MR2000の直前にあるMODEL-nav(2つ目)だけを56px下げる */
.p-restel-model-nav:nth-of-type(2) {
  transform: translateX(-50%) translateY(-110px);
}

.p-restel-model__name {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 20px;
  letter-spacing: 0.4em;
  line-height: 44px;
  color: #5f554d;
  margin-bottom: 20px;
  /* 下のhero画像(centered, 698px)の左端に合わせる */
  margin-left: 173px;
}

.p-restel-model__hero {
  position: relative;
  margin-bottom: 40px;
}

/* MR3000のFV画像内、右下に重ねる注記。.p-restel-model__heroは1044px幅だが
   画像自体は698pxで中央寄せ（左右173pxずつ余白）されているため、
   画像の右端から20pxになるよう173px+20pxで指定する */
.p-restel-model__hero-note {
  position: absolute;
  right: 178px;
  bottom: 6px;
  color: #fff;
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 30px;
}

#mr1000 .p-restel-model__name {
  transform: translateY(-158px);
}

#mr1000 .p-restel-model__hero {
  transform: translateY(-182px);
}

/* 画像は2倍サイズ(1396×1150px)で書き出されているため、表示は必ずその50%(698×575px)にする */
.p-restel-model__hero img {
  display: block;
  width: 698px;
  height: 575px;
  margin: 0 auto;
  object-fit: cover;
}

/* MR1000のhero：2枚をフェードで自動切り替え（4秒間隔） */
.p-restel-model__hero.js-restel-hero-fade {
  position: relative;
  width: 698px;
  height: 575px;
  margin: 0 auto;
}

.p-restel-model__hero.js-restel-hero-fade img {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.p-restel-model__hero.js-restel-hero-fade img.is-active {
  opacity: 1;
}

.p-restel-model__spec {
  display: flex;
  gap: 72.5px;
  margin-bottom: 60px;
}

/* ヒーロー画像下の余白を3モデル共通でちょうど100pxに揃えるための引き上げ量
   （ヒーロー側のmargin-bottom:40px + translateY(-182px)と合わせて逆算した値） */
#mr1000 .p-restel-model__spec,
#mr2000 .p-restel-model__spec,
#mr3000 .p-restel-model__spec {
  transform: translateY(-122px);
}

/* 上の.p-restel-model__spec引き上げ量の変更に伴い、MR2000だけ仕様表とFEATURESの
   間隔が広くなったため115px詰める */
#mr2000 .p-restel-model__features-wrap {
  margin-top: 45px;
}

#mr3000 .p-restel-model__features-wrap {
  margin-top: 60px;
}

/* MR3000のTOPPER/BOTTOM欄はテキスト最終行が価格でそのまま終わるため、
   他モデル同様のtranslateY(-27px)だとボタンが価格に迫って見える。
   ここだけシフト量を弱めて干渉を防ぐ */
#mr3000 .p-restel-model__spec-col .c-btn-small {
  transform: translateY(-11px);
}

.p-restel-model__spec-col:nth-child(1) {
  flex: 0 0 252px;
}

.p-restel-model__spec-col:nth-child(2) {
  flex: 0 0 325px;
}

.p-restel-model__spec-col:nth-child(3) {
  flex: 0 0 322px;
}

.p-restel-model__spec-col {
  min-width: 0;
}

/* 「商品詳細を見る→」ボタン（このセクションのみ、LIFE STAGE側の.c-btn-smallには影響させない） */
.p-restel-model .c-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 172px;
  height: 26px;
  background: #5f554d;
  color: #fff;
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  line-height: 30px;
  border-radius: 20px;
  margin-bottom: 8px;
  transform: translateY(-27px);
}

.p-restel-model__spec-heading {
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  line-height: 44px;
  color: #1c263c;
  padding-bottom: 7px;
  margin-bottom: 21px;
  border-bottom: 1px solid #999;
}

.p-restel-model__spec-heading span {
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  line-height: 30px;
  margin-left: 8px;
}

.p-restel-model__spec-text {
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  line-height: 30px;
  color: #333;
  margin-bottom: 16px;
}

.p-restel-model__spec-text--tight {
  letter-spacing: 0.16em;
  white-space: nowrap;
}

/* 「（セット内容：TOPPER+BOTTOM）」を1行に収めるため、フォントサイズを1px落とし、
   その上で列幅252pxに収まる範囲で最大のトラッキング(0.03em)にしている。
   全角括弧（）はグリフの左側に余白があり、上下の行と頭が揃って見えないため
   .p-restel-model__spec-bracketと同じ考え方で視覚的に少し左へ寄せる */
.p-restel-model__spec-text--tighter {
  display: inline-block;
  margin-left: -8px;
  font-size: 14px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.p-restel-model__spec-note {
  display: inline-block;
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
  font-size: 10px;
  letter-spacing: 0.07em;
  line-height: 30px;
  color: #1c263c;
  margin-top: 4px;
  transform: translateY(-10px);
}

.p-restel-model__spec-coil-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* MR3000はTOPPER/BOTTOMの2段落分テキストが長く、横並びだとボックスが
   潰れてしまうため、この列だけ縦積みレイアウトにする */

.p-restel-model__spec-coil-row .p-restel-model__spec-text {
  flex: 0 0 auto;
}

.p-restel-model__spec-coil-row .p-restel-model__spec-box {
  flex: 1;
  min-width: 0;
  padding: 12px 8px;
}

#mr3000 .p-restel-model__spec-coil-boxes {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

#mr3000 .p-restel-model__spec-coil-row .p-restel-model__spec-box {
  transform: translateY(30px);
}

#mr3000 .p-restel-model__spec-coil-boxes .p-restel-model__spec-box:last-child {
  margin-top: 96px;
}

#mr3000 .p-restel-model__spec-note {
  line-height: 18px;
  transform: translateY(0px);
}

/* 全角括弧［］はグリフの左側に余白があり、下のS：...行と頭が揃って見えないため
   視覚的に少し左へ寄せる */
.p-restel-model__spec-bracket {
  display: inline-block;
  margin-left: -8px;
}

.p-restel-model__spec-box {
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
  font-size: 12px;
  letter-spacing: 0em;
  line-height: 25px;
  color: #333;
  background: #d5d1cd;
  padding: 12px 16px;
  border-radius: 4px;
}

.p-restel-model__spec-box-heading {
  display: inline-block;
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
  font-size: 15px;
  letter-spacing: 0em;
  line-height: 30px;
}

/* --- features（各モデル内のFEATURES 01/02） --- */
.p-restel-model__features-wrap {
  position: relative;
  padding-top: 60px;
  padding-bottom: 22px;
  margin: 0 0 60px;
  transform: translateY(-109px);
}

.p-restel-model__features {
  /* コンテナ幅1044pxの左端・右端に画像(各500px)を配置するため、
     paddingなし・gapを44px(1044-500-500)にする */
  padding: 0;
}

.p-restel-model__features-label {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 20px;
  letter-spacing: 0.4em;
  line-height: 44px;
  color: #5f554d;
  margin-bottom: 24px;
  transform: translateY(-5px);
}

.p-restel-model__features-title {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  line-height: 44px;
  color: #5f554d;
  margin-bottom: 24px;
}

.p-restel-model__features-title:not(:first-of-type) {
  margin-top: 60px;
}

.p-restel-model__features-label + .p-restel-model__features-title {
  transform: translateY(-57px);
}

.p-restel-model__features-row:first-of-type {
  transform: translateY(-80px);
}

.p-restel-model__features-row + .p-restel-model__features-title {
  transform: translateY(-96px);
}

.p-restel-model__features-row:nth-of-type(2) {
  transform: translateY(-120px);
}

/* MR3000のみFEATURESが01/02/03の3項目あるため、3つ目の画像行にも
   個別に位置調整を加えて下のLIFE STAGESとの重なりを防ぐ */
/* MR3000は03(3つ目)のタイトルだけ、他モデルの02と同じ間隔になるよう追加調整する */
#mr3000 .p-restel-model__features-row:nth-of-type(2) + .p-restel-model__features-title {
  transform: translateY(-136px);
}

#mr3000 .p-restel-model__features-row:nth-of-type(3) {
  transform: translateY(-160px);
}

.p-restel-model__features-text {
  font-family: "MFW-PA1GothicStdN-Regular", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 25px;
  color: #5f554d;
  margin-top: 20px;
  transform: translateY(10px);
}

.p-restel-model__features-text--tight {
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.p-restel-model__features-row {
  display: flex;
  gap: 44px;
  align-items: flex-start;
}

/* 画像は2倍サイズ(1000px)で書き出されているため、表示は必ずその50%(500px)にする */
.p-restel-model__features-static {
  flex: 0 0 500px;
  width: 500px;
}

.p-restel-model__features-static img {
  display: block;
  width: 500px;
  height: 500px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.p-restel-model__gallery {
  flex: 0 0 500px;
  width: 500px;
}

/* 画像は2倍サイズ(1000×820px)で書き出されているため、表示は必ずその50%(500×410px)にする */
.p-restel-model__gallery-main {
  position: relative;
  width: 500px;
  height: 410px;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.p-restel-model__gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.p-restel-model__gallery-main img.is-active {
  opacity: 1;
}

.p-restel-model__gallery-thumbs {
  display: flex;
  gap: 10px;
  list-style: none;
}

/* サムネイルは2倍サイズ(184×152px)で書き出されているため、表示は必ずその50%(92×76px)にする。
   5枚×92px + 4箇所×10pxのgapでちょうど500px（ギャラリー列の幅）に収まる */
.p-restel-model__gallery-thumbs li {
  flex: 0 0 92px;
  width: 92px;
  height: 76px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  /* borderではなくoutlineを使う：borderは(box-sizing:border-boxでも)画像の実寸50%表示を
     崩す要因になりやすいため、レイアウトに影響しないoutlineで代用する */
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: opacity 0.2s ease, outline-color 0.2s ease;
}

.p-restel-model__gallery-thumbs li.is-active {
  opacity: 1;
  outline-color: var(--model-color, #5f554d);
}

.p-restel-model__gallery-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- life stages（円アイコン4つ） --- */
.p-restel-model__lifestage {
  text-align: center;
  margin-bottom: 60px;
}

#mr3000 .p-restel-model__lifestage {
  margin-top: -80px;
}

.p-restel-model__lifestage-label {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 20px;
  letter-spacing: 0.4em;
  line-height: 44px;
  color: #5f554d;
  margin-bottom: 30px;
  text-align: left;
  transform: translateY(-41px);
}

.p-restel-model__lifestage-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

.p-restel-model__lifestage-list {
  transform: translateY(-38px);
}

.p-restel-model__lifestage-text {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
}

.p-restel-model__lifestage-tight {
  display: inline-block;
  letter-spacing: 0em;
  flex-shrink: 0;
  white-space: nowrap;
}

.p-restel-model__lifestage-list li {
  width: 145px;
  height: 145px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #4a4a45;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.05em;
  padding: 10px;
  box-sizing: border-box;
}

#mr2000 .p-restel-model__lifestage-list li {
  background: #bc5531;
}

#mr3000 .p-restel-model__lifestage-list li {
  background: #603a23;
}

#mr2000 .p-restel-model__banner-text {
  background: #bc5531;
}

/* タブ切り替え化に伴い、ナビ直後の内部レイアウトはMR1000と完全に同じにする
   （そうしないとタブ切り替え時にヒーロー画像位置を合わせるための補正で
   ナビ自体やITEMS見出しまで動いて見えてしまう） */
#mr2000 .p-restel-model__name,
#mr3000 .p-restel-model__name {
  transform: translateY(-158px);
}

/* MR1000はhero画像に-182pxのシフトがあり、その分ヒーロー下の余白が広い。
   MR2000も同じ見た目の余白になるよう合わせる */
#mr2000 .p-restel-model__hero,
#mr3000 .p-restel-model__hero {
  transform: translateY(-182px);
}

#mr2000 .p-restel-model__banner-text .c-btn-outline {
  color: #bc5531;
}

#mr3000 .p-restel-model__banner-text {
  background: #603a23;
}

#mr3000 .p-restel-model__banner-text .c-btn-outline {
  color: #603a23;
}

/* --- closing（各モデルのまとめ文） --- */
.p-restel-model__closing-heading {
  font-family: "MFW-PA1MinchoStdN-Bold", serif;
  font-size: 25px;
  letter-spacing: 0.15em;
  line-height: 91px;
  color: #5f554d;
  text-align: center;
  margin-bottom: 24px;
  transform: translateY(-86px);
}

.p-restel-model__closing-lead {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  line-height: 35px;
  letter-spacing: 0.2em;
  color: #5f554d;
  text-align: center;
  margin-bottom: 40px;
  transform: translateY(-118px);
}

/* --- banner（ライフステージ導線バナー） --- */
.p-restel-model__banner-label {
  font-family: "MFW-PA1MinchoStdN-Regular", serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #5f554d;
  margin-bottom: 16px;
  transform: translateY(-147px);
}

.p-restel-model__banner-label-main {
  font-family: "MFW-PA1MinchoStdN-Bold", serif;
  font-size: 27px;
  letter-spacing: 0.2em;
  line-height: 82px;
}

.p-restel-model__banner-label-sub {
  font-family: "MFW-PA1MinchoStdN-Bold", serif;
  font-size: 25px;
  letter-spacing: 0.15em;
  line-height: 91px;
  display: inline-block;
  transform: translateX(30px);
}

.p-restel-model__banner-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  margin: 0 4px;
  font-size: 18px;
  vertical-align: middle;
  transform: translateY(-5px);
}

.p-restel-model__banner {
  display: flex;
  text-decoration: none;
  transform: translateY(-170px);
}

/* 画像は2倍サイズ(1168×474px)で書き出されているため、表示は必ずその50%(584×237px)にする */
.p-restel-model__banner-img {
  flex: 0 0 584px;
}

.p-restel-model__banner-img img {
  display: block;
  width: 584px;
  height: 237px;
  object-fit: cover;
}

.p-restel-model__banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #4a4a45;
  color: #fff;
  font-family: "MFW-PA1MinchoStdN-Bold", serif;
  font-size: 35px;
  letter-spacing: 0.2em;
  line-height: 79px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

/* .c-btn-outlineは他セクション用にtransform:translateY(-102px)が付いているため、
   このバナー内だけ打ち消してテキストの下に正しく表示させる */
.p-restel-model__banner-text .c-btn-outline {
  width: 228px;
  height: 34px;
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 17px;
  letter-spacing: 0.18em;
  line-height: 34px;
  border-radius: 20px;
  transform: translateY(-16px);
}

/* --- style（クロージング） --- */
.p-restel-style {
  max-width: 1044px;
  margin: -325px auto 0;
  padding: 100px 0;
  text-align: center;
}

.p-restel-style__label {
  font-family: "MFW-PA1MinchoStdN-Medium", serif;
  font-size: 20px;
  letter-spacing: 0.4em;
  line-height: 44px;
  color: #5f554d;
  text-align: left;
  margin-bottom: 40px;
}

.p-restel-style__img {
  position: relative;
  margin-bottom: 20px;
}

/* 画像内のカード（下端は画像高さの約81.6%の位置）から34px空けて、
   紺色の背景の上に重ねて配置するボタン。画像の伸縮に合わせて位置がずれないよう
   カード下端はパーセントで、そこからの34pxの余白はcalc()で固定値のまま加える。
   フォントサイズのみ指定の32pxを他の共通ボタン（c-btn-dark等）と同じ2倍書き出しの
   慣例で1/2の16pxにしている。トラッキング(180/1000)・行間はそのままの値を使用 */
.p-restel-style__btn {
  position: absolute;
  top: calc(81.6% + 34px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 298px;
  height: 34px;
  background: #fff;
  color: #5f554d;
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0.18em;
  line-height: 32px;
  border-radius: 17px;
}

.p-restel-style__img img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.p-restel-style__heading {
  font-family: "MFW-PA1MinchoStdN-Bold", serif;
  font-size: 25px;
  letter-spacing: 0.15em;
  line-height: 91px;
  color: #5f554d;
  margin-bottom: -10px;
}

.p-restel-style__lead {
  font-family: "MFW-PA1GothicStdN-Medium", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  line-height: 35px;
  color: #5f554d;
}

/* ==========================================================================
   SP（スマホ）版：768px以下
   PCのtransform:scale方式は使わず、通常の流動レイアウト（1カラム積み）に切り替える。
   デザインカンプがないため、読みやすさを優先した独自の値で調整している。
   ========================================================================== */
@media (max-width: 768px) {
  body {
    min-width: 0;
  }

  /* PC用のscale機構を解除し、CSSの通常フローに任せる（インラインstyleはJS側でクリア済み） */
  .js-scale-outer {
    position: static;
    left: auto;
    width: auto;
    transform: none;
    overflow: visible;
  }

  .js-scale-wrapper {
    position: static;
    left: auto;
    width: auto;
    transform: none;
  }

  .js-scale-wrapper--lifestage {
    padding-top: 0;
  }

  /* --- 固定ナビ（VEINの.c-hamburger/.c-gnaviと同じ考え方でハンバーガー化） --- */
  .p-restel-fixed-nav {
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
    background: none;
    box-shadow: none;
  }

  /* SPではJS側で常時is-stuckが付与されるが、PC用のtransform（translateX(-50%)で
     左に半幅ずれる）が残ったままだと、子要素(.c-hamburger)のposition:fixedの基準が
     このnav自身になってしまい、ハンバーガーが画面右上ではなく左寄りに表示される */
  .p-restel-fixed-nav.is-stuck {
    transform: none;
  }

  .c-hamburger {
    display: block;
    position: fixed;
    top: 10px;
    right: 16px;
    width: 36px;
    height: 20px;
    padding: 6px;
    border: none;
    background: none;
    box-sizing: content-box;
    cursor: pointer;
    z-index: 1100;
    /* 親.p-restel-fixed-navがpointer-events:noneのため、ボタン自体で明示的に有効化する */
    pointer-events: auto;
  }

  .c-hamburger__line {
    display: block;
    position: absolute;
    left: 6px;
    width: 36px;
    height: 2px;
    background-color: #fff;
    transition: background-color 0.3s ease-in-out, transform 0.4s;
  }

  .p-restel-fixed-nav.is-light .c-hamburger__line {
    background-color: #2f3d5a;
  }

  .c-hamburger__line:nth-of-type(1) {
    top: 6px;
  }

  .c-hamburger__line:nth-of-type(2) {
    top: 14px;
  }

  .c-hamburger.is-active .c-hamburger__line {
    background-color: #fff;
  }

  .c-hamburger.is-active .c-hamburger__line:nth-of-type(1) {
    transform: translateY(4px) rotate(-10deg);
  }

  .c-hamburger.is-active .c-hamburger__line:nth-of-type(2) {
    transform: translateY(-4px) rotate(10deg);
  }

  /* 通常時は非表示。ハンバーガータップで全画面メニューとして表示する */
  .p-restel-fixed-nav__inner {
    display: none;
    transform: none;
  }

  .p-restel-fixed-nav.is-menu-open .p-restel-fixed-nav__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    position: fixed;
    inset: 0;
    background-color: #5f554d;
    z-index: 1050;
  }

  .p-restel-fixed-nav.is-menu-open ul {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0;
    text-align: center;
    transform: none;
  }

  .p-restel-fixed-nav.is-menu-open a,
  .p-restel-fixed-nav.is-menu-open.is-light a {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
  }

  /* --- hero（FV） --- */
  .p-restel-hero {
    height: 480px;
  }

  .p-restel-hero__overlay {
    top: 60px;
  }

  .p-restel-hero__logo {
    margin-bottom: 0;
    transform: none;
  }

  .p-restel-hero__logo img {
    width: 160px;
  }

  .p-restel-hero__nav {
    display: none;
  }

  /* MODEL-nav追従表示（PC版と同じく、ITEMS内をスクロールしている間だけ
     メイン固定ナビの下に半透明の白帯として追従表示する。表示位置とON/OFFの
     切り替えはscript.jsのupdateRestelModelNavPositionがSPでも動くようにして実現） */
  .p-restel-model-fixed-nav {
    left: 0;
    width: 100%;
    transform: none;
  }

  .p-restel-model-fixed-nav__inner {
    padding: 12px 0;
    transform: none;
  }

  .p-restel-model-nav.p-restel-model-nav--fixed {
    transform: none;
    margin: 0;
    padding: 0 24px;
  }

  .u-sp-br {
    display: inline;
  }

  .u-pc-br {
    display: none;
  }

  .u-sp-space {
    display: inline;
  }

  /* SPで1行に収めるためのトラッキング調整用ユーティリティ（PC版には影響させない） */
  .u-sp-tight {
    letter-spacing: -0.4px;
  }

  /* --- concept --- */
  .section-restel-concept {
    margin-top: 0;
  }

  .p-restel-concept {
    padding: 30px 24px 60px;
  }

  .p-restel-concept__label {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .p-restel-concept__body {
    flex-direction: column;
    gap: 30px;
    transform: none;
  }

  .p-restel-concept__img {
    flex: none;
    width: 100%;
    transform: none;
  }

  .p-restel-concept__catch {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    transform: none;
  }

  .p-restel-concept__catch--small {
    margin-top: 20px;
  }

  .p-restel-concept__lead {
    font-size: 12px;
    line-height: 1.9;
  }

  .p-restel-concept__lead--01 {
    margin-top: 0;
  }

  .p-restel-concept__logo img {
    width: 150px;
  }

  .p-restel-concept__logo-sub {
    font-size: 12px;
    line-height: 1.6;
    transform: none;
  }

  /* --- features --- */
  .section-restel-features,
  .section-restel-banner,
  .section-restel-movie {
    margin-top: 0;
  }

  .p-restel-features__heading {
    font-size: 18px;
    line-height: 1.7;
    padding: 50px 24px 15px;
    margin-top: -75px;
    transform: none;
  }

  .p-restel-features__list {
    flex-wrap: wrap;
    gap: 30px 16px;
    padding: 0 24px 50px;
  }

  .p-restel-features__item {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
    transform: none;
  }

  .p-restel-features__item-img {
    height: auto;
    margin-bottom: 10px;
  }

  .p-restel-features__item:nth-child(1) .p-restel-features__item-img img,
  .p-restel-features__item:nth-child(2) .p-restel-features__item-img img,
  .p-restel-features__item:nth-child(3) .p-restel-features__item-img img,
  .p-restel-features__item:nth-child(4) .p-restel-features__item-img img {
    width: 85%;
  }

  .p-restel-features__item p {
    font-size: 12px;
    transform: none;
  }

  /* --- banner（1枚ずつ表示） --- */
  .p-restel-banner {
    margin-top: 0;
  }

  .p-restel-banner__scale-inner {
    transform: none;
  }

  .p-restel-banner__item {
    flex: 0 0 100vw;
    width: 100vw;
  }

  /* --- movie --- */
  .p-restel-movie {
    padding: 20px 24px 30px;
  }

  .p-restel-movie__label {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    transform: none;
  }

  .p-restel-movie__heading {
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: -0.6px;
    margin-bottom: 30px;
    transform: none;
  }

  .p-restel-movie__player {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    transform: none;
    margin-top: 0;
    margin-bottom: 0;
  }

  .p-restel-movie__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
  }

  /* --- items / model --- */
  .section-restel-items {
    margin-top: 0;
  }

  .p-restel-items {
    padding: 10px 24px 60px;
  }

  .p-restel-items__label {
    font-size: 14px;
    margin-bottom: 16px;
    transform: none;
  }

  .p-restel-items__heading {
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: -0.2px;
    margin-bottom: 20px;
    transform: none;
  }

  .p-restel-items__lead {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 40px;
    transform: none;
  }

  .p-restel-items__icons {
    flex-wrap: wrap;
    gap: 30px 16px;
    margin: 0 auto 60px;
    transform: none;
  }

  .p-restel-items__icon {
    flex: 0 0 calc(50% - 8px);
  }

  .p-restel-items__icon-img {
    height: auto;
    margin-bottom: 10px;
  }

  .p-restel-items__icon:nth-child(1) .p-restel-items__icon-img img,
  .p-restel-items__icon:nth-child(2) .p-restel-items__icon-img img,
  .p-restel-items__icon:nth-child(3) .p-restel-items__icon-img img,
  .p-restel-items__icon:nth-child(4) .p-restel-items__icon-img img {
    width: 60%;
  }

  .p-restel-items__icon span {
    width: 100%;
    max-width: 160px;
  }

  .p-restel-model {
    margin-bottom: 70px;
  }

  .p-restel-model--mr2000,
  .p-restel-model--mr3000 {
    margin-top: 0;
  }

  .p-restel-model__name,
  .p-restel-model--01 .p-restel-model__name {
    width: 100%;
    font-size: 16px;
    transform: none;
  }

  .p-restel-model__slider,
  .p-restel-model--01 .p-restel-model__slider {
    width: 100%;
    height: auto;
    aspect-ratio: 698 / 575;
    transform: none;
  }

  .p-restel-model__slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .p-restel-model__dots,
  .p-restel-model--01 .p-restel-model__dots {
    margin: 16px 0 30px;
    transform: none;
  }

  .p-restel-model__spec,
  .p-restel-model--01 .p-restel-model__spec {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    padding-bottom: 40px;
    transform: none;
  }

  .p-restel-model--01 .p-restel-model__gallery {
    transform: none;
    padding: 40px 0;
  }

  .p-restel-model__gallery-item {
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 350;
    margin: 0 0 24px !important;
  }

  .p-restel-model--01 .p-restel-model__gallery-item {
    transform: none;
  }

  /* --- style --- */
  .p-restel-style {
    margin-top: -175px;
    padding: 60px 24px;
  }

  .p-restel-style__label {
    font-size: 14px;
    margin-bottom: 20px;
    transform: none;
  }

  .p-restel-style__img {
    margin-bottom: 24px;
    transform: none;
  }

  /* SP専用画像(sleepguide-image-sp.jpg)はカード下端が高さの約90.9%の位置。
     サイズは「眠りのヒントを見る」(.c-btn-small)に合わせる */
  .p-restel-style__btn {
    top: calc(90.9% + 5px);
    width: 192px;
    height: 28px;
    font-size: 16px;
    line-height: 32px;
    border-radius: 20px;
  }

  .p-restel-style__heading {
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: -0.2px;
    margin-bottom: 20px;
    transform: none;
  }

  .p-restel-style__lead {
    font-size: 12px;
    line-height: 1.9;
    transform: none;
    margin-bottom: 0;
  }

  #concept,
  #style {
    scroll-margin-top: 60px;
  }

  /* --- LIFE STAGE（抜粋） --- */
  .p-lifestage {
    padding: 60px 24px;
  }

  .p-lifestage__list {
    flex-direction: column;
    gap: 0;
  }

  .p-lifestage__item {
    flex: none;
    width: 100%;
  }

  .page-mattress .p-lifestage__num,
  .page-mattress .p-lifestage__num.is-green,
  .page-mattress .p-lifestage__num.is-accent,
  .page-mattress .p-lifestage__num.is-brown {
    margin-bottom: -55px;
    transform: none;
  }

  .p-lifestage .c-heading-en {
    margin-left: 0;
    transform: none;
  }

  .p-lifestage .c-heading-ja {
    margin-left: 0;
  }

  .page-mattress .p-lifestage__title,
  .page-mattress .p-lifestage__title.is-green,
  .page-mattress .p-lifestage__title.is-accent,
  .page-mattress .p-lifestage__title.is-brown {
    transform: none;
  }

  .page-mattress .p-lifestage-intro {
    height: auto;
  }

  .p-lifestage__img,
  .p-lifestage__label {
    transform: none;
  }

  .page-mattress .p-lifestage__label-text {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .p-lifestage__img {
    margin-top: -35px;
  }

  .page-mattress .p-lifestage__img {
    transform: none;
  }

  .page-mattress .section-lifestage {
    margin-top: -180px;
    margin-bottom: 0;
  }

  /* --- 店舗検索（VEIN features.htmlの.c-features-store（同じFIND A STORE/ONLINE STORE構成）を参考に調整） --- */
  .p-store {
    padding: 0 20px 30px;
  }

  .page-mattress .p-store__heading {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 10px;
    transform: none;
  }

  .p-store__list {
    flex-direction: column;
    gap: 10px;
  }

  .p-store__item {
    flex: none;
    width: 100%;
  }

  .p-store__item .c-heading-en {
    font-size: 15px;
    line-height: 1.6;
    transform: none;
  }

  .p-store__item .c-heading-en .c-heading-en__arrow {
    width: 24px;
    height: 24px;
    font-size: 1.2rem;
    padding-left: 0;
  }

  .p-store__item .c-heading-ja {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 10px;
    transform: none;
  }

  .p-store__link {
    transform: none;
  }

  .page-mattress .section-store {
    margin-top: 0;
  }

  /* --- フッター（VEINプロジェクトのSP版を流用。既に作り込まれているためそのまま採用） --- */
  .section-brand {
    padding-top: 0;
  }

  .c-brand {
    width: 100%;
    padding: 20px 5.33vw 0;
  }

  .c-brand__title {
    font-size: 15px;
  }

  .c-brand__banner {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .c-footer {
    padding: 0;
  }

  .c-footer__info-wrap {
    grid-template-columns: 1fr;
  }

  .c-footer__nav {
    display: block;
    gap: 0;
  }

  .c-footer__nav li {
    border-bottom: 1px solid #989898;
  }

  .c-footer__nav li a {
    font-size: 12px;
    padding: 15px 5.33vw;
    display: block;
  }

  .c-footer__follow {
    padding: 15px 5.33vw;
    border-left: none;
    border-bottom: 1px solid #989898;
    height: auto;
  }

  .c-footer__follow-wrap {
    display: block;
  }

  .c-footer__title {
    font-size: 15px;
  }

  .c-footer__text {
    font-size: 12px;
    line-height: 1.6;
  }

  .c-footer__sns {
    margin-top: 15px;
    grid-template-columns: 20px 20px 20px;
    gap: 24px;
  }

  .c-footer__contact {
    padding: 15px 5.33vw;
    border-left: none;
    border-bottom: 1px solid #989898;
    height: auto;
  }

  .c-footer__btn {
    gap: 10px;
  }

  .c-footer__link-btn {
    width: 90%;
    height: 36px;
    border-radius: 18px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .c-footer__logo-wrap {
    margin-top: 0;
    grid-template-columns: 1fr;
    padding: 15px 5.33vw;
  }

  .c-footer__logo {
    width: 120px;
  }

  .c-footer__logo-text {
    font-size: 10px;
  }

  .c-footer__copy {
    font-size: 10px;
    text-align: left;
    margin-top: 10px;
  }

  /* --- concept内ロゴ+ナビ（CONCEPTセクション用のin-flowコピー）。
     SPでは.p-restel-fixed-nav（ハンバーガー）が常時上部に固定表示され、
     JS側でこのコピーは常にis-hidden-by-fixed-nav（visibility:hidden）になるが、
     PC用の固定幅・gapがSP幅を超えて横スクロールの原因になるため非表示にする */
  .p-restel-concept-nav {
    display: none;
  }

  /* --- intro-features（4アイコン下、FEATURES 01〜04の導入ブロック） --- */
  .p-restel-intro-features {
    margin: 0;
    padding: 0 24px 20px;
  }

  .p-restel-intro-features__label {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .p-restel-intro-features__row,
  .p-restel-intro-features__row:nth-of-type(2),
  .p-restel-intro-features__row:nth-of-type(3),
  .p-restel-intro-features__row:nth-of-type(4) {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 40px;
    transform: none;
  }

  .p-restel-intro-features__row:first-of-type {
    margin-top: 0;
  }

  /* --reverse行はDOM順がbody→imgのため、SPでは常に写真→見出し→本文の順で
     表示されるようimgをorderで先頭に戻す */
  .p-restel-intro-features__row--reverse .p-restel-intro-features__img {
    order: -1;
  }

  .p-restel-intro-features__row:last-child {
    margin-bottom: 10px;
  }

  .p-restel-intro-features__img {
    flex: none;
  }

  .p-restel-intro-features__img img {
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 350;
  }

  .p-restel-intro-features__title {
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 10px;
    margin-bottom: 16px;
  }

  .p-restel-intro-features__text {
    font-size: 12px;
    line-height: 1.9;
  }

  .p-restel-intro-features__text--tight {
    letter-spacing: -0.4px;
  }

  /* PC版で元々長く、SPの狭い幅では-0.4pxだけでは1行に収まらない行専用の追加トラッキング調整 */
  .u-sp-tight-2 {
    letter-spacing: -1.2px;
  }

  /* --- ITEMS内 MODEL選択ナビ（3カラム、写真の下にテキスト） --- */
  .p-restel-model-nav {
    position: static;
    left: auto;
    width: 100%;
    flex-direction: row;
    gap: 8px;
    transform: none;
    margin: 0 0 40px;
  }

  .p-restel-model-nav__item,
  .p-restel-model-nav__item:nth-child(1),
  .p-restel-model-nav__item:nth-child(2),
  .p-restel-model-nav__item:nth-child(3) {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    transform: none;
  }

  .p-restel-model-nav__item + .p-restel-model-nav__item {
    border-left: none;
    border-top: none;
  }

  .p-restel-model-nav__item a {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    text-align: center;
  }

  .p-restel-model-nav__item:nth-child(1) a,
  .p-restel-model-nav__item:nth-child(2) a,
  .p-restel-model-nav__item:nth-child(3) a {
    transform: none;
  }

  .p-restel-model-nav__thumb {
    width: 70px;
    height: 70px;
  }

  .p-restel-model-nav__text,
  .p-restel-model-nav__num {
    font-size: 11px;
    line-height: 1.5;
    white-space: normal;
    text-align: center;
  }

  /* --- model（各モデル紹介：hero） --- */
  .p-restel-model {
    margin: 0 0 80px;
  }

  .p-restel-model__name,
  #mr1000 .p-restel-model__name,
  #mr2000 .p-restel-model__name,
  #mr3000 .p-restel-model__name {
    margin-left: 0;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.6;
    transform: none;
  }

  .p-restel-model__hero,
  #mr1000 .p-restel-model__hero,
  #mr2000 .p-restel-model__hero,
  #mr3000 .p-restel-model__hero {
    transform: none;
    margin-bottom: 30px;
  }

  .p-restel-model__hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 698 / 575;
  }

  /* SPは画像がheroいっぱいに表示され左右の余白がなくなるため、右端からの位置を戻す */
  .p-restel-model__hero-note {
    right: 5px;
    bottom: 2px;
    font-size: 11px;
  }

  /* --- model：spec表 --- */
  .p-restel-model__spec,
  #mr1000 .p-restel-model__spec,
  #mr2000 .p-restel-model__spec,
  #mr3000 .p-restel-model__spec {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    transform: none;
  }

  /* 旧タブ切替前(.p-restel-model--01)時代の名残の padding-bottom:40px が
     .p-restel-model__spec にも掛かってしまっていたため解除して詰める */
  #mr1000 .p-restel-model__spec,
  #mr2000 .p-restel-model__spec,
  #mr3000 .p-restel-model__spec {
    padding-bottom: 0;
    margin-bottom: 30px;
  }

  .p-restel-model__spec-col:nth-child(1),
  .p-restel-model__spec-col:nth-child(2),
  .p-restel-model__spec-col:nth-child(3) {
    flex: none;
    width: 100%;
  }

  /* COIL列（3列目）の上だけ余白を詰める（MATTRESS-SIZE間のgapには影響させない） */
  .p-restel-model__spec-col:nth-child(3) {
    margin-top: -20px;
  }

  .p-restel-model .c-btn-small,
  #mr3000 .p-restel-model__spec-col .c-btn-small {
    transform: none;
  }

  .p-restel-model__spec-heading {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .p-restel-model__spec-heading span {
    font-size: 12px;
  }

  .p-restel-model__spec-text {
    font-size: 12px;
    line-height: 1.8;
  }

  .p-restel-model__spec-text--tight {
    white-space: normal;
  }

  .p-restel-model__spec-note,
  #mr3000 .p-restel-model__spec-note {
    transform: none;
  }

  .p-restel-model__spec-coil-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1px;
  }

  #mr3000 .p-restel-model__spec-coil-row .p-restel-model__spec-box {
    transform: none;
  }

  #mr3000 .p-restel-model__spec-coil-boxes .p-restel-model__spec-box:last-child {
    margin-top: 16px;
  }

  .p-restel-model__spec-box {
    font-size: 12px;
  }

  /* --- model：features（各モデル内 01/02/03） --- */
  /* 背景(#d5d1cd)を画面幅いっぱいに敷くため、PC用の100vwフルブリード手法を
     疑似要素ではなく要素本体に適用する（詳細は直後のbackground-color定義を参照） */
  .p-restel-model__features-wrap,
  #mr2000 .p-restel-model__features-wrap,
  #mr3000 .p-restel-model__features-wrap {
    position: relative;
    left: 50%;
    width: 100vw;
    padding: 20px 24px 22px;
    margin: 0 0 40px;
    transform: translateX(-50%);
  }

  /* SPは画面幅=コンテナ幅なので、PC用の100vw+scaleXフルブリード疑似要素は不要。
     position:relativeの親(.features-wrap)が高さautoのままだと::before側のheight:100%が
     ブラウザによって正しく解決されず、背景が「タイパの良い眠り」バナー手前で途切れて
     見えることがあったため、疑似要素自体をやめて要素に直接background-colorを敷く */
  .p-restel-model__features-wrap::before {
    display: none;
  }

  .p-restel-model__features-wrap {
    background-color: #d5d1cd;
  }

  .p-restel-model__features-label {
    font-size: 14px;
    margin-bottom: 0;
    transform: none;
  }

  .p-restel-model__features-title {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1px;
  }

  .p-restel-model__features-title:not(:first-of-type) {
    margin-top: 40px;
  }

  .p-restel-model__features-label + .p-restel-model__features-title {
    margin-top: 0;
  }

  .p-restel-model__features-label + .p-restel-model__features-title,
  .p-restel-model__features-row:first-of-type,
  .p-restel-model__features-row + .p-restel-model__features-title,
  .p-restel-model__features-row:nth-of-type(2),
  #mr3000 .p-restel-model__features-row:nth-of-type(2) + .p-restel-model__features-title,
  #mr3000 .p-restel-model__features-row:nth-of-type(3) {
    transform: none;
  }

  .p-restel-model__features-row {
    flex-direction: column;
    gap: 20px;
  }

  .p-restel-model__features-static {
    flex: none;
    width: 100%;
  }

  .p-restel-model__features-static img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .p-restel-model__features-text {
    font-size: 12px;
    line-height: 1.8;
    transform: none;
  }

  .p-restel-model__features-text--tight {
    white-space: normal;
    letter-spacing: -1px;
  }

  .p-restel-model__gallery {
    flex: none;
    width: 100%;
  }

  .p-restel-model__gallery-main {
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 410;
  }

  .p-restel-model__gallery-thumbs li {
    flex: 1 1 0;
    width: auto;
    height: auto;
    aspect-ratio: 92 / 76;
  }

  /* --- model：life stages（円アイコン4つ） --- */
  .p-restel-model__lifestage,
  #mr3000 .p-restel-model__lifestage {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .p-restel-model__lifestage-label {
    font-size: 14px;
    margin-bottom: 20px;
    transform: none;
  }

  .p-restel-model__lifestage-list {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    justify-content: center;
    gap: 20px 24px;
    transform: none;
  }

  .p-restel-model__lifestage-list li {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    font-size: 14px;
    line-height: 1.5;
  }

  /* --- model：closing（まとめ文） --- */
  .p-restel-model__closing-heading {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    transform: none;
  }

  .p-restel-model__closing-lead {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 30px;
    transform: none;
  }

  /* --- model：banner（ライフステージ導線） --- */
  .p-restel-model__banner-label {
    font-size: 12px;
    margin-bottom: 12px;
    transform: none;
  }

  .p-restel-model__banner-arrow {
    width: 26px;
    height: 26px;
    font-size: 14px;
    transform: translate(-2px, -3px);
  }

  .p-restel-model__banner-label-main {
    font-size: 16px;
    line-height: 1.6;
  }

  .p-restel-model__banner-label-sub {
    font-size: 12px;
    line-height: 1.6;
    transform: none;
  }

  .p-restel-model__banner {
    flex-direction: column;
    transform: none;
  }

  .p-restel-model__banner-img {
    flex: none;
    width: 100%;
  }

  .p-restel-model__banner-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 584 / 237;
  }

  .p-restel-model__banner-text {
    font-size: 20px;
    line-height: 1.6;
    padding: 24px 16px;
  }

  .p-restel-model__banner-text .c-btn-outline {
    width: 175px;
    height: 26px;
    font-size: 13px;
    line-height: 26px;
    transform: translateY(-10px);
  }
}

