/* 株式会社リベルタ企画 ホームページ 共通の見た目（2026-10-24 見本から本番用に）
   構成：トップ → 数字 → 塗り替えのサイン → 工程を写真で → ごあいさつ → 選ばれる理由 → 施工事例 → 工事メニュー → 流れと保証 → 質問 → 会社案内 → 問い合わせ
   写真はすべてリベルタ企画のホームページにある本物の写真。
   「塗った感じ」：見出しの背景をハケで塗った帯に／マーカーと数字の下地もかすれた塗り／連絡先はペンキの丸。かすれは下の SVG フィルター */
:root {
  color-scheme: light;
  --paint: #f6f4ec;
  --paint-2: #ece8da;
  --card: #fffdf7;
  --ink: #1c241f;
  --soft: #5a6359;
  --line: #dad5c5;
  --green: #22503a;
  --green-2: #2f6b4c;
  --orange: #f0a22a;
  --night: #131d17;
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paint); color: var(--ink); font-family: var(--gothic); font-size: 16px; line-height: 1.95; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 800; line-height: 1.5; margin: 0; letter-spacing: .08em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.fx { position: absolute; width: 0; height: 0; }

/* 見本のおことわり */
.sample-note { background: var(--night); color: #b8c2b9; font-size: 12px; text-align: center; padding: 6px 16px; letter-spacing: .06em; overflow-wrap: anywhere; }

/* ヘッダー：トップでは写真の上、下にスクロールしたら上に固定 */
.site-head { position: absolute; inset: var(--sample-height, 0px) 0 auto 0; z-index: 30; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; }
.logo-mark { position: relative; z-index: 0; width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; }
.logo-mark::before { content: ""; position: absolute; inset: 0; background: var(--paint); border-radius: 50%; filter: url(#rough-dot); z-index: -1; }
.logo-mark img { width: 72%; height: 72%; object-fit: contain; }
.logo b { display: block; font-family: var(--mincho); font-size: 22px; letter-spacing: .14em; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.logo small { display: block; font-size: 11px; letter-spacing: .12em; opacity: .92; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; color: #fff; font-size: 14px; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.paint-btn { position: relative; z-index: 0; display: inline-block; padding: 10px 22px; font-weight: 700; color: var(--green) !important; text-shadow: none !important; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.paint-btn::before { content: ""; position: absolute; inset: 0; background: var(--orange); filter: url(#rough-h); z-index: -1; transition: background .3s; }
.paint-btn:hover::before { background: #f6bd5f; }

.fixed-head { position: fixed; inset: 0 0 auto 0; z-index: 40; background: rgba(246,244,236,.96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); transform: translateY(-100%); transition: transform .4s var(--ease); }
.fixed-head.show { transform: none; }
.fixed-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.fixed-head .logo { color: var(--ink); }
.fixed-head .logo b, .fixed-head .logo small { text-shadow: none; }
.fixed-head .logo b { font-size: 19px; }
.fixed-head .logo-mark::before { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fixed-head .nav a { color: var(--ink); text-shadow: none; }

/* トップ：本物の施工写真（中塗りの途中） */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--night); isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; transform: scale(1.06); animation: settle 14s var(--ease) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(19,29,23,.5) 0%, rgba(19,29,23,.12) 45%, rgba(19,29,23,0) 70%), linear-gradient(180deg, rgba(19,29,23,.5) 0%, rgba(19,29,23,0) 30%); }
.photo-tag { position: absolute; left: 16px; top: calc(var(--sample-height, 0px) + 86px); font-size: 11px; color: #fff; opacity: .85; letter-spacing: .1em; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

/* ハケで塗った帯の見出し（縦書き・右側） */
.copy { position: absolute; right: clamp(20px, 7vw, 120px); top: calc(var(--sample-height, 0px) + 110px); display: flex; flex-direction: row-reverse; align-items: flex-start; gap: clamp(10px, 1.4vw, 18px); }
.stroke { position: relative; z-index: 0; writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 800; letter-spacing: .14em; line-height: 1; padding: .55em .32em .7em; color: var(--green); }
.stroke::before { content: ""; position: absolute; inset: 0; background: var(--paint); filter: url(#rough-v); z-index: -1; clip-path: inset(0 0 100% 0); animation: brush 1s var(--ease) forwards; }
.stroke > span { opacity: 0; animation: fade .8s var(--ease) forwards; }
.stroke.s1 { font-size: clamp(24px, 3.2vw, 44px); }
.stroke.s2 { font-size: clamp(24px, 3.2vw, 44px); margin-top: 1.6em; }
.stroke.s3 { font-size: clamp(40px, 5.6vw, 82px); margin-top: .4em; color: #fff; padding: .45em .26em .6em; }
.stroke.s3::before { background: var(--green); }
.stroke.s1::before { animation-delay: .3s; } .stroke.s1 > span { animation-delay: .8s; }
.stroke.s2::before { animation-delay: .75s; } .stroke.s2 > span { animation-delay: 1.25s; }
.stroke.s3::before { animation-delay: 1.25s; animation-duration: 1.2s; } .stroke.s3 > span { animation-delay: 1.8s; }

/* 下のローラーのひと塗り（そのまま下の緑の帯につながる） */
.roller { position: absolute; left: -2%; bottom: -2px; width: 104%; height: 150px; z-index: 1; pointer-events: none; }
.roller path { fill: none; stroke: var(--green); stroke-width: 70; stroke-dasharray: 1700; stroke-dashoffset: 1700; animation: roll 1.6s 2s var(--ease) forwards; }
.roller path.under { stroke-width: 60; animation-delay: 2.3s; }

/* 連絡先のペンキの丸（左下） */
.drop { position: absolute; z-index: 2; left: clamp(16px, 5vw, 80px); bottom: clamp(70px, 9vw, 120px); width: clamp(200px, 19vw, 270px); aspect-ratio: 1; display: grid; place-content: center; text-align: center; color: var(--green); font-family: var(--mincho); opacity: 0; transform: scale(.6); animation: plop .7s 2.6s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.drop::before { content: ""; position: absolute; inset: 0; background: var(--orange); border-radius: 50%; filter: url(#rough-dot); z-index: -1; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.drop .area { font-size: 13px; font-weight: 600; letter-spacing: .1em; line-height: 1.7; padding-bottom: 10px; border-bottom: 1px solid rgba(34,80,58,.5); margin-inline: 12px; }
.drop .tel { display: block; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: .04em; text-decoration: none; padding: 8px 0; }
.drop .tel small { font-size: .5em; margin-right: 4px; }
.drop .hours { font-size: 12px; font-weight: 600; letter-spacing: .08em; line-height: 1.7; padding-top: 10px; border-top: 1px solid rgba(34,80,58,.5); margin-inline: 12px; }

/* 数字の帯 */
.numbers { background: var(--green); color: #fff; padding: 26px 0 60px; }
.numbers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.numbers li { border-left: 1px solid rgba(255,255,255,.2); padding: 6px 8px; }
.numbers li:first-child { border-left: 0; }
.numbers .k { display: block; font-size: 13px; letter-spacing: .14em; opacity: .85; }
.numbers .v { display: block; font-family: var(--mincho); font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.3; color: var(--orange); }
.numbers .v small { font-size: .42em; color: #fff; margin-left: 4px; }
.award { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.award img { width: 64px; height: 86px; object-fit: cover; border: 2px solid rgba(255,255,255,.5); }
.award p { font-size: 14px; line-height: 1.8; }
.award b { font-family: var(--mincho); font-size: 18px; color: var(--orange); letter-spacing: .08em; }

/* セクション共通 */
.sec { padding: 110px 0; }
.sec.alt { background: var(--paint-2); }
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .3em; color: var(--green-2); font-weight: 700; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.6; }
.sec-head .lead { color: var(--soft); margin-top: 18px; max-width: 40em; }
.sec-head.center .lead { margin-inline: auto; }
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::before { content: ""; position: absolute; left: -.15em; right: -.15em; bottom: .02em; height: .5em; background: var(--orange); opacity: .8; filter: url(#rough-h); z-index: -1; transform-origin: left; }
.js .rv .mark::before { transform: scaleX(0); transition: transform 1s .35s var(--ease); }
.js .rv.in .mark::before { transform: scaleX(1); }

/* ふわっと出す */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

.ph { position: relative; margin: 0; overflow: hidden; background: var(--paint-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* 塗り替えのサイン */
.signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.signs li { background: var(--card); border: 1px solid var(--line); padding: 26px 20px 24px; }
.signs .no { position: relative; z-index: 0; display: inline-grid; place-items: center; width: 40px; height: 40px; font-family: var(--mincho); font-weight: 800; color: var(--green); margin-bottom: 12px; }
.signs .no::before { content: ""; position: absolute; inset: 0; background: var(--orange); border-radius: 50%; filter: url(#rough-dot); z-index: -1; }
.signs b { display: block; font-family: var(--mincho); font-size: 17px; line-height: 1.6; color: var(--green); }
.signs .lv { display: block; font-size: 12px; color: #b5761a; letter-spacing: .1em; margin-top: 4px; }
.signs span.d { display: block; font-size: 13.5px; color: var(--soft); line-height: 1.85; margin-top: 8px; }

/* 工程を写真で */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); counter-increment: s; }
.steps .ph { aspect-ratio: 4 / 3; }
.steps .ph::before { content: counter(s); position: absolute; left: 10px; top: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; font-family: var(--mincho); font-weight: 800; color: var(--green); background: var(--orange); border-radius: 50%; filter: url(#rough-dot); }
.steps .t { padding: 14px 16px 16px; }
.steps b { display: block; font-family: var(--mincho); font-size: 17px; color: var(--green); }
.steps span { display: block; font-size: 13.5px; color: var(--soft); line-height: 1.8; margin-top: 4px; }
.steps-note { margin-top: 26px; text-align: center; font-size: 13px; color: var(--soft); }
.report { margin-top: 40px; background: var(--green); color: #fff; padding: 30px 36px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.report h3 { position: relative; z-index: 0; font-size: 20px; color: var(--green); padding: 6px 18px; white-space: nowrap; }
.report h3::before { content: ""; position: absolute; inset: 0; background: var(--paint); filter: url(#rough-h); z-index: -1; }
.report p { font-size: 15px; line-height: 1.95; opacity: .92; }

/* ごあいさつ */
.greet { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.greet .ph { aspect-ratio: 4 / 3; }
.greet h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.7; margin-bottom: 26px; }
.greet p.body { color: var(--soft); line-height: 2.15; }
.greet p.body + p.body { margin-top: 1em; }
.sign { margin-top: 26px; font-family: var(--mincho); font-size: 15px; }
.sign b { font-size: 22px; margin-left: 10px; letter-spacing: .18em; }
.coats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.coats li { background: #fff; border-top: 4px solid var(--green); padding: 16px 16px 18px; color: var(--ink); }
.coats b { display: block; font-family: var(--mincho); font-size: 18px; color: var(--green); letter-spacing: .1em; }
.coats span { display: block; font-size: 13px; color: var(--soft); line-height: 1.8; margin-top: 6px; }
.owl-note { margin-top: 26px; display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--soft); line-height: 1.85; }
.owl-note img { width: 56px; flex-shrink: 0; }

/* 選ばれる理由 */
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promises li { position: relative; background: var(--card); padding: 34px 28px 30px; border: 1px solid var(--line); }
.promises .num { position: relative; z-index: 0; display: inline-block; font-family: var(--mincho); font-weight: 800; font-size: 15px; color: #fff; padding: 2px 14px 3px; margin-bottom: 16px; letter-spacing: .14em; }
.promises .num::before { content: ""; position: absolute; inset: 0; background: var(--green); filter: url(#rough-h); z-index: -1; }
.promises h3 { font-size: 20px; color: var(--green); margin-bottom: 12px; }
.promises p { font-size: 14.5px; color: var(--soft); line-height: 1.95; }

/* 施工事例 */
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.works li { background: var(--card); border: 1px solid var(--line); }
.works li:first-child { grid-column: span 2; grid-row: span 2; }
.works .ph { aspect-ratio: 4 / 3; }
.works .t { padding: 14px 18px 18px; }
.works .where { position: relative; z-index: 0; display: inline-block; font-size: 12px; font-weight: 700; color: var(--green); padding: 0 10px; letter-spacing: .1em; }
.works .where::before { content: ""; position: absolute; inset: 0; background: var(--orange); filter: url(#rough-h); z-index: -1; }
.works h3 { font-size: 16.5px; line-height: 1.6; margin-top: 8px; color: var(--ink); }
.works li:first-child h3 { font-size: 21px; }
.works p { font-size: 14px; color: var(--soft); line-height: 1.85; margin-top: 6px; }

/* 工事メニュー */
.menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.menu li { background: var(--card); border: 1px solid var(--line); padding: 28px 26px 26px; border-top: 5px solid var(--green); }
.menu h3 { font-size: 19px; color: var(--green); margin-bottom: 10px; }
.menu p { font-size: 14.5px; color: var(--soft); line-height: 1.9; }

/* 工事の流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: f; }
.flow li { position: relative; background: var(--card); border: 1px solid var(--line); padding: 22px 18px 20px; counter-increment: f; }
.flow li::before { content: counter(f, decimal-leading-zero); display: block; font-family: var(--mincho); font-weight: 800; font-size: 26px; color: var(--green); line-height: 1.2; }
.flow b { display: block; font-size: 15.5px; margin: 8px 0 6px; }
.flow span { display: block; font-size: 13px; color: var(--soft); line-height: 1.8; }

/* 保証と点検 */
.after-care { margin-top: 70px; background: var(--green); color: #fff; padding: 44px 48px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; }
.after-care h3 { font-size: 24px; line-height: 1.6; }
.after-care p { font-size: 14.5px; opacity: .88; margin-top: 12px; line-height: 1.95; }
.after-care .coats { margin: 0; }

/* よくある質問 */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 64px; position: relative; font-weight: 700; font-size: 16px; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 22px; top: 18px; font-family: var(--mincho); font-size: 22px; font-weight: 800; color: var(--green); }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--green); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 28px 22px 64px; color: var(--soft); position: relative; font-size: 15px; }
.faq .a::before { content: "A"; position: absolute; left: 22px; top: -4px; font-family: var(--mincho); font-size: 22px; font-weight: 800; color: #c98a1e; }

/* 会社案内 */
.company { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.company dl { margin: 0; border-top: 1px solid var(--line); }
.company .row { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.company dt { color: var(--soft); }
.company dd { margin: 0; }
.company .ph { aspect-ratio: 4 / 3; }
.areas { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { position: relative; z-index: 0; padding: 4px 16px; font-weight: 700; color: var(--green); font-size: 14px; }
.areas li::before { content: ""; position: absolute; inset: 0; background: var(--orange); filter: url(#rough-h); z-index: -1; }
.areas-note { font-size: 13px; color: var(--soft); margin-top: 10px; }

/* お問い合わせ */
.contact { background: var(--green); color: #fff; }
.contact .sec-head .eyebrow { color: var(--orange); }
.contact .sec-head .lead { color: rgba(255,255,255,.82); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.tel-box { position: relative; z-index: 0; color: var(--green); padding: 40px 34px; text-align: center; }
.tel-box::before { content: ""; position: absolute; inset: 0; background: var(--paint); filter: url(#rough-dot); z-index: -1; }
.tel-box .t { font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.tel-box a.big { display: block; font-family: var(--mincho); font-size: clamp(32px, 3.6vw, 42px); font-weight: 800; text-decoration: none; letter-spacing: .04em; line-height: 1.4; margin: 6px 0; }
.tel-box small { display: block; font-size: 13px; color: var(--soft); }
.tel-box ul { list-style: none; padding: 0; margin: 22px 0 0; text-align: left; font-size: 14px; color: var(--ink); display: grid; gap: 6px; }
.tel-box ul li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.line-btn { display: block; margin-top: 22px; background: #06c755; color: #fff; text-decoration: none; font-weight: 700; padding: 12px; letter-spacing: .08em; }
form.f { display: grid; gap: 16px; }
.f label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.f label .req { font-size: 11px; background: var(--orange); color: var(--green); padding: 0 6px; margin-left: 6px; font-weight: 700; }
.f input, .f select, .f textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 0; background: #fff; color: var(--ink); width: 100%; }
.f textarea { min-height: 130px; resize: vertical; }
.f .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f button { justify-self: start; font: inherit; font-size: 16px; font-weight: 700; border: 0; background: none; cursor: pointer; padding: 14px 40px; }
.f .sent { font-size: 14px; color: var(--orange); min-height: 1.5em; }

footer { background: var(--night); color: #9daa9f; font-size: 13px; padding: 40px 0 100px; text-align: center; }
footer b { display: block; color: #fff; font-family: var(--mincho); font-size: 20px; letter-spacing: .16em; margin-bottom: 6px; }

/* スマホ下の固定ボタン */
.sp-bar { display: none; }

@keyframes brush { to { clip-path: inset(0 0 0 0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes roll { to { stroke-dashoffset: 0; } }
@keyframes plop { to { opacity: 1; transform: scale(1); } }
@keyframes settle { to { transform: scale(1); } }

@media (max-width: 1000px) {
  .site-head .nav a:not(.paint-btn), .fixed-head .nav a:not(.paint-btn) { display: none; }
  .signs { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .promises, .menu { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .after-care { grid-template-columns: 1fr; padding: 36px 26px; }
}
@media (max-width: 860px) {
  .greet, .company, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .report { grid-template-columns: 1fr; gap: 14px; padding: 26px 22px; }
  .report h3 { justify-self: start; }
}
@media (max-width: 560px) {
  .sample-note { font-size: 10px; padding-inline: 8px; letter-spacing: 0; }
  .site-head .wrap, .fixed-head .wrap { height: 64px; gap: 8px; }
  .logo { gap: 6px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo b, .fixed-head .logo b { font-size: clamp(13px, 4vw, 16px); letter-spacing: .04em; }
  .logo small { font-size: 9px; letter-spacing: .02em; }
  .nav { gap: 0; flex-shrink: 0; }
  .paint-btn { padding: 7px 12px; font-size: 12px; letter-spacing: .02em; }
  .copy { top: calc(var(--sample-height, 0px) + 92px); right: 16px; }
  .stroke.s1, .stroke.s2 { font-size: 22px; }
  .stroke.s3 { font-size: 38px; }
  .hero-photo img { object-position: 30% 40%; }
  .photo-tag { top: auto; bottom: 300px; left: 12px; }
  .drop { width: 176px; left: 12px; bottom: 112px; }
  .drop .area { font-size: 11px; margin-inline: 8px; }
  .drop .tel { font-size: 19px; padding: 6px 0; }
  .drop .hours { font-size: 10.5px; margin-inline: 8px; }
  .roller { height: 110px; }
  .numbers .k { font-size: 11px; letter-spacing: .02em; }
  .numbers .v { font-size: 26px; }
  .award { flex-direction: column; text-align: center; gap: 10px; }
  .sec { padding: 76px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 22px; letter-spacing: .04em; }
  .signs { grid-template-columns: 1fr; gap: 10px; }
  .signs li { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; padding: 18px 16px; }
  .signs .no { grid-row: span 3; margin: 0; }
  .steps { gap: 10px; }
  .steps .t { padding: 10px 12px 12px; }
  .steps b { font-size: 15px; }
  .steps span { font-size: 12.5px; }
  .coats { grid-template-columns: 1fr; }
  .promises, .menu, .works { grid-template-columns: 1fr; }
  .works li:first-child { grid-column: auto; grid-row: auto; }
  .promises li { padding: 26px 20px 24px; }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow li { display: grid; grid-template-columns: 48px 1fr; gap: 0 10px; padding: 16px 16px; }
  .flow li::before { grid-row: span 2; }
  .flow b { margin: 0; }
  .faq summary { padding: 18px 46px 18px 52px; font-size: 15px; }
  .faq summary::before { left: 16px; }
  .faq .a { padding: 0 20px 20px 52px; }
  .faq .a::before { left: 16px; }
  .company .row { grid-template-columns: 1fr; gap: 2px; padding: 14px 4px; }
  .tel-box { padding: 32px 22px; }
  .f .two { grid-template-columns: 1fr; }
  .f button { justify-self: stretch; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 50; background: var(--green); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .sp-bar a { text-align: center; font-weight: 700; font-size: 14px; padding: 10px 6px; text-decoration: none; }
  .sp-bar a.tel { color: #fff; border: 1px solid rgba(255,255,255,.5); }
  .sp-bar a.form { background: var(--orange); color: var(--green); }
}
@media (prefers-reduced-motion: reduce) {
  .stroke::before, .stroke > span, .roller path, .drop, .hero-photo img { animation: none; clip-path: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .js .rv, .js .rv .mark::before { opacity: 1; transform: none; transition: none; }
}

/* ===== ここから本番用に足したもの（2026-10-24） ===== */
.hide { display: none !important; }
.f .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f .sent.err { color: #ffd2c4; }
.more { margin-top: 40px; text-align: center; }
.more-btn { display: inline-block; border: 2px solid var(--green); color: var(--green); font-weight: 700; padding: 12px 34px; text-decoration: none; letter-spacing: .08em; transition: background .3s, color .3s; }
.more-btn:hover { background: var(--green); color: #fff; }
.new { display: inline-block; font-size: 11px; font-weight: 700; background: var(--green); color: #fff; padding: 0 8px; margin-left: 8px; letter-spacing: .1em; vertical-align: 2px; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 26px; }
.foot-nav a { color: #dfe6df; text-decoration: none; font-size: 13.5px; }
.foot-nav a:hover { text-decoration: underline; }

/* 採用への入り口の帯 */
.recruit-band { background: var(--night); color: #fff; padding: 70px 0; }
.recruit-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.recruit-band .eyebrow { color: var(--orange); }
.recruit-band h2 { font-size: clamp(24px, 2.8vw, 34px); }
.recruit-band p { color: #c5cec6; margin-top: 10px; }
.paint-btn.big { font-size: 17px; padding: 16px 40px; }

/* ブログ（Instagramの投稿） */
#blog { background: var(--paint); border-top: 1px solid var(--line); }
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.posts li { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.posts a.pic { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--paint-2); }
.posts a.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.posts a.pic:hover img { transform: scale(1.04); }
.posts .kind { position: absolute; right: 8px; top: 8px; background: rgba(19,29,23,.72); color: #fff; font-size: 11px; padding: 1px 8px; letter-spacing: .06em; }
.posts .t { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.posts time { font-size: 12px; color: var(--green-2); font-weight: 700; letter-spacing: .08em; }
.posts p { font-size: 14px; color: var(--ink); line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.posts .tags { font-size: 12px; color: var(--soft); line-height: 1.7; overflow-wrap: anywhere; }
.posts .go { margin-top: auto; font-size: 13px; color: var(--green); font-weight: 700; text-decoration: none; }
.posts.full { grid-template-columns: repeat(3, 1fr); }
.posts.full p { -webkit-line-clamp: unset; display: block; white-space: pre-line; }

/* 下のページ共通：ヘッダーを最初から出す */
.sub .fixed-head { transform: none; }
.page-hero { position: relative; padding: 150px 0 70px; background: var(--green); color: #fff; overflow: hidden; }
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 46px); letter-spacing: .12em; }
.page-hero p { margin-top: 16px; color: rgba(255,255,255,.86); max-width: 40em; }
.page-hero.photo { background: var(--night); }
.page-hero.photo::before { content: ""; position: absolute; inset: 0; background: var(--bg-img) center / cover; opacity: .38; }
.page-hero .wrap { position: relative; }
.crumb { font-size: 12.5px; color: var(--soft); padding: 14px 0; }
.crumb a { color: var(--green); }
.empty { text-align: center; color: var(--soft); padding: 40px 0; }

/* 施工実績の一覧 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.chips button { font: inherit; font-size: 14px; font-weight: 700; padding: 6px 18px; border: 1px solid var(--green); background: #fff; color: var(--green); cursor: pointer; }
.chips button.on { background: var(--green); color: #fff; }
.works.all li:first-child { grid-column: auto; grid-row: auto; }
.works.all li:first-child h3 { font-size: 16.5px; }
.works .thumbs { display: flex; gap: 6px; padding: 10px 18px 0; flex-wrap: wrap; }
.works .thumbs button { width: 52px; height: 52px; padding: 0; border: 2px solid transparent; cursor: pointer; background: none; }
.works .thumbs button.on { border-color: var(--orange); }
.works .thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* 採用情報 */
.r-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.r-grid .ph { aspect-ratio: 4 / 3; }
.r-grid .body { margin-top: 18px; color: var(--ink); }
.r-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.r-points li { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--green); padding: 28px 24px 24px; }
.r-points h3 { font-size: 19px; color: var(--green); margin-bottom: 10px; }
.r-points p { font-size: 14.5px; color: var(--soft); line-height: 1.9; }
.r-table { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.r-table .row { display: grid; grid-template-columns: 10em 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.r-table dt { color: var(--green); font-weight: 700; }
.r-table dd { margin: 0; white-space: pre-line; }
.r-day { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 0; }
.r-day li { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.r-day b { font-family: var(--mincho); font-size: 20px; color: var(--green); }
.r-voice { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.r-voice li { background: var(--card); border: 1px solid var(--line); padding: 26px 24px; }
.r-voice b { display: block; color: var(--green); font-family: var(--mincho); font-size: 17px; margin-bottom: 8px; }
.r-voice p { font-size: 14.5px; color: var(--soft); line-height: 1.9; }

@media (max-width: 1000px) {
  .posts, .posts.full { grid-template-columns: repeat(2, 1fr); }
  .r-points, .r-voice { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .r-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .posts, .posts.full { grid-template-columns: 1fr; }
  .r-points, .r-voice { grid-template-columns: 1fr; }
  .r-table .row { grid-template-columns: 1fr; gap: 2px; }
  .r-day li { grid-template-columns: 64px 1fr; gap: 10px; }
  .page-hero { padding: 110px 0 50px; }
  .recruit-band { padding: 56px 0; }
  .paint-btn.big { width: 100%; text-align: center; }
}

/* 事業内容：項目の途中で改行しない */
.biz span { white-space: nowrap; }

/* 施工実績：ビフォー・アフター（2枚を左右に並べる） */
.works .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--line); }
.works .ba .ph { aspect-ratio: 3 / 4; }
.works .ba figcaption { position: absolute; left: 8px; top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 2px 10px; background: rgba(30, 30, 30, .72); color: #fff; }
.works .ba .after figcaption { background: var(--orange); color: var(--green); }
.menu .see { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--green); }

/* 会社案内：所在地の地図リンク */
.map-link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--green); }
