/* ==========================================
   Variables & General Reset
   ========================================== */
:root {
  --ink: #10182a;
  --navy: #0d2340;
  --paper: #f8f7f3;
  --line: #d8d6cf;
}

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

/* 親・祖先要素の overflow 干渉をリセットし、高さ固定を解除 */
html,
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  word-break: break-word;
  overflow-wrap: anywhere;
  overflow-x: clip !important; /* hidden の代わりに clip を使用すると sticky が壊れません */
  height: auto !important;
}

/* mainおよび上位ラッパーの高さ・overflow制限を解除 */
main {
  width: 100%;
  position: relative;
  overflow: visible !important; /* stickyの動作を阻害しないよう可視化 */
  height: auto !important;
}

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

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

/* 改行コントロール（PCデフォルト） */
.spOnly {
  display: none;
}


/* ==========================================
   Header Section
   ========================================== */
.siteHeader {
  height: 76px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #ecebe7;
  position: -webkit-sticky; /* iOS Safari用 */
  position: sticky;
  top: 0;
  z-index: 9999; /* 他の要素より前面へ */
  width: 100%;
  backdrop-filter: blur(8px);
}

.brand {
  font: 500 24px/1 Georgia, "Times New Roman", serif;
  letter-spacing: 0.28em;
}

.headerCta {
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.14em;
}


/* ==========================================
   Hero Section
   ========================================== */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 50% 50%;
  background: var(--paper);
  width: 100%;
}

.heroCopy {
  padding: 8vw 4vw 6vw 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.sectionLabel {
  margin: 0 0 26px;
  font: 500 11px/1.4 Arial, sans-serif;
  letter-spacing: 0.25em;
  color: #7a746a;
}

.hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(30px, 3.6vw, 60px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.03em;
  word-break: break-word;
}

.nobreak {
  display: inline-block;
  white-space: nowrap;
}

.heroLead {
  margin: 36px 0 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.9;
  word-break: break-word;
}

.productName {
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.productName span {
  font: 400 12px/1.5 Georgia, serif;
  letter-spacing: 0.18em;
}

.productName strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.heroImage {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.heroImage img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: center;
}


/* ==========================================
   Common Section Modules
   ========================================== */
.sectionNarrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 130px 32px;
  text-align: center;
  width: 100%;
}

.sectionNarrow h2,
.sectionHeading h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(27px, 3vw, 43px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.04em;
  word-break: break-word;
}

.sectionNarrow > p:last-child {
  max-width: 760px;
  margin: 42px auto 0;
  font-size: 15px;
  line-height: 2.25;
  color: #4d5056;
  text-align: center;
  word-break: break-word;
}

.sectionHeading {
  text-align: center;
  margin-bottom: 60px;
}

.sectionLabel.light {
  color: #aeb6c2;
}


/* ==========================================
   Colors Section
   ========================================== */
.colors {
  padding: 110px 5vw 130px;
  background: var(--paper);
  width: 100%;
}

.colorGrid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

.colorGrid figure {
  margin: 0;
  background: #fff;
}

.colorGrid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/5;
  object-fit: cover;
  object-position: center top;
}

.colorGrid figcaption {
  padding: 22px;
  text-align: center;
  font: 400 12px/1 Georgia, serif;
  letter-spacing: 0.22em;
}

.colorGrid figcaption span {
  display: block;
  margin-top: 12px;
  font-family: "Yu Gothic", sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #777;
}


/* ==========================================
   Problems Section
   ========================================== */
.problems ul {
  margin: 55px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  text-align: left;
}

.problems li {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  word-break: break-word;
}

.problems li span {
  font: 400 11px/1 Georgia, serif;
  letter-spacing: 0.12em;
  color: #9a9388;
}


/* ==========================================
   Features Section
   ========================================== */
.featureSplit {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.featureImage {
  min-height: 650px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  width: 100%;
}

.featureImage img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: center;
}

.darkFeature {
  background: #101927;
  color: #fff;
}

.darkFeature .featureImage {
  background: #101927;
}

.featureCopy {
  padding: 8vw 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featureCopy h2,
.comfort h2,
.functions h2,
.adjustment h2,
.galleryText h2,
.buy h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(26px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.04em;
  word-break: break-word;
}

.featureCopy > p:not(.sectionLabel):not(.note),
.adjustmentCopy > p,
.galleryText > p:last-child {
  margin: 35px 0 0;
  font-size: 15px;
  line-height: 2.15;
  color: #555a61;
  word-break: break-word;
}

.darkFeature .featureCopy > p:not(.sectionLabel):not(.note) {
  color: #d9dce1;
}

.note {
  margin: 18px 0 0;
  font-size: 11px;
  color: #9ca5b2;
}

.miniPoints {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.miniPoints span {
  padding: 10px 14px;
  border: 1px solid #b8b6b0;
  border-radius: 99px;
  font-size: 11px;
}


/* ==========================================
   Comfort Section
   ========================================== */
.comfort {
  padding: 125px 5vw;
  background: var(--paper);
  width: 100%;
}

.comfortGrid {
  max-width: 1100px;
  margin: 60px auto 75px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  width: 100%;
}

.comfortGrid article {
  padding: 32px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.comfortGrid article > span {
  font: 400 15px/1 Georgia, serif;
  color: #989286;
  letter-spacing: 0.05em;
}

.comfortGrid h3 {
  margin: 24px 0 13px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 500;
  word-break: break-word;
}

.comfortGrid p {
  margin: 0;
  color: #676a6e;
  font-size: 13px;
  line-height: 1.9;
  word-break: break-word;
}

.detailImages {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.detailImages figure {
  margin: 0;
}

.detailImages img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.detailImages figcaption {
  padding: 16px 0;
  font-size: 12px;
  color: #6f6b64;
  text-align: center;
}


/* ==========================================
   Functions Section
   ========================================== */
.functions {
  padding: 125px 6vw;
  color: #fff;
  background: var(--navy);
  width: 100%;
}

.functionGrid {
  max-width: 1080px;
  margin: 65px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  width: 100%;
}

.functionGrid div {
  min-height: 180px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.functionGrid b {
  font: 400 15px/1 Georgia, serif;
  color: #99a7b8;
  letter-spacing: 0.05em;
}

.functionGrid strong {
  margin-top: 34px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 19px;
  font-weight: 400;
  word-break: break-word;
}

.functionGrid small {
  margin-top: 10px;
  color: #b9c1ca;
  font-size: 11px;
  word-break: break-word;
}

.functionNote {
  max-width: 1080px;
  margin: 22px auto 0;
  color: #9aa7b6;
  font-size: 10px;
}


/* ==========================================
   Adjustment Section
   ========================================== */
.adjustment {
  padding: 130px 8vw;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 560px);
  gap: 8vw;
  align-items: center;
  width: 100%;
}

.adjustment > img {
  width: 100%;
  height: auto;
}

.sizeGuide {
  margin-top: 45px;
  padding: 28px 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.sizeGuide b {
  margin-bottom: 8px;
  font: 400 11px/1 Georgia, serif;
  letter-spacing: 0.18em;
}


/* ==========================================
   Style Gallery Section
   ========================================== */
.styleGallery {
  display: grid;
  grid-template-columns: 28% 44% 28%;
  align-items: stretch;
  background: var(--paper);
  width: 100%;
}

.styleGallery > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galleryText {
  padding: 6vw 3vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.galleryText h2 {
  font-size: clamp(22px, 2.2vw, 38px);
  word-break: break-word;
}


/* ==========================================
   Buy Section
   ========================================== */
.buy {
  padding: 125px 5vw;
  text-align: center;
  color: #fff;
  background: #101927;
  width: 100%;
}

.buy h2 {
  font-size: clamp(30px, 4vw, 52px);
  word-break: break-word;
}

.price {
  margin: 25px 0 0;
  font: 400 26px/1.5 Georgia, serif;
  letter-spacing: 0.08em;
}

.price small {
  font-family: "Yu Gothic", sans-serif;
  font-size: 11px;
}

.delivery {
  margin: 20px 0 0;
  font-size: 13px;
  color: #d4d9df;
  word-break: break-word;
}

.buyButtons {
  max-width: 850px;
  margin: 45px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.buyButtons a {
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: 0.2s;
  word-break: break-word;
}

.buyButtons a:hover {
  transform: translateY(-2px);
  background: #f0efeb;
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #aaa;
}

.swatch.navy {
  background: #111c35;
}

.swatch.black {
  background: #050505;
}

.swatch.white {
  background: #f4f1e8;
}

.buyNote {
  margin: 25px 0 0;
  font-size: 10px;
  color: #98a1ae;
  word-break: break-word;
}


/* ==========================================
   Footer Section
   ========================================== */
footer {
  padding: 55px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  width: 100%;
}

footer p {
  margin: 0;
  color: #888;
  font: 400 11px/1 Georgia, serif;
  letter-spacing: 0.12em;
}


/* ==========================================
   Responsive Styles (Mobile <= 800px)
   ========================================== */
@media (max-width: 800px) {
  /* Base & Utilities */
  body {
    word-break: break-word;
  }

  .spOnly {
    display: inline;
  }

  .nobreak {
    display: inline;
    white-space: normal;
  }

  /* Header */
  .siteHeader {
    height: 62px;
    padding: 0 16px;
  }

  .brand {
    font-size: 20px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .heroCopy {
    padding: 50px 16px 40px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.4;
  }

  .heroLead {
    margin-top: 24px;
  }

  .productName {
    margin-top: 32px;
  }

  .heroImage {
    min-height: 60vh;
  }

  /* Section Common */
  .sectionNarrow {
    padding: 60px 16px;
  }

  .sectionNarrow h2 {
    font-size: 22px;
    text-align: left;
  }

  .sectionNarrow > p:last-child {
    margin-top: 24px;
    font-size: 13.5px;
    line-height: 1.95;
    text-align: left;
    letter-spacing: -0.01em; /* わずかに字間を詰め確実に1行に収める */
  }

  .sectionHeading {
    margin-bottom: 30px;
  }

  .sectionHeading h2 {
    font-size: 22px;
  }

  /* Colors */
  .colors {
    padding: 60px 16px;
  }

  .colorGrid {
    gap: 8px;
  }

  .colorGrid figcaption {
    padding: 12px 2px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  /* Problems */
  .problems li {
    grid-template-columns: 32px 1fr;
    font-size: 13px;
  }

  /* Features */
  .featureSplit {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .featureImage {
    min-height: 50vh;
  }

  .featureCopy {
    padding: 50px 16px;
  }

  .featureCopy h2,
  .comfort h2,
  .functions h2,
  .adjustment h2,
  .galleryText h2,
  .buy h2 {
    font-size: 22px;
  }

  .darkFeature .featureImage {
    order: 2;
  }

  .silhouetteFeature .featureImage {
    order: 1;
  }

  .silhouetteFeature .featureCopy {
    order: 2;
  }

  /* Comfort */
  .comfort {
    padding: 60px 16px;
  }

  .comfortGrid {
    margin: 30px auto 40px;
    grid-template-columns: 1fr 1fr;
  }

  .comfortGrid article {
    padding: 18px 12px;
  }

  .comfortGrid article > span {
    font-size: 14px;
  }

  .comfortGrid h3 {
    font-size: 15px;
  }

  .detailImages {
    gap: 6px;
  }

  .detailImages img {
    height: 200px;
  }

  .detailImages figcaption {
    font-size: 10px;
  }

  /* Functions */
  .functions {
    padding: 60px 16px;
  }

  .functionGrid {
    margin-top: 35px;
    grid-template-columns: 1fr 1fr;
  }

  .functionGrid div {
    min-height: 130px;
    padding: 16px;
  }

  .functionGrid b {
    font-size: 14px;
  }

  .functionGrid strong {
    margin-top: 20px;
    font-size: 15px;
  }

  /* Adjustment */
  .adjustment {
    padding: 60px 16px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  /* Style Gallery */
  .styleGallery {
    grid-template-columns: 1fr;
  }

  .styleGallery > img {
    max-height: none;
    height: auto;
    object-fit: contain;
  }

  .galleryText {
    padding: 50px 16px;
  }

  /* Buy */
  .buy {
    padding: 60px 16px;
  }

  .buyButtons {
    grid-template-columns: 1fr;
  }

  /* Footer */
  footer {
    padding: 30px 16px;
    flex-direction: column;
    gap: 16px;
  }

  footer p {
    font-size: 10px;
  }
}