@charset "UTF-8";
/* Foundation：ビルド不要。XDの数値は16px基準のremへ換算する。 */
:root {
  color-scheme: dark;
  --color-text: #fff;
  --color-background: #000;
  --color-red: #cb0011;
  --color-green: #a3ffd6;
  --color-light: #f3fefc;
  --color-news: #cfe8e4;
  --color-muted: #888;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-heading: "Noto Serif JP", "Noto Serif CJK JP", "Yu Mincho", serif;
  --font-english: "Montserrat", sans-serif;
  --inner-width: 75rem;
  --inner-padding: clamp(2rem, 8.333vw, 7.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-reference: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-photo: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 5.625rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  /* 背景スクロールの停止中も幅を保ち、本文・固定ヘッダーの横揺れを防ぐ。 */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

body.is-overlay-open {
  overflow: hidden;
}

html.is-overlay-open {
  /* ダイアログのフォーカス移動・復帰をページのスムーズスクロールから分離。 */
  scroll-behavior: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 5px;
}

:root.is-pointer-input :focus-visible {
  outline: none;
}

[hidden] {
  display: none !important;
}

.l-inner {
  width: calc(100% - var(--inner-padding) * 2);
  max-width: var(--inner-width);
  margin-inline: auto;
}

.c-social {
  display: block;
  width: 1.5rem;
  aspect-ratio: 1;
}

.c-button {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center start;
  width: 17.0625rem;
  max-width: 100%;
  min-height: 3.125rem;
  padding: 0.75rem 3.625rem 0.75rem 1.5625rem;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-english);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.c-button::after,
.c-button--all::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3.125rem;
  background: #79000a url("../img/button-pattern.svg") center / cover
    no-repeat;
  transition: background-color 0.3s;
}

.c-button--all {
  place-items: center;
  padding-inline: 3.125rem;
}

.c-button--all::before {
  right: auto;
  left: 0;
}

.c-button--all span {
  white-space: nowrap;
}

/* 支給の2倍PNGを等比表示。通常画像の上にhover画像を重ねる。 */
.c-shop-link {
  display: grid;
  width: 100%;
  max-width: 15.3125rem;
  line-height: 0;
}

.c-shop-link__image {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
}

.c-shop-link__image--hover {
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.c-shop-link:focus-visible .c-shop-link__image--hover {
  opacity: 1;
}

@media (any-hover: hover) {
  .c-button:hover {
    background: var(--color-green);
    color: #888;
  }

  .c-button:hover::after,
  .c-button--all:hover::before {
    background-color: var(--color-green);
  }

  .c-social:hover {
    opacity: 0.75;
  }

  .c-shop-link:hover .c-shop-link__image--hover {
    opacity: 1;
  }
}

.c-close {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.c-close::before,
.c-close::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1.125rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.c-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* M-01・02：固定ヘッダーとSPメニュー。 */
.l-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 1.5rem clamp(1rem, 3.472222vw, 3.125rem) 1.5rem
    clamp(1rem, 3.333333vw, 3rem);
  transition:
    background-color 0.4s,
    min-height 0.4s,
    padding-top 0.4s,
    padding-bottom 0.4s,
    transform 0.45s var(--ease-out);
}

.l-header.is-solid {
  min-height: 4.375rem;
  padding-block: 1rem;
  background: rgb(0 0 0 / 0.82);
  backdrop-filter: blur(8px);
}

.l-header__logo {
  flex: 0 1 15.88671875rem;
  /* XDのロゴ上端31px。ナビの中心とは3.5pxずらして配置する。 */
  translate: 0 0.21875rem;
}

.l-header.is-solid .l-header__logo {
  translate: 0;
}

.l-header__logo img {
  width: 100%;
}

.l-header__navigation {
  display: flex;
  align-items: center;
  /* BUY項目削除後も、残るナビゲーションの間隔を揃える。 */
  gap: clamp(1rem, 3.75vw, 3.375rem);
  margin-left: 2rem;
  font-family: var(--font-english);
  font-size: clamp(0.8125rem, 1.25vw, 1.125rem);
  font-weight: 600;
  line-height: 1.3;
}

.l-header__navigation > .c-social {
  margin-left: -0.25rem;
}

.l-header__navigation > a:not(.c-social) {
  padding-block: 0.5rem;
}

.l-header__menu-button {
  position: relative;
  display: none;
  width: 2.5rem;
  height: 2.5rem;
}

.l-header__menu-button span,
.p-menu__toggle span {
  position: absolute;
  top: calc(50% - 10px);
  left: 0.5px;
  width: calc(100% - 1px);
  height: 1px;
  background: #fff;
}

.l-header__menu-button span:nth-child(2) {
  top: calc(50% - 5px);
}
.l-header__menu-button span:nth-child(3) {
  top: 50%;
}
.l-header__menu-button span:nth-child(4) {
  top: calc(50% + 5px);
}
.l-header__menu-button span:nth-child(5) {
  top: calc(50% + 10px);
}

.p-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: #000;
  color: #fff;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.p-menu::backdrop {
  background: #000;
}

.p-menu[open] {
  animation: menu-appear 0.3s var(--ease-out);
}

.p-menu__header {
  position: absolute;
  inset: 1rem 1rem auto;
  /* 開いた状態もXDのロゴ上端14pxに合わせる。 */
  translate: 0 -0.28125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 通常ヘッダーの右余白21px（メニュー外側16px＋内側5px）に揃える。 */
  padding-right: 0.3125rem;
}

.p-menu__header a {
  width: min(15.8866875rem, calc(100% - 3.5rem));
}

.p-menu__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  min-height: 100%;
  /* 画面全体の中央に配置し、低い画面でもヘッダーとの余白を確保する。 */
  padding-block: 4rem;
}

.p-menu__navigation {
  text-align: center;
  font-family: var(--font-english);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.p-menu__navigation a {
  display: block;
  width: fit-content;
  padding: 0.5rem;
  margin-inline: auto;
}

.p-menu__navigation a + a {
  margin-top: 2.5rem;
}

.p-menu__social {
  flex-shrink: 0;
}

@keyframes menu-appear {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* FV：PCは1440×810、SPは写真375×500＋ブランドブロックを通常フローで組む。 */
.p-hero {
  position: relative;
  isolation: isolate;
  min-height: 50.625rem;
}

.p-hero__photo {
  position: absolute;
  z-index: -1;
  inset: 0;
}

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

.p-hero__inner {
  padding-top: 8.5625rem;
  padding-bottom: 4rem;
}

.p-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4722vw, 3.125rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.p-hero__title span {
  color: var(--color-red);
}

.p-hero__benefits {
  margin-top: 1.6875rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.p-hero__benefits li {
  display: flex;
  align-items: center;
}

.p-hero__benefits li::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.9375rem;
  background: url("../img/icon-bekkan.svg") center / contain no-repeat;
  flex-shrink: 0;
}

.p-hero__benefits li + li {
  margin-top: 1.1875rem;
}

.p-hero__brand {
  width: 25.4375rem;
  max-width: 100%;
  margin-top: 3.625rem;
}

.p-hero__classification {
  display: flex;
  align-items: center;
  width: fit-content;
  height: 1.75rem;
  padding: 0.125rem 0.5rem;
  border: 1px solid #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-hero__lockup {
  width: 100%;
  margin-top: 1.1875rem;
}

.p-hero__recovery {
  width: 20rem;
  max-width: 100%;
  margin-top: 1.5rem;
  margin-left: -0.46875rem;
  font-family: var(--font-english);
  font-size: 2.0625rem;
  font-weight: 300;
  line-height: 2.709375rem;
  letter-spacing: normal;
  white-space: nowrap;
  text-align: center;
}

.p-hero__collaboration {
  display: flex;
  /* XDはロゴと英字の下端を揃え、RECOVERY WEARの行ボックスと少し重ねる。 */
  align-items: flex-end;
  width: 18.5rem;
  max-width: 100%;
  margin-top: -0.1875rem;
  margin-left: 0.4rem;
}

.p-hero__collaboration span {
  flex-shrink: 0;
  font-family: var(--font-english);
  font-size: 0.575rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.p-hero__collaboration img {
  display: block;
  flex-shrink: 0;
  width: 5.2355rem;
  height: auto;
  margin-left: 1rem;
}

.p-hero__copyright {
  width: 3.63rem;
  margin-top: 2.25rem;
  margin-left: 0.4rem;
}

/* M-04／MTG：赤地に黒文字を基本とし、白い光が文字の一部を順に回復させる。 */
.p-marquee {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 3.125rem;
  background: var(--color-red);
}

.p-marquee__track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.p-marquee__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  font-family: var(--font-english);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.p-marquee__group > span {
  padding-right: 2.625rem;
  color: transparent;
  background-image: linear-gradient(
    105deg,
    #090909 38%,
    #fff 49%,
    #fff 51%,
    #090909 62%
  );
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: marquee-recover 12s ease-in-out infinite;
}

.p-marquee__group > span:nth-child(2) {
  animation-delay: -3s;
}

.p-marquee__group > span:nth-child(3) {
  animation-delay: -6s;
}

.p-marquee__group > span:nth-child(4) {
  animation-delay: -9s;
}

.p-marquee.is-paused .p-marquee__track,
.p-marquee.is-paused .p-marquee__group > span {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-recover {
  0%,
  15% {
    background-position: 100% 0;
  }
  85%,
  100% {
    background-position: 0% 0;
  }
}

/* Closing／Footer */
.p-closing {
  position: relative;
  isolation: isolate;
  min-height: 31.25rem;
}

.p-closing__photo {
  position: absolute;
  z-index: -2;
  inset: 0;
}

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

.p-closing::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(0 0 0 / 0.4);
}

.p-closing__inner {
  padding-top: 5rem;
  padding-bottom: 4.75rem;
  text-align: center;
}

.p-closing__label {
  color: var(--color-red);
  font-family: var(--font-english);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.p-closing__label::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 6.25rem;
  height: 1px;
  margin-right: 1.0625rem;
  background: currentColor;
}

.p-closing__title {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.p-closing .c-button {
  margin: 78px auto 0;
}

.p-closing__social {
  margin: 3.4375rem auto 0;
}

.l-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3.125rem 1rem;
  border-bottom: 2px solid var(--color-red);
}

.l-footer__logo {
  width: 15.90625rem;
}

.l-footer__copyright {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 0.35rem;
  margin-left: 2rem;
  font-size: 0.75rem;
  line-height: 2;
  text-align: right;
}

.l-footer__credit-logo {
  flex-shrink: 0;
  width: 2.3144375rem;
}

.c-buy {
  position: fixed;
  z-index: 10;
  right: clamp(1rem, 3.47vw, 3.125rem);
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 9.375rem;
  aspect-ratio: 1;
  border: 2px dashed currentColor;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.18);
  color: var(--color-red);
  font-family: var(--font-english);
  font-size: 1.3125rem;
  font-weight: 600;
}

.c-buy.is-green {
  color: var(--color-green);
}

.c-link-notice {
  position: fixed;
  z-index: 50;
  bottom: 1.5rem;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1.25rem;
  border: 1px solid #888;
  background: #111;
  color: #fff;
  transform: translateX(-50%);
}

@media (max-width: 48rem) {
  :root {
    --inner-padding: 2rem;
    --header-height: 3.9375rem;
  }

  .l-inner--wide {
    width: calc(100% - 2rem);
  }

  .l-header {
    /* XDの5本線は375px幅でx314.5、y21.5から配置。 */
    padding: 0.71875rem 1.3125rem 0.71875rem 1rem;
  }

  .l-header.is-solid {
    min-height: 3.5rem;
    padding-block: 0.5rem;
  }

  .l-header__logo {
    flex-basis: min(15.88671875rem, calc(100% - 3.5rem));
    translate: 0;
  }

  .l-header__navigation {
    display: none;
  }

  .l-header__menu-button:not([hidden]) {
    display: block;
  }

  .p-hero {
    min-height: 0;
  }

  .p-hero__photo {
    inset: 0 0 auto;
    height: auto;
    aspect-ratio: 375 / 500;
  }

  .p-hero__inner {
    width: calc(100% - 3.75rem);
    padding-top: 68px;
    padding-bottom: 3.125rem;
  }

  .p-hero__title {
    font-size: clamp(1.5rem, 8vw, 1.875rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  .p-hero__benefits {
    margin-top: calc(66.6667% + 1.875rem);
    font-size: 0.9375rem;
    line-height: 1.4;
  }

  .p-hero__benefits li::before {
    width: 1rem;
    height: 1rem;
    margin-right: 0.75rem;
  }

  .p-hero__benefits li + li {
    margin-top: 0.875rem;
  }

  .p-hero__brand {
    width: 100%;
    margin-top: 3.625rem;
  }

  .p-hero__classification {
    height: 1.34375rem;
    padding: 0.125rem 0.4375rem;
    font-size: 0.625rem;
  }

  .p-hero__lockup {
    width: 99.2817%;
    margin-top: 0.9375rem;
  }

  .p-hero__recovery {
    width: calc(100% + 0.3125rem);
    max-width: none;
    margin-top: 0.5rem;
    margin-left: -0.15625rem;
    font-size: clamp(1.625rem, 8.8vw, 2.0625rem);
  }

  .p-hero__collaboration {
    width: 100%;
    margin-top: -0.1875rem;
    margin-left: 0.7135rem;
  }

  .p-hero__collaboration span {
    font-size: clamp(0.4375rem, 2.45vw, 0.575rem);
  }

  .p-hero__collaboration img {
    width: 26.5935%;
    max-width: 5.2355rem;
  }

  .p-hero__copyright {
    width: 2.8125rem;
    margin-top: 1.125rem;
    margin-left: 0.625rem;
  }

  .p-closing {
    min-height: 23.4375rem;
  }

  .p-closing__inner {
    padding-top: 2.9375rem;
    padding-bottom: 2.375rem;
    text-align: left;
  }

  .p-closing__label {
    max-width: 14rem;
  }

  .p-closing__label::before {
    display: block;
    width: 4.6875rem;
    margin: 0 0 1.375rem;
  }

  .p-closing__label span {
    display: block;
  }

  .p-closing__title {
    margin-top: 1.25rem;
    font-size: 1.1875rem;
    line-height: 1.474;
  }

  .p-closing .c-button {
    margin-top: 2.375rem;
  }

  .p-closing__social {
    margin-top: 2rem;
  }

  .l-footer {
    display: block;
    padding: 1.25rem 0 1.4375rem;
    border-bottom: 0;
  }

  .l-footer > a {
    display: block;
    padding-bottom: 1.5625rem;
    border-bottom: 2px solid var(--color-red);
  }

  .l-footer__logo {
    margin-inline: auto;
  }

  .l-footer__copyright {
    justify-content: center;
    padding-inline: 1rem;
    margin: 1.75rem 0 0;
    font-size: 0.75rem;
    text-align: center;
  }

  .c-buy {
    right: 1rem;
    width: 5.8125rem;
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .p-marquee__group > span {
    color: #fff;
  }
}

/* 共通見出し・本文・スライダー */
.u-red {
  color: var(--color-red);
}

.c-section-label {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  font-family: var(--font-english);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.222222;
}

.c-section-label__number {
  flex-shrink: 0;
}

.c-section-label__line {
  flex: 0 0 6.25rem;
  height: 1px;
  margin-inline: 0.9375rem;
  background: var(--color-red);
}

.c-section-label__text {
  color: var(--color-red);
}

.c-body {
  font-size: 0.8125rem;
  line-height: 1.846;
  letter-spacing: 0.01em;
}

.c-body p + p {
  margin-top: 1.5rem;
}

.c-slider {
  --indicator-width: 1.875rem;
  --indicator-gap: 0.625rem;
  --indicator-height: 3px;
  --indicator-bottom: 1.03125rem;
  position: relative;
  min-width: 0;
}

.c-slider__viewport {
  position: relative;
  aspect-ratio: 600 / 446;
  overflow: hidden;
}

.c-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-slider.is-ready .c-slider__image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.4s ease;
}

.c-slider.is-ready .c-slider__image.is-active {
  z-index: 1;
  opacity: 1;
}

.c-slider__controls {
  position: absolute;
  z-index: 2;
  inset: auto 0.5rem calc(var(--indicator-bottom) - 0.875rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-slider__pagination {
  display: flex;
  align-items: center;
}

.c-slider__dot {
  position: relative;
  display: grid;
  align-items: center;
  width: calc(var(--indicator-width) + var(--indicator-gap));
  min-height: 1.75rem;
  padding-inline: calc(var(--indicator-gap) / 2);
}

.c-slider__dot::before {
  content: "";
  height: var(--indicator-height);
  background: #fff;
}

.c-slider__progress {
  position: absolute;
  top: calc(50% - var(--indicator-height) / 2);
  right: calc(var(--indicator-gap) / 2);
  left: calc(var(--indicator-gap) / 2);
  height: var(--indicator-height);
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
}

.c-slider__dot.is-done .c-slider__progress {
  transform: scaleX(1);
}

/* 01 / 02：本文は通常フロー、写真と円の重なりだけ局所的に配置。 */
.p-concept-recovery {
  position: relative;
  isolation: isolate;
  /* 修正依頼：赤帯から01までを、F写真から05までと同じ間隔にする。 */
  padding-top: 8.6875rem;
}

.p-concept-recovery::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("../img/background-concept-pc.webp") center / cover
    no-repeat;
  opacity: 0.795337;
}

.p-concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.p-concept__content {
  padding-right: 3.125rem;
}

.p-concept__catch {
  display: flex;
  align-items: center;
  margin-top: 2.625rem;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.083vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.p-concept__catch::before {
  content: "";
  width: 5rem;
  height: 1px;
  margin-right: 0.5rem;
  background: currentColor;
  flex-shrink: 0;
}

.p-concept__title {
  margin-top: 3.875rem;
  font-family: var(--font-heading);
  /* JSONの単一fontSizeだけでは失われる大小を、対応PNGの実寸で補う。 */
  font-size: 2rem;
  font-weight: 500;
  line-height: 2.25rem;
  letter-spacing: 0.02em;
}

.p-concept__title small {
  font-size: 1.5rem;
  line-height: 1;
}

.p-concept__body {
  max-width: 28.125rem;
  margin-top: 1.625rem;
}

.p-concept__photos {
  position: relative;
  padding-top: 3.875rem;
}

.p-concept__pocket {
  position: absolute;
  width: 30%;
  z-index: 3;
  bottom: -3.9375rem;
  left: -15%;
  box-shadow: 0 0 1.25rem rgb(255 255 255 / 0.3);
}

.p-recovery {
  display: grid;
  grid-template-columns: 5fr 7fr;
  margin-top: 5.375rem;
  padding-bottom: 7.125rem;
}

.p-recovery__signature {
  padding-top: 1.5625rem;
}

.p-recovery__mark {
  width: 9.375rem;
  margin-left: 30%;
}

.p-recovery__poem {
  margin-top: 7.875rem;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.945vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  width: calc(100% - 3.4375rem);
  margin-left: 3.4375rem;
  text-align: left;
}

.p-recovery__programs {
  position: relative;
}

.p-recovery__heading {
  position: absolute;
  top: 14.9375rem;
  left: 36%;
  width: 75%;
}

.p-recovery__lead {
  margin-top: 2.625rem;
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.667vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.p-recovery__title {
  margin-top: 0.875rem;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.222vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.p-recovery__circles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 28.5rem;
  column-gap: 3.25rem;
}

.p-recovery__circle {
  min-width: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  background: #070000;
  border-radius: 50%;
  box-shadow: 0 0 1rem rgb(255 255 255 / 0.65);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.292;
  letter-spacing: 0.02em;
  text-align: center;
}

.p-recovery__circle::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 25%;
  background: url("../img/mark-recovery.svg") center / contain no-repeat;
}

.p-recovery__circle:nth-child(1) {
  grid-column: 2;
}

.p-recovery__circle:nth-child(2) {
  grid-column: 1;
  margin-top: -48%;
}

.p-recovery__circle:nth-child(3) {
  grid-column: 1;
  margin-top: 30%;
}

.p-recovery__circle:nth-child(4) {
  grid-column: 2;
  margin-top: 75%;
}

.p-model {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 7fr;
  padding-bottom: 8.25rem;
  margin-top: -7rem;
}

.p-model__pair {
  width: 90%;
}

.p-model__note {
  padding-top: 8.5rem;
  padding-left: 7%;
  font-size: 0.8125rem;
  line-height: 1.846;
  letter-spacing: 0.01em;
}

.p-model__detail {
  grid-column: 2;
  width: 49.57%;
  margin-top: -9.25rem;
  margin-left: 7.5%;
}

@media (max-width: 64rem) and (min-width: 48.001rem) {
  .c-section-label {
    font-size: 0.875rem;
  }

  .c-section-label__line {
    flex-basis: 4rem;
    margin-inline: 0.625rem;
  }

  .p-concept__catch::before {
    width: 2rem;
  }

  .p-recovery__heading {
    left: 36%;
  }

  .p-recovery__circle {
    font-size: 1.125rem;
  }
}

@media (max-width: 48rem) {
  .c-section-label__line {
    flex-basis: 4.6875rem;
    margin-inline: 0.8125rem;
  }

  .p-concept-recovery {
    padding-top: 5rem;
  }

  .p-concept-recovery::before {
    /* XDでは下段の円が赤背景から黒背景へはみ出す。 */
    bottom: 7.125rem;
    background-image: url("../img/background-concept-sp.webp");
  }

  .p-concept {
    container-type: inline-size;
    display: block;
  }

  .p-concept__content {
    padding-right: 0;
  }

  .p-concept__catch {
    margin-top: 2.0625rem;
    /* 311pxの本文幅で20px。スクロールバーを含めない幅に追従する。 */
    font-size: clamp(0.9375rem, 6.430868cqi, 1.25rem);
  }

  .p-concept__catch::before {
    width: 2.75rem;
    margin-right: 0.25rem;
  }

  .p-concept__title {
    margin-top: 2.5rem;
    font-size: 1.1875rem;
    line-height: 1.4375rem;
  }

  .p-concept__title small {
    font-size: 0.9375rem;
  }

  .p-concept__body {
    margin-top: 1.25rem;
  }

  .p-concept__photos {
    padding-top: 0;
    margin-top: 2.5rem;
  }

  .p-concept__photos > .c-slider {
    margin-inline: -1rem;
  }

  .p-concept__pocket {
    position: static;
    width: 6.875rem;
    margin: 2.5rem 0 0 1.5rem;
    box-shadow: none;
  }

  .p-recovery {
    display: block;
    padding-bottom: 3.125rem;
    margin-top: 0;
  }

  .p-recovery__signature {
    position: relative;
    padding-top: 0;
  }

  .p-recovery__mark {
    position: absolute;
    top: -6.875rem;
    right: 1.5rem;
    width: 6.875rem;
    margin-left: 0;
  }

  .p-recovery__poem {
    width: auto;
    margin-left: 0;
    text-align: center;
    padding-top: 3.125rem;
    margin-top: 0;
    font-size: 1.1875rem;
    line-height: 1.474;
  }

  .p-recovery__programs {
    margin-top: 4.625rem;
  }

  .p-recovery__heading {
    position: static;
    width: auto;
  }

  .p-recovery__lead {
    margin-top: 1.875rem;
    font-size: 0.9375rem;
  }

  .p-recovery__title {
    margin-top: 0.3125rem;
    font-size: 1.1875rem;
    white-space: normal;
  }

  .p-recovery__circles {
    column-gap: 0.625rem;
    row-gap: 0.625rem;
    margin-top: 2.5rem;
  }

  .p-recovery__circle {
    font-size: 1.125rem;
  }

  .p-recovery__circle:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }

  .p-recovery__circle:nth-child(n + 3) {
    font-size: 1.0625rem;
  }

  .p-model {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding-bottom: 5rem;
    margin-top: 0;
  }

  .p-model__pair {
    width: 100%;
  }

  .p-model__note {
    padding-top: 0;
    padding-left: 0.6875rem;
    font-size: 0.625rem;
    line-height: 2;
  }

  .p-model__detail {
    width: 74.133%;
    margin-top: -4.375rem;
    margin-left: auto;
  }
}

/* 03：テキストは通常フロー、写真と機能の円はXDのコラージュを局所的に再現する。 */
.p-technology {
  position: relative;
  min-height: 35.8125rem;
}

.p-technology__content {
  max-width: 44%;
}

.p-technology__title {
  margin-top: 2.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.222vw, 2rem);
  font-weight: 500;
  line-height: 1.3125;
  letter-spacing: 0.02em;
}

.p-technology__body {
  max-width: 28.125rem;
  margin-top: 2rem;
}

.p-technology__feature {
  position: absolute;
  display: block;
  width: 16.75%;
  text-align: center;
  /* JSONの書体名と対応PNGに差があるため、このキャプションはPNGのゴシック体を優先。 */
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9375;
  letter-spacing: 0.02em;
}

.p-technology__feature--fiber {
  top: 4.09375rem;
  left: 48.333%;
}

.p-technology__feature--infrared {
  top: 17.40625rem;
  left: 29.167%;
}

.p-technology__circle {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  /* 影なしの支給画像に、XD指定の白・ぼかし20px・オフセット0をCSSで付ける。 */
  box-shadow: 0 0 1.25rem #fff;
  transition: box-shadow 0.3s;
}

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

.p-technology__feature > span + span {
  display: block;
  margin-top: 1.125rem;
}

.p-technology__slider {
  position: absolute;
  top: 10.8125rem;
  right: 0;
  width: 25%;
}

.p-technology__slider .c-slider__viewport {
  aspect-ratio: 3 / 4;
}

/* 04 / 05 */
.p-gimmick {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: end;
  column-gap: 8.333%;
  margin-top: 9.875rem;
}

.p-gimmick__content {
  margin-bottom: 0.625rem;
}

.p-gimmick__frame {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
}

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

.p-gimmick__lead {
  margin-top: 2.625rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.p-gimmick__title {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.p-gimmick__body {
  max-width: 28.125rem;
  margin-top: 1.875rem;
}

.p-function {
  margin-top: 8.6875rem;
}

.p-function__title {
  margin-top: 2.625rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3125;
  letter-spacing: 0.02em;
}

.p-function__title span {
  margin-left: 1em;
}

.p-function__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.5%;
  margin-top: 2.75rem;
}

.p-function__icon {
  width: auto;
  height: 3.375rem;
}

.p-function__name {
  margin-top: 1.5625rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.p-function__text {
  margin-top: 0.75rem;
}

.p-look {
  position: relative;
  z-index: 1;
  margin-top: 11.6875rem;
}

.p-look__main {
  width: 67.917%;
  margin-inline: auto;
}

.p-look__main .c-slider__viewport {
  aspect-ratio: 815 / 611;
}

.p-look__collage {
  position: relative;
  min-height: 48.375rem;
  margin-top: 11.9375rem;
}

.p-look__side {
  width: 23.167%;
}

.p-look__side .c-slider__viewport {
  aspect-ratio: 278 / 370;
}

.p-look__mark {
  position: absolute;
  top: 4.4375rem;
  left: 37.083%;
  width: 150px;
}

.p-look__detail {
  position: absolute;
  top: 27.625rem;
  left: 18.75%;
  width: 18.333%;
}

.p-look__pair {
  position: absolute;
  top: 15.6875rem;
  right: 4.083%;
  width: 32.667%;
}

@media (max-width: 64rem) and (min-width: 48.001rem) {
  .p-technology__feature {
    font-size: 0.8125rem;
  }

  .p-gimmick__lead {
    font-size: 1.125rem;
  }

  .p-gimmick__title,
  .p-function__title {
    font-size: 1.5rem;
  }

  .p-function__name {
    font-size: 1.125rem;
  }
}

@media (max-width: 48rem) {
  .p-technology {
    min-height: 0;
  }

  .p-technology__content {
    max-width: none;
  }

  .p-technology__title {
    margin-top: 2.625rem;
    font-size: 1.1875rem;
    line-height: 1.474;
  }

  .p-technology__body {
    margin-top: 0.75rem;
  }

  .p-technology__media {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    margin-top: 1.8125rem;
  }

  .p-technology__feature {
    position: static;
    width: calc((100% - 1.125rem) / 2);
    font-size: 0.8125rem;
    line-height: 1.307692;
  }

  .p-technology__feature--fiber {
    order: 2;
  }

  .p-technology__feature--infrared {
    order: 1;
  }

  .p-technology__slider {
    position: relative;
    top: auto;
    right: auto;
    order: 3;
    width: 13.75rem;
    max-width: 100%;
    /* キャプションの行高をXDの17pxへ揃えた分、写真との間隔を補正。 */
    margin: 3.28125rem auto 0;
  }

  .p-gimmick {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 5rem;
  }

  .p-gimmick__content {
    order: -1;
    margin-bottom: 0;
  }

  .p-gimmick__lead {
    margin-top: 2.625rem;
    font-size: 0.9375rem;
  }

  .p-gimmick__title {
    margin-top: 0.3125rem;
    font-size: 1.1875rem;
  }

  .p-gimmick__body {
    margin-top: 0.75rem;
  }

  .p-gimmick__frame {
    margin-top: 2.5rem;
  }

  .p-function {
    margin-top: 5rem;
  }

  .p-function__title {
    margin-top: 2.625rem;
    font-size: 1.1875rem;
    line-height: 1.474;
  }

  .p-function__title span {
    display: block;
    margin-left: 0;
  }

  .p-function__list {
    display: block;
    margin-top: 2.25rem;
  }

  .p-function__item {
    display: grid;
    grid-template-columns: 36% 1fr;
    column-gap: 5%;
    align-items: center;
  }

  .p-function__item + .p-function__item {
    margin-top: 2.5rem;
  }

  .p-function__icon {
    justify-self: center;
    width: auto;
    height: 3.375rem;
  }

  .p-function__name {
    grid-column: 1;
    margin-top: 0.75rem;
    font-size: 1.1875rem;
    line-height: 1.894737;
    text-align: center;
    white-space: nowrap;
  }

  .p-function__text {
    align-self: end;
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
    /* 短い機能説明は行の長さを整え、末尾の1文字だけが残る折り返しを抑える。 */
    text-wrap: balance;
  }

  .p-look {
    width: 100%;
    margin-top: 3.75rem;
  }

  .p-look__main {
    width: calc(100% - 2rem);
  }

  .p-look__collage {
    min-height: 0;
    padding-top: 10rem;
    margin-top: 2.5rem;
  }

  .p-look__mark {
    top: 0;
    left: 50%;
    width: 120px;
    translate: -50% 0;
  }

  .p-look__side {
    width: 66.667%;
    margin-left: 1rem;
  }

  .p-look__detail {
    position: static;
    width: 58.667%;
    margin-top: 2.5rem;
    margin-left: auto;
  }

  .p-look__pair {
    position: static;
    width: 70.933%;
    margin-top: 0.625rem;
  }
}

/* 06：番号は追加参考画像の06-1／06-2に統一。赤線はPC100px／SP75pxを維持。 */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* XDのグラデーションはLOOK途中からROOM途中まで。背景だけを前後へ延ばす。 */
.p-transition {
  --gradient-overlap: 28.3125rem;
  /* 砂丘帯を同じ重なり階層へ入れた分、背景の終端を元の位置に保つ。 */
  --gradient-tail: 20.3125rem;
  position: relative;
  isolation: isolate;
  padding-top: 15.875rem;
  background: var(--color-light);
}

.p-transition::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--gradient-overlap)) 0 var(--gradient-tail);
  background: linear-gradient(
    #000 0%,
    #000 33.4975%,
    #767e7a 71.4286%,
    #f4fffd 100%
  );
}

.p-product {
  display: grid;
  /* 写真の5/12幅を保ち、中央gapは1200px枠で60pxを確保する。 */
  grid-template-columns: 5fr 0.6fr 6.4fr;
  grid-template-areas: "photo . heading" "photo . body" ". . spec";
  grid-template-rows: min-content 1fr auto;
  align-items: start;
}

.p-product__heading {
  grid-area: heading;
}

.p-product__photo {
  grid-area: photo;
}

.p-product__photo .c-slider__viewport {
  aspect-ratio: 1;
}

.p-product__name {
  margin-top: 2.375rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.125;
  letter-spacing: 0.02em;
}

.p-product__name small {
  display: block;
  font-size: 1.25rem;
  line-height: 1.3;
}

.p-product__english {
  margin-top: 18px;
  color: var(--color-red);
  font-family: var(--font-english);
  font-size: clamp(0.875rem, 1.667vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.p-product__body {
  grid-area: body;
  container: product-body / inline-size;
  margin-top: 1.625rem;
}

@media (min-width: 48.001rem) {
  .p-product--wear .p-product__body {
    /* 写真より説明が高くなる幅でも、購入ボタンとSPECの間に最低40pxを確保。 */
    padding-bottom: 2.5rem;
  }
}

.p-product__description {
  max-width: 26.1875rem;
}

.p-product__price {
  margin-top: 15px;
  font-family: var(--font-english);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.p-product__price small {
  margin-left: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
}

.p-product__size-guide {
  display: flex;
  align-items: center;
  max-width: 100%;
  margin-top: 25px;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: left;
}

.p-product__size-guide > img:first-child {
  width: 1.25rem;
  margin-right: 0.9375rem;
}

.p-product__size-guide > img:last-child {
  width: 1.125rem;
  margin-left: 0.9375rem;
}

.p-spec {
  grid-area: spec;
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: start;
  margin-top: 0;
}

.p-spec__label {
  display: flex;
  align-items: center;
  color: var(--color-red);
  font-family: var(--font-english);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.230769;
}

.p-spec__label::before {
  content: "";
  width: 3.125rem;
  height: 1px;
  margin-right: 0.9375rem;
  background: currentColor;
}

.p-spec__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.75rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.p-spec__table th,
.p-spec__table td {
  padding: 0.5625rem 0.9375rem;
  border: 1px solid #888;
  font-weight: 400;
  text-align: left;
  overflow-wrap: anywhere;
}

.p-spec__term {
  width: 28.5%;
}

.p-spec__table th {
  color: var(--color-muted);
  font-weight: 500;
}

.p-product__shops {
  display: grid;
  grid-template-columns: minmax(0, 15.3125rem);
  gap: 0.9375rem;
  margin-top: 2.5rem;
}

/* 最小表示幅を約163pxに保ち、狭い購入欄でもすぐ1列にしない。 */
@container product-body (min-width: 21rem) {
  .p-product__shops {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }
}

@container product-body (min-width: 32rem) {
  .p-product__shops {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.p-room {
  position: relative;
  z-index: 1;
  min-height: 91.4375rem;
  margin-top: 0;
}

.p-room__sleep {
  position: relative;
  width: 23.833%;
  margin-left: 0.833%;
}

.p-room__a {
  position: absolute;
  /* 追加の購入先ボタンから写真までは、支給デザインに合わせて55px空ける。 */
  top: 3.4375rem;
  left: 54%;
  width: 37.917%;
}

.p-room__a .c-slider__viewport {
  aspect-ratio: 455 / 341;
}

.p-room__b {
  position: absolute;
  top: 24.0625rem;
  left: 8.417%;
  width: 38.167%;
}

.p-room__b .c-slider__viewport {
  aspect-ratio: 458 / 610;
}

.p-room__wake {
  position: absolute;
  top: 45.25rem;
  left: 64.083%;
  width: 31.75%;
  aspect-ratio: 381 / 286;
}

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

.p-room__rest {
  position: absolute;
  top: 67.375rem;
  left: 18.417%;
  width: 24.083%;
}

.p-dunes {
  position: relative;
  height: 20rem;
  margin-top: -9rem;
  background: #333 url("../img/background-dunes.webp") center / cover
    no-repeat;
}

.p-mask {
  padding-block: 6.875rem 8rem;
  background: var(--color-light);
  color: #444;
}

.p-mask .c-section-label__number {
  color: #000;
}

.p-product--mask {
  /* 写真の3.7/12幅を保ち、情報カラムはウェアと同じ6.4/12幅。 */
  grid-template-columns: 6.4fr 1.9fr 3.7fr;
  grid-template-areas: "heading . photo" "body . photo";
}

.p-product--mask .p-product__name {
  margin-top: 3rem;
}

.p-product--mask .p-product__shops {
  margin-top: 1.5rem;
}

.p-news {
  padding-block: 3.4375rem 6.25rem;
  background: var(--color-news);
  color: #444;
}

.p-news__title {
  display: flex;
  align-items: center;
  color: var(--color-red);
  font-family: var(--font-english);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.222222;
}

.p-news__title::before {
  content: "";
  width: 6.25rem;
  height: 1px;
  margin-right: 1.125rem;
  background: currentColor;
}

.p-news__item {
  display: grid;
  grid-template-columns: 5.625rem 1.875rem 11.25rem 2.40625rem minmax(0, 1fr);
  width: calc(100% - 7.34375rem);
  max-width: 58.28125rem;
  margin: 4.875rem auto 0 7.34375rem;
}

.p-news__item + .p-news__item {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-red);
}

.p-news__date {
  grid-column: 1;
  color: var(--color-red);
  font-family: var(--font-english);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.p-news__photo {
  grid-column: 3;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.p-news__body {
  grid-column: 5;
}

.p-news__heading {
  color: var(--color-red);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.846;
}

.p-news__text {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.846;
}

.p-news__link {
  display: block;
  width: fit-content;
  margin-left: auto;
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 64rem) and (min-width: 48.001rem) {
  .p-product__name {
    font-size: 1.5rem;
  }

  .p-product__name small {
    font-size: 1rem;
  }

  .p-product__size-guide {
    font-size: 0.6875rem;
  }

  .p-spec {
    display: block;
  }

  .p-spec__table {
    margin-top: 1rem;
    font-size: 0.6875rem;
  }
}

@media (max-width: 48rem) {
  .p-transition {
    --gradient-overlap: 11.125rem;
    --gradient-tail: 30.6875rem;
    padding-top: 5rem;
  }

  .p-product {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .p-product__heading .c-section-label {
    /* iOSの文字自動拡大と内容幅への縮み込みを避け、ラベルに欄全体を使う。 */
    width: 100%;
    font-size: clamp(1rem, 4.8vw, 1.125rem);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .p-product__heading .c-section-label__line {
    /* 赤線75pxは維持し、狭い画面では線の左右の間隔だけを少し詰める。 */
    margin-inline: clamp(0.5rem, 2.667vw, 0.8125rem);
  }

  .p-product__name {
    margin-top: 2.5rem;
    font-size: 1.1875rem;
    line-height: 1.474;
  }

  .p-product__name small {
    font-size: 0.8125rem;
    line-height: 1.375rem;
  }

  .p-product__english {
    margin-top: 0.375rem;
    font-size: 1.0625rem;
    line-height: 1.3;
  }

  .p-product__photo {
    margin: 1.875rem -1rem 0;
  }

  .p-product__body {
    margin-top: 1.875rem;
  }

  .p-product__description {
    max-width: none;
  }

  .p-product__price {
    margin-top: 1.5rem;
  }

  .p-product__size-guide {
    margin-top: 1.625rem;
    line-height: 1.25rem;
  }

  .p-product__size-guide > span > span {
    display: block;
  }

  .p-spec {
    display: block;
    margin-top: 3.25rem;
  }

  .p-spec__label {
    display: block;
  }

  .p-spec__label::before {
    display: block;
    width: 3.125rem;
    margin: 0 0 0.25rem;
  }

  .p-spec__table {
    margin-top: 1.25rem;
    font-size: 0.625rem;
    line-height: 1.6;
  }

  .p-spec__table th,
  .p-spec__table td {
    padding: 0.515625rem 0.8125rem;
  }

  .p-spec__table th {
    padding-right: 0.625rem;
  }

  .p-spec__term {
    width: 34.3%;
  }

  .p-room {
    width: calc(100% - 2rem);
    min-height: 0;
    padding-bottom: 0;
    margin-top: 3rem;
  }

  .p-room__sleep {
    width: 48.688%;
    margin-left: 1.458%;
  }

  .p-room__a {
    position: relative;
    top: auto;
    left: auto;
    width: 72.595%;
    margin-top: 0.625rem;
    margin-left: auto;
  }

  .p-room__b {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 2.5rem;
  }

  .p-room__wake {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    width: 45.48%;
    aspect-ratio: 4 / 3;
    margin-top: 3.125rem;
    margin-left: 15.45%;
  }

  .p-room__rest {
    position: relative;
    top: auto;
    left: auto;
    width: 45.19%;
    margin-top: 2.5rem;
    margin-left: auto;
  }

  .p-dunes {
    height: 7.8125rem;
    margin-top: -4.125rem;
  }

  .p-mask {
    padding-block: 5rem;
  }

  .p-product--mask .p-product__shops {
    margin-top: 1.875rem;
  }

  .p-news {
    padding-block: 2.5rem 2.75rem;
  }

  .p-news__title {
    display: block;
    font-size: 0.8125rem;
  }

  .p-news__title::before {
    display: block;
    width: 3.125rem;
    margin-bottom: 0.375rem;
  }

  .p-news__item {
    grid-template-columns: minmax(0, 1fr) 57.878%;
    gap: 1.875rem 1rem;
    width: 100%;
    max-width: none;
    margin: 2.3125rem 0 0;
  }

  .p-news__photo {
    grid-column: 2;
  }

  .p-news__body {
    grid-column: 1 / -1;
  }

  .p-news__heading {
    font-size: 0.8125rem;
  }

  .p-news__text {
    margin-top: 1.5rem;
  }
}

/* 説明／サイズガイド：dialogの標準フォーカス制御を利用する。 */
.c-dialog {
  width: 37.5rem;
  max-width: calc(100% - 2rem);
  max-height: calc(100dvh - 3rem);
  padding: 0;
  border: 0;
  background: #e3e3e3;
  color: #000;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.c-dialog::backdrop {
  background: rgb(0 0 0 / 0.78);
}

.c-dialog[open] {
  animation: menu-appear 0.3s var(--ease-out);
}

.c-dialog__bar {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.9375rem;
  padding: 0.75rem 1.875rem 0.75rem 2.75rem;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
}

.c-dialog__bar .c-close {
  width: 2rem;
  height: 2rem;
}

.c-dialog__body {
  padding: 1.25rem 2.5rem 2rem;
}

.c-dialog__body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.c-dialog__body img {
  width: 100%;
  max-width: 25.625rem;
  margin: 1.625rem auto 0;
}

.c-dialog--fiber .c-dialog__body img {
  max-width: 23.75rem;
}

.c-dialog:not(.c-dialog--size) {
  min-height: 34.375rem;
}

.c-dialog__body p {
  margin-top: 1.875rem;
  font-size: 0.8125rem;
  line-height: 1.846;
  letter-spacing: 0.01em;
}

.c-dialog--size {
  width: 37.5rem;
}

.c-dialog__size-close {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 1rem 1.5rem 0 auto;
}

.c-dialog__size-body {
  padding: 1.25rem 2.5rem 1.9375rem;
}

.c-size-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.c-size-table + .c-size-table {
  margin-top: 1.6875rem;
}

.c-size-table caption {
  padding-bottom: 0.8125rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
}

.c-size-table caption span {
  float: right;
  font-size: 0.75rem;
  font-weight: 400;
}

.c-size-table th,
.c-size-table td {
  padding: 0.65625rem 0.375rem;
  border: 1px solid #888;
  font-weight: 400;
}

.c-size-table th {
  background: #fff;
  color: #888;
}

.c-size-table td {
  background: #fff;
}

.c-size-table th:first-child {
  width: 20%;
}

.c-size-table--guide th,
.c-size-table--guide td {
  background: #888;
  color: #fff;
  border-color: #aaa;
}

.c-dialog__bottom-close {
  display: block;
  margin: 2rem auto 0;
}

/* JSが利用できない場合は内容を隠さない。初期化できた要素だけ演出する。 */
.is-reveal-pending {
  opacity: 0;
  transform: translateY(1.5rem);
}

.is-reveal-active {
  transition:
    opacity 0.8s linear var(--reveal-delay, 0s),
    transform 1.1s var(--ease-photo) var(--reveal-delay, 0s);
}

/* 選定した主役6か所をマスクで開く。枠の寸法は動かさず、写真内で完結させる。 */
.c-reveal--photo {
  --photo-shift: 1.5rem;
  --photo-mask: inset(100% 0 0 0);
  --photo-duration: 1.1s;
}

.c-reveal--photo-down {
  --photo-shift: -1.5rem;
  --photo-mask: inset(0 0 100% 0);
}

.c-reveal--photo.is-reveal-active {
  clip-path: inset(0);
  transition:
    opacity 0.7s linear,
    transform var(--photo-duration) var(--ease-photo),
    clip-path var(--photo-duration) var(--ease-photo);
}

.c-reveal--photo.is-reveal-pending {
  clip-path: var(--photo-mask);
  transform: translateY(var(--photo-shift));
}

/* 商品・休息・ディテール写真は小さなフェードに留め、主役の演出と密度を分ける。 */
.c-reveal--soft.is-reveal-pending {
  transform: translateY(0.75rem);
}

@media (max-width: 48rem) {
  .c-reveal--photo {
    --photo-shift: 0.875rem;
    --photo-duration: 0.9s;
  }
  .c-reveal--photo-down {
    --photo-shift: -0.875rem;
  }
  .c-reveal--soft.is-reveal-pending {
    transform: translateY(0.5rem);
  }
}

@media (max-width: 48rem) {
  .c-dialog {
    max-height: calc(100dvh - 2rem);
  }

  .c-dialog__bar {
    padding-left: 1.25rem;
    font-size: 1rem;
  }

  .c-dialog__body {
    padding: 1.375rem 1.25rem 1.625rem;
  }

  .c-dialog__body h2 {
    font-size: 1.125rem;
  }

  .c-dialog--fiber h2 br {
    display: none;
  }

  .c-dialog__size-body {
    padding: 1.625rem 1rem 2.1875rem;
  }

  .c-dialog__size-close {
    display: none;
  }

  .c-size-table {
    font-size: 0.5625rem;
  }

  .c-size-table caption {
    font-size: 0.8125rem;
  }

  .c-size-table caption span {
    padding-top: 0.125rem;
    font-size: 0.5625rem;
  }

  .c-size-table th,
  .c-size-table td {
    padding: 0.34375rem 0.125rem;
  }

  .c-size-table th:first-child {
    width: 20%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-reveal-pending {
    opacity: 1;
    transform: none;
  }
}

/* 部分幅の補正：SPの長いTECHNOLOGY見出しは右余白を8pxだけ広く使う。 */
@media (max-width: 48rem) {
  .p-technology__title {
    margin-right: -0.5rem;
  }
}

.p-room__wake {
  object-fit: cover;
}

/* M-09：SVGの長い破線だけを回し、BUYの文字は水平に保つ。 */
.c-buy {
  border: 0;
}

.c-buy svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 40 15;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* 添付のスクロール位置に合わせ、PCは商品見出し上端を約130pxへ。 */
#item {
  scroll-margin-top: 1.5rem;
}

#buy {
  scroll-margin-top: 0;
}

@media (max-width: 48rem) {
  #item {
    scroll-margin-top: 0;
  }

  .p-product__english {
    margin-right: -1rem;
  }
}

/* 320px付近では長いラベル・コピーの改行を許可し、線の長さを維持する。 */
@media (max-width: 23rem) {
  .c-section-label {
    font-size: 1rem;
  }

  .c-section-label__line {
    margin-inline: 0.625rem;
  }

  .p-concept__catch {
    white-space: normal;
  }

  .p-hero__recovery {
    font-size: 8.2vw;
  }

  .p-function__name {
    font-size: 1rem;
  }
}

@media (max-width: 48rem) {
  .p-hero__brand {
    max-width: 25.4375rem;
  }
}

/* M-01：下スクロールで退避し、上スクロール・キーボード操作では表示する。 */
.l-header.is-hidden {
  transform: translateY(-100%);
}

.l-header__navigation > a:not(.c-social) {
  position: relative;
}

.l-header__navigation > a:not(.c-social)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

/* M-02：メニュー内も同じ5本線を用い、外側の2本を×へ変形する。 */
.p-menu__toggle {
  position: relative;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
}

.p-menu__toggle span {
  animation: menu-line-top 0.3s var(--ease-out) both;
}

.p-menu__toggle span:nth-child(2) {
  top: calc(50% - 5px);
}
.p-menu__toggle span:nth-child(3) {
  top: 50%;
}
.p-menu__toggle span:nth-child(4) {
  top: calc(50% + 5px);
}
.p-menu__toggle span:nth-child(5) {
  top: calc(50% + 10px);
  animation-name: menu-line-bottom;
}

.p-menu__toggle span:nth-child(2),
.p-menu__toggle span:nth-child(3),
.p-menu__toggle span:nth-child(4) {
  animation-name: menu-line-fade;
}

.p-menu[open] .p-menu__navigation a,
.p-menu[open] .p-menu__social {
  animation: menu-item-enter 0.3s var(--ease-out) var(--menu-delay) both;
}

.p-menu.is-closing {
  animation: overlay-exit 0.3s ease both;
}
.p-menu::backdrop {
  animation: menu-appear 0.3s ease both;
}
.p-menu.is-closing::backdrop {
  animation: overlay-exit 0.3s ease both;
}
.p-menu.is-closing .p-menu__toggle span:first-child {
  animation: menu-line-top-exit 0.3s var(--ease-out) both;
}
.p-menu.is-closing .p-menu__toggle span:last-child {
  animation: menu-line-bottom-exit 0.3s var(--ease-out) both;
}
.p-menu.is-closing .p-menu__toggle span:nth-child(2),
.p-menu.is-closing .p-menu__toggle span:nth-child(3),
.p-menu.is-closing .p-menu__toggle span:nth-child(4) {
  animation: menu-line-return 0.3s var(--ease-out) both;
}
@keyframes menu-line-top-exit {
  from {
    transform: translateY(10px) rotate(35deg);
  }
  to {
    transform: none;
  }
}
@keyframes menu-line-bottom-exit {
  from {
    transform: translateY(-10px) rotate(-35deg);
  }
  to {
    transform: none;
  }
}
@keyframes menu-line-return {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes menu-line-top {
  to {
    transform: translateY(10px) rotate(35deg);
  }
}

@keyframes menu-line-bottom {
  to {
    transform: translateY(-10px) rotate(-35deg);
  }
}

@keyframes menu-line-fade {
  to {
    opacity: 0;
  }
}
@keyframes menu-item-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* M-03：headで付けた待機状態を使い、最初の描画から開始前の見た目にする。 */
.p-hero__photo {
  overflow: hidden;
}

.is-hero-pending .p-hero__photo img {
  opacity: 0;
  transform: scale(1.08);
}

.is-hero-pending .c-hero-enter {
  opacity: 0;
  transform: translateY(1rem);
}

.is-loaded .p-hero__photo img {
  animation:
    hero-photo-fade 1.6s ease both,
    hero-photo-zoom 6s var(--ease-out) both;
}

.is-loaded .c-hero-enter {
  animation: hero-content-enter 1s var(--ease-out) var(--hero-delay) both;
}

@keyframes hero-photo-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-photo-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* M-06：円の発光は4.8秒周期。登場の0.15秒差とは別に位相をずらす。 */
.p-recovery__circle {
  animation: recovery-glow 4.8s ease-in-out infinite;
}
.p-recovery__circle:nth-child(2) {
  animation-delay: -1.2s;
}
.p-recovery__circle:nth-child(3) {
  animation-delay: -2.4s;
}
.p-recovery__circle:nth-child(4) {
  animation-delay: -3.6s;
}

@keyframes recovery-glow {
  0%,
  100% {
    box-shadow: 0 0 0.75rem rgb(255 255 255 / 0.45);
  }
  50% {
    box-shadow: 0 0 1.75rem rgb(255 255 255 / 0.9);
  }
}

/* M-07・08：背景と本体を別々に出す。閉じる時も背面操作を解除しない。 */
.p-technology__circle {
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}

.p-technology__circle img {
  transition: transform 0.6s var(--ease-out);
}
.c-dialog[open] {
  animation: dialog-enter 0.5s var(--ease-out) both;
}
.c-dialog[open]::backdrop {
  animation: menu-appear 0.35s ease both;
}
.c-dialog.is-closing {
  animation: dialog-exit 0.35s ease both;
}
.c-dialog.is-closing::backdrop {
  animation: overlay-exit 0.35s ease both;
}
.c-close {
  transition: rotate 0.4s var(--ease-out);
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dialog-exit {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.97);
  }
}

@keyframes overlay-exit {
  to {
    opacity: 0;
  }
}

/* M-09：背景18%は指定の視認性調整。表示条件は半画面／最下部40px。 */
.c-buy {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.85);
  transition:
    opacity 0.6s,
    transform 0.6s var(--ease-out),
    visibility 0.6s,
    color 0.5s,
    background-color 0.4s;
}

.c-buy.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.c-buy svg {
  animation: ring-spin 24s linear infinite;
}
.c-buy:not(.is-show) svg {
  animation-play-state: paused;
}

@keyframes ring-spin {
  to {
    rotate: 360deg;
  }
}

/* M-10：写真を主役にし、本文の移動は16pxに抑える。 */
.c-reveal--text.is-reveal-pending {
  transform: translateY(1rem);
}
.c-reveal--text.is-reveal-active {
  transition:
    opacity 0.8s linear var(--reveal-delay, 0s),
    transform 0.6s var(--ease-reference) var(--reveal-delay, 0s);
}

/* M-11：独立したtranslate/rotateにより登場・SP中央寄せと干渉させない。 */
.c-parallax {
  translate: 0 var(--parallax-y, 0px);
}
.c-parallax.is-parallax-active {
  will-change: translate;
}
.p-look__mark {
  animation: ring-spin 40s linear infinite;
}

/* M-12：色はMTG指定のグリーン。移動量は動き仕様書に合わせる。 */
.c-button {
  transition:
    background-color 0.5s var(--ease-out),
    color 0.5s var(--ease-out);
}
.c-button > span,
.c-button::after,
.c-button--all::before {
  transition:
    transform 0.5s var(--ease-out),
    background-color 0.5s var(--ease-out);
}

.p-product__size-guide img:last-child {
  transition: transform 0.5s var(--ease-out);
}
.p-news__link {
  text-underline-offset: 0.2em;
}

@media (any-hover: hover) {
  .l-header__navigation > a:not(.c-social):hover::after {
    transform: scaleX(1);
  }
  .c-button:not(.c-button--all):hover > span {
    transform: translateX(0.5rem);
  }
  .c-button:hover::after {
    transform: translateX(0.375rem);
  }
  .c-button--all:hover::before {
    transform: translateX(-0.375rem);
  }
  .c-buy:hover svg {
    animation-duration: 6s;
  }
  .c-buy:hover {
    background-color: rgb(255 255 255 / 0.26);
  }
  .p-technology__feature:hover .p-technology__circle {
    transform: scale(1.04);
    box-shadow: 0 0 2.125rem #fff;
  }
  .p-technology__feature:hover .p-technology__circle img {
    transform: scale(1.08);
  }
  .p-product__size-guide:hover > span {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
  }
  .p-product__size-guide:hover img:last-child {
    transform: scale(1.2);
  }
  .p-news__link:hover {
    text-decoration-thickness: 2px;
  }
  .c-close:hover {
    rotate: 90deg;
  }
}

@media (max-width: 48rem) {
  /* XDのSPバーは写真ごとに寸法が異なる。丸め誤差の幅差は平均値で揃える。 */
  .c-slider {
    --indicator-width: 1.09375rem;
    --indicator-gap: 0.3125rem;
    --indicator-height: 1px;
    --indicator-bottom: 0.59375rem;
  }
  .p-technology__slider {
    --indicator-width: 1.375rem;
    --indicator-gap: 0.4375rem;
    --indicator-bottom: 0.78125rem;
  }
  .p-look__main {
    --indicator-width: 0.8125rem;
    --indicator-gap: 0.25rem;
    --indicator-bottom: 0.40625rem;
  }
  .p-look__side {
    --indicator-width: 1.6875rem;
    --indicator-gap: 0.5625rem;
    --indicator-height: 2px;
    --indicator-bottom: 0.9375rem;
  }
  .p-product--wear .c-slider {
    --indicator-width: 1.2875rem;
    --indicator-gap: 0.4375rem;
    --indicator-height: 2px;
    --indicator-bottom: 0.6875rem;
  }
  .p-room__b {
    --indicator-width: 1.4375rem;
    --indicator-gap: 0.4375rem;
    --indicator-height: 3px;
    --indicator-bottom: 0.78125rem;
  }
  .p-mask .c-slider {
    --indicator-width: 1.7125rem;
    --indicator-gap: 0.625rem;
    --indicator-height: 3px;
    --indicator-bottom: 0.96875rem;
  }
  /* 仕様書の参考実装およびSPのXDに合わせ、この写真にはバーを出さない。 */
  .p-room__a .c-slider__controls {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-hero-pending .p-hero__photo img,
  .is-hero-pending .c-hero-enter,
  .is-reveal-pending {
    opacity: 1;
    transform: none;
  }
  .c-slider__image {
    transform: none !important;
  }
  .c-slider__dot[aria-current="true"] .c-slider__progress {
    transform: scaleX(1) !important;
  }
  .c-parallax {
    translate: none;
  }
  .c-reveal--photo.is-reveal-active {
    clip-path: none;
    opacity: 1;
    transform: none;
  }
  .c-reveal--soft.is-reveal-pending,
  .c-reveal--text.is-reveal-pending {
    opacity: 1;
    transform: none;
  }
  .c-parallax.is-parallax-active {
    will-change: auto;
  }
  .p-menu__toggle span:first-child {
    transform: translateY(10px) rotate(35deg);
  }
  .p-menu__toggle span:last-child {
    transform: translateY(-10px) rotate(-35deg);
  }
  .p-menu__toggle span:nth-child(2),
  .p-menu__toggle span:nth-child(3),
  .p-menu__toggle span:nth-child(4) {
    opacity: 0;
  }
}

/* 2026-11-03：XD再照合で確認したSP写真とラベルの差分。 */
@media (max-width: 48rem) {
  .p-technology__feature > span + span {
    margin-top: 0.75rem;
  }
  .p-gimmick__frame {
    width: calc(100% - 1px);
    margin-left: 1px;
  }
  .p-gimmick__photo {
    /* PCの書き出しは維持し、SPのXDにある広いFマークの切り抜きを再現する。 */
    transform: scale(1.18);
  }
}

/* XDのサイズガイドはPC600×881px、SP343×625pxのパネル。 */
@media (max-width: 48rem) {
  .c-dialog:not(.c-dialog--size) {
    min-height: 0;
  }
  .c-size-table + .c-size-table {
    margin-top: 1.640625rem;
  }
  .c-dialog__bottom-close {
    margin-top: 0.875rem;
  }
}
