/* 2026-10-28 参考サイト（nakada-const.co.jp）の UI に組み替え：白い固定ヘッダー・全面写真の FV・英字ラベル＋太いゴシックの見出し・角の丸いカード・丸い矢印のボタン・写真の上のお問い合わせカード
   色はロゴの青（文字）と緑（マーク）。文字は紺。前の案B（明朝・冊子風）は scratchpad の b.css.bak_20261028b */
:root {
  --ink: #1b2639; --sub: #5a6476; --line: #dfe4ec; --paper: #ffffff; --gray: #f2f5f9; --card: #ffffff;
  --blue: #1d5fb4; --blue-dark: #164a8d; --blue-soft: #e6eef9; --green: #2e8b4e; --green-soft: #e3f2e8;
  --head: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --num: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --head-h: 76px; --radius: 14px; --shadow: 0 10px 30px rgba(27, 38, 57, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 15px/2 var(--body); letter-spacing: .04em; padding-top: var(--head-h); }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--head); font-weight: 900; text-wrap: balance; line-height: 1.5; margin: 0; letter-spacing: .06em; }

/* ヘッダー：白・上に固定。ロゴ／メニュー／電話／四角いお問い合わせ */
.top-bar { display: none; }
header.site { position: fixed; inset: 0 0 auto; z-index: 50; background: #fff; transition: box-shadow .3s; }
header.site.scrolled { box-shadow: 0 2px 16px rgba(27, 38, 57, .1); }
.head-in { height: var(--head-h); display: flex; align-items: center; gap: 24px; padding-left: max(20px, env(safe-area-inset-left, 0px)); }
.logo img { height: 38px; width: auto; }
nav.gnav { margin-left: auto; }
nav.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
nav.gnav a { display: block; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; transition: background .2s, color .2s; }
nav.gnav a:hover { background: var(--gray); }
nav.gnav a.on { background: var(--blue); color: #fff; }
.gnav-tel { display: none; }
.tel { line-height: 1.4; }
.tel b { font: 600 22px/1.2 var(--num); letter-spacing: .04em; display: block; color: var(--ink); }
.tel span { font-size: 11px; color: var(--sub); }
.head-tel { padding-left: 20px; border-left: 1px solid var(--line); }
.head-btn { align-self: stretch; width: 96px; flex: none; display: grid; place-content: center; justify-items: center; gap: 4px; background: var(--blue); color: #fff; text-decoration: none; font-size: 11px; font-weight: 700; line-height: 1.3; transition: background .2s; }
.head-btn:hover { background: var(--blue-dark); }
.head-btn svg, .c-card svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.menu-btn { display: none; }

/* ボタン：角の丸い青。右に白い丸の矢印 */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 240px; background: var(--blue); color: #fff; text-decoration: none; padding: 14px 16px 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.5; transition: background .2s, transform .2s; }
.btn::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%231d5fb4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.btn:hover { background: var(--blue-dark); }
.btn:hover::after { transform: translateX(3px); }
.btn.line { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; justify-self: start; }
.more::after { content: ""; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--blue); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%231d5fb4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: background-color .2s, transform .2s; }
.more:hover::after { transform: translateX(3px); background-color: var(--blue-soft); }

/* FV：空撮を画面いっぱいに。白い極太の見出し・英字の透かし・縦の Scroll */
.hero { position: relative; min-height: calc(100svh - var(--head-h)); display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero .photo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 46, .62) 0%, rgba(14, 26, 46, .32) 50%, rgba(14, 26, 46, .05) 100%), url(img/fv_aerial.jpg) center / cover no-repeat; animation: zoom 18s ease-out both; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero .copy { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding-block: 64px 120px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); display: grid; gap: 20px; justify-items: start; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: #fff; }
.hero .local { margin: 0; color: #fff; font: 900 clamp(40px, 6.4vw, 84px)/1.3 var(--head); letter-spacing: .08em; text-shadow: 0 4px 24px rgba(0, 0, 0, .25); }
.hero p { margin: 0; font-size: 15px; max-width: 34em; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.hero .mark { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 36px; z-index: 1; font: 600 clamp(64px, 13vw, 190px)/1 var(--num); color: rgba(255, 255, 255, .28); letter-spacing: .02em; pointer-events: none; }
.hero .scroll { position: absolute; left: 50%; bottom: 0; z-index: 1; writing-mode: vertical-rl; font: 500 12px var(--num); letter-spacing: .2em; color: #fff; padding-bottom: 72px; }
.hero .scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: linear-gradient(#fff 50%, rgba(255, 255, 255, .3) 50%) 0 0 / 1px 200%; animation: line 2s linear infinite; }
/* FV → About のパララックス：FV を止め、About が上に重なって流れる */
.fv-stage { position: relative; }
.fv-stage .hero { position: sticky; top: var(--head-h); }
.hero::after { content: ""; position: absolute; inset: 0; background: #0e1a2e; opacity: var(--fv-dim, 0); pointer-events: none; }
.hero .copy, .hero .mark { will-change: transform, opacity; }
.about-over { position: relative; z-index: 2; background: #fff; border-radius: 28px 28px 0 0; margin-top: -28px; box-shadow: 0 -16px 40px rgba(14, 26, 46, .14); }
@keyframes line { to { background-position: 0 -128px; } }

/* 見出し：英字のラベル（青）の下に、太いゴシックの大きな見出し */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 17px/1 var(--num); color: var(--blue); letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); }
section { padding-block: 104px; background: var(--paper); }
section.tint { background: var(--gray); }
section > .wrap { display: grid; gap: 32px; }
section > .wrap > * { min-width: 0; }
.sec-head { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); }

/* About：3つの強みを白いカードで横に並べる */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.points div { background: var(--gray); border-radius: var(--radius); padding: 32px 28px; display: grid; gap: 10px; align-content: start; }
.points b { font: 600 52px/1 var(--num); color: var(--blue); }
.points h3 { font-size: 19px; }
.points p { margin: 0; color: var(--sub); font-size: 14px; }
section.tint .points div { background: #fff; }

/* 事業内容：写真が上のカードを3つ。番号は Service 01 の形 */
.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: biz; }
.biz article { counter-increment: biz; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; padding-bottom: 28px; position: relative; }
.biz article > :not(img):not(.ph) { margin-inline: 24px; }
.biz article::before { content: "Service " counter(biz, decimal-leading-zero); position: absolute; top: 14px; left: 14px; z-index: 1; background: #fff; color: var(--blue); font: 600 12px/1 var(--num); letter-spacing: .08em; padding: 7px 12px; border-radius: 999px; }
.biz img, .biz .ph { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 8px; transition: transform .5s; }
.biz article:hover img { transform: scale(1.04); }
.biz h3 { font-size: 21px; margin-top: 4px; }
.biz p { margin: 0; font-size: 14px; color: var(--sub); }
.biz .more { margin-top: auto; padding-top: 8px; }
.lead-in { font-weight: 700; color: var(--ink) !important; }

/* お知らせ：1件1行。右に丸い矢印 */
.news-tabs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.news-tabs span { color: var(--sub); padding: 4px 16px; border-radius: 999px; background: var(--gray); }
.news-tabs span.on { color: #fff; background: var(--blue); font-weight: 700; }
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { position: relative; display: grid; grid-template-columns: 7.5em 7em 1fr 40px; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.news li::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; grid-column: 4; grid-row: 1; transition: transform .2s; }
.news li:hover::after { transform: translateX(3px); }
.news time { font: 500 15px var(--num); color: var(--sub); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.news .cat { font-size: 11px; font-weight: 700; background: var(--blue-soft); color: var(--blue); text-align: center; padding: 3px 0; border-radius: 999px; line-height: 1.6; }
.news .cat.k { background: var(--green-soft); color: var(--green); }
.news a { color: var(--ink); text-decoration: none; min-width: 0; font-weight: 700; grid-column: 3; }
.news a::before { content: ""; position: absolute; inset: 0; }
.news a:hover { color: var(--blue); }

/* 施工実績：白いカード */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.works > div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 24px; display: grid; gap: 6px; align-content: start; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba figure { margin: 0; position: relative; }
.ba img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 8px; }
.ba figcaption { position: absolute; left: 8px; top: 8px; font: 600 11px/1 var(--num); letter-spacing: .08em; color: #fff; background: rgba(27, 38, 57, .7); padding: 6px 10px; border-radius: 999px; }
.ba figure + figure figcaption { background: var(--blue); }
.works h3 { font-size: 17px; margin-top: 10px; }
.works p { margin: 0; font-size: 13px; color: var(--sub); }

table.info { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: var(--radius); overflow: hidden; }
table.info th, table.info td { border-bottom: 1px solid var(--line); padding: 20px 24px; text-align: left; vertical-align: top; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: 0; }
table.info th { width: 11em; font-weight: 700; color: var(--blue); background: var(--blue-soft); }
section:not(.tint) table.info { box-shadow: var(--shadow); }
.table-scroll { overflow-x: auto; }
.note { font-size: 12px; color: var(--sub); }

/* お問い合わせ：空撮を薄く敷き、白いカードを2枚 */
.contact-ftr { position: relative; background: linear-gradient(rgba(255, 255, 255, .86), rgba(242, 245, 249, .94)), url(img/fv_aerial.jpg) center / cover no-repeat; text-align: center; }
.contact-ftr .wrap { justify-items: center; }
.contact-ftr .sec-head { align-items: center; }
.contact-ftr .lead { margin: 0; color: var(--sub); }
.c-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 28px; justify-content: center; width: 100%; margin-top: 8px; }
.c-card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 28px 36px; display: grid; justify-items: center; gap: 12px; align-content: start; }
.c-card svg { width: 44px; height: 44px; color: var(--blue); }
.c-card h3 { font-size: 17px; }
.c-card .tel { text-align: center; }
.c-card .tel b { font-size: 32px; color: var(--blue); }
.c-side { position: absolute; left: -10px; top: 24px; writing-mode: vertical-rl; font: 500 13px/1 var(--num); color: var(--blue); letter-spacing: .14em; }
.cta { display: none; }

/* フッター：大きな一言とロゴ、右にメニュー */
footer.site { background: var(--gray); color: var(--sub); font-size: 13px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-block: 72px 48px; align-items: start; }
.f-brand { display: grid; gap: 16px; justify-items: start; }
.f-brand p { margin: 0; line-height: 1.9; }
.f-catch { font: 900 clamp(24px, 2.8vw, 34px)/1.4 var(--head) !important; color: var(--ink); letter-spacing: .08em; }
.f-logo { height: 34px; width: auto; }
.f-nav { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
.f-nav a { color: var(--ink); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.f-nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.f-nav a:hover { color: var(--blue); }
footer.site small { display: block; text-align: center; background: var(--ink); color: rgba(255, 255, 255, .75); padding: 14px 16px; font: 500 12px var(--num); letter-spacing: .08em; }

/* 下層ページの見出し：左に薄いグレーの帯と見出し、右に写真 */
.page-title { position: relative; background: var(--gray); overflow: hidden; }
.page-title::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 44%; background: url(img/fv_aerial.jpg) center / cover no-repeat; border-bottom-left-radius: 40px; }
.page-title .wrap { position: relative; z-index: 1; min-height: 300px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding-block: 56px; }
.page-title .wrap > * { max-width: 52%; }
.page-title h1 { font-size: clamp(28px, 3.4vw, 42px); order: 1; }
.page-title .eyebrow { order: 2; }
.page-title .crumb { order: 3; margin-top: 18px; }
.crumb { font-size: 12px; color: var(--sub); }
.crumb a { color: var(--sub); }

.greeting { display: grid; gap: 24px; max-width: 820px; }
.greeting h2 { font-size: clamp(22px, 2.6vw, 30px); }
.greeting p { margin: 0 0 1em; }
.sign { text-align: right; font-weight: 700; font-size: 17px; }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: grid; grid-template-columns: 6em 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.history time { font: 600 18px var(--num); color: var(--blue); }
.map { aspect-ratio: 16 / 7; background: var(--blue-soft); border-radius: var(--radius); display: grid; place-items: center; color: var(--sub); font-size: 14px; max-width: 100%; }

/* 下層ページ（事業内容・流れ・施工実績・マガジン・記事・お問い合せ） */
.jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.jump a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 22px; transition: border-color .2s, color .2s; }
.jump a::after { content: "↓"; color: var(--blue); }
.jump a:hover { border-color: var(--blue); color: var(--blue); }
#reform, #relife, #reuse { scroll-margin-top: calc(var(--head-h) + 16px); }
.biz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.biz-row > * { min-width: 0; }
.biz-row img, .biz-row .ph { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: var(--radius); }
.biz-row p { margin: 0 0 12px; }
.biz-row .lead-in { font: 900 22px/1.6 var(--head); }
.kind { font-size: 13px; color: var(--sub); }
.todo { color: var(--sub); font-size: 14px; border: 1px dashed #c4cdd9; border-radius: 10px; padding: 12px 16px; }
.sub-h { font-size: 19px; margin: 24px 0 0; padding-left: 14px; border-left: 4px solid var(--blue); line-height: 1.5; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 700; padding: 4px 16px; background: var(--blue-soft); color: var(--blue); border-radius: 999px; }
.ph { background: #eaeef4; border: 1px dashed #c4cdd9; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 12px; color: var(--sub); font-size: 13px; max-width: 100%; }
.biz .ph { border-radius: 0; border: 0; border-bottom: 1px dashed #c4cdd9; }
.ph.wide { min-height: 120px; }
.ph.tall { min-height: 320px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 4px 20px; padding: 24px 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
section.tint .steps li { box-shadow: none; }
.steps b { grid-row: span 2; font: 600 40px/1 var(--num); color: var(--blue); }
.steps h3 { font-size: 18px; }
.steps p { margin: 0; font-size: 14px; color: var(--sub); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.cards a { text-decoration: none; color: var(--ink); display: grid; gap: 8px; align-content: start; min-width: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 20px; transition: transform .2s; }
.cards a > :not(img) { margin-inline: 18px; }
.cards a:hover { transform: translateY(-4px); }
.cards img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 6px; }
.cards time { font: 500 14px var(--num); color: var(--sub); }
.cards h3 { font-size: 16px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; font: 500 15px var(--num); }
.pager a, .pager span { text-decoration: none; color: var(--ink); min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.pager .on { color: #fff; background: var(--blue); border-color: var(--blue); }
.post-nav { justify-content: space-between; font-family: var(--body); font-size: 14px; }
.post-nav a, .post-nav span { border-radius: 10px; }
.meta { display: flex; gap: 12px; align-items: center; }
.meta time { font: 500 15px var(--num); color: var(--sub); }
.meta .cat { font-size: 11px; font-weight: 700; background: var(--blue-soft); color: var(--blue); padding: 2px 14px; border-radius: 999px; }
.post { max-width: 800px; width: 100%; margin: 0 auto; display: grid; gap: 22px; background: var(--card); padding: 48px; border-radius: var(--radius); box-shadow: var(--shadow); }
.post p { margin: 0; }
.post .ba img { aspect-ratio: 4 / 3; }
.post-body > * + * { margin-top: 1em; }
.tel-box { display: grid; gap: 12px; }
.tel-box p { margin: 0; }
.tel-box .tel { text-align: left; }
.tel-box .tel b { font-size: 36px; color: var(--blue); }

/* アップリフォームから自動で表示する枠（2026-10-27 方針：会社案内に絞る） */
.feed-note { font-size: 13px; color: var(--sub); margin: 0; max-width: 46em; }
.cards .ext { display: block; font-size: 12px; color: var(--sub); }
.cards .ext::after, .works h3 a::after { content: " ↗"; font-size: .85em; color: var(--sub); }
.go-out { margin: 0; }
.works h3 a { color: inherit; text-decoration: none; }

/* 画面に入ったら下からふわっと出す（動きを減らす設定の人には出さない） */
@media (prefers-reduced-motion: no-preference) {
  .js section > .wrap { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
  .js section > .wrap.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hero .photo, .hero .scroll::after { animation: none; } }

/* PC の幅が狭いとき：電話をしまう */
@media (max-width: 1180px) { .head-tel { display: none; } }

/* スマホ・タブレット：メニューはボタンで開く全面のパネル */
@media (max-width: 960px) {
  :root { --head-h: 64px; }
  .head-in { gap: 0; }
  .logo img { height: 32px; }
  .head-btn { margin-left: auto; width: 64px; font-size: 0; gap: 0; }
  .head-btn svg { width: 26px; height: 26px; }
  .menu-btn { display: grid; align-content: center; justify-items: center; gap: 6px; width: 64px; align-self: stretch; border: 0; background: var(--ink); cursor: pointer; padding: 0; }
  .menu-btn i { display: block; width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
  header.site.open .menu-btn i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  header.site.open .menu-btn i:nth-child(2) { opacity: 0; }
  header.site.open .menu-btn i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  nav.gnav { position: fixed; inset: var(--head-h) 0 0; background: #fff; margin: 0; padding: 24px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  header.site.open nav.gnav { opacity: 1; visibility: visible; }
  nav.gnav ul { flex-direction: column; gap: 0; }
  nav.gnav a { font-size: 17px; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  nav.gnav a.on { background: none; color: var(--blue); }
  .gnav-tel { display: grid; gap: 4px; justify-items: center; text-align: center; margin-top: 28px; background: var(--gray); border-radius: var(--radius); padding: 24px 16px; }
  .gnav-tel b { font: 600 28px/1.2 var(--num); color: var(--blue); }
  .gnav-tel span { font-size: 12px; color: var(--sub); }
  .gnav-tel .btn { margin-top: 12px; color: #fff; font-size: 15px; padding: 14px 16px 14px 28px; border-radius: 10px; border: 0; }
  .points, .biz { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  section { padding-block: 64px; }
  section > .wrap { gap: 24px; }
  .hero { min-height: calc(92svh - var(--head-h)); }
  .hero .copy { padding-block: 48px 96px; gap: 14px; }
  .hero .scroll { display: none; }
  .hero p { font-size: 14px; }
  .hero .local { font-size: 8.6vw; letter-spacing: .02em; }
  .hero .eyebrow { font-size: 13px; }
  .hero .photo { background: linear-gradient(180deg, rgba(14, 26, 46, .5) 0%, rgba(14, 26, 46, .45) 100%), url(img/fv_aerial.jpg) center / cover no-repeat; }
  .points div { padding: 24px 22px; }
  .points b { font-size: 40px; }
  .works { grid-template-columns: 1fr; }
  .news li { grid-template-columns: 6.5em 6.5em 1fr 34px; gap: 6px 10px; padding: 18px 0; }
  .news li::after { width: 30px; height: 30px; grid-column: 4; grid-row: 1 / span 2; align-self: center; }
  .news a { grid-column: 1 / 4; grid-row: 2; }
  table.info th, table.info td { padding: 14px 14px; }
  table.info th { width: 6.5em; }
  .c-cards { grid-template-columns: 1fr; }
  .c-card { padding: 32px 20px 28px; }
  .c-side { left: 10px; }
  .btn { min-width: 0; width: 100%; max-width: 320px; }
  .f-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 36px; }
  .page-title::after { position: relative; display: block; width: 100%; height: 160px; border-radius: 0; }
  .page-title { display: flex; flex-direction: column-reverse; }
  .page-title .wrap { min-height: 0; padding-block: 32px; }
  .page-title .wrap > * { max-width: none; }
  .biz-row { grid-template-columns: 1fr; gap: 20px; }
  .cards { grid-template-columns: 1fr; gap: 24px; }
  .post { padding: 24px 18px; }
  .steps li { grid-template-columns: 52px 1fr; padding: 20px 18px; }
  .steps b { font-size: 30px; }
  .jump { flex-direction: column; align-items: stretch; }
  .jump a { justify-content: space-between; }
}

/* 2026-10-29 CEO「全体的にもう少し洗練されたデザインに」：
   文字を細く、明るい青の塗りを減らして紺を主に、影をやめて細い線に、角を小さく、余白を広く。前の版は scratchpad の b.css.bak_20261029b */
:root {
  --navy: #142640; --navy-2: #22385a; --ink: #1a2433; --sub: #667085; --line: #e3e7ec; --gray: #f5f6f8;
  --radius: 6px; --shadow: none;
}
body { font-weight: 400; letter-spacing: .05em; }
h1, h2, h3 { font-weight: 700; letter-spacing: .08em; }

/* ヘッダー：塗りは紺に。今のページは青い丸ではなく下の細い線で示す */
header.site.scrolled { box-shadow: 0 1px 0 var(--line); }
nav.gnav a { font-weight: 500; font-size: 13.5px; padding: 6px 14px; border-radius: 0; position: relative; }
nav.gnav a:hover { background: none; color: var(--blue); }
nav.gnav a.on { background: none; color: var(--navy); }
nav.gnav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px; background: var(--blue); }
.tel b { font-weight: 500; }
.head-btn { background: var(--navy); font-weight: 500; letter-spacing: .1em; }
.head-btn:hover { background: var(--navy-2); }

/* ボタン：紺の塗り・角を小さく。矢印は細い線 */
.btn { background: var(--navy); border-radius: var(--radius); font-weight: 500; letter-spacing: .1em; padding: 16px 18px 16px 30px; }
.btn::after { background-color: transparent; border: 1px solid rgba(255, 255, 255, .6); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.btn:hover { background: var(--navy-2); }
.btn.line { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn.line::after { border-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23142640' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.more { font-weight: 500; color: var(--navy); letter-spacing: .1em; }
.more::after { border-color: var(--line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23142640' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: background-color .2s, border-color .2s, transform .2s; }
.more:hover::after { background-color: transparent; border-color: var(--navy); }

/* FV：見出しを少し細く、透かしの英字は細い字に */
.hero .local { font-weight: 700; letter-spacing: .1em; }
.hero .mark { font-weight: 300; color: rgba(255, 255, 255, .22); }
.about-over { border-radius: 0; margin-top: 0; box-shadow: 0 -24px 48px rgba(14, 26, 46, .18); }

/* 見出し：英字のラベルは小さく大文字で字間を広く */
.eyebrow { font: 500 12px/1 var(--num); letter-spacing: .24em; text-transform: uppercase; }
.eyebrow::before { width: 32px; height: 1px; }
section { padding-block: 128px; }
section > .wrap { gap: 44px; }
.sec-head { gap: 18px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); }

/* About：灰色の箱をやめ、上の細い線と細い数字で区切る */
.points { gap: 40px; }
.points div, section.tint .points div { background: none; border-radius: 0; border-top: 1px solid var(--ink); padding: 28px 0 0; gap: 14px; }
.points b { font: 300 44px/1 var(--num); color: var(--blue); letter-spacing: .02em; }
.points h3 { font-size: 18px; }

/* 事業内容：影をやめ、細い線と角の小さいカードに */
.biz article { border: 1px solid var(--line); box-shadow: none; padding-bottom: 32px; gap: 12px; }
.biz article > :not(img):not(.ph) { margin-inline: 28px; }
.biz article::before { content: counter(biz, decimal-leading-zero); top: 0; left: 0; border-radius: 0; padding: 12px 16px; font: 400 14px/1 var(--num); color: var(--navy); letter-spacing: .1em; }
.biz h3 { font-size: 20px; }
.lead-in { font-weight: 500; }

/* お知らせ：塗りの丸をやめ、線の丸と線のラベルに */
.news { border-top-color: var(--ink); }
.news li { padding: 26px 0; }
.news li::after { background-color: transparent; border: 1px solid var(--line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23142640' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: border-color .2s, transform .2s; }
.news li:hover::after { border-color: var(--navy); }
.news time { font-weight: 400; }
.news .cat, .meta .cat { background: none; border: 1px solid currentColor; font-weight: 500; }
.news .cat.k { background: none; }
.news a { font-weight: 500; }
.news-tabs span.on { background: var(--navy); }

/* 施工実績・カード・表・手順：影をやめて細い線に */
.works > div, .cards a, .steps li, .c-card, .post { box-shadow: none; border: 1px solid var(--line); }
.cards a:hover { transform: none; border-color: var(--navy); }
.cards a { transition: border-color .2s; }
.ba img { border-radius: 2px; }
.ba figcaption { border-radius: 0; font-weight: 400; }
.ba figure + figure figcaption { background: var(--navy); }
.points b, .steps b, .history time { font-weight: 300; }
table.info, section:not(.tint) table.info { box-shadow: none; border-radius: 0; border-top: 1px solid var(--ink); }
table.info th { color: var(--ink); background: none; font-weight: 500; }
.chips li { background: none; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.sub-h { border-left-width: 2px; }
.pager .on { background: var(--navy); border-color: var(--navy); }
.c-card .tel b, .tel-box .tel b, .gnav-tel b { color: var(--navy); font-weight: 500; }
.c-card svg { color: var(--navy); stroke-width: 1.2; }
.page-title::after { border-bottom-left-radius: 0; }

/* フッター：下の帯は紺 */
.f-catch { font-weight: 700 !important; }
.f-nav a { font-weight: 500; }
.f-nav a::before { width: 12px; height: 1px; border-radius: 0; }
footer.site small { background: var(--navy); }

@media (max-width: 960px) {
  nav.gnav a, nav.gnav a.on { padding: 16px 4px; }
  nav.gnav a.on::after { display: none; }
  nav.gnav a.on { color: var(--blue); }
  .menu-btn { background: var(--navy); }
  .points { gap: 32px; }
}
@media (max-width: 760px) {
  section { padding-block: 80px; }
  section > .wrap { gap: 32px; }
  .points div { padding: 22px 0 0; }
  .biz article > :not(img):not(.ph) { margin-inline: 22px; }
}
