/* scripts/build-site.mjs が site/_src/css/ から書き出す (手で直さない) */
/* ZEROYON bankin. ホームページの見た目 (scripts/build-site.mjs が site4.css とつないで site/site.css に書き出す)
   base.css = 色・字・余白・カード・ヒーローの絵・輪の図などの土台 / site4.css = 会社のサイトの作り。 */
body{margin:0}

/* ===== 書体の決まり (案7 と同じ) =====
   和文: Zen Kaku Gothic New (今のサイトと同じ) 400/500/700/900 ・ 数字と英字: Roboto 500/700 (どちらもアプリと同じ)
   大きさ: display / h2 / h3 / h4 / lead / body 17 / cap 13 + 数字 2 段 */
.p{
  --f-jp:'Zen Kaku Gothic New','Hiragino Sans','Hiragino Kaku Gothic ProN','Yu Gothic UI','Meiryo',sans-serif;
  --f-num:'Roboto','Helvetica Neue',Arial,var(--f-jp);
  --t-display:clamp(38px,5vw,64px);
  --t-h2:clamp(28px,3vw,40px);
  --t-h3:clamp(21px,1.7vw,24px);
  --t-h4:19px;
  --t-lead:clamp(17px,1.4vw,20px);
  --t-body:17px;
  --t-cap:13px;
  --t-num-l:clamp(40px,3.4vw,48px);
  --t-num-m:clamp(26px,2vw,30px);
  --ink:#26344a;--navy:#3b5578;--navy-d:#2c4160;--accent:#e8682a;--accent-ink:#a8440f;--tint:#fff4ec;--bg:#f2f4f6;--line:#dfe3e8;--sub:#56637a;
  font-family:var(--f-jp);font-size:var(--t-body);font-weight:400;line-height:1.9;letter-spacing:.04em;color:var(--ink);background:#fff;
  box-sizing:border-box;overflow-x:clip;-webkit-font-smoothing:antialiased;word-break:keep-all;line-break:strict;overflow-wrap:break-word}
.p *{box-sizing:border-box}
/* 単語の途中で改行しない: 日本語の字の間では折り返さず (keep-all)、ビルドが文節の区切りに入れた <wbr> と
   句読点の所でだけ折り返す。入りきらない長い英数字だけ、最後の手として途中で折る (break-word)。 */
.p p{margin:0;text-wrap:pretty}
.p li,.p dd,.p dt{text-wrap:pretty}
.p input,.p textarea{word-break:normal}
.k{display:inline-block}
@media (max-width:760px){.p br.pc{display:none}}
.display,.h2,.h3,.h4{margin:0;text-wrap:balance;font-feature-settings:"palt" 1;letter-spacing:.02em}
.display{font-size:var(--t-display);font-weight:900;line-height:1.3}
.h2{font-size:var(--t-h2);font-weight:900;line-height:1.45}
.h3{font-size:var(--t-h3);font-weight:700;line-height:1.55}
.h4{font-size:var(--t-h4);font-weight:700;line-height:1.6}
.lead{font-size:var(--t-lead);font-weight:500;line-height:1.85}
.cap{font-size:var(--t-cap);line-height:1.8;letter-spacing:.06em}
.eyebrow{font-size:14px;font-weight:700;letter-spacing:.12em;color:var(--accent-ink)}
.n{font-family:var(--f-num);font-weight:700;letter-spacing:-.005em;font-variant-numeric:tabular-nums lining-nums;line-height:1.1}
.n.l{font-size:var(--t-num-l)}
.n.m{font-size:var(--t-num-m)}
.u{font-family:var(--f-jp);font-weight:700;font-size:.45em;margin-left:.06em;letter-spacing:0}
.en{font-family:var(--f-num)}
.sub{color:var(--sub)}
a{color:inherit;text-decoration:none}
.c{width:min(1200px,100% - 48px);margin:0 auto}
.sec{padding:clamp(64px,8vw,104px) 0}
.head{display:flex;flex-direction:column;gap:6px;margin-bottom:clamp(28px,4vw,44px)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 28px;border-radius:10px;font-weight:700;font-size:var(--t-body);letter-spacing:.06em;border:2px solid var(--navy);background:#fff;color:var(--navy);white-space:nowrap;font-family:inherit;cursor:pointer}
.btn.o{background:var(--accent);border-color:var(--accent);color:#fff}
.card{background:#fff;border:1.5px solid var(--line);border-radius:14px}
.grid{display:grid;gap:clamp(16px,2vw,24px)}
.g2{grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.g4{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.chk{display:flex;gap:10px;align-items:baseline}
.chk::before{content:"";flex:none;width:18px;height:10px;border-left:3px solid var(--accent);border-bottom:3px solid var(--accent);transform:rotate(-45deg) translateY(-3px)}
.phone{width:min(300px,78vw);border-radius:44px;background:#1d2533;padding:11px;box-shadow:0 34px 70px -18px rgba(30,45,70,.4),inset 0 0 0 2px #3a4456}
.phone img{display:block;width:100%;height:auto;border-radius:34px}
.shot-top{height:270px;overflow:hidden;display:flex;justify-content:center;align-items:flex-start;padding-top:22px;background:#e9edf2}
.shot-top .frame{width:230px;border:7px solid #1d2533;border-bottom:0;border-radius:30px 30px 0 0;overflow:hidden;background:#fff}
.shot-top img{display:block;width:100%;height:auto}
.browser{border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 30px 60px -24px rgba(30,45,70,.35);border:1px solid var(--line)}
.browser .bar{height:34px;background:#eceff3;display:flex;align-items:center;gap:7px;padding:0 14px}
.browser .bar i{width:11px;height:11px;border-radius:50%;background:#cfd5dd}
.browser img{display:block;width:100%;height:auto}
table.cmp{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;line-height:1.7}
table.cmp th,table.cmp td{padding:16px 20px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
table.cmp thead th{font-size:14px;letter-spacing:.06em;background:var(--bg)}
table.cmp td.me{background:var(--tint);font-weight:700}
details{border-bottom:1px solid var(--line)}
summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:22px 4px;font-weight:700;font-size:var(--t-h4);line-height:1.6;min-height:44px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:var(--f-num);font-weight:500;color:var(--accent);font-size:24px;line-height:1.2}
details[open] summary::after{content:"−"}
details p{padding:0 4px 24px;color:var(--sub)}
.f-row{display:flex;flex-direction:column;gap:8px}
.f-row label{font-weight:700;font-size:15px}
.f-row input,.f-row select,.f-row textarea{font:inherit;font-size:17px;border:2px solid #ccd3dc;border-radius:10px;padding:12px 14px;min-height:52px;background:#fff;color:var(--ink);letter-spacing:.02em}
.req{color:var(--accent-ink);font-size:13px;margin-left:6px}
@media (max-width:760px){.p .pcnav{display:none !important}.p .badge{display:none}.p figure[style*="span 2"]{grid-column:auto !important}table.cmp,table.cmp tbody{display:block}table.cmp thead{display:none}table.cmp tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line)}table.cmp tbody tr:last-child{border-bottom:0}table.cmp th[scope=row]{grid-column:1/-1;padding:16px 16px 4px;border-bottom:0}table.cmp td{padding:6px 16px 16px;border-bottom:0 !important;font-size:15px}table.cmp td::before{content:attr(data-label);display:block;font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--sub);margin-bottom:2px}table.cmp td.me::before{color:var(--accent-ink)}}

/* ── トップページの部品 ── */
.skip-link{position:absolute;left:12px;top:-60px;z-index:200;background:var(--ink,#26344a);color:#fff;padding:11px 18px;border-radius:0 0 10px 10px;font-size:14px;font-weight:700;transition:top .18s}
.skip-link:focus{top:0}
.site-header{position:sticky;top:0;z-index:50}
.nav-toggle{display:none;min-height:46px;min-width:46px;padding:0 14px;border-radius:10px;border:2px solid var(--navy);background:#fff;color:var(--navy);font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.form-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#form-msg{display:none;border-radius:10px;padding:12px 16px;font-size:15px}
#form-msg.show{display:block}
#form-msg.success{background:var(--tint);color:var(--accent-ink)}
#form-msg.error{background:#fdecec;color:#a12626}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media (max-width:760px){
  .nav-toggle{display:inline-flex;align-items:center;margin-left:auto}
  .site-header .hdr-cta{display:none}
}
@media (prefers-reduced-motion:reduce){.skip-link{transition:none}}


/* ══════════ 部品 ══════════ */
html{scroll-behavior:smooth;scroll-padding-top:88px}
.navy{color:var(--navy)}.accent{color:var(--accent)}
.bg{background:var(--bg)}
.p p a,.faq a,.consent a{text-decoration:underline;text-underline-offset:3px}
.site-header{border-bottom:1px solid var(--line);background:#fff}
.hdr{min-height:80px;display:flex;align-items:center;gap:28px;position:relative}
.logo img{height:42px;width:auto;display:block}
.pcnav{margin-left:auto;display:flex;gap:26px;font-size:15px;font-weight:500}
.pcnav a.active{color:var(--accent-ink)}
.hdr-cta{min-height:46px;padding:0 20px;font-size:15px}
.btns{display:flex;gap:14px;flex-wrap:wrap}

/* ヒーロー */
.hero{background:var(--bg)}
.hero-in{align-items:center;padding:clamp(40px,5vw,72px) 0}
.hero-copy{display:flex;flex-direction:column;gap:24px}
.hero-copy .lead{max-width:30em}
.note{border-left:3px solid var(--accent);padding-left:14px;font-size:15px;font-weight:500}
.demo-fig{margin:0;justify-self:center;display:flex;flex-direction:column;align-items:center;gap:14px}
.demo-fig figcaption,.ai-art figcaption{font-size:14px;font-weight:500}
.demo{border-radius:34px;overflow:hidden;background:#fff}
.demo svg{display:block;width:100%;height:auto}

/* 屋根の図 (共通) */
.plan .fill{fill:#fff4ec}
.plan .ol{fill:none;stroke:#3b5578;stroke-width:2.6;stroke-linejoin:round}
.plan .rl path{fill:none;stroke:#3b5578;stroke-linecap:round}
.plan .rl-ridge{stroke-width:2.6}
.plan .rl-hip{stroke-width:1.7}
.plan .rl .rl-valley{stroke:#e8682a;stroke-width:2.2}
.plan .seams path{fill:none;stroke:#e8682a;stroke-width:1;opacity:.8}
.plan .chip rect{fill:#3b5578}
.plan .chip-o rect{fill:#e8682a}
.plan .chip text{fill:#fff;font:700 9px/1 'Roboto','Zen Kaku Gothic New',sans-serif;text-anchor:middle;letter-spacing:0}
.plan .chip{transform-box:fill-box;transform-origin:center}
.plan-noseam .seams{display:none}

/* 手書きのメモ (共通) */
.memo .paper{fill:#fbf7ea;filter:drop-shadow(0 6px 10px rgba(30,45,70,.28))}
.memo .rule{fill:none;stroke:#cdd8e6;stroke-width:.8}
.memo .ink{fill:none;stroke:#27408b;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.memo .hand{font:400 14px/1 'Yomogi','Klee One','Comic Sans MS',cursive;fill:#27408b;text-anchor:middle;letter-spacing:0}
.memo .hand-s{font-size:12.5px}

/* ヒーローの動き。印 (data-phase) が無いときは完成の絵 */
.demo .bg,.demo .memo,.demo .ai,.demo .plan,.demo .pill-t,.demo .foot-t,.demo .roof-name,.demo .pill-bg,.demo .dot{transition:opacity .6s ease,fill .6s ease}
.demo .bg-desk{fill:#dfe5ec;opacity:0}
.demo .bg-ai{opacity:0}
.demo .bg-plan{fill:#fff}
.demo .memo{opacity:0;transform-box:fill-box;transform-origin:center;transform:rotate(0deg);transition:opacity .7s ease,transform .9s cubic-bezier(.3,.8,.3,1)}
.demo .ai{opacity:0}
.demo .pt{fill:#ff9a55;stroke:#fff;stroke-width:1.5;transform-box:fill-box;transform-origin:center}
.demo .spark{fill:#ffd9b8}
.demo .pill-bg{fill:#3b5578}
.demo .pill-t{fill:#fff;font:700 14px/1 'Zen Kaku Gothic New',sans-serif;text-anchor:middle;letter-spacing:.06em;opacity:0}
.demo .foot-t{fill:#26344a;font:700 14px/1 'Zen Kaku Gothic New',sans-serif;text-anchor:middle;letter-spacing:.04em;opacity:0}
.demo .roof-name{fill:#26344a;font:700 13px/1 'Zen Kaku Gothic New',sans-serif;text-anchor:middle;letter-spacing:.06em}
.demo .dot{fill:#cfd5dd}
.demo .t4,.demo:not([data-phase]) .t4{opacity:1}
.demo .d4{fill:#e8682a}
.demo[data-phase] .t4{opacity:0}
.demo[data-phase] .d4{fill:#cfd5dd}
.demo[data-phase="1"] .t1,.demo[data-phase="2"] .t2,.demo[data-phase="3"] .t3,.demo[data-phase="4"] .t4{opacity:1}
.demo[data-phase="1"] .d1,.demo[data-phase="2"] .d2,.demo[data-phase="3"] .d3,.demo[data-phase="4"] .d4{fill:#e8682a}

.demo[data-phase="1"] .bg-desk{opacity:1}
.demo[data-phase="1"] .bg-grid,.demo[data-phase="2"] .bg-grid{opacity:0}
.demo[data-phase="1"] .bg-plan,.demo[data-phase="2"] .bg-plan{opacity:0}
.demo[data-phase="1"] .plan,.demo[data-phase="2"] .plan{opacity:0}
.demo[data-phase="1"] .roof-name,.demo[data-phase="2"] .roof-name{opacity:0}
.demo[data-phase="1"] .memo,.demo[data-phase="2"] .memo{opacity:1;transform:rotate(-3.5deg) scale(.9)}
.demo[data-phase="1"] .plan{transition-duration:.2s}
.demo[data-phase="1"] .ink{animation:draw .5s ease-out backwards}
.demo[data-phase="1"] .i0{animation-duration:1.1s}
.demo[data-phase="1"] .i1{animation-delay:1.0s}.demo[data-phase="1"] .i2{animation-delay:1.15s}
.demo[data-phase="1"] .i3{animation-delay:1.3s}.demo[data-phase="1"] .i4{animation-delay:1.4s}
.demo[data-phase="1"] .i5{animation-delay:1.5s}.demo[data-phase="1"] .i6{animation-delay:1.6s}
.demo[data-phase="1"] .i7{animation-delay:1.7s}.demo[data-phase="1"] .i8{animation-delay:1.8s}
.demo[data-phase="1"] .i9{animation-delay:1.9s}
.demo[data-phase="1"] .hands{animation:fade .6s ease 2.1s backwards}

.demo[data-phase="2"] .bg-ai{opacity:1}
.demo[data-phase="2"] .ai{opacity:1}
.demo[data-phase="2"] .pill-bg{fill:#e8682a}
.demo[data-phase="2"] .foot-t{fill:#fff}
.demo[data-phase="2"] .dot{fill:#56637a}
.demo[data-phase="2"] .d2{fill:#ff9a55}
.demo[data-phase="2"] .scan{animation:scan 1.5s cubic-bezier(.4,0,.6,1) 2}
.demo[data-phase="2"] .pt{animation:pop .4s ease-out backwards}
.demo[data-phase="2"] .p0{animation-delay:.5s}.demo[data-phase="2"] .p1{animation-delay:.6s}
.demo[data-phase="2"] .p6{animation-delay:.8s}.demo[data-phase="2"] .p7{animation-delay:.85s}
.demo[data-phase="2"] .p8{animation-delay:.95s}.demo[data-phase="2"] .p5{animation-delay:1.1s}
.demo[data-phase="2"] .p4{animation-delay:1.15s}.demo[data-phase="2"] .p9{animation-delay:1.3s}
.demo[data-phase="2"] .p2{animation-delay:1.45s}.demo[data-phase="2"] .p3{animation-delay:1.5s}
.demo[data-phase="2"] .spark{animation:twinkle 1.2s ease-in-out infinite}
.demo[data-phase="2"] .s2{animation-delay:.3s}.demo[data-phase="2"] .s3{animation-delay:.6s}.demo[data-phase="2"] .s4{animation-delay:.9s}

/* 図が組み上がる: 外形 → 棟 → 隅棟 → 谷 → 寸法 */
.demo[data-phase="3"] .plan .ol,.draw-on.in .plan .ol{animation:draw 1.1s ease-in-out backwards}
.demo[data-phase="3"] .plan .rl-ridge,.draw-on.in .plan .rl-ridge{animation:draw .45s ease-out 1.1s backwards}
.demo[data-phase="3"] .plan .rl-hip,.draw-on.in .plan .rl-hip{animation:draw .5s ease-out 1.5s backwards}
.demo[data-phase="3"] .plan .rl-valley,.draw-on.in .plan .rl-valley{animation:draw .45s ease-out 2s backwards}
.demo[data-phase="3"] .plan .chip,.draw-on.in .plan .chip{animation:pop .35s ease-out 2.5s backwards}
.plan .chip:nth-child(2){animation-delay:2.62s !important}.plan .chip:nth-child(3){animation-delay:2.74s !important}
.plan .chip:nth-child(4){animation-delay:2.86s !important}.plan .chip:nth-child(5){animation-delay:2.98s !important}
.plan .chip:nth-child(6){animation-delay:3.1s !important}.plan .chip:nth-child(7){animation-delay:3.3s !important}
.plan .chip:nth-child(8){animation-delay:3.42s !important}.plan .chip:nth-child(9){animation-delay:3.54s !important}
.demo[data-phase="3"] .plan .fill{fill:#fff}
.demo[data-phase="3"] .plan .seams{opacity:0}
/* 割付の線 */
.demo[data-phase="4"] .plan .fill{animation:tint .8s ease backwards}
.demo[data-phase="4"] .plan .seams path{animation:draw 1.3s ease-out backwards}
.draw-on.in .plan .fill{animation:tint .8s ease 4s backwards}
.draw-on.in .plan .seams path{animation:draw 1.3s ease-out 4.2s backwards}
.demo[data-phase="4"] .plan .seams path:nth-child(3n+2){animation-delay:.2s}
.demo[data-phase="4"] .plan .seams path:nth-child(3n){animation-delay:.4s}
.js .draw-on:not(.in) .plan{opacity:0}

@keyframes draw{from{stroke-dasharray:1;stroke-dashoffset:1}to{stroke-dasharray:1;stroke-dashoffset:0}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes pop{from{opacity:0;transform:scale(.3)}60%{opacity:1;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}
@keyframes tint{from{fill:#fff}to{fill:#fff4ec}}
@keyframes scan{from{transform:translateY(0)}to{transform:translateY(670px)}}
@keyframes twinkle{0%,100%{opacity:.2}50%{opacity:1}}

/* 3 つの特長 */
.points{background:var(--navy);color:#fff}
.points-in{padding:26px 0;gap:0}
.points-in>div{padding:10px 22px;border-left:1px solid rgba(255,255,255,.3);display:flex;flex-direction:column}
.points-in span{font-size:15px}

/* 何が楽になるか */
.ba{align-items:stretch}
.ba-before{display:flex;flex-direction:column}
.ba-list{display:flex;flex-direction:column;gap:12px}
.ba-list .card{padding:16px 20px}
.ba-after{position:relative;overflow:hidden;background:var(--navy);color:#fff;border-radius:18px;padding:clamp(28px,4vw,44px);display:flex;flex-direction:column;gap:18px}
.ba-after>*{position:relative}
.ba-after .ba-sky{position:absolute;inset:0 0 auto auto;width:100%;height:120px}
.ba-after .eyebrow{color:#ffc7a8}
.ba-after .h2{color:#fff}
.ba-chk{display:flex;flex-direction:column;gap:14px}
.ba-dream{margin-top:auto !important;padding-top:10px;font-size:var(--t-h3);font-weight:900;color:#ffc7a8;line-height:1.5}

/* できること */
.steps{align-items:stretch}
.step{overflow:hidden;display:flex;flex-direction:column}
.step-art{background:#eef1f5;padding:18px 18px 10px;display:flex;justify-content:center}
.step-art svg{width:min(230px,70%);height:auto;display:block}
.step-art .doc-t{font:700 13px/1 'Roboto',sans-serif;text-anchor:middle;letter-spacing:.02em}
.step-txt{padding:22px 26px 28px;display:flex;flex-direction:column;gap:8px}
.pdf-row{margin-top:clamp(16px,2vw,24px);padding:24px 28px;display:flex;gap:22px;align-items:flex-start;background:var(--tint);border-color:#f3c9ae}

/* AI */
.ai-sec{background:linear-gradient(180deg,#fff 0,#fff4ec 100%)}
.ai-in{align-items:center;gap:clamp(28px,4vw,56px)}
.ai-copy{display:flex;flex-direction:column;gap:18px}
.ai-free{border-left:3px solid var(--accent);padding-left:14px}
.ai-art{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.ai-art svg{width:100%;height:auto;display:block}
.ai-arrow circle{fill:var(--accent)}
.ai-arrow path{fill:none;stroke:#fff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.ai-arrow .spark{fill:var(--accent);stroke:none}

/* 安全 */
.sec-sec{background:linear-gradient(155deg,#2c4160 0,#1b2538 100%);color:#fff}
.sec-in{align-items:center;gap:clamp(28px,5vw,72px)}
.sec-copy{display:flex;flex-direction:column;gap:22px}
.sec-sec .eyebrow{color:#ffc7a8}
.sec-h{color:#fff}
.sec-h .k:last-child{color:#ffb07a}
.sec-lead{font-weight:700}
.sec-facts{display:grid;gap:14px}
.sec-facts>div{border:1.5px solid rgba(255,255,255,.28);border-radius:14px;padding:18px 22px;display:flex;flex-direction:column;gap:4px;background:rgba(255,255,255,.06)}
.sec-facts b{color:#ffc7a8}
.sec-close{font-weight:700}
.loop{margin:0;justify-self:center;width:min(440px,100%)}
.loop svg{width:100%;height:auto;display:block}
.loop-ring{fill:none;stroke:rgba(255,255,255,.22);stroke-width:2;stroke-dasharray:3 9}
.loop-arcs path{fill:none;stroke:#ffb07a;stroke-width:5;stroke-linecap:round}
.loop-orbit{transform-origin:210px 210px;animation:orbit 8s linear infinite}
.loop-orbit circle{fill:#fff;stroke:#e8682a;stroke-width:4}
.loop-node rect{fill:#fff}
.loop-node text{fill:#26344a;font:900 21px/1 'Zen Kaku Gothic New',sans-serif;text-anchor:middle;letter-spacing:.04em}
.loop-node rect{animation:node 8s linear infinite}
.loop-node.n2 rect{animation-delay:2s}.loop-node.n3 rect{animation-delay:4s}.loop-node.n4 rect{animation-delay:6s}
.shield{fill:rgba(255,255,255,.1);stroke:#fff;stroke-width:4;stroke-linejoin:round}
.shield-ok{fill:none;stroke:#ffb07a;stroke-width:9;stroke-linecap:round;stroke-linejoin:round}
@keyframes orbit{to{transform:rotate(360deg)}}
@keyframes node{0%{fill:#ffc7a8}12%{fill:#ffc7a8}22%,100%{fill:#fff}}

/* 版 */
.ed{padding:28px;display:flex;flex-direction:column;gap:10px}
.ed-tag{align-self:flex-start;font-size:14px;font-weight:700;border-radius:6px;padding:0 10px;line-height:1.9;border:1.5px solid var(--navy);color:var(--navy);background:#fff}
.ed.now{border:3px solid var(--accent)}
.ed.now .ed-tag{background:var(--accent);border-color:var(--accent);color:#fff}

/* 料金 */
.prices{align-items:stretch}
.price{padding:30px;display:flex;flex-direction:column;gap:12px;position:relative}
.price p{font-size:16px}
.price .btn{margin-top:auto}
.price-main{border:3px solid var(--accent)}
.price-tag{position:absolute;top:-15px;left:24px;background:var(--accent);color:#fff;font-weight:700;font-size:14px;border-radius:6px;padding:0 10px;line-height:1.9}
.price-u{font-size:20px}
.price-note{margin-top:20px !important;font-weight:500}

/* よくある質問 */
.faq-in{align-items:start}
.faq{padding:8px 28px}
.faq details:last-child{border-bottom:0}
.faq details p{color:var(--ink)}

/* めざす未来 */
.vision{position:relative;overflow:hidden;background:linear-gradient(180deg,#141b28 0,#26344a 70%,#3b5578 100%);color:#fff;text-align:center}
.vision-sky{position:absolute;left:0;right:0;bottom:0;width:100%;height:min(300px,46%)}
.vision-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:22px;padding:clamp(72px,9vw,120px) 0 clamp(230px,26vw,330px)}
.vision .eyebrow{color:#ffc7a8}
.vision .display .k:last-child{color:#ffb07a}
.vision-body{max-width:38em;text-align:left}
.vision .btns{justify-content:center}
.btn.ghost{background:transparent;border-color:#fff;color:#fff}

/* お問い合わせ */
.contact-in{align-items:start;gap:clamp(28px,5vw,72px)}
.contact-copy{display:flex;flex-direction:column;gap:18px}
.contact-copy .head{margin:0}
.contact-card{padding:18px 22px;background:var(--tint);border-color:#f3c9ae}
.mail{font-weight:700;color:var(--navy)}
.form{padding:clamp(24px,3vw,36px);display:flex;flex-direction:column;gap:18px}
.consent{display:flex;gap:12px;align-items:center;min-height:44px;font-size:15px}
.consent input{width:22px;height:22px;flex:none;accent-color:var(--accent)}
.form .btn{width:100%}

/* フッター */
.site-footer{background:var(--ink);color:#dbe2ea;padding:56px 0 28px}
.foot-grid{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:32px}
.foot-col{display:flex;flex-direction:column;gap:6px;font-size:15px}
.foot-col b{color:#fff}
.foot-logo{background:#fff;border-radius:6px;padding:6px 12px;width:fit-content}
.foot-logo img{height:26px;width:auto;display:block}
.foot-copy{margin:44px auto 0 !important;padding-top:20px;border-top:1px solid rgba(255,255,255,.15);font-size:14px}

/* 出てくる動き */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.js .reveal.in{opacity:1;transform:none}

@media (max-width:760px){
  .hdr{min-height:64px}
  .logo img{height:32px}
  .points-in>div{border-left:0;border-top:1px solid rgba(255,255,255,.3);padding:12px 4px}
  .points-in>div:first-child{border-top:0}
  .pdf-row{flex-direction:column;gap:6px}
  .faq{padding:4px 18px}
  .vision-body{font-size:16px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .p *,.p *::before,.p *::after{animation:none !important;transition:none !important}
  .js .reveal{opacity:1;transform:none}
  .js .draw-on:not(.in) .plan{opacity:1}
}

/* ══════════ 会社のサイトの作り (ヘッダー・各ページ・お知らせ・法務) ══════════ */
.tlink{font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:4px}
.tlink::after{content:"";display:inline-block;width:8px;height:8px;margin-left:8px;border-top:2.5px solid var(--accent);border-right:2.5px solid var(--accent);transform:rotate(45deg) translateY(-2px)}

/* ヘッダー (PC): 会社について / 製品 ▼ / 安全への取り組み / サポート + ボタン */
.site-header{z-index:60}
.pcnav{align-items:center;gap:6px;font-size:16px;font-weight:700}
.pcnav>a,.nav-btn{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 14px;border-radius:10px;color:var(--ink)}
.nav-btn{font:inherit;letter-spacing:inherit;background:none;border:0;cursor:pointer}
.pcnav>a:hover,.nav-btn:hover,.nav-btn[aria-expanded="true"]{background:var(--bg)}
.pcnav>a[aria-current],.nav-btn[data-current]{color:var(--accent-ink);box-shadow:inset 0 -3px 0 var(--accent);border-radius:10px 10px 0 0}
.caret{width:12px;height:8px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
.nav-btn[aria-expanded="true"] .caret{transform:rotate(180deg)}
.nav-prod{position:relative}
.prod-menu{display:none;position:absolute;top:100%;left:-12px;padding-top:12px;width:360px}
.prod-list{background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:8px;box-shadow:0 24px 48px -20px rgba(30,45,70,.4);display:flex;flex-direction:column}
.nav-prod.open .prod-menu{display:block}
html:not(.js) .nav-prod:hover .prod-menu,html:not(.js) .nav-prod:focus-within .prod-menu{display:block}

/* 製品の行 (PC の ▼ とスマホのドロワーで同じ) */
.ed-row{display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:10px;min-height:68px}
.ed-row:hover{background:var(--bg)}
.ed-ico{flex:none;width:48px;height:48px;border-radius:12px;background:var(--bg);display:grid;place-items:center}
.ed-ico .ico{width:30px;height:30px;fill:none;stroke:var(--navy);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;display:block}
.now>.ed-ico{background:var(--tint)}
.now>.ed-ico .ico{stroke:var(--accent)}
.ed-ico.lg{width:72px;height:72px;border-radius:18px}
.ed-ico.lg .ico{width:44px;height:44px}
.ed-row-t{display:flex;flex-direction:column;line-height:1.5}
.ed-row-t b{font-size:17px}
.ed-row-t span{font-size:14px;font-weight:500;color:var(--navy)}
.ed-row.now .ed-row-t span{color:var(--accent-ink)}
.ed-row::after{content:"";margin-left:auto;margin-right:6px;width:9px;height:9px;border-top:2.5px solid #9aa6b6;border-right:2.5px solid #9aa6b6;transform:rotate(45deg)}

/* スマホのドロワー */
.p .nav-toggle{display:none;align-items:center;gap:8px;margin-left:auto}
.nav-toggle::before{content:"";width:18px;height:12px;border-top:2.5px solid currentColor;border-bottom:2.5px solid currentColor;background:linear-gradient(currentColor,currentColor) 0 50%/100% 2.5px no-repeat}
.drawer{position:fixed;inset:0;z-index:100;visibility:hidden;transition:visibility 0s .25s}
.drawer.open{visibility:visible;transition:none}
.drawer-bg{position:absolute;inset:0;background:rgba(20,27,40,.55);opacity:0;transition:opacity .25s}
.drawer.open .drawer-bg{opacity:1}
.drawer-panel{position:absolute;top:0;right:0;bottom:0;width:min(380px,90vw);background:#fff;overflow-y:auto;overscroll-behavior:contain;padding:10px 20px 40px;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .25s ease;box-shadow:-20px 0 50px -20px rgba(20,27,40,.5)}
.drawer.open .drawer-panel{transform:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;min-height:54px;font-size:18px}
.drawer-x{width:46px;height:46px;margin-right:-10px;border:0;background:none;border-radius:10px;cursor:pointer;display:grid;place-items:center;color:var(--ink)}
.drawer-x svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.drawer-cta{width:100%;margin:6px 0 22px}
.drawer-label{font-size:14px;letter-spacing:.12em;color:var(--accent-ink);padding:0 2px 4px}
.drawer-prods{display:flex;flex-direction:column;margin:0 -10px}
.drawer-links{display:flex;flex-direction:column;margin-top:14px;padding-top:8px;border-top:1.5px solid var(--line)}
.drawer-links a{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 2px;font-weight:500;border-bottom:1px solid var(--line)}
.drawer-links a::after{content:"";margin-right:8px;width:8px;height:8px;border-top:2px solid #9aa6b6;border-right:2px solid #9aa6b6;transform:rotate(45deg)}
html.drawer-open{overflow:hidden}
@media (max-width:980px){
  .p .pcnav{display:none}
  .site-header .hdr-cta{display:none}
  .p .nav-toggle{display:inline-flex}
}
@media (min-width:981px){.drawer{display:none}}

/* トップ: 会社が何をしているか */
.co-hero{background:linear-gradient(180deg,#fff 0,var(--bg) 100%);padding:clamp(48px,6vw,88px) 0 clamp(48px,6vw,80px)}
.co-hero-in{align-items:center;gap:clamp(28px,4vw,56px)}
.co-copy{display:flex;flex-direction:column;gap:20px}
.co-art{margin:0}
.co-art svg{width:100%;height:auto;display:block}
.h-ground{fill:none;stroke:#c9d1db;stroke-width:3;stroke-linecap:round}
.h-wall{fill:#fff;stroke:#26344a;stroke-width:3;stroke-linejoin:round}
.h-wall-g{fill:#e9edf2}
.h-win{fill:#dfe6ee;stroke:#26344a;stroke-width:2.5;stroke-linejoin:round}
.h-roof{fill:#ffe3d0;stroke:none}
.h-seam{fill:none;stroke:#e8682a;stroke-width:2.5}
.h-roof-edge{fill:none;stroke:#e8682a;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.h-acc{fill:none;stroke:#3b5578;stroke-width:9;stroke-linecap:round}
.h-acc-e{stroke-width:6}
.h-gut{fill:none;stroke:#7d8ca3;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.h-pipe{stroke-width:7}
.h-chip rect{fill:#fff;stroke:#3b5578;stroke-width:2.5}
.h-chip text{fill:#26344a;font:900 18px/1 'Zen Kaku Gothic New',sans-serif;text-anchor:middle;letter-spacing:.06em}
.h-chip-now rect{fill:#e8682a;stroke:#e8682a}
.h-chip-now text{fill:#fff}
.h-lead{fill:none;stroke:#26344a;stroke-width:2;stroke-dasharray:2 5;stroke-linecap:round;opacity:0}
.h-ghost{fill:none;stroke:#9aa6b6;stroke-width:2;stroke-dasharray:3 7;stroke-linecap:round;stroke-linejoin:round}

/* 図面 (家の絵の 3 枚と、開発予定のページの絵で同じ) */
.d-paper{fill:#fff;stroke:#3b5578;stroke-width:2}
.d-grid{fill:none;stroke:#e6ebf1;stroke-width:1}
.d-fill{fill:#fff4ec}
.dl{fill:none;stroke:#3b5578;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1}
.dl-thin{stroke-width:1.6}
.dl-dim{stroke:#7d8ca3;stroke-width:1.6}
.dl-tube{stroke-width:10;stroke-linecap:butt}
.dl-tube-in{stroke:#fff;stroke-width:4.4;stroke-linecap:butt}
.h-d-roof .dl,.art-roof .dl{stroke:#e8682a}
.h-d-roof .dl-navy,.art-roof .dl-navy{stroke:#3b5578;stroke-width:4.4}
.h-d-roof .dl-dim,.art-roof .dl-dim{stroke:#7d8ca3}
.d-drops circle{fill:#7d8ca3;opacity:0}
.co-art .d-drops{display:none}

/* お知らせ */
.notice{background:var(--navy);color:#fff}
.notice-in{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;padding:18px 0}
.notice-t{flex:none;border:1.5px solid rgba(255,255,255,.6);border-radius:6px;padding:0 12px;font-size:14px;line-height:2}
.notice p{flex:1 1 20em;font-weight:500}
.notice .tlink{color:#fff}
.notice .tlink::after{border-color:#ffb07a}

/* 製品のカード */
.ed-cards{align-items:stretch}
.card.ed{padding:28px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;transition:transform .18s,box-shadow .18s}
.card.ed:hover{transform:translateY(-3px);box-shadow:0 20px 40px -22px rgba(30,45,70,.45)}
.card.ed .ed-ico{margin-bottom:6px}
.ed-more{margin-top:auto;padding-top:10px;font-weight:700;color:var(--navy);display:inline-flex;align-items:center}
.ed-more::after{content:"";width:8px;height:8px;margin-left:10px;border-top:2.5px solid var(--accent);border-right:2.5px solid var(--accent);transform:rotate(45deg)}

/* お問い合わせへの帯 */
.cta-band{background:var(--navy);color:#fff}
.cta-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;padding:clamp(44px,6vw,72px) 0}
.cta-band .h2{color:#fff}

/* 下の階層のページの頭 */
.page-head{background:linear-gradient(180deg,#fff 0,var(--bg) 100%);padding:clamp(48px,6vw,84px) 0 clamp(44px,5vw,68px)}
.page-head-in{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.page-head .display{font-size:clamp(34px,4.2vw,54px)}
.page-head .lead{max-width:34em}
.coming .ed-tag{margin-top:6px}

/* 屋根のページの中の目次 */
.localnav{background:var(--bg);border-bottom:1px solid var(--line)}
.localnav-in{display:flex;align-items:center;gap:4px 6px;min-height:52px;overflow-x:auto;white-space:nowrap;font-size:15px;font-weight:700}
.localnav-t{font-size:17px;margin-right:auto;padding-right:16px}
.localnav a{display:block;flex:none;white-space:nowrap;line-height:44px;padding:0 12px;border-radius:8px;color:var(--navy)}
@media (hover:hover){.localnav a:hover{background:#fff}}
.faq-more{margin-top:10px !important}

/* 会社について */
.why{align-items:stretch;gap:clamp(28px,4vw,56px)}
.why-copy{display:flex;flex-direction:column;gap:18px}
.why-copy .head{margin-bottom:6px}
.dream{justify-content:flex-end;min-height:320px}
.op-in{align-items:start}
.op{padding:12px 28px 24px}
.op dl{margin:0}
.op dl>div{display:grid;grid-template-columns:8em 1fr;gap:4px 20px;padding:16px 0;border-bottom:1px solid var(--line)}
.op dt{font-weight:700}
.op dd{margin:0}
.op-more{margin-top:20px !important}

/* フッター: 製品 / 会社 / サポート / 法務 */
.foot-grid{grid-template-columns:1.5fr repeat(4,1fr)}
.foot-eds{display:contents}
.foot-col a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.foot-brand{gap:10px}
@media (max-width:980px){.foot-grid{grid-template-columns:1fr 1fr}.foot-brand{grid-column:1/-1}}

@media (max-width:760px){
  .op dl>div{grid-template-columns:1fr}
  .op{padding:8px 18px 20px}
  .cta-in .btns,.cta-in .btn{width:100%}
  .localnav-t{display:none}
  .localnav-in{width:100%;padding:0 12px}
}
/* ══════════ 動く絵 ══════════
   止めたとき (動きを減らす設定) の形を、いつもの形として書く。動きは @keyframes の中だけ。
   .mv = 画面に入ったら app.js が .on (見えている間) と .seen (1 回見えた) を付ける。 */
.js .mv:not(.on),.js .mv:not(.on) *{animation-play-state:paused !important}

/* 家の絵: 家 → 屋根・副資材・雨樋が浮いて離れる → 図面に変わる → 止まる → 戻る (14 秒でひとまわり) */
.h-s,.h-d{transform-box:fill-box;transform-origin:center}
.h-s{opacity:0}
.h-all{animation:h-all 7s infinite}
.h-ghost{animation:h-ghost 7s infinite}
.h-s-roof{animation:h-roof 7s infinite}
.h-s-ridge{animation:h-ridge 7s infinite}
.h-s-eave{animation:h-eave 7s infinite}
.h-s-gut{animation:h-gut 7s infinite}
.h-d{animation:h-d 7s infinite}
.h-d-accessories{animation-name:h-d2}
.h-d-gutter{animation-name:h-d3}
.co-art .dl{animation:h-ink 7s infinite}
.co-art .dl-b{animation-name:h-ink-b}
.co-art .d-fill{animation:h-tint 7s infinite}
.h-chip-roof{animation:h-c-roof 7s infinite}
.h-chip-acc{animation:h-c-acc 7s infinite}
.h-chip-gut{animation:h-c-gut 7s infinite}
.h-lead{animation:h-lead 7s infinite}
@keyframes h-all{0%,12%,100%{transform:translateY(-50px)}26%,93%{transform:none}}
@keyframes h-ghost{0%,14%,94%,100%{opacity:0}28%,88%{opacity:1}}
@keyframes h-roof{0%,12%,100%{opacity:1;transform:none}26%,34%{opacity:1;transform:translate(0,-62px)}40%{opacity:1}46%,88%{opacity:0;transform:translate(-187px,-149px) scale(.3)}88.01%{opacity:0;transform:translate(0,-62px)}93%{opacity:1;transform:translate(0,-62px)}}
@keyframes h-ridge{0%,12%,100%{opacity:1;transform:none}26%,34%{opacity:1;transform:translate(0,-104px)}40%{opacity:1}46%,88%{opacity:0;transform:translate(-14px,-88px) scale(.3)}88.01%{opacity:0;transform:translate(0,-104px)}93%{opacity:1;transform:translate(0,-104px)}}
@keyframes h-eave{0%,12%,100%{opacity:1;transform:none}26%,34%{opacity:1;transform:translate(-30px,-24px)}40%{opacity:1}46%,88%{opacity:0;transform:translate(57px,-210px) scale(.3)}88.01%{opacity:0;transform:translate(-30px,-24px)}93%{opacity:1;transform:translate(-30px,-24px)}}
@keyframes h-gut{0%,12%,100%{opacity:1;transform:none}26%,34%{opacity:1;transform:translate(-58px,8px)}40%{opacity:1}46%,88%{opacity:0;transform:translate(231px,-281px) scale(.3)}88.01%{opacity:0;transform:translate(-58px,8px)}93%{opacity:1;transform:translate(-58px,8px)}}
@keyframes h-d{0%,37%{opacity:0;transform:translateY(14px) scale(.88)}45%,88%{opacity:1;transform:none}92%,100%{opacity:0;transform:none}}
@keyframes h-d2{0%,39%{opacity:0;transform:translateY(14px) scale(.88)}47%,88%{opacity:1;transform:none}92%,100%{opacity:0;transform:none}}
@keyframes h-d3{0%,41%{opacity:0;transform:translateY(14px) scale(.88)}49%,88%{opacity:1;transform:none}92%,100%{opacity:0;transform:none}}
@keyframes h-ink{0%,43%{stroke-dashoffset:1}56%,100%{stroke-dashoffset:0}}
@keyframes h-ink-b{0%,50%{stroke-dashoffset:1}63%,100%{stroke-dashoffset:0}}
@keyframes h-tint{0%,56%{opacity:0}64%,100%{opacity:1}}
@keyframes h-c-roof{0%,12%,100%{transform:translate(140px,179px)}26%,34%,93%{transform:translate(140px,167px)}45%,88%{transform:none}}
@keyframes h-c-acc{0%,12%,100%{transform:translate(70px,61px)}26%,34%,93%{transform:translate(70px,7px)}45%,88%{transform:none}}
@keyframes h-c-gut{0%,12%,100%{transform:translate(6px,327px)}26%,34%,93%{transform:translate(-52px,385px)}45%,88%{transform:none}}
@keyframes h-lead{0%,34%,93%,100%{opacity:1}39%,89%{opacity:0}}

/* 製品のアイコン: 見えたら線を引く */
.js .mv:not(.seen) .ed-ico.lg .ico path{stroke-dasharray:130;stroke-dashoffset:130}
.mv.seen .ed-ico.lg{animation:ico-pop .6s ease-out var(--d,0s) backwards}
.mv.seen .ed-ico.lg .ico path{stroke-dasharray:130;animation:ico-draw .9s ease-out calc(var(--d,0s) + .2s) backwards}
.mv.seen .ed-ico.lg .ico path:nth-child(2){animation-delay:calc(var(--d,0s) + .45s)}
.mv.seen .ed-ico.lg .ico path:nth-child(3){animation-delay:calc(var(--d,0s) + .7s)}
.ed-cards .card:nth-child(2){--d:.25s}
.ed-cards .card:nth-child(3){--d:.5s}
.card.ed:hover .ico{animation:ico-nod .5s ease}
@keyframes ico-pop{from{opacity:0;transform:scale(.7)}}
@keyframes ico-draw{from{stroke-dashoffset:130}to{stroke-dashoffset:0}}
@keyframes ico-nod{40%{transform:translateY(-4px)}}

/* 夜と休み: 月がのぼり、星がゆっくりまたたく */
.js .mv:not(.seen) .n-moon{opacity:0}
.mv.seen .n-moon{animation:moon-up 1.8s ease-out .3s backwards,moon-float 9s ease-in-out 2.1s infinite}
.n-stars circle,.v-stars circle{animation:star 4.6s ease-in-out infinite}
.n-stars circle:nth-child(2n),.v-stars circle:nth-child(2n){animation-delay:1.5s}
.n-stars circle:nth-child(3n),.v-stars circle:nth-child(3n){animation-delay:3s}
@keyframes moon-up{from{opacity:0;transform:translateY(28px)}}
@keyframes moon-float{50%{transform:translateY(-4px)}}
@keyframes star{50%{opacity:.25}}

/* 次の時代へ: 朝日がのぼり、屋根の線が光る */
.js .vision-sky.mv:not(.seen) .v-sun{transform:translateY(160px)}
.js .vision-sky.mv:not(.seen) .v-edge{stroke-dasharray:1;stroke-dashoffset:1}
.vision-sky.seen .v-sun{animation:sun-up 4.5s cubic-bezier(.2,.7,.2,1) backwards,sun-glow 10s ease-in-out 4.5s infinite}
.vision-sky.seen .v-edge{stroke-dasharray:1;animation:draw 3.2s ease-out 1.4s backwards}
@keyframes sun-up{from{transform:translateY(160px)}}
@keyframes sun-glow{50%{opacity:.8}}

/* 安全の絵: まん中にお客さまのデータ、まわりに ①〜③ の守りの層、いちばん外で ④ の輪が回る。
   10 秒でひとまわり: 試す (矢が来る) → 見つける (弱いところが光る) → 直す (ふさぐ) → 確かめる (矢がはね返る)。
   カード (.sec-facts [data-layer]) と層 (.ly[data-layer]) は同じ番号・同じ色。app.js が data-hl / .hl を付ける。 */
.sec-sec{--l1:#f5b083;--l2:#9cc7e6;--l3:#c5c0ea;--l4:#f0d28c;--weak:#ff6b4a}
.sec-facts>div{position:relative;border-left:4px solid var(--lc);transition:background .25s ease,border-color .25s ease,box-shadow .25s ease}
.sec-facts>div:nth-child(1){--lc:var(--l1)}.sec-facts>div:nth-child(2){--lc:var(--l2)}
.sec-facts>div:nth-child(3){--lc:var(--l3)}.sec-facts>div:nth-child(4){--lc:var(--l4)}
.sec-facts>div b{color:var(--lc)}
.sec-facts>div.hl{background:rgba(255,255,255,.13);border-color:var(--lc);box-shadow:0 0 0 1px var(--lc),0 10px 30px rgba(0,0,0,.25)}
.guard{margin:0;justify-self:center;width:min(520px,100%)}
.guard svg{width:100%;height:auto;display:block;overflow:visible}
.guard .ly{transition:opacity .3s ease}
.ly1{--lc:var(--l1)}.ly2{--lc:var(--l2)}.ly3{--lc:var(--l3)}.ly4{--lc:var(--l4)}
.guard[data-hl] .ly{opacity:.3}
.guard[data-hl="1"] .ly1,.guard[data-hl="2"] .ly2,.guard[data-hl="3"] .ly3,.guard[data-hl="4"] .ly4{opacity:1;filter:drop-shadow(0 0 7px var(--lc))}
.guard[data-hl] .ly0{opacity:.85}
.sg-touch{fill:none;stroke:transparent;stroke-width:22;pointer-events:stroke}
/* まん中 */
.sg-core{fill:rgba(255,255,255,.1);stroke:#fff;stroke-width:2.5}
.sg-ci{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sg-ct{fill:#fff;font:700 14.5px/1 'Zen Kaku Gothic New',sans-serif;text-anchor:middle;letter-spacing:.04em}
/* 層の印 (絵) と番号 */
.sg-ic circle{fill:#22314b;stroke:var(--lc);stroke-width:1.5}
.sg-ic path{fill:none;stroke:var(--lc);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sg-no circle{fill:var(--lc)}
.sg-no text{fill:#1b2538;font:900 14px/1 'Inter','Zen Kaku Gothic New',sans-serif;text-anchor:middle}
/* ③ 見ない・残さない: 目隠しの帯 */
.sg-veil{fill:none;stroke:var(--l3);stroke-opacity:.34;stroke-width:16;stroke-dasharray:2.5 4.5;animation:sg-flow 9s linear infinite reverse}
.sg-veil-l{fill:none;stroke:var(--l3);stroke-opacity:.75;stroke-width:1.2}
/* ② なくさない: もとの線と、その写しの線。まん中から写しが広がる */
.sg-orig{fill:none;stroke:var(--l2);stroke-width:2}
.sg-twin{fill:none;stroke:var(--l2);stroke-opacity:.7;stroke-width:1.5;stroke-dasharray:5 6;animation:sg-flow11 6s linear infinite}
.sg-copy{fill:none;stroke:var(--l2);stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center;animation:sg-copy 10s ease-out infinite}
/* ① 外に出さない: 鍵のかかった輪。弱いところ (.sg-seg) だけ別の線 */
.sg-lock,.sg-seg{fill:none;stroke:var(--l1);stroke-width:4.5}
.sg-seg{stroke-dasharray:1;animation:sg-seg 10s linear infinite}
.sg-weak{fill:none;stroke:var(--weak);stroke-width:4.5;stroke-dasharray:3 4;opacity:0;animation:sg-weak 10s linear infinite}
.sg-glow{fill:none;stroke:var(--l1);stroke-width:14;opacity:0;animation:sg-glow 10s ease-out infinite}
/* ④ 攻めて確かめる: 外の輪 */
.sg-ring{fill:none;stroke:rgba(255,255,255,.34);stroke-width:2;stroke-dasharray:3 9;animation:sg-flow12 3s linear infinite}
.sg-chev path{fill:var(--l4);stroke:var(--l4);stroke-width:1.5;stroke-linejoin:round}
.sg-orbit{transform-origin:220px 220px;animation:orbit 10s linear infinite}
.sg-orbit circle{fill:#fff;stroke:#e8682a;stroke-width:3.5}
.sg-node rect{fill:#fff;animation:sg-node 10s linear infinite}
.sg-node text{fill:#26344a;font:900 19px/1 'Zen Kaku Gothic New',sans-serif;text-anchor:middle;letter-spacing:.04em}
.sg-node.n2 rect{animation-delay:2.5s}.sg-node.n3 rect{animation-delay:5s}.sg-node.n4 rect{animation-delay:7.5s}
/* 矢と、当たったところ。止めた形 = はね返された矢と、確かめた印 */
.sg-arrow path{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round}
.sg-arrow .sg-head{fill:#fff;stroke-width:1.5;stroke-linejoin:round}
.sg-arrow .sg-trail{stroke-opacity:.45;stroke-dasharray:5 6}
.sg-a1{opacity:0;animation:sg-a1 10s linear infinite}
.sg-a2{transform:translateX(-26px) rotate(-34deg);opacity:.9;animation:sg-a2 10s linear infinite}
.sg-dot{fill:var(--weak);opacity:0;animation:sg-weak 10s linear infinite}
.sg-ping{fill:none;stroke:var(--weak);stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center;animation:sg-ping 10s ease-out infinite}
.sg-burst{opacity:0;animation:sg-burst 10s ease-out infinite}
.sg-burst path{fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round}
.sg-fix{fill:#fff;opacity:0;transform-box:fill-box;transform-origin:center;animation:sg-fix 10s ease-out infinite}
.sg-ok{animation:sg-ok 10s ease-out infinite}
.sg-ok circle{fill:#fff;stroke:#1b2538;stroke-width:2;transform-box:fill-box;transform-origin:center}
.sg-ok path{fill:none;stroke:#1b2538;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
/* 見えたとき: まん中から外へ、層が 1 枚ずつ出る */
.js .guard.mv:not(.seen) .ly{opacity:0}
.guard.seen .ly{animation:sg-in .7s ease-out backwards}
.guard.seen .ly3{animation-delay:.15s}.guard.seen .ly2{animation-delay:.3s}.guard.seen .ly1{animation-delay:.45s}.guard.seen .ly4{animation-delay:.6s}
@keyframes sg-in{from{opacity:0}}
@keyframes sg-flow{to{stroke-dashoffset:-7}}
@keyframes sg-flow11{to{stroke-dashoffset:-11}}
@keyframes sg-flow12{to{stroke-dashoffset:-12}}
@keyframes sg-node{0%,20%{fill:#ffc7a8}26%,100%{fill:#fff}}
@keyframes sg-copy{0%,28%{opacity:0;transform:scale(1)}33%{opacity:.7}50%,100%{opacity:0;transform:scale(1.74)}}
@keyframes sg-a1{0%{transform:translateX(-150px);opacity:0}3%{opacity:1}16%{transform:translateX(-3px);opacity:1;animation-timing-function:ease-out}23%{transform:translateX(-3px);opacity:1}29%,100%{transform:translateX(-3px);opacity:0}}
@keyframes sg-a2{0%{transform:translateX(-26px) rotate(-34deg);opacity:.9}6%{transform:translateX(-26px) rotate(-34deg);opacity:0}6.1%,75%{transform:translateX(-150px) rotate(0deg);opacity:0}78%{opacity:1}87%{transform:translateX(-3px) rotate(0deg);opacity:1;animation-timing-function:ease-out}94%,100%{transform:translateX(-26px) rotate(-34deg);opacity:.9}}
@keyframes sg-seg{0%,16%{opacity:1;stroke-dashoffset:0}16.5%,51%{opacity:0;stroke-dashoffset:1}52%{opacity:1;stroke-dashoffset:1}68%,100%{opacity:1;stroke-dashoffset:0}}
@keyframes sg-weak{0%,16%{opacity:0}17.5%,54%{opacity:1}68%,100%{opacity:0}}
@keyframes sg-ping{0%,25%{opacity:0;transform:scale(.5)}26%{opacity:.95;transform:scale(.5)}37%{opacity:0;transform:scale(2.6)}38%{opacity:.95;transform:scale(.5)}49%,100%{opacity:0;transform:scale(2.6)}}
@keyframes sg-burst{0%,15.5%{opacity:0}17%{opacity:1}23%,86.5%{opacity:0}88%{opacity:1}95%,100%{opacity:0}}
@keyframes sg-glow{0%,86.5%{opacity:0}89%{opacity:.4}100%{opacity:0}}
@keyframes sg-fix{0%,60%{opacity:0;transform:scale(.3)}66%{opacity:1;transform:scale(1.5) rotate(20deg)}76%,100%{opacity:0;transform:scale(1.7) rotate(45deg)}}
@keyframes sg-ok{0%{opacity:1}8%,87%{opacity:0}91%,100%{opacity:1}}

/* 開発予定のページの絵: 図面の線を引く → ゆっくり動く */
.coming-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:clamp(28px,4vw,56px);align-items:center}
.coming-art{margin:0}
.coming-art svg{width:100%;height:auto;display:block}
.js .coming-art.mv:not(.seen) .dl{stroke-dashoffset:1}
.coming-art.seen .dl{animation:draw 1.2s ease-out .3s backwards}
.coming-art.seen .dl-b{animation-delay:1s}
.art-accessories.seen .d-part{animation:part-float 7s ease-in-out 2.6s infinite}
.art-accessories.seen .d-p2{animation-delay:3.4s}
.art-accessories.seen .d-p3{animation-delay:4.2s}
.art-gutter .d-drops circle{animation:drop 2.8s ease-in infinite}
.art-gutter .d-drops circle:nth-child(2){animation-delay:.9s}
.art-gutter .d-drops circle:nth-child(3){animation-delay:1.8s}
@keyframes part-float{50%{transform:translateY(-3px)}}
@keyframes drop{0%{transform:translateY(-10px);opacity:0}25%{opacity:1}85%{transform:translateY(11px);opacity:1}100%{transform:translateY(12px);opacity:0}}
@media (max-width:760px){.coming-in{grid-template-columns:1fr}.coming-art{max-width:340px}}

@media (prefers-reduced-motion:reduce){
  .drawer,.drawer-bg,.drawer-panel,.card.ed,.caret{transition:none !important}
}

/* ── 法務のページ (中身は site/legal/ のまま。字と色だけサイトにそろえる) ── */
.legal-body{max-width:840px}
.legal-body .legal-meta{font-size:15px;color:var(--ink);margin:0 0 12px}
.legal-body h1{font-size:clamp(28px,4vw,36px);font-weight:900;line-height:1.4;margin:0 0 28px;color:var(--navy)}
.legal-body h2{font-size:22px;font-weight:700;line-height:1.5;margin:48px 0 14px;padding-bottom:10px;border-bottom:2px solid var(--line,#e5e7eb);color:var(--navy)}
.legal-body h3{font-size:18px;font-weight:700;margin:28px 0 10px}
.legal-body p,.legal-body li{font-size:16px;line-height:1.95}
.legal-body p{margin:12px 0}
.legal-body ul,.legal-body ol{padding-left:1.6em;margin:12px 0}
.legal-body table{width:100%;border-collapse:collapse;margin:18px 0;font-size:15px}
.legal-body th,.legal-body td{border:1px solid #d6dbe3;padding:10px 14px;text-align:left;vertical-align:top;line-height:1.8}
.legal-body th{background:#f2f4f7;font-weight:700}
.legal-body td,.legal-body th{overflow-wrap:break-word}
.legal-body td{word-break:normal}
.legal-body tbody th,.legal-body tbody td:first-child,.legal-body thead th:first-child{min-width:7.2em}
@media (max-width:640px){.legal-body th,.legal-body td{padding:8px 10px;font-size:14px}}
.legal-body a{color:var(--navy);text-decoration:underline}
.legal-body .legal-tabs{display:flex;gap:0;margin:-8px 0 32px;border-bottom:2px solid #d6dbe3}
.legal-body .legal-tabs a{flex:0 0 auto;min-width:7em;padding:12px 20px;text-align:center;font-weight:700;font-size:16px;color:var(--navy);text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-2px}
.legal-body .legal-tabs a[aria-current="page"]{border-bottom-color:var(--accent);color:var(--navy)}
.legal-body .legal-tabs a:not([aria-current]):hover{background:#f2f4f7}
.legal-body code{background:#f2f4f7;padding:2px 6px;border-radius:4px;font-family:var(--f-num)}
.legal-body blockquote{border-left:4px solid #d6dbe3;margin:16px 0;padding:8px 16px;background:#f7f8fa}
.legal-body hr{border:0;border-top:1px solid #e5e7eb;margin:32px 0}
.legal-body .draft-banner{background:#fff3e6;border-left:4px solid var(--accent);padding:14px 18px;margin:0 0 24px;font-weight:700}
/* 表: 文節 (<wbr>) でだけ折る。列の幅は文節が収まるように決まる */
.legal-body th,.legal-body td{word-break:keep-all;overflow-wrap:break-word;min-width:0}
.legal-body :is(p,li){word-break:keep-all;overflow-wrap:break-word}
/* スマホ: 表は 1 行ずつカードに積む (1 列目が見出し、ほかの列は列名つき) */
@media (max-width:560px){
  .legal-body table,.legal-body tbody,.legal-body tr,.legal-body td,.legal-body th{display:block;width:auto}
  .legal-body thead{display:none}
  .legal-body tr{border:1px solid #d6dbe3;border-radius:8px;margin:0 0 12px;overflow:hidden}
  .legal-body td,.legal-body th{border:0;padding:8px 12px;font-size:15px}
  .legal-body tr>:first-child{background:#f2f4f7;font-weight:700}
  .legal-body td[data-label]::before{content:attr(data-label);display:block;font-size:13px;font-weight:700;color:var(--navy)}
}
.co-art figcaption{font-size:14px;font-weight:500;text-align:right;margin-top:6px}
/* ホームのいちばん上: 現場の写真。PC は写真を右に寄せ、左の紺に文字を置く。スマホは写真の下に文字 */
.photo-hero{position:relative;min-height:min(84vh,720px);display:flex;align-items:center;color:#fff;overflow:hidden;background:#1d2a3f}
.ph-bg{display:block;position:absolute;top:0;bottom:0;right:0;left:30%}
.ph-bg img{width:100%;height:100%;object-fit:cover;object-position:40% 35%;display:block}
.photo-hero::after{content:"";position:absolute;top:0;bottom:0;left:30%;width:38%;background:linear-gradient(90deg,#1d2a3f 0,rgba(29,42,63,.75) 35%,rgba(29,42,63,0) 100%)}
.ph-copy{position:relative;z-index:1;display:flex;flex-direction:column;gap:18px;padding-top:56px;padding-bottom:56px}
.ph-copy>*{max-width:560px}
.ph-copy .eyebrow{color:#ffcfae}
.ph-copy .display{color:#fff}
.ph-copy .lead{color:#fff}
.photo-hero .btn.ghost{background:transparent;color:#fff;border-color:#fff}
@media (max-width:980px){
  .photo-hero{display:block;min-height:0}
  .ph-bg{position:relative;left:auto;height:min(80vh,640px)}
  .ph-bg img{object-position:50% 30%}
  .photo-hero::after{left:0;right:0;width:auto;bottom:auto;top:calc(min(80vh,640px) * .38);height:calc(min(80vh,640px) * .62 + 2px);background:linear-gradient(180deg,rgba(29,42,63,0) 0,rgba(29,42,63,.6) 35%,rgba(29,42,63,.9) 75%,#1d2a3f 100%)}
  .ph-copy{margin-top:calc(min(80vh,640px) * -.5);padding-top:0;padding-bottom:40px}
  .ph-copy .display{text-shadow:0 2px 14px rgba(0,0,0,.35)}
}
.prod-head{align-items:center;margin-bottom:24px}
.prod-head .co-art{max-width:520px;justify-self:end;width:100%}
/* お知らせ */
.news-top{background:#fff;border-bottom:1px solid var(--line)}
.news-top-in{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:8px 32px;padding:24px 0}
.news-top-t{font-size:18px;font-weight:900;margin:12px 0 0;color:var(--navy)}
.news-top .tlink{margin-top:14px;white-space:nowrap}
@media (max-width:760px){.news-top-in{grid-template-columns:1fr}.news-top-t{margin:0}.news-top .tlink{margin-top:4px}}
.nw-list{list-style:none;margin:0;padding:0}
.nw-list li+li{border-top:1px solid var(--line)}
.nw-row{display:grid;grid-template-columns:auto auto 1fr;align-items:baseline;gap:4px 16px;padding:12px 0;color:var(--ink)}
.nw-row:hover .nw-title{text-decoration:underline}
@media (max-width:760px){.nw-row{grid-template-columns:auto 1fr}.nw-title{grid-column:1/-1}}
.nw-date{font-size:15px;color:var(--sub);font-weight:500}
.nw-tbd{color:var(--accent-ink)}
.nw-label{display:inline-block;font-size:13px;font-weight:700;line-height:1;padding:5px 10px;border-radius:999px;background:var(--tint);color:var(--accent-ink);justify-self:start}
.nw-title{font-weight:700}
.sec.page-top .nw-list{margin-top:24px;max-width:860px}
.nw-article{max-width:760px}
.nw-meta{display:flex;align-items:center;gap:14px;margin:0 0 12px}
.nw-body{margin-top:24px}
.nw-body p{margin:0 0 16px}
.nw-back{margin-top:40px}
.nw-label.plan{background:#e8eef7;color:var(--navy)}
.nw-filter{display:flex;flex-wrap:wrap;gap:12px 20px;margin:24px 0 4px;max-width:860px}
.nw-filter label{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px}
.nw-filter select{font:inherit;font-weight:500;min-height:44px;padding:0 36px 0 12px;border:1.5px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}
.nw-count{margin:16px 0 0;font-size:16px;color:var(--ink)}
.nw-count:empty{display:none}
