/* 建設業者向けホームページの見本サイト（2026-11-01）
   共通の骨組み＋3つの型（a 総合建設・b 工務店・c 専門工事）を CSS 変数で切り替える */
:root { color-scheme: light; }
.sp {
  --bg: #fff; --soft: #f4f5f7; --ink: #15191f; --ink2: #4b5563; --line: #e3e6eb;
  --main: #12263f; --accent: #e8661c; --accent-ink: #fff; --hero-ov: rgba(10, 20, 35, .55);
  --f-h: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif; --f-b: "Noto Sans JP", "Hiragino Sans", sans-serif; --f-en: "Oswald", sans-serif;
  --r: 0px; --w: 1180px; --g: clamp(16px, 4vw, 40px);
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-b); font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  -webkit-text-size-adjust: 100%; overflow-x: clip;
}
.sp--b { --bg: #fbf8f2; --soft: #f2ece1; --ink: #2a2520; --ink2: #6a5f53; --line: #e2d8c8; --main: #3b2f25; --accent: #9b6a3c; --hero-ov: rgba(40, 30, 20, .42);
  --f-h: "Shippori Mincho B1", "Hiragino Mincho ProN", serif; --f-en: "Cormorant Garamond", serif; --r: 2px; }
.sp--c { --bg: #fff; --soft: #f1f4f8; --ink: #0f1722; --ink2: #4a5566; --line: #dde3ec; --main: #0d1b2e; --accent: #f5b800; --accent-ink: #0d1b2e; --hero-ov: rgba(8, 18, 34, .62);
  --f-h: "M PLUS 1p", "Hiragino Sans", sans-serif; --f-en: "Barlow Condensed", sans-serif; --r: 4px; }
.sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
.sp img { max-width: 100%; height: auto; display: block; }
.sp picture { display: block; overflow: hidden; }
.sp a { color: inherit; }
.sp h1, .sp h2, .sp h3, .sp h4 { font-family: var(--f-h); line-height: 1.45; letter-spacing: .06em; margin: 0; font-weight: 700; }
.sp-wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--g); }
.sp-narrow { max-width: 900px; }
.sp-center { text-align: center; }

/* 見本の帯 */
.sp-ribbon { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding: 8px 16px; background: #fff7d6; color: #5a4400; font-size: 13px; line-height: 1.6; border-bottom: 1px solid #ecd98a; }
.sp-ribbon p { margin: 0; }
.sp-ribbon b { display: inline-block; margin-right: 8px; padding: 0 8px; background: #5a4400; color: #fff7d6; font-weight: 700; letter-spacing: .1em; }
.sp-ribbon a { font-weight: 700; color: #5a4400; }

/* ヘッダー */
.sp-hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.sp--b .sp-hd { background: rgba(251, 248, 242, .96); }
.sp-hd .sp-wrap { display: flex; align-items: center; gap: 20px; height: 76px; }
.sp-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.sp-logo__mark { flex: none; display: grid; place-items: center; width: 42px; height: 42px; background: var(--main); color: #fff; font: 700 21px/1 var(--f-h); border-radius: var(--r); }
.sp--c .sp-logo__mark { background: var(--accent); color: var(--main); font-family: var(--f-en); font-size: 26px; }
.sp-logo__t strong { display: block; font: 700 19px/1.3 var(--f-h); letter-spacing: .08em; white-space: nowrap; }
.sp-logo__t small { display: block; font: 500 10.5px/1.3 var(--f-en); letter-spacing: .2em; color: var(--ink2); white-space: nowrap; }
.sp-nav { display: flex; align-items: center; gap: 28px; }
.sp-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.sp-nav li a { display: block; text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.3; text-align: center; white-space: nowrap; }
.sp-nav li a small { display: block; font: 500 10px/1.2 var(--f-en); letter-spacing: .16em; color: var(--accent); text-transform: uppercase; margin-top: 3px; }
.sp--c .sp-nav li a small { color: var(--ink2); }
.sp-nav li a[aria-current] { color: var(--accent); }
.sp--c .sp-nav li a[aria-current] { color: var(--main); box-shadow: inset 0 -3px var(--accent); }
.sp-hd__cta { padding: 12px 22px; background: var(--accent); color: var(--accent-ink) !important; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: var(--r); white-space: nowrap; }
.sp-menu { display: none; }
@media (max-width: 1040px) {
  .sp-menu { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border: 0; background: none; font: 500 10px/1 var(--f-b); color: var(--ink); cursor: pointer; }
  .sp-menu span, .sp-menu span::before, .sp-menu span::after { display: block; width: 26px; height: 2px; background: var(--ink); content: ""; position: relative; }
  .sp-menu span { margin: 9px 0 10px; }
  .sp-menu span::before { position: absolute; top: -8px; } .sp-menu span::after { position: absolute; top: 8px; }
  .sp-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; align-items: stretch; gap: 0; padding: 90px 28px 28px; background: var(--bg); box-shadow: -10px 0 40px rgba(0, 0, 0, .15); display: none; z-index: 40; }
  .nav-open .sp-nav { display: flex; }
  .sp-nav ul { flex-direction: column; gap: 0; }
  .sp-nav li a { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
  .sp-nav li a small { margin: 0; }
  .sp-hd__cta { margin-top: 24px; text-align: center; }
  .sp-hd .sp-wrap { height: 64px; }
  .sp-logo__t strong { font-size: 16px; }
}

/* ヒーロー */
.sp-hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.sp-hero__img { position: absolute; inset: 0; }
.sp-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--hero-ov) 0%, rgba(0, 0, 0, .15) 70%), linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 45%); z-index: 1; }
.sp-hero__in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 10vh, 110px); }
.sp-hero__k { margin: 0 0 18px; font: 600 14px/1 var(--f-en); letter-spacing: .32em; color: var(--accent); }
.sp-hero h1 { font-size: clamp(34px, 6vw, 70px); line-height: 1.32; letter-spacing: .08em; font-weight: 900; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.sp--b .sp-hero h1 { font-weight: 600; letter-spacing: .12em; }
.sp-hero__lead { max-width: 34em; margin: 24px 0 0; font-size: clamp(15px, 1.6vw, 17px); line-height: 2; }
.sp-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.sp-hero__scroll { position: absolute; right: var(--g); bottom: 28px; z-index: 2; margin: 0; font: 500 11px/1 var(--f-en); letter-spacing: .3em; writing-mode: vertical-rl; color: rgba(255, 255, 255, .8); }
.sp--a .sp-hero__in::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 40px; background: var(--accent); }
.sp--c .sp-hero { align-items: center; }
.sp--c .sp-hero h1 { font-weight: 800; }
.sp--c .sp-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 48px 48px; }

/* ボタン */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 210px; padding: 16px 30px; font-weight: 700; font-size: 15px; text-decoration: none; border-radius: var(--r); transition: .2s; }
.sp-btn::after { content: "→"; font-family: var(--f-en); }
.sp-btn--main { background: var(--accent); color: var(--accent-ink) !important; }
.sp-btn--main:hover { filter: brightness(1.08); }
.sp-btn--line { border: 1px solid currentColor; }
.sp-btn--line:hover { background: var(--main); color: #fff !important; border-color: var(--main); }
.sp-hero .sp-btn--line { color: #fff; }
.sp-link { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }
.sp-more { text-align: center; margin: 44px 0 0; }

/* 見出し */
.sp-sec { padding: clamp(72px, 10vw, 128px) 0; }
.sp-sec--soft { background: var(--soft); }
.sp-sec--nums { padding: 0; background: var(--main); color: #fff; }
.sp-sh { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.sp-sh__en { margin: 0 0 10px; font: 600 14px/1 var(--f-en); letter-spacing: .3em; color: var(--accent); text-transform: uppercase; }
.sp--b .sp-sh__en { font-style: italic; font-size: 20px; letter-spacing: .08em; text-transform: none; }
.sp--c .sp-sh__en { color: var(--ink2); font-size: 16px; }
.sp--c .sp-sh__en::before { content: ""; display: inline-block; width: 18px; height: 3px; margin: 0 10px 4px 0; background: var(--accent); vertical-align: middle; }
.sp-sh h2 { font-size: clamp(26px, 3.4vw, 38px); }
.sp-sh h2::after { content: ""; display: block; width: 36px; height: 2px; margin: 22px auto 0; background: var(--accent); }
.sp--b .sp-sh h2::after { width: 1px; height: 28px; margin-top: 18px; background: var(--ink2); }
.sp--c .sp-sh h2::after { display: none; }
.sp-sh__lead { margin: 16px auto 0; max-width: 40em; color: var(--ink2); }

/* 数字 */
.sp-nums { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.sp-nums div { padding: 40px 12px; border-left: 1px solid rgba(255, 255, 255, .14); }
.sp-nums div:first-child { border-left: 0; }
.sp-nums b { display: block; font: 600 clamp(36px, 4.6vw, 56px)/1.1 var(--f-en); letter-spacing: .02em; color: var(--accent); }
.sp-nums b small { margin-left: 4px; font: 700 15px/1 var(--f-h); color: inherit; }
.sp-sec--nums .sp-nums b small { color: #fff; }
.sp-nums span { display: block; margin-top: 10px; font-size: 13.5px; letter-spacing: .08em; }
.sp-sec--soft .sp-nums, .sp-sec .sp-nums { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sp-sec--soft .sp-nums div, .sp-sec:not(.sp-sec--nums) .sp-nums div { background: var(--bg); border: 0; }
.sp-sec--nums .sp-nums { background: none; border: 0; gap: 0; }
@media (max-width: 760px) { .sp-nums { grid-template-columns: 1fr 1fr; } .sp-sec--nums .sp-nums div:nth-child(3) { border-left: 0; } .sp-sec--nums .sp-nums div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); } }

/* メッセージ */
.sp-msg { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.sp-msg__img picture { aspect-ratio: 4 / 5; border-radius: var(--r); }
.sp-msg__img img { width: 100%; height: 100%; object-fit: cover; }
.sp--a .sp-msg__img { position: relative; }
.sp--a .sp-msg__img::after { content: ""; position: absolute; left: -16px; bottom: -16px; width: 45%; height: 45%; background: var(--accent); z-index: -1; }
.sp-msg__b h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 28px; }
.sp-msg__b p { margin: 0 0 18px; text-align: justify; }
.sp-msg__sign { margin-top: 26px !important; text-align: right !important; font-family: var(--f-h); font-weight: 700; letter-spacing: .12em; }
@media (max-width: 860px) { .sp-msg { grid-template-columns: 1fr; } .sp-msg__img picture { aspect-ratio: 16 / 10; } }

/* 強み（トップ） */
.sp-sts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sp-st { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; background: var(--bg); text-decoration: none; border-radius: var(--r); overflow: hidden; transition: .25s; }
.sp--b .sp-st { border: 1px solid var(--line); }
.sp-st:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); }
.sp-st__img { aspect-ratio: 16 / 11; }
.sp-st__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sp-st:hover .sp-st__img img { transform: scale(1.05); }
.sp-st__b { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 26px 28px 32px; align-content: start; }
.sp-st__no { margin: 0 0 8px; font: 600 34px/1 var(--f-en); color: var(--accent); }
.sp-st__no span { margin-left: 12px; font-size: 12px; letter-spacing: .2em; color: var(--ink2); text-transform: uppercase; }
.sp--b .sp-st__no { font-style: italic; }
.sp-st h3 { font-size: 19px; margin-bottom: 12px; align-self: start; }
.sp-st p { margin: 0; font-size: 14.5px; color: var(--ink2); line-height: 1.85; }
@media (max-width: 900px) { .sp-sts { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* 事業内容 */
.sp-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sp-svc li { padding: 26px 24px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.sp-svc li:nth-child(3n) { border-right: 0; }
.sp-svc b { display: block; font: 700 18px/1.5 var(--f-h); margin-bottom: 6px; }
.sp-svc b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 10px 3px 0; background: var(--accent); }
.sp--b .sp-svc b::before { border-radius: 50%; }
.sp-svc span { font-size: 14px; color: var(--ink2); }
@media (max-width: 860px) { .sp-svc { grid-template-columns: 1fr 1fr; } .sp-svc li:nth-child(3n) { border-right: 1px solid var(--line); } .sp-svc li:nth-child(2n) { border-right: 0; } }
@media (max-width: 520px) { .sp-svc { grid-template-columns: 1fr; } .sp-svc li { border-right: 0 !important; padding: 20px 4px; } }

/* 施工実績 */
.sp-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sp-work { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; background: var(--bg); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.sp-work__b { display: flex; flex-direction: column; }
.sp-work__client { margin-top: auto !important; padding-top: 12px; border-top: 1px solid var(--line); }
.sp-sec--soft .sp-work { box-shadow: 0 1px 0 var(--line); }
.sp-work__img { aspect-ratio: 4 / 3; }
.sp-work__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-work__b { padding: 20px 22px 24px; }
.sp-work__meta { margin: 0 0 8px; font-size: 13px; color: var(--ink2); display: flex; align-items: center; gap: 10px; }
.sp-tag { display: inline-block; padding: 2px 10px; font-size: 12px; font-weight: 700; line-height: 1.6; background: var(--main); color: #fff; border-radius: var(--r); letter-spacing: .06em; white-space: nowrap; }
.sp--c .sp-tag { background: var(--accent); color: var(--main); }
.sp-work h3 { font-size: 17px; line-height: 1.6; margin-bottom: 14px; }
.sp-work__client { margin: 10px 0 0; font-size: 12.5px; color: var(--ink2); line-height: 1.7; }
.sp-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.sp-filter button { padding: 9px 22px; border: 1px solid var(--line); background: var(--bg); font: 500 14px/1.4 var(--f-b); color: var(--ink); border-radius: 999px; cursor: pointer; }
.sp-filter button[aria-pressed="true"] { background: var(--main); border-color: var(--main); color: #fff; }
.sp-work[hidden] { display: none; }
.sp-case { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.sp-case__img { aspect-ratio: 4 / 3; border-radius: var(--r); }
.sp-case__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-case h3 { font-size: 22px; margin: 6px 0 16px; }
@media (max-width: 960px) { .sp-works { grid-template-columns: 1fr 1fr; gap: 18px; } .sp-case { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .sp-works { grid-template-columns: 1fr; } }

/* 採用の帯 */
.sp-rec { position: relative; color: #fff; padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; }
.sp-rec__img { position: absolute; inset: 0; }
.sp-rec__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-rec::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .2)); z-index: 1; }
.sp-rec__in { position: relative; z-index: 2; }
.sp-rec h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.4; margin-bottom: 20px; }
.sp-rec p { max-width: 30em; margin: 0 0 32px; }

/* お知らせ */
.sp-news ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 900px; margin: 0 auto; }
.sp-news li { display: flex; align-items: center; gap: 18px; padding: 20px 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.sp-news time { font: 500 15px/1 var(--f-en); letter-spacing: .08em; color: var(--ink2); }
.sp-news a { text-decoration: none; }

/* 下層ページのヒーロー */
.sp-ph { position: relative; color: #fff; padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.sp-ph__img { position: absolute; inset: 0; }
.sp-ph__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-ph::before { content: ""; position: absolute; inset: 0; background: var(--hero-ov); z-index: 1; }
.sp-ph__in { position: relative; z-index: 2; }
.sp-ph__en { margin: 0 0 12px; font: 600 15px/1 var(--f-en); letter-spacing: .3em; color: var(--accent); text-transform: uppercase; }
.sp--b .sp-ph__en { font-style: italic; text-transform: none; font-size: 22px; letter-spacing: .08em; }
.sp-ph h1 { font-size: clamp(30px, 4.4vw, 50px); }
.sp-ph p:last-child { max-width: 36em; margin: 16px 0 0; }

/* 強み（下層） */
.sp-sxs { padding-top: clamp(64px, 9vw, 110px); }
.sp-sx { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: clamp(64px, 9vw, 110px); }
.sp-sx--rev .sp-sx__img { order: 2; }
.sp-sx__img picture { aspect-ratio: 4 / 3; border-radius: var(--r); }
.sp-sx__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-sx h2 { font-size: clamp(23px, 2.8vw, 31px); margin: 6px 0 18px; }
.sp-sx__b > p { margin: 0 0 20px; color: var(--ink2); text-align: justify; }
.sp-check { list-style: none; margin: 0; padding: 0; }
.sp-check li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); font-weight: 500; }
.sp-check li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 860px) { .sp-sx { grid-template-columns: 1fr; } .sp-sx--rev .sp-sx__img { order: 0; } }

/* 表 */
.sp-table { width: 100%; border-collapse: collapse; background: var(--bg); }
.sp-table th, .sp-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.sp-table th { width: 30%; font-weight: 700; font-family: var(--f-h); background: var(--soft); white-space: nowrap; }
.sp-sec--soft .sp-table th { background: var(--bg); }
.sp-table td small { color: var(--ink2); }
.sp-table--s th, .sp-table--s td { padding: 10px 14px; font-size: 14px; }
@media (max-width: 600px) { .sp-table th, .sp-table td { display: block; width: auto; } .sp-table th { border-bottom: 0; padding-bottom: 4px; } .sp-table td { padding-top: 4px; } }

/* 沿革 */
.sp-hist { list-style: none; margin: 0; padding: 0; position: relative; }
.sp-hist::before { content: ""; position: absolute; left: 112px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.sp-hist li { display: grid; grid-template-columns: 112px 1fr; gap: 32px; padding: 16px 0; position: relative; }
.sp-hist li::before { content: ""; position: absolute; left: 107px; top: 25px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.sp-hist b { font: 600 24px/1.3 var(--f-en); color: var(--main); }
.sp--c .sp-hist b { color: var(--ink); }
.sp-hist b small { display: block; font: 500 12px/1.4 var(--f-b); color: var(--ink2); }
.sp-hist span { padding-top: 4px; }
@media (max-width: 520px) { .sp-hist::before { left: 82px; } .sp-hist li { grid-template-columns: 82px 1fr; gap: 24px; } .sp-hist li::before { left: 77px; } }

/* 地図 */
.sp-map { display: grid; place-items: center; aspect-ratio: 16 / 7; background: repeating-linear-gradient(45deg, var(--bg), var(--bg) 12px, var(--soft) 12px, var(--soft) 24px); border: 1px solid var(--line); color: var(--ink2); margin-bottom: 18px; }

/* 採用 */
.sp-jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sp-job { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sp-job__img { aspect-ratio: 16 / 10; }
.sp-job__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-job div { padding: 22px 24px 26px; }
.sp-job h3 { font-size: 19px; margin-bottom: 8px; }
.sp-job p { margin: 0; font-size: 14.5px; color: var(--ink2); }
.sp-day { list-style: none; margin: 0; padding: 0; }
.sp-day li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.sp-day b { font: 600 24px/1.3 var(--f-en); color: var(--accent); }
.sp--c .sp-day b { color: var(--main); }
.sp-day h4 { font-size: 17px; }
.sp-day p { margin: 4px 0 0; font-size: 14px; color: var(--ink2); }
.sp-voices { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.sp-voice { margin: 0; display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; background: var(--bg); padding: 24px; border-radius: var(--r); }
.sp-voice__img { aspect-ratio: 1; border-radius: 50%; }
.sp-voice__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-voice p { margin: 0 0 12px; font-size: 15px; }
.sp-voice p::before { content: "“"; display: block; font: 600 46px/0.6 var(--f-en); color: var(--accent); margin-bottom: 8px; }
.sp-voice cite { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--ink2); }
.sp-wel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 0 0 72px; padding: 0; }
.sp-wel li { padding: 14px 18px 14px 44px; background: var(--soft); border-radius: var(--r); position: relative; font-weight: 500; }
.sp-wel li::before { content: ""; position: absolute; left: 18px; top: 24px; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.sp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 36px 0 0; padding: 0; counter-reset: s; }
.sp-steps li { padding: 22px 16px; text-align: center; background: var(--main); color: #fff; border-radius: var(--r); font-weight: 700; }
.sp-steps b { display: block; font: 600 22px/1 var(--f-en); color: var(--accent); margin-bottom: 8px; }
@media (max-width: 900px) { .sp-jobs { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .sp-voices { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sp-voice { grid-template-columns: 1fr; text-align: left; } .sp-voice__img { width: 120px; } .sp-wel { grid-template-columns: 1fr; } .sp-steps { grid-template-columns: 1fr; } .sp-day li { grid-template-columns: 70px 1fr; gap: 14px; } }

/* お問い合わせ */
.sp-contact { padding: clamp(72px, 10vw, 120px) 0; background: var(--main); color: #fff; }
.sp-contact .sp-sh__lead { color: rgba(255, 255, 255, .8); }
.sp-contact__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.sp-contact__tel { padding: 36px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r); text-align: center; }
.sp-contact__tel p { margin: 0 0 8px; }
.sp-contact__tel a { display: block; font: 600 clamp(32px, 4vw, 44px)/1.2 var(--f-en); letter-spacing: .04em; text-decoration: none; color: var(--accent); }
.sp-contact__tel small { color: rgba(255, 255, 255, .75); }
.sp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.sp-form__wide { grid-column: 1 / -1; }
.sp-form input, .sp-form select, .sp-form textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; border: 0; border-radius: var(--r); background: #fff; color: var(--ink); }
.sp-form button { grid-column: 1 / -1; padding: 18px; border: 0; background: var(--accent); color: var(--accent-ink); font: 700 16px/1 var(--f-b); border-radius: var(--r); cursor: pointer; }
@media (max-width: 860px) { .sp-contact__grid, .sp-form { grid-template-columns: 1fr; } }

/* フッター */
.sp-ft { padding: 56px 0 100px; background: #0b0f15; color: rgba(255, 255, 255, .8); font-size: 14px; }
.sp--b .sp-ft { background: #2a2119; }
.sp-ft .sp-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.sp-ft__name { margin: 0 0 10px; font: 700 20px/1.4 var(--f-h); color: #fff; }
.sp-ft__co p:last-child { margin: 0; line-height: 1.9; }
.sp-ft__nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; align-content: start; }
.sp-ft__nav a { text-decoration: none; }
.sp-ft__copy { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; }
@media (max-width: 760px) { .sp-ft .sp-wrap { grid-template-columns: 1fr; } }
.sp-bar { display: none; }
@media (max-width: 760px) {
  .sp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--main); padding-bottom: env(safe-area-inset-bottom); }
  .sp-bar a { padding: 14px 4px; text-align: center; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border-left: 1px solid rgba(255, 255, 255, .15); }
  .sp-bar a:first-child { border-left: 0; background: var(--accent); color: var(--accent-ink); }
  .sp-ribbon p span { display: none; }
}

/* 本文は左右そろえ（全サイト共通の改行ルール） */
.sp p, .sp li, .sp td { text-align: justify; text-justify: inter-character; }
.sp-sh__lead, .sp-center, .sp-nums span, .sp-steps li, .sp-contact__tel p, .sp-ribbon p { text-align: center; }
.sp-msg__sign { text-align: right !important; }

/* ── 2026-11-01 改：許可・経審を前面に＋細部の仕上げ ── */
/* 上の帯（許可番号と電話） */
.sp-top { background: var(--main); color: rgba(255, 255, 255, .82); font-size: 12px; line-height: 1.5; letter-spacing: .06em; }
.sp-top .sp-wrap { display: flex; justify-content: space-between; gap: 20px; padding-top: 7px; padding-bottom: 7px; }
.sp-top p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-top span { margin-left: 14px; color: rgba(255, 255, 255, .6); }
.sp-top a { color: #fff; text-decoration: none; font-weight: 700; }
.sp--c .sp-top { background: #08121f; }
@media (max-width: 1040px) { .sp-top span { display: none; } }
@media (max-width: 760px) { .sp-top p:last-child { display: none; } .sp-top .sp-wrap { justify-content: center; } }

/* ヒーローの信用の札 */
.sp-badges { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 40px 0 0; padding: 0; width: fit-content; max-width: 100%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .28); backdrop-filter: blur(4px); }
.sp-badges li { padding: 12px 22px; font-weight: 700; font-size: 14.5px; line-height: 1.45; letter-spacing: .06em; border-left: 1px solid rgba(255, 255, 255, .25); text-align: left; }
.sp-badges li:first-child { border-left: 0; }
.sp-badges small { display: block; font-size: 11px; font-weight: 500; color: var(--accent); letter-spacing: .14em; }
.sp--a .sp-hero__in::after { display: none; }
.sp--b .sp-badges { border-radius: 2px; background: rgba(40, 30, 20, .35); }
.sp--b .sp-badges small { color: #e9cfa8; }
@media (max-width: 760px) { .sp-badges { width: 100%; } .sp-badges li { flex: 1 1 100%; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding: 10px 16px; } .sp-badges li:first-child { border-top: 0; } }

/* 許可・経審の欄 */
.sp-trust__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.sp-kyoka { margin: 0; padding: clamp(18px, 3vw, 34px); background: #fff; color: #111; border: 1px solid #c9c4b8; box-shadow: 0 0 0 6px #f3f1ec, 0 0 0 7px #d8d3c6, 0 24px 50px rgba(0, 0, 0, .12); font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; }
.sp-kyoka figcaption { margin: 0 0 16px; text-align: center; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: .6em; text-indent: .6em; }
.sp-kyoka table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.6; }
.sp-kyoka table + table { margin-top: -1px; }
.sp-kyoka th, .sp-kyoka td { border: 1px solid #222; padding: 9px 10px; vertical-align: middle; text-align: left; }
.sp-kyoka th { width: 26%; font-weight: 600; background: #fafaf7; }
.sp-kyoka table:not(.sp-kyoka__list) th { width: 30%; }
.sp-kyoka__list th { width: auto; text-align: center; font-size: 12px; line-height: 1.5; }
.sp-kyoka__list th:first-child { font-size: 10.5px; padding: 6px 2px; }
.sp-kyoka__list td:first-child { text-align: center; }
.sp-kyoka__list { table-layout: fixed; }
.sp-kyoka__list th:nth-child(1) { width: 14%; } .sp-kyoka__list th:nth-child(2) { width: 30%; } .sp-kyoka__list th:nth-child(3) { width: 35%; } .sp-kyoka__list th:nth-child(4) { width: 21%; }
.sp-kyoka__list td:nth-child(3) { font-size: 12.5px; }
.sp-kyoka__list td:last-child { font-size: 12.5px; text-align: center; }
.sp-trust__h { display: block; font-size: 18px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sp-trust__no { margin-right: 12px; font: 600 15px/1 var(--f-en); color: var(--accent); letter-spacing: .1em; }
.sp--b .sp-trust__no { font-style: italic; font-size: 18px; }
.sp-trust__b > * + .sp-trust__h { margin-top: 34px; }
.sp-ks { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sp-ks th, .sp-ks td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.sp-ks thead th { font-size: 12.5px; font-weight: 500; color: var(--ink2); border-bottom: 2px solid var(--main); }
.sp-ks thead small { font-size: 11px; }
.sp-ks td:last-child, .sp-ks thead th:last-child { text-align: right; }
.sp-ks td b { font: 600 26px/1 var(--f-en); color: var(--main); letter-spacing: .02em; }
.sp--c .sp-ks td b { color: var(--ink); }
.sp-note { margin: 10px 0 0; font-size: 12px; line-height: 1.8; color: var(--ink2); }
.sp-trust__list { list-style: none; margin: 0; padding: 0; }
.sp-trust__list li { position: relative; padding: 7px 0 7px 22px; font-size: 15px; line-height: 1.7; }
.sp-trust__list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border: 2px solid var(--accent); border-radius: 50%; }
.sp-trust .sp-link { margin-top: 26px; }
.sp-trust--full { background: var(--bg); }
@media (max-width: 960px) { .sp-trust__grid { grid-template-columns: 1fr; } .sp-kyoka { max-width: 640px; } }
@media (max-width: 520px) { .sp-kyoka table { font-size: 12px; } .sp-kyoka th, .sp-kyoka td { padding: 7px 6px; } .sp-kyoka__list td:last-child, .sp-kyoka__list td:first-child { white-space: normal; } .sp-kyoka figcaption { letter-spacing: .3em; text-indent: .3em; } }

/* 細部 */
.sp-sts, .sp-jobs { row-gap: 28px; }
.sp-st { border: 1px solid var(--line); }
.sp-sec--soft .sp-st { border-color: transparent; }
.sp-nums b { font-weight: 500; }
.sp-hero h1 { letter-spacing: .1em; }
.sp-msg__b h2 { line-height: 1.6; }
.sp-table th { font-weight: 600; }
.sp-table td a { color: var(--accent); }
.sp--c .sp-table td a { color: var(--main); }
.sp-sts { align-items: stretch; }

/* 中央そろえの見出し（textfill.css は見出しを左寄せに戻すため、見出しにも指定） */
.sp .sp-sh > * { text-align: center; }
.sp .sp-more { text-align: center; }
.sp--b .sp-hero__k { color: #e9cfa8; }

/* ブログ（2026-11-01 追加：会社の雰囲気・社長の人柄・社員の様子を発信） */
.sp-blogs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sp-blog { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; background: var(--bg); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.sp-blog[hidden] { display: none; }
.sp-blog__img { aspect-ratio: 3 / 2; }
.sp-blog__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-blog__b { padding: 20px 22px 24px; }
.sp-blog h3 { font-size: 17px; line-height: 1.6; margin: 0 0 10px; }
.sp-blog__b > p:last-child { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink2); text-align: justify; }
.sp-work__meta time { font: 500 13px/1 var(--f-en); letter-spacing: .08em; }
.sp-bcats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.sp-bcats li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 26px 22px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); background: var(--bg); }
.sp--c .sp-bcats li { border-top-color: var(--main); }
.sp-bcat__en { margin: 0; font: 500 12px/1.2 var(--f-en); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.sp--c .sp-bcat__en { color: var(--ink2); }
.sp-bcats h3 { font-size: 18px; margin: 6px 0 12px; }
.sp-bcats li > p:last-child { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink2); text-align: justify; }
.sp-post { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg); }
.sp-post__img { aspect-ratio: 16 / 9; }
.sp-post__img picture, .sp-post__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-post__b { padding: clamp(24px, 4vw, 44px); }
.sp-post h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; margin: 6px 0 22px; }
.sp-post__b > p:not(.sp-work__meta) { text-align: justify; line-height: 2; }
.sp-post__by { text-align: right !important; font-weight: 700; margin-top: 24px; }
@media (max-width: 960px) { .sp-blogs { grid-template-columns: 1fr 1fr; gap: 18px; } .sp-bcats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sp-blogs, .sp-bcats { grid-template-columns: 1fr; } }
/* ブログのカード：写真・日付・題名・本文の段を横の並びでそろえる */
.sp-blog { grid-row: span 4; }
.sp-blog__b { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.sp-blog__b > .sp-work__meta { align-self: start; }

/* 2026-11-01 見本の帯から、そのままご相談（販売ページのフォームへ・見本を選んだ状態で） */
.sp-ribbon__go { display: inline-flex; align-items: center; gap: 14px; }
.sp-ribbon a.sp-ribbon__ct { padding: 3px 12px; background: #c4672a; color: #fff; text-decoration: none; border-radius: 2px; white-space: nowrap; }
.sp-ribbon a.sp-ribbon__ct:hover { background: #a65320; }

/* 2026-11-01 お客様の声（7ページ目）：施工実績の写真をそえたカード。2列で、段（写真・工事・見出し・本文・お名前）をそろえる */
.sp-cvs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.sp-cv { margin: 0; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sp-cv__img { aspect-ratio: 16 / 9; }
.sp-cv__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-cv__b { display: flex; flex-direction: column; padding: 24px 28px 26px; }
.sp-cv h3 { margin: 4px 0 14px; font-size: 18px; line-height: 1.6; }
.sp-cv blockquote { position: relative; flex: 1; margin: 0 0 18px; padding: 0 0 0 18px; border-left: 2px solid var(--accent); font-size: 15px; line-height: 1.95; color: var(--ink2); text-align: justify; }
.sp-cv figcaption { font-weight: 700; font-size: 14px; color: var(--ink); text-align: right; }
.sp-cv figcaption::before { content: "―― "; color: var(--ink3, #999); font-weight: 400; }
.sp-cv--noimg { grid-row: span 1; }
@media (max-width: 760px) { .sp-cvs { grid-template-columns: minmax(0, 1fr); gap: 22px; } .sp-cv__b { padding: 20px 20px 22px; } .sp-cv h3 { font-size: 17px; } }
