/* NEXホーム HPベース（指示099・試作） 色は仮置き（紺 #14284B ／ 黄 #F2C230。後で正式な色とロゴに差し替え） */
:root {
  --navy: #14284B; --navy-2: #1F3A68; --navy-pale: #EEF2F8;
  --yellow: #F2C230; --yellow-pale: #FDF6DC;
  --line: #06C755; --text: #1E2430; --muted: #5B6475; --border: #D9DEE7; --red: #B3261E;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; line-height: 1.8;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; font-size: 16px; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.4; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.center-text { text-align: center; }
.mt { margin-top: 48px; }
.mt-s { margin-top: 16px; }
.proto-bar { background: #333; color: #fff; font-size: 12px; text-align: center; padding: 4px 8px; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 6px;
  font-weight: 700; text-decoration: none; line-height: 1.3; border: 2px solid transparent; white-space: nowrap; font-size: 15px; cursor: pointer; font-family: inherit; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 17px; }
.btn-line { background: var(--line); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn:hover { filter: brightness(1.07); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.more { font-weight: 700; font-size: 14px; color: var(--navy-2); }
.more::after { content: " ›"; }

/* ---------- ヘッダー（上段：ロゴ・電話枠・ボタン／下段：メガメニュー） ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 8px rgba(20,40,75,.08); }
.header-top { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; font-weight: 800; font-size: 24px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.logo::before { content: ""; width: 10px; height: 28px; background: var(--yellow); margin-right: 8px; border-radius: 2px; }
.logo small { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tel-box { display: grid; grid-template-columns: auto; line-height: 1.25; text-align: right; padding: 4px 12px; border: 1px dashed var(--border); border-radius: 6px; margin-right: 6px; }
.tel-label { font-size: 11px; color: var(--muted); }
.tel-num { font-size: 18px; font-weight: 800; color: var(--navy); }
.tel-time { font-size: 11px; color: var(--muted); }
.burger { display: none; }
.gnav { border-top: 1px solid var(--border); border-bottom: 3px solid var(--navy); position: relative; }
.gnav-list { list-style: none; margin: 0 auto; padding: 0 20px; max-width: 1240px; display: flex; justify-content: space-between; }
.gnav-item { display: flex; flex: 1; }
.gnav-head { display: flex; align-items: center; justify-content: center; width: 100%; }
.gnav-top { display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 4px 0 10px; color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.gnav-top[aria-current] { box-shadow: inset 0 -4px 0 var(--yellow); }
.gnav-toggle { width: 22px; height: 50px; border: 0; background: none; cursor: pointer; padding: 0 8px 0 0; color: var(--navy); }
.gnav-toggle::before { content: ""; display: block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.gnav-cta { display: none; }

.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--navy);
  box-shadow: 0 12px 24px rgba(20,40,75,.15); }
.mega-inner { max-width: 1200px; margin: 0 auto; padding: 28px 20px; display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.mega-lead { border-right: 1px solid var(--border); padding-right: 24px; }
.mega-lead p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.mega-lead .mega-title { color: var(--navy); font-size: 20px; font-weight: 800; }
.mega-groups { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; align-content: start; }
.mega-groups:has(> .mega-group:only-child) { grid-template-columns: 1fr; }
.mega-gtitle { margin: 0 0 8px; font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--yellow); padding-bottom: 4px; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 16px; }
.mega-links a { display: block; padding: 9px 12px; border-radius: 6px; background: var(--navy-pale); color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; }
.mega-links a::before { content: "›"; color: var(--yellow); font-weight: 900; margin-right: 8px; }
.mega-links a:hover { background: var(--yellow-pale); }

@media (min-width: 1081px) {
  .gnav-item:hover .mega, .gnav-item:focus-within .mega, .gnav-item.is-open .mega { display: block; }
  .gnav-item:hover .gnav-top, .gnav-item.is-open .gnav-top { color: var(--navy-2); box-shadow: inset 0 -4px 0 var(--yellow); }
}

/* ---------- スマホ・タブレット（タップで開く） ---------- */
@media (max-width: 1080px) {
  .header-top { height: 60px; }
  .logo { font-size: 20px; }
  .header-cta { display: none; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 0 8px; }
  .burger span { display: block; height: 3px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .gnav { display: none; position: fixed; left: 0; right: 0; top: var(--nav-top, 84px); bottom: 0; background: #fff; overflow-y: auto; padding: 0 0 100px; border-bottom: 0; }
  .gnav.is-open { display: block; }
  .gnav-list { flex-direction: column; padding: 0; }
  .gnav-item { flex-direction: column; border-bottom: 1px solid var(--border); }
  .gnav-head { justify-content: space-between; }
  .gnav-top { justify-content: flex-start; padding: 0 20px; height: 56px; font-size: 17px; flex: 1; }
  .gnav-top[aria-current] { box-shadow: inset 4px 0 0 var(--yellow); }
  .gnav-toggle { width: 56px; height: 56px; padding: 0; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--border); }
  .gnav-item.is-open .gnav-toggle::before { transform: rotate(-135deg) translate(-2px, -2px); }
  .mega { position: static; box-shadow: none; border-top: 0; background: var(--navy-pale); }
  .gnav-item.is-open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; padding: 12px 16px 16px; gap: 8px; }
  .mega-lead { display: none; }
  .mega-groups { grid-template-columns: 1fr; gap: 14px; }
  .mega-links { grid-template-columns: 1fr; }
  .mega-links a { background: #fff; }
  .gnav-cta { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
  .gnav-cta .tel-box { text-align: center; margin: 0; }
  body.nav-open { overflow: hidden; }
  .sp-cta { display: flex; }
  body { padding-bottom: 68px; }
}
.sp-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 8px; padding: 8px; background: rgba(255,255,255,.96); border-top: 1px solid var(--border); }
.sp-cta .btn { flex: 1; font-size: 15px; padding: 12px 6px; }

/* ---------- 共通の区切り ---------- */
.sec { padding: 64px 0; }
.sec-alt { background: var(--navy-pale); }
.sec-navy { background: var(--navy); color: #fff; }
.sec-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 28px; }
.sec-head .sec-title { margin-bottom: 8px; }
.sec-title { text-align: center; font-size: 28px; color: var(--navy); margin: 0 0 32px; }
.sec-title::after { content: ""; display: block; width: 48px; height: 4px; background: var(--yellow); margin: 12px auto 0; border-radius: 2px; }
.sec-navy .sec-title, .sec-navy .more { color: #fff; }
.sub-title { color: var(--navy); font-size: 20px; border-left: 6px solid var(--yellow); padding-left: 12px; margin: 32px 0 12px; }
.group-title { color: var(--navy); font-size: 22px; border-left: 6px solid var(--yellow); padding-left: 12px; margin: 8px 0 16px; }
.link-grid + .group-title { margin-top: 40px; }
.dummy { color: var(--muted); }
.noimg { display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(45deg, #E4E9F1, #E4E9F1 10px, #EDF1F6 10px, #EDF1F6 20px); color: var(--muted); font-size: 13px; }
.badge-sample { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 4px; vertical-align: middle; line-height: 1.5; }
.note-sample { text-align: center; color: var(--red); font-weight: 700; margin: -8px 0 16px; }
.sec-navy .note-sample { color: var(--yellow); }

/* ヒーロー（約束の一言） */
.hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 88px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(242,194,48,.35); }
.hero-kicker { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 800; padding: 2px 12px; border-radius: 4px; margin: 0 0 16px; }
.hero h1 { font-size: clamp(26px, 4.4vw, 44px); margin: 0 0 16px; }
.hero-sub { margin: 0 0 28px; opacity: .9; }

/* 選ばれる理由 */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason { border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; position: relative; }
.reason .num { position: absolute; top: -18px; left: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.reason h3 { color: var(--navy); margin: 8px 0; }
.reason p { margin: 0; color: var(--muted); }

/* 物件カード */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prop-grid-4 { grid-template-columns: repeat(4, 1fr); }
.prop-card { display: block; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: box-shadow .2s; }
.prop-card:hover { box-shadow: 0 6px 18px rgba(20,40,75,.14); }
.prop-img { position: relative; aspect-ratio: 4 / 3; }
.prop-img .noimg { position: absolute; inset: 0; }
.prop-img .badge-sample { position: absolute; top: 10px; left: 10px; z-index: 1; }
.prop-tag { position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--navy); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.prop-only { position: absolute; bottom: 10px; left: 10px; z-index: 1; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 4px; }
.prop-body { padding: 12px 14px 14px; }
.prop-body p { margin: 0; }
.prop-kind { font-size: 13px; color: var(--muted); }
.prop-name { font-weight: 700; color: var(--navy); }
.prop-price { font-size: 20px; font-weight: 800; color: var(--red); }
.prop-price small { font-size: 13px; margin-left: 2px; }
.prop-meta { font-size: 13px; color: var(--muted); margin: 0; }

/* 物件を探す（3つの入口） */
.search-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.search-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: 12px; padding: 28px 24px; text-decoration: none; border-bottom: 6px solid var(--yellow); }
.sc-title { font-size: 21px; font-weight: 800; color: var(--navy); }
.sc-title::after { content: " ›"; color: var(--yellow); }

/* お客様の声 */
.voice-sum { display: flex; justify-content: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.voice-sum div { background: var(--navy-pale); border-radius: 10px; padding: 10px 24px; display: flex; align-items: baseline; gap: 10px; }
.vs-label { color: var(--muted); font-size: 14px; }
.vs-num { color: var(--navy); font-size: 24px; font-weight: 800; }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice-card { display: block; border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-decoration: none; color: inherit; background: #fff; }
.voice-card:hover { box-shadow: 0 6px 18px rgba(20,40,75,.12); }
.voice-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.voice-kind { background: var(--navy); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.stars { color: var(--yellow); letter-spacing: 1px; }
.voice-name { font-weight: 800; color: var(--navy); margin: 10px 0 4px; }
.voice-ex { color: var(--muted); margin: 0 0 8px; }

/* 5つのサービス */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc { display: flex; flex-direction: column; gap: 8px; background: #fff; color: var(--text); text-decoration: none; border-radius: 12px; padding: 22px 18px; border-bottom: 5px solid var(--yellow); }
.svc-num { color: var(--yellow); font-weight: 900; font-size: 22px; line-height: 1; }
.svc-title { font-size: 17px; font-weight: 800; color: var(--navy); }
.lc-text { color: var(--muted); font-size: 14px; flex: 1; }

/* ニュース */
.news { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; background: #fff; border-radius: 12px; border: 1px solid var(--border); }
.news li { display: flex; gap: 20px; align-items: baseline; padding: 14px 24px; border-bottom: 1px solid var(--border); }
.news li:last-child { border-bottom: 0; }
.news time { color: var(--muted); white-space: nowrap; }
.news-cat { background: var(--navy-pale); color: var(--navy); font-size: 12px; padding: 1px 10px; border-radius: 999px; white-space: nowrap; }

/* セミナー */
.sem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sem-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; }
.sem-img { aspect-ratio: 16 / 9; }
.sem-img-l { border-radius: 10px; margin-bottom: 24px; }
.sem-body { padding: 14px 16px 16px; }
.sem-body p { margin: 0 0 4px; }
.sem-type { background: var(--navy); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.sem-title { font-weight: 800; color: var(--navy); }

/* マガジン */
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mag-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mag-card { display: block; text-decoration: none; color: inherit; }
.mag-img { aspect-ratio: 16 / 10; border-radius: 10px; }
.mag-card p { margin: 4px 0 0; }
.mag-cat { display: inline-block; font-size: 12px; color: var(--navy); background: var(--yellow-pale); border: 1px solid var(--yellow); padding: 0 8px; border-radius: 4px; margin-top: 8px !important; }
.mag-title { font-weight: 800; color: var(--navy); }

/* 紹介動画・地図の枠 */
.movie-frame { aspect-ratio: 16 / 9; max-width: 860px; margin: 0 auto; border-radius: 12px; }
.map-frame { aspect-ratio: 16 / 7; border-radius: 10px; margin-bottom: 24px; }

/* 店舗・スタッフ */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shop-card { display: block; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; padding-bottom: 14px; text-align: center; background: #fff; }
.shop-img { aspect-ratio: 16 / 10; }
.shop-name { font-weight: 800; color: var(--navy); margin: 12px 0 2px; font-size: 18px; }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.staff-card { text-align: center; }
.staff-img { aspect-ratio: 1; border-radius: 50%; max-width: 180px; margin: 0 auto; }
.staff-name { font-weight: 800; color: var(--navy); margin: 10px 0 0; }
.route { padding-left: 1.4em; }

/* 相談の導線・フッター */
.cta-band { background: var(--yellow); padding: 52px 0; text-align: center; }
.cta-band .cta-title { font-size: 26px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 960px; margin: 24px auto 0; }
.cta-item { background: #fff; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.cta-h { margin: 0; font-weight: 800; color: var(--navy); }
.cta-tel { margin: 0; font-size: 22px; font-weight: 800; color: var(--navy); }
.cta-small { margin: 0; font-size: 13px; color: var(--muted); }
.cta-sub { margin: 20px 0 0; font-size: 14px; color: var(--navy); }
.site-footer { background: var(--navy); color: #DCE3EF; padding: 48px 0 24px; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.logo-foot { color: #fff; font-size: 22px; }
.fbrand p { margin: 4px 0; }
.fcols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 16px; }
.ftitle { font-weight: 800; margin: 0 0 8px; border-bottom: 2px solid var(--yellow); padding-bottom: 4px; }
.fcol ul { list-style: none; padding: 0; margin: 0; }
.fcol li { margin: 4px 0; }
.fbottom { grid-column: 1 / -1; list-style: none; display: flex; gap: 24px; justify-content: center; padding: 0; margin: 8px 0 0; }
.copy { grid-column: 1 / -1; text-align: center; border-top: 1px solid rgba(255,255,255,.2); padding-top: 16px; margin: 0; }

/* ---------- 下位ページ ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 0; margin: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.page-head { background: var(--navy); color: #fff; padding: 40px 0; border-bottom: 6px solid var(--yellow); }
.page-head h1 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 34px); }
.page-head p { margin: 0; opacity: .9; }
.page-head .ph-kind { color: var(--yellow); font-weight: 700; font-size: 14px; opacity: 1; }
.art-layout { display: grid; grid-template-columns: 1fr 270px; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.sec .art-layout { padding-top: 0; padding-bottom: 0; }
.art-layout-1 { grid-template-columns: 1fr; max-width: 900px; }
.toc { background: var(--navy-pale); border-radius: 10px; padding: 16px 24px; margin-bottom: 32px; }
.toc p { margin: 0; font-weight: 800; color: var(--navy); }
.toc ol { margin: 8px 0 0; padding-left: 1.4em; }
.art-sec { margin-bottom: 36px; scroll-margin-top: 140px; }
.art-sec h2 { color: var(--navy); border-left: 6px solid var(--yellow); padding-left: 12px; font-size: 22px; }
.art-cta { background: var(--yellow-pale); border: 2px solid var(--yellow); border-radius: 12px; padding: 20px 24px; margin-top: 24px; }
.art-cta p { margin: 0 0 12px; font-weight: 700; color: var(--navy); }
.side { align-self: start; position: sticky; top: 140px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.side-title { margin: 0; background: var(--navy); padding: 12px 16px; font-weight: 800; }
.side-title a { color: #fff; text-decoration: none; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 10px 16px; border-top: 1px solid var(--border); text-decoration: none; color: var(--navy); font-size: 15px; }
.side li.side-g { background: var(--navy-pale); padding: 6px 16px; font-size: 13px; font-weight: 800; color: var(--muted); border-top: 1px solid var(--border); }
.side li a[aria-current] { background: var(--yellow-pale); font-weight: 800; box-shadow: inset 4px 0 0 var(--yellow); }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.link-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--border); border-left: 6px solid var(--yellow); border-radius: 10px; text-decoration: none; }
.link-card:hover { box-shadow: 0 6px 18px rgba(20,40,75,.12); }
.lc-title { font-weight: 800; font-size: 18px; color: var(--navy); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { padding: 7px 18px; border-radius: 999px; border: 1px solid var(--navy); text-decoration: none; color: var(--navy); font-weight: 700; font-size: 14px; background: #fff; }
.tab[aria-current] { background: var(--navy); color: #fff; }
.filter-box { background: var(--navy-pale); border-radius: 10px; padding: 16px 20px; margin-bottom: 16px; }
.fb-title { margin: 0 0 8px; font-weight: 800; color: var(--navy); }
.fb-row, .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 5px 14px; font-size: 14px; color: var(--navy); text-decoration: none; }
.chip-link:hover { border-color: var(--navy); }
.list-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.list-bar p { margin: 0; }
.sort .chip { margin-left: 4px; }
.count { color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pager span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; }
.pager [aria-current] { background: var(--navy); color: #fff; }
.search-group { margin-bottom: 32px; }
.search-group h2 { color: var(--navy); font-size: 20px; border-left: 6px solid var(--yellow); padding-left: 12px; }
.detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.g-main { aspect-ratio: 4 / 3; border-radius: 10px; }
.g-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.g-thumbs div { aspect-ratio: 4 / 3; border-radius: 6px; }
.detail-price { font-size: 32px; font-weight: 800; color: var(--red); margin: 0 0 16px; }
.fav { color: var(--muted); font-size: 14px; }
.spec { width: 100%; border-collapse: collapse; background: #fff; }
.spec th, .spec td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.spec th { width: 34%; color: var(--navy); background: var(--navy-pale); }
.spec-2 { max-width: 900px; margin: 0 auto; }
.two-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 16px; }
.way { border: 1px solid var(--border); border-radius: 12px; padding: 24px; text-align: center; }
.way h2 { color: var(--navy); margin-top: 0; font-size: 20px; }
.form-note { background: var(--yellow-pale); border: 1px solid var(--yellow); border-radius: 8px; padding: 10px 16px; color: var(--navy); font-weight: 700; }
.form-tbl input, .form-tbl select, .form-tbl textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font: inherit; background: #F7F8FA; }
.req, .opt { display: inline-block; font-size: 11px; padding: 0 6px; border-radius: 3px; margin-left: 8px; vertical-align: middle; }
.req { background: var(--red); color: #fff; }
.opt { background: var(--border); color: var(--muted); }

.sec-title.mt { margin-top: 56px; }
.detail > *, .art-layout > *, .prop-grid > *, .mag-grid > * { min-width: 0; }

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .fcols { grid-template-columns: repeat(3, 1fr); }
  .prop-grid-4, .mag-grid-4, .staff-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .sec { padding: 44px 0; }
  .btn { white-space: normal; text-align: center; }
  .cta-btns .btn { flex: 1 1 100%; }
  .sec-title { font-size: 23px; }
  .hero { padding: 56px 0 52px; }
  .hero .cta-btns { flex-direction: column; }
  .reasons, .prop-grid, .two-ways, .detail, .art-layout, .search-grid, .voice-grid, .sem-grid, .shop-grid, .cta-grid { grid-template-columns: 1fr; }
  .prop-grid-4, .mag-grid, .mag-grid-4, .staff-grid, .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prop-price { font-size: 17px; }
  .reasons { gap: 32px; }
  .side { position: static; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .news li { flex-wrap: wrap; gap: 4px 12px; padding: 12px 16px; }
  .news li a { flex-basis: 100%; }
  .spec th { width: 38%; }
  .form-tbl th, .form-tbl td { display: block; width: 100%; }
  .form-tbl th { border-bottom: 0; }
}

/* 指示187 */
h1, h2, h3, h4, h5, h6, .cta-title, .svc-title {
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
}
.btn.btn-contact {
  color: #fff; background: var(--navy); border-color: #fff;
  border-radius: 6px; font-size: 16px; min-height: 44px;
  white-space: normal; text-align: center;
}
.btn-contact:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.logo:has(img)::before { content: none; }
.logo img { display: block; max-width: 100%; height: auto; }
.logo-foot img { background: #fff; }
.svc { overflow-wrap: anywhere; }
.copy-details dt { font-weight: 700; }
.copy-details dd { margin: 0 0 12px; }
.copy-cards, .ed-even, .ways { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.copy-card, .restored-copy .way, .restored-copy .pending { padding: 20px; border-radius: 10px; background: var(--navy-pale); }
.restored-copy .ph { padding: 32px 0; background: var(--navy-pale); }
.restored-copy .ph h1 { color: var(--navy); }
.restored-copy .btns, .restored-copy .links { display: flex; flex-wrap: wrap; gap: 12px; }
.restored-copy .idx li, .restored-copy .tl li { margin-bottom: 12px; }
.restored-copy .idx-d, .restored-copy .tl-text { display: block; }
.restored-copy .tl-name { font-weight: 700; margin-left: 8px; }
.restored-copy .side { padding: 16px; background: var(--navy-pale); }
.restored-copy svg { display: none; }
.staff-photo, .restored-copy figure { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .copy-cards, .ed-even, .ways { grid-template-columns: minmax(0, 1fr); }
}
#movie .ed-even { margin-top: 24px; }
#movie .copy-card { color: var(--text); background: #fff; }
#movie .copy-card h3 { color: var(--navy); }
#movie .tlink { color: #fff; }
#shop .links { display: flex; flex-wrap: wrap; gap: 12px; }

/* fix8: photo embeds */
.prop-img img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-img, .sem-img, .g-main { position: relative; overflow: hidden; }
.mag-img img.ph-cover, .sem-img img.ph-cover, .g-main img.ph-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 10px; }
