:root {
  --ink: #171717;
  --muted: #595959;
  --line: #dededa;
  --soft: #f7f7f5;
  /* 製品写真の地の色。写真の四隅を実測した値（2026-09-20・rgb(246,243,237)） */
  --photo-bg: #f6f3ed;
  --font: "Jost", "Shippori Mincho", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 4px;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.45;
  letter-spacing: 0.07em;
}
h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.6;
  letter-spacing: 0.05em;
}
h3 {
  font-size: 21px;
}
p {
  margin-bottom: 1.25em;
}
small,
.small {
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  margin-bottom: 18px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  background: #fff;
  padding: 8px;
  z-index: 20;
}
.skip:focus {
  top: 16px;
}
.test-banner {
  text-align: center;
  font-size: 12px;
  padding: 8px 20px;
  background: var(--soft);
  line-height: 1.6;
  letter-spacing: 0;
}
/* 公開プレビューの告知。全ページの最上部に常時表示し、演出中も消さない。 */
.site-notice {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.story-active > .site-notice {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  opacity: 1;
}
.story-active > .site-notice ~ .header,
body:has(.brand-loading) > .site-notice ~ .header {
  top: 36px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px max(24px, calc((100% - 1240px) / 2));
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  /* 社長指示 2026-09-20：下にスクロールしても出したままにする */
  position: sticky;
  top: 0;
  z-index: 20;
}
/* 告知バーがある場合は、その真下に貼り付ける（重ならないように） */
.site-notice ~ .header {
  top: var(--notice-height, 36px);
}
.wordmark {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  white-space: nowrap;
}
.header nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
}
.header nav a {
  text-decoration: none;
}
.header nav a:hover {
  text-decoration: underline;
}
main {
  min-height: 65vh;
  outline: none;
}
.wrap {
  max-width: 1120px;
  margin: auto;
  padding: 0 32px;
}
.narrow {
  max-width: 760px;
  margin: auto;
  padding: 64px 24px 90px;
}
.hero {
  text-align: center;
  min-height: 600px;
  min-height: 68svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 65px 20px 75px;
}
.hero-logo {
  width: 190px;
  height: 190px;
  object-fit: contain;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}
.hero p:not(.eyebrow) {
  font-size: 16px;
  letter-spacing: 0.12em;
  margin-bottom: 30px;
}
.hero .btn {
  min-width: 210px;
}
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 38px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head p {
  margin-bottom: 8px;
}
.collection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 30px;
}
.product-card {
  text-decoration: none;
  display: block;
}
.product-card .photo {
  /* 写真は縦長（パンツ0.57／単品0.85／セット1.0）。4:3で切り抜くと上下が欠けるため、
     枠を縦長にして contain で全体を見せる（社長指摘 2026-09-20） */
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--photo-bg);
  margin-bottom: 20px;
  padding: 16px;
  isolation: isolate;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.single-product-image {
  /* 明るい画像背景をセット商品と同じ生成りへ揃え、服と影の階調は保持する。 */
  mix-blend-mode: darken;
}
.product-card .card-bottom {
  /* 社長指示 2026-09-20：製品名と金額は2段でなく1段に */
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.product-card .card-bottom .price {
  margin-left: auto;
  white-space: nowrap;
}
.product-card h2,
.product-card h3 {
  margin: 0;
}
.product-card .arrow {
  font-size: 25px;
}
.price {
  /* MARNI 実測（2026-09-20・商品ページ ¥130,900）：14px / 19.6px / 0.56px */
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.56px;
  font-variant-numeric: lining-nums tabular-nums;
}
.price small {
  /* 金額が14pxになったので、注記はMARNIの注記と同じ12pxへ下げて主従を保つ */
  font-size: 12px;
  margin-left: 6px;
}
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.editorial .photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--photo-bg);
}
.editorial img {
  height: 100%;
  will-change: transform;
}
.editorial .copy {
  max-width: 26em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.steps .num {
  display: block;
  font-size: 34px;
  margin-bottom: 10px;
}
.steps h3 {
  font-size: 19px;
}
.steps p {
  color: var(--muted);
  font-size: 15px;
}
.faq {
  max-width: 800px;
  margin: auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 17px;
}
.faq details p {
  margin-top: 18px;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;
  font-size: 16px;
  transition: background 0.15s;
}
.btn:hover {
  background: #333;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  background: #9a9a9a;
  border-color: #9a9a9a;
  color: #fff;
  cursor: not-allowed;
}
.btn[disabled]:hover,
.btn[aria-disabled="true"]:hover {
  background: #9a9a9a;
}
.btn.secondary {
  background: #fff;
  color: var(--ink);
}
.btn.secondary:hover {
  background: var(--soft);
}
.btn.full {
  width: 100%;
}
.text-btn {
  background: none;
  border: 0;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.footer {
  border-top: 1px solid var(--line);
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 50px 32px 26px;
}
.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 14px;
  margin: 24px 0;
}
.footer p {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 70px;
  padding-top: 55px;
  padding-bottom: 80px;
  align-items: start;
}
.product-visual {
  position: sticky;
  top: 24px;
  min-width: 0;
}
.product-visual .photo {
  background: var(--photo-bg);
  width: 100%;
  height: min(600px, calc(100svh - 160px));
  min-height: 200px;
  padding: 16px;
  isolation: isolate;
  overflow: hidden;
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-visual p {
  font-size: 13px;
  margin-top: 12px;
}
/* 一覧へ戻る導線。画面の左上に置く（社長指示 2026-09-21）。 */
.product-back {
  padding-top: 30px;
}
.back-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}
.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* 戻る導線の分だけ、本体の上の余白を詰める。 */
.product-back + .product-layout {
  padding-top: 22px;
}
/* 商品ページも製品名と金額を1段に並べる */
.product-headline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
}
.product-title {
  font-size: clamp(16px, 2.4vw, 26px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0;
}
.product-headline .price {
  margin: 0;
  white-space: nowrap;
}
.config-lead {
  font-size: 15px;
  color: var(--muted);
}
.config-step {
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.config-step h2 {
  font-size: 22px;
  margin-bottom: 20px;
}
.step-no {
  font-size: 15px;
  margin-right: 18px;
}
.choice-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.choice {
  /* 生地は今後増える。数が増えても並べられるよう、1つあたりを詰めている。 */
  position: relative;
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  font-size: 13px;
  border: 1px solid #767676;
  cursor: pointer;
}
.choice:has(input:checked) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.choice input {
  position: absolute;
  opacity: 0;
}
.choice:has(input:focus-visible) {
  outline: 2px solid #171717;
  outline-offset: 3px;
}
.size-choice {
  /* サイズは短い記号なので、生地の選択より小さく詰める。指で押せる大きさは保つ。 */
  min-width: 38px;
  justify-content: center;
}
.component {
  border: 0;
  padding: 0;
  margin: 22px 0 30px;
  min-width: 0;
}
.component legend {
  font-size: 18px;
  margin-bottom: 12px;
}
.measure-row {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}
.measure-row label {
  font-size: 16px;
}
.measure-row .base {
  /* 部位名と同じ行に置く（社長指示 2026-09-20）。 */
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
}
.measure-control {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: flex-end;
}
.measure-control input {
  min-width: 0;
  width: 100%;
  min-height: 34px;
  padding: 5px 6px;
  text-align: center;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea,
.measure-control input,
.search {
  width: 100%;
  min-height: 48px;
  border: 1px solid #767676;
  border-radius: 0;
  background: #fff;
  padding: 9px 12px;
  font-size: 17px;
}
/* 股下の入力欄も増減のプルダウンと同じ高さにそろえる。
   文字は16px未満にしない（iOSで入力時に画面が拡大されるため）。 */
.measure-control input {
  min-height: 34px;
  padding: 5px 6px;
  font-size: 16px;
  line-height: 1.4;
}
/* 仕様名の検索欄（社長指示 2026-09-20）。文字は16pxのままにする
   （16px未満だとiOSが入力時に画面を拡大する）。 */
.search {
  min-height: 34px;
  padding: 5px 10px;
  font-size: 16px;
  line-height: 1.4;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.required {
  font-size: 12px;
  margin-left: 10px;
  color: var(--muted);
}
.help {
  font-size: 14px;
  color: var(--muted);
  margin-top: 7px;
  margin-bottom: 0;
}
.option-row {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  cursor: pointer;
}
.option-row input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  accent-color: var(--ink);
  margin-top: 5px;
}
.option-row .option-copy {
  flex: 1;
  min-width: 0;
}
.option-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.option-row .option-price {
  white-space: nowrap;
  font-size: 14px;
}
.option-group summary {
  padding: 14px 0;
  cursor: pointer;
}
.quote-box {
  background: var(--soft);
  padding: 24px;
  margin-top: 20px;
}
.quote-box .total,
.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.quote-box .price,
.total .price {
  /* 合計金額もMARNIと同じ14px。大きさではなく位置と余白で見せる */
  font-size: 14px;
}
.notice {
  background: var(--soft);
  padding: 18px 22px;
  font-size: 14px;
  margin: 22px 0;
}
.error {
  border: 1px solid #a33b32;
  background: #fff9f8;
  color: #8c2b23;
  padding: 14px 18px;
  font-size: 15px;
  margin: 18px 0;
}
.success {
  border: 1px solid var(--ink);
  padding: 18px;
  margin: 20px 0;
}
.success a {
  margin-right: 20px;
}
.progress {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 25px 0 40px;
  font-size: 14px;
  flex-wrap: wrap;
}
.progress li {
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
}
.progress .active {
  color: var(--ink);
  border-color: var(--ink);
}
.cart-item {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.cart-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.cart-heading h2 {
  font-size: 22px;
  margin: 0 0 10px;
}
.cart-summary {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--muted);
}
.cart-buttons {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.summary-list li {
  margin: 8px 0;
}
.summary-list .unit {
  color: var(--muted);
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0;
  font-size: 15px;
}
.check-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 4px;
  accent-color: var(--ink);
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.order-number {
  font-size: 26px;
  word-break: break-word;
  letter-spacing: 0.04em;
}
.status-pill {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 5px 14px;
  font-size: 14px;
  margin-bottom: 18px;
}
.empty {
  text-align: center;
  padding: 60px 0;
}
.empty h2 {
  font-size: 26px;
}
.legal h2 {
  font-size: 23px;
  margin-top: 36px;
}
.reveal {
  animation: appear 0.4s ease-out both;
}
@keyframes appear {
  from {
    opacity: 0.3;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
[hidden] {
  display: none !important;
}
@media (min-width: 1024px) and (min-height: 700px) {
  .editorial .photo {
    position: sticky;
    top: 40px;
  }
}
@media (max-width: 800px) {
  .header {
    padding: 21px 22px;
    gap: 18px;
  }
  .wordmark {
    font-size: 20px;
  }
  .header nav {
    gap: 18px;
    font-size: 13px;
  }
  .wrap {
    padding: 0 22px;
  }
  .hero {
    min-height: auto;
    padding: 64px 20px 72px;
  }
  .hero-logo {
    width: 145px;
    height: 145px;
  }
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 12px;
  }
  .collection {
    gap: 32px 18px;
  }
  .product-card h2,
  .product-card h3 {
    font-size: 14px;
  }
  .product-card .card-bottom {
    gap: 8px;
  }
  .product-card .card-bottom .arrow {
    display: none;
  }
  .editorial {
    gap: 32px;
  }
  .steps {
    gap: 20px;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }
  .product-visual {
    position: static;
  }
  .product-visual .photo {
    height: min(460px, calc((100vw - 44px) * 1.25), calc(100svh - 160px));
  }
  .product-visual p {
    margin-bottom: 0;
  }
  .narrow {
    padding-top: 40px;
  }
  .footer {
    padding: 36px 22px 22px;
  }
  .footer-links {
    gap: 16px;
  }
  .config-step {
    padding-top: 22px;
  }
}
@media (max-width: 540px) {
  .header {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }
  .header nav {
    width: 100%;
    justify-content: center;
    gap: 24px;
  }
  .test-banner {
    font-size: 11px;
    padding: 7px 15px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .collection {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .collection .photo {
    aspect-ratio: 4/5;
  }
  .editorial {
    grid-template-columns: 1fr;
  }
  .editorial .photo {
    aspect-ratio: 4/3;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 16px;
  }
  .steps .num {
    grid-row: 1/3;
    font-size: 28px;
  }
  .steps h3 {
    margin-bottom: 5px;
  }
  .steps p {
    grid-column: 2;
  }
  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .measure-row {
    grid-template-columns: 1fr 92px;
  }
  .choice {
    padding: 5px 9px;
  }
  .size-choice {
    min-width: 36px;
  }
  .actions .btn {
    flex: 1;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  .cart-heading {
    align-items: start;
  }
  .cart-heading h2 {
    font-size: 20px;
  }
  .narrow {
    padding-left: 20px;
    padding-right: 20px;
  }
  .progress {
    gap: 15px;
    font-size: 13px;
  }
  .section-head h2 {
    font-size: 26px;
  }
}
/* Brand landing page: monochrome, restrained type, a single product feature. */
.brand-hero {
  min-height: 760px;
  min-height: 86svh;
  padding: 68px 24px 38px;
}
.brand-hero .hero-logo {
  width: 132px;
  height: 132px;
  margin-bottom: 18px;
}
.brand-hero p.brand-name {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.18em;
  margin: 0;
  line-height: 1.25;
}
.brand-hero p.brand-signature {
  font-size: 14px;
  letter-spacing: 0.22em;
  margin: 10px 0 48px;
}
.brand-hero h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: 0.14em;
}
.brand-hero p.brand-intro {
  font-size: 15px;
  line-height: 2.3;
  letter-spacing: 0.04em;
  margin: 0;
}
.mobile-break {
  display: none;
}
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-decoration: none;
  margin-top: 42px;
  padding: 8px 20px;
}
.scroll-cue span {
  font-size: 22px;
}
.brand-feature {
  padding-top: 80px;
  padding-bottom: 120px;
  gap: 72px;
}
.brand-feature .photo {
  aspect-ratio: 4/5;
}
.brand-feature .photo img {
  object-fit: contain;
  padding: 16px;
}
.brand-feature h2 {
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.7;
  margin-bottom: 28px;
}
.brand-feature .copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: 22px;
}
.image-caption {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin: 12px 0 0;
  letter-spacing: 0;
}
.featured-product {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 28px;
}
.featured-product .eyebrow {
  margin-bottom: 10px;
}
.featured-product h3 {
  font-size: 22px;
  margin-bottom: 7px;
}
.product-includes {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 17px;
  padding: 8px 0;
}
.product-card h2 {
  font-size: 16px;
}
@media (max-width: 800px) {
  .brand-feature {
    gap: 36px;
    padding-top: 45px;
    padding-bottom: 72px;
  }
}
@media (max-width: 540px) {
  .brand-hero {
    min-height: 660px;
    min-height: calc(100svh - 144px);
    padding: 46px 18px 30px;
  }
  .brand-hero .hero-logo {
    width: 100px;
    height: 100px;
  }
  .brand-hero p.brand-signature {
    margin-bottom: 34px;
  }
  .brand-hero h1 {
    font-size: 27px;
    margin-bottom: 20px;
  }
  .brand-hero p.brand-intro {
    font-size: 13px;
    line-height: 2.2;
  }
  .mobile-break {
    display: initial;
  }
  .scroll-cue {
    margin-top: 26px;
  }
  .brand-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .brand-feature .photo {
    aspect-ratio: 4/5;
  }
  .brand-feature .copy {
    max-width: none;
  }
  .brand-feature h2 {
    font-size: 28px;
  }
  .product-card h2 {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .editorial img {
    transform: none !important;
  }
}
.measure-control select {
  width: 100%;
  min-height: 34px;
  padding: 4px 6px;
  border: 1px solid #767676;
  border-radius: 0;
  background: #fff;
  font-size: 13px;
}
body {
  font-synthesis: none;
}
@media print {
  .test-banner,
  .header,
  .footer,
  .actions,
  form,
  .faq,
  .text-btn {
    display: none;
  }
  .narrow {
    padding: 0;
    max-width: none;
  }
  main {
    min-height: 0;
  }
  .notice {
    background: none;
    border: 1px solid #999;
  }
  .cart-item {
    break-inside: avoid;
  }
}

/* A white opening followed by slow, reversible scroll fades. */
.brand-loading,
.story-identity {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.brand-loading {
  min-height: 100svh;
}
.identity-logo {
  width: clamp(130px, 21vw, 245px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 0 42px;
}
.identity-name {
  font-size: clamp(32px, 6.3vw, 76px);
  line-height: 1.1;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  margin: 0 0 36px;
}
.identity-signature {
  font-size: clamp(13px, 2.4vw, 27px);
  letter-spacing: 0.22em;
  margin: 0;
}
.brand-story {
  /* 1面あたり150svh。LPの4面＝600svh を保ったまま、面が増えた分だけ伸びる。 */
  height: calc(var(--story-scenes, 4) * 150svh);
  background: #fff;
}
.story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  isolation: isolate;
}
.story-panel {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 130px 24px 35px;
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
}
.story-panel.story-identity {
  padding: 24px;
  opacity: 1;
}
.story-panel h1,
.story-panel h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.7;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}
.story-panel
  p:not(
    .identity-name,
    .identity-signature,
    .eyebrow,
    .price,
    .image-caption,
    .product-includes
  ) {
  font-size: 16px;
  line-height: 2.4;
}
.story-panel .eyebrow {
  margin-bottom: 24px;
}
/* Portraits sit beside the brand copy like quiet editorial spreads. */
.story-panel.story-editorial {
  padding: 108px 32px 32px;
}
.story-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  width: min(100%, 1000px);
  text-align: left;
}
.story-editorial-photo {
  margin: 0;
  min-width: 0;
}
.story-editorial-photo img {
  width: 100%;
  height: min(68svh, 620px, calc(100svh - 150px));
  object-fit: contain;
}
.story-editorial-grid--reverse .story-editorial-photo {
  grid-column: 2;
  grid-row: 1;
}
.story-editorial-grid--reverse .story-editorial-copy {
  grid-column: 1;
  grid-row: 1;
}
.story-editorial-copy {
  min-width: 0;
}
.story-editorial .story-editorial-copy h1,
.story-editorial .story-editorial-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.6;
  margin-bottom: 24px;
}
.story-panel .story-editorial-copy p:not(.eyebrow) {
  font-size: 15px;
  line-height: 2.2;
}
.story-editorial-copy p:last-child {
  margin-bottom: 0;
}
.story-panel .story-editorial-copy .eyebrow {
  font-size: 12px;
  margin-bottom: 18px;
}
@media (max-width: 800px) {
  .story-panel.story-editorial {
    padding: 96px 22px 24px;
  }
  .story-editorial-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 420px;
    text-align: center;
  }
  .story-editorial-grid--reverse .story-editorial-photo,
  .story-editorial-grid--reverse .story-editorial-copy {
    grid-column: auto;
    grid-row: auto;
  }
  .story-editorial-photo img {
    height: clamp(160px, 39svh, 340px);
  }
  .story-editorial .story-editorial-copy h1,
  .story-editorial .story-editorial-copy h2 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .story-panel .story-editorial-copy p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 12px;
  }
  .story-panel .story-editorial-copy p:last-child {
    margin-bottom: 0;
  }
  .story-panel .story-editorial-copy .eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }
}
@media (max-width: 800px) and (max-height: 700px) {
  .story-panel.story-editorial {
    padding-top: 88px;
    padding-bottom: 18px;
  }
  .story-editorial-grid {
    gap: 16px;
  }
  .story-editorial-photo img {
    height: clamp(140px, calc(100svh - 400px), 280px);
  }
  .story-editorial .story-editorial-copy h1,
  .story-editorial .story-editorial-copy h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
}
.story-static .story-editorial-photo img {
  height: auto;
  max-height: none;
}
.story-static .story-editorial-grid {
  row-gap: 40px;
}
@media print {
  .story-editorial-photo img {
    height: auto;
    max-height: none;
  }
}
.story-product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 64px;
  width: min(100%, 1000px);
  text-align: left;
}
.story-product-photo img {
  /* 社長指示 2026-09-20：LPの製品イメージを大きく */
  height: min(74svh, 680px);
  object-fit: contain;
}
.story-product-copy h2 {
  font-size: 26px;
  margin-bottom: 14px;
}
.story-product-copy .price {
  margin: 24px 0;
}
.story-product-copy .image-caption {
  margin-top: 26px;
}
.story-active > .header,
.story-active > .test-banner {
  position: fixed;
  left: 0;
  right: 0;
  /* 演出中も薄くしない（社長指示 2026-09-20：常に表示） */
  opacity: 1;
}
.story-active > .test-banner {
  top: 0;
  z-index: 11;
}
.story-active > .header {
  top: 0;
  z-index: 10;
  padding-top: 16px;
  padding-bottom: 16px;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
}
.story-skip {
  z-index: 30;
}
.story-static {
  height: auto;
}
.story-static .story-stage {
  height: auto;
  position: static;
}
.story-static .story-panel {
  position: relative;
  min-height: 85svh;
  padding: 60px 24px;
  opacity: 1;
  transform: none;
  will-change: auto;
}
@media (max-width: 540px) {
  .identity-logo {
    width: 145px;
    margin-bottom: 34px;
  }
  .identity-name {
    font-size: 36px;
    margin-bottom: 28px;
    letter-spacing: 0.14em;
  }
  .identity-signature {
    font-size: 15px;
    letter-spacing: 0.16em;
  }
  .story-panel {
    padding: 146px 22px 28px;
  }
  .story-panel h1,
  .story-panel h2 {
    font-size: 28px;
  }
  .story-panel
    p:not(
      .identity-name,
      .identity-signature,
      .eyebrow,
      .price,
      .image-caption,
      .product-includes
    ) {
    font-size: 14px;
    line-height: 2.25;
  }
  .story-active > .header {
    top: 0;
    padding: 12px 18px;
    gap: 8px;
  }
  .story-product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 420px;
  }
  .story-product-photo img {
    height: min(44svh, 380px);
  }
  .story-product-copy {
    text-align: center;
  }
  .story-product-copy .eyebrow {
    margin-bottom: 8px;
  }
  .story-product-copy h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .story-product-copy .product-includes {
    margin-bottom: 10px;
  }
  .story-product-copy .price {
    margin: 10px 0;
  }
  .story-product-copy .image-caption {
    margin-top: 10px;
    font-size: 10px;
  }
}
@media print {
  .brand-story {
    height: auto;
  }
  .story-stage {
    position: static;
    height: auto;
  }
  .story-panel {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    break-inside: avoid;
  }
}

.story-reading-toggle {
  z-index: 31;
}

/* LPの「KAMISHIMOについて」の面。写真を持たないので、文字だけで中央に置く。
   本文の大きさ・行間は .story-panel p の指定をそのまま使う。 */
.story-about-copy {
  max-width: 640px;
}
.story-panel.story-about p {
  margin-bottom: 8px;
}
.story-panel.story-about .text-btn {
  margin-top: 26px;
}

/* /about は本文が長い。LPの中央寄せ・特大見出しではなく読み物の組みに戻す。
   .story-panel h1,h2 と強さが並ぶため、必ず2クラスで指定する。 */
.story-panel.about-panel {
  text-align: left;
}
.about-copy {
  max-width: 620px;
  margin: auto;
}
/* 見出し「KAMISHIMOについて」は中央に置く（社長指示 2026-09-21）。
   本文と各節の見出しは左のまま。 */
.story-panel.about-panel h1 {
  text-align: center;
}
.story-panel.about-panel h1,
.story-panel.about-panel h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin-bottom: 26px;
}
.story-panel.about-panel p {
  margin: 16px 0;
}
.story-panel.about-panel .btn {
  margin-top: 34px;
}
.story-panel.about-panel .text-btn {
  display: block;
  margin-top: 16px;
}
/* JSが動かなくても最初の面は読める状態にしておく。 */
.story-panel.about-panel:first-child {
  opacity: 1;
}
/* 面に入ったら、全文を静かに浮かび上がらせる（社長指示 2026-09-20）。
   伏せるのは演出が動いているときだけ。JSが動かない・動きを減らす設定・
   短い画面では body.story-active が付かないので、本文はそのまま読める。 */
.story-active .about-panel .about-copy > * {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(14px);
}
.story-active .about-panel.story-shown .about-copy > * {
  animation: emerge 2.6s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
/* 見出しは本文より早く出す（社長指示 2026-09-21）。 */
.story-active .about-panel.story-shown .about-copy > :is(h1, h2) {
  animation-duration: 1.2s;
}
.story-active .about-panel.story-shown .about-copy > *:nth-child(2) {
  animation-delay: 0.75s;
}
.story-active .about-panel.story-shown .about-copy > *:nth-child(3) {
  animation-delay: 1.5s;
}
.story-active .about-panel.story-shown .about-copy > *:nth-child(4) {
  animation-delay: 2.25s;
}
.story-active .about-panel.story-shown .about-copy > *:nth-child(5) {
  animation-delay: 3s;
}
/* 出しきった文字は filter も transform も外す。
   iOS Safari は filter を当てた要素を一度描き起こすと、blur(0px) に戻っても
   ぼやけたまま表示し続けるため、合成し直させる必要がある。 */
.story-active .about-panel.story-shown .about-copy > .emerged {
  animation: none;
  filter: none;
  transform: none;
  opacity: 1;
}
@keyframes emerge {
  from {
    opacity: 0;
    filter: blur(9px);
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}@media (max-width: 540px) and (max-height: 700px) {
  .story-product-photo img {
    height: 34svh;
  }
}

/* KAMISHIMO の表記は内側タグと同じ Bodoni Moda（社長指示 2026-09-20）。
   副題と、それ以外の欧文・数字は従来どおり。 */
.wordmark,
.identity-name,
.brand-name {
  font-family: "Bodoni Moda", "Cormorant Garamond", serif;
}
.identity-signature,
.brand-signature {
  font-family: "Cormorant Garamond", serif;
}

.payment-error {
  color: #b42318;
}

/* The main navigation lives in an accessible modal drawer. */
.header {
  flex-direction: row;
  padding: 16px max(22px, calc((100% - 1240px) / 2));
}
.menu-toggle,
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px;
}
.menu-toggle {
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
}
.site-menu {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(340px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  border: 0;
  padding: 20px 24px;
  color: var(--ink);
  background: #fff;
  overflow-y: auto;
}
.site-menu::backdrop {
  background: rgb(0 0 0 / 0.2);
}
.site-menu[open] {
  animation: menu-enter 0.24s ease-out;
}
.menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.menu-close {
  font-family: sans-serif;
  font-size: 22px;
  font-weight: 300;
}
.site-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 44px;
}
.site-menu nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 12px;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  /* MARNI 実測（2026-09-20）：デスクトップのメニューは 14px / 20px / 0.21px */
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.21px;
}
.site-menu nav a > span:last-child {
  margin-left: auto;
  font-family: "Jost", sans-serif;
}
.site-menu nav a:hover {
  opacity: 0.65;
}
body:has(.site-menu[open]) {
  overflow: hidden;
}
.story-active > .header {
  opacity: 1;
  background: rgb(255 255 255 / var(--story-chrome, 0));
}
.story-active > .header > .wordmark {
  opacity: var(--story-chrome, 0);
}
body:has(.brand-loading) > .header {
  position: fixed;
  inset: 0 0 auto;
  border: 0;
  background: transparent;
}
body:has(.brand-loading) > .header > .wordmark {
  visibility: hidden;
}
@keyframes menu-enter {
  from {
    transform: translateX(32px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 540px) {
  .header {
    flex-direction: row;
    padding: 12px 18px;
  }
  .site-menu {
    /* 画面いっぱいに近い幅をやめ、背面のページが見える幅にする */
    width: min(280px, 78%);
    padding: 14px 18px;
  }
}
/* MARNI はハンバーガー表示に切り替わる幅（768px未満）でメニューを 24px にする。
   実測：24px / 28px / 0.24px。同じ切替幅・同じ大きさに合わせる。 */
@media (max-width: 767px) {
  /* 社長指示 2026-09-20：実機で大きすぎたため、MARNIの24pxより小さくする */
  .site-menu nav a {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.24px;
    min-height: 52px;
  }
  .site-menu nav {
    margin-top: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu[open] {
    animation: none;
  }
}

/* Quiet footer accordions, with native keyboard and disclosure semantics. */
.footer {
  padding: 0;
  margin: 64px 0 0;
  border: 0;
  background: #f7f7f5;
}
.footer-accordion {
  max-width: 1120px;
  margin: auto;
  border-top: 1px solid var(--line);
}
.footer-accordion > details {
  border-bottom: 1px solid var(--line);
}
.footer-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 20px 32px;
  cursor: pointer;
  list-style: none;
  /* 下部アコーディオンは AOKI 実測（2026-09-20）に合わせる。
     デスクトップの見出し：14px / 21px / 0.7px。狭い画面は13px / 19.5px / 0.6px（下の媒体クエリ） */
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.7px;
}
.footer-accordion summary::-webkit-details-marker {
  display: none;
}
.footer-accordion summary::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.footer-accordion details[open] > summary::after {
  transform: rotate(225deg);
}
.footer-panel {
  padding: 0 32px 32px;
  max-width: 840px;
}
.footer-panel h2 {
  /* AOKI のパネル内は「見出し＋小さな項目」の二段。見出しは本文より1段だけ大きくする */
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.6px;
  margin: 22px 0 8px;
}
.footer-panel p,
.footer-panel li,
.footer-panel dd {
  /* AOKI 実測：アコーディオンの中身は 12px / 18px / 0.6〜0.7px */
  font-size: 12px;
  line-height: 1.5;
  color: #454545;
  letter-spacing: 0.6px;
}
.footer-panel p {
  margin-bottom: 16px;
}
.footer-panel ol {
  padding-left: 22px;
}
.footer-panel a {
  font-size: 12px;
}
.footer-text-link {
  display: inline-flex;
  gap: 18px;
  min-height: 44px;
  align-items: center;
}
.footer-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.footer-product-links a {
  padding: 10px 0;
}
.footer-faq {
  margin: 0;
}
.footer-faq dt {
  font-size: 15px;
  margin: 24px 0 10px;
}
.footer-faq dd {
  margin: 0;
}
.footer-faq dd a {
  display: block;
  padding: 10px 0;
}
.footer-policy-links {
  display: grid;
  gap: 10px;
  padding-top: 12px;
}
.footer-policy-links a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 48px;
}
.footer-base {
  text-align: center;
  padding: 32px 24px 36px;
}
.footer-base .footer-price-note {
  font-size: 12px;
  margin-bottom: 34px;
}
.footer-base > .wordmark {
  display: inline-block;
  margin-bottom: 14px;
}
.footer-base p {
  font-size: 12px;
}
.footer-base p span {
  margin-left: 18px;
}
.footer-top {
  display: inline-block;
  font-size: 12px;
  padding: 10px;
}
@media (max-width: 767px) {
  /* AOKI 実測：狭い画面のフッター見出しは 13px / 19.5px / 0.6px、行の高さ50px */
  .footer-accordion summary {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.6px;
    min-height: 50px;
    padding: 14px 24px;
  }
}
@media (max-width: 540px) {
  .footer {
    margin-top: 40px;
  }
  .footer-accordion summary {
    padding: 14px 22px;
    min-height: 50px;
  }
  .footer-panel {
    padding: 0 22px 28px;
  }
  .footer-panel p,
  .footer-panel li,
  .footer-panel dd {
    font-size: 12px;
  }
}

.footer {
  max-width: none;
}
.footer p {
  display: block;
}
