/*
Theme Name: KEMA 2026
Theme URI: https://kema.hair/
Author: bc.art株式会社
Description: KEMA オフィシャルサイト用オリジナルテーマ（2026 リニューアル）。
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kema
*/

:root {
  --ink: #1e1512;
  --ink-2: #2a1f1b;
  --ivory: #f6f1ea;
  --sand: #ebe1d6;
  --rose: #d2938e;
  --rose-deep: #9c5a54;
  --body: #5b4c45;
  --body-dark: #b8a99c;
  --line: rgba(30, 21, 18, .16);
  --line-dark: rgba(246, 241, 234, .18);
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --didot: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(88px, 12vw, 176px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--body);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--rose); color: var(--ink); }
:focus-visible { outline: 1px solid var(--rose-deep); outline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { display: inline-block; }

/* ---------- type ---------- */
.eyebrow {
  display: block;
  font-family: var(--didot);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 28px;
}
.is-dark .eyebrow { color: var(--rose); }
.display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(34px, 6.4vw, 96px);
  line-height: 1.34;
  letter-spacing: .06em;
}
.headline {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(28px, 4.4vw, 64px);
  line-height: 1.5;
  letter-spacing: .06em;
}
.subhead {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.7;
  letter-spacing: .06em;
}
.is-dark { background: var(--ink); color: var(--body-dark); }
.is-dark .display, .is-dark .headline, .is-dark .subhead { color: var(--ivory); }
.is-sand { background: var(--sand); }
.lead { font-size: 15px; line-height: 2.3; max-width: 34em; }
.en { font-family: var(--didot); letter-spacing: .08em; }
.note { font-size: 12px; line-height: 1.9; opacity: .8; }

/* 日本語の見出しは文節で改行し、行の長さをそろえる */
.display, .headline, .subhead, .pd-name, .pd-catch, .pc-name, .article-head h1, .rows .t, .journal-item .ttl { word-break: auto-phrase; text-wrap: balance; }
.lead, .prose p, .cols p { text-wrap: pretty; }

/* ---------- links ---------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--didot);
  font-size: 13px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid currentColor;
  transition: gap .4s ease, color .3s ease;
}
.link::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .4s ease; }
.link:hover { gap: 26px; color: var(--rose-deep); }
.link:hover::after { width: 48px; }
.is-dark .link { color: var(--ivory); }
.is-dark .link:hover { color: var(--rose); }
.link--ja { font-family: var(--serif); letter-spacing: .14em; font-size: 14px; }
.links { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 48px; }

/* ---------- layout ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.inner { max-width: 1360px; margin: 0 auto; }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: background .4s ease, color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(246, 241, 234, .94); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.site-header.on-dark:not(.is-solid) { color: var(--ivory); }
.site-logo { display: block; width: 92px; flex: none; }
.site-logo img { width: 100%; }
.site-logo .logo-light { display: none; }
.site-header.on-dark:not(.is-solid) .site-logo .logo-dark { display: none; }
.site-header.on-dark:not(.is-solid) .site-logo .logo-light { display: block; }
.gnav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.gnav a {
  font-family: var(--didot); font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  padding: 8px 0; position: relative;
}
.gnav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .35s ease; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { right: 0; }
.gnav .gnav-shop { color: var(--rose-deep); }
.site-header.on-dark:not(.is-solid) .gnav .gnav-shop { color: var(--rose); }
.menu-toggle { display: none; background: none; border: 0; padding: 12px 0 12px 12px; cursor: pointer; font-family: var(--didot); font-size: 12px; letter-spacing: .26em; }

.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--ivory);
  padding: 28px var(--gutter) 40px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease; overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 36px; }
.drawer-top img { width: 84px; }
.drawer-close { background: none; border: 0; color: var(--ivory); font-family: var(--didot); font-size: 12px; letter-spacing: .26em; cursor: pointer; padding: 12px 0 12px 12px; }
.drawer-nav li { border-top: 1px solid var(--line-dark); }
.drawer-nav li:last-child { border-bottom: 1px solid var(--line-dark); }
.drawer-nav a { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 0; }
.drawer-nav .en { font-size: 22px; letter-spacing: .18em; }
.drawer-nav .ja { font-family: var(--serif); font-size: 12px; color: var(--body-dark); }
.drawer-foot { margin-top: 36px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.drawer-foot .link { color: var(--rose); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--body-dark); }
.hero-text { display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 40px) var(--gutter) clamp(56px, 8vw, 104px); position: relative; z-index: 2; }
.hero-text .display { color: var(--ivory); }
.hero-text .lead { margin-top: 36px; }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 36px; z-index: 3; writing-mode: vertical-rl; font-family: var(--didot); font-size: 10px; letter-spacing: .4em; color: var(--ivory); display: flex; align-items: center; gap: 14px; }
.hero-scroll::after { content: ""; width: 1px; height: 56px; background: currentColor; opacity: .6; }

/* ---------- page hero (下層) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(72px, 10vw, 150px)) var(--gutter) clamp(64px, 8vw, 112px); }
.page-hero .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.page-hero .lead { justify-self: end; }
.page-hero--photo { padding: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 78svh; }
.page-hero--photo .ph-text { display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 64px) var(--gutter) clamp(56px, 7vw, 96px); }
.page-hero--photo .ph-text .lead { margin-top: 32px; }
.page-hero--photo .ph-photo { position: relative; overflow: hidden; min-height: 60vw; margin-top: var(--header-h); }
.page-hero--photo .display, .split-body .display { font-size: clamp(34px, 5vw, 76px); }
.page-hero--photo .ph-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- split (写真 × テキスト) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-photo { position: relative; overflow: hidden; min-height: min(92vh, 62vw); }
.split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { display: flex; flex-direction: column; justify-content: center; padding: var(--section) clamp(28px, 7vw, 120px); }
.split-body .lead { margin-top: 36px; }
.split--reverse .split-photo { order: 2; }
.split-body .spec > div { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
.pd-scene img { object-position: 60% 30%; }

/* ---------- statement ---------- */
.statement { text-align: center; }
.statement .headline { max-width: 20em; margin: 0 auto; }
.statement .lead { margin: 40px auto 0; text-align: left; }

/* ---------- ruled columns ---------- */
.cols { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); border-top: 1px solid var(--line); }
.is-dark .cols { border-top-color: var(--line-dark); }
.cols > * { padding: 40px clamp(20px, 3vw, 44px) 8px 0; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 44px); }
.is-dark .cols > * { border-left-color: var(--line-dark); }
.cols > *:first-child { border-left: 0; padding-left: 0; }
.col-num { font-family: var(--didot); font-size: 13px; letter-spacing: .2em; color: var(--rose-deep); display: block; margin-bottom: 26px; }
.is-dark .col-num { color: var(--rose); }
.col-en { font-family: var(--didot); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .16em; color: var(--ink); line-height: 1.3; display: block; }
.is-dark .col-en { color: var(--ivory); }
.col-ja { font-family: var(--serif); font-size: 15px; color: var(--ink); display: block; margin: 10px 0 22px; letter-spacing: .14em; }
.is-dark .col-ja { color: var(--ivory); }
.cols p { font-size: 14px; line-height: 2.1; }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.numbers > div { padding: clamp(40px, 6vw, 88px) 0 0; }
.numbers > div + div { border-left: 1px solid var(--line-dark); padding-left: clamp(24px, 6vw, 96px); }
.num { font-family: var(--didot); font-weight: 400; color: var(--ivory); font-size: clamp(72px, 13vw, 208px); line-height: 1; letter-spacing: .01em; display: block; }
.num small { font-size: .36em; letter-spacing: 0; margin-left: .1em; color: var(--rose); vertical-align: .95em; }
.num-label { font-family: var(--serif); color: var(--ivory); font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .12em; margin-top: 22px; display: block; }

/* ---------- products ---------- */
.stage { background: radial-gradient(ellipse 70% 60% at 50% 42%, #fbf8f3 0%, var(--ivory) 45%, var(--sand) 100%); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(40px, 6vw, 88px) clamp(16px, 3vw, 48px); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; text-align: center; }
.product-card .pc-img { height: clamp(260px, 30vw, 430px); display: flex; align-items: flex-end; justify-content: center; margin-bottom: 30px; }
.product-card .pc-img img { max-height: 100%; width: auto; max-width: 86%; object-fit: contain; transition: transform .8s cubic-bezier(.2, .7, .2, 1); mix-blend-mode: multiply; }
.product-card:hover .pc-img img { transform: translateY(-10px); }
.pc-type { font-size: 11px; letter-spacing: .24em; color: var(--rose-deep); }
.pc-name { font-family: var(--serif); font-size: clamp(15px, 1.5vw, 19px); color: var(--ink); line-height: 1.6; margin: 8px 0 6px; letter-spacing: .08em; }
.pc-price { font-family: var(--didot); font-size: 17px; color: var(--ink); letter-spacing: .06em; }
.pc-price small { font-family: var(--sans); font-size: 10px; margin-left: 6px; color: var(--body); letter-spacing: .1em; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-bottom: clamp(56px, 8vw, 104px); }
.cat-nav a { font-family: var(--serif); font-size: 13px; letter-spacing: .14em; color: var(--ink); }
.cat-nav a:hover { color: var(--rose-deep); }
.cat-block + .cat-block { margin-top: clamp(96px, 12vw, 168px); }
.cat-head { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.cat-head .en { font-size: clamp(24px, 3vw, 40px); color: var(--ink); letter-spacing: .16em; }
.cat-head .ja { font-family: var(--serif); font-size: 14px; letter-spacing: .14em; }

/* product single */
.pd { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.pd-visual { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + 24px) 6% 48px; }
.pd-visual img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.pd-body { padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) clamp(28px, 6vw, 104px) var(--section); }
.pd-name-en { font-family: var(--didot); font-size: clamp(13px, 1.2vw, 15px); letter-spacing: .3em; color: var(--rose-deep); display: block; margin-bottom: 22px; }
.pd-name { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(28px, 3vw, 44px); line-height: 1.45; letter-spacing: .06em; }
.pd-catch { font-family: var(--serif); color: var(--ink); font-size: clamp(17px, 1.7vw, 22px); line-height: 1.9; margin-top: 30px; letter-spacing: .08em; }
.pd-buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin: 44px 0; }
.pd-price { font-family: var(--didot); font-size: clamp(30px, 3vw, 42px); color: var(--ink); line-height: 1; letter-spacing: .04em; }
.pd-price small { font-family: var(--sans); font-size: 11px; color: var(--body); margin-left: 10px; letter-spacing: .1em; }
.pd-size { font-size: 12px; letter-spacing: .14em; display: block; margin-bottom: 12px; }
.pd-section { margin-top: 56px; }
.pd-section h2 { font-family: var(--didot); font-weight: 400; font-size: 12px; letter-spacing: .32em; color: var(--rose-deep); border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 24px; }
.pd-list li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 14px; }
.pd-list li::before { content: ""; position: absolute; left: 0; top: 1.75em; width: 12px; height: 1px; background: var(--rose-deep); }
.pd-steps { counter-reset: step; }
.pd-steps li { counter-increment: step; display: grid; grid-template-columns: 54px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd-steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--didot); font-size: 15px; color: var(--rose-deep); letter-spacing: .1em; }
.pd-scene { position: relative; min-height: 70vw; max-height: 100svh; overflow: hidden; }
.pd-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- journal ---------- */
.journal-list { border-top: 1px solid var(--line); }
.journal-item { display: grid; grid-template-columns: 150px 110px 1fr 40px; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .4s ease; }
.journal-item:hover { padding-left: 14px; }
.journal-item time { font-family: var(--didot); font-size: 14px; letter-spacing: .14em; color: var(--ink); }
.journal-item .cat { font-size: 11px; letter-spacing: .22em; color: var(--rose-deep); }
.journal-item .ttl { font-family: var(--serif); font-size: clamp(15px, 1.4vw, 18px); color: var(--ink); line-height: 1.8; letter-spacing: .06em; }
.journal-item .arrow { justify-self: end; width: 30px; height: 1px; background: var(--ink); align-self: center; }
.article { max-width: 760px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.article-head time { font-family: var(--didot); font-size: 14px; letter-spacing: .2em; color: var(--rose-deep); }
.article-head h1 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(24px, 3vw, 40px); line-height: 1.7; letter-spacing: .06em; margin-top: 22px; }
.article-thumb { margin-bottom: clamp(40px, 5vw, 64px); }

.prose { font-size: 15px; line-height: 2.3; }
.prose > * + * { margin-top: 1.9em; }
.prose h2 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(20px, 2vw, 26px); line-height: 1.8; letter-spacing: .06em; margin-top: 3.2em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.prose h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: 17px; letter-spacing: .08em; margin-top: 2.6em; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose a { color: var(--rose-deep); border-bottom: 1px solid currentColor; }
.prose ul li { padding-left: 26px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--rose-deep); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; padding-left: 40px; position: relative; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; font-family: var(--didot); color: var(--rose-deep); }
.prose img { margin: 2.4em auto; }
.legal h2 { display: grid; grid-template-columns: 56px 1fr; }
.legal h2 .n { font-family: var(--didot); color: var(--rose-deep); font-size: 15px; letter-spacing: .1em; }

/* ---------- definition table (線だけ) ---------- */
.spec { border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(120px, 26%) 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--didot); font-size: 12px; letter-spacing: .26em; color: var(--rose-deep); text-transform: uppercase; padding-top: 4px; }
.spec dt .ja { display: block; font-family: var(--serif); font-size: 13px; letter-spacing: .14em; color: var(--ink); margin-top: 4px; text-transform: none; }
.spec dd { color: var(--ink); font-size: 15px; }
.spec dd .en { font-size: 1.3em; }
.is-dark .spec, .is-dark .spec > div { border-color: var(--line-dark); }
.is-dark .spec dt { color: var(--rose); }
.is-dark .spec dt .ja, .is-dark .spec dd { color: var(--ivory); }

/* ---------- stores ---------- */
.store-filter { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin-bottom: 20px; }
.store-filter label { display: block; font-family: var(--didot); font-size: 11px; letter-spacing: .28em; color: var(--rose-deep); margin-bottom: 8px; }
.store-filter select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e1512'/%3E%3C/svg%3E") no-repeat right 4px center; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 34px 8px 0; font-family: var(--serif); font-size: 16px; color: var(--ink); min-width: 220px; cursor: pointer; }
.store-types { display: flex; gap: 28px; }
.store-types button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 0; cursor: pointer; font-family: var(--serif); font-size: 14px; letter-spacing: .12em; color: var(--body); }
.store-types button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.store-count { margin-left: auto; font-family: var(--didot); font-size: 14px; letter-spacing: .14em; color: var(--ink); }
.store-pref { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .14em; padding: clamp(48px, 6vw, 80px) 0 20px; border-bottom: 1px solid var(--ink); display: flex; align-items: baseline; justify-content: space-between; }
.store-pref .en { font-size: 13px; color: var(--rose-deep); letter-spacing: .2em; }
.store-row { display: grid; grid-template-columns: 1.3fr 1.6fr 170px 150px; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.store-row .s-name { font-family: var(--serif); font-size: 16px; color: var(--ink); letter-spacing: .08em; line-height: 1.7; }
.store-row .s-addr { font-size: 13px; line-height: 1.8; }
.store-row .s-addr a { border-bottom: 1px solid var(--line); }
.store-row .s-tel { font-family: var(--didot); font-size: 15px; letter-spacing: .08em; color: var(--ink); }
.store-row .s-type { font-size: 11px; letter-spacing: .14em; color: var(--rose-deep); justify-self: end; text-align: right; white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 54px 1fr 24px; align-items: baseline; padding: 26px 0; font-family: var(--serif); font-size: 16px; color: var(--ink); letter-spacing: .08em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--didot); color: var(--rose-deep); font-size: 18px; }
.faq summary::after { content: ""; width: 14px; height: 14px; align-self: center; background: linear-gradient(var(--ink), var(--ink)) center/100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1px 100% no-repeat; transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 30px 54px; font-size: 14px; }

/* ---------- price list ---------- */
.price-list { border-top: 1px solid var(--line-dark); }
.price-list > div { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.price-list dt { font-family: var(--serif); font-size: 17px; color: var(--ivory); letter-spacing: .1em; }
.price-list dt small { display: block; font-family: var(--sans); font-size: 12px; color: var(--body-dark); letter-spacing: .06em; margin-top: 6px; line-height: 1.8; }
.price-list dd { font-family: var(--didot); font-size: clamp(22px, 2.4vw, 32px); color: var(--ivory); letter-spacing: .04em; white-space: nowrap; }
.price-list dd small { font-family: var(--sans); font-size: 11px; color: var(--body-dark); margin-left: 8px; }

/* ---------- steps (flow) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.flow li { padding: 36px clamp(16px, 2.4vw, 36px) 0; border-left: 1px solid var(--line); }
.flow li:first-child { border-left: 0; padding-left: 0; }
.flow .n { font-family: var(--didot); font-size: clamp(40px, 5vw, 72px); color: var(--ink); line-height: 1; display: block; margin-bottom: 24px; }
.flow h3 { font-family: var(--serif); font-weight: 400; font-size: 16px; color: var(--ink); letter-spacing: .1em; margin-bottom: 12px; }
.flow p { font-size: 13px; line-height: 2; }

/* ---------- forms ---------- */
.form { max-width: 760px; }
.form-row { display: grid; grid-template-columns: 220px 1fr; gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.form-row:first-of-type { border-top: 1px solid var(--line); }
.form-row > label, .form-row > .label { font-family: var(--serif); font-size: 14px; color: var(--ink); letter-spacing: .1em; padding-top: 8px; }
.req { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; color: var(--rose-deep); margin-left: 10px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form input[type="number"], .form select, .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0; font-size: 16px; color: var(--ink); transition: border-color .3s ease;
}
.form select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e1512'/%3E%3C/svg%3E") no-repeat right 4px center; cursor: pointer; }
.form textarea { min-height: 150px; resize: vertical; border: 1px solid var(--line); padding: 14px; line-height: 1.9; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.checks input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.form-submit { margin-top: 48px; }
.btn-submit { background: var(--ink); color: var(--ivory); border: 1px solid var(--ink); border-radius: 0; padding: 20px 72px; font-family: var(--serif); font-size: 15px; letter-spacing: .3em; cursor: pointer; transition: background .3s ease, color .3s ease; }
.btn-submit:hover { background: transparent; color: var(--ink); }
.form-msg { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 28px 0; margin-bottom: 48px; font-family: var(--serif); font-size: 16px; color: var(--ink); letter-spacing: .08em; }
.form-msg.is-error { border-color: var(--rose-deep); color: var(--rose-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-top: 1px solid var(--rose-deep); border-bottom: 1px solid var(--rose-deep); padding: 26px 0; color: var(--ink); font-size: 14px; }
.alert strong { font-family: var(--serif); font-weight: 500; letter-spacing: .1em; color: var(--rose-deep); margin-right: 10px; }

/* ---------- link rows (大きい導線) ---------- */
.rows { border-top: 1px solid var(--line); }
.is-dark .rows { border-top-color: var(--line-dark); }
.rows a { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: baseline; padding: clamp(28px, 3.6vw, 48px) 0; border-bottom: 1px solid var(--line); transition: padding .4s ease; }
.is-dark .rows a { border-bottom-color: var(--line-dark); }
.rows a:hover { padding-left: 16px; }
.rows .n { font-family: var(--didot); font-size: 13px; letter-spacing: .2em; color: var(--rose-deep); }
.is-dark .rows .n { color: var(--rose); }
.rows .t { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 36px); color: var(--ink); letter-spacing: .08em; line-height: 1.5; }
.is-dark .rows .t { color: var(--ivory); }
.rows .t small { display: block; font-family: var(--sans); font-size: 13px; color: var(--body); letter-spacing: .06em; margin-top: 8px; line-height: 1.9; }
.is-dark .rows .t small { color: var(--body-dark); }
.rows .a { font-family: var(--didot); font-size: 12px; letter-spacing: .26em; color: var(--ink); }
.is-dark .rows .a { color: var(--ivory); }

/* ---------- pro list ---------- */
.pro-list { border-top: 1px solid var(--line); }
.pro-list li { display: grid; grid-template-columns: 110px 1fr 1.6fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pro-list .k { font-size: 11px; letter-spacing: .2em; color: var(--rose-deep); }
.pro-list .nm { font-family: var(--didot); font-size: clamp(18px, 2vw, 26px); color: var(--ink); letter-spacing: .12em; line-height: 1.4; }
.pro-list .nm small { display: block; font-family: var(--serif); font-size: 12px; letter-spacing: .12em; color: var(--body); margin-top: 4px; }
.pro-list p { font-size: 13px; line-height: 2; }

/* ---------- social ---------- */
.social { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.social > a { padding: clamp(48px, 7vw, 104px) clamp(20px, 5vw, 80px) clamp(48px, 7vw, 104px) 0; display: block; }
.social > a + a { border-left: 1px solid var(--line); padding-left: clamp(20px, 5vw, 80px); }
.social .subhead { margin-bottom: 20px; }
.social .link { margin-top: 32px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--body-dark); padding: clamp(72px, 9vw, 128px) var(--gutter) 40px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 56px; padding-bottom: clamp(56px, 7vw, 96px); }
.footer-brand img { width: 150px; }
.footer-brand p { font-family: var(--serif); color: var(--ivory); font-size: 15px; letter-spacing: .14em; margin-top: 30px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-nav h2 { font-family: var(--didot); font-weight: 400; font-size: 11px; letter-spacing: .3em; color: var(--rose); margin-bottom: 20px; }
.footer-nav a { display: block; font-size: 13px; padding: 5px 0; color: var(--ivory); opacity: .82; transition: opacity .3s ease; }
.footer-nav a:hover { opacity: 1; }
.footer-notice { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 26px 0; font-size: 12px; line-height: 2; display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: baseline; }
.footer-notice strong { font-family: var(--serif); font-weight: 400; color: var(--ivory); letter-spacing: .12em; font-size: 13px; }
.footer-notice a { color: var(--rose); font-family: var(--didot); letter-spacing: .22em; font-size: 11px; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-top: 28px; font-family: var(--didot); font-size: 11px; letter-spacing: .2em; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .gnav { display: none; }
  .menu-toggle { display: block; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .store-row { grid-template-columns: 1fr 1fr; gap: 6px 24px; }
  .store-row .s-type { justify-self: start; text-align: left; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3) { border-left: 0; padding-left: 0; }
  .flow li:nth-child(n+3) { margin-top: 40px; border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  body { font-size: 14px; }
  .site-logo { width: 76px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 74svh; }
  .hero-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, var(--ink), transparent); }
  .hero-text { padding-top: 0; margin-top: -72px; }
  .hero-scroll { display: none; }
  .page-hero .inner { grid-template-columns: 1fr; }
  .page-hero .lead { justify-self: start; }
  .page-hero--photo { grid-template-columns: 1fr; min-height: 0; }
  .page-hero--photo .ph-photo { order: -1; min-height: 0; height: 62svh; margin-top: var(--header-h); }
  .page-hero--photo .ph-text { padding-top: 48px; }
  .split { grid-template-columns: 1fr; }
  .split-photo { min-height: 0; height: 110vw; }
  .split--reverse .split-photo { order: 0; }
  .split-body { padding: clamp(64px, 14vw, 96px) var(--gutter); }
  .cols { grid-template-columns: 1fr; }
  .cols > * { border-left: 0 !important; padding: 32px 0 28px !important; border-bottom: 1px solid var(--line); }
  .is-dark .cols > * { border-bottom-color: var(--line-dark); }
  .numbers { grid-template-columns: 1fr; }
  .numbers > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); margin-top: 48px; }
  .product-card .pc-img { height: 58vw; margin-bottom: 20px; }
  .pd { grid-template-columns: 1fr; }
  .pd-visual { position: relative; height: 96vw; padding: calc(var(--header-h) + 16px) 12% 24px; }
  .pd-body { padding: 48px var(--gutter) var(--section); }
  .journal-item { grid-template-columns: auto 1fr; gap: 6px 18px; padding: 24px 0; }
  .journal-item .ttl { grid-column: 1 / -1; }
  .journal-item .arrow { display: none; }
  .spec > div { grid-template-columns: 1fr; gap: 6px; }
  .store-filter select { min-width: 0; width: 100%; }
  .store-filter > div { width: 100%; }
  .store-count { margin-left: 0; }
  .store-row { grid-template-columns: 1fr; }
  .faq summary { grid-template-columns: 36px 1fr 20px; font-size: 15px; }
  .faq details p { padding-left: 36px; }
  .flow { grid-template-columns: 1fr; }
  .flow li { border-left: 0 !important; padding: 28px 0 !important; margin-top: 0 !important; border-top: 1px solid var(--line); display: grid; grid-template-columns: 76px 1fr; }
  .flow li:first-child { border-top: 0; }
  .flow .n { grid-row: span 2; font-size: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
  .btn-submit { width: 100%; padding: 20px; }
  .rows a { grid-template-columns: 44px 1fr; }
  .rows .a { display: none; }
  .pro-list li { grid-template-columns: 1fr; gap: 6px; }
  .social { grid-template-columns: 1fr; }
  .social > a + a { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-notice { grid-template-columns: 1fr; gap: 8px; }
  .price-list > div { grid-template-columns: 1fr; }
}

/* =====================================================================
   2026.11 モーションレイヤー
   スクロール連動・シェーダー背景・CTA・フッター
   ===================================================================== */

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--rose); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* ---------- shader background ---------- */
.shader-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.shader-bg.is-on { opacity: 1; }
[data-shader] { position: relative; overflow: hidden; }
[data-shader] > *:not(.shader-bg) { position: relative; z-index: 1; }

/* ---------- hero v2 ---------- */
.hero { display: block; min-height: 0; }
.hero-pin { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; background: radial-gradient(ellipse 60% 70% at 76% 108%, rgba(156, 90, 84, .5), rgba(156, 90, 84, 0) 68%), var(--ink); }
.hero-pin > .hero-scroll { position: absolute; z-index: 3; }
.hero .ln { display: block; }
.hero .ln > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  body:not(.no-js) .hero .ln { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
  body:not(.no-js) .hero .ln > span { transform: translateY(112%); animation: kema-rise 1.5s cubic-bezier(.16, .8, .2, 1) forwards; }
  body:not(.no-js) .hero .ln:nth-child(2) > span { animation-delay: .14s; }
  body:not(.no-js) .hero .ln:nth-child(3) > span { animation-delay: .28s; }
  body:not(.no-js) .hero .eyebrow, body:not(.no-js) .hero .lead, body:not(.no-js) .hero .links { opacity: 0; animation: kema-fade 1.4s ease .7s forwards; }
  body:not(.no-js) .hero-photo img { animation: kema-fade 1.8s ease .1s both; }
}
@keyframes kema-rise { to { transform: none; } }
@keyframes kema-fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  body:not(.no-js) .hero { height: 175svh; }
  body:not(.no-js) .hero-pin { position: sticky; top: 0; height: 100svh; min-height: 0; }
  body:not(.no-js) .hero-photo {
    clip-path: inset(
      calc((1 - var(--p, 0)) * (var(--header-h) + 3svh))
      calc((1 - var(--p, 0)) * 6vw)
      calc((1 - var(--p, 0)) * 9svh)
      calc((1 - var(--p, 0)) * 11vw)
    );
    will-change: clip-path;
  }
  body:not(.no-js) .hero-photo img { transform: scale(calc(1.18 - var(--p, 0) * .18)); transform-origin: 50% 30%; will-change: transform; }
  body:not(.no-js) .hero-text > * { translate: 0 calc(var(--p, 0) * -5svh); }
  body:not(.no-js) .hero-scroll { opacity: calc(1 - var(--p, 0) * 3); }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: clamp(20px, 2.6vw, 36px) 0; background: var(--ivory); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span { font-family: var(--didot); font-weight: 400; font-size: clamp(26px, 4.4vw, 68px); line-height: 1.2; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.marquee span:nth-of-type(even) { font-style: italic; color: var(--rose-deep); }
.marquee i { flex: none; width: clamp(28px, 4vw, 64px); height: 1px; background: var(--ink); opacity: .4; margin: 0 clamp(20px, 3vw, 48px); }

/* ---------- photo reveal / parallax ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fx-clip img { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s cubic-bezier(.7, 0, .2, 1); }
  .fx-clip.is-in img { clip-path: inset(0 0 0 0); }
  .fx-par img { inset: -8% 0 auto 0; height: 116%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
  .product-grid .product-card:nth-child(4n+2) { transition-delay: .09s; }
  .product-grid .product-card:nth-child(4n+3) { transition-delay: .18s; }
  .product-grid .product-card:nth-child(4n+4) { transition-delay: .27s; }
}

.quiet-note { margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 2; color: var(--body); text-align: center; }
.quiet-note a { margin-left: 1.2em; font-family: var(--serif); color: var(--ink); letter-spacing: .12em; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; transition: color .3s ease; }
.quiet-note a:hover { color: var(--rose-deep); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 240px; padding: 22px 40px; border: 1px solid var(--ivory); color: var(--ivory); font-family: var(--didot); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; overflow: hidden; transition: color .5s ease, border-color .5s ease; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ivory); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.7, 0, .2, 1); }
.btn > span { position: relative; }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: scaleY(1); }
.btn--fill { background: var(--ivory); color: var(--ink); }
.btn--fill::before { background: var(--rose); }
.btn--fill:hover { border-color: var(--rose); }
.btn--ja { font-family: var(--serif); letter-spacing: .16em; font-size: 14px; }

/* ---------- CTA ---------- */
.cta { background: radial-gradient(ellipse 58% 62% at 50% 46%, rgba(156, 90, 84, .5), rgba(156, 90, 84, 0) 70%), var(--ink); color: var(--body-dark); padding: clamp(112px, 16vw, 240px) var(--gutter); text-align: center; }
.cta-inner { max-width: 1040px; margin: 0 auto; }
.cta-title { font-family: var(--serif); font-weight: 400; color: var(--ivory); font-size: clamp(32px, 6.2vw, 96px); line-height: 1.42; letter-spacing: .08em; word-break: auto-phrase; text-wrap: balance; }
.cta .lead { margin: 40px auto 0; max-width: 40em; word-break: auto-phrase; text-wrap: balance; color: var(--ivory); opacity: .86; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 60px; }
.cta-sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-top: 48px; font-family: var(--serif); font-size: 13px; letter-spacing: .16em; }
.cta-sub a { color: var(--ivory); opacity: .78; padding-bottom: 5px; border-bottom: 1px solid var(--line-dark); transition: opacity .3s ease, border-color .3s ease; }
.cta-sub a:hover { opacity: 1; border-color: var(--rose); }

/* ---------- footer v2 ---------- */
.site-footer { padding-bottom: 0; overflow: hidden; }
.footer-bottom { padding-bottom: 36px; }
.footer-word { margin: clamp(8px, 2vw, 32px) calc(var(--gutter) * -1) 0; overflow: hidden; height: .8em; font-size: clamp(96px, 18vw, 330px); line-height: 1; }
.footer-word .marquee-track { align-items: flex-start; }
.footer-word span { font-family: var(--didot); font-weight: 400; font-size: 1em; line-height: 1; letter-spacing: -.01em; white-space: nowrap; color: transparent; background: linear-gradient(180deg, rgba(246, 241, 234, .92) 0%, rgba(210, 147, 142, .5) 55%, rgba(210, 147, 142, .08) 100%); -webkit-background-clip: text; background-clip: text; }
.footer-word span:nth-of-type(even) { font-style: italic; }
.footer-word i { flex: none; width: .5em; height: 1px; background: var(--rose); opacity: .5; margin: .42em .22em 0; }

@media (max-width: 820px) {
  .hero-pin { grid-template-columns: 1fr; min-height: 0; background: radial-gradient(ellipse 110% 30% at 50% 104%, rgba(156, 90, 84, .34), rgba(156, 90, 84, 0) 70%), var(--ink); }
  .hero-photo::after { background: linear-gradient(to top, var(--ink), rgba(30, 21, 18, 0)); z-index: 1; }
  .hero-text { padding-bottom: 72px; }
  .btn { width: 100%; min-width: 0; }
  .cta-actions { flex-direction: column; }
}

/* ---------- ログイン中（管理バー表示時） ---------- */
.admin-bar .site-header, .admin-bar .drawer { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header, .admin-bar .drawer { top: 46px; }
}
