/* 木凪工務店（架空）— Web工房Pono 自主制作 */
:root { --bg: #F7F5F0; --sand: #EDE8DE; --wood: #9A6B3F; --wood-d: #7D5430; --ink: #1F2420; --sub: #5F655F; --mute: #979C95; --green: #40513F; --line: rgba(31,36,32,.14);
  --mn: "Zen Old Mincho", serif; --jp: "Noto Sans JP", sans-serif; --en: "Jost", sans-serif; --ease: cubic-bezier(.22,.7,.2,1); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-size: 15.5px; line-height: 2; letter-spacing: .05em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--mn); font-weight: 500; line-height: 1.6; margin: 0; letter-spacing: .1em; }
p { margin: 0; } ul, ol, dl, dd, fieldset { margin: 0; padding: 0; list-style: none; border: 0; }
button, input, select { font: inherit; color: inherit; }
svg { display: block; }
.wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.narrow { max-width: 820px; }
.demo-bar { background: #2B302B; color: rgba(255,255,255,.8); font-size: 12px; text-align: center; padding: 7px 14px; line-height: 1.6; position: relative; z-index: 60; }
.demo-bar a { text-decoration: underline; margin-left: 6px; }

/* オープニング */
.op { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; animation: opOut 1s 1.8s var(--ease) forwards; pointer-events: none; }
.op__in { text-align: center; color: var(--wood); }
.op__in svg { width: 64px; height: 64px; margin: 0 auto; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.4s var(--ease) forwards; }
.op__in svg path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.3s var(--ease) forwards; }
.op__in p { margin-top: 16px; font-family: var(--mn); color: var(--ink); letter-spacing: .3em; opacity: 0; animation: fade .8s .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes opOut { to { opacity: 0; visibility: hidden; } }
.is-shot .op, .no-op .op { display: none; }

/* ヘッダー */
.hd { position: fixed; left: 0; right: 0; top: 31px; z-index: 50; display: flex; align-items: center; gap: 28px; height: 84px; padding: 0 32px; color: #fff; transition: background .4s, color .4s, top .3s, height .3s; }
.hd.is-solid { background: rgba(247,245,240,.94); backdrop-filter: blur(10px); color: var(--ink); top: 0; height: 72px; box-shadow: 0 1px 0 var(--line); }
.page .hd { background: rgba(247,245,240,.94); color: var(--ink); }
.lg { display: flex; align-items: center; gap: 12px; }
.lg__m { width: 40px; height: 40px; color: currentColor; }
.lg b { display: block; font-family: var(--mn); font-weight: 700; font-size: 21px; letter-spacing: .2em; line-height: 1.2; }
.lg small { display: block; font-family: var(--en); font-size: 10px; letter-spacing: .3em; opacity: .7; }
.hd__nav { display: flex; gap: 26px; margin-left: auto; font-size: 13.5px; letter-spacing: .1em; }
.hd__nav a { position: relative; padding: 4px 0; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--ease); }
.hd__nav a:hover::after, .hd__nav a.is-cur::after { transform: scaleX(1); }
.hd__req, .hd__ev { height: 44px; display: inline-flex; align-items: center; padding: 0 20px; font-size: 13.5px; letter-spacing: .1em; border: 1px solid currentColor; }
.hd__ev { background: var(--wood); border-color: var(--wood); color: #fff; }
.mb { display: none; }
.dr { display: none; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 56px; padding: 0 30px; border: 1px solid var(--ink); background: transparent; letter-spacing: .12em; font-size: 14.5px; cursor: pointer; transition: .35s; }
.btn svg { width: 28px; height: 12px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--dark { background: var(--ink); color: #fff; } .btn--dark:hover { background: var(--green); border-color: var(--green); }
.btn--wood { background: var(--wood); border-color: var(--wood); color: #fff; } .btn--wood:hover { background: var(--wood-d); }
.btn--full { width: 100%; }
.btn:disabled { opacity: .4; cursor: default; }
.more { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; letter-spacing: .12em; padding-bottom: 6px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.more svg { width: 28px; height: 12px; transition: transform .4s var(--ease); }
.more:hover svg { transform: translateX(6px); }

/* ヒーロー */
.hero { position: relative; height: 100svh; min-height: 640px; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,12,.35), rgba(10,14,12,0) 35%, rgba(10,14,12,.55)); }
.hero__c { position: absolute; left: 7vw; bottom: 16vh; }
.hero__t { font-size: clamp(34px, 4.6vw, 66px); letter-spacing: .2em; line-height: 1.55; }
.hero__t span { display: block; clip-path: inset(0 100% 0 0); animation: wipe 1.6s var(--ease) forwards; animation-delay: 2s; }
.hero__t span + span { animation-delay: 2.3s; }
.is-shot .hero__t span, .no-op .hero__t span { animation-delay: .1s; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.hero__d { margin-top: 18px; font-size: 15px; letter-spacing: .14em; opacity: 0; animation: fade 1s 2.8s forwards; }
.is-shot .hero__d, .no-op .hero__d { animation-delay: .4s; }
.hero__ev { position: absolute; right: 32px; bottom: 32px; display: flex; align-items: center; gap: 16px; width: 380px; padding: 12px; background: rgba(247,245,240,.95); color: var(--ink); transition: transform .4s var(--ease); }
.hero__ev:hover { transform: translateY(-4px); }
.hero__ev img { width: 96px; height: 72px; object-fit: cover; flex: none; }
.hero__ev small { display: block; font-size: 11.5px; color: var(--wood); letter-spacing: .1em; }
.hero__ev b { display: block; font-family: var(--mn); font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.hero__ev em { display: block; font-style: normal; font-size: 12px; color: var(--sub); }
.hero__ev i { margin-left: auto; width: 28px; color: var(--wood); }
.hero__sc { position: absolute; left: 32px; bottom: 0; font-family: var(--en); font-size: 11px; letter-spacing: .3em; writing-mode: vertical-rl; padding-bottom: 80px; }
.hero__sc::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: #fff; animation: sc 2s infinite; transform-origin: top; }
@keyframes sc { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 共通 */
.sec { padding: clamp(90px, 11vw, 150px) 0; }
.sec--t { padding-top: 30px; }
.sec--sand { background: var(--sand); }
.st { margin-bottom: 50px; }
.st__en { font-family: var(--en); font-weight: 400; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--wood); }
.st h2 { margin-top: 10px; font-size: clamp(25px, 2.8vw, 36px); }
.st__l { margin-top: 14px; color: var(--sub); }
.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.row .more { margin-bottom: 58px; }
.h2s { font-size: 20px; margin-bottom: 20px; }
.cap { margin-top: 14px; font-size: 13.5px; color: var(--sub); }
.cap a { text-decoration: underline; color: var(--wood); }
.crumb { font-size: 12px; color: var(--mute); margin-bottom: 24px; }
.crumb a { text-decoration: underline; }

/* イントロ */
.intro { padding: clamp(110px, 13vw, 180px) 0 clamp(90px, 10vw, 140px); }
.intro__in { width: min(980px, calc(100% - 64px)); margin: 0 auto; text-align: center; }
.intro__en { font-family: var(--en); font-size: 13px; letter-spacing: .4em; color: var(--wood); }
.intro__t { margin-top: 20px; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.9; }
.intro__d { margin: 30px auto 0; max-width: 680px; color: var(--sub); text-align: left; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nums li { padding: 30px 10px; }
.nums li + li { border-left: 1px solid var(--line); }
.nums b { font-family: var(--en); font-weight: 300; font-size: clamp(40px, 4.6vw, 62px); line-height: 1; }
.nums span { font-family: var(--mn); font-size: 16px; margin-left: 4px; }
.nums small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--sub); }

/* 施工事例（横スクロール） */
.hs { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(32px, calc((100vw - 1200px) / 2)); cursor: grab; }
.hs::-webkit-scrollbar { display: none; }
.hs.is-drag { cursor: grabbing; scroll-snap-type: none; }
.hs__track { display: flex; gap: 32px; width: max-content; }
.hs .cc { width: min(460px, 78vw); scroll-snap-align: start; }
.hs__ctl { display: flex; align-items: center; gap: 20px; margin-top: 36px; }
.hs__ctl button { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; transition: .3s; }
.hs__ctl button:hover { background: var(--ink); color: #fff; }
.hs__ctl button svg { width: 22px; }
[data-hs-prev] svg { transform: scaleX(-1); }
.hs__bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.hs__bar i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--wood); width: 20%; transition: left .2s, width .2s; }
.cc { display: block; }
.cc__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cc:hover .cc__img img { transform: scale(1.06); }
.cc__view { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--en); font-size: 12px; letter-spacing: .24em; opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.cc__view svg { width: 26px; }
.cc:hover .cc__view { opacity: 1; transform: none; }
.cc__meta { margin-top: 16px; font-size: 12.5px; color: var(--sub); display: flex; gap: 12px; align-items: center; }
.cc__meta span { border: 1px solid var(--wood); color: var(--wood); padding: 0 10px; font-size: 11.5px; }
.cc h3 { font-size: 18px; margin-top: 4px; }

/* 強み（スクロール連動） */
.sg__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); }
.sg__img { position: relative; }
.sg__frame { position: sticky; top: 110px; aspect-ratio: 4 / 5; overflow: hidden; }
.sg__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.sg__frame img.is-on { opacity: 1; transform: none; }
.sg__t { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .6s; }
.sg__t.is-on { opacity: 1; }
.sg__t b { font-family: var(--en); font-weight: 300; font-size: 54px; color: var(--wood); line-height: 1; }
.sg__t h3 { margin-top: 16px; font-size: clamp(22px, 2.2vw, 28px); }
.sg__t p { margin-top: 16px; color: var(--sub); }

/* シミュレーション帯 */
.simband { background: var(--green); color: #EEF0EA; padding: clamp(80px, 10vw, 130px) 0; }
.simband__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.simband .st__en { color: #D7B98F; }
.simband h2 { margin-top: 10px; font-size: clamp(25px, 2.8vw, 36px); }
.simband p:not(.st__en) { margin-top: 16px; opacity: .85; }
.simband .btn { margin-top: 30px; }
.mini { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); padding: 36px 32px; }
.mini p { margin: 0 !important; opacity: 1 !important; }
.mini input { width: 100%; margin: 18px 0 24px; accent-color: #D7B98F; }
.mini b { font-family: var(--en); font-weight: 400; }
.mini__res b { font-size: 54px; line-height: 1; }
.mini__res em { font-style: normal; margin-left: 4px; }
.mini__m { margin-top: 10px !important; font-size: 13.5px; opacity: .8 !important; }
.mini__m b { font-size: 18px; }

/* 流れ（ドラッグで横に） */
.flow__wrap { overflow-x: auto; scrollbar-width: none; padding: 0 max(32px, calc((100vw - 1200px) / 2)) 10px; cursor: grab; }
.flow__wrap::-webkit-scrollbar { display: none; }
.flow__l { display: flex; gap: 0; width: max-content; counter-reset: s; }
.flow__l li { position: relative; width: 260px; padding: 30px 28px 0 0; border-top: 1px solid var(--ink); }
.flow__l li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--wood); }
.flow__l b { font-family: var(--en); font-weight: 400; font-size: 12px; letter-spacing: .24em; color: var(--wood); }
.flow__l h3 { font-size: 19px; margin-top: 4px; }
.flow__l p { margin-top: 8px; font-size: 14px; color: var(--sub); line-height: 1.9; }

/* よくある質問 */
.faq__in { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.faq__img { aspect-ratio: 1 / 1; overflow: hidden; }
.faq__img img { width: 100%; height: 100%; object-fit: cover; }
.faq__t h2 { font-size: clamp(24px, 2.4vw, 32px); }
.faq__l { margin: 26px 0 30px; border-top: 1px solid var(--line); }
.faq__q { border-bottom: 1px solid var(--line); }
.faq__q summary { position: relative; list-style: none; cursor: pointer; padding: 18px 40px 18px 26px; font-family: var(--mn); font-size: 16.5px; line-height: 1.7; }
.faq__q summary::-webkit-details-marker { display: none; }
.faq__q summary::before { content: "Q"; position: absolute; left: 0; font-family: var(--en); color: var(--wood); }
.faq__q summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq__q[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__q p { padding: 0 0 20px 26px; font-size: 14.5px; color: var(--sub); line-height: 1.9; }

/* CTA・フッター */
.cta { display: grid; grid-template-columns: 1fr 1fr; }
.cta__i { position: relative; display: flex; align-items: flex-end; min-height: 380px; padding: 48px; color: #fff; overflow: hidden; }
.cta__i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cta__i::after { content: ""; position: absolute; inset: 0; background: rgba(15,20,16,.5); transition: background .5s; }
.cta__i:hover img { transform: scale(1.06); }
.cta__i:hover::after { background: rgba(15,20,16,.35); }
.cta__i span, .cta__i i { position: relative; z-index: 1; }
.cta__i small { font-family: var(--en); letter-spacing: .32em; font-size: 12px; }
.cta__i b { display: block; font-family: var(--mn); font-weight: 500; font-size: 30px; letter-spacing: .2em; margin-top: 6px; }
.cta__i em { display: block; font-style: normal; font-size: 14px; opacity: .9; margin-top: 8px; }
.cta__i i { margin-left: auto; width: 46px; }
.ft { background: #1E2320; color: rgba(255,255,255,.7); padding: 72px 0 40px; font-size: 13.5px; overflow: hidden; }
.ft__in { width: min(1200px, calc(100% - 64px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; }
.lg--w { color: #fff; }
.ft__ad { margin-top: 22px; line-height: 2; }
.ft__ad small { opacity: .6; }
.ft__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 44px; align-content: start; }
.ft__big { font-family: var(--en); font-weight: 300; font-size: clamp(80px, 20vw, 300px); line-height: .8; letter-spacing: .06em; color: rgba(255,255,255,.06); text-align: center; margin: 50px 0 0; }
.ft__bt { width: min(1200px, calc(100% - 64px)); margin: 20px auto 0; display: flex; justify-content: space-between; font-size: 12px; }
.ft__bt a { text-decoration: underline; }
.spb { display: none; }

/* 下層 */
.ph { padding: 190px 0 50px; }
.ph h1 { margin-top: 10px; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: .2em; }
.ph__l { margin-top: 20px; color: var(--sub); max-width: 680px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 44px; padding: 0 22px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; letter-spacing: .1em; transition: .3s; }
.chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cnt { margin: 26px 0 30px; font-size: 13px; color: var(--sub); }
.cnt b { font-family: var(--en); font-size: 24px; color: var(--ink); font-weight: 400; }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.cc.is-out { display: none; }
.cs-hero { position: relative; height: 86svh; min-height: 520px; color: #fff; overflow: hidden; }
.cs-hero--s { height: 64svh; }
.cs-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,12,.6), rgba(10,14,12,0) 55%); }
.cs-hero__c { position: absolute; left: 7vw; bottom: 9vh; z-index: 1; }
.cs-hero .st__en { color: #E2C9A2; }
.cs-hero h1 { margin-top: 10px; font-size: clamp(28px, 3.6vw, 48px); letter-spacing: .16em; }
.cs-hero p:not(.st__en) { margin-top: 10px; letter-spacing: .12em; }
.cs { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; padding-top: 60px; }
.cs__body { font-size: 16px; line-height: 2.2; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: var(--wood); font-size: 13.5px; }
.cs__spec div { display: grid; grid-template-columns: 96px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cs__spec div:first-child { border-top: 1px solid var(--line); }
.cs__spec dt { color: var(--mute); }
.cg__in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cg__i { margin: 0; overflow: hidden; }
.cg__i:nth-child(3n+1) { grid-column: 1 / -1; }
.cg__i img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cs-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 30px; font-family: var(--mn); }
.cs-nav a:last-child { text-align: right; }
.cs-nav small { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--wood); }
.cs-nav a:nth-child(2) { font-family: var(--jp); font-size: 13.5px; border: 1px solid var(--line); padding: 10px 24px; }
.ba { position: relative; aspect-ratio: 3 / 2; overflow: hidden; --p: 50%; user-select: none; }
.ba > img, .ba__b img { width: 100%; height: 100%; object-fit: cover; }
.ba__b { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba__bar { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; background: #fff; translate: -50% 0; pointer-events: none; }
.ba__bar::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; background: #fff; color: var(--ink); font-size: 10px; padding: 9px 11px; border-radius: 99px; white-space: nowrap; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.ba__l, .ba__r { position: absolute; top: 14px; font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: #fff; background: rgba(0,0,0,.45); padding: 4px 12px; pointer-events: none; }
.ba__l { left: 14px; } .ba__r { right: 14px; background: var(--wood); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 16px 10px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.tbl thead th { font-size: 12.5px; color: var(--mute); }
.tbl td { font-family: var(--en); }

/* シミュレーション */
.sim { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.sim__f fieldset { padding: 30px 0; border-bottom: 1px solid var(--line); }
.sim__f legend { font-family: var(--mn); font-size: 19px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; float: left; width: 100%; }
.sim__f legend + * { clear: both; }
.sim__f legend b { width: 30px; height: 30px; border-radius: 50%; background: var(--wood); color: #fff; font-family: var(--en); font-size: 14px; display: grid; place-items: center; font-weight: 400; }
.sl { display: flex; align-items: center; gap: 24px; }
.sl input { flex: 1; accent-color: var(--wood); }
.sl p { white-space: nowrap; font-family: var(--mn); }
.sl p b { font-family: var(--en); font-size: 38px; font-weight: 300; }
.sl p small { font-family: var(--jp); color: var(--sub); }
.hint { margin-top: 8px; font-size: 13px; color: var(--sub); }
.seg { display: grid; grid-template-columns: 1fr 1fr; }
.seg label, .gr, .op2 { cursor: pointer; }
.seg input, .gr input, .op2 input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 14px; border: 1px solid var(--line); transition: .25s; }
.seg small { color: var(--sub); font-size: 12px; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:checked + span small { color: rgba(255,255,255,.7); }
.gr { display: block; }
.gr + .gr { margin-top: 10px; }
.gr span { display: block; padding: 18px 20px; border: 1px solid var(--line); background: #fff; transition: .25s; }
.gr b { font-family: var(--mn); font-weight: 500; font-size: 17px; }
.gr em { font-style: normal; font-size: 13px; color: var(--wood); margin-left: 12px; }
.gr small { display: block; font-size: 13px; color: var(--sub); }
.gr input:checked + span { border-color: var(--wood); box-shadow: inset 0 0 0 1px var(--wood); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.op2 span { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; font-size: 14px; transition: .25s; }
.op2 em { font-style: normal; color: var(--wood); white-space: nowrap; }
.op2 input:checked + span { border-color: var(--wood); background: #FBF6EE; box-shadow: inset 0 0 0 1px var(--wood); }
.loan2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.loan2 label { display: grid; gap: 6px; font-size: 13px; color: var(--sub); }
select, input[type=text], input[type=tel], input[type=email] { height: 50px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-size: 15px; border-radius: 0; width: 100%; }
select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235F655F' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 11px; }
.sim__r { position: sticky; top: 100px; background: #fff; padding: 34px 32px; border: 1px solid var(--line); }
.sim__rt { font-size: 13px; color: var(--sub); }
.sim__total { margin-top: 6px; }
.sim__total b { font-family: var(--en); font-weight: 300; font-size: 64px; line-height: 1; }
.sim__total em { font-style: normal; font-family: var(--mn); margin-left: 4px; }
.bars { display: flex; height: 10px; margin: 22px 0 18px; background: var(--sand); overflow: hidden; }
.bars span { width: var(--w); transition: width .6s var(--ease); }
.b1, .d1 { background: var(--wood); } .b2, .d2 { background: #C9A57A; } .b3, .d3 { background: var(--green); }
.sim__dl div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.sim__dl dt { display: flex; align-items: center; gap: 8px; color: var(--sub); }
.sim__dl dt i { width: 10px; height: 10px; }
.sim__dl b { font-family: var(--en); font-weight: 400; font-size: 17px; }
.sim__m { margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.sim__m b { font-family: var(--en); font-weight: 400; font-size: 32px; color: var(--wood); }
.sim__m small { display: block; text-align: right; font-size: 12px; color: var(--sub); }
.sim__note { font-size: 12px; color: var(--mute); margin-bottom: 18px; }

/* 見学会 */
.evs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ev { background: #fff; display: flex; flex-direction: column; }
.ev__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.ev__img img { width: 100%; height: 100%; object-fit: cover; }
.ev__k { position: absolute; left: 0; top: 0; background: var(--wood); color: #fff; font-size: 12px; padding: 6px 14px; letter-spacing: .1em; }
.ev__b { padding: 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ev__d { font-family: var(--en); color: var(--wood); font-size: 14px; }
.ev h3 { font-size: 19px; }
.ev__p { font-size: 13px; color: var(--sub); line-height: 1.8; }
.ev__seat { margin: 12px 0 18px; font-size: 13px; }
.ev__seat b { font-family: var(--en); font-size: 22px; color: var(--wood); font-weight: 500; }
.ev__seat i { display: block; height: 4px; background: var(--sand); margin-top: 6px; position: relative; }
.ev__seat i::after { content: ""; position: absolute; inset: 0; background: var(--wood); transform-origin: left; transform: scaleX(var(--p)); }
.ev .btn { margin-top: auto; }
.rsvm { position: fixed; inset: 0; z-index: 200; background: rgba(15,20,16,.55); display: grid; place-items: center; padding: 16px; }
.rsvm[hidden] { display: none; }
.rsvm__b { position: relative; background: var(--bg); width: min(560px, 100%); max-height: 92svh; overflow-y: auto; padding: 36px 32px; animation: up .5s var(--ease); }
@keyframes up { from { opacity: 0; transform: translateY(20px); } }
.rsvm__x { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 28px; cursor: pointer; }
.rsvm__t { font-family: var(--mn); font-size: 20px; padding-right: 30px; }
.rsvm__steps, .req__prog { display: flex; margin: 20px 0 26px; counter-reset: s; }
.rsvm__steps li, .req__prog li { flex: 1; text-align: center; font-size: 12.5px; color: var(--mute); padding-top: 12px; border-top: 2px solid var(--line); transition: .3s; }
.rsvm__steps li.is-on, .req__prog li.is-on { color: var(--ink); border-color: var(--wood); }
.req__prog b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); font-family: var(--en); font-weight: 400; margin-right: 6px; }
.req__prog li.is-on b { background: var(--wood); color: #fff; }
.rsvm__p, .req__p { display: none; }
.rsvm__p.is-on, .req__p.is-on { display: grid; gap: 14px; animation: up .4s var(--ease); }
.lbl { font-size: 13px; color: var(--sub); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.pick button { height: 46px; padding: 0 18px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-family: var(--en); font-size: 15px; transition: .2s; }
.pick button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pick button:disabled { opacity: .35; text-decoration: line-through; cursor: default; }
.rsvm label, .req label { display: grid; gap: 6px; font-size: 13px; color: var(--sub); }
.chk { display: flex !important; align-items: center; gap: 10px; }
.chk input { width: 18px; height: 18px; accent-color: var(--wood); }
.rsvm__nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 6px; }
.conf div { display: grid; grid-template-columns: 110px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.conf dt { color: var(--mute); }

/* 資料請求 */
.req { background: #fff; padding: 40px; border: 1px solid var(--line); }
.bks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bk { cursor: pointer; }
.bk input { position: absolute; opacity: 0; }
.bk span { display: block; padding: 12px; border: 1px solid var(--line); transition: .25s; position: relative; }
.bk img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: 0 10px 20px -12px rgba(0,0,0,.4); }
.bk b { display: block; margin-top: 10px; font-family: var(--mn); font-weight: 500; font-size: 15px; }
.bk small { font-size: 12px; color: var(--sub); line-height: 1.6; display: block; }
.bk span::after { content: "✓"; position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--wood); color: #fff; display: grid; place-items: center; font-size: 13px; transform: scale(0); transition: transform .3s var(--ease); }
.bk input:checked + span { border-color: var(--wood); box-shadow: inset 0 0 0 1px var(--wood); }
.bk input:checked + span::after { transform: scale(1); }
.tags2 { display: flex; flex-wrap: wrap; gap: 8px; }
.tags2 label { display: inline; cursor: pointer; }
.tags2 input { position: absolute; opacity: 0; }
.tags2 span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink); transition: .2s; }
.tags2 input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.req__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req__err { color: #B4442F; font-size: 13px; }
input.is-err { border-color: #B4442F; }

/* 会社 */
.msg { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.msg p { margin-top: 20px; color: var(--sub); }
.lead { font-size: clamp(24px, 2.6vw, 32px); }
.sign { text-align: right; font-family: var(--mn); color: var(--ink) !important; }
.msg__img { aspect-ratio: 4 / 3; overflow: hidden; }
.msg__img img { width: 100%; height: 100%; object-fit: cover; }

/* モーダル */
.modal { position: fixed; inset: 0; z-index: 250; background: rgba(15,20,16,.55); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__b { background: var(--bg); padding: 40px 32px; max-width: 460px; text-align: center; animation: up .4s var(--ease); }
.modal__t { font-family: var(--mn); font-size: 20px; }
.modal__d { margin: 14px 0 26px; font-size: 14.5px; color: var(--sub); }

.rv { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .12s; } .rv-d2 { transition-delay: .24s; } .rv-d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .op { display: none; } .hero__t span { clip-path: none; animation: none; } .hero__d { opacity: 1; animation: none; } }

@media (max-width: 1100px) {
  .hd__nav, .hd__req { display: none; }
  .hd__ev { margin-left: auto; }
  .mb { display: flex; flex-direction: column; justify-content: center; gap: 8px; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 0 12px; color: inherit; }
  .mb i { display: block; height: 1.5px; background: currentColor; transition: .3s; }
  .is-open .mb i:first-child { transform: translateY(4.75px) rotate(25deg); }
  .is-open .mb i:last-child { transform: translateY(-4.75px) rotate(-25deg); }
  .is-open .hd { background: var(--bg); color: var(--ink); }
  .dr { display: flex; flex-direction: column; justify-content: center; position: fixed; inset: 0; z-index: 40; background: var(--bg); padding: 100px 32px 40px; opacity: 0; visibility: hidden; transition: .4s; }
  .is-open .dr { opacity: 1; visibility: visible; }
  .dr nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--mn); font-size: 21px; }
  .dr nav small { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--wood); }
  .dr__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .dr__btns a { text-align: center; padding: 14px; border: 1px solid var(--ink); }
  .dr__btns a:last-child { background: var(--wood); color: #fff; border-color: var(--wood); }
  .cgrid, .evs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sim { grid-template-columns: 1fr; }
  .sim__r { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .wrap, .ft__in, .ft__bt, .intro__in { width: calc(100% - 40px); }
  .demo-bar { font-size: 11px; }
  .hd { height: 64px; padding: 0 10px 0 18px; gap: 8px; top: 48px; }
  .hd.is-solid { height: 60px; }
  .lg__m { width: 34px; height: 34px; }
  .lg b { font-size: 18px; }
  .lg small { font-size: 8.5px; }
  .hd__ev { height: 38px; padding: 0 12px; font-size: 12px; }
  .hero { min-height: 600px; }
  .hero__c { left: 20px; right: 20px; bottom: 170px; }
  .hero__t { font-size: 30px; }
  .hero__d { font-size: 13.5px; }
  .hero__ev { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 10px; }
  .hero__ev img { width: 74px; height: 56px; }
  .hero__sc { display: none; }
  .sec { padding: 80px 0; }
  .st { margin-bottom: 32px; }
  .row { flex-direction: column; align-items: flex-start; gap: 0; }
  .row .more { margin-bottom: 34px; }
  .nums { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .nums li:nth-child(3) { border-left: 0; }
  .nums li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hs { padding: 0 20px; }
  .hs__track { gap: 16px; }
  .sg__in, .simband__in, .faq__in, .cs, .msg { grid-template-columns: 1fr; gap: 36px; }
  .sg__img { display: none; }
  .faq__img { aspect-ratio: 16 / 10; }
  .faq__q summary { font-size: 15.5px; }
  .sg__t { min-height: 0; opacity: 1; padding: 30px 0; border-top: 1px solid var(--line); }
  .sg__t::before { content: ""; display: block; aspect-ratio: 16 / 10; background: var(--img) center / cover; margin-bottom: 20px; }
  .mini { padding: 26px 22px; }
  .mini__res b { font-size: 46px; }
  .flow__wrap { padding: 0 20px 10px; }
  .flow__l li { width: 230px; }
  .cta { grid-template-columns: 1fr; }
  .cta__i { min-height: 260px; padding: 30px 24px; }
  .cta__i b { font-size: 24px; }
  .ft { padding-bottom: 110px; }
  .ft__in { flex-direction: column; }
  .ft__bt { flex-direction: column; gap: 6px; }
  .spb { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(247,245,240,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .spb.is-on { transform: none; }
  .spb a { display: grid; place-items: center; height: 48px; border: 1px solid var(--line); font-size: 13px; background: #fff; }
  .spb a.is-main { background: var(--wood); color: #fff; border-color: var(--wood); }
  .ph { padding: 150px 0 30px; }
  .cgrid, .evs { grid-template-columns: 1fr; gap: 40px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; }
  .chips button { flex: none; height: 40px; padding: 0 16px; }
  .cs-hero { height: 64svh; }
  .cs-hero__c { left: 20px; right: 20px; }
  .cg__in { grid-template-columns: 1fr; gap: 12px; }
  .cs-nav { grid-template-columns: 1fr 1fr; font-size: 14px; }
  .cs-nav a:nth-child(2) { display: none; }
  .opts, .loan2, .req__2 { grid-template-columns: 1fr; }
  .sl p b { font-size: 32px; }
  .sim__total b { font-size: 52px; }
  .sim__r { padding: 26px 22px; }
  .rsvm__b { padding: 28px 20px; }
  .req { padding: 26px 18px; }
  .bks { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bk span { padding: 6px; }
  .bk b { font-size: 12.5px; line-height: 1.5; }
  .bk small { display: none; }
}
/* デモ帯を上に固定し、ヘッダーはその下に */
.demo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 70; }
.hd, .hd.is-solid { top: var(--db, 31px) !important; }
.sg__t { min-height: 56vh; }
@media (max-width: 760px) { .hd, .hd.is-solid { top: var(--db, 48px) !important; } .ph { padding-top: 160px; } }
