/* C案「静謐」— 株式会社aim（参考 sense-trust.co.jp の手触り：角丸の大きな枠・太い英字の見出し＋小さな和文・明朝のキャッチ・ブランド色の全面の帯に 2 列のタイル・細い英字の流れ）
   色＝くすんだ青（今のサイトのフッター #42587a）を地に、緑は写真と小さな差し色だけ。 */
:root {
  --base: #42587a;          /* 今のサイトのフッター */
  --base-d: #384c6b;
  --base-dd: #2b3b53;
  --ink: #1d2733;
  --text: #2b3542;
  --muted: #56606c;         /* 白地との差 6.4 */
  --line: #d9dee4;
  --panel: #eef1f4;
  --green: #2f7d52;         /* 差し色（白地との差 5.2） */
  --green-l: #9fd3b0;       /* 青の地の上の差し色 */
  --r: 14px;
  --gut: clamp(20px, 4.2vw, 64px);
  --fx-backtop-ink: var(--base); --fx-backtop-font: 'Inter Tight', sans-serif;
  --anim-draw-color: #42587a; --anim-draw-soft: #7fae8e; --anim-draw-width: 1.1; --anim-draw-dur: .5s;
  --anim-reel-duration: 1.4s;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 15px/1.95 'Noto Sans JP', sans-serif; letter-spacing: .03em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure, h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: min(1280px, calc(100% - var(--gut) * 2)); margin: 0 auto; }
.sec { padding: clamp(96px, 11vw, 168px) 0 0; }
.en, .h-en, time, .bz-no, .bz-en, .gm-no, .nl-v, .sh-tel, .ct-tel { font-family: 'Inter Tight', 'Noto Sans JP', sans-serif; }

/* ---- 見出し（参考の型：大きな太い英字 → すぐ下に小さな和文）---- */
.sec-head { display: grid; gap: 10px; }
.h-en { font-weight: 700; font-size: clamp(46px, 6.6vw, 100px); line-height: .9; letter-spacing: -.025em; color: var(--ink); white-space: nowrap; }
.h-ja { font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.h-ja::before { content: ""; width: 22px; height: 2px; background: var(--green); }
.sec-head.is-light .h-en { color: #fff; font-weight: 500; }
.sec-head.is-light .h-ja { color: #fff; }
.sec-head.is-light .h-ja::before { background: var(--green-l); }

/* ---- 丸いボタン（fx-btn-rise）---- */
.more { display: inline-flex; align-items: center; gap: 16px; padding: 13px 16px 13px 28px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink); --fx-btn-rise-bg: var(--base); --fx-btn-rise-fg: #fff; }
.more i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--ink); transition: background .5s, color .5s; }
.more:hover i { background: rgba(255,255,255,.16); color: #fff; }

/* ---- ヘッダー（白い帯・下へ進むと隠れる＝nav-hide）---- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.sh-inner { width: min(1400px, calc(100% - 40px)); margin: 0 auto; height: 84px; display: flex; align-items: center; gap: 34px; }
.brand { margin-right: auto; display: block; }
.brand img { height: 50px; width: auto; }
.gnav { display: flex; gap: 32px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.sh-tel { font-weight: 500; font-size: 19px; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.sh-tel .en { font-size: 11px; font-weight: 700; color: var(--green); margin-right: 6px; letter-spacing: .12em; }
.sh-cta { padding: 12px 26px; border-radius: 999px; background: var(--base); color: #fff; font-size: 14px; font-weight: 700; --fx-btn-rise-bg: var(--green); --fx-btn-rise-fg: #fff; white-space: nowrap; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; position: relative; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--ink); top: 20px; }
.menu-btn span + span { top: 27px; }
/* 下へ進むと上へ隠れ、上へ戻すと出る（参考：400ms・cubic-bezier(.65,.05,.36,1)）。印は JS（seihitsu.js）が付ける。 */
.nav-hide { transition: transform var(--nav-hide-duration, .4s) var(--nav-hide-ease, cubic-bezier(.65, .05, .36, 1)), border-color .3s; }
.nav-hide.is-nav-hidden { transform: translateY(-100%); }

/* ---- 1 メインビジュアル（端から内側に入った角丸の枠）---- */
.hero { padding: 0 20px; }
.hero-frame { position: relative; height: max(600px, calc(100svh - 84px - 20px)); border-radius: var(--r); overflow: hidden; background: var(--base-dd); color: #fff; isolation: isolate; }
.hero-photos, .hero-photos figure, .hero-photos img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photos.fx-cycle.is-cycle-on { display: block; }
.hero-photos img { object-fit: cover; }
.hero-photos figure.is-active img { animation: hero-drift 9s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,30,45,.18) 0%, rgba(20,30,45,0) 32%, rgba(20,30,45,.08) 52%, rgba(28,42,62,.72) 100%); }
.hero-body { position: absolute; z-index: 2; left: clamp(28px, 4.4vw, 64px); bottom: clamp(150px, 15vw, 230px); }
.hero-tag { font-size: 13px; font-weight: 500; letter-spacing: .3em; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.hero-tag::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero-dm { margin-bottom: 8px; }
.hero-catch { font: 600 clamp(36px, 4.6vw, 70px)/1.38 'Shippori Mincho B1', serif; letter-spacing: .06em; text-shadow: 0 2px 24px rgba(10,20,30,.25); }
.hero-catch .ln { white-space: nowrap; }
.hero-en { margin-top: 16px; font: 300 clamp(15px, 1.3vw, 19px)/1.4 'Inter Tight', sans-serif; letter-spacing: .14em; opacity: .92; }
.hero-word { position: absolute; z-index: 2; left: clamp(18px, 3vw, 48px); right: clamp(18px, 3vw, 48px); bottom: -0.16em; font: 500 clamp(64px, 12.4vw, 196px)/1 'Jost', sans-serif; letter-spacing: -.01em; white-space: nowrap; color: #fff; }
.hero-scroll { position: absolute; z-index: 2; right: clamp(22px, 2.6vw, 40px); top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 14px; font: 500 10px/1 'Inter Tight', sans-serif; letter-spacing: .3em; writing-mode: vertical-rl; }
.hero-scroll i { width: 1px; height: 72px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: scroll-line 2.4s cubic-bezier(.65,.05,.36,1) infinite; }
@keyframes scroll-line { to { top: 100%; } }
.hero .dm.is-photo { z-index: 3; left: 18px; top: 18px; }

/* ---- 2 新着情報 ---- */
.news-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 64px; row-gap: 40px; align-items: start; }
.news-list { border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 24px 4px; transition: padding .4s ease; }
.news-list a:hover { padding-left: 14px; }
.news-list time { font-weight: 500; font-size: 15px; color: var(--ink); letter-spacing: .04em; }
.news-list span { color: var(--text); }
.news-more { grid-column: 2; justify-self: end; }

/* ---- 3 理念 ---- */
.philosophy .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ph-photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(20,30,45,.55), rgba(20,30,45,0) 46%); }
.ph-v { position: absolute; z-index: 2; right: clamp(22px, 3vw, 44px); top: clamp(26px, 3.4vw, 48px); writing-mode: vertical-rl; color: #fff; font: 600 clamp(24px, 2.3vw, 36px)/1.6 'Shippori Mincho B1', serif; letter-spacing: .16em; display: flex; flex-direction: column; gap: .2em; }
.ph-v span { white-space: nowrap; }
.ph-v span + span { padding-top: 1.6em; }
.ph-body .sec-head { margin-bottom: 44px; }
.ph-text { font: 500 clamp(16px, 1.32vw, 19px)/2.3 'Shippori Mincho B1', serif; letter-spacing: .08em; color: var(--ink); --anim-read-from: .18; }
.ph-sign { margin-top: 36px; font-size: 13px; color: var(--muted); letter-spacing: .14em; display: flex; align-items: baseline; gap: 18px; }
.ph-sign span { font: 600 20px/1 'Shippori Mincho B1', serif; color: var(--ink); letter-spacing: .2em; }

/* ---- 4 事業内容（くすんだ青の全面の帯）---- */
.business { margin-top: clamp(110px, 12vw, 180px); background: var(--base); color: #fff; padding: clamp(96px, 10vw, 150px) 0 0; }
.bz-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: end; }
.bz-lead { font-size: 15px; line-height: 2.1; color: rgba(255,255,255,.88); }
.bz-flow { margin: clamp(64px, 7vw, 100px) 0 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); font: 300 15px/1 'Inter Tight', sans-serif; letter-spacing: .34em; color: rgba(255,255,255,.82); white-space: nowrap; }
.bz-flow span { padding-right: 0; }
.bz-grid { display: grid; grid-template-columns: 1fr 1fr; }
.bz-item { --bg: var(--base); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: clamp(20px, 2.4vw, 40px); padding: clamp(28px, 3vw, 44px); background: var(--bg); min-height: clamp(300px, 26vw, 380px); transition: background-color .5s ease; }
.bz-item.is-alt { --bg: var(--base-d); }
.bz-item:hover { background: var(--base-dd); }
.bz-t { display: flex; flex-direction: column; }
.bz-no { font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--green-l); }
.bz-item h3 { margin-top: 12px; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; font-weight: 700; letter-spacing: .06em; }
.bz-d { margin-top: 14px; font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.84); }
.bz-en { margin-top: auto; padding-top: 22px; font-size: 11px; line-height: 1.35; letter-spacing: .12em; color: rgba(255,255,255,.82); }
.bz-ph { position: relative; border-radius: 10px; overflow: hidden; align-self: stretch; }
.bz-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.bz-item:hover .bz-ph img { transform: scale(1.06); }
.bz-ph .dm.is-photo { left: 8px; top: 8px; }

/* ---- 5 地中熱 ---- */
.geo-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; align-items: end; }
.geo-lead { color: var(--text); }
.geo-open { position: relative; margin: clamp(56px, 6vw, 88px) 20px 0; height: clamp(420px, 46vw, 680px); border-radius: var(--r); overflow: hidden; }
.geo-open img { width: 100%; height: 100%; object-fit: cover; }
.geo-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,38,56,.55), rgba(25,38,56,0) 55%); }
.geo-open-v { position: absolute; z-index: 2; left: clamp(28px, 5vw, 80px); top: 50%; transform: translateY(-50%); color: #fff; font: 600 clamp(28px, 3.6vw, 54px)/1.5 'Shippori Mincho B1', serif; letter-spacing: .1em; white-space: nowrap; }
.geo-open-v .dm { display: table; margin-bottom: 14px; }
.geo-open .dm.is-photo { z-index: 3; }
.geo-main { margin-top: clamp(64px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.gn-label { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--ink); }
.gn-big { display: flex; align-items: baseline; gap: 6px; color: var(--base); line-height: 1; margin-top: 8px; }
.gn-big .anim-reel { font: 300 clamp(120px, 15vw, 230px)/1 'Inter Tight', sans-serif; letter-spacing: -.04em; --anim-reel-lh: 1em; }
.gn-unit { font: 300 clamp(44px, 5vw, 76px)/1 'Inter Tight', sans-serif; }
.gn-down { margin-left: 14px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; color: var(--green); letter-spacing: .1em; }
.gn-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.geo-fig { position: relative; padding: clamp(18px, 2.4vw, 36px); background: #f5f8f6; border-radius: var(--r); }
.geo-draw { width: 100%; height: auto; }
.geo-merit { margin-top: clamp(64px, 7vw, 100px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.geo-merit li { padding: 30px 26px 34px 0; border-bottom: 1px solid var(--line); }
.geo-merit li:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
.geo-merit li:not(:nth-child(4n + 1)) { padding-left: 26px; }
.gm-no { font-size: 13px; font-weight: 500; color: var(--green); letter-spacing: .14em; }
.geo-merit h3 { margin: 6px 0 10px; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .06em; line-height: 1.6; }
.geo-merit p { font-size: 13.5px; line-height: 1.95; color: var(--text); }
.gm-cta { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; background: var(--panel); padding-right: 26px !important; }
.gm-cta p { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.gm-cta .more { align-self: flex-start; font-size: 13px; }

/* ---- 6 会社の数字 ---- */
.num-list { margin-top: 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.num-list li { padding: 32px 22px 36px; display: flex; flex-direction: column; }
.num-list li + li { border-left: 1px solid var(--line); }
.nl-k { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .08em; line-height: 1.6; min-height: 3.2em; }
.nl-v { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; color: var(--base); white-space: nowrap; }
.nl-v .anim-reel { font-weight: 300; font-size: clamp(46px, 4.6vw, 76px); line-height: 1; letter-spacing: -.03em; --anim-reel-lh: 1em; }
.nl-v small { font: 700 15px/1 'Noto Sans JP', sans-serif; color: var(--ink); letter-spacing: .06em; white-space: nowrap; }
.nl-s { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* ---- 7 施工実績（明るい灰色の角丸の面）---- */
.works-panel { margin: 0 20px; padding: clamp(64px, 7vw, 110px) clamp(24px, 5vw, 80px); background: var(--panel); border-radius: var(--r); }
.works-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; max-width: 1280px; margin: 0 auto; }
.works-list { max-width: 1280px; margin: 52px auto 0; border-top: 1px solid #cfd5dc; }
.works-list li { display: grid; grid-template-columns: 120px minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; padding: 22px 6px; border-bottom: 1px solid #cfd5dc; align-items: baseline; }
.works-list time { font-weight: 500; font-size: 14px; color: var(--base); letter-spacing: .04em; }
.wl-n { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.wl-d { color: var(--text); font-size: 14px; }

/* ---- 8 写真の縁をまたぐ英字（edge-word）---- */
.wide .wrap { position: relative; }
.wide-photo { position: relative; border-radius: var(--r); overflow: hidden; height: clamp(320px, 34vw, 520px); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
/* 文字の真ん中の高さを写真の下の縁に合わせ、同じ文字を 2 枚重ねて上半分・下半分で切る（上＝写真の上の色・下＝地の上の色） */
/* 切る高さ --ew-cut＝写真の縁が字のどこを通るか（既定 .68＝小文字の真ん中・大文字なら .5 前後） */
.edge-word { --ew-size: clamp(56px, 9.6vw, 150px); --ew-cut: .68; position: relative; margin-top: calc(var(--ew-size) * var(--ew-cut) * -1); height: var(--ew-size); font: 300 var(--ew-size)/1 'Jost', sans-serif; letter-spacing: .14em; white-space: nowrap; text-align: right; pointer-events: none; }
.edge-word span { position: absolute; inset: 0; padding-right: .1em; }
.ew-top { color: var(--ew-top, #fff); clip-path: inset(0 0 calc((1 - var(--ew-cut)) * 100%) 0); }
.ew-bottom { color: var(--ew-bottom, var(--base)); clip-path: inset(calc(var(--ew-cut) * 100%) 0 0 0); }

/* ---- 9 採用情報・会社概要 ---- */
.duo { padding-top: clamp(80px, 9vw, 130px); }
.duo-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.duo-row + .duo-row { margin-top: clamp(80px, 9vw, 130px); }
.duo-row.is-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.duo-row.is-rev .duo-t { padding-left: clamp(0px, 8vw, 120px); }
.duo-ph { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.duo-ph img { width: 100%; height: 100%; object-fit: cover; }
.duo-t .h-en { font-size: clamp(40px, 4.6vw, 68px); }
.duo-link { display: inline-flex; gap: 10px; margin: 20px 0 26px; font-size: 16px; font-weight: 700; color: var(--ink); --fx-underline-color: var(--green); }
.duo-link i { font-style: normal; }
.duo-t p { font-size: 14.5px; color: var(--text); max-width: 34em; }
.duo-t p + p { margin-top: 12px; }
.duo-dl { border-top: 1px solid var(--line); max-width: 30em; }
.duo-dl div { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.duo-dl dt { color: var(--muted); }
.duo-dl dd { color: var(--ink); }

/* ---- 10 お問い合わせ ---- */
.contact { margin-top: clamp(110px, 12vw, 180px); display: grid; grid-template-columns: 1fr 1fr; color: #fff; }
.ct-item { padding: clamp(56px, 6vw, 96px) clamp(28px, 5vw, 80px); background: var(--base-d); display: grid; align-content: start; gap: 10px; }
.ct-item.is-alt { background: var(--base); }
.ct-item .h-en { color: #fff; font-weight: 500; font-size: clamp(44px, 5vw, 76px); }
.ct-item .h-ja { color: #fff; }
.ct-item .h-ja::before { background: var(--green-l); }
.ct-text { margin-top: 18px; font-size: 14.5px; color: rgba(255,255,255,.88); max-width: 28em; }
.ct-btn { margin-top: 22px; justify-self: start; display: inline-flex; align-items: center; gap: 16px; padding: 12px 14px 12px 28px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; --fx-btn-rise-bg: var(--green); --fx-btn-rise-fg: #fff; }
.ct-btn i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--ink); }
.ct-tel { margin-top: 16px; font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.1; letter-spacing: .02em; white-space: nowrap; }
.ct-sub { font-size: 14px; color: rgba(255,255,255,.88); }

/* ---- フッター ---- */
.site-footer { background: var(--base); color: rgba(255,255,255,.88); }
.ft-top { display: grid; grid-template-columns: 220px minmax(0, 1fr) 180px; gap: 48px; padding: 80px 0 64px; border-top: 1px solid rgba(255,255,255,.14); }
.ft-brand img { width: 160px; height: auto; }
.ft-name { margin-top: 12px; font-size: 13px; letter-spacing: .1em; }
.ft-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; font-size: 13px; line-height: 1.85; }
.fo-n { font-weight: 700; color: #fff; margin-bottom: 4px; letter-spacing: .1em; }
.ft-nav { display: grid; gap: 8px; font-size: 13.5px; align-content: start; --fx-underline-color: #fff; }
.ft-nav a { justify-self: start; }
.ft-band { position: relative; height: clamp(300px, 30vw, 440px); overflow: hidden; display: grid; place-items: center; color: #fff; }
.ft-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ft-band::after { content: ""; position: absolute; inset: 0; background: rgba(34,48,68,.5); }
.ft-flow { position: absolute; z-index: 2; left: 0; right: 0; top: 0; font: 700 clamp(90px, 13vw, 210px)/1 'Inter Tight', sans-serif; letter-spacing: -.03em; white-space: nowrap; color: #fff; transform: translateY(-14%); }
.ft-copy { position: relative; z-index: 2; margin-top: clamp(70px, 8vw, 120px); font: 600 clamp(22px, 2.4vw, 36px)/1.5 'Shippori Mincho B1', serif; letter-spacing: .16em; white-space: nowrap; }
.ft-c { position: absolute; z-index: 2; right: 24px; bottom: 18px; font: 400 11px/1 'Inter Tight', 'Noto Sans JP', sans-serif; letter-spacing: .1em; opacity: .8; }
.ft-band .dm.is-photo { z-index: 3; top: auto; bottom: 14px; left: 14px; }

/* ---- TOPへ戻る（bar）---- */
.plan-seihitsu .asbsb-backtop.asbsb-bt-bar { padding: 13px 9px 14px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 6px 22px rgba(30,45,65,.14); }

/* ---- 撮影（?shot=1）：固定物は先頭で止める ---- */
html.is-shot .site-header { position: relative; }
html.is-shot .hero-photos figure.is-active img { animation: none; }

/* ================= タブレット ================= */
@media (max-width: 1180px) {
  .gnav { gap: 22px; font-size: 13.5px; }
  .sh-tel { display: none; }
  .geo-merit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-merit li { padding-left: 0 !important; padding-right: 22px !important; }
  .geo-merit li:not(:nth-child(4n)) { border-right: 0; }
  .geo-merit li:nth-child(odd) { border-right: 1px solid var(--line); }
  .geo-merit li:nth-child(even) { padding-left: 22px !important; }
  .num-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .num-list li:nth-child(4) { border-left: 0; }
  .num-list li:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .bz-item { grid-template-columns: minmax(0, 1fr); }
  .bz-ph { aspect-ratio: 16 / 9; order: -1; }
}
@media (max-width: 960px) {
  .gnav, .sh-cta { display: none; }
  .menu-btn { display: block; }
  .sh-inner { height: 70px; }
  .brand img { height: 42px; }
  .news-grid, .philosophy .wrap, .bz-head, .geo-head, .geo-main, .duo-row, .duo-row.is-rev, .ft-top { grid-template-columns: minmax(0, 1fr); }
  .news-more { grid-column: 1; }
  .duo-row.is-rev .duo-t { padding-left: 0; order: 2; }
  .contact { grid-template-columns: 1fr; }
  .ph-photo { aspect-ratio: 4 / 3; }
}

/* ================= スマホ ================= */
@media (max-width: 767px) {
  body { font-size: 14.5px; }
  .hero { padding: 0 10px; }
  .hero-frame { height: max(560px, calc(100svh - 70px - 10px)); border-radius: 12px; }
  .hero-body { left: 22px; right: 22px; bottom: 120px; }
  .hero-tag { font-size: 11px; letter-spacing: .2em; }
  .hero-catch { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-word { font-size: 12.2vw; bottom: -.14em; left: 16px; right: 16px; }
  .hero-scroll { display: none; }
  .h-en { font-size: clamp(40px, 12vw, 58px); }
  .news-list a { grid-template-columns: 1fr; gap: 4px; padding: 18px 2px; }
  .ph-photo { aspect-ratio: 1 / 1; }
  .ph-text br { display: none; }
  .ph-v { font-size: 19px; right: 16px; top: 18px; }
  .bz-grid { grid-template-columns: 1fr; }
  .bz-item, .bz-item.is-alt { --bg: var(--base); }
  .bz-item:nth-child(even) { --bg: var(--base-d); }
  .bz-item { min-height: 0; padding: 24px 20px 28px; }
  .bz-en { display: none; }
  .geo-open { margin: 48px 10px 0; height: 400px; }
  .geo-open-v { font-size: 26px; left: 22px; }
  .geo-merit { grid-template-columns: 1fr; }
  .geo-merit li, .geo-merit li:nth-child(even) { padding: 24px 0 26px !important; border-right: 0 !important; }
  .gm-cta { padding: 24px 20px !important; }
  .num-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num-list li { padding: 24px 14px 26px; }
  .num-list li:nth-child(n) { border-left: 0; border-top: 0; }
  .num-list li:nth-child(even) { border-left: 1px solid var(--line); }
  .num-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .num-list li:last-child { grid-column: 1 / -1; }
  .works-panel { margin: 0 10px; padding: 56px 20px; }
  .works-head { flex-direction: column; align-items: flex-start; }
  .works-list li { grid-template-columns: 1fr; gap: 2px; padding: 16px 2px; }
  .edge-word { --ew-size: 10.6vw; letter-spacing: .04em; }
  .ct-tel { font-size: 38px; }
  .ft-offices { grid-template-columns: 1fr; }
  .ft-top { padding: 56px 0 44px; gap: 36px; }
  .ft-copy { font-size: 18px; letter-spacing: .1em; }
}
