/* =========================================================
   株式会社板井建築 テーマ itai2026
   基調：白・黒・チャコールグレー / アクセント：1色（作業着の刺繍色に由来するバーントオレンジ）
   ========================================================= */

:root {
  --ink: #111214;
  --charcoal: #26292e;
  --graphite: #3a3e45;
  --mid: #6b7079;
  --soft: #9a9ea5;
  --line: #e2e2df;
  --mist: #f3f3f1;
  --white: #ffffff;
  --accent: #c44d1f;        /* 白文字とのコントラスト 4.6:1 */
  --accent-ink: #a53f16;

  --font-ja: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 76px;
  --bar-h: 0px;
  --sec: clamp(72px, 10vw, 136px);
}

@media (max-width: 899px) {
  :root { --header-h: 60px; --bar-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-ja); margin: 0; line-height: 1.35; letter-spacing: .03em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.sec--mist { background: var(--mist); }
.sec--dark { background: var(--ink); color: var(--white); }
.sec--tight { padding: calc(var(--sec) * .6) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 見出し ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sec--dark .eyebrow { color: #e3764b; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--row { grid-template-columns: 1fr auto; align-items: end; }
.sec-title { font-size: clamp(28px, 4.2vw, 48px); font-weight: 700; }
.sec-lead { color: var(--mid); max-width: 40em; margin: 0; }
.sec--dark .sec-lead { color: #b9bcc2; }
@media (max-width: 699px) { .sec-head--row { grid-template-columns: 1fr; } }

/* ---------- ボタン ---------- */
.btn {
  --bh: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 28px; border-radius: var(--radius);
  font-family: var(--font-ja); font-weight: 700; font-size: 16px; letter-spacing: .06em;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sec--dark .btn--line:hover, .hero .btn--line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--sm { --bh: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn .tel-num { font-family: var(--font-en); font-weight: 700; font-size: 1.1em; letter-spacing: .04em; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-ja); font-weight: 700;
  border-bottom: 1.5px solid currentColor; padding-bottom: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { display: grid; line-height: 1.15; }
.logo__en { font-family: var(--font-en); font-size: 10px; font-weight: 600; letter-spacing: .24em; color: var(--mid); }
.logo__ja { font-family: var(--font-ja); font-size: 19px; font-weight: 900; letter-spacing: .08em; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.gnav a { font-family: var(--font-ja); font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-tel { display: grid; line-height: 1.2; text-align: right; }
.header-tel__num { font-family: var(--font-en); font-weight: 700; font-size: 21px; letter-spacing: .03em; display: inline-flex; align-items: center; gap: 6px; }
.header-tel__num svg { width: 16px; height: 16px; color: var(--accent); }
.header-tel__hours { font-size: 11px; color: var(--mid); letter-spacing: .04em; }
.menu-btn { display: none; }

.header-tel__num, .header-cta .btn, .gnav a { white-space: nowrap; }
@media (max-width: 1299px) { .gnav ul { gap: 18px; } .gnav a { font-size: 14px; } .header-tel__num { font-size: 19px; } }
/* 1200px 未満はメニューをドロワーにまとめ、電話番号・受付時間・お問い合わせは残す */
@media (max-width: 1199px) {
  .gnav { display: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 899px) {
  .header-cta .btn, .header-tel { display: none; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__ja { font-size: 16px; }
  .icon-tel {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  }
  .icon-tel svg { width: 18px; height: 18px; }
}
@media (max-width: 1199px) {
  .menu-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .nav-open .menu-btn span { background: transparent; }
  .nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
}
@media (min-width: 900px) { .icon-tel { display: none; } }

/* スマホ用ドロワー */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 45; background: var(--white);
  padding: 24px var(--gutter) calc(var(--bar-h) + 32px); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
}
.nav-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a.drawer__link {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-ja); font-weight: 700; font-size: 18px;
}
.drawer a.drawer__link small { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--soft); font-weight: 600; }
.drawer__cta { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 1200px) { .drawer { display: none; } }

/* ---------- スマホ下部固定バー（問い合わせ導線は site-config.js の channels から生成） ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--bar-h);
  display: none; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--ink); box-shadow: 0 -6px 24px rgba(0,0,0,.12);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--white); font-family: var(--font-ja); font-weight: 700; font-size: 15px; line-height: 1.2;
}
.mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.14); }
.mobile-bar a.is-accent { background: var(--accent); border-left: 0; }
.mobile-bar .mb-row { display: inline-flex; align-items: center; gap: 8px; }
.mobile-bar svg { width: 18px; height: 18px; }
.mobile-bar small { font-family: var(--font-en); font-weight: 600; font-size: 11px; letter-spacing: .06em; opacity: .75; }
@media (max-width: 899px) { .mobile-bar { display: grid; } }

/* ---------- AI 生成画像の表示ルール ---------- */
.ai-figure { position: relative; overflow: hidden; background: var(--mist); }
.ai-figure img { width: 100%; height: 100%; object-fit: cover; }
.ai-label {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  font-size: 11px; line-height: 1; letter-spacing: .06em; padding: 6px 9px; border-radius: 3px;
  background: rgba(17,18,20,.62); color: #f1f1f1; pointer-events: none;
}

/* ---------- ヒーロー ---------- */
.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,11,12,.82) 0%, rgba(10,11,12,.55) 45%, rgba(10,11,12,.12) 100%),
              linear-gradient(0deg, rgba(10,11,12,.55) 0%, rgba(10,11,12,0) 40%);
}
.hero__inner { position: relative; z-index: 1; min-height: clamp(600px, 88vh, 860px); display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 120px; }
.hero__company { font-family: var(--font-ja); font-weight: 700; font-size: 15px; letter-spacing: .2em; display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero__company::before { content: ""; width: 40px; height: 2px; background: var(--accent); }
.hero__title { font-size: clamp(40px, 6.6vw, 84px); font-weight: 900; line-height: 1.18; letter-spacing: .04em; }
.hero__title .thin { font-weight: 500; }
.hero__sub { margin: 28px 0 0; font-size: clamp(15px, 1.5vw, 18px); color: #d9dadd; max-width: 32em; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-ja); font-weight: 700; font-size: 14px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge svg { width: 14px; height: 14px; color: #e3764b; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__actions .btn { --bh: 62px; padding: 0 32px; }
.hero__actions .btn--line { color: var(--white); }
.hero .ai-label { right: var(--gutter); bottom: 20px; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 28px; z-index: 1; font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: #b9bcc2; display: flex; align-items: center; gap: 12px; }
.hero__scroll::after { content: ""; width: 60px; height: 1px; background: currentColor; }
@media (max-width: 699px) {
  .hero__inner { min-height: clamp(560px, 86svh, 740px); justify-content: flex-end; padding-bottom: 72px; }
  .hero__media::after { background: linear-gradient(0deg, rgba(10,11,12,.9) 0%, rgba(10,11,12,.55) 55%, rgba(10,11,12,.25) 100%); }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .hero .ai-label { top: 12px; bottom: auto; }
}

/* 強み帯 */
.points { background: var(--charcoal); color: var(--white); }
.points ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.points li { padding: 26px 22px; display: flex; gap: 14px; align-items: center; border-left: 1px solid rgba(255,255,255,.1); }
.points li:first-child { border-left: 0; padding-left: 0; }
.points .num { font-family: var(--font-en); font-weight: 700; color: #e3764b; font-size: 13px; letter-spacing: .1em; }
.points b { font-family: var(--font-ja); font-size: 16px; display: block; line-height: 1.4; }
.points span.sub { font-size: 12px; color: #aeb1b7; }
@media (max-width: 899px) {
  .points ul { grid-template-columns: 1fr 1fr; }
  .points li { padding: 18px 12px; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .points li:nth-child(-n+2) { border-top: 0; }
  .points li:first-child { padding-left: 12px; }
  .points b { font-size: 14px; }
}

/* ---------- カード ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 999px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.svc-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(17,18,20,.28); border-color: transparent; }
.svc-card .ai-figure { aspect-ratio: 4 / 3; }
.svc-card .ai-figure img { transition: transform .6s; }
.svc-card:hover .ai-figure img { transform: scale(1.04); }
.svc-card__body { padding: 24px 24px 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.svc-card__no { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.svc-card__title { font-size: 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.svc-card__title svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.svc-card:hover .svc-card__title svg { transform: translateX(4px); }
.svc-card__text { color: var(--mid); font-size: 14px; line-height: 1.8; margin: 0; }
.svc-more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 14px; color: var(--mid); }
.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--graphite); background: var(--white); white-space: nowrap;
}
button.chip { cursor: pointer; }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- 施工事例（実写専用。見本では空状態の枠のみ） ---------- */
.work-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.photo-slot {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(17,18,20,.035) 0 12px, transparent 12px 24px),
    var(--mist);
  color: var(--soft); font-size: 13px; line-height: 1.6; padding: 16px;
}
.photo-slot svg { width: 30px; height: 30px; margin: 0 auto 8px; opacity: .7; }
.photo-slot__tag { position: absolute; left: 12px; top: 12px; font-family: var(--font-en); font-size: 11px; letter-spacing: .14em; font-weight: 700; color: var(--white); background: var(--graphite); padding: 5px 9px; border-radius: 3px; }
.photo-slot__tag.is-after { background: var(--accent); }
.work-card__body { padding: 20px 22px 24px; display: grid; gap: 10px; }
.work-card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.work-card__meta .chip { min-height: 26px; font-size: 12px; padding: 0 10px; }
.work-card__title { font-size: 18px; font-weight: 700; color: var(--soft); }
.work-card__facts { display: flex; gap: 18px; font-size: 13px; color: var(--mid); }
.work-card__facts b { color: var(--soft); font-weight: 500; }

/* Before / After */
.ba { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.ba .photo-slot { aspect-ratio: 16 / 10; }
.ba .photo-slot + .photo-slot { border-left: 3px solid var(--white); }
@media (max-width: 599px) { .ba { grid-template-columns: 1fr; } .ba .photo-slot + .photo-slot { border-left: 0; border-top: 3px solid var(--white); } }

/* ---------- 特集（クロスメイク） ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature .ai-figure { aspect-ratio: 5 / 6; border-radius: var(--radius); }
.feature__title { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; margin: 18px 0 22px; }
.feature__title em { font-style: normal; color: var(--accent); }
.compare { width: 100%; border-collapse: collapse; margin: 28px 0 18px; font-size: 14px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--font-ja); font-size: 14px; border-bottom: 2px solid var(--ink); }
.compare thead th.hl { color: var(--accent); }
.compare tbody th { font-weight: 500; color: var(--mid); white-space: nowrap; width: 6.5em; }
.compare td.hl { font-weight: 700; }
.note { font-size: 13px; color: var(--mid); line-height: 1.8; }
@media (max-width: 899px) { .feature { grid-template-columns: 1fr; } .feature .ai-figure { aspect-ratio: 16 / 11; } }

/* ---------- 管理会社・オーナー向け ---------- */
.owner { position: relative; overflow: hidden; }
.owner__bg { position: absolute; inset: 0; opacity: .35; }
.owner__bg img { width: 100%; height: 100%; object-fit: cover; }
.owner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 30%, rgba(17,18,20,.6) 100%); }
.owner .wrap { position: relative; }
.owner__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.check-list { display: grid; gap: 0; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: var(--font-ja); font-weight: 500; font-size: 17px; }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: #e3764b; }
.sec:not(.sec--dark) .check-list li { border-bottom-color: var(--line); }
.sec:not(.sec--dark) .check-list svg { color: var(--accent); }
.flow { display: grid; gap: 12px; margin-top: 8px; counter-reset: flow; }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.flow li::before { content: counter(flow, decimal-leading-zero); font-family: var(--font-en); font-weight: 700; font-size: 28px; line-height: 1; color: #e3764b; }
.flow b { display: block; font-family: var(--font-ja); font-size: 17px; margin-bottom: 4px; }
.flow span { font-size: 14px; color: #b9bcc2; line-height: 1.7; }
.sec:not(.sec--dark) .flow li { background: var(--white); border-color: var(--line); }
.sec:not(.sec--dark) .flow li::before { color: var(--accent); }
.sec:not(.sec--dark) .flow span { color: var(--mid); }
@media (max-width: 899px) { .owner__grid { grid-template-columns: 1fr; } .owner__bg::after { background: rgba(17,18,20,.78); } }

/* ---------- 料金 ---------- */
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: var(--white); display: grid; gap: 10px; align-content: start; }
.price-card__name { font-size: 18px; font-weight: 700; }
.price-card__amount { font-family: var(--font-en); font-weight: 700; font-size: 34px; letter-spacing: .01em; line-height: 1.2; }
.price-card__amount small { font-family: var(--font-ja); font-size: 14px; font-weight: 500; color: var(--mid); margin-left: 4px; }
.price-card__note { font-size: 13px; color: var(--mid); margin: 0; }
.tentative {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--accent-ink); background: #fbeee8; border: 1px dashed #e0a58c; padding: 4px 10px; border-radius: 3px;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; font-family: var(--font-ja); font-weight: 700; font-size: 20px; padding: 0 0 14px; }
.price-table th, .price-table td { padding: 18px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table thead th { font-size: 13px; color: var(--mid); font-weight: 500; border-bottom: 2px solid var(--ink); }
.price-table td.amount { font-family: var(--font-en); font-weight: 700; font-size: 20px; white-space: nowrap; }
.price-table td.unit { color: var(--mid); font-size: 14px; white-space: nowrap; }
.price-table td.memo { color: var(--mid); font-size: 14px; }
@media (max-width: 699px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table td.amount { grid-row: span 2; align-self: center; text-align: right; }
  .price-table td.memo { grid-column: 1 / -1; }
}

/* ---------- 記事カード ---------- */
.post-card { display: grid; gap: 14px; }
.post-card .photo-slot { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--mid); }
.post-card__meta time { font-family: var(--font-en); letter-spacing: .06em; }
.cat { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 3px; background: var(--ink); color: var(--white); }
.cat--news { background: var(--white); color: var(--ink); border: 1px solid var(--ink); }
.post-card__title { font-size: 17px; font-weight: 700; color: var(--soft); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 110px 90px 1fr; gap: 16px; align-items: center; padding: 20px 0; }
.post-list time { font-family: var(--font-en); color: var(--mid); font-size: 14px; }
.post-list .t { color: var(--soft); font-weight: 500; }
@media (max-width: 599px) { .post-list a { grid-template-columns: auto 1fr; } .post-list .t { grid-column: 1 / -1; } }

/* ---------- 会社情報 ---------- */
.company { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { padding: 18px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 8.5em; color: var(--mid); font-weight: 500; white-space: nowrap; }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 2px solid var(--ink); }
.info-table .en { font-family: var(--font-en); font-weight: 600; letter-spacing: .03em; }
.message { border-left: 3px solid var(--accent); padding-left: 24px; }
.message p { color: var(--graphite); }
.message .sign { font-family: var(--font-ja); font-weight: 700; color: var(--ink); margin-top: 20px; }
@media (max-width: 899px) { .company { grid-template-columns: 1fr; } .info-table th { width: 6.5em; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.cta__bg { position: absolute; inset: 0; opacity: .55; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta .wrap { position: relative; }
.cta__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta__title { font-size: clamp(30px, 4.6vw, 54px); font-weight: 900; line-height: 1.25; }
.cta__lead { color: #c3c6cb; margin-top: 20px; }
.cta__box { display: grid; gap: 14px; }
.cta__tel { display: grid; gap: 4px; padding: 26px 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: background .2s; }
.cta__tel:hover { background: rgba(255,255,255,.12); }
.cta__tel small { font-size: 13px; color: #b9bcc2; }
.cta__tel .n { font-family: var(--font-en); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: .02em; line-height: 1.15; display: flex; align-items: center; gap: 12px; }
.cta__tel .n svg { width: 28px; height: 28px; color: #e3764b; }
.cta__box .btn { --bh: 68px; font-size: 17px; }
@media (max-width: 899px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- フッター ---------- */
.site-footer { background: #0b0c0d; color: #c9cbcf; padding: 72px 0 36px; font-size: 14px; }
.site-footer .logo__ja { color: var(--white); }
.site-footer .logo__en { color: #8a8e95; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-addr { margin-top: 20px; line-height: 2; }
.footer-addr .en { font-family: var(--font-en); letter-spacing: .03em; }
.footer-nav h4 { font-family: var(--font-en); font-size: 12px; letter-spacing: .22em; color: #8a8e95; margin-bottom: 14px; font-weight: 600; }
.footer-nav li { padding: 5px 0; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #8a8e95; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- 下層ページ ---------- */
.page-hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; opacity: .45; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,18,20,.9) 20%, rgba(17,18,20,.35) 100%); }
.page-hero .wrap { position: relative; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 900; margin-top: 16px; }
.page-hero p { color: #c3c6cb; margin: 18px 0 0; max-width: 38em; }
.page-hero .ai-label { right: var(--gutter); bottom: 14px; }
.crumbs { font-size: 12px; color: #9a9ea5; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.crumbs a:hover { color: var(--white); }

.anchor-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.anchor-nav ul { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }

.svc-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.svc-detail:nth-of-type(even) .ai-figure { order: 2; }
.svc-detail .ai-figure { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.svc-detail h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; margin: 12px 0 18px; }
.svc-detail .price-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; background: var(--mist); border-radius: var(--radius); margin-top: 22px; font-size: 14px; }
.svc-detail .price-line b { font-family: var(--font-en); font-size: 20px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 899px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail:nth-of-type(even) .ai-figure { order: 0; } }

.filter { display: grid; gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 36px; }
.filter__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.filter__label { font-size: 13px; font-weight: 700; color: var(--mid); width: 5em; flex: none; }
.filter__chips { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 599px) {
  .filter { padding: 16px; }
  .filter__row { flex-wrap: nowrap; align-items: flex-start; flex-direction: column; gap: 8px; }
  .filter__chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 16px); padding-bottom: 4px; scrollbar-width: none; }
}

.empty-state { text-align: center; padding: 36px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--mid); margin-bottom: 28px; }
.empty-state b { display: block; font-family: var(--font-ja); color: var(--ink); font-size: 18px; margin-bottom: 6px; }

.detail-spec { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { color: var(--mid); font-weight: 500; width: 7em; }
.spec-table td { color: var(--soft); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumbs .photo-slot { aspect-ratio: 1; font-size: 11px; padding: 4px; }
@media (max-width: 899px) { .detail-spec { grid-template-columns: 1fr; } }

/* フォーム */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; }
.contact-card--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.contact-card h3 { font-size: 18px; }
.contact-card .n { font-family: var(--font-en); font-weight: 700; font-size: 34px; letter-spacing: .02em; line-height: 1.2; }
.contact-card small { color: var(--soft); font-size: 13px; }
.form { display: grid; gap: 26px; }
.field { display: grid; gap: 10px; }
.field > label, .field > .legend { font-family: var(--font-ja); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.req, .opt { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; letter-spacing: .06em; }
.req { background: var(--accent); color: var(--white); }
.opt { background: var(--mist); color: var(--mid); }
.input, .textarea, .select {
  width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s;
}
.textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 15px; transition: all .2s; }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.upload { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--mid); font-size: 14px; }
.form-hint { font-size: 13px; color: var(--mid); margin: 0; }
.agree { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.agree input { width: 22px; height: 22px; accent-color: var(--ink); }
@media (max-width: 899px) { .contact-layout { grid-template-columns: 1fr; } .contact-side { position: static; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-ja); font-weight: 700; font-size: 17px; display: flex; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-en); color: var(--accent); font-weight: 700; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 24px 30px; color: var(--graphite); }

.tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.side-box h3 { font-size: 15px; margin-bottom: 12px; }
.side-box li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.side-box li:last-child { border-bottom: 0; }
@media (max-width: 999px) { .blog-layout { grid-template-columns: 1fr; } }

.map-slot { aspect-ratio: 16 / 9; border-radius: var(--radius); display: grid; place-items: center; background: var(--mist); color: var(--mid); font-size: 14px; text-align: center; padding: 16px; }

/* ---------- 控えめなスクロール表示 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.sp-only { display: none; }
@media (max-width: 699px) { .sp-only { display: inline; } .pc-only { display: none; } }
.nw { white-space: nowrap; display: inline-block; }

/* スマホ：サービスカードは2列のコンパクト表示 */
@media (max-width: 599px) {
  .grid--svc { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid--svc .svc-card .ai-figure { aspect-ratio: 1; }
  .grid--svc .svc-card__body { padding: 12px 12px 14px; gap: 4px; }
  .grid--svc .svc-card__title { font-size: 16px; }
  .grid--svc .svc-card__title svg { width: 16px; height: 16px; }
  .grid--svc .svc-card__text { display: none; }
  .grid--svc .ai-label { font-size: 9px; padding: 4px 6px; right: 6px; bottom: 6px; }
}

ol { margin: 0; padding: 0; list-style: none; }
.sec-head .link-arrow { justify-self: start; }

/* スマホ：事例・料金・記事は横スクロールで縦の長さを抑える */
@media (max-width: 599px) {
  .grid--scroll {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
    scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .grid--scroll::-webkit-scrollbar { display: none; }
  .grid--scroll > * { scroll-snap-align: start; }
  .points li { gap: 10px; }
  .points .sub { display: none; }
}

/* =========================================================
   WordPress 用
   ========================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; clip: auto; width: auto; height: auto; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: var(--radius); }
.admin-bar .site-header { top: 32px; }
.admin-bar .drawer { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .drawer { top: calc(var(--header-h) + 46px); } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* 本文（ブロックエディタで書いた内容） */
.entry-content { font-size: 16px; line-height: 2; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-top: 2.2em; padding-bottom: .4em; border-bottom: 2px solid var(--ink); }
.entry-content h3 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; margin-top: 1.8em; padding-left: 14px; border-left: 3px solid var(--accent); }
.entry-content h4 { font-size: 18px; margin-top: 1.6em; }
.entry-content p { margin: 0; }
.entry-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .3em; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: 13px; color: var(--mid); margin-top: 8px; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content blockquote { margin: 1.6em 0; padding: 16px 22px; background: var(--mist); border-left: 3px solid var(--graphite); }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: var(--radius); background: var(--ink); color: var(--white); text-decoration: none; font-family: var(--font-ja); font-weight: 700; }
.entry-content .wp-block-columns { display: flex; gap: 28px; flex-wrap: wrap; }
.entry-content .wp-block-column { flex: 1 1 280px; }
.entry-content .alignwide { max-width: none; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.entry-content .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.entry-content .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.content-narrow { max-width: 820px; margin: 0 auto; }

/* 記事ページ */
.post-head { margin-bottom: 32px; }
.post-head h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; margin-top: 12px; }
.post-eyecatch { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; }
.post-eyecatch img { width: 100%; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.post-nav a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-nav .next { text-align: right; }
.post-nav small { display: block; color: var(--mid); font-size: 12px; }

/* ページ送り */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-en); font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* 実写真 */
.photo { position: relative; overflow: hidden; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.work-card .photo, .post-card .photo { aspect-ratio: 4 / 3; }
.post-card .photo { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.work-card { transition: transform .3s, box-shadow .3s; }
a.work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(17,18,20,.28); }
a.work-card .work-card__title, a.post-card .post-card__title { color: var(--ink); }
.work-card__facts b { color: var(--ink); font-weight: 700; }
.ba .photo { aspect-ratio: 16 / 10; }
.ba .photo + .photo { border-left: 3px solid var(--white); }
.ba .photo .photo-slot__tag { z-index: 1; }
@media (max-width: 599px) { .ba .photo + .photo { border-left: 0; border-top: 3px solid var(--white); } }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.gallery-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.spec-table td { color: var(--ink); }
.no-photo { display: grid; place-items: center; height: 100%; color: var(--soft); font-size: 13px; }

/* Contact Form 7 */
.wpcf7 form { display: grid; gap: 22px; }
.wpcf7 p { margin: 0; }
/* 項目名＋必須/任意バッジを横並び、入力欄は次の行いっぱい */
.wpcf7 label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: var(--font-ja); font-weight: 700; font-size: 15px; }
.wpcf7 label > br { display: none; }
.wpcf7 label .wpcf7-form-control-wrap, .wpcf7 label .cf7-hint { flex: 1 1 100%; }
.wpcf7 .cf7-hint { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--mid); }
.wpcf7 .cf7-legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-ja); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
/* ラジオ・同意チェックは「ボタン＋文字」を横並び */
.wpcf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-list-item label { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.wpcf7 .wpcf7-radio .wpcf7-list-item label { min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.wpcf7 .wpcf7-radio .wpcf7-list-item label:has(input:checked) { border-color: var(--ink); }
.wpcf7 input[type=radio], .wpcf7 input[type=checkbox] { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.wpcf7 input[type=file] { font-size: 14px; }
.wpcf7 .wpcf7-acceptance a { color: var(--accent-ink); text-decoration: underline; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=url], .wpcf7 textarea, .wpcf7 select {
  width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white);
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
}
.wpcf7 textarea { min-height: 170px; line-height: 1.8; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--ink); }
.wpcf7 input[type=submit] {
  width: 100%; min-height: 64px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--white);
  font-family: var(--font-ja); font-weight: 700; font-size: 17px; letter-spacing: .06em; cursor: pointer;
}
.wpcf7 input[type=submit]:hover { background: var(--accent-ink); }
.wpcf7 .wpcf7-not-valid-tip { font-size: 13px; color: #b3261e; font-weight: 500; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 16px; border-radius: var(--radius); font-size: 14px; }
.wpcf7-spinner { margin: 8px auto 0; display: block; }

/* 追加 */
.hero__hours { margin: 14px 0 0; font-size: 13px; color: #b9bcc2; letter-spacing: .06em; }
.owner > .ai-label { right: var(--gutter); bottom: 16px; }
a.post-card:hover .post-card__title { text-decoration: underline; text-underline-offset: 4px; }
.work-card__title { color: var(--ink); }
.post-card__title { color: var(--ink); }
.tabs .chip, .filter .chip { text-decoration: none; }

/* ---------- 会社案内：代表挨拶 → 集合写真バナー → 代表インタビュー ---------- */
.company-message__body { max-width: 820px; }
.group-banner {
  margin: clamp(40px, 6vw, 72px) 0 0;
  height: clamp(300px, 28vw, 360px);          /* PC：約300〜360px */
  border-radius: 6px;
  overflow: hidden;
  background: var(--mist);
}
.group-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;                   /* 左右は中央。3人の顔が自然に入る縦位置（頭上に少し余白） */
  display: block;
}
.company-message__cta { margin-top: clamp(24px, 3.5vw, 36px); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.company-message__cta small { font-size: 12px; color: var(--mid); }
@media (max-width: 899px) { .group-banner { height: 280px; } }
@media (max-width: 599px) {
  .group-banner { height: 240px; margin-top: 36px; border-radius: 4px; }   /* スマホ：220〜260px */
  .group-banner img { object-position: 50% 35%; }
  .company-message__cta .btn { width: 100%; }
}

/* 対応エリアの市区カード：数に合わせて自動で並ぶ（5件ならPCは1行） */
.grid--cities { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.grid--cities b { word-break: keep-all; }
@media (max-width: 999px) { .grid--cities { grid-template-columns: repeat(3, 1fr); } }   /* タブレット：3列（5件なら 3＋2） */
@media (max-width: 599px) { .grid--cities { grid-template-columns: 1fr; } }

/* 地域ページへのリンクカード（template-parts/area-cards.php） */
.area-card { display: grid; gap: 6px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: inherit; text-decoration: none; transition: border-color .2s; }
.area-card b { font-family: var(--font-ja); font-size: 22px; word-break: keep-all; }
.area-card small { font-size: 12px; color: var(--mid); }
.area-card span { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--graphite); }
.area-card span svg { width: 14px; height: 14px; flex: none; margin-top: 4px; color: var(--accent); transition: transform .2s; }
a.area-card:hover { border-color: var(--ink); }
a.area-card:hover span svg { transform: translateX(4px); }
.area-cards--dark .area-card { background: transparent; border-color: rgba(255,255,255,.18); }
.area-cards--dark .area-card small, .area-cards--dark .area-card span { color: #b9bcc2; }
.area-cards--dark .area-card span svg { color: #e3764b; }
.area-cards--dark a.area-card:hover { border-color: rgba(255,255,255,.6); }

/* トップの見出し：対応エリアを1行目に小さく */
.hero__area { display: block; font-size: clamp(18px, 2.2vw, 28px); font-weight: 700; letter-spacing: .06em; line-height: 1.5; margin-bottom: .5em; }

/* 地域ページ：見出し下の「見積もり無料」などの印（明るい背景用） */
.area-badges { margin: 0 0 28px; }
.area-badges .badge { background: var(--mist); color: var(--ink); border-color: var(--line); }
.area-badges .badge svg { color: var(--accent); }
.area-svc .link-arrow { margin-top: 6px; font-size: 14px; }

/* フッターの対応エリア */
.footer-area { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-area h4 { font-family: var(--font-en); font-size: 12px; letter-spacing: .22em; color: #8a8e95; margin-bottom: 12px; font-weight: 600; }
.footer-area ul { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-area a { font-size: 13px; }
.footer-area a:hover { color: var(--white); }
.footer-area + .footer-bottom { margin-top: 24px; }
