:root {
  --bg: #f7f3ea;
  --tint: #efe8d9;
  --card: #fffdf8;
  --ink: #1e1c1a;
  --ink-sub: #57514a;
  --wood: #8a5a3b;
  --wood-light: #e6d3b8;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS PMincho", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  --numeral: "Didot", "Bodoni 72", "Times New Roman", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  word-break: auto-phrase; line-break: strict;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b, strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); text-wrap: balance; }
.nb { display: inline-block; }
.pc { display: none; }
.sp { display: inline; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 17px; line-height: 1.4; letter-spacing: .06em;
  padding: 17px 40px; border-radius: 0;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--wood); }
.btn:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; }
.btn--small { font-size: 13.5px; padding: 11px 22px; }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--light:focus-visible { outline-color: #fff; }

/* ---------- 誌面の上部（余白をしっかり） ---------- */
.mast { border-top: 8px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 16px 0; background: var(--bg); }
.mast__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.mast__name { font-family: var(--serif); font-weight: 800; font-size: 18px; letter-spacing: .06em; white-space: nowrap; }
.mast .btn { white-space: nowrap; }
.mast__sub { display: none; font-size: 12.5px; letter-spacing: .2em; color: var(--ink-sub); margin-right: auto; padding-left: 20px; }

/* ---------- ヒーロー ---------- */
.hero { padding: 36px 0 0; }
h1 { font-size: clamp(30px, 8.9vw, 52px); line-height: 1.28; font-weight: 800; letter-spacing: -.01em; }
.em { background: linear-gradient(transparent 56%, var(--wood-light) 56% 84%, transparent 84%); padding: 0 .08em; }
.hero__side { margin-top: 24px; }
.lead { font-size: 15.5px; color: var(--ink-sub); margin-bottom: 22px; }
.hero__price { margin-top: 12px; font-size: 14px; color: var(--ink-sub); }
.hero__price strong { font-family: var(--serif); font-size: 24px; color: var(--ink); }

/* スマホ: 見出し → 見比べスライダー → 説明と申し込みボタン の順（スライダーを最初の画面に入れる）。DOMの順は変えない */
.hero { display: flex; flex-direction: column; }
.hero > .wrap:first-child, .hero__head { display: contents; }
.hero h1 { order: 0; padding: 0 20px; }
.hero .cmp-head { order: 1; }
.hero .plate { order: 2; }
.hero__side { order: 3; padding: 0 20px 8px; margin-top: 28px; }

/* ---- 見比べスライダー（誌面の図版の書式：細い罫線・明朝・黒） ---- */
.cmp-head { margin-top: 22px; display: grid; gap: 10px; }
.cmp-title { font-family: var(--serif); font-weight: 800; font-size: clamp(22px, 6.4vw, 28px); line-height: 1.3; }
.cmp-sub { margin-top: 2px; font-size: 13px; color: var(--ink-sub); }
.vtabs { display: inline-flex; justify-self: start; }
.vtab {
  font-family: var(--serif); font-weight: 800; font-size: 15px; letter-spacing: .08em; cursor: pointer;
  padding: 8px 20px; margin-left: -1px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
}
.vtab:first-child { margin-left: 0; }
.vtab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.vtab:focus-visible, .zbtn:focus-visible { outline: 3px solid var(--wood); outline-offset: 2px; position: relative; z-index: 1; }
.vtab--pc { display: none; }

.plate { margin: 18px 0 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--card); }
.cmp {
  --p: 22%; --ar: 3 / 2;
  position: relative; width: 100%; margin: 0 auto; aspect-ratio: var(--ar);
  overflow: hidden; background: var(--card);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y pinch-zoom;       /* 縦スクロールと2本指の拡大は通し、横のドラッグでつまみを動かす */
  cursor: ew-resize;
}
.cmp[data-view="f1"], .cmp[data-view="f2"] { --ar: 1700 / 1360; }
.cmp[data-zoom="left"], .cmp[data-zoom="right"] { --ar: 850 / 1360; }   /* 片側を2倍に拡大（縦は全体のまま） */
html:not(.js) .cmp, html:not(.js) .zoomrow { display: none; }
.cmp__layer { position: absolute; inset: 0; overflow: hidden; }
.cmp__layer--before { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.cmp__layer img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.cmp[data-zoom="left"] .cmp__layer img { width: 200%; left: 0; }
.cmp[data-zoom="right"] .cmp__layer img { width: 200%; left: -100%; }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 48px; margin-left: -24px; display: grid; place-items: center; outline: none; }
.cmp__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--ink); box-shadow: 0 0 0 1px rgba(255, 253, 248, .85); }
.cmp__knob {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--ink); color: #fff; border: 2px solid var(--card);
  transition: transform .15s;
}
.cmp.is-drag .cmp__knob { transform: scale(1.08); }
.cmp__handle:focus-visible .cmp__knob { outline: 3px solid var(--wood); outline-offset: 3px; }
.chip {
  position: absolute; z-index: 2; pointer-events: none;
  font-family: var(--serif); font-weight: 800; font-size: 13px; letter-spacing: .14em;
  padding: 3px 12px; background: var(--card); color: var(--ink); border: 1px solid var(--ink);
}
.chip--l { top: 12px; left: 12px; }
.chip--r { top: 12px; right: 12px; background: var(--ink); color: #fff; }
.chip--note { left: 12px; bottom: 12px; background: rgba(30, 28, 26, .9); color: #fff; border-color: transparent; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; font-size: 12px; }
.ns-img { width: 100%; height: auto; }
.zoomrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; padding-top: 12px; }
.zoomrow__l { font-size: 12.5px; color: var(--ink-sub); margin-right: 4px; }
.zbtn { font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 5px 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.zbtn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plate__cap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding-top: 10px; padding-bottom: 12px; font-size: 13px; color: var(--ink-sub); }
.plate__tap { margin-left: auto; font-size: 12px; }
.fig { font-family: var(--numeral); font-style: italic; font-weight: 700; letter-spacing: .1em; color: var(--wood); font-size: 13px; }


/* ---------- セクション ---------- */
.sec { padding: 64px 0; }
.sec--ink-top { border-top: 1px solid var(--ink); background: var(--tint); }
.sec--tight { padding: 56px 0 64px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--wood); margin-bottom: 14px; }
h2 { font-size: clamp(28px, 8vw, 40px); line-height: 1.3; font-weight: 800; margin-bottom: 22px; }
.h2--s { font-size: clamp(22px, 6vw, 28px); }
.sec__lead { color: var(--ink-sub); margin-bottom: 28px; max-width: 40em; }
.sec__lead strong { color: var(--ink); }
.small { font-size: 13.5px; color: var(--ink-sub); margin-top: 20px; }
.num { display: block; font-family: var(--numeral); font-size: 54px; line-height: 1; color: var(--wood); margin-bottom: 12px; font-weight: 400; }

.cols3 { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.cols3 > li { padding: 22px 0 24px; border-bottom: 1px solid var(--ink); }
.cols3 > li p { font-family: var(--serif); font-size: 19px; line-height: 1.75; font-weight: 600; }
.steps > li h3 { font-size: 21px; margin-bottom: 6px; }
.steps > li p { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--ink-sub); }

/* 何を作るか */
.two { display: grid; gap: 8px; }
.spec { margin-top: 8px; }
.spec > div { padding: 20px 0 22px; border-top: 1px solid var(--ink); }
.spec > div:last-child { border-bottom: 1px solid var(--ink); }
.spec dt { font-family: var(--serif); font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.spec dd { color: var(--ink-sub); font-size: 15.5px; }

/* 作例の部分拡大 */
.gallery { display: grid; gap: 40px; }
.g { margin: 0; }
.g img { border: 1px solid var(--ink); background: var(--card); width: 100%; }
.g figcaption { display: grid; gap: 2px; padding-top: 10px; font-size: 14.5px; color: var(--ink-sub); }
.g figcaption b { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.g figcaption i { font-size: 12px; font-style: normal; color: var(--ink-sub); }
.g--ldk { width: 80%; }
.g--water { width: 64%; margin-left: auto; }
.g--note { font-family: var(--serif); font-weight: 800; font-size: 24px; line-height: 1.55; border-left: 6px solid var(--wood); padding-left: 18px; }
@media (min-width: 760px) { .g--note { font-size: 28px; } }

/* 料金 */
.price { display: grid; gap: 18px; padding: 8px 0 28px; }
.price__label { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--wood); }
.price__num { font-family: var(--numeral); font-size: 92px; line-height: 1.05; font-weight: 400; letter-spacing: -.02em; }
.price__num .yen { font-family: var(--serif); font-size: 32px; font-weight: 800; letter-spacing: 0; margin-left: 6px; }
.price__list li { padding: 10px 0; border-top: 1px solid var(--ink); font-size: 16px; }
.price__list li:last-child { border-bottom: 1px solid var(--ink); font-size: 14px; color: var(--ink-sub); }
.steps { margin-top: 12px; }

/* 送り方のコツ */
.pull { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 8vw, 44px); line-height: 1.35; border-left: 6px solid var(--wood); padding: 2px 0 2px 18px; margin: 4px 0 16px; }
.tips { display: grid; border-top: 2px solid var(--ink); }
.tips li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.tips .num { font-size: 40px; margin: 0; min-width: 34px; }
.tips b { display: block; font-family: var(--serif); font-size: 20px; }
.tips div > span { color: var(--ink-sub); font-size: 15px; }

/* ご注意（読みやすさ優先） */
.notice { border-top: 4px solid var(--ink); }
.notice li { padding: 14px 0; border-bottom: 1px solid #b9b0a0; font-size: 15.5px; line-height: 1.8; }

/* CTA */
.cta {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 3px, rgba(0,0,0,0) 3px 11px), var(--ink);
  color: #f6f1e6; padding: 64px 0 68px;
}
.cta h2 { font-size: clamp(30px, 8.5vw, 52px); line-height: 1.3; margin-bottom: 12px; }
.cta p { color: #d9d1c0; font-size: 15px; }
.cta .btn { margin-top: 26px; }
.cta .cta__small { margin-top: 10px; font-size: 12.5px; color: #b8b0a0; }

.foot { background: #151413; color: #b8b0a0; padding: 28px 0 34px; font-size: 12.5px; line-height: 1.8; }
.foot__icon { width: 52px; height: 52px; border-radius: 50%; margin-bottom: 10px; }

/* ---------- 広い画面 ---------- */
@media (min-width: 760px) {
  body { font-size: 17px; }
  .pc { display: inline; }
  .sp { display: none; }
  .wrap { padding: 0 40px; }
  .mast { padding: 20px 0; }
  .mast__sub { display: block; }
  .btn--small { font-size: 14px; padding: 12px 26px; }
  .hero { padding-top: 44px; }
  .hero__head { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: end; }
  h1 { font-size: clamp(46px, 4.3vw, 68px); }
  .hero__side { margin: 0 0 10px; }
  .hero { display: block; }
  .hero > .wrap:first-child { display: block; }
  .hero__head { display: grid; }
  .hero h1 { padding: 0; }
  .hero__side { padding: 0; }
  .cmp-head { margin-top: 36px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
  .cmp-title { font-size: clamp(34px, 2.8vw, 44px); }
  .cmp-sub { font-size: 15px; }
  .vtab { font-size: 16px; padding: 9px 24px; }
  .vtab--pc { display: inline-block; }
  .plate { margin-top: 22px; }
  .cmp { max-width: 1480px; }
  .cmp[data-view="f1"], .cmp[data-view="f2"] { max-width: min(1180px, calc((100svh - 80px) * 1.25)); }
  .chip { font-size: 14px; padding: 4px 14px; }
  .chip--note { font-size: 13px; }
  .zoomrow { display: none; }
  .plate__cap { max-width: 1240px; font-size: 14px; }
  .sec { padding: 104px 0; }
  .sec--tight { padding: 88px 0 96px; }
  h2 { font-size: clamp(40px, 4.4vw, 60px); margin-bottom: 28px; }
  .h2--s { font-size: 30px; }
  .cols3 { grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
  .cols3 > li { padding: 28px 28px 32px 0; border-bottom: 0; }
  .cols3 > li + li { border-left: 1px solid var(--ink); padding-left: 28px; }
  .cols3 > li p { font-size: 22px; }
  .num { font-size: 76px; }
  .two { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
  .spec > div { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; padding: 26px 0 28px; }
  .spec dt { font-size: 24px; margin: 0; }
  .spec dd { font-size: 16.5px; }
  .gallery { grid-template-columns: repeat(12, 1fr); gap: 56px 32px; align-items: start; }
  .g--ldk { grid-column: 1 / span 5; grid-row: 1; width: auto; }
  .g--2f { grid-column: 6 / span 7; grid-row: 1; }
  .g--water { grid-column: 1 / span 3; grid-row: 2; width: auto; margin: 0; }
  .g--stair { grid-column: 4 / span 5; grid-row: 2; align-self: center; }
  .g--note { grid-column: 9 / span 4; grid-row: 2; align-self: center; }
  .price { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; padding-bottom: 40px; }
  .price__num { font-size: clamp(120px, 14vw, 200px); }
  .price__num .yen { font-size: 44px; }
  .price__list li { font-size: 17px; }
  .tips { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .tips li { padding: 24px 0; }
  .tips b { font-size: 22px; }
  .pull { font-size: clamp(44px, 5vw, 68px); padding-left: 28px; margin-bottom: 20px; }
  .notice li { font-size: 16px; }
  .cta { padding: 110px 0 116px; }
  .cta h2 { font-size: clamp(44px, 5.4vw, 76px); }
  .cta p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* FAQの段 — LP_B/style.css（統合版 LP_BA の style.css）の末尾に追記する。
   既存の .spec（2列のdl）をそのまま使い、FAQだけ少し細くする。 */
.faq dt { font-size: 19px; line-height: 1.5; }
.faq dt::before { content: "Q. "; color: var(--wood); }
.faq dd { max-width: 40em; }
@media (min-width: 768px) {
  .faq dt { font-size: 21px; }
}
