:root {
  --orange: #E8640C;
  --orange-dark: #B84A05;
  --orange-pale: #FDF0E6;
  --ink: #1F2328;
  --sub: #59606A;
  --line: #E2E4E7;
  --alt: #F6F5F3;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "BIZ UDPMincho", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: .04em;
  line-break: strict;
  overflow-wrap: anywhere;
}
@supports (text-autospace: normal) { body { text-autospace: normal; } }
@supports (text-spacing-trim: normal) { body { text-spacing-trim: normal; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-dark); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.45; font-weight: 700; font-feature-settings: "palt" 1; word-break: auto-phrase; text-wrap: balance; }
h2 { font-size: clamp(1.625rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.lead { margin-top: 14px; max-width: 40em; color: var(--sub); }
.note { margin-top: 14px; color: var(--sub); font-size: .8125rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: #fff; padding: 8px 12px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.0625rem; letter-spacing: .05em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--orange); color: #fff; font-family: var(--mincho); font-size: 1.375rem; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .9375rem; font-weight: 700; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav > a:not(.btn):hover, .site-nav > a[aria-current]:not(.btn) { color: var(--orange-dark); }
.site-nav > a[aria-current]:not(.btn) { box-shadow: 0 2px 0 var(--orange); }
.site-nav a.btn { padding: 9px 20px; color: #fff; }
.tel-link { font-size: 1.125rem; letter-spacing: .03em; }
.menu-toggle { display: none; padding: 8px 14px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; }

/* ボタン */
.btn { display: inline-block; padding: 12px 28px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-primary { background: var(--orange-dark); color: #fff; }
.btn-primary:hover { background: #923A03; }
.btn-line { border-color: #fff; color: #fff; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-plain { border-color: var(--ink); background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.more { display: inline-block; margin-top: 20px; font-weight: 700; }

/* ヒーロー */
.hero { position: relative; display: flex; align-items: center; min-height: min(82vh, 720px); background: var(--ink); color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 22 26 / .78) 0%, rgb(20 22 26 / .5) 45%, rgb(20 22 26 / .05) 80%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 72px; }
.hero h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); line-height: 1.3; }
.hero p { margin-top: 22px; max-width: 30em; font-size: 1.125rem; }

.facts { border-bottom: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts dl > div { padding: 26px 28px; border-left: 1px solid var(--line); }
.facts dl > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { color: var(--sub); font-size: .875rem; }
.facts dd { font-size: 1.375rem; font-weight: 700; }

/* 下層ページ見出し */
.page-head { position: relative; display: flex; align-items: flex-end; min-height: 340px; background: var(--ink); color: #fff; overflow: hidden; }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 22 26 / .75), rgb(20 22 26 / .25)); }
.page-head .wrap { position: relative; z-index: 1; padding-block: 48px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-head p { margin-top: 8px; max-width: 34em; }
.crumbs { padding-block: 12px; border-bottom: 1px solid var(--line); color: var(--sub); font-size: .8125rem; }
.crumbs a { color: var(--sub); }

/* セクション */
.section { padding-block: clamp(64px, 9vw, 112px); }
.alt { background: var(--alt); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.statement { margin-top: 16px; font-family: var(--mincho); font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.8; }
.split p + p { margin-top: 16px; }

/* トップの事業紹介 */
.tiles { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-top: 40px; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 380px; padding: 28px 32px; background: var(--ink); color: #fff; text-decoration: none; overflow: hidden; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(20 22 26 / .8), rgb(20 22 26 / 0) 62%); }
.tile:hover img { transform: scale(1.03); }
.tile div { position: relative; z-index: 1; }
.tile p { font-size: .9375rem; }
.trades { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 16px; }
.trades a { display: block; color: var(--ink); font-weight: 700; text-decoration: none; }
.trades a:hover { color: var(--orange-dark); }
.trades img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; }

/* 現場写真 */
.site-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin-top: 40px; }
.site-photos img { width: 100%; height: 420px; object-fit: cover; }

/* 採用の帯 */
.band { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 22 26 / .82), rgb(20 22 26 / .35)); }
.band .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 104px); }
.band p { margin-top: 14px; max-width: 34em; }

/* お知らせ */
.news-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px clamp(32px, 6vw, 80px); }
.news li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.news li:first-child { border-top: 1px solid var(--line); }

/* 事業内容ページ */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { padding: 6px 18px; border: 1px solid var(--line); color: var(--ink); font-size: .9375rem; font-weight: 700; text-decoration: none; }
.jump a:hover { border-color: var(--orange-dark); color: var(--orange-dark); }
.rows { margin-top: 56px; display: grid; gap: clamp(48px, 7vw, 88px); }
.row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.row:nth-child(even) img { order: 2; }
.row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.row p { margin-top: 12px; }
.row h3 { padding-left: 14px; border-left: 4px solid var(--orange); line-height: 1.3; }
.related { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--sub); font-size: .875rem; }

/* 会社概要 */
.motto-block { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
.motto { writing-mode: vertical-rl; text-orientation: mixed; font-family: var(--mincho); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.8; letter-spacing: .16em; }
.motto span { display: block; }
.motto-block p + p { margin-top: 14px; }
.info { width: 100%; margin-top: 32px; border-collapse: collapse; border-top: 1px solid var(--line); }
.info th, .info td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info th { width: 12em; background: var(--alt); font-weight: 700; }
.quals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; margin-top: 36px; }
.quals h3 { font-size: 1.125rem; }
.quals ul { margin-top: 10px; border-top: 1px solid var(--ink); }
.quals li { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--line); }
.quals li span { white-space: nowrap; font-weight: 700; }

/* 採用情報 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.panel { padding: clamp(28px, 4vw, 44px); background: #fff; border-top: 4px solid var(--orange); }
.panel p { margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { padding: 2px 14px; background: var(--orange-pale); color: var(--orange-dark); font-weight: 700; }

/* shop */
.stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.stores a { display: block; padding: 18px 22px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.stores a:hover { border-color: var(--orange-dark); color: var(--orange-dark); }
.store-group + .store-group { margin-top: 40px; }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.tel-box { padding: 28px; background: var(--alt); }
.tel-box a { display: block; color: var(--ink); font-size: 1.625rem; font-weight: 700; text-decoration: none; }
.tel-box p { color: var(--sub); font-size: .9375rem; }
.tel-box p + p { margin-top: 14px; }
.steps { display: flex; gap: 8px; margin-bottom: 28px; font-size: .875rem; font-weight: 700; }
.steps li { flex: 1; padding: 8px; background: var(--alt); color: var(--sub); text-align: center; }
.steps li[aria-current] { background: var(--orange-dark); color: #fff; }
.form { display: grid; gap: 22px; }
.form label { display: block; font-size: .9375rem; font-weight: 700; }
.form small { margin-left: .6em; color: var(--orange-dark); font-size: .75rem; }
.form input, .form select, .form textarea { width: 100%; margin-top: 6px; padding: 12px; border: 1px solid #8D939B; background: #fff; color: inherit; font: inherit; font-size: 1rem; font-weight: 400; }
.form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .consent { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.form .consent input { width: 20px; height: 20px; margin: 0; }
.form-note { color: var(--sub); font-size: .875rem; }
.hp { position: absolute; left: -9999px; }
.confirm-text { padding: 12px; background: var(--alt); white-space: pre-wrap; }
.form-error { padding: 12px; border-left: 4px solid #B3261E; background: #FCEDEB; color: #8C1D18; font-weight: 700; }
.form-done p { margin-top: 12px; }
.btn:disabled { opacity: .6; cursor: default; }
.policy { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); color: var(--sub); font-size: .875rem; }
.policy h2 { color: var(--ink); font-size: 1.25rem; }
.policy p { margin-top: 12px; }
.policy ul { margin-top: 8px; padding-left: 1.2em; list-style: disc; }
[hidden] { display: none !important; }

/* お問い合わせ帯とフッター */
.cta { padding-block: 56px; background: var(--orange-dark); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.cta h2 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); }
.cta-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.cta-links .tel { color: #fff; font-size: 1.625rem; font-weight: 700; text-decoration: none; }
.site-footer { padding-block: 48px 28px; background: var(--ink); color: #fff; font-size: .875rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.footer-top strong { display: block; margin-bottom: 6px; font-size: 1.0625rem; }
.site-footer a { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .2); font-size: .75rem; }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .site-nav > a[aria-current]:not(.btn) { box-shadow: none; }
  .site-nav a.btn { margin-top: 14px; padding-block: 11px; border-bottom: 0; text-align: center; }
  .trades { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header .wrap { gap: 10px; min-height: 64px; }
  .brand { gap: 8px; font-size: .875rem; letter-spacing: 0; white-space: nowrap; }
  .brand-mark { flex: none; width: 32px; height: 32px; font-size: 1.125rem; }
  .menu-toggle { flex: none; padding: 6px 10px; line-height: 1.5; white-space: nowrap; }
  .hero { min-height: 560px; }
  .hero::after { background: rgb(20 22 26 / .55); }
  .hero p { font-size: 1rem; }
  .facts dl { grid-template-columns: 1fr; }
  .facts dl > div, .facts dl > div:first-child { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts dl > div:first-child { border-top: 0; }
  .page-head { min-height: 240px; }
  .split, .tiles, .row, .two, .news-grid, .quals, .contact-grid { grid-template-columns: 1fr; }
  .row:nth-child(even) img { order: 0; }
  .tile { min-height: 280px; padding: 22px; }
  .trades { grid-template-columns: repeat(2, 1fr); }
  .site-photos { grid-template-columns: 1fr 1fr; }
  .site-photos img { height: 240px; }
  .site-photos img:first-child { grid-column: 1 / -1; }
  .motto-block { grid-template-columns: 1fr; }
  .motto { justify-self: center; }
  .info th { width: 7.5em; padding-inline: 8px; }
  .info td { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile img { transition: none; }
  .tile:hover img { transform: none; }
}
