/*
Theme Name: Japantec Kanagawa
Theme URI: https://example.com
Author: CREW
Description: ジャパンテック神奈川 静的サイトを移行したWordPressテーマ。施工事例・技術解説・お客様の声はカスタム投稿タイプで管理できます。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: 個別提供
Text Domain: japantec
*/

/* ===========================================================
   ジャパンテック神奈川 — 静的サイト 共通スタイル
   素の HTML / CSS / JS 構成（React・JSX 不使用）
   =========================================================== */
:root {
  --primary: #c2551e;
  --primary-d: #2b2320;
  --accent: #d98a1c;
  --bg: #f7ecd9;
  --surface: #ffffff;
  --ink: #241d19;
  --soft: #7d6f66;
  --line: #ebe3dc;
  --head: 'Noto Sans JP', sans-serif;
  --radius: 14px;
  --shadow: 0 6px 18px -10px rgba(60,40,25,.28);
}
* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body { background: var(--bg); color: var(--ink); font-family: 'Noto Sans JP', sans-serif; font-weight: 500; line-height: 1.75; letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; margin: 0; line-height: 1.34; letter-spacing: -.01em; }
h1, .pagehead__title { font-weight: 900; }
strong, b { font-weight: 700; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
.pcbr { display: inline; }

/* ---- ボタン / 電話 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--head); font-weight: 800; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; font-size: 15px; transition: transform .12s ease, filter .12s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px -8px var(--primary); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--primary-d); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.tel { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1.1; color: var(--primary-d); }
.tel small { font-size: 11px; color: var(--soft); font-weight: 700; white-space: nowrap; }
.tel strong { font-family: var(--head); font-weight: 900; font-size: 23px; white-space: nowrap; }
.tel--ft strong { font-size: 26px; color: var(--primary); }

/* ---- ヘッダー ---- */
.site-header { position: static; background: var(--surface); box-shadow: 0 2px 0 var(--line); }
.topbar { background: var(--accent); color: var(--primary-d); font-size: 12.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar__area { opacity: .8; }
.header__main { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__img { height: 58px; width: auto; display: block; }
.footer .logo__img { height: 46px; }
.logo__mark { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--head); font-weight: 900; font-size: 24px; box-shadow: 0 6px 14px -6px var(--primary); }
.logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo__txt strong { font-family: var(--head); font-weight: 900; font-size: 19.5px; color: var(--primary-d); white-space: nowrap; }
.logo__txt small { font-size: 11px; color: var(--soft); font-weight: 700; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 14.5px; color: var(--ink); padding: 8px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: #f4f3f1; }
.nav a.is-active { color: var(--primary); }
.header__cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header__cta .btn--primary { white-space: nowrap; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--primary-d); font-size: 20px; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; margin-left: auto; }
.back-to-top { position: fixed; right: 26px; bottom: 26px; width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 28px; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; z-index: 60; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.06); }

/* ---- フッター ---- */
.site-footer { background: var(--primary-d); color: #f1efed; margin-top: 10px; }
.footer__in { display: flex; justify-content: space-between; gap: 30px; padding: 40px 0; flex-wrap: wrap; }
.footer .logo__txt strong { color: #fff; }
.footer__addr { font-size: 13px; line-height: 1.9; margin: 14px 0 8px; color: #e5e1de; }
.footer__note { font-size: 12px; line-height: 1.8; color: #c9c5c0; margin: 0; max-width: 460px; }
.footer__note a { color: #e8ded4; }
.footer__contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__contact .tel { color: #fff; }
.footer__contact .tel small { color: #c9c5c0; }
.footer__contact .tel strong { color: #e8ded4; }
.footer__copy { text-align: center; font-size: 11.5px; color: #a89d95; padding: 12px; border-top: 1px solid rgba(255,255,255,.12); }

/* ---- ページ見出し ---- */
.pagehead { background: linear-gradient(180deg, #fcfbfb, var(--bg)); border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.crumbs { font-size: 12.5px; color: var(--soft); margin: 0 0 14px; }
.crumbs a { color: var(--primary); text-decoration: none; }
.pagehead__title { font-size: 38px; color: var(--primary-d); position: relative; padding-left: 18px; }
.pagehead__title::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 6px; border-radius: 4px; background: var(--primary); }
.pagehead__lead { margin: 16px 0 0; color: #5e544d; line-height: 1.9; font-size: 15px; }

/* ---- プレースホルダー画像 ---- */
.ph { position: relative; width: 100%; height: 100%; min-height: 90px; display: grid; place-items: center; overflow: hidden; }
.ph__stripes { position: absolute; inset: 0; opacity: .5; }
.ph__c { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; padding: 8px; }
.ph__icon { font-size: 26px; opacity: .55; }
.ph__label { font-family: var(--head); font-weight: 700; font-size: 14px; }
.ph__sub { font-family: ui-monospace, monospace; font-size: 10.5px; opacity: .75; }

/* ---- 工事種別タグ ---- */
.wtag { display: inline-block; border: 1px solid; border-radius: 6px; padding: 3px 9px; font-size: 12px; font-weight: 700; font-family: var(--head); }
.wtag--sm { font-size: 11px; padding: 2px 7px; }

/* ---- 一覧（works） ---- */
.list { display: grid; grid-template-columns: 282px 1fr; gap: 34px; padding: 30px 0 60px; align-items: start; }
.filter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 96px; }
.filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.filter__title { font-size: 17px; color: var(--primary-d); }
.filter__clear { border: 0; background: none; color: var(--accent); font-size: 12.5px; cursor: pointer; font-weight: 700; }
.search-box { display: flex; align-items: center; gap: 8px; background: #fbfbfa; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 18px; }
.search-box input { border: 0; background: none; outline: none; width: 100%; font: inherit; font-size: 13.5px; color: var(--ink); }
.fgroup { margin-bottom: 18px; }
.fgroup__t { font-family: var(--head); font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: #5e544d; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; font-family: inherit; transition: all .12s ease; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.filter__count { font-size: 13px; color: var(--soft); border-top: 1px dashed var(--line); padding-top: 12px; }
.filter__count strong { color: var(--primary); font-size: 18px; font-family: var(--head); }

.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.toolbar__filter { display: none; }
.toolbar__count { margin: 0; color: #5e544d; font-size: 14px; }
.toolbar__count strong { font-family: var(--head); font-size: 22px; color: var(--primary-d); margin-right: 2px; }
.sort { margin-left: auto; font-size: 13px; color: var(--soft); display: flex; align-items: center; gap: 8px; }
.sort select { font: inherit; font-size: 13.5px; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid--rel { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease; color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(56,40,30,.45); }
.card__media { position: relative; aspect-ratio: 4 / 3; }
.card__ba { position: absolute; top: 10px; left: 10px; display: flex; border-radius: 6px; overflow: hidden; font-size: 10px; font-weight: 700; letter-spacing: .06em; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.card__ba span { padding: 3px 7px; color: #fff; }
.card__ba .b { background: rgba(49,39,31,.82); }
.card__ba .a { background: var(--primary); }
.card__area { position: absolute; bottom: 10px; left: 10px; background: rgba(255,255,255,.92); color: var(--primary-d); font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.card__title { font-size: 15px; color: var(--ink); line-height: 1.45; }
.card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 4px; }
.card__wall, .card__date { font-size: 12px; color: var(--soft); }
.card__date { font-family: var(--head); }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.pager__b { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 13px; cursor: pointer; color: var(--primary-d); font-weight: 700; }
.pager__b:disabled { opacity: .4; cursor: default; }
.pager__nums { display: flex; gap: 6px; }
.pager__n { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font: inherit; font-weight: 700; color: var(--ink); }
.pager__n.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty { text-align: center; padding: 60px 20px; color: var(--soft); display: flex; flex-direction: column; gap: 16px; align-items: center; }

/* ---- 絞り込みドロワー（モバイル） ---- */
.drawer { position: fixed; inset: 0; background: rgba(38,29,24,.45); z-index: 80; display: none; }
.drawer.is-open { display: flex; }
.drawer__panel { background: var(--bg); width: min(360px, 88%); height: 100%; margin-left: auto; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.drawer__close { align-self: flex-end; border: 0; background: none; font: inherit; font-weight: 700; color: var(--primary-d); cursor: pointer; }

/* ---- 詳細ページ ---- */
.detail { padding: 26px 0 60px; }
.dhead { margin: 8px 0 24px; }
.dhead__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.dhead__title { font-size: 30px; color: var(--primary-d); line-height: 1.35; }
.dhead__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--soft); font-size: 13.5px; }
.dhead__meta span { white-space: nowrap; }
.dgrid { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.dmain { min-width: 0; }

.ba__hint { font-size: 12.5px; color: var(--soft); margin: 0 0 10px; }
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; cursor: ew-resize; user-select: none; box-shadow: var(--shadow); background: #f1f0ee; touch-action: none; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer--before { clip-path: inset(0 50% 0 0); }
.ba__tag { position: absolute; top: 12px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; color: #fff; z-index: 3; font-family: var(--head); }
.ba__tag--after { right: 12px; background: var(--primary); }
.ba__tag--before { left: 12px; background: rgba(49,39,31,.85); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); z-index: 3; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.3); color: var(--primary); font-size: 12px; font-weight: 700; }

.dsection { margin-top: 32px; }
.dsection__t { font-size: 19px; color: var(--primary-d); padding-bottom: 8px; border-bottom: 2px solid var(--line); margin-bottom: 14px; }
.dsection__p { margin: 0; line-height: 1.95; color: #4f453e; font-size: 14.5px; }
.gal { margin-bottom: 18px; }
.gal__t { font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.gal__dot { width: 11px; height: 11px; border-radius: 50%; }
.gal__dot--before { background: #ab9e94; }
.gal__dot--mid { background: #c18d66; }
.gal__dot--after { background: var(--primary); }
.gal__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gal__row .ph { aspect-ratio: 4 / 3; border-radius: 10px; }

.voice { margin-top: 32px; background: #fcfbfb; border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: var(--radius); padding: 20px 22px; }
.voice__t { font-size: 16px; color: var(--primary-d); margin-bottom: 10px; }
.voice__q { margin: 0; font-size: 15px; line-height: 1.9; color: #4f453e; }
.voice__c { display: block; margin-top: 10px; font-size: 12.5px; color: var(--soft); }

.dside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.specbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.specbox__t { font-size: 16px; color: var(--primary-d); margin-bottom: 12px; }
.spec__row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); }
.spec__row:first-child { border-top: 0; }
.spec__k { font-size: 12.5px; color: var(--soft); font-weight: 700; }
.spec__v { margin: 0; font-size: 13.5px; color: var(--ink); line-height: 1.6; }
.cta { background: linear-gradient(160deg, #fbfaf9, #f2f0ed); border: 1px solid #e7e2dd; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.cta__lead { margin: 0; font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--primary-d); }
.cta__sub { margin: 0; font-size: 12.5px; color: #5e544d; line-height: 1.7; }
.related { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.related__t { font-size: 20px; color: var(--primary-d); margin-bottom: 18px; }
.detail__back { margin-top: 36px; }

/* ===========================================================
   トップページ
   =========================================================== */
.section { padding: 58px 0; }
.section--alt { background: linear-gradient(180deg, #fcfbfb, #fbfbfa); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shead { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.shead__eye { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--primary); margin-bottom: 8px; }
.shead__t { font-size: 30px; color: var(--primary-d); }
.shead__lead { margin: 14px 0 0; color: #5e544d; line-height: 1.9; font-size: 14.5px; }

.vs-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.vs-row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.vs-row__scan { width: 100%; border-radius: 8px; display: block; border: 1px solid var(--line); }
.vs-row__body { display: flex; flex-direction: column; gap: 12px; }
.vs-row__head { display: flex; align-items: center; gap: 12px; }
.vs-row__name { font-family: var(--head); font-weight: 800; font-size: 16px; color: var(--primary-d); }
.vs-row__quote { margin: 0; font-size: 16px; line-height: 1.95; color: var(--ink); }

.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 44px; }
.contact-way { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s; }
a.contact-way:hover { transform: translateY(-3px); }
.contact-way__icon { font-size: 26px; }
.contact-way__t { font-family: var(--head); font-weight: 700; font-size: 13.5px; color: var(--soft); }
.contact-way__v { font-family: var(--head); font-weight: 900; font-size: 22px; color: var(--primary); }
.contact-way__s { font-size: 12.5px; color: var(--soft); }
@media (max-width: 760px) { .contact-ways { grid-template-columns: 1fr; } }

.cform { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.cform__row { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: start; }
.cform__row label { font-family: var(--head); font-weight: 700; font-size: 14.5px; color: var(--primary-d); display: flex; align-items: center; gap: 8px; padding-top: 10px; }
.cform__req { background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.cform__field { display: flex; flex-direction: column; gap: 8px; }
.cform__field--split { flex-direction: row; gap: 10px; }
.cform .wpcf7-form-control-wrap { flex: 1; display: block; }
.cform .wpcf7-not-valid-tip { font-size: 12px; margin-top: 4px; }
.cform .wpcf7-response-output { border-radius: 8px; margin-top: 18px; }
.cform__radios .wpcf7-list-item { margin: 0; }
.cform__radios .wpcf7-list-item-label { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.cform__radios .wpcf7-form-control { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.cform input:not([type="radio"]):not([type="checkbox"]), .cform textarea { font: inherit; font-size: 14px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; }
.cform input[type="radio"] { width: auto; flex-shrink: 0; }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cform__radios { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 10px; }
.cform__radio { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.cform__submit { text-align: center; padding-top: 10px; }
@media (max-width: 640px) { .cform__row { grid-template-columns: 1fr; } .cform__row label { padding-top: 0; } .cform__field--split { flex-direction: column; } }

.hero { background: linear-gradient(155deg, #fcfbfa 0%, #f2f0ed 60%, #ebe6e2 100%); border-bottom: 1px solid var(--line); }
.hero2 { background: url('assets/img/bg-texture.png') top center repeat; background-size: 1416px auto; }
.hero2__top { display: flex; align-items: center; gap: 28px; padding: 16px 0; flex-wrap: wrap; }
.hero2__staff img { height: 88px; width: auto; border-radius: 8px; display: block; }
.hero2__tel { margin-left: auto; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hero2__tel-icon { font-size: 28px; }
.hero2__tel small { display: block; font-size: 11px; color: var(--soft); font-weight: 700; }
.hero2__tel strong { font-family: var(--head); font-weight: 900; font-size: 28px; color: #d62828; letter-spacing: .5px; }
.hero2__shot img { width: 100%; max-height: 320px; object-fit: cover; display: block; border-radius: 6px; }
.hero2__shot { padding-bottom: 18px; }

/* ---- トップページ：旧サイト準拠ヘッダー ---- */
.jt-header { background: url('assets/img/bg-texture.png') top center repeat; background-size: 1416px auto; padding: 16px 0; }
.jt-top { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.jt-logo { display: block; flex-shrink: 0; }
.jt-logo img { height: 148px; width: auto; display: block; border-radius: 4px; }
.jt-staff { height: 172px; width: auto; display: block; border-radius: 4px; flex-shrink: 0; }
.jt-contact { margin-left: 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.jt-tel { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.jt-tel-icon { font-size: 26px; }
.jt-tel-num { font-family: var(--head); font-weight: 900; font-size: 34px; color: #e0392e; letter-spacing: .5px; }
.jt-search { background: #fff; border-radius: 8px; padding: 10px 14px; box-shadow: var(--shadow); }
.jt-search-label { display: block; font-weight: 700; color: #333; font-size: 12px; margin-bottom: 6px; }
.jt-search-box { display: flex; gap: 6px; }
.jt-search-box input { border: 1px solid var(--line); border-radius: 4px; padding: 5px 8px; font: inherit; font-size: 11.5px; width: 190px; }
.jt-search-box button { border: 0; background: #333; color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 4px; cursor: pointer; }
.hero3-band { background: url('assets/img/bg-texture.png') top center repeat; background-size: 1416px auto; padding: 20px 0; }
.hero3-band--slim { padding: 16px 0; }
.hero3 { }
.hero3 img { width: 100%; display: block; border-radius: 4px; }
.navbar2 { background: #5a3d28; }
.navbar2 .container { display: flex; }
.navbar2 a { flex: 1; text-align: center; color: #fff; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 15px; padding: 16px 8px; border-right: 1px solid rgba(255,255,255,.14); }
.navbar2 a:last-child { border-right: 0; }
.navbar2 a:hover, .navbar2 a.is-active { background: rgba(0,0,0,.18); }
@media (max-width: 900px) { .jt-staff { display: none; } .jt-tel-num { font-size: 26px; } }
@media (max-width: 700px) { .jt-search { display: none; } .navbar2 a { font-size: 12.5px; padding: 12px 4px; } }
@media (max-width: 560px) { .jt-top { justify-content: center; } .jt-contact { margin-left: 0; width: 100%; align-items: center; } .navbar2 .container { flex-wrap: wrap; } .navbar2 a { flex: 1 1 33%; } }
@media (max-width: 760px) { .hero2__top { justify-content: center; } .hero2__tel { margin-left: 0; } }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; padding: 52px 0 58px; }
.hero__eye { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.7); border: 1px solid #e7e2dd; color: var(--primary-d); font-family: var(--head); font-weight: 700; font-size: 12.5px; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(28px, 3.4vw, 46px); color: var(--primary-d); line-height: 1.34; margin: 16px 0 0; }
.hero h1 .accent { color: var(--primary); }
.hero__lead { margin: 18px 0 0; color: #4f453e; line-height: 2; font-size: 15px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.badge { background: rgba(255,255,255,.85); border: 1px solid #e7e2dd; border-radius: 12px; padding: 9px 14px; display: flex; flex-direction: column; line-height: 1.2; }
.badge b { font-family: var(--head); font-size: 20px; color: var(--primary); }
.badge span { font-size: 11px; color: #6c625b; font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 28px 0 0; }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 24px 50px -20px rgba(56,40,30,.5); }

.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.s-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); position: relative; }
.s-card__no { position: absolute; top: -16px; left: 22px; width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; font-family: var(--head); font-weight: 900; font-size: 18px; display: grid; place-items: center; box-shadow: 0 8px 16px -6px var(--primary); }
.s-card__t { font-size: 18px; color: var(--primary-d); margin: 14px 0 10px; }
.s-card__p { margin: 0; font-size: 13.5px; line-height: 1.9; color: #5e544d; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .14s ease; }
.svc:hover { transform: translateY(-3px); }
.svc__media { aspect-ratio: 4 / 3; position: relative; }
.svc__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc__t { font-size: 16px; color: var(--primary-d); }
.svc__p { margin: 0; font-size: 12.5px; line-height: 1.8; color: #5e544d; flex: 1; }
.svc__more { font-family: var(--head); font-weight: 700; font-size: 12.5px; color: var(--primary); }

.works-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.works-head .shead { text-align: left; margin: 0; }
.archive-band { display: flex; align-items: center; gap: 18px; justify-content: center; flex-wrap: wrap; background: #f5f3f1; border: 1px dashed #cdc4bb; border-radius: var(--radius); padding: 18px 22px; margin-top: 28px; }
.archive-band__txt { font-size: 13px; color: #5e544d; line-height: 1.7; }
.archive-band__txt b { color: var(--primary-d); font-family: var(--head); }

.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice-scans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.voice-scans img { width: 100%; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 980px) { .voice-scans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .voice-scans { grid-template-columns: repeat(2, 1fr); } }
.voice-lead { max-width: 900px; margin: 0 auto 34px; }
.voice-lead img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.v-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.v-card__mark { font-family: Georgia, serif; font-size: 40px; line-height: .6; color: var(--primary); opacity: .55; }
.v-card__q { margin: 0; font-size: 13.5px; line-height: 1.95; color: #4f453e; flex: 1; }
.v-card__c { font-size: 12px; color: var(--soft); font-weight: 700; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; position: relative; }
.flow-step__no { width: 38px; height: 38px; margin: 0 auto 12px; border-radius: 50%; background: #f4f3f1; color: var(--primary); font-family: var(--head); font-weight: 900; display: grid; place-items: center; font-size: 16px; }
.flow-step__t { font-size: 14.5px; color: var(--primary-d); margin: 0 0 6px; }
.flow-step__p { margin: 0; font-size: 11.5px; line-height: 1.7; color: #6c625b; }
.flow-step:not(:last-child)::after { content: "›"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 22px; font-weight: 700; }

.area-in { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.area-map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); width: 100%; object-fit: contain; background: #fff; }
.area-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.area-chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--primary-d); }
.area-note { margin: 16px 0 0; font-size: 13px; color: #5e544d; line-height: 1.9; }

.company-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.company-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.comptable { width: 100%; border-collapse: collapse; }
.comptable th, .comptable td { text-align: left; padding: 14px 4px; border-bottom: 1px dashed var(--line); font-size: 13.5px; vertical-align: top; }
.comptable th { width: 130px; color: var(--soft); font-weight: 700; font-family: var(--head); }
.comptable td { color: var(--ink); line-height: 1.7; }

.band { background: var(--primary-d); color: #f5f3f1; text-align: center; padding: 48px 24px; }
.band__t { font-size: 26px; color: #fff; margin: 0 0 10px; }
.band__p { margin: 0 0 22px; font-size: 14px; color: #e1ddd9; line-height: 1.9; }
.band__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.band .tel { color: #fff; }
.band .tel small { color: #d4cec9; }
.band .tel strong { color: #e8ded4; }

/* ---- 工事解説ページ ---- */
.svc-top { display: grid; grid-template-columns: 1fr .82fr; gap: 36px; align-items: center; margin-bottom: 8px; }
.svc-intro p { margin: 0 0 18px; font-size: 15px; line-height: 2; color: #4f453e; }
.svc-hero { width: 100%; aspect-ratio: 4 / 3; max-height: 340px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); object-fit: cover; display: block; }
.sym-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sym { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; border-left: 4px solid var(--primary); }
.sym__t { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--primary-d); margin-bottom: 6px; }
.sym__t::before { content: "✓ "; color: var(--primary); }
.sym__p { margin: 0; font-size: 12.5px; line-height: 1.8; color: #5e544d; }
@media (max-width: 980px) {
  .svc-top { grid-template-columns: 1fr; gap: 22px; }
  .sym-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sym-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   技術解説（技術記事）— 泥臭く・熱量のあるトーン
   =========================================================== */
/* 一覧カード */
.reports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rep-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease; }
.rep-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(56,40,30,.45); }
.rep-card__media { position: relative; aspect-ratio: 16 / 10; }
.rep-card__cat { position: absolute; top: 12px; left: 12px; background: var(--primary-d); color: #fff; font-family: var(--head); font-weight: 700; font-size: 11.5px; padding: 4px 11px; border-radius: 999px; }
.rep-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.rep-card__kicker { font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: .12em; color: var(--primary); }
.rep-card__title { font-size: 17px; color: var(--primary-d); line-height: 1.45; }
.rep-card__ex { margin: 0; font-size: 12.5px; line-height: 1.85; color: #5e544d; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rep-card__more { font-family: var(--head); font-weight: 700; font-size: 12.5px; color: var(--primary); }

/* 技術解説：トップページ特集カード（存在感ある見せ方） */
.section--reports { background: linear-gradient(180deg, #f1efec, #edecea); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--reports .shead__lead { color: #4f453e; }
.reports-list { display: flex; flex-direction: column; gap: 18px; }
.rep-feat { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 10px 30px -16px rgba(56,40,30,.5); transition: transform .16s ease, box-shadow .16s ease; }
.rep-feat:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(56,40,30,.55); }
.rep-feat__media { position: relative; aspect-ratio: 4 / 3; }
.rep-feat__cat { position: absolute; top: 14px; left: 14px; background: var(--primary-d); color: #fff; font-family: var(--head); font-weight: 700; font-size: 12.5px; padding: 6px 14px; border-radius: 999px; }
.rep-feat__num { position: absolute; right: 14px; bottom: 8px; font-family: var(--head); font-weight: 900; font-size: 60px; line-height: 1; color: rgba(255,255,255,.65); text-shadow: 0 2px 8px rgba(56,40,30,.35); }
.rep-feat__body { padding: 26px 30px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.rep-feat__kicker { font-family: var(--head); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; color: var(--primary); }
.rep-feat__title { font-size: 23px; color: var(--primary-d); line-height: 1.4; }
.rep-feat__sub { margin: 0; font-size: 14px; line-height: 1.8; color: #5e544d; }
.rep-feat__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.rep-feat__chip { font-size: 11.5px; font-weight: 700; font-family: var(--head); color: var(--primary-d); background: #f5f3f1; border: 1px solid #e7e2dd; border-radius: 999px; padding: 4px 11px; }
.rep-feat__more { margin-top: 4px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 14px; color: #fff; background: var(--primary); padding: 9px 20px; border-radius: 999px; box-shadow: 0 8px 18px -8px var(--primary); transition: transform .12s ease; }
.rep-feat:hover .rep-feat__more { transform: translateX(3px); }
@media (max-width: 720px) {
  .rep-feat { grid-template-columns: 1fr; }
  .rep-feat__media { aspect-ratio: 16 / 9; }
  .rep-feat__num { font-size: 48px; }
  .rep-feat__body { padding: 20px; }
  .rep-feat__title { font-size: 19px; }
}

/* 記事ヒーロー */
.rep-hero { background: linear-gradient(160deg, #251f1b 0%, #3a2e26 70%, #49382d 100%); color: #f4f3f1; padding: 30px 0 42px; position: relative; overflow: hidden; }
.rep-hero::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(181,121,75,.18); }
.rep-hero .crumbs { color: #c9c5c0; position: relative; z-index: 1; }
.rep-hero .crumbs a { color: #e8ded4; }
.rep-hero__cat { display: inline-block; background: var(--primary); color: #fff; font-family: var(--head); font-weight: 700; font-size: 12.5px; padding: 6px 15px; border-radius: 999px; margin-bottom: 16px; position: relative; z-index: 1; }
.rep-hero__title { font-size: clamp(26px, 3.6vw, 40px); color: #fff; line-height: 1.4; max-width: 880px; position: relative; z-index: 1; }
.rep-hero__sub { margin: 14px 0 0; font-size: 16px; color: #ebe7e2; font-family: var(--head); font-weight: 700; position: relative; z-index: 1; }
.rep-hero__by { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; color: #d7d3ce; position: relative; z-index: 1; }
.rep-hero__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 900; font-size: 17px; flex: 0 0 auto; }

/* 目次 */
.rep-toc { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 8px; box-shadow: var(--shadow); }
.rep-toc__t { margin: 0 0 12px; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--primary-d); }
.rep-toc__list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.rep-toc__list li { font-size: 14.5px; }
.rep-toc__list a { color: var(--primary); text-decoration: none; font-weight: 500; }
.rep-toc__list a:hover { text-decoration: underline; }

/* 章 */
.rep-sec { padding-top: 18px; scroll-margin-top: 20px; }
.rep-sec + .rep-sec { margin-top: 46px; border-top: 2px dashed var(--line); }
.rep-sec__h { display: flex; align-items: center; gap: 12px; font-size: 26px; color: #fff; background: var(--primary-d); padding: 16px 20px; border-radius: var(--radius); margin: 26px 0 24px; line-height: 1.4; }
.rep-sec__no { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px; background: var(--primary); display: grid; place-items: center; font-size: 17px; font-weight: 900; }

/* 記事本文 */
.rep-body { max-width: 860px; padding-top: 40px; padding-bottom: 30px; }
.rep-lead { font-size: 17px; line-height: 2.1; color: var(--primary-d); font-weight: 500; margin: 0 0 14px; padding-left: 18px; border-left: 5px solid var(--primary); }
.rep-h { margin: 44px 0 18px; }
.rep-h h2 { font-size: 25px; color: var(--primary-d); line-height: 1.4; position: relative; padding-bottom: 12px; }
.rep-h h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 4px; border-radius: 3px; background: var(--primary); }
.rep-h__sub { margin: 12px 0 0; font-size: 14px; color: var(--soft); font-weight: 700; font-family: var(--head); }
.rep-p { font-size: 15px; line-height: 2.05; color: #403630; margin: 0 0 16px; }

.rep-quote { margin: 26px 0; padding: 0 0 0 24px; border-left: 4px solid var(--primary); font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.7; color: var(--primary); }

.rep-honne { margin: 28px 0; background: linear-gradient(160deg, #fcfbfa, #f6f4f1); border: 1px solid #e2dcd5; border-radius: var(--radius); padding: 22px 24px 24px; position: relative; box-shadow: var(--shadow); }
.rep-honne__tag { display: inline-block; background: var(--accent); color: #fff; font-family: var(--head); font-weight: 700; font-size: 12px; padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; }
.rep-honne p { margin: 0; font-size: 15px; line-height: 2; color: #3d3129; }

.rep-note { margin: 24px 0; display: flex; gap: 14px; align-items: flex-start; background: #fbfbfa; border-radius: var(--radius); padding: 18px 20px; border: 1px dashed #cdc4bb; }
.rep-note__ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 900; font-size: 15px; }
.rep-note p { margin: 0; font-size: 14px; line-height: 1.9; color: #4f453e; }

/* 写真 */
.rep-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.rep-photo--single { margin: 24px 0; }
.rep-prow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.rep-prow .rep-photo { aspect-ratio: 4 / 3; margin: 0; }

/* 症状グリッド */
.rep-sym-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 6px 0 8px; }
.rep-sym { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 12px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.rep-sym__no { font-family: var(--head); font-weight: 900; font-size: 22px; color: var(--primary); flex: 0 0 auto; line-height: 1.1; }
.rep-sym h4 { font-size: 15px; color: var(--primary-d); margin: 0 0 5px; }
.rep-sym p { margin: 0; font-size: 12.5px; line-height: 1.8; color: #5e544d; }

/* 理由 */
.rep-reasons { display: flex; flex-direction: column; gap: 14px; margin: 8px 0; }
.rep-reason { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.rep-reason__no { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; font-family: var(--head); font-weight: 900; font-size: 20px; display: grid; place-items: center; box-shadow: 0 8px 16px -6px var(--primary); }
.rep-reason h4 { font-size: 17px; color: var(--primary-d); margin: 4px 0 8px; }
.rep-reason p { margin: 0; font-size: 14px; line-height: 1.9; color: #4f453e; }

/* 工程ステップ */
.rep-steps { display: flex; flex-direction: column; gap: 16px; margin: 10px 0; }
.rep-step { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.rep-step__media { position: relative; aspect-ratio: 4 / 3; height: 100%; }
.rep-step__no { position: absolute; top: 10px; left: 10px; width: 38px; height: 38px; border-radius: 10px; background: rgba(44,33,24,.85); color: #fff; font-family: var(--head); font-weight: 900; display: grid; place-items: center; font-size: 16px; }
.rep-step__txt { padding: 18px 22px 18px 0; }
.rep-step__txt h4 { font-size: 17px; color: var(--primary-d); margin: 0 0 8px; }
.rep-step__txt p { margin: 0; font-size: 13.5px; line-height: 1.9; color: #4f453e; }

/* 価格 */
.rep-prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 10px 0; }
.rep-price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.rep-price__tag { display: inline-block; white-space: nowrap; background: #f4f3f1; color: var(--primary-d); font-family: var(--head); font-weight: 700; font-size: 11.5px; padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; }
.rep-price h4 { font-size: 17px; color: var(--primary-d); margin: 0 0 8px; }
.rep-price__num { margin: 0 0 10px; color: var(--accent); font-family: var(--head); line-height: 1; }
.rep-price__num strong { font-size: 34px; }
.rep-price__feat { margin: 0; font-size: 12.5px; line-height: 1.8; color: #5e544d; }
.rep-price__note { font-size: 12px; color: var(--soft); margin: 14px 0 0; line-height: 1.7; }

/* スペック表 */
.rep-spec { margin: 30px 0 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px; box-shadow: var(--shadow); }
.rep-spec__row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.rep-spec__row:last-child { border-bottom: 0; }
.rep-spec dt { font-size: 13px; color: var(--soft); font-weight: 700; font-family: var(--head); }
.rep-spec dd { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.7; }

/* 記事末CTA */
.rep-cta { background: linear-gradient(160deg, #3a2e26, #251f1b); color: #f5f3f1; padding: 44px 0; margin: 30px 0 50px; text-align: center; }
.rep-cta h2 { font-size: clamp(20px, 2.4vw, 27px); color: #fff; margin: 0 0 12px; line-height: 1.5; }
.rep-cta p { margin: 0 0 22px; font-size: 14px; color: #e1ddd9; line-height: 1.9; }

@media (max-width: 720px) {
  .reports { grid-template-columns: 1fr; }
  .rep-sym-grid { grid-template-columns: 1fr; }
  .rep-prices { grid-template-columns: 1fr; }
  .rep-prow { grid-template-columns: 1fr; }
  .rep-step { grid-template-columns: 1fr; }
  .rep-step__media { aspect-ratio: 16 / 9; }
  .rep-step__txt { padding: 0 20px 20px; }
  .rep-step__no { top: 10px; left: 10px; }
}

/* ===========================================================
   レスポンシブ
   =========================================================== */
@media (max-width: 980px) {
  .list { grid-template-columns: 1fr; }
  .list__side { display: none; }
  .toolbar__filter { display: inline-flex; background: var(--primary); color: #fff; border: 0; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; font-family: var(--head); cursor: pointer; }
  .dgrid { grid-template-columns: 1fr; }
  .dside { position: static; }
  .hero__in { grid-template-columns: 1fr; gap: 30px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:not(:last-child)::after { display: none; }
  .area-in, .company-in { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .grid, .grid--rel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .header__cta .tel { display: none; }
  .logo__txt small { display: none; }
  .nav a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; gap: 0; padding: 8px; box-shadow: 0 12px 24px -10px rgba(56,40,30,.4); border-top: 1px solid var(--line); margin: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; border-radius: 8px; }
  .nav-toggle { display: block; }
  .header__main { position: relative; gap: 12px; }
  .header__cta { display: none; }
  .topbar__area { display: none; }
  .strengths { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 44px 0; }
  .works-head { flex-direction: column; align-items: flex-start; }
  .shead__t, .band__t { font-size: 24px; }
  .pagehead__title { font-size: 28px; }
  .pcbr { display: none; }
}
@media (max-width: 480px) {
  .grid, .grid--rel { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .logo__txt small { display: none; }
  .dhead__title { font-size: 22px; }
}

/* 2026-08 リフレッシュ：文字を太く、寒色寄りの落ち着いた緑に */
.wtag { font-weight: 800; }
.chip { font-weight: 600; }
.chip.is-on { font-weight: 800; }
.pagehead__lead { font-weight: 500; }
.btn--primary { box-shadow: 0 8px 18px -10px rgba(98,68,47,.75); }
.logo__mark { box-shadow: 0 6px 14px -7px rgba(98,68,47,.8); }

/* .container と同居する要素の左右パディングを保証 */
.container{padding-left:32px;padding-right:32px}
@media (max-width:600px){.container{padding-left:16px;padding-right:16px}}

a.svc,a.s-card,a.area-chip,a.card,a.rcard,a.wcard{text-decoration:none}

/* 白ベース＋暖色アクセント */
body{background:#fff}
.section--alt{background:#fdf9f5}
.pagehead{background:#fdf9f5}
.hero{background:linear-gradient(150deg,#fffdfb 0%,#fdf4ec 100%)}
.card,.svc,.s-card,.flow-step,.v-card,.filter{background:#fff}
.search-box{background:#fbf6f1}
.band{background:var(--primary-d)}

/* 技術解説一覧：旧サイト風のテキストリスト＋サイドメニュー */
.tech-list{display:grid;grid-template-columns:250px 1fr;gap:34px;align-items:start;padding:28px 24px 60px}
.tech-side__box{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:16px;background:#fff}
.tech-side__t{font-size:13.5px;color:#fff;background:#7a3a16;padding:9px 11px;font-weight:800;line-height:1.4}
.tech-side__box--2 .tech-side__t{background:#c2551e}
.tech-side__box--3 .tech-side__t{background:#8a5a2a}
.tech-side ul{list-style:none;margin:0;padding:0}
.tech-side li a{display:block;padding:8px 11px;font-size:12.5px;line-height:1.5;color:var(--ink);text-decoration:none;border-bottom:1px dotted var(--line);font-weight:500}
.tech-side li:last-child a{border-bottom:0}
.tech-side li a:hover{background:#fdf6ee;color:var(--primary)}
.tech-group{margin-bottom:34px}
.tech-group__t{font-size:17px;font-weight:800;color:var(--primary-d);padding:0 0 8px;border-bottom:2px solid var(--primary);margin-bottom:4px}
.tech-links{list-style:none;margin:0;padding:0}
.tech-links li{border-bottom:1px dotted var(--line)}
.tech-links a{display:block;padding:12px 4px 12px 20px;position:relative;font-size:14.5px;line-height:1.65;color:var(--ink);text-decoration:none;font-weight:600}
.tech-links a::before{content:"◆";position:absolute;left:0;top:12px;font-size:11px;color:var(--accent)}
.tech-links a:hover{color:var(--primary);background:#fdf9f5}
@media (max-width:860px){.tech-list{grid-template-columns:1fr;gap:20px}.tech-side{order:2}}

/* トップページ：旧サイト同様の左サイドバー */
.home-layout{max-width:1360px;margin:0 auto;padding:0 32px;display:grid;grid-template-columns:270px 1fr;gap:40px;align-items:start}
.home-main{min-width:0}
.home-main .section{padding:44px 0}
.home-main .container{padding:0;max-width:none}
.home-main .section--alt{background:none;border:0}
.home-main .section--alt>.container{background:#fdf9f5;border:1px solid var(--line);border-radius:var(--radius);padding:32px}
.home-main .shead{text-align:left;margin-left:0}
.home-side{position:sticky;top:96px;padding-top:34px}
.home-side__box{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:14px;background:#fff}
.home-side__t{font-size:13px;color:#fff;background:#7a3a16;padding:9px 11px;font-weight:800;line-height:1.4}
.home-side__box--2 .home-side__t{background:#c2551e}
.home-side__box--3 .home-side__t{background:#8a5a2a}
.home-side ul{list-style:none;margin:0;padding:0}
.home-side li a{display:block;padding:8px 11px;font-size:12.5px;line-height:1.5;color:var(--ink);text-decoration:none;border-bottom:1px dotted var(--line);font-weight:500}
.home-side li:last-child a{border-bottom:0}
.home-side li a:hover{background:#fdf6ee;color:var(--primary)}
.home-side__all{display:block;text-align:center;border:1px solid var(--primary);color:var(--primary);border-radius:999px;padding:9px;font-size:12.5px;font-weight:800;text-decoration:none;margin-bottom:14px}
.home-side__all:hover{background:var(--primary);color:#fff}
.home-side__tel{border:2px solid var(--accent);border-radius:8px;background:#fdf6ee;padding:11px;text-align:center}
.home-side__tel small{display:block;font-size:11px;color:var(--soft);font-weight:700}
.home-side__tel a{display:block;font-size:22px;font-weight:900;color:var(--primary);text-decoration:none;line-height:1.3}
.home-side__tel span{display:block;font-size:10.5px;color:var(--soft)}
@media (max-width:960px){.home-layout{grid-template-columns:1fr;gap:8px;padding:0 16px}.home-side{position:static;order:2;padding-top:0}.home-main .section{padding:32px 0}}

/* 実写真の差し替え（旧div写真枠のスタイルをimgに適用） */
.hero__photo{width:100%;border-radius:var(--radius);box-shadow:var(--shadow);object-fit:cover;aspect-ratio:4/3}
.svc__media{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.company-media{width:100%;border-radius:var(--radius);object-fit:cover;aspect-ratio:4/3}

/* 技術解説記事：本文に旧サイトのようなコンテナ余白がなかった不具合を修正 */
.home-main.article{padding:34px 24px 60px;max-width:900px}
@media (max-width:960px){.home-main.article{padding:24px 16px 46px;max-width:none}}
.tech-main{padding-top:6px}
