/* ─── 基本設定（jpn-ui の契約値） ─────────────────── */
:root {
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* 色: 現行サイトのブランド色 #2C6588 を軸にする */
  --blue: #2C6588;
  --blue-deep: #17384d;
  --blue-pale: #D8E2EA;
  --ink: #1f2a33;
  --ink-sub: #55616b;
  --paper: #F4F2EE;
  --line: #d9dcdf;
  --white: #fff;

  --wrap: 1180px;
  --leading-prose: 1.9;
  --leading-heading: 1.4;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body { margin: 0; background: var(--white); word-break: normal; overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:where(h1, h2, h3, h4) {
  margin: 0;
  line-height: var(--leading-heading);
  letter-spacing: 0.03em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  font-feature-settings: "palt" 1;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.en { font-family: var(--font-en); letter-spacing: 0.12em; }
.icon { width: 16px; height: 16px; flex: none; }

/* ─── 見出し（英字＋日本語） ─────────────────────── */
.sec-head { margin-bottom: 56px; }
.sec-head .en {
  display: block;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--blue);
}
.sec-head h2 {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  display: flex; align-items: center; gap: 12px;
}
.sec-head h2::before { content: ""; width: 24px; height: 1px; background: var(--ink); }
.sec-head.is-light .en { color: var(--white); }
.sec-head.is-light h2 { color: var(--white); }
.sec-head.is-light h2::before { background: var(--white); }

/* ─── ボタン ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-width: 240px; min-height: 56px; padding: 0 24px 0 28px;
  border: 1px solid currentColor;
  font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: 0.06em;
  transition: background .3s, color .3s;
}
.btn .icon { transition: transform .3s; }
.btn:hover .icon { transform: translateX(4px); }
.btn--blue { color: var(--white); background: var(--blue); border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--white { color: var(--white); }
.btn--white:hover { background: var(--white); color: var(--blue-deep); border-color: var(--white); }

/* ─── ヘッダー ─────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; padding: 0 0 0 32px;
  color: var(--white);
  transition: background .4s, color .4s, height .4s, box-shadow .4s;
}
.header.is-scrolled { background: rgba(255,255,255,.96); color: var(--ink); height: 72px; box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { width: 52px; height: auto; transition: filter .4s; filter: brightness(0) invert(1); }
.header.is-scrolled .logo img { filter: none; }
.logo-text { font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: 0.08em; }
.logo-text small { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: 0.2em; opacity: .8; }
.gnav { display: flex; align-items: center; height: 100%; }
.gnav ul { display: flex; gap: 32px; margin: 0 40px 0 0; padding: 0; list-style: none; }
.gnav a { font-size: 14px; font-weight: 500; letter-spacing: 0.06em; position: relative; padding: 6px 0; }
.gnav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.gnav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; margin-right: 28px; line-height: 1.2; }
.header-tel .num { font-family: var(--font-en); font-size: 20px; font-weight: 500; letter-spacing: 0.06em; display: flex; align-items: center; gap: 6px; }
.header-tel small { font-size: 11px; opacity: .8; }
.header-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 120px; height: 100%; background: var(--blue); color: var(--white);
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; line-height: 1.2;
  transition: background .3s;
}
.header-cta:hover { background: var(--blue-deep); }
/* .gnav a の文字設定より優先させる */
.gnav .header-cta { font-size: 12px; letter-spacing: 0.08em; padding: 0; }
.header-cta .icon { width: 20px; height: 20px; }
.menu-btn { display: none; }

/* ─── ファーストビュー ─────────────────────────── */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: var(--white); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,34,48,.78) 0%, rgba(14,34,48,.35) 55%, rgba(14,34,48,.1) 100%);
}
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-copy { padding-top: 40px; }
.hero-en { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.4em; margin-bottom: 28px; display: flex; align-items: center; gap: 16px; }
.hero-en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7.4vw, 96px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: block; animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 .line:nth-child(2) span { animation-delay: .25s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-lead { margin-top: 32px; font-size: 16px; line-height: 2; letter-spacing: 0.06em; animation: fade 1.4s .8s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding: 0; list-style: none; animation: fade 1.4s 1s both; }
.hero-tags li { border: 1px solid rgba(255,255,255,.6); padding: 6px 16px; font-size: 13px; line-height: 1.4; letter-spacing: 0.08em; }
.hero-vertical {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%); z-index: 2;
  writing-mode: vertical-rl; font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.5em;
  display: flex; align-items: center; gap: 20px;
}
.hero-vertical::after { content: ""; width: 1px; height: 80px; background: currentColor; }
.hero-scroll {
  position: absolute; left: 32px; bottom: 0; z-index: 2;
  writing-mode: vertical-rl; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.3em;
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll::after { content: ""; width: 1px; height: 72px; background: linear-gradient(currentColor 50%, rgba(255,255,255,.3) 50%); background-size: 1px 200%; animation: scroll 2s infinite; }
@keyframes scroll { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.hero-news {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 24px;
  width: min(560px, 100%); padding: 22px 32px; background: var(--white); color: var(--ink);
  font-size: 14px; line-height: 1.5;
}
.hero-news .label { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.2em; color: var(--blue); }
.hero-news time { font-family: var(--font-en); color: var(--ink-sub); font-size: 13px; white-space: nowrap; }
.hero-news a { flex: 1; }
.hero-news a:hover { color: var(--blue); }

/* ─── 採用バナー（ファーストビュー直下） ─────────── */
.recruit-bar { background: var(--blue-deep); color: var(--white); }
.recruit-bar a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.recruit-bar .en { font-size: 13px; color: var(--blue-pale); margin-right: 24px; }
.recruit-bar p { font-size: 15px; line-height: 1.6; letter-spacing: 0.04em; display: flex; flex-wrap: wrap; align-items: center; }
.recruit-bar .more { display: flex; align-items: center; gap: 12px; font-size: 13px; white-space: nowrap; }
.recruit-bar .more .circle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: background .3s; }
.recruit-bar a:hover .circle { background: var(--white); color: var(--blue-deep); }

/* ─── ご挨拶 ──────────────────────────────────── */
.message { padding: 160px 0 140px; position: relative; overflow: hidden; }
.message::before {
  content: "SINCERITY"; position: absolute; right: -2vw; top: 60px;
  font-family: var(--font-en); font-size: 15vw; font-weight: 500; line-height: 1; letter-spacing: 0.02em;
  color: var(--paper); z-index: -1; white-space: nowrap;
}
.message-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 96px; align-items: center; }
.message-photo { position: relative; }
.message-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.message-photo::before { content: ""; position: absolute; inset: 40px -40px -40px 40px; background: var(--blue-pale); z-index: -1; }
.message h3 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}
.nw { display: inline-block; }
.message h3 em { font-style: normal; color: var(--blue); }
.message .body { line-height: var(--leading-prose); color: var(--ink); max-width: 36em; }
.message .sign { margin: 40px 0 48px; display: flex; align-items: baseline; gap: 20px; font-size: 13px; color: var(--ink-sub); }
.message .sign strong { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: 0.2em; }

/* ─── 選ばれる理由 ─────────────────────────────── */
.reason { padding: 140px 0; background: var(--paper); }
.reason-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: reason; }
.reason-item { background: var(--white); padding: 56px 40px 52px; position: relative; }
.reason-item .num { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.2em; color: var(--blue); display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.reason-item .num b { font-size: 44px; font-weight: 300; letter-spacing: 0; line-height: 1; }
.reason-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.reason-item p { font-size: 14px; color: var(--ink-sub); line-height: 1.9; }
.reason-item .icon-wrap { position: absolute; top: 52px; right: 40px; color: var(--blue); opacity: .35; }
.reason-item .icon-wrap svg { width: 48px; height: 48px; }

/* ─── 事業内容 ────────────────────────────────── */
.service { padding: 140px 0 160px; }
.service-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.service-head .sec-head { margin-bottom: 0; }
.service-head p { max-width: 30em; color: var(--ink-sub); line-height: 1.9; }
.service-list { display: grid; gap: 96px; margin: 0; padding: 0; list-style: none; }
.service-item { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: center; }
.service-item:nth-child(even) .service-photo { order: 2; }
.service-photo { position: relative; overflow: hidden; }
.service-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s; }
.service-item:hover .service-photo img { transform: scale(1.04); }
.service-body .num { font-family: var(--font-en); font-size: 88px; font-weight: 300; line-height: 1; color: var(--blue-pale); letter-spacing: 0; }
.service-body .en { display: block; margin: 8px 0 12px; font-size: 12px; letter-spacing: 0.3em; color: var(--blue); }
.service-body h3 { font-size: 28px; font-weight: 700; margin-bottom: 24px; }
.service-body p { line-height: 1.9; color: var(--ink-sub); }
.service-body ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.service-body li { background: var(--paper); padding: 6px 14px; font-size: 13px; line-height: 1.4; }

/* ─── 数字で見る ─────────────────────────────── */
.figures { position: relative; color: var(--white); padding: 120px 0; overflow: hidden; }
.figures-bg { position: absolute; inset: 0; }
.figures-bg img { width: 100%; height: 100%; object-fit: cover; }
.figures::after { content: ""; position: absolute; inset: 0; background: rgba(23,56,77,.82); }
.figures .wrap { position: relative; z-index: 2; }
.figures-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.figures-list li { padding: 8px 32px; border-left: 1px solid rgba(255,255,255,.25); }
.figures-list li:last-child { border-right: 1px solid rgba(255,255,255,.25); }
.figures-list .label { font-size: 13px; letter-spacing: 0.08em; opacity: .85; }
.figures-list .value { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 8px; font-family: var(--font-en); font-size: 64px; font-weight: 300; line-height: 1; }
.figures-list .value small { font-family: var(--font-sans); font-size: 16px; font-weight: 500; }
.figures-list .note { font-size: 12px; line-height: 1.6; opacity: .75; }

/* ─── 施工事例 ────────────────────────────────── */
.works { padding: 140px 0; }
.works-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.works-head .sec-head { margin-bottom: 0; }
.works-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.works-list a { display: block; }
.works-list .photo { overflow: hidden; background: var(--paper); }
.works-list img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s; }
.works-list a:hover img { transform: scale(1.06); }
.works-list .meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 12px; line-height: 1.4; }
.works-list time { font-family: var(--font-en); color: var(--ink-sub); letter-spacing: 0.08em; }
.works-list .cat { color: var(--blue); border: 1px solid var(--blue); padding: 3px 10px; }
.works-list h3 { margin-top: 10px; font-size: 16px; font-weight: 500; }

/* ─── よくある質問 ─────────────────────────────── */
.faq { padding: 140px 0; background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: 80px; align-items: start; }
.faq-grid > div:first-child p { color: var(--ink-sub); line-height: 1.9; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); background: transparent; }
.faq-list summary {
  display: flex; align-items: center; gap: 20px; padding: 28px 8px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 500; line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .q, .faq-list .a { font-family: var(--font-en); font-size: 24px; font-weight: 400; line-height: 1; width: 28px; flex: none; }
.faq-list .q { color: var(--blue); }
.faq-list summary .toggle { margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform .3s; flex: none; background: var(--white); }
.faq-list details[open] .toggle { transform: rotate(45deg); }
.faq-list .answer { display: flex; gap: 20px; padding: 0 8px 32px; color: var(--ink-sub); line-height: 1.9; }
.faq-list .a { color: var(--ink-sub); }

/* ─── 採用情報 ────────────────────────────────── */
.recruit { position: relative; color: var(--white); padding: 160px 0; overflow: hidden; }
.recruit-bg { position: absolute; inset: 0; }
.recruit-bg img { width: 100%; height: 100%; object-fit: cover; }
.recruit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,56,77,.95) 0%, rgba(23,56,77,.82) 55%, rgba(23,56,77,.4) 100%); }
.recruit .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.recruit h3 { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; line-height: 1.6; letter-spacing: 0.08em; margin-bottom: 32px; }
.recruit .body { line-height: 1.9; max-width: 32em; margin-bottom: 40px; }
.recruit-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 48px; padding: 0; list-style: none; }
.recruit-points li { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); font-size: 14px; line-height: 1.5; }
.recruit-points .icon { color: var(--blue-pale); }
.recruit-photo { position: relative; }
.recruit-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.recruit-photo figcaption { margin-top: 12px; font-size: 12px; opacity: .8; }

/* ─── お知らせ・会社概要 ──────────────────────── */
.info { padding: 140px 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.news-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 110px 1fr 16px; gap: 20px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); line-height: 1.6; transition: color .3s; }
.news-list a:hover { color: var(--blue); }
.news-list time { font-family: var(--font-en); font-size: 14px; color: var(--ink-sub); letter-spacing: 0.06em; }
.company-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); font-size: 14px; }
.company-table th, .company-table td { padding: 18px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.company-table th { width: 8.5em; white-space: nowrap; font-weight: 500; color: var(--blue); }
.info .btn { margin-top: 40px; }

/* ─── お問い合わせ ─────────────────────────────── */
.contact { background: var(--blue); color: var(--white); padding: 120px 0; position: relative; overflow: hidden; }
.contact::before { content: "CONTACT"; position: absolute; left: 50%; bottom: -3vw; transform: translateX(-50%); font-family: var(--font-en); font-size: 18vw; font-weight: 500; line-height: 1; color: rgba(255,255,255,.05); white-space: nowrap; }
.contact .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.contact .lead { line-height: 1.9; }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.contact-box a { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 180px; padding: 32px 36px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); transition: background .3s, color .3s; }
.contact-box a:hover { background: var(--white); color: var(--blue-deep); }
.contact-box .head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.4; }
.contact-box .head .icon { width: 20px; height: 20px; }
.contact-box .tel { font-family: var(--font-en); font-size: 34px; font-weight: 400; line-height: 1.1; letter-spacing: 0.04em; }
.contact-box .form { font-size: 20px; font-weight: 500; line-height: 1.4; display: flex; align-items: center; justify-content: space-between; }
.contact-box small { font-size: 12px; opacity: .8; line-height: 1.5; }

/* ─── フッター ─────────────────────────────────── */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.85); padding: 96px 0 32px; font-size: 13px; }
.footer-slogan { font-family: var(--font-serif); font-size: clamp(28px, 3.6vw, 48px); font-weight: 600; letter-spacing: 0.12em; line-height: 1.4; color: var(--white); padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-grid { display: flex; justify-content: space-between; gap: 48px; }
.footer .logo img { filter: brightness(0) invert(1); }
.footer .logo-text { color: var(--white); }
.footer address { font-style: normal; margin-top: 24px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 56px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 80px; font-size: 12px; opacity: .7; }
.footer-bottom .en { letter-spacing: 0.1em; }

/* ─── スクロールで出す（動きを減らす設定では出さない） ─── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ─── タブレット ─────────────────────────────── */
@media (max-width: 1100px) {
  .gnav ul, .header-tel { display: none; }
  .menu-btn {
    display: grid; place-items: center; width: 72px; height: 100%; background: none; border: 0; color: inherit; cursor: pointer;
  }
  .menu-btn svg { width: 26px; height: 26px; }
  .header-cta { width: 88px; }
  .gnav.is-open ul {
    display: flex; flex-direction: column; gap: 0; position: fixed; inset: 72px 0 auto; margin: 0; padding: 16px 24px 32px;
    background: var(--white); color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .gnav.is-open ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .message-grid, .recruit .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 64px; }
  .message-photo { max-width: 480px; }
  .reason-list { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 1fr; gap: 32px; }
  .service-item:nth-child(even) .service-photo { order: 0; }
  .figures-list { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .figures-list li:nth-child(2) { border-right: 1px solid rgba(255,255,255,.25); }
  .works-list { grid-template-columns: repeat(2, 1fr); }
  .faq-grid, .info-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-vertical { display: none; }
}

/* ─── スマートフォン ──────────────────────────── */
@media (max-width: 640px) {
  html { font-size: 15px; }
  .wrap { width: calc(100% - 40px); }
  .header { height: 64px; padding-left: 20px; }
  .header.is-scrolled { height: 64px; }
  .gnav.is-open ul { inset: 64px 0 auto; }
  .logo img { width: 40px; }
  .logo-text { font-size: 13px; }
  .menu-btn { width: 60px; }
  .header-cta { width: 76px; white-space: nowrap; }
  .gnav .header-cta { font-size: 10px; letter-spacing: 0; }
  .hero { min-height: 600px; }
  .hero-copy { padding-top: 0; margin-top: -80px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 14px; }
  .hero-scroll { display: none; }
  .hero-news { padding: 16px 20px; gap: 14px; font-size: 13px; }
  .hero-news .label { display: none; }
  .recruit-bar a { padding: 18px 0; }
  .recruit-bar .en { display: none; }
  .recruit-bar p { font-size: 14px; }
  .recruit-bar .more span:first-child { display: none; }
  .sec-head { margin-bottom: 40px; }
  .message, .reason, .service, .works, .faq, .info { padding: 96px 0; }
  .message-photo::before { inset: 24px -20px -24px 24px; }
  .reason-item { padding: 44px 28px; }
  .reason-item .icon-wrap { top: 40px; right: 28px; }
  .service-head, .works-head { flex-direction: column; align-items: flex-start; }
  .service-list { gap: 72px; }
  .service-body .num { font-size: 64px; }
  .service-body h3 { font-size: 24px; }
  .figures { padding: 88px 0; }
  .figures-list li { padding: 4px 16px; }
  .figures-list .value { font-size: 44px; }
  .works-list { gap: 32px 14px; }
  .works-list .meta { flex-wrap: wrap; gap: 6px 10px; }
  .faq-list summary { font-size: 15px; gap: 14px; padding: 22px 4px; }
  .recruit { padding: 104px 0; }
  .recruit-points { grid-template-columns: 1fr; }
  .news-list a { grid-template-columns: 1fr 16px; gap: 4px 12px; }
  .news-list time { grid-column: 1 / -1; }
  .contact { padding: 96px 0; }
  .contact-box { grid-template-columns: 1fr; }
  .contact-box a { min-height: 140px; padding: 28px; }
  .contact-box .tel { font-size: 30px; }
  .footer-grid { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .btn { width: 100%; }
}

/* ═══════════════ 下層ページ共通 ═══════════════ */
/* ヘッダー: 下層ページは最初から白背景 */
.header.is-solid { background: rgba(255,255,255,.96); color: var(--ink); height: 72px; box-shadow: 0 1px 0 var(--line); }
.header.is-solid .logo img { filter: none; }
.gnav ul a[aria-current="page"]::after { transform: scaleX(1); }

/* ページの見出し帯 */
.page-hero { position: relative; padding: 200px 0 88px; color: var(--white); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(23,56,77,.55); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .sec-head { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.4; opacity: .85; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

.page-sec { padding: 120px 0; }
.page-sec.is-paper { background: var(--paper); }
.sub-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 48px; }
.sub-head .en { font-size: 13px; color: var(--blue); }
.sub-head h2 { font-size: 26px; font-weight: 700; }

/* ─── 会社概要: 経営理念 ─── */
.mission-catch { margin: 0 0 64px; text-align: center; font-family: var(--font-serif); font-size: clamp(32px, 4.4vw, 56px); font-weight: 600; line-height: 1.5; letter-spacing: 0.16em; color: var(--blue-deep); }
.mission-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.mission-list li { padding: 40px 32px; background: var(--white); border-top: 2px solid var(--blue); }
.mission-list .num { display: block; margin-bottom: 20px; font-family: var(--font-en); font-size: 22px; font-weight: 300; color: var(--blue); }
.mission-list p { margin: 0; font-family: var(--font-serif); font-size: 18px; font-weight: 600; line-height: 1.9; letter-spacing: 0.04em; }

/* ─── 会社概要: 理念 ─── */
.philosophy { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.philosophy-word { white-space: nowrap; font-family: var(--font-serif); font-size: clamp(48px, 6vw, 84px); font-weight: 600; line-height: 1.2; letter-spacing: 0.16em; color: var(--blue-deep); }
.philosophy-word small { display: block; margin-top: 16px; font-family: var(--font-en); font-size: 13px; font-weight: 400; letter-spacing: 0.3em; color: var(--blue); }
.philosophy-body h3 { font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.7; letter-spacing: 0.06em; margin-bottom: 24px; }
.philosophy-body > p { line-height: var(--leading-prose); color: var(--ink-sub); }
.values { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
.values .num { font-family: var(--font-en); font-size: 22px; font-weight: 300; color: var(--blue); }

/* ─── 会社概要: 表 ─── */
.outline { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }
.outline .company-table { font-size: 15px; }
.outline .company-table th { width: 9em; padding: 22px 8px; }
.outline .company-table td { padding: 22px 8px; }
.purpose-list { margin: 0; padding-left: 1.6em; line-height: 1.7; }
.purpose-list li + li { margin-top: 4px; }
.outline figure { margin: 0; position: sticky; top: 112px; }
.outline figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.outline figcaption { margin-top: 12px; font-size: 12px; color: var(--ink-sub); }

/* ─── 許可・登録 ─── */
.license-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.license-card { background: var(--white); padding: 40px; }
.license-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.license-card .no { font-family: var(--font-en); font-size: 15px; color: var(--blue); letter-spacing: 0.04em; margin-bottom: 24px; }
.license-card ul { margin: 0; padding: 0; list-style: none; }
.license-card li { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.6; font-size: 14px; }
.license-card li .icon { color: var(--blue); transform: translateY(2px); }
.license-card dl { margin: 0; }
.license-card dl div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.license-card dt { font-weight: 500; white-space: nowrap; }
.license-card dd { margin: 0; font-family: var(--font-en); letter-spacing: 0.04em; }

/* ─── 保有資格 ─── */
.qual-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.qual-list li { display: flex; align-items: center; min-height: 96px; padding: 20px 24px; background: var(--white); font-size: 15px; font-weight: 500; line-height: 1.5; }

/* ─── アクセス ─── */
.access { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: center; }
.access address { font-style: normal; line-height: 1.9; }
.access address strong { display: block; font-size: 18px; margin-bottom: 8px; }
.access .map { aspect-ratio: 16 / 10; background: var(--paper); }
.access .map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access .btn { margin-top: 32px; }

/* ─── お問い合わせ: 流れ ─── */
.form-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 56px; padding: 0; list-style: none; counter-reset: step; }
.form-steps li { position: relative; padding: 16px 8px; text-align: center; font-size: 14px; line-height: 1.4; background: var(--paper); color: var(--ink-sub); }
.form-steps li + li { border-left: 2px solid var(--white); }
.form-steps li.is-current { background: var(--blue); color: var(--white); font-weight: 500; }
.form-steps .en { display: block; font-size: 11px; margin-bottom: 4px; }

.contact-page { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }
.contact-side { position: sticky; top: 112px; }
.contact-side p { color: var(--ink-sub); line-height: 1.9; }
.tel-card { display: block; margin: 32px 0 24px; padding: 28px 28px 24px; background: var(--blue); color: var(--white); transition: background .3s; }
.tel-card:hover { background: var(--blue-deep); }
.tel-card .head { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; }
.tel-card .tel { display: block; margin-top: 10px; font-family: var(--font-en); font-size: 30px; line-height: 1.1; letter-spacing: 0.04em; }
.contact-side .link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--blue); }
.contact-side .link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ─── お問い合わせ: フォーム（jpn-ui forms.css を元に調整） ─── */
.form { border-top: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.form-label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.req, .opt { display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: 0.04em; }
.req { color: var(--white); background: #b42318; }
.opt { color: var(--ink-sub); background: var(--paper); }
:where(.form input, .form textarea) { font-family: inherit; font-size: 16px; letter-spacing: 0; line-height: 1.5; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid #c8ccd1; border-radius: 0; background: var(--white); color: var(--ink);
}
.form textarea { min-height: 200px; line-height: 1.7; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #8a8f96; opacity: 1; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form [aria-invalid="true"] { border-color: #b42318 !important; background: #fef3f2 !important; }
.form-help { font-size: 12px; line-height: 1.5; color: var(--ink-sub); }
.form-error { font-size: 13px; line-height: 1.5; color: #b42318; }
.form-error:empty { display: none; }
.form-agree { padding: 40px 0 0; text-align: center; }
.form-agree p { font-size: 13px; color: var(--ink-sub); margin-bottom: 16px; }
.form-agree p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.check { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 15px; line-height: 1.4; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }
.form-submit { margin-top: 32px; text-align: center; }
.form-submit .btn { min-width: 320px; cursor: pointer; font-family: inherit; }
.form-notice { margin-top: 24px; padding: 20px 24px; background: var(--blue-pale); color: var(--blue-deep); font-size: 14px; line-height: 1.7; text-align: left; }
.form-notice[hidden] { display: none; }

@media (max-width: 1100px) {
  .philosophy, .outline, .access, .contact-page { grid-template-columns: 1fr; gap: 48px; }
  .outline figure, .contact-side { position: static; }
  .license-grid { grid-template-columns: 1fr; }
  .qual-list { grid-template-columns: repeat(2, 1fr); }
  .mission-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 136px 0 56px; }
  .breadcrumb { margin-top: 32px; }
  .page-sec { padding: 80px 0; }
  .sub-head { flex-direction: column; gap: 6px; margin-bottom: 32px; }
  .sub-head h2 { font-size: 22px; }
  .outline .company-table th, .outline .company-table td { display: block; width: auto; padding: 0 4px; border: 0; }
  .outline .company-table th { padding-top: 18px; }
  .outline .company-table td { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .license-card { padding: 28px 24px; }
  .mission-catch { margin-bottom: 40px; }
  .mission-list li { padding: 28px 24px; }
  .mission-list p { font-size: 17px; }
  .qual-list li { min-height: 80px; padding: 16px; font-size: 14px; }
  .form-steps li { font-size: 12px; padding: 12px 4px; }
  .form-submit .btn { min-width: 0; }
}
.sec-head h1 { margin-top: 16px; font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.sec-head h1::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.license-card { background: var(--paper); }

/* ═══════════════ 事業内容・施工事例・採用・ポリシー ═══════════════ */
.page-lead { max-width: 44em; margin: 0 auto 96px; text-align: center; }
.page-lead h2 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 600; line-height: 1.7; letter-spacing: 0.06em; margin-bottom: 28px; }
.page-lead p { color: var(--ink-sub); line-height: var(--leading-prose); }

/* 事業内容: 詳細 */
.service-detail { display: grid; gap: 120px; margin: 0; padding: 0; list-style: none; }
.service-detail .service-body .points { display: grid; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-detail .service-body .points li { display: flex; gap: 10px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); background: none; font-size: 14px; line-height: 1.7; }
.service-detail .service-body .points .icon { color: var(--blue); transform: translateY(2px); }
.service-detail .btn { margin-top: 32px; }

/* 事業内容: 工事の流れ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; }
.flow li { position: relative; background: var(--white); padding: 36px 28px 32px; }
.flow .step { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.2em; color: var(--blue); }
.flow .step b { display: block; font-size: 36px; font-weight: 300; letter-spacing: 0; line-height: 1.1; margin-top: 4px; }
.flow h3 { margin: 16px 0 12px; font-size: 17px; font-weight: 700; }
.flow p { font-size: 14px; color: var(--ink-sub); line-height: 1.8; }

/* 施工事例: 絞り込み */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; padding: 0; list-style: none; }
.filter button {
  min-height: 44px; padding: 0 22px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-family: inherit; font-size: 14px; line-height: 1.2; letter-spacing: 0.04em; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.filter button:hover { border-color: var(--blue); color: var(--blue); }
.filter button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.filter .count { margin-left: 6px; font-family: var(--font-en); font-size: 12px; opacity: .7; }
.works-list button.photo-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; font: inherit; color: inherit; }
.works-list .photo { position: relative; }
.works-list .zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; background: rgba(255,255,255,.92); color: var(--blue-deep); }
.works-list li[hidden] { display: none; }
.works-note { margin-top: 56px; font-size: 13px; color: var(--ink-sub); text-align: center; }

/* 施工事例: 拡大表示 */
.lightbox { width: min(1000px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(10,24,34,.88); }
.lightbox img { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; background: var(--white); }
.lightbox .cap { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--white); font-size: 14px; line-height: 1.5; }
.lightbox .cap time { font-family: var(--font-en); opacity: .8; }
.lightbox .close { position: absolute; top: -52px; right: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--white); font-family: inherit; font-size: 13px; cursor: pointer; }
.lightbox .close svg { width: 22px; height: 22px; }

/* 採用: 募集要項 */
.recruit-msg { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.recruit-msg h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; line-height: 1.6; letter-spacing: 0.06em; margin-bottom: 32px; }
.recruit-msg .body { line-height: var(--leading-prose); }
.recruit-msg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.benefit-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; }
.benefit-list li { background: var(--white); padding: 36px 28px; }
.benefit-list .icon-wrap { color: var(--blue); margin-bottom: 20px; }
.benefit-list .icon-wrap svg { width: 36px; height: 36px; }
.benefit-list h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.benefit-list p { font-size: 14px; color: var(--ink-sub); line-height: 1.8; }
.req-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); font-size: 15px; }
.req-table th, .req-table td { padding: 26px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.req-table th { width: 10em; white-space: nowrap; font-weight: 500; color: var(--blue); }
.req-table td small { display: block; font-size: 13px; color: var(--ink-sub); }
.entry { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 64px; }
.entry a { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 160px; padding: 32px 40px; transition: background .3s; }
.entry .tel-entry { background: var(--blue-deep); color: var(--white); }
.entry .tel-entry:hover { background: var(--ink); }
.entry .form-entry { background: var(--blue); color: var(--white); }
.entry .form-entry:hover { background: var(--blue-deep); }
.entry .head { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.4; }
.entry .big { font-family: var(--font-en); font-size: 32px; line-height: 1.1; letter-spacing: 0.04em; }
.entry .big.ja { font-family: var(--font-sans); font-size: 22px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; }

/* プライバシーポリシー */
.policy { max-width: 820px; margin: 0 auto; }
.policy > p { line-height: var(--leading-prose); margin-bottom: 56px; }
.policy section { padding: 36px 0; border-top: 1px solid var(--line); }
.policy section:last-of-type { border-bottom: 1px solid var(--line); }
.policy h2 { display: flex; align-items: baseline; gap: 16px; font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.policy h2 .num { font-family: var(--font-en); font-size: 15px; font-weight: 400; color: var(--blue); }
.policy section p, .policy section li { color: var(--ink-sub); line-height: var(--leading-prose); }
.policy ul { margin: 12px 0 0; padding-left: 1.4em; }
.policy .contact-line { margin-top: 20px; padding: 24px 28px; background: var(--paper); color: var(--ink); line-height: 1.9; }
.policy .contact-line a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.policy .date { margin-top: 32px; text-align: right; font-size: 13px; color: var(--ink-sub); }

@media (max-width: 1100px) {
  .flow, .benefit-list { grid-template-columns: repeat(2, 1fr); }
  .recruit-msg { grid-template-columns: 1fr; gap: 48px; }
  .entry { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-lead { margin-bottom: 64px; text-align: left; }
  .service-detail { gap: 80px; }
  .flow, .benefit-list { grid-template-columns: 1fr; }
  .flow li, .benefit-list li { padding: 28px 24px; }
  .filter { gap: 6px; }
  .filter button { padding: 0 14px; font-size: 13px; }
  .req-table th, .req-table td { display: block; width: auto; border: 0; padding: 0 4px; }
  .req-table th { padding-top: 20px; }
  .req-table td { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .entry a { min-height: 128px; padding: 28px; }
  .entry .big { font-size: 28px; }
  .lightbox .close { top: -48px; }
}
.works-list .photo-btn .photo { display: block; }
.works-list .photo-btn .title { display: block; margin-top: 10px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.recruit-fig { margin: 0; }
