/*
Theme Name: EME
Theme URI: https://eme-inc.co.jp/
Author: 株式会社EME
Description: 株式会社EME コーポレートサイト用テーマ（2026リニューアル）
Version: 1.1.0
Requires PHP: 7.4
Text Domain: eme
*/

:root {
  --navy: #215082;
  --navy-dark: #163a60;
  --teal: #46abaa;
  --teal-dark: #2f7f7e;
  --teal-ink: #2f6a6f;
  --marker: #f2e68c;
  --ink: #222222;
  --ink-2: #444444;
  --ink-3: #555555;
  --line: #dddddA;
  --bg: #ffffff;
  --bg-2: #f4f4f2;
  --radius: 4px;
  --wrap: 1200px;
  --font: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --mincho: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --en: 'Josefin Sans', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 2; letter-spacing: 0.08em; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { line-height: 1.6; letter-spacing: 0.1em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 16px; width: auto; height: auto; clip: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--gray { background: var(--bg-2); }
.section--tight { padding: 56px 0; }

/* ---------- 見出し ---------- */
.eyebrow { margin: 0; font-family: var(--en); font-size: 16px; letter-spacing: 0.16em; color: var(--ink-2); }
.h2 { margin: 10px 0 16px; font-size: clamp(24px, 2.6vw, 34px); }
.mark { background: linear-gradient(transparent 58%, var(--marker) 58%); }
.label { display: inline-block; margin: 0 0 24px; padding-bottom: 6px; border-bottom: 3px solid var(--ink); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; }
.badge { display: inline-block; margin: 0 0 12px; padding: 4px 12px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.lead { margin: 0 0 40px; max-width: 760px; color: var(--ink-2); }
.note { margin: 20px 0 0; font-size: 12px; line-height: 1.8; color: var(--ink-3); }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: var(--radius); font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: 0.08em; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--equal .btn { flex: 1 1 240px; max-width: 320px; }
.eme-cap { color: var(--teal-dark); font-weight: 700; font-size: 1.15em; }

/* ---------- ヘッダー ---------- */
.site-header { background: #fff; position: relative; z-index: 10; }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-logo img { height: 36px; width: auto; }
.gnav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 14px; letter-spacing: 0.1em; }
.gnav a { color: var(--ink); text-decoration: none; }
.gnav a.is-strong { font-weight: 700; }
.gnav .btn { min-height: 44px; padding: 0 22px; font-size: 14px; }
.gnav .btn--primary, .gnav .btn--primary:hover { color: #fff; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); font-family: inherit; font-size: 12px; }
  .gnav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .gnav.is-open { display: flex; }
  .gnav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .gnav .btn { margin-top: 12px; }
}

/* ---------- ヒーロー ---------- */
.hero { display: flex; flex-wrap: wrap; max-width: 1440px; margin: 0 auto; }
.hero__visual { flex: 1 1 560px; min-width: 0; min-height: 520px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 64px 0; background: #d9d6d0; }
.hero__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__copy { position: relative; align-self: flex-start; margin: 0; background: rgba(255, 255, 255, 0.8); padding: 14px 32px 14px 24px; font-family: var(--mincho); font-weight: 500; font-size: clamp(20px, calc((100vw - 500px) / 22), 40px); line-height: 1.4; letter-spacing: 0.1em; white-space: nowrap; }
.hero__copy--accent { color: var(--navy); font-weight: 700; }
.hero__side { flex: 0 1 500px; min-width: 0; padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.hero__title { margin: 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.9; }
.hero__rep { display: flex; align-items: center; gap: 16px; }
.hero__rep img { width: 104px; height: 104px; object-fit: cover; flex: none; }
.hero__rep p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.hero__rep-name { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; color: var(--ink); }

/* ---------- 入口カード ---------- */
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.entry { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-radius: var(--radius); background: #fff; border-top: 4px solid #c9c6c0; text-decoration: none; color: var(--ink); }
.entry--agents { border-top-color: var(--navy); }
.entry--owners { border-top-color: var(--teal); }
.entry__en { font-family: var(--en); font-size: 13px; letter-spacing: 0.16em; color: var(--ink-3); }
.entry__title { font-size: 20px; font-weight: 700; letter-spacing: 0.1em; }
.entry__text { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.entry__more { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }

/* ---------- 約束 ---------- */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.promise { padding: 32px 24px; border-bottom: 1px solid var(--line); }
.promise__num { margin: 0; font-family: var(--en); font-size: 28px; font-weight: 600; color: var(--teal-dark); line-height: 1; }
.promise h3 { margin: 16px 0 8px; font-size: 18px; }
.promise p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.9; }

/* ---------- 物件の状態 ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { min-width: 0; }
.split__main { flex: 1 1 420px; }
.split__side { flex: 999 1 520px; }
.states { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-content: start; }
.state { padding: 24px 20px; border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; }
.state svg { width: 28px; height: 28px; }
.deflist { margin: 32px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; font-size: 14px; }
.deflist dt { font-weight: 700; }
.deflist dd { margin: 0; color: var(--ink-2); }

/* ---------- 表 ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { width: 9em; white-space: nowrap; font-weight: 700; background: var(--bg-2); }

/* ---------- 事例カード ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.case-card { display: block; color: var(--ink); text-decoration: none; }
.case-card__img svg { display: block; width: 100%; height: auto; }
.case-card__meta { margin: 16px 0 0; font-size: 12px; color: var(--ink-3); }
.case-card__title { margin: 4px 0 12px; font-size: 17px; line-height: 1.7; letter-spacing: 0.08em; }
.case-card__price { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: 12px; padding: 2px 10px; border: 1px solid var(--teal-dark); color: var(--teal-ink); letter-spacing: 0.06em; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.filter a { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.filter a.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; margin: 0 0 32px; }
.filters .filter { margin: 0; }
.filters__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 600px) { .filters { grid-template-columns: 1fr; } }

/* ---------- メッセージ ---------- */
.message { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.message > img { flex: 1 1 280px; max-width: 420px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.message__body { flex: 999 1 480px; min-width: 0; }
/* 写真はPCだけ本文に沿って追従。スマホ・タブレットでは追従させず、横長に小さく出す */
@media (min-width: 901px) { .message__photo { position: sticky; top: 24px; } }
@media (max-width: 900px) { .message { gap: 24px; } .message > img.message__photo { flex: 0 0 auto; max-width: 100%; aspect-ratio: 16 / 10; object-position: center 20%; } }
.message__catch { margin: 8px 0 24px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.8; letter-spacing: 0.1em; }

/* ---------- 本文（固定ページ・投稿） ---------- */
.page-head { padding: 64px 0 40px; background: var(--bg-2); }
.page-head h1 { margin: 6px 0 0; font-size: clamp(26px, 3vw, 36px); }
.entry-content { max-width: 800px; }
.entry-content h2 { margin: 56px 0 16px; font-size: 22px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.entry-content h3 { margin: 32px 0 8px; font-size: 17px; color: var(--navy); }
.entry-content p, .entry-content li { color: var(--ink-2); }
.entry-content .lead { font-size: 17px; color: var(--ink); }
.entry-content .profile { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; font-size: 14px; }
.entry-content .profile dt { font-weight: 700; }
.entry-content .profile dd { margin: 0; }
.breadcrumb { font-size: 12px; color: var(--ink-3); margin: 0 0 8px; }
.breadcrumb a { color: var(--ink-3); }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.post-list time { font-family: var(--en); color: var(--ink-3); min-width: 96px; }
.post-list a { color: var(--ink); text-decoration: none; }
.post-list__cat { display: inline-block; margin-right: 10px; padding: 1px 8px; font-size: 11px; border: 1px solid var(--line); color: var(--ink-2); vertical-align: 1px; }

/* ---------- フォーム ---------- */
.contact-step { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 19px; font-weight: 700; }
.contact-step__num { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-size: 16px; }
.contact-step__help { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; }
.form-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 40px; }
.form-tabs a { position: relative; display: block; text-align: center; padding: 16px 10px; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; background: #fff; }
.form-tabs a:hover { border-color: var(--navy); }
.form-tabs a.is-current { border-color: var(--navy); background: var(--navy); color: #fff; }
.form-tabs__sub { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; opacity: 0.8; }
.form-tabs__check { margin-right: 6px; }
@media (max-width: 800px) { .form-tabs { grid-template-columns: repeat(2, 1fr); } }
.form { max-width: 720px; }
.form__row { margin: 0 0 24px; }
.form__row label, .form__row legend { display: block; margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.form__req { margin-left: 8px; font-size: 11px; padding: 2px 6px; background: #b3261e; color: #fff; border-radius: 2px; vertical-align: middle; }
.form__opt { margin-left: 8px; font-size: 11px; padding: 2px 6px; background: #888; color: #fff; border-radius: 2px; vertical-align: middle; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; letter-spacing: 0.04em; border: 1px solid #bbb; border-radius: var(--radius); background: #fff; }
.form textarea { min-height: 180px; }
.form__help { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__errors { padding: 16px 20px; margin: 0 0 24px; border: 1px solid #b3261e; color: #b3261e; background: #fdf3f2; font-size: 14px; }
.form__agree { font-size: 14px; }

/* ---------- お問い合わせ帯 ---------- */
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta .eyebrow { color: #dce4f0; }
.cta h2 { margin: 10px 0 12px; font-size: clamp(22px, 2.4vw, 30px); }
.cta p { color: #e6ecf5; }
.cta .btn-row { justify-content: center; }
.cta .btn { min-width: 240px; min-height: 56px; }

/* ---------- ガンバシスト ---------- */
.gambassist { display: flex; flex-direction: column; gap: 16px; }
.gambassist__logos { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.gambassist__logos img { width: auto; -webkit-user-drag: none; user-select: none; pointer-events: none; -webkit-touch-callout: none; }
/* 画像の上に透明な面を重ね、右クリック・長押しで画像を保存できないようにする（掲載ルール） */
.gambassist__logos::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.gambassist__logo-1 { height: 30px; }
.gambassist__logo-4 { height: 120px; }
/* お知らせ記事の中（[gambassist]）。表示面の5%以内：PCは約2.8%、スマホは約4.3% */
.gambassist--article { margin: 32px 0; padding: 32px 24px; background: var(--bg-2); align-items: center; text-align: center; }
.gambassist__logos--article { justify-content: center; gap: 48px; }
.gambassist__logos--article .gambassist__logo-1 { height: 40px; }
.gambassist__logos--article .gambassist__logo-4 { height: 160px; }
/* 表示面の5%以内（掲載ルール）。スマホでは小さくする */
@media (max-width: 600px) { .gambassist__logo-1, .gambassist__logos--article .gambassist__logo-1 { height: 24px; } .gambassist__logo-4 { height: 90px; } .gambassist__logos--article .gambassist__logo-4 { height: 100px; } .gambassist__logos { gap: 16px; } }
.gambassist__placeholder { border: 1px dashed #bbbbb5; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink-3); }
.gambassist p { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 96px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.site-footer__name { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--ink); }
.site-footer p { margin: 0; }
.fnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.fnav a { color: var(--ink); text-decoration: none; }
.copyright { text-align: center; font-size: 11px; color: var(--ink-3); padding: 0 0 88px; }

/* ---------- スマホ下部の追従ボタン ---------- */
.sticky-cta { position: sticky; bottom: 0; z-index: 20; padding: 12px 16px; background: rgba(255,255,255,0.95); border-top: 1px solid var(--line); display: flex; justify-content: center; }
.sticky-cta .btn { width: 100%; max-width: 420px; min-height: 48px; }
@media (min-width: 901px) { .sticky-cta { display: none; } }

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero__visual { min-height: 420px; }
  /* スマホの表は「項目名｜内容」を左右に並べる。内容が長い行（.is-long。site.js が付ける）だけ縦2段にする */
  .table th, .table td { padding: 12px 10px; font-size: 14px; }
  .table:not(.table--compare), .table:not(.table--compare) tbody { display: block; width: 100%; }
  .table:not(.table--compare) tr { display: flex; border-bottom: 1px solid var(--line); }
  .table:not(.table--compare) th, .table:not(.table--compare) td { display: block; border-bottom: 0; }
  .table:not(.table--compare) th { flex: 0 0 7.5em; width: auto; white-space: normal; }
  .table:not(.table--compare) td { flex: 1 1 auto; min-width: 0; }
  .table:not(.table--compare) tr.is-long { display: block; }
  .table:not(.table--compare) tr.is-long th { padding-bottom: 8px; }
  .table--compare th { width: 5.5em; white-space: normal; }
}

/* ---------- 第2段階：売主様・状況別・地域・提携 ---------- */
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding: 14px 16px 14px 48px; background: var(--bg-2); border-radius: var(--radius); font-weight: 500; line-height: 1.7; }
.section--gray .checklist li { background: #fff; }
.checklist li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 16px; height: 9px; margin-top: -7px; border-left: 2px solid var(--teal-dark); border-bottom: 2px solid var(--teal-dark); transform: rotate(-45deg); }
.link-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.link-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border: 1px solid var(--navy); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.link-chips a:hover { background: var(--navy); color: #fff; }
.table--compare thead th, .table--compare thead td { background: var(--navy); color: #fff; border-bottom: 0; }
.table--compare td { width: 40%; }
a.state { color: var(--ink); text-decoration: none; position: relative; transition: box-shadow .2s; }
a.state:hover { box-shadow: 0 0 0 2px var(--teal) inset; }
.state__more { position: absolute; right: 16px; bottom: 18px; color: var(--teal-dark); font-family: var(--en); }
.promises--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.promises--stack { grid-template-columns: 1fr; }
.promises--stack .promise { padding: 24px 0; }
.callout { margin-top: 32px; padding: 24px 28px; background: #fff; border-left: 4px solid var(--teal); border-radius: var(--radius); }
.callout h3 { margin: 0 0 8px; font-size: 17px; }
.callout p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.9; }

/* ---------- 図版・アイコン ---------- */
.icon { width: 24px; height: 24px; }
.page-head--visual .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.page-head__text { flex: 1 1 380px; min-width: 0; }
.page-head__visual { flex: 1 1 360px; max-width: 520px; }
.page-head__visual svg, .page-head__visual img { display: block; width: 100%; height: auto; border-radius: 8px; }
.page-head__visual img { aspect-ratio: 560 / 380; object-fit: cover; }
.page-head__lead { margin: 16px 0 0; max-width: 560px; color: var(--ink-2); font-size: 15px; }
.promise__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: #E3F1F1; color: var(--teal-dark); }
.promise__icon .icon { width: 28px; height: 28px; }
.section--gray .promise__icon { background: #fff; }
.promise__head { display: flex; align-items: center; gap: 14px; }
.promise__head .promise__icon { margin-bottom: 0; }
.entry__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: #E3F1F1; color: var(--teal-dark); }
.entry__icon .icon { width: 24px; height: 24px; }
.checklist--icon li::before { display: none; }
.eyecatch { margin: 0 0 40px; }
.eyecatch svg, .eyecatch img { display: block; width: 100%; height: auto; border-radius: 8px; }
.republish { margin: 0 0 32px; padding: 14px 18px; background: var(--bg-2); border-left: 4px solid var(--navy); font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.checklist--icon li { display: flex; align-items: center; gap: 14px; padding-left: 16px; }
.checklist--icon .icon { flex: none; color: var(--teal-dark); }
.eyecatch { max-width: 720px; }
.callout--alert { margin: 0 0 32px; border-left-color: var(--navy); background: #FFF9DB; font-size: 14px; line-height: 1.9; color: var(--ink); }
a.state { padding-right: 36px; }
.faq-title { display: flex; align-items: center; gap: 14px; }
.entry-content h2.faq-sub { display: flex; align-items: center; gap: 12px; margin-top: 48px; font-size: 19px; }
.entry-content h2.faq-sub:first-child { margin-top: 8px; }
.calc-note { font-size: 12px; color: var(--ink-3); }
.table--calc td { width: 38%; }
.calc-total th, .calc-total td { font-weight: 700; font-size: 16px; background: #FFF9DB; }
/* 写真・再生の実例 */
.photo-grid { display: grid; gap: 16px; margin-top: 20px; }
.photo-grid--1 { grid-template-columns: minmax(0, 720px); }
.photo-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.photo-grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.photo-grid--3 img { aspect-ratio: 3 / 4; }
.photo-grid figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.reno-case { margin-top: 48px; padding: 28px; background: #fff; border-radius: 8px; }
.reno-case:first-of-type { margin-top: 32px; }
.reno-case__head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.reno-case__type { margin: 0; font-size: 13px; color: var(--teal-ink); font-weight: 700; letter-spacing: .1em; }
.reno-case h3 { margin: 2px 0 0; font-size: 19px; }
.photo-grid--land img { aspect-ratio: 4 / 3; }
.hero__badge { position: relative; align-self: flex-start; margin: 0 0 12px; padding: 16px 32px 16px 24px; background: rgba(33, 80, 130, 0.95); border-left: 8px solid var(--marker); color: #fff; font-size: clamp(18px, 2.2vw, 30px); font-weight: 700; letter-spacing: 0.1em; line-height: 1.4; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.hero__badge strong { color: var(--marker); font-size: 1.15em; }
.case-card__img { position: relative; }
.case-card__photo { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.case-card__badge { position: absolute; left: 10px; top: 10px; padding: 2px 10px; background: rgba(255,255,255,.92); border-radius: 3px; font-size: 11px; color: #555; }
.case-card__works { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.case-card__works .icon { flex: none; width: 18px; height: 18px; color: var(--teal-dark); margin-top: 2px; }
.banner-link { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.banner-link > span:nth-child(2) { flex: 1 1 320px; }
/* ビフォー・アフター */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.ba__item { position: relative; margin: 0; }
.ba__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.ba__label { position: absolute; left: 10px; top: 10px; padding: 3px 12px; background: rgba(34,34,34,.78); color: #fff; font-family: var(--en); font-size: 12px; letter-spacing: .14em; border-radius: 3px; }
.ba__label--after { background: var(--navy); }
.ba__cap { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 600px) { .ba { grid-template-columns: 1fr; } }
.photo-grid--fix3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .photo-grid--fix3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 実績の数字 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.stat { padding: 24px; background: var(--bg-2); border-radius: 8px; border-top: 3px solid var(--navy); }
.section--gray .stat { background: #fff; }
.stat__label { margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .1em; }
.stat__num { margin: 2px 0 0; font-family: var(--en); font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; color: var(--navy); line-height: 1.3; letter-spacing: .02em; }
.docs-mail__out { margin: 12px 0 0; font-size: 18px; font-weight: 700; }

/* ---------- トップ C案 ---------- */
.hero-c { display: flex; flex-wrap: wrap; max-width: 1440px; margin: 0 auto; background: linear-gradient(135deg, #f7f9fb 0%, #eef3f6 100%); overflow: hidden; }
.hero-c__text { flex: 1 1 520px; min-width: 0; padding: 80px 40px 56px max(24px, calc((100vw - 1200px) / 2)); position: relative; z-index: 1; }
.hero-c__eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: .12em; }
.hero-c__eyebrow::before { content: ""; width: 48px; height: 2px; background: var(--teal-dark); }
.hero-c__eyebrow strong { color: var(--navy); background: linear-gradient(transparent 60%, var(--marker) 60%); }
.hero-c__title { margin: 0 0 32px; font-family: var(--mincho); font-weight: 700; font-size: clamp(24px, 2.9vw, 40px); line-height: 1.6; letter-spacing: .03em; color: #1c2b3a; }
.hero-c__checks { margin: 0 0 36px; padding: 0; list-style: none; max-width: 420px; }
.hero-c__checks li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #d9e1e6; font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.hero-c__checks li:last-child { border-bottom: 0; }
.hero-c__checks .icon { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--teal-dark); color: #fff; stroke-width: 2.4; }
.hero-c__checks .icon circle { display: none; }
.hero-c__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-c__btns .btn { min-width: 250px; justify-content: center; }
.hero-c__sub { margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }
.hero-c__visual { flex: 1 1 480px; min-width: 0; min-height: 600px; position: relative; }
.hero-c__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.hero-c__rep { position: absolute; right: 24px; bottom: 32px; display: flex; gap: 16px; max-width: 360px; padding: 16px; background: #fff; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.hero-c__rep > img { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; flex: none; }
.hero-c__rep-name { margin: 0; font-size: 15px; font-weight: 700; }
.hero-c__rep-name span { font-size: 11px; font-weight: 500; color: var(--ink-3); margin-right: 10px; }
.hero-c__rep-text { margin: 6px 0 8px; font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.hero-c__rep a { font-size: 12px; font-weight: 700; text-decoration: none; }
.entries-c { background: var(--bg-2); }
.entries-c__title { margin: 4px 0 8px; text-align: center; font-family: var(--mincho); font-size: clamp(26px, 2.8vw, 34px); letter-spacing: .16em; }
.entries-c__title::after { content: ""; display: block; width: 44px; height: 2px; margin: 14px auto 0; background: var(--teal-dark); }
.entries-c__lead { margin: 0 0 36px; text-align: center; color: var(--ink-2); }
.entries-c__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.entry-c { display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: box-shadow .2s; }
.entry-c:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.entry-c > img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.entry-c__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.entry-c__name { font-size: 20px; font-weight: 700; letter-spacing: .08em; }
@media (max-width: 900px) {
  .hero-c__text { padding: 48px 20px 40px; }
  .hero-c__visual { min-height: 420px; }
  .hero-c__visual > img { clip-path: none; }
  .hero-c__rep { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .hero-c__btns .btn { min-width: 0; flex: 1 1 100%; }
}
@media (max-width: 600px) {
  .hero__badge { font-size: 15px; padding: 12px 16px 12px 14px; border-left-width: 6px; }
  .hero__copy { font-size: min(22px, 4.7vw); letter-spacing: 0.04em; padding: 10px 16px 10px 14px; white-space: normal; }
  .hero__side { padding: 32px 20px; }
}
.case-card__label { margin: 12px 0 4px; }
.case-card__label span { display: inline-block; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 2px; }
