/* ============================================================
   24DRESS — brand stylesheet
   黒のタイプライター書体 × 水彩ピンクの蝶（ロゴ）を軸にした
   ピンク基調のデザインシステム
   ============================================================ */
:root {
  --bg: #FDFCFB;
  --bg-blush: #FAF1F5;
  --bg-soft: #F6E7EE;
  --ink: #221D1C;
  --muted: #6B6060;
  --line: #EDE0E6;
  --rose: #C2497C;
  --rose-deep: #9C3562;
  --rose-soft: #F5DBE7;
  --rose-pale: #FBEFF4;
  --line-green: #06C755;
  --line-green-deep: #05A648;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 44px rgba(156, 53, 98, .13);
  --shadow-soft: 0 4px 20px rgba(120, 60, 90, .08);
  /* type scale — 1.25 modular */
  --fs-display: clamp(2.7rem, 6.2vw, 4.4rem);
  --fs-h1: clamp(1.9rem, 4vw, 2.7rem);
  --fs-h2: clamp(1.55rem, 3.2vw, 2.15rem);
  --fs-h3: 1.14rem;
  --fs-body: .95rem;
  --fs-small: .84rem;
  --fs-caption: .74rem;
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-type: "Courier Prime", "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 2;
  font-size: 15.5px;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--rose-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------ header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253, 252, 251, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(237, 224, 230, .8);
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; flex-direction: column; gap: 2px; flex: none; align-items: flex-start; }
.logo img { height: 26px; width: auto; max-width: none; flex: none; }
.logo small {
  font-family: var(--font-type); font-size: .56rem; letter-spacing: .34em;
  color: var(--muted); padding-left: 2px;
}
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav a:not(.btn) { font-size: .85rem; letter-spacing: .1em; position: relative; padding: 4px 0; }
.gnav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1.5px;
  background: var(--rose); transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.gnav a:not(.btn):hover::after,
.gnav a:not(.btn)[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 32px; border-radius: 999px;
  font-family: var(--font-sans); font-size: .92rem; font-weight: 600; letter-spacing: .08em;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, background .25s, color .25s;
  cursor: pointer; border: none; line-height: 1.6; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 8px 24px rgba(6, 199, 85, .32); }
.btn-line:hover { background: var(--line-green-deep); box-shadow: 0 10px 28px rgba(6, 199, 85, .4); }
.btn-rose { background: linear-gradient(135deg, #D45C8E, var(--rose)); color: #fff; box-shadow: 0 8px 24px rgba(194, 73, 124, .32); }
.btn-rose:hover { box-shadow: 0 10px 30px rgba(194, 73, 124, .42); }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 22px; font-size: .82rem; }
.icon-line { width: 19px; height: 19px; flex: none; }

/* ------------------------------------------------ hero (editorial) */
.hero-ed { position: relative; padding: 108px 0 0; overflow: hidden; }
.hero-ed-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: 0; min-height: 560px;
}
.hero-ed-copy { position: relative; z-index: 3; padding: 40px 0 72px; }
.hero-ed-copy h1 {
  font-family: var(--font-serif);
  /* 「借りて、着て、」7文字+字間(.08em)が (100vw - wrap余白48px) に収まる上限でキャップ */
  font-size: min(var(--fs-display), calc((100vw - 48px) / 8));
  font-weight: 600; line-height: 1.42; letter-spacing: .08em; margin-bottom: 24px;
  margin-right: -22%;
  text-shadow: 0 0 26px var(--bg), 0 0 60px var(--bg);
}
.hero-ed-copy h1 em { font-style: normal; color: var(--rose); }
.hero-ed-copy h1 .h1-unit { display: inline-block; }
.hero-ed-visual { position: relative; z-index: 1; align-self: stretch; }
.hero-ed-visual .main-photo {
  width: calc(100% + max(24px, (100vw - 1140px) / 2)); height: 100%; min-height: 620px;
  object-fit: cover; border-radius: var(--radius) 0 0 var(--radius); display: block;
}
.hero-ed-visual .polaroid {
  position: absolute; left: -46px; bottom: 40px; width: 168px;
  background: #fff; padding: 8px 8px 26px; border-radius: 8px;
  box-shadow: var(--shadow); transform: rotate(-5deg); z-index: 2;
}
.hero-ed-visual .polaroid img { border-radius: 4px; aspect-ratio: 3/4; object-fit: cover; }
.hero-ed-visual .polaroid figcaption { font-family: var(--font-type); font-size: .6rem; letter-spacing: .18em; text-align: center; margin-top: 8px; color: var(--muted); }

/* butterflies */
.butterfly { position: absolute; pointer-events: none; z-index: 4; opacity: .9; }
.butterfly img { width: 100%; height: auto; }
@keyframes flutter {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}
@keyframes flutter-r {
  0%, 100% { transform: translateY(-8px) rotate(7deg); }
  50% { transform: translateY(8px) rotate(-4deg); }
}
.butterfly-1 { width: 74px; top: 116px; left: 47%; animation: flutter 7s ease-in-out infinite; }
.butterfly-2 { width: 46px; top: 300px; left: 40%; animation: flutter-r 9s ease-in-out infinite; }
.butterfly-3 { width: 38px; bottom: 90px; left: 12%; animation: flutter 8s ease-in-out infinite 1.2s; }
@media (prefers-reduced-motion: reduce) { .butterfly { animation: none !important; } }

/* scene navigation */
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scene-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-soft); display: block;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.scene-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.scene-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.scene-tile:hover img { transform: scale(1.05); }
.scene-tile .scene-label {
  position: absolute; inset: auto 0 0 0; padding: 42px 18px 16px;
  background: linear-gradient(transparent, rgba(30, 18, 26, .72));
  color: #fff; font-family: var(--font-serif); font-size: 1.02rem; letter-spacing: .1em;
}
.scene-tile .scene-label small { display: block; font-family: var(--font-type); font-size: .6rem; letter-spacing: .22em; opacity: .8; margin-bottom: 2px; }

.hero { padding: 148px 0 84px; position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  filter: blur(70px); opacity: .55;
}
.hero::before { width: 480px; height: 480px; background: #F6DCE9; top: -120px; right: -100px; }
.hero::after { width: 360px; height: 360px; background: #FBEFF4; bottom: -80px; left: -120px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-type); font-size: .74rem; letter-spacing: .18em;
  color: var(--rose-deep); margin-bottom: 24px; font-weight: 700;
}
.kicker::before { content: ""; width: 36px; height: 1.5px; background: var(--rose); flex: none; }
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  font-weight: 600; line-height: 1.5; letter-spacing: .08em; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--rose); }
.hero-lead { color: var(--muted); font-size: .96rem; margin-bottom: 30px; max-width: 29em; }
.price-tag {
  display: inline-flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 26px; margin-bottom: 32px; box-shadow: var(--shadow-soft);
  position: relative;
}
.price-tag .badge {
  font-size: .7rem; font-weight: 700; color: #fff; background: var(--rose);
  border-radius: 999px; padding: 3px 12px; letter-spacing: .12em; flex: none;
}
.price-tag .yen { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; line-height: 1.2; }
.price-tag .yen small { font-size: .95rem; font-weight: 600; }
.price-tag .note { font-size: .76rem; color: var(--muted); line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.trust { display: flex; gap: 32px; flex-wrap: wrap; }
.trust li { font-size: .78rem; color: var(--muted); }
.trust li strong {
  display: block; font-family: var(--font-serif); font-size: 1.5rem;
  color: var(--ink); line-height: 1.4;
}
.trust li strong span { color: var(--rose); font-size: 1rem; }

.hero-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.hero-imgs figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #fff; padding: 0;
}
.hero-imgs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.hero-imgs figure:nth-child(1) { grid-row: span 2; transform: rotate(-1.2deg); }
.hero-imgs figure:nth-child(1) img { aspect-ratio: 3/4.7; }
.hero-imgs figure:nth-child(2) { transform: rotate(1.4deg) translateY(10px); }
.hero-imgs figure:nth-child(3) { transform: rotate(-.8deg) translateY(-14px); }

/* ------------------------------------------------ sections */
section { padding: 88px 0; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .en {
  font-family: var(--font-type); font-size: .74rem; letter-spacing: .3em;
  color: var(--rose); text-transform: uppercase; display: block; margin-bottom: 12px; font-weight: 700;
}
.sec-head h2 { font-family: var(--font-serif); font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 600; letter-spacing: .1em; line-height: 1.6; }
.sec-head p { color: var(--muted); font-size: .89rem; margin-top: 14px; }

/* features */
.features { background: var(--bg-blush); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 40px 32px;
  text-align: center; box-shadow: var(--shadow-soft);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .f-icon {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--rose-pale); display: flex; align-items: center; justify-content: center;
}
.feature .f-icon svg { width: 27px; height: 27px; stroke: var(--rose-deep); }
.feature h3 { font-family: var(--font-serif); font-size: 1.14rem; margin-bottom: 12px; letter-spacing: .08em; }
.feature p { font-size: .86rem; color: var(--muted); text-align: left; }

/* dress cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dress-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
  display: flex; flex-direction: column;
}
.dress-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dress-card .thumb { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--bg-soft); }
.dress-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.dress-card:hover .thumb img { transform: scale(1.06); }
.dress-card .body { padding: 16px 17px 19px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.dress-card h3 {
  font-size: .84rem; font-weight: 500; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.8em;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: .68rem; padding: 3px 11px; border-radius: 999px;
  background: var(--rose-pale); color: var(--rose-deep); letter-spacing: .05em; font-weight: 600;
}
.dress-card .price { font-size: .76rem; color: var(--muted); margin-top: auto; line-height: 1.7; }
.dress-card .price small { display: block; font-size: .66rem; color: #857A7E; letter-spacing: .02em; }
.dress-card .price strong { font-family: var(--font-serif); font-size: 1.08rem; color: var(--ink); margin-right: 2px; }
.more-wrap { text-align: center; margin-top: 46px; }

/* store 360 */
.store360 { background: var(--bg-blush); }
.pano {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: grab; user-select: none;
  -webkit-user-select: none; touch-action: pan-y;
}
.pano.dragging { cursor: grabbing; }
.pano-track { display: flex; will-change: transform; }
.pano-track img { height: 420px; max-width: none; width: auto; flex: none; pointer-events: none; }
.pano-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  background: rgba(34, 29, 28, .72); color: #fff; font-size: .76rem;
  padding: 8px 20px; border-radius: 999px; letter-spacing: .1em;
  display: flex; align-items: center; gap: 8px; pointer-events: none;
  transition: opacity .5s;
}
.pano-hint.fade { opacity: 0; }
.pano-hint svg { width: 16px; height: 16px; stroke: #fff; }

/* how to + video */
.howto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.step-list { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.step {
  position: relative; padding: 26px 0 26px 74px; border-bottom: 1px dashed var(--line);
}
.step:last-child { border-bottom: none; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 0; top: 24px;
  font-family: var(--font-type); font-size: 1.7rem; font-weight: 700; color: var(--rose);
}
.step h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 8px; letter-spacing: .06em; }
.step p { font-size: .86rem; color: var(--muted); }
.video-card {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #1D1719; position: relative;
  display: flex; justify-content: center;
}
.video-card video { max-height: 540px; width: auto; max-width: 100%; display: block; }
.video-caption {
  font-family: var(--font-type); text-align: center; font-size: .72rem;
  color: var(--muted); letter-spacing: .2em; margin-top: 14px;
}

/* safety */
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.safety-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 22px; transition: border-color .3s, box-shadow .3s;
}
.safety-item:hover { border-color: var(--rose-soft); box-shadow: var(--shadow-soft); }
.safety-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: 9px; display: flex; align-items: center; gap: 9px; }
.safety-item h3 svg { width: 19px; height: 19px; stroke: var(--rose); flex: none; }
.safety-item h3 .s-icon { height: 24px; width: auto; flex: none; }
.safety-item p { color: var(--muted); font-size: .82rem; }

/* reviews */
.reviews { background: var(--bg-blush); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: #fff; border-radius: var(--radius); padding: 28px 26px 24px;
  box-shadow: var(--shadow-soft); font-size: .87rem; position: relative;
  display: flex; flex-direction: column;
}
.review::before {
  content: "“"; font-family: var(--font-serif); font-size: 3.2rem; color: var(--rose);
  /* “の字形インクはemボックス上部~0.35emのみ。boxを切り詰めて本文との間隔を詰める */
  line-height: 1; display: block; height: .35em; margin-bottom: 8px; opacity: .5;
}
.review p { flex: 1; }
.review .stars { color: #E8A33D; letter-spacing: 3px; font-size: .8rem; margin-top: 14px; }
.review .src { font-size: .7rem; color: var(--muted); margin-top: 2px; }

/* faq */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden; transition: border-color .3s;
}
.faq-item.open { border-color: var(--rose-soft); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 19px 54px 19px 24px; font-family: var(--font-sans); font-size: .92rem; font-weight: 600;
  color: var(--ink); position: relative; letter-spacing: .04em; line-height: 1.7;
}
.faq-q::before { content: "Q."; font-family: var(--font-type); font-weight: 700; color: var(--rose); margin-right: 12px; }
.faq-q::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px;
  border-right: 1.5px solid var(--rose); border-bottom: 1.5px solid var(--rose);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22,1,.36,1); }
.faq-a-in { padding: 0 24px 22px; font-size: .87rem; color: var(--muted); white-space: pre-line; }
.faq-search {
  display: block; width: 100%; max-width: 780px; margin: 0 auto 28px;
  padding: 15px 22px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-sans); font-size: .9rem; background: #fff; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.faq-search:focus { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-pale); }

/* line benefits */
.line-benefits { background: var(--bg-blush); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.benefit .b-num { font-family: var(--font-type); font-size: .72rem; font-weight: 700; letter-spacing: .26em; color: var(--rose); display: block; margin-bottom: 12px; }
.benefit h3 { font-size: .98rem; font-weight: 700; margin-bottom: 8px; letter-spacing: .04em; }
.benefit p { font-size: .82rem; color: var(--muted); }

/* detail: availability ask line */
.ask-line { font-size: .78rem; color: var(--muted); line-height: 1.9; }
.ask-line a { color: var(--rose-deep); text-decoration: underline; }

/* column teaser (home) */
.column-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.column-teaser .column-card { margin-bottom: 0; padding: 26px 26px; display: flex; flex-direction: column; }
.column-teaser .column-card h3 { font-family: var(--font-serif); font-size: 1.04rem; letter-spacing: .04em; margin: 8px 0 14px; line-height: 1.7; flex: 1; }

/* scene → related reads */
.scene-reads { max-width: 780px; margin: 30px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: center; }
.scene-reads-label { font-family: var(--font-type); font-size: .7rem; font-weight: 700; letter-spacing: .16em; color: var(--rose-deep); }
.scene-read { font-size: .82rem; color: var(--ink); border-bottom: 1px solid var(--rose-soft); padding-bottom: 2px; transition: border-color .2s; }
.scene-read:hover { border-bottom-color: var(--rose); }

/* column */
.column-list { max-width: 780px; }
.column-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 18px; box-shadow: var(--shadow-soft);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.column-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.column-card time { font-family: var(--font-type); font-size: .7rem; letter-spacing: .18em; color: var(--rose); font-weight: 700; }
.column-card h2 { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: .05em; margin: 8px 0 10px; line-height: 1.7; }
.column-card p { font-size: .85rem; color: var(--muted); }
.column-card .read-more { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--rose-deep); }
.article-prose { max-width: 760px; padding-top: 0; }
.article-prose h1 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.8; }
.article-prose h2 {
  font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: .08em;
  margin: 44px 0 16px; padding-left: 14px; border-left: 3px solid var(--rose); line-height: 1.7;
}
.article-prose p { font-size: .93rem; color: #3E3835; margin-bottom: 18px; line-height: 2.1; }
.article-prose a { color: var(--rose-deep); text-decoration: underline; }
.article-prose strong { color: var(--rose-deep); }
.article-prose .table-scroll { overflow-x: auto; margin: 10px 0 24px; -webkit-overflow-scrolling: touch; }
.article-prose .price-table { margin: 0; font-size: .84rem; min-width: 620px; }
.article-prose .price-table th:first-child { width: 90px; }

/* guide steps with screenshots */
.guide-steps { display: flex; flex-direction: column; gap: 26px; }
.g-step {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 44px; box-shadow: var(--shadow-soft);
}
.g-step:nth-child(even) .g-step-txt { order: 2; }
.g-step:nth-child(even) .g-shot { order: 1; }
.g-num { font-family: var(--font-type); font-size: .74rem; font-weight: 700; letter-spacing: .3em; color: var(--rose); display: block; margin-bottom: 10px; }
.g-step h3 { font-family: var(--font-serif); font-size: 1.3rem; letter-spacing: .08em; margin-bottom: 14px; }
.g-step p { font-size: .9rem; color: #4A443F; }
.g-step p strong { color: var(--rose-deep); }
.g-shot { margin: 0; text-align: center; }
.g-shot img {
  width: 100%; max-width: 250px; height: auto; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(120, 60, 90, .16); display: inline-block;
}
.g-shot figcaption { font-size: .72rem; color: var(--muted); margin-top: 12px; letter-spacing: .04em; }

/* rental period timeline */
.period-sec { background: var(--bg-blush); }
.tl { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; max-width: 880px; margin: 0 auto; }
.tl-end {
  background: #fff; border-radius: 16px; padding: 20px 26px; text-align: center;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line); min-width: 150px;
}
.tl-end small { display: block; font-family: var(--font-type); font-size: .62rem; font-weight: 700; letter-spacing: .26em; color: var(--rose); margin-bottom: 6px; }
.tl-end strong { display: block; font-family: var(--font-serif); font-size: 1.18rem; letter-spacing: .06em; line-height: 1.5; }
.tl-end span { display: block; font-size: .74rem; color: var(--muted); margin-top: 4px; }
.tl-goal { border-color: var(--rose); box-shadow: 0 8px 26px rgba(194,73,124,.18); }
.tl-bar { position: relative; text-align: center; padding: 20px 0 26px; }
.tl-line { display: block; height: 2px; background: repeating-linear-gradient(90deg, var(--rose) 0 10px, transparent 10px 18px); position: relative; }
.tl-line::after { content: ""; position: absolute; right: -1px; top: -4.5px; border: 5.5px solid transparent; border-left: 9px solid var(--rose); }
.tl-label { display: block; font-size: .84rem; font-weight: 700; color: var(--rose-deep); margin-bottom: 14px; letter-spacing: .06em; }
.tl-nights { display: block; font-family: var(--font-type); font-size: .66rem; letter-spacing: .18em; color: var(--muted); margin-top: 12px; }
.howto-video-wrap { max-width: 720px; }

/* map link */
.map-link { display: inline-block; margin-top: 12px; font-size: .84rem; font-weight: 600; color: var(--rose-deep); border-bottom: 1px solid var(--rose); padding-bottom: 2px; transition: opacity .25s; }
.map-link:hover { opacity: .7; }

/* access */
.access-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.access-info dl { display: grid; grid-template-columns: 96px 1fr; gap: 16px 20px; font-size: .92rem; }
.access-info dt { font-weight: 700; color: var(--rose-deep); }
.access-info dd { color: var(--muted); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* cta band */
.cta-band {
  background: linear-gradient(130deg, var(--bg-blush) 0%, var(--rose-pale) 55%, var(--bg-soft) 100%);
  color: var(--ink); text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(212, 92, 142, .16); filter: blur(80px); top: -160px; right: -80px;
}
.cta-band .en { font-family: var(--font-type); font-size: .74rem; letter-spacing: .3em; color: var(--rose); display: block; margin-bottom: 14px; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(1.45rem, 3vw, 2.05rem); letter-spacing: .12em; margin-bottom: 16px; line-height: 1.7; }
.cta-band p { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }

/* footer */
.footer { background: #241D21; color: rgba(255,255,255,.82); padding: 60px 0 32px; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .logo { flex: none; align-items: flex-start; }
.footer .logo img { height: 28px; width: auto; max-width: none; flex: none; }
.footer-note { font-size: .8rem; color: rgba(255,255,255,.72); margin-top: 14px; }
.footer-sns {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--font-type); font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  color: #E8A9C6; border: 1px solid rgba(232,169,198,.4); border-radius: 999px; padding: 8px 18px;
  transition: border-color .25s, color .25s;
}
.footer-sns:hover { color: #fff; border-color: #E8A9C6; }
.footer-sns svg { width: 16px; height: 16px; }
.footer h4 { font-family: var(--font-type); font-size: .74rem; letter-spacing: .28em; color: #E8A9C6; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a { transition: color .25s; }
.footer a:hover { color: #fff; }
.foot-note { text-align: center; font-size: .7rem; color: rgba(255,255,255,.38); margin-bottom: 10px; letter-spacing: .04em; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; text-align: center;
  font-family: var(--font-type); font-size: .72rem; letter-spacing: .14em; color: rgba(255,255,255,.42);
}

/* ------------------------------------------------ catalog */
.page-head { padding: 128px 0 40px; text-align: center; }
.page-head h1 { font-family: var(--font-serif); font-size: clamp(1.65rem, 3.4vw, 2.3rem); letter-spacing: .12em; font-weight: 600; }
.page-head .en { font-family: var(--font-type); font-size: .74rem; letter-spacing: .3em; color: var(--rose); display: block; margin-bottom: 12px; text-transform: uppercase; font-weight: 700; }
.page-head p { color: var(--muted); font-size: .88rem; margin-top: 12px; }
.breadcrumb { padding-top: 86px; }
.breadcrumb + .page-head, .breadcrumb + section { padding-top: 26px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; font-family: var(--font-type); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.breadcrumb li + li::before { content: ""; width: 14px; height: 1px; background: var(--rose); opacity: .55; margin: 0 9px; flex: none; }
.breadcrumb a { color: var(--rose-deep); padding: 2px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.breadcrumb a:hover { border-bottom-color: var(--rose); }
.breadcrumb li[aria-current] span { color: var(--ink); max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.filter-bar {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px;
  position: sticky; top: 68px; z-index: 60;
  background: rgba(253, 252, 251, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 14px 0 12px; border-bottom: 1px solid var(--line);
}
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-label { font-family: var(--font-type); font-size: .74rem; font-weight: 700; color: var(--rose-deep); letter-spacing: .14em; flex: none; width: 56px; }
.chip {
  padding: 8px 17px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-family: var(--font-sans); font-size: .8rem; cursor: pointer;
  transition: all .25s; display: inline-flex; align-items: center; gap: 7px;
}
.chip .sw { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); }
.chip:hover { border-color: var(--rose); }
.chip.on { background: var(--rose); color: #fff; border-color: var(--rose); box-shadow: 0 4px 14px rgba(194,73,124,.3); }
.result-count { font-size: .82rem; color: var(--muted); }
.rc-note { font-size: .76rem; color: var(--muted); margin-left: 8px; }
.result-count strong { font-family: var(--font-serif); font-size: 1.05rem; color: var(--rose-deep); }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.sort-wrap { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.sort-label { font-family: var(--font-type); font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: var(--rose-deep); }
.sort-select {
  appearance: none; -webkit-appearance: none; padding: 8px 34px 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); font-family: var(--font-sans); font-size: .8rem; color: var(--ink); cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C2497C' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  transition: border-color .25s;
}
.sort-select:hover, .sort-select:focus { border-color: var(--rose); outline: none; }
/* mobile filter sheet controls (hidden on desktop) */
.filter-open, .filter-sheet-head, .filter-apply, .filter-backdrop { display: none; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; grid-auto-flow: dense; }
.catalog-grid .dress-card.feature-tile { grid-column: span 2; grid-row: span 2; }
.dress-card .thumb img.alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.dress-card:hover .thumb img.alt { opacity: 1; }

/* ------------------------------------------------ detail */
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; padding-top: 24px; }
.detail-gallery-col { position: sticky; top: 92px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow-soft); }
.gallery-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; background: none; transition: border-color .25s; }
.gallery-thumbs button:hover { border-color: var(--rose-soft); }
.gallery-thumbs button.on { border-color: var(--rose); }
.gallery-thumbs img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.d-info h1 { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.68rem); font-weight: 600; line-height: 1.65; margin-bottom: 10px; }
.d-num { font-family: var(--font-type); font-size: .76rem; color: var(--muted); letter-spacing: .1em; margin-bottom: 16px; }
.d-price-box {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px; margin: 24px 0; box-shadow: var(--shadow-soft);
}
.d-price-box .badge { font-size: .7rem; font-weight: 700; color: #fff; background: var(--rose); border-radius: 999px; padding: 3px 12px; letter-spacing: .12em; flex: none; }
.d-price-box .yen { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; }
.d-price-box .note { font-size: .76rem; color: var(--muted); line-height: 1.7; }
.d-cta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.d-cta .btn { width: 100%; }
.d-sec { margin-bottom: 28px; }
.d-sec h2 {
  font-family: var(--font-type); font-size: .78rem; letter-spacing: .24em; color: var(--rose-deep);
  border-bottom: 1px solid var(--line); padding-bottom: 9px; margin-bottom: 14px; font-weight: 700;
}
.d-sec p { font-size: .89rem; color: #4A443F; white-space: pre-line; }
.size-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: 2px; }
.size-table tr { border-bottom: 1px solid var(--line); }
.size-table tr:last-child { border-bottom: none; }
.size-table th {
  text-align: left; font-weight: 600; color: var(--rose-deep); width: 42%;
  padding: 10px 12px 10px 0; letter-spacing: .04em; white-space: nowrap;
}
.size-table td { text-align: right; font-family: var(--font-serif); color: var(--ink); padding: 10px 0; font-variant-numeric: tabular-nums; }
.size-note { font-size: .74rem !important; color: var(--muted) !important; margin-top: 12px; white-space: normal !important; line-height: 1.8; }
.size-note a { color: var(--rose-deep); text-decoration: underline; }
.d-flow { font-size: .82rem; color: var(--rose-deep); background: var(--rose-pale); border-radius: 12px; padding: 18px 20px; }
.related { padding-top: 44px; }

/* ------------------------------------------------ guide */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); font-size: .9rem; }
.price-table th, .price-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--rose-pale); color: var(--rose-deep); font-size: .78rem; letter-spacing: .12em; }
.price-table td.p { font-family: var(--font-serif); font-weight: 700; white-space: nowrap; }
.note-list { max-width: 780px; margin: 0 auto; font-size: .88rem; color: var(--muted); }
.note-list li { padding-left: 1.5em; position: relative; margin-bottom: 11px; }
.note-list li::before { content: "※"; position: absolute; left: 0; color: var(--rose); }

/* micro-copy under CTAs */
.cta-note { font-size: .76rem; color: var(--muted); margin-top: 4px; max-width: 34em; line-height: 1.8; }
.cta-note-dark { color: var(--muted); margin: 14px auto 0; }
.cta-band .cta-note-dark { max-width: none; }

/* faq category headings */
.faq-cat {
  font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: .12em;
  max-width: 780px; margin: 38px auto 16px; padding-left: 14px;
  border-left: 3px solid var(--rose); scroll-margin-top: 92px;
}
.faq-cat-n { font-family: var(--font-type); font-size: .68rem; font-weight: 700; color: var(--rose); margin-left: 10px; vertical-align: 2px; letter-spacing: .1em; }
.faq-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 780px; margin: 0 auto 10px; }
.faq-jump .chip { text-decoration: none; color: var(--ink); }

/* back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12); cursor: pointer; color: var(--rose-deep);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s, transform .3s, border-color .25s;
}
.to-top svg { width: 15px; height: 15px; stroke: currentColor; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--rose); }
.faq-a-in a { color: var(--rose-deep); text-decoration: underline; }

/* legal pages */
.legal-wrap { max-width: 780px; }
.legal-dl { display: grid; grid-template-columns: 200px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .9rem; }
.legal-dl dt { padding: 16px 20px; background: var(--rose-pale); color: var(--rose-deep); font-weight: 700; border-bottom: 1px solid var(--line); }
.legal-dl dd { padding: 16px 22px; border-bottom: 1px solid var(--line); color: #4A443F; }
.legal-dl dt:last-of-type, .legal-dl dd:last-of-type { border-bottom: none; }
.legal-dl a { color: var(--rose-deep); text-decoration: underline; }
.legal-prose h2 { font-family: var(--font-serif); font-size: 1.1rem; margin: 30px 0 10px; letter-spacing: .08em; }
.legal-prose p { font-size: .9rem; color: #4A443F; }
.legal-prose a { color: var(--rose-deep); text-decoration: underline; }
@media (max-width: 640px) {
  .legal-dl { grid-template-columns: 1fr; }
  .legal-dl dt { border-bottom: none; padding-bottom: 4px; }
}

/* catalog empty state & store-more */
.empty-state {
  text-align: center; padding: 44px 22px; background: var(--rose-pale);
  border-radius: var(--radius); font-size: .9rem; color: var(--rose-deep);
}
.empty-state a { text-decoration: underline; font-weight: 600; }
.store-more { text-align: center; margin-top: 52px; padding: 44px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.store-more-txt { font-family: var(--font-serif); font-size: 1.05rem; line-height: 2.1; letter-spacing: .06em; margin-bottom: 22px; }
.uses-badge {
  display: inline-block; margin-left: 10px; font-family: var(--font-sans);
  font-size: .7rem; font-weight: 700; color: var(--rose-deep);
  background: var(--rose-pale); border-radius: 999px; padding: 2px 12px; letter-spacing: .05em;
}

/* sticky mobile CTA */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(253, 252, 251, .94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { width: 100%; }

/* reveal (JS有効時のみ) */
html.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------ responsive */
@media (max-width: 920px) {
  .gnav {
    position: fixed; inset: 68px 0 auto 0; background: var(--bg);
    flex-direction: column; padding: 28px 24px 32px; gap: 22px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .4s cubic-bezier(.22,1,.36,1);
  }
  .gnav.open { transform: none; }
  .nav-toggle {
    display: block; background: none; border: none; cursor: pointer;
    width: 42px; height: 42px; position: relative;
  }
  .nav-toggle span {
    position: absolute; left: 10px; width: 22px; height: 1.6px; background: var(--ink); transition: all .3s;
  }
  .nav-toggle span:nth-child(1) { top: 15px; }
  .nav-toggle span:nth-child(2) { top: 21px; }
  .nav-toggle span:nth-child(3) { top: 27px; }
  .nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
}
@media (max-width: 960px) {
  .hero-ed-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-ed-copy { padding: 24px 0 34px; }
  .hero-ed-copy h1 { margin-right: 0; }
  .hero-ed-visual .main-photo { width: 100%; min-height: 0; aspect-ratio: 4/5; border-radius: var(--radius); }
  .hero-ed-visual .polaroid { left: auto; right: 14px; bottom: -24px; width: 128px; }
  .butterfly-1 { left: auto; right: 8%; top: 96px; }
  .butterfly-2 { display: none; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catalog-grid .dress-card.feature-tile { grid-column: span 2; grid-row: span 2; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .card-grid, .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .safety-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .column-teaser-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-gallery-col { position: static; }
  .access-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .howto-grid { grid-template-columns: 1fr; gap: 36px; }
  .pano-track img { height: 320px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .hero::before, .hero::after { opacity: .32; }
  section { padding: 58px 0; }
  .hero { padding: 104px 0 56px; }
  .kicker { font-size: .66rem; letter-spacing: .1em; }
  .hero-lead { font-size: .9rem; }
  .price-tag { gap: 12px; padding: 14px 18px; }
  .price-tag .yen { font-size: 1.85rem; }
  .hero-cta .btn { flex: 1; padding: 13px 10px; font-size: .86rem; }
  .trust { gap: 22px; }
  .feature-grid, .review-grid, .safety-grid, .benefit-grid { grid-template-columns: 1fr; }
  .column-card { padding: 22px 20px; }
  .card-grid, .catalog-grid { grid-template-columns: 1fr 1fr; gap: 13px; }
  .tag { font-size: .62rem; padding: 2px 9px; }
  .dress-card .body { padding: 13px 13px 15px; }
  .dress-card h3 { font-size: .78rem; }
  .hero-imgs { gap: 11px; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  body.has-sticky { padding-bottom: 76px; }
  .pano-track img { height: 250px; }
  .step { padding-left: 58px; }
  .filter-label { width: 100%; }
  .price-table th, .price-table td { padding: 13px 14px; }
  .map-frame iframe { height: 300px; }
  .g-step { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .g-step:nth-child(even) .g-step-txt { order: 1; }
  .g-step:nth-child(even) .g-shot { order: 2; }
  .g-shot img { max-width: 220px; }
  .tl { grid-template-columns: 1fr; gap: 12px; }
  .tl-bar { padding: 6px 0; }
  .tl-line { height: 40px; width: 2px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--rose) 0 10px, transparent 10px 18px); }
  .tl-line::after { right: auto; top: auto; bottom: -2px; left: -4.5px; border: 5.5px solid transparent; border-top: 9px solid var(--rose); }
  .tl-label { margin-bottom: 10px; }
  .tl-nights { display: none; }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; }

  /* filter → bottom sheet */
  .filter-open {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 999px; border: 1px solid var(--rose);
    background: #fff; color: var(--rose-deep); font-family: var(--font-sans);
    font-size: .84rem; font-weight: 600; cursor: pointer; margin-bottom: 16px;
  }
  .filter-open::before { content: ""; width: 14px; height: 10px; background: linear-gradient(var(--rose) 0 1.5px, transparent 1.5px 4px, var(--rose) 4px 5.5px, transparent 5.5px 8px, var(--rose) 8px 9.5px, transparent 9.5px); }
  .f-count[hidden] { display: none; }
  .f-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; border-radius: 999px; background: var(--rose);
    color: #fff; font-size: .68rem; font-weight: 700; padding: 0 6px;
  }
  .filter-backdrop { display: block; position: fixed; inset: 0; z-index: 118; background: rgba(30, 18, 26, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .filter-backdrop.show { opacity: 1; pointer-events: auto; }
  .filter-bar {
    position: fixed; top: auto; inset: auto 0 0 0; z-index: 120; margin: 0;
    background: var(--bg); border-radius: 22px 22px 0 0; border-bottom: none;
    box-shadow: 0 -12px 44px rgba(0,0,0,.18);
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
    max-height: 78vh; overflow-y: auto;
    transform: translateY(105%); transition: transform .38s cubic-bezier(.22,1,.36,1);
  }
  .filter-bar.open { transform: none; }
  .filter-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: .1em; margin-bottom: 4px;
  }
  .filter-close { display: block; background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 6px 10px; }
  .filter-apply { display: inline-flex; width: 100%; margin-top: 8px; }
  body.sheet-open { overflow: hidden; }
}
