/* PC layout: 1440px. SP layout: 390px, applied below 768px. */

:root {
  --page-width: 1440px;
  --gutter: 120px;
  --bg: #f7f4ef;
  --text: #3c342e;
  --muted: #6f655d;
  --accent: #8d6844;
  --line: #e6dfd6;
  --white: #fffdfb;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e8e1d8;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 500;
  line-height: 1.5;
}

.header-inner,
.section-inner {
  width: min(var(--page-width), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin-bottom: 16px;
  color: #b08968;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: calc(11 * min(100vw, 1440px) / 390);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.section-heading {
  margin-bottom: 56px;
  text-align: center;
}

.section-heading h2 {
  font-size: 36px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 52px;
  padding: 12px 32px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.cta-button:disabled {
  background: #cbbfae;
  cursor: not-allowed;
}

.product-description {
  max-width: 28em;
  color: var(--muted);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.price-original {
  color: var(--muted);
  font-size: 14px;
  text-decoration: line-through;
}

.price-current {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 36px;
  line-height: 1;
}

.price-tax {
  font-size: 13px;
  color: var(--muted);
}

.price-label {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3e4d4;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.color-selector-label {
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.color-selector-list {
  display: flex;
  gap: 18px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.color-selector-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 4px;
  border: none;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.color-selector-item::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 1px solid #d9d1c7;
  border-radius: 50%;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.color-selector-item:hover::before {
  transform: scale(1.08);
}

.color-selector-item.is-selected {
  color: var(--text);
}

.color-selector-item.is-selected::before {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.color-selector-item[data-color="black"]::before {
  background: #1d1d1d;
}

.color-selector-item[data-color="beige"]::before {
  background: #cbb8a0;
}

.color-selector-item[data-color="pink"]::before {
  background: #e7c9c6;
}

.color-selector-item[data-color="blue"]::before {
  background: #b7c5d1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.site-logo {
  display: block;
  line-height: 0;
}

.site-logo img,
.footer-logo {
  width: auto;
  height: 44px;
  object-fit: contain;
  background: transparent;
}

.footer-logo {
  display: inline-block;
  height: 36px;
  margin: 0 auto 12px;
}

.menu-toggle {
  display: none;
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-list a {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.fv {
  padding: 0;
  background: #fff;
}

.fv-frame {
  container-type: inline-size;
  position: relative;
  width: min(1440px, 100%);
  margin-inline: auto;
  aspect-ratio: 389 / 492;
}

.fv-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 389px;
  height: 492px;
  transform-origin: top left;
  transform: scale(calc(100cqi / 389px));
}

.fv-hero {
  position: absolute;
  left: 17px;
  top: 16px;
  width: 355px;
  height: 309px;
  max-width: none;
  object-fit: contain;
  background: none;
}

.fv-script {
  position: absolute;
  left: 89px;
  top: 37.82px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108.13px;
  height: 37.02px;
  margin: 0;
  color: #5d5d5d;
  font-family: "Island Moments", cursive;
  font-size: 20px;
  line-height: normal;
  white-space: pre;
  transform: rotate(-7.71deg);
}

.fv-lead {
  position: absolute;
  margin: 0;
  color: #2b2622;
  font-family: "BIZ UDPMincho", "Yu Mincho", serif;
  font-weight: 400;
}

.fv-name {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fv-lead {
  left: 32px;
  top: 334px;
  width: 325px;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.7px;
}

.fv-price-original,
.fv-price-current,
.fv-price-label {
  position: absolute;
  margin: 0;
  white-space: nowrap;
}

.fv-price-original,
.fv-price-current {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 500;
}

.fv-price-original {
  left: 32px;
  top: 372px;
  color: #766e67;
  font-size: 14.5px;
  line-height: normal;
  text-decoration: line-through;
}

.fv-price-current {
  left: 32px;
  top: 401px;
  color: #2b2622;
  font-size: 24.167px;
  line-height: 29px;
}

.fv-price-current span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 400;
}

.fv-price-label {
  left: 182px;
  top: 404.4px;
  padding: 3.625px 9.667px;
  border-radius: 2.417px;
  background: #856b42;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12.688px;
  font-weight: 500;
  line-height: normal;
}

.fv-colors {
  position: absolute;
  left: 32px;
  top: 443px;
  width: 136px;
  height: 28px;
  background: none;
  object-fit: fill;
}

.fv-cta {
  position: absolute;
  left: 182px;
  top: 437px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 40px;
  border-radius: 4px;
  background: #c1844e;
  box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.15);
  color: #f7f3ee;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.colors,
.color-gallery,
.spec,
.faq {
  padding-block: 100px;
}

.fv,
.intro,
.reasons,
.usage,
.inside {
  margin-bottom: 120px;
}

.intro {
  padding: 0;
  background: #fbf7f4;
}

.intro-frame {
  container-type: inline-size;
  position: relative;
  width: min(1440px, 100%);
  margin-inline: auto;
  aspect-ratio: 394 / 164;
}

.intro-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 394px;
  height: 164px;
  overflow: hidden;
  transform-origin: top left;
  transform: scale(calc(100cqi / 394px));
  background:
    radial-gradient(circle at 92% 18%, rgba(232, 208, 200, 0.45), transparent 28%),
    linear-gradient(90deg, #fbf7f4 0%, #f8f2ee 58%, #f4ebe6 100%);
}

.intro-script {
  position: absolute;
  left: 16px;
  top: 4px;
  margin: 0;
  color: #b08968;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
}

.intro-stage h2 {
  position: absolute;
  left: 16px;
  top: 20px;
  width: 176px;
  color: #3f362f;
  font-family: "BIZ UDPMincho", "Yu Mincho", serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.intro-body {
  position: absolute;
  left: 16px;
  top: 94px;
  width: 188px;
  margin: 0;
  color: #6f675f;
  font-size: 7.5px;
  letter-spacing: 0.01em;
  line-height: 1.55;
}

.intro-photo {
  position: absolute;
  margin: 0;
  background: #fff;
  box-shadow: 0 8px 16px rgba(90, 62, 48, 0.14);
}

.intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  background: none;
  object-fit: cover;
}

.intro-photo figcaption {
  position: absolute;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: "Island Moments", cursive;
  font-size: 20px;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.intro-photo--work {
  left: 188px;
  top: 16px;
  width: 92px;
  height: 118px;
  padding: 4px;
  overflow: hidden;
  transform: rotate(-7deg);
}

.intro-photo--work img {
  width: 210%;
  max-width: none;
  height: 150px;
  margin: -18px 0 0 -62%;
  object-fit: cover;
  object-position: 72% 8%;
}

.intro-photo--work figcaption {
  left: 6px;
  bottom: 10px;
}

.intro-photo--holiday {
  left: 276px;
  top: 8px;
  width: 102px;
  height: 136px;
  padding: 4px;
  overflow: hidden;
  transform: rotate(5deg);
}

.intro-photo--holiday img {
  width: 170%;
  max-width: none;
  height: 168px;
  margin: -16px 0 0 -36%;
  object-fit: cover;
  object-position: 46% 0;
}

.intro-photo--holiday figcaption {
  right: 8px;
  bottom: 4px;
  left: auto;
  font-size: 22px;
}

.reasons {
  padding: 0;
  background: #fbf7f4;
}

.reasons-frame {
  container-type: inline-size;
  position: relative;
  width: min(1440px, 100%);
  margin-inline: auto;
  aspect-ratio: 390 / 292;
}

.reasons-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 292px;
  padding: 16px 14px 18px;
  overflow: hidden;
  transform-origin: top left;
  transform: scale(calc(100cqi / 390px));
  background: #fbf7f4;
  color: #3f362f;
}

.reasons-head,
.reason-inside {
  text-align: center;
}

.reasons-kicker {
  margin: 0 0 2px;
  color: #b08968;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.reasons-stage h2,
.inside-stage h2 {
  margin: 0;
  color: #3f362f;
  font-family: "BIZ UDPMincho", "Yu Mincho", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.reason-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.reason-card {
  padding: 8px 7px 7px;
  border-radius: 12px;
  background: #fff;
}

.reason-card .reason-no {
  margin: 0 0 2px;
  color: #b08968;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 500;
  line-height: 0.9;
}

.reason-card h3 {
  margin: 3px 0 0;
  color: #3f362f;
  font-family: "BIZ UDPMincho", "Yu Mincho", serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.reason-card h3 {
  min-height: 2.9em;
}

.reason-card p {
  margin: 10px 0 0;
  color: #6f675f;
  font-size: 6px;
  line-height: 1.5;
}

.reason-card figure {
  position: relative;
  height: 78px;
  margin: 6px 0 0;
  overflow: hidden;
  border-radius: 8px;
}

.reason-card img,
.inside-board img {
  display: block;
  width: 100%;
  background: none;
  object-fit: cover;
}

.reason-card img {
  height: 78px;
  border-radius: 0;
}

.reason-card:nth-child(1) img {
  width: 100%;
  height: 78px;
  margin: 0;
  object-position: center 36%;
  transform: scale(2.4);
  transform-origin: center 38%;
}

.reason-card:nth-child(2) img {
  object-position: 65% 70%;
}

.reason-card:nth-child(3) img {
  object-position: center 42%;
}

.reason-card figcaption {
  position: absolute;
  z-index: 1;
  left: 4px;
  bottom: 4px;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #6a5344;
  font-size: 7px;
  line-height: 1.3;
}

.reason-inside {
  margin-top: 16px;
}

.inside-board {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 6px;
  align-items: stretch;
  margin-top: 8px;
}

.inside-main {
  position: relative;
  margin: 0;
}

.inside-main img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 40%;
}

.inside-volume {
  position: absolute;
  top: 12px;
  left: 8px;
  margin: 0;
  color: #fff;
  font-family: "BIZ UDPMincho", "Yu Mincho", serif;
  font-size: 13px;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.inside-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inside-point {
  margin: 0;
  padding: 0;
  background: none;
  text-align: center;
}

.inside-thumb {
  display: block;
  height: 42px;
  overflow: hidden;
  border-radius: 4px;
}

.inside-point .inside-thumb img {
  width: 180%;
  max-width: none;
  height: 78px;
}

.inside-point:nth-child(1) .inside-thumb img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 42% 62%;
}

.inside-point:nth-child(2) .inside-thumb img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 48% 46%;
}

.inside-point:nth-child(3) .inside-thumb img {
  width: 140%;
  margin: -8px 0 0 -20%;
  object-position: center 30%;
}

.inside-point:nth-child(4) .inside-thumb img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 62% 58%;
}

.inside-point:nth-child(5) .inside-thumb img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 58% 42%;
}

.inside-point:nth-child(6) .inside-thumb img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 28% 52%;
}

.inside-point p {
  margin: 2px 0 0;
  color: #3f362f;
  font-size: 7px;
  line-height: 1.25;
}

.inside-point span {
  display: block;
  color: #8a8178;
  font-size: 6.5px;
}

.inside-point p span {
  margin-top: 4px;
}

.color-item img,
.color-feature-image img {
  border-radius: 8px;
}

.inside {
  padding: 0;
  background: #fbf7f4;
}

.inside-frame {
  container-type: inline-size;
  position: relative;
  width: min(1440px, 100%);
  margin-inline: auto;
  aspect-ratio: 390 / 340;
}

.inside-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 340px;
  padding: 16px 14px 18px;
  overflow: hidden;
  transform-origin: top left;
  transform: scale(calc(100cqi / 390px));
  background: #fbf7f4;
  color: #3f362f;
}

.inside-stage .reason-inside {
  margin-top: 0;
}

.usage {
  padding: 0;
  background: #fbf7f4;
}

.usage-frame {
  container-type: inline-size;
  position: relative;
  width: min(1440px, 100%);
  margin-inline: auto;
  aspect-ratio: 390 / 248;
}

.usage-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 248px;
  padding: 8px 12px 10px;
  overflow: hidden;
  transform-origin: top left;
  transform: scale(calc(100cqi / 390px));
  background: #fbf7f4;
  color: #3f362f;
}

.usage-head {
  text-align: center;
}

.usage-script {
  margin: 0 0 2px;
  color: #b08968;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.usage-stage h2 {
  margin: 0;
  color: #3f362f;
  font-family: "BIZ UDPMincho", "Yu Mincho", serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
}

.usage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.usage-photo {
  display: block;
  height: 132px;
  overflow: hidden;
  border-radius: 6px;
}

.usage-card img {
  width: 100%;
  height: 132px;
  border-radius: 0;
  object-fit: cover;
}

.usage-card:nth-child(1) img {
  object-position: 58% 30%;
  transform: scale(1.55);
  transform-origin: 58% 28%;
}

.usage-card:nth-child(2) img {
  object-position: 54% 16%;
  transform: scale(2.05);
  transform-origin: 54% 18%;
}

.usage-card:nth-child(3) img {
  object-position: 46% 48%;
  transform: scale(1.35);
  transform-origin: 46% 46%;
}

.usage-card h3 {
  margin: 6px 0 0;
  color: #3f362f;
  font-family: "BIZ UDPMincho", "Yu Mincho", serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
}

.usage-card p {
  margin: 10px 0 0;
  color: #6f675f;
  font-size: 6.5px;
  line-height: 1.5;
  text-align: center;
}

.color-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.color-item {
  text-align: center;
}

.color-item img {
  width: 72%;
  height: auto;
  aspect-ratio: 270 / 378;
  margin-inline: auto;
  margin-bottom: 16px;
  object-fit: cover;
  object-position: center 46%;
  background: transparent;
}

.color-item h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.12em;
}

.color-item p {
  color: var(--muted);
  font-size: 14px;
}

.color-gallery .section-inner {
  display: grid;
  gap: 80px;
}

.color-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.color-feature-content {
  padding-top: 56px;
  overflow: visible;
}

.color-label {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  overflow: visible;
}

.color-label .color-name {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.color-paint {
  position: absolute;
  top: -48px;
  left: calc(100% + 6px);
  z-index: 0;
  width: 168px;
  height: 108px;
  pointer-events: none;
}

.color-feature:nth-child(even) .color-paint {
  transform: scaleX(-1);
}

.color-paint svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: none;
}

.color-paint--black {
  color: #3e4652;
}

.color-paint--beige {
  color: #c6a27a;
}

.color-paint--pink {
  color: #e7a8b6;
}

.color-paint--blue {
  color: #8eafc9;
}

.color-feature-image {
  height: 420px;
}

.color-name {
  color: var(--accent);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 0.16em;
}

.color-lead {
  margin-bottom: 12px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.7;
}

.color-feature-content p:last-child {
  color: var(--muted);
}

.spec .section-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.spec-content {
  display: block;
}

.spec-table {
  background: #fff;
  border-radius: 12px;
  padding: 8px 28px;
}

.spec-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row dt {
  font-weight: 500;
}

.spec-row dd {
  margin: 0;
  color: var(--muted);
}

.faq .section-inner {
  width: min(920px, 100%);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  cursor: pointer;
  font-size: 16px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 22px;
  color: var(--muted);
}

.final-cta {
  padding-block: 96px 112px;
  background: #f3eee7;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: 40px;
}

.final-cta-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.final-cta .eyebrow {
  width: 100%;
}

.final-cta h2 {
  width: 100%;
  font-size: clamp(20px, 2.4vw, 32px);
}

.final-cta-image {
  aspect-ratio: 611 / 408;
}

.final-cta-image img {
  width: 100%;
  height: 100%;
  background: none;
  border-radius: 16px;
  object-fit: cover;
}

.final-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.final-price strong {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 36px;
  font-weight: 500;
}

.sale-label {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3e4d4;
  color: var(--accent);
  font-size: 12px;
  white-space: nowrap;
}

.site-footer {
  padding: 28px var(--gutter) 36px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.purchase-main {
  padding-block: 56px 120px;
}

.purchase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.purchase-gallery {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  aspect-ratio: 611 / 408;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.purchase-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 32px;
}

.purchase-details .eyebrow {
  margin-bottom: 8px;
}

.purchase-details h1 {
  margin-bottom: 16px;
  font-size: 32px;
}

.purchase-details .product-description {
  margin-bottom: 28px;
}

.purchase-quantity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.purchase-quantity label {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--white);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

.qty-stepper input {
  width: 48px;
  height: 40px;
  border: none;
  border-inline: 1px solid var(--line);
  text-align: center;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
}

.purchase-cta {
  width: 100%;
  max-width: 360px;
}

.purchase-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.order-summary {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}

.order-summary h2 {
  margin-bottom: 12px;
  font-size: 16px;
}

.order-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0 0 12px;
}

.order-summary dt {
  color: var(--muted);
}

.order-summary dd {
  margin: 0;
  font-weight: 500;
}

.order-summary p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Tablet: 768px–1199px. Phone rules below take over under 768px. */
@media (max-width: 1199px) {
  :root {
    --gutter: 40px;
    --header-height: 72px;
  }

  .header-inner {
    gap: 20px;
  }

  .site-logo img {
    height: 36px;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
  }

  .nav-list a {
    font-size: 13px;
  }

  .fv,
  .intro,
  .reasons,
  .usage,
  .inside {
    margin-bottom: 96px;
  }

  .colors,
  .color-gallery,
  .spec,
  .faq {
    padding-block: 72px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .color-list {
    gap: 16px;
  }

  .color-gallery .section-inner {
    gap: 56px;
  }

  .color-feature {
    gap: 32px;
  }

  .color-feature-content {
    padding-top: 48px;
  }

  .color-feature-image {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .color-paint {
    top: -40px;
    width: 132px;
    height: 84px;
  }

  .spec .section-inner {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
  }

  .final-cta {
    padding-block: 72px 84px;
  }

  .final-cta h2 {
    font-size: clamp(20px, 3vw, 30px);
  }

  .final-price strong {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .final-cta-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .final-cta-image {
    order: -1;
    max-width: 320px;
    margin-inline: auto;
  }

  .purchase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .purchase-gallery {
    position: static;
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .color-feature {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .color-feature-image {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .color-feature-content {
    text-align: center;
  }

  .color-feature:nth-child(odd) .color-feature-content {
    order: -1;
  }

  .color-label {
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --header-height: 0px;
  }

  body {
    font-size: 13px;
    line-height: 1.7;
  }

  h1,
  h2,
  h3 {
    font-family: "BIZ UDPMincho", "Noto Serif JP", serif;
    font-weight: 400;
  }

  .site-header {
    display: block;
  }

  .header-inner {
    position: relative;
    justify-content: space-between;
  }

  .site-logo img {
    height: 32px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
  }

  .menu-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(60, 52, 46, 0.08);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 2px;
    padding: 8px 16px 20px;
  }

  .nav-list a {
    display: block;
    padding: 12px 4px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .fv,
  .intro,
  .reasons,
  .usage,
  .inside {
    margin-bottom: 72px;
  }

  .colors,
  .color-gallery,
  .spec,
  .faq {
    padding-block: 48px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .color-feature-content {
    padding-top: 40px;
  }

  .color-lead {
    font-size: 16px;
  }

  .eyebrow {
    margin-bottom: 8px;
  }

  .spec .section-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .color-paint {
    top: -34px;
    left: calc(100% + 2px);
    width: 112px;
    height: 72px;
  }

  .color-feature:nth-child(even) .color-paint {
    transform: none;
  }

  .color-list {
    gap: 8px;
  }

  .color-item img {
    width: 78%;
    height: auto;
  }

  .color-item h3 {
    font-size: 13px;
  }

  .color-item p {
    font-size: 11px;
  }

  .color-gallery .section-inner {
    gap: 36px;
  }

  main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  main > section {
    grid-column: 1 / -1;
  }

  main > .spec,
  main > .faq {
    padding-block: 64px 72px;
  }

  main > .spec {
    grid-column: 1;
  }

  main > .faq {
    grid-column: 2;
  }

  .spec .section-inner,
  .faq .section-inner {
    width: 100%;
    padding-inline: 12px;
  }

  .spec-heading h2,
  .faq .section-heading h2 {
    font-size: 18px;
    text-align: left;
  }

  .faq .section-heading {
    text-align: left;
  }

  .spec-content {
    display: block;
  }

  .spec-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    padding-block: 8px;
    font-size: 11px;
  }

  .spec-table {
    padding: 4px 10px;
  }

  .faq-item summary {
    gap: 8px;
    padding-block: 12px;
    font-size: 12px;
  }

  .faq-answer {
    font-size: 12px;
  }

  .final-cta {
    padding-block: 48px 56px;
  }

  .final-cta h2 {
    font-size: 20px;
    white-space: nowrap;
  }

  .final-cta-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
  }

  .final-cta .eyebrow {
    width: 100%;
    margin-bottom: 0;
  }

  .final-price strong {
    font-size: 22px;
  }

  .final-cta .cta-button {
    min-width: 0;
    min-height: 40px;
    margin-left: auto;
    padding: 8px 14px;
    border-radius: 4px;
    background: #c1844e;
    font-size: 13px;
    font-weight: 700;
  }

  .site-footer {
    padding: 20px 16px 28px;
  }

  .purchase-main {
    padding-block: 32px 64px;
  }

  .purchase-details h1 {
    font-size: 24px;
  }

  .purchase-cta {
    max-width: none;
  }
}
