/* 金属加工会社サンプル「株式会社タカセ精工」共通スタイル（濃色ボールド：黒 × 蛍光黄緑 × 白） */
:root {
  --ink: #0e1116;          /* 基調の黒 */
  --ink-2: #151a21;        /* 面（パネル） */
  --ink-3: #1b212a;        /* 面（ひとつ明るい） */
  --line: #2a2f38;         /* 暗色面の罫線 */
  --acc: #c8ff3d;          /* 蛍光黄緑（全ページ共通のアクセント 1 色） */
  --acc-d: #a8e015;
  --on-d: #d8dde5;         /* 暗色面の本文 */
  --on-d-2: #c3cad4;       /* 暗色面の補足 */
  --lt: #f3f4f6;           /* 明色面の背景 */
  --lt-2: #e6e8ec;
  --lt-line: #d3d7dd;
  --lt-ink: #14181e;
  --lt-ink-2: #4a515c;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --num: "Space Grotesk", "Noto Sans JP", sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--on-d); font-family: var(--sans); font-size: 16px; line-height: 1.85; letter-spacing: .02em; font-feature-settings: "palt"; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: .01em; font-weight: 900; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: 0; font-weight: 700; }
.label { font-family: var(--num); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--acc); font-weight: 700; }
.sec { padding-block: clamp(68px, 8.5vw, 116px); }
.sec-head { margin-bottom: clamp(30px, 4.5vw, 54px); }
.sec-head h2 { font-size: clamp(28px, 4vw, 48px); margin-top: 12px; }
.sec-head .lead { margin-top: 18px; max-width: 700px; font-size: 16px; }

/* 明色の章（ダーク → ライトで緩急をつける） */
.sec-lt { background: var(--lt); color: var(--lt-ink); }
.sec-lt .label { color: #4d6b00; }
.sec-lt .lead { color: var(--lt-ink-2); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 2px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid currentColor; color: var(--on-d); background: transparent; cursor: pointer; font-family: var(--sans); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, box-shadow .3s; }
.btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-acc { background: var(--acc); border-color: var(--acc); color: var(--ink); }
.btn-acc:hover { background: var(--acc-d); border-color: var(--acc-d); color: var(--ink); box-shadow: 0 0 0 1px var(--acc), 0 0 28px rgba(200,255,61,.45); }
.btn-dk { border-color: var(--lt-ink); color: var(--lt-ink); }
.btn-dk:hover { background: var(--lt-ink); color: #fff; border-color: var(--lt-ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 50; background: rgba(14,17,22,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo .mark { width: 36px; height: 36px; background: var(--acc); color: var(--ink); display: grid; place-items: center; flex: none; }
.logo .mark svg { width: 21px; height: 21px; }
.logo .name { font-family: var(--num); font-weight: 700; font-size: 19px; letter-spacing: .08em; color: #fff; line-height: 1.15; }
.logo .name small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; color: var(--on-d-2); font-weight: 500; }
.nav ul { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 700; padding: 12px 0; display: inline-block; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; gap: 12px; align-items: center; }
.header-cta .tel { font-family: var(--num); font-size: 17px; font-weight: 700; color: #fff; line-height: 1.15; text-decoration: none; }
.header-cta .tel small { display: block; font-family: var(--sans); font-size: 10px; color: var(--on-d-2); letter-spacing: .06em; font-weight: 500; }
.header .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  body.menu-open .nav { display: block; position: fixed; inset: 76px 0 0; background: var(--ink); padding: 20px 24px 40px; overflow: auto; }
  body.menu-open .nav ul { flex-direction: column; gap: 0; }
  body.menu-open .nav a { font-size: 18px; font-weight: 900; padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; }
  body.menu-open .nav a::after { display: none; }
  body.menu-open .nav .m-cta { display: grid; gap: 10px; margin-top: 24px; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
}
.nav .m-cta { display: none; }

/* ヒーロー（全面ダーク・中央寄せ） */
.hero { position: relative; overflow: hidden; padding-block: clamp(60px, 8vw, 118px) 0; text-align: center; }
.hero .bg { position: absolute; inset: 0; z-index: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.85); opacity: .25; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,22,.5) 0%, rgba(14,17,22,.7) 45%, var(--ink) 100%); }
.hero .grid-lines { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 7.4vw, 90px); line-height: 1.12; color: #fff; margin-top: 18px; letter-spacing: -.005em; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero .lead { margin: 26px auto 0; max-width: 680px; font-size: clamp(15px, 1.3vw, 18px); color: var(--on-d); }
.hero .cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .pts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; }
.hero .pts li { font-size: 13px; color: var(--on-d-2); border: 1px solid var(--line); padding: 5px 13px; border-radius: 999px; }

/* 数字（ヒーロー直下・細いグリッド線で区切る） */
.stats { position: relative; z-index: 2; margin-top: clamp(44px, 5.5vw, 80px); border-top: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 20px; border-left: 1px solid var(--line); text-align: left; }
.stat:first-child { border-left: 0; }
.stat .v { font-family: var(--num); font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; line-height: 1; color: #fff; }
.stat .v small { font-family: var(--sans); font-size: 15px; margin-left: 5px; font-weight: 700; color: var(--acc); }
.stat .k { font-size: 13px; margin-top: 10px; color: var(--on-d-2); line-height: 1.6; }
@media (max-width: 720px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .stat { padding: 24px 14px; } }

/* 汎用グリッド・カード（細い線で区切る） */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { border: 1px solid var(--line); background: var(--ink-2); padding: 28px 26px 30px; transition: border-color .3s, transform .3s var(--ease); }
.card:hover { border-color: #49515e; transform: translateY(-3px); }
.sec-lt .card { background: #fff; border-color: var(--lt-line); }
.sec-lt .card:hover { border-color: #9fa6b0; }

/* 対応加工カード */
.cap .no { font-family: var(--num); font-size: 13px; letter-spacing: .2em; color: var(--acc); font-weight: 700; }
.sec-lt .cap .no { color: #4d6b00; }
.cap h3 { font-size: 21px; margin-top: 10px; }
.cap p { margin-top: 12px; font-size: 15px; color: var(--on-d-2); }
.sec-lt .cap p { color: var(--lt-ink-2); }
.cap dl { margin: 18px 0 0; display: grid; grid-template-columns: 74px 1fr; gap: 7px 12px; font-size: 13px; border-top: 1px solid var(--line); padding-top: 16px; }
.sec-lt .cap dl { border-color: var(--lt-line); }
.cap dt { color: var(--on-d-2); font-weight: 700; }
.sec-lt .cap dt { color: #656c77; }
.cap dd { margin: 0; color: var(--on-d); }
.sec-lt .cap dd { color: var(--lt-ink); }

/* 理由（大きい数字つき） */
.reasons ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.reasons li { padding: 34px 28px; border-left: 1px solid var(--line); }
.sec-lt .reasons li { border-color: var(--lt-line); }
.reasons li:first-child { border-left: 0; padding-left: 0; }
.reasons .n { font-family: var(--num); font-size: 52px; font-weight: 700; line-height: 1; color: var(--acc); }
.sec-lt .reasons .n { color: #5d8000; }
.reasons h3 { font-size: 20px; margin-top: 16px; }
.reasons p { margin-top: 12px; font-size: 15px; color: var(--on-d-2); }
.sec-lt .reasons p { color: var(--lt-ink-2); }
@media (max-width: 860px) { .reasons ol { grid-template-columns: 1fr; } .reasons li { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; } .sec-lt .reasons li { border-color: var(--lt-line); } .reasons li:first-child { border-top: 0; padding-top: 0; } }

/* 加工事例 */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .works-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .works-grid { grid-template-columns: 1fr; } }
.work { border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: border-color .3s; }
.sec-lt .work { background: #fff; border-color: var(--lt-line); }
.work:hover { border-color: #49515e; }
.work .ph { overflow: hidden; }
.work .ph img { aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(.8) contrast(1.1); transition: filter .5s var(--ease), transform .6s var(--ease); width: 100%; }
.work:hover .ph img { filter: grayscale(0) contrast(1.05); transform: scale(1.03); }
.work .in { padding: 22px 24px 26px; }
.work .tag { font-family: var(--num); font-size: 12px; letter-spacing: .14em; color: var(--acc); font-weight: 700; }
.sec-lt .work .tag { color: #4d6b00; }
.work h3 { font-size: 18px; margin-top: 8px; line-height: 1.5; }
.work dl { margin: 16px 0 0; display: grid; grid-template-columns: 62px 1fr; gap: 6px 12px; font-size: 13px; }
.work dt { color: var(--on-d-2); font-weight: 700; }
.sec-lt .work dt { color: #656c77; }
.work dd { margin: 0; }
.work .note { margin-top: 14px; font-size: 14px; color: var(--on-d-2); }
.sec-lt .work .note { color: var(--lt-ink-2); }

/* 表（設備一覧など） */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); }
.sec-lt .tablewrap { border-color: var(--lt-line); background: #fff; }
table.tb { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
table.tb th, table.tb td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sec-lt table.tb th, .sec-lt table.tb td { border-color: var(--lt-line); }
table.tb thead th { font-size: 12px; letter-spacing: .12em; color: var(--acc); background: var(--ink-3); font-weight: 700; white-space: nowrap; }
.sec-lt table.tb thead th { color: #3d5500; background: var(--lt-2); }
table.tb tbody tr:last-child th, table.tb tbody tr:last-child td { border-bottom: 0; }
table.tb tbody th { font-weight: 700; }
table.tb td .sub { display: block; font-size: 12px; color: var(--on-d-2); }
.sec-lt table.tb td .sub { color: var(--lt-ink-2); }
.tb-hint { font-size: 12px; color: var(--on-d-2); margin-top: 10px; }
.sec-lt .tb-hint { color: var(--lt-ink-2); }

/* 業種チップ */
.inds { display: flex; flex-wrap: wrap; gap: 10px; }
.inds .chip { font-size: 14px; padding: 9px 18px; border: 1px solid var(--line); color: var(--on-d); }
.sec-lt .inds .chip { border-color: var(--lt-line); background: #fff; color: var(--lt-ink); }
.inds .chip b { font-family: var(--num); color: var(--acc); margin-left: 8px; font-size: 13px; }
.sec-lt .inds .chip b { color: #4d6b00; }

/* お知らせ */
.news .list { border-top: 1px solid var(--line); }
.sec-lt .news .list { border-color: var(--lt-line); }
.news .list a { display: grid; grid-template-columns: 112px 96px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; transition: color .25s; }
.sec-lt .news .list a { border-color: var(--lt-line); }
.news .list a:hover { color: var(--acc); }
.sec-lt .news .list a:hover { color: #3d5500; }
.news .list time { font-family: var(--num); font-size: 13px; color: var(--on-d-2); }
.sec-lt .news .list time { color: var(--lt-ink-2); }
.news .list .tag { font-size: 12px; border: 1px solid var(--line); padding: 3px 0; text-align: center; color: var(--on-d-2); }
.sec-lt .news .list .tag { border-color: var(--lt-line); color: var(--lt-ink-2); }
@media (max-width: 620px) { .news .list a { grid-template-columns: 1fr; gap: 6px; } .news .list .tag { justify-self: start; padding: 3px 12px; } }

/* CTA 帯 */
.cta-band { background: var(--acc); color: var(--ink); padding: clamp(52px, 6.5vw, 92px) 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.cta-band .label { color: #3d5500; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 44px); margin-top: 10px; }
.cta-band p { margin-top: 14px; color: #263100; font-size: 15px; }
.cta-band .btns { display: grid; gap: 12px; }
.cta-band .btn { border-color: var(--ink); color: var(--ink); }
.cta-band .btn:hover { background: var(--ink); color: var(--acc); border-color: var(--ink); }
.cta-band .btn-fill { background: var(--ink); color: var(--acc); }
.cta-band .btn-fill:hover { background: #000; color: var(--acc); border-color: #000; }
.cta-band .tel { font-family: var(--num); font-size: 26px; font-weight: 700; text-align: center; }
.cta-band .tel small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; color: #263100; letter-spacing: .06em; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* 下層ページ見出し */
.page-head { padding: clamp(48px, 6vw, 88px) 0 clamp(34px, 4vw, 52px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(32px, 5vw, 62px); margin-top: 12px; color: #fff; }
.page-head .lead { margin-top: 18px; max-width: 720px; color: var(--on-d); }
.crumb { font-size: 13px; color: var(--on-d-2); margin-bottom: 16px; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { color: var(--acc); }

/* 加工の詳細（products） */
.detail { border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); }
.sec-lt .detail { border-color: var(--lt-line); }
.detail:first-of-type { border-top: 0; padding-top: 0; }
.detail .hd .no { font-family: var(--num); font-size: 13px; letter-spacing: .2em; color: var(--acc); font-weight: 700; }
.sec-lt .detail .hd .no { color: #4d6b00; }
.detail .hd h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 10px; }
.detail .hd .en { font-family: var(--num); font-size: 13px; letter-spacing: .14em; color: var(--on-d-2); margin-top: 8px; }
.sec-lt .detail .hd .en { color: var(--lt-ink-2); }
.detail .bd > p { font-size: 16px; }
.detail h3 { font-size: 16px; margin-top: 26px; color: var(--acc); letter-spacing: .04em; }
.sec-lt .detail h3 { color: #4d6b00; }
.detail .bd > h3:first-child { margin-top: 0; }
.detail ul.chk { margin-top: 12px; display: grid; gap: 8px; }
.detail ul.chk li { position: relative; padding-left: 24px; font-size: 15px; color: var(--on-d-2); }
.sec-lt .detail ul.chk li { color: var(--lt-ink-2); }
.detail ul.chk li::before { content: ""; position: absolute; left: 0; top: 10px; width: 13px; height: 7px; border-left: 2.5px solid var(--acc); border-bottom: 2.5px solid var(--acc); transform: rotate(-45deg); }
.sec-lt .detail ul.chk li::before { border-color: #5d8000; }
.detail .spec { margin-top: 14px; display: grid; grid-template-columns: 96px 1fr; gap: 8px 14px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.sec-lt .detail .spec { border-color: var(--lt-line); }
.detail .spec dt { color: var(--on-d-2); font-weight: 700; }
.sec-lt .detail .spec dt { color: #656c77; }
.detail .spec dd { margin: 0; }
.detail .warn { margin-top: 18px; border-left: 3px solid var(--acc); padding: 4px 0 4px 16px; font-size: 14px; color: var(--on-d-2); }
.sec-lt .detail .warn { color: var(--lt-ink-2); border-color: #5d8000; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .detail .spec { grid-template-columns: 86px 1fr; } }

/* 検査の流れ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 18px; }
.step { padding: 24px 0 26px; border-top: 2px solid var(--acc); }
.sec-lt .step { border-color: #5d8000; }
.step .n { font-family: var(--num); font-size: 13px; letter-spacing: .2em; color: var(--acc); font-weight: 700; }
.sec-lt .step .n { color: #4d6b00; }
.step h3 { font-size: 18px; margin-top: 8px; }
.step p { font-size: 14px; color: var(--on-d-2); margin-top: 10px; }
.sec-lt .step p { color: var(--lt-ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* 採用 */
.rc-hero { display: grid; grid-template-columns: 1fr 420px; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rc-hero img { aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.5) contrast(1.06); width: 100%; }
.rc-hero h2 { font-size: clamp(28px, 4.4vw, 54px); line-height: 1.2; }
.rc-hero h2 em { font-style: normal; color: var(--acc); }
.rc-hero p { margin-top: 22px; font-size: 16px; color: var(--on-d); }
@media (max-width: 900px) { .rc-hero { grid-template-columns: 1fr; } .rc-hero img { aspect-ratio: 3 / 2; } }

.job { border: 1px solid var(--line); background: var(--ink-2); padding: 28px 26px; }
.sec-lt .job { background: #fff; border-color: var(--lt-line); }
.job h3 { font-size: 20px; margin-top: 8px; }
.job .cat { font-family: var(--num); font-size: 12px; letter-spacing: .16em; color: var(--acc); font-weight: 700; }
.sec-lt .job .cat { color: #4d6b00; }
.job dl { margin: 18px 0 0; display: grid; grid-template-columns: 80px 1fr; gap: 8px 12px; font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 16px; }
.sec-lt .job dl { border-color: var(--lt-line); }
.job dt { color: var(--on-d-2); font-weight: 700; }
.sec-lt .job dt { color: #656c77; }
.job dd { margin: 0; }

.voice-q { border-left: 3px solid var(--acc); padding-left: 22px; }
.sec-lt .voice-q { border-color: #5d8000; }
.voice-q .big { font-size: clamp(18px, 2.1vw, 23px); font-weight: 700; line-height: 1.6; color: #fff; }
.sec-lt .voice-q .big { color: var(--lt-ink); }
.voice-q .body { margin-top: 14px; font-size: 15px; color: var(--on-d-2); }
.sec-lt .voice-q .body { color: var(--lt-ink-2); }
.voice-q cite { display: block; margin-top: 16px; font-style: normal; font-size: 13px; color: var(--on-d-2); }
.sec-lt .voice-q cite { color: var(--lt-ink-2); }
.voice-q cite b { display: block; font-size: 15px; color: var(--on-d); }
.sec-lt .voice-q cite b { color: var(--lt-ink); }

.timeline li { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sec-lt .timeline li { border-color: var(--lt-line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.sec-lt .timeline li:last-child { border-color: var(--lt-line); }
.timeline .t { font-family: var(--num); font-weight: 700; color: var(--acc); }
.sec-lt .timeline .t { color: #4d6b00; }
@media (max-width: 480px) { .timeline li { grid-template-columns: 68px 1fr; gap: 12px; } }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sec-lt .perks { background: var(--lt-line); border-color: var(--lt-line); }
.perks div { background: var(--ink); padding: 24px 22px; }
.sec-lt .perks div { background: #fff; }
.perks h3 { font-size: 17px; }
.perks p { font-size: 14px; color: var(--on-d-2); margin-top: 8px; }
.sec-lt .perks p { color: var(--lt-ink-2); }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.sec-lt .faq details { border-color: var(--lt-line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 46px 20px 0; font-weight: 700; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--num); color: var(--acc); margin-right: 14px; font-weight: 700; }
.sec-lt .faq summary::before { color: #4d6b00; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--num); font-size: 26px; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 0 22px 32px; color: var(--on-d-2); font-size: 15px; }
.sec-lt .faq .a { color: var(--lt-ink-2); }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.side .box { border-top: 1px solid var(--line); padding: 20px 0; }
.sec-lt .side .box { border-color: var(--lt-line); }
.side .box h3 { font-size: 16px; }
.side .box p { font-size: 14px; color: var(--on-d-2); margin-top: 8px; }
.sec-lt .side .box p { color: var(--lt-ink-2); }
.side .tel { font-family: var(--num); font-size: 28px; font-weight: 700; color: #fff; margin-top: 6px; }
.sec-lt .side .tel { color: var(--lt-ink); }

.form { border: 1px solid var(--line); background: var(--ink-2); padding: 32px 30px 34px; }
.sec-lt .form { background: #fff; border-color: var(--lt-line); }
.form .row { display: grid; gap: 6px; margin-bottom: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form label { font-size: 14px; font-weight: 700; }
.form label .req { font-size: 11px; color: var(--ink); background: var(--acc); padding: 2px 7px; margin-left: 8px; vertical-align: middle; font-family: var(--num); font-weight: 700; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); background: var(--ink); color: var(--on-d); width: 100%; min-height: 48px; border-radius: 2px; }
.sec-lt .form input, .sec-lt .form select, .sec-lt .form textarea { background: #fff; border-color: #b9bec6; color: var(--lt-ink); }
.form input::placeholder, .form textarea::placeholder { color: #8b94a1; }
.sec-lt .form input::placeholder, .sec-lt .form textarea::placeholder { color: #767d88; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
.sec-lt .form input:focus, .sec-lt .form select:focus, .sec-lt .form textarea:focus { outline-color: #5d8000; border-color: #5d8000; }
.form input[type=file] { padding: 11px 12px; line-height: 1.6; }
.form .hint { font-size: 12px; color: var(--on-d-2); }
.sec-lt .form .hint { color: var(--lt-ink-2); }
.form .err { display: none; font-size: 13px; color: #ff9f8c; }
.sec-lt .form .err { color: #b3261e; }
.form .row.invalid .err { display: block; }
.form .row.invalid input, .form .row.invalid select, .form .row.invalid textarea { border-color: #ff9f8c; }
.sec-lt .form .row.invalid input, .sec-lt .form .row.invalid select, .sec-lt .form .row.invalid textarea { border-color: #b3261e; }
.form .radios { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.form .radios label { font-weight: 400; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 15px; }
.form .radios input { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--acc); }
.form .btn { width: 100%; margin-top: 6px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form .note { font-size: 12px; color: var(--on-d-2); margin-top: 14px; }
.sec-lt .form .note { color: var(--lt-ink-2); }
.form .done { display: none; text-align: center; padding: 30px 0 10px; }
.form.is-done form { display: none; }
.form.is-done .done { display: block; }
.form .done svg { width: 52px; height: 52px; color: var(--acc); margin-inline: auto; }
.sec-lt .form .done svg { color: #5d8000; }
.form .done h3 { font-size: 20px; margin-top: 14px; }
.form .done p { margin-top: 10px; font-size: 14px; color: var(--on-d-2); }
.sec-lt .form .done p { color: var(--lt-ink-2); }
@media (max-width: 520px) { .form { padding: 24px 18px 28px; } .form .row2 { grid-template-columns: 1fr; } }

/* 地図の枠 */
.mapbox { border: 1px solid var(--line); background: var(--ink-3); aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 24px; }
.sec-lt .mapbox { border-color: var(--lt-line); background: var(--lt-2); }
.mapbox p { font-size: 14px; color: var(--on-d-2); }
.sec-lt .mapbox p { color: var(--lt-ink-2); }
.mapbox svg { width: 38px; height: 38px; color: var(--acc); margin-inline: auto; }
.sec-lt .mapbox svg { color: #5d8000; }

/* フッター */
.footer { background: #080a0e; color: var(--on-d-2); padding: 56px 0 34px; font-size: 14px; border-top: 1px solid var(--line); }
.footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer address { font-style: normal; margin-top: 16px; line-height: 1.9; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer .links a { text-decoration: none; display: block; padding: 6px 0; }
.footer .links a:hover { color: var(--acc); }
.footer .copy { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 760px) { .footer .top { grid-template-columns: 1fr; } }

/* デモ注記 */
.demo-note { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: rgba(200,255,61,.95); color: #14181e; font-size: 12px; font-weight: 700; padding: 8px 10px 8px 14px; border-radius: 999px; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); }
.demo-note button { border: 0; background: transparent; color: inherit; width: 24px; height: 24px; min-width: 24px; cursor: pointer; font-size: 16px; line-height: 1; padding: 0; }

/* 出現アニメーション */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .09s; } .rv-d2 { transition-delay: .18s; } .rv-d3 { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .work:hover .ph img { transform: none; }
  .card:hover { transform: none; }
}

/* 全幅の現場写真 */
.wide-ph { overflow: hidden; }
.wide-ph img { width: 100%; aspect-ratio: 32 / 9; object-fit: cover; filter: grayscale(.85) contrast(1.12); }
@media (max-width: 720px) { .wide-ph img { aspect-ratio: 16 / 9; } }

/* 会社概要の表（見出し列を折り返さない） */
table.tb.tb-co { min-width: 440px; }
table.tb.tb-co tbody th { white-space: nowrap; width: 118px; }
table.tb.tb-co th, table.tb.tb-co td { padding: 13px 16px; }
@media (max-width: 560px) {
  /* 会社概要の表は横スクロールさせずに収める */
  table.tb.tb-co { min-width: 0; }
  table.tb.tb-co tbody th { width: 96px; white-space: normal; }
  table.tb.tb-co th, table.tb.tb-co td { padding: 12px 12px; }
}
