/* ========================================================================
   石坂建設 土地情報サイト
   ベース配色: Eight Labo 実物準拠（白 + オレンジ + ダークブラウン + 黒フッター）
   和文: 游ゴシック / Noto Sans JP（ゴシック系）
   欧文: Lexend Deca
   ====================================================================== */

:root {
  /* Paper / background layers */
  --paper:    #ffffff;       /* pure white base */
  --paper-2:  #f7f7f7;       /* light gray section */
  --paper-3:  #efefef;       /* slightly darker stratification */

  /* Brand / accent */
  --accent:       #ef8000;   /* ORANGE - Eight Labo brand primary */
  --accent-soft:  #febf00;   /* golden yellow */
  --accent-2:     #41210f;   /* dark wood brown (for h3 emphasis) */

  /* Text */
  --ink:       #000000;      /* pure black */
  --gray-1:    #595656;      /* H2 gray */
  --gray-2:    #c4c3c3;      /* border gray */

  /* Footer */
  --footer-bg: #000000;
  --footer-fg: #ffffff;

  /* State */
  --danger: #cc1144;

  /* Fonts — Eight Labo 実物と同一スタック
     （実物の body: 游ゴシック, "Yu Gothic", Verdana, SourceHanSansJP,
      "Hiragino Kaku Gothic ProN", Meiryo, YuGothic, sans-serif） */
  --jp-head: 游ゴシック, "Yu Gothic", Verdana, "Source Han Sans JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, YuGothic, sans-serif;
  --jp-body: 游ゴシック, "Yu Gothic", Verdana, "Source Han Sans JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, YuGothic, sans-serif;
  /* 見出し用も同じスタックを使用（実物の本文/H3も同じ。H2 のみ
     "新ゴ M"／Morisawa TypeSquare 製品で代替不可のため游ゴシック 700 で表示） */
  --jp-display: 游ゴシック, "Yu Gothic", Verdana, "Source Han Sans JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, YuGothic, sans-serif;
  --script:  "Lexend Deca", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--jp-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 25px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ==========================================================================
   共通プリミティブ
   ========================================================================== */

/* 画像プレースホルダ（斜線入り × 枠） */
.wire-pic {
  position: relative;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--paper-2);
  overflow: hidden;
  display: block;
  min-height: 80px;
}
.wire-pic::before,
.wire-pic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}
.wire-pic::before {
  background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--ink) calc(50% - 0.5px), var(--ink) calc(50% + 0.5px), transparent calc(50% + 1px));
}
.wire-pic::after {
  background: linear-gradient(to bottom left, transparent calc(50% - 1px), var(--ink) calc(50% - 0.5px), var(--ink) calc(50% + 0.5px), transparent calc(50% + 1px));
}
.wire-pic > span {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 246, 239, 0.7);
  font-family: var(--script);
  font-size: 13px;
  color: var(--ink);
  opacity: 0.8;
  padding: 2px 10px;
  border-radius: 3px;
  width: fit-content;
  height: fit-content;
  z-index: 1;
}

/* 手書き風注釈（採用デザインの"Area" "Contact"等 英字ラベル用） */
.scribble {
  display: inline-block;
  font-family: var(--script);
  font-size: 16px;
  color: var(--accent);
}

/* 見出し系 */
.h-jp {
  font-family: var(--jp-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* ボタン（ワイヤーのWireBtn 相当）
   #Content スコープで詳細度を上げ、ベーステーマのリンク用スタイル
   （#Content a 等）に負けて縦中央寄せが崩れるのを防ぐ */
#Content .btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 160px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--jp-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  border-radius: 2px;
}
.btn::after { content: "→"; margin-left: 4px; }
.btn:hover { opacity: 0.85; }
#Content .btn.is-primary,
.btn.is-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
#Content .btn.is-inverse,
.btn.is-inverse {
  background: #fff;
  color: var(--accent);
}

/* 必須バッジ */
.badge-required {
  display: inline-block;
  font-family: var(--script);
  font-size: 11px;
  color: var(--danger);
  border: 1px solid var(--danger);
  padding: 0 5px;
  border-radius: 2px;
  line-height: 1.4;
  margin-left: 6px;
  vertical-align: middle;
}

/* NEW バッジ */
.badge-new {
  position: absolute;
  top: 6px; left: 6px;
  font-family: var(--jp-head);
  font-weight: 700;
  font-size: 10px;
  padding: 2px 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  z-index: 2;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   サイトヘッダー（Eight Labo 実物準拠）
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 1100;
  background: var(--paper);
  border-bottom: 1px solid var(--gray-2);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
/* 土地情報ページ等では従来通り sticky */
body.is-sticky-header .site-header { position: sticky; top: 0; }
.site-header__logo {
  display: block;
  flex-shrink: 0;
}
.site-header__logo img {
  display: block;
  height: 48px;
  width: auto;
}

.global-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  align-items: center;
}
.global-nav a {
  font-family: var(--jp-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.global-nav a.has-caret::after {
  content: "⌄";
  margin-left: 4px;
  font-size: 11px;
  vertical-align: middle;
  opacity: 0.7;
}
.global-nav a.is-current {
  color: var(--accent);
  font-weight: 700;
}
.global-nav a.is-current::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
}

.site-header__ctas {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 8px;
}
.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-family: var(--jp-head);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border: 0;
  border-radius: 4px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.15s;
}
.header-btn:hover { opacity: 0.85; text-decoration: none; }
.header-btn--event { background: #6a6a6a; }
.header-btn--catalog { background: var(--accent-soft); color: #fff; }
.header-btn--quote { background: var(--accent); }

/* レスポンシブ */
@media (max-width: 1180px) {
  .global-nav { gap: 20px; }
  .global-nav a { font-size: 13px; }
  .header-btn { padding: 10px 14px; font-size: 12px; }
}@media (max-width: 960px) {
  .site-header { flex-wrap: wrap; gap: 12px; padding: 10px 16px; }
  .site-header__logo img { height: 40px; }
  .global-nav { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: 12px; }
  .site-header__ctas { margin-left: auto; }
}@media (max-width: 520px) {
  .site-header__ctas { width: 100%; }
  .header-btn { flex: 1; padding: 10px 8px; font-size: 11px; }
}

/* ==========================================================================
   TOP: ヒーローセクション
   ========================================================================== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  border-bottom: 1.5px solid var(--ink);
}
.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 60px 20px;
  max-width: 760px;
}
.hero__sub {
  display: inline-block;
  font-family: var(--script);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent-soft);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero__title {
  font-family: var(--jp-head);
  font-size: 64px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1.2;
}
.hero__title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 24px auto 0;
}
.hero__lead {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}@media (max-width: 720px) {
  .hero { min-height: 360px; }
  .hero__title { font-size: 40px; }
  .hero__content { padding: 40px 20px; }
}

/* ==========================================================================
   TOP: デュアルエントリータイル
   ========================================================================== */
.dual-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1.5px solid var(--ink);
}
.dual-entry__tile {
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dual-entry__tile--a {
  background: var(--paper-2);
  border-right: 1.5px solid var(--ink);
}
.dual-entry__tile--b { background: var(--paper-3); }
.dual-entry__sub {
  font-family: var(--script);
  font-size: 12px;
  opacity: 0.7;
  margin-top: 2px;
}
.dual-entry__title {
  font-family: var(--jp-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.dual-entry__arrow {
  width: 48px; height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}@media (max-width: 720px) {
  .dual-entry { grid-template-columns: 1fr; }
  .dual-entry__tile--a { border-right: none; border-bottom: 1.5px solid var(--ink); }
}

/* ==========================================================================
   タグラインバンド + H1
   ========================================================================== */
.tagline-band {
  padding: 48px 56px 32px;
  text-align: center;
  background: var(--paper);
}
.tagline-band__copy1 {
  font-family: var(--script);
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 10px;
}
.tagline-band__copy2 {
  font-family: var(--script);
  font-size: 22px;
  color: var(--accent);
}
.tagline-band__divider {
  margin: 24px auto 0;
  width: 60px;
  height: 1px;
  background: var(--ink);
}
.tagline-band__h1 {
  font-family: var(--jp-head);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 24px 0 4px;
}
.tagline-band__h1-sub {
  font-family: var(--script);
  font-size: 15px;
  opacity: 0.65;
}

/* ==========================================================================
   ピックアップカルーセル
   ========================================================================== */
.pickup {
  padding: 24px 56px 48px;
}
.pickup__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pickup__title { font-family: var(--jp-head); font-size: 22px; font-weight: 600; }
.pickup__title-sub {
  font-family: var(--script);
  font-size: 15px;
  opacity: 0.75;
  margin-top: 2px;
}
.pickup__nav { display: flex; gap: 6px; }
.pickup__nav button {
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  background: transparent;
  border-radius: 2px;
  font-family: var(--jp-head);
  font-size: 16px;
  color: var(--ink);
}
.pickup__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.pickup-card {
  position: relative;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.pickup-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.pickup-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}
.pickup-card__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pickup-card__thumb {
  position: relative;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 4px 4px 0 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.pickup-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pickup-card__body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.pickup-card__title { font-family: var(--jp-head); font-size: 16px; font-weight: 700; line-height: 1.4; }
.pickup-card__loc {
  font-family: var(--jp-head);
  font-size: 14px;
  opacity: 0.75;
  margin-top: 4px;
}
.pickup-card__meta {
  margin-top: 10px;
  font-size: 15px;
  font-family: var(--jp-head);
}
.pickup-card__meta > div + div { margin-top: 4px; }
.pickup-card__meta .k { opacity: 0.6; margin-right: 6px; }
.pickup-card__tags {
  margin-top: 10px;
  font-family: var(--script);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.5;
}@media (max-width: 1100px) {
  .pickup__grid { grid-template-columns: repeat(3, 1fr); }
}@media (max-width: 700px) {
  .pickup { padding: 24px 24px 40px; }
  .pickup__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   統計バンド
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.stats__cell {
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.stats__cell--light {
  background: var(--paper-2);
  color: var(--ink);
  border-right: 1.5px solid var(--ink);
}
.stats__cell--solid {
  background: var(--accent);
  color: #fff;
}
.stats__label { font-family: var(--script); font-size: 15px; opacity: 0.8; }
.stats__cell--solid .stats__label { opacity: 0.85; }
.stats__title {
  font-family: var(--jp-head);
  font-size: 18px;
  font-weight: 700;
  margin-top: 2px;
}
.stats__num { margin-top: 10px; font-family: var(--jp-head); font-weight: 700; }
.stats__num strong { font-size: 56px; color: var(--accent); line-height: 1; }
.stats__cell--solid .stats__num strong { color: #fff; }
.stats__num span { font-size: 18px; margin-left: 6px; }
.stats__btn {
  padding: 12px 22px;
  border: 1.5px solid currentColor;
  font-family: var(--jp-head);
  font-size: 15px;
  font-weight: 700;
  color: inherit;
  white-space: nowrap;
}
.stats__btn::after { content: " →"; }@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .stats__cell--light { border-right: none; border-bottom: 1.5px solid var(--ink); }
}

/* ==========================================================================
   適合用途アイコングリッド
   ========================================================================== */
.uses {
  padding: 40px 56px;
  background: var(--paper);
}
.uses__head { text-align: center; margin-bottom: 24px; }
.uses__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.use-cell {
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  background: var(--paper);
}
.use-cell__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.use-cell:hover .use-cell__icon {
  background: var(--accent);
}
.use-cell__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}
.use-cell:hover .use-cell__icon svg {
  stroke: #fff;
}
.use-cell__name {
  font-family: var(--jp-head);
  font-size: 14px;
  font-weight: 700;
}@media (max-width: 900px) {
  .uses__grid { grid-template-columns: repeat(4, 1fr); }
}@media (max-width: 480px) {
  .uses { padding: 32px 24px; }
  .uses__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   地図から探す
   ========================================================================== */
.map-search {
  padding: 8px 56px 48px;
  background: var(--paper);
}
.map-search__head {
  text-align: center;
  margin-bottom: 18px;
}
.map-search__title {
  font-size: 26px;
  margin-top: 6px;
}
.map-search__lead {
  margin: 8px 0 0;
  font-family: var(--jp-body);
  font-size: 14px;
  opacity: 0.75;
}
.map-search__map {
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: 440px;
  width: 100%;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-2);
}@media (max-width: 720px) {
  .map-search { padding: 0 24px 40px; }
  .map-search__map { height: 360px; }
}

/* オレンジのピン（divIcon） */
.property-pin {
  background: transparent;
  border: 0;
}
.property-pin__inner {
  display: block;
  width: 28px;
  height: 36px;
  position: relative;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.property-pin__inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
}
.property-pin__inner::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid var(--accent);
}
.property-pin__dot {
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  z-index: 1;
}

/* Leaflet ポップアップ内のスタイル */
.map-popup {
  font-family: var(--jp-head);
  min-width: 180px;
}
.map-popup__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.map-popup__meta {
  font-size: 13px;
  color: var(--gray-1);
  margin-top: 4px;
}
.map-popup__link {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
}
.map-popup__link:hover { opacity: 0.85; }

/* 画像未準備プレースホルダー（写真がまだ無い物件用） */
.placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: repeating-linear-gradient(
    45deg,
    var(--paper-2),
    var(--paper-2) 12px,
    var(--paper-3) 12px,
    var(--paper-3) 24px
  );
  color: var(--gray-1);
  font-family: var(--jp-head);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.04em;
}
.placeholder-img::before {
  content: "🏞";
  font-size: 32px;
  opacity: 0.5;
}
.placeholder-img__sub {
  font-family: var(--script);
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
}

/* スクロール先ハイライト */
.listing.is-highlight {
  background: rgba(239, 128, 0, 0.12);
  outline: 2px solid var(--accent);
  transition: background 0.3s, outline-color 0.3s;
}

/* ==========================================================================
   物件リスト + サイドバー
   ========================================================================== */
.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-top: 1.5px solid var(--ink);
}
.listings {
  padding: 32px 56px 32px 36px;
  border-left: 1.5px solid var(--ink);
}
.listing {
  position: relative;
  margin-bottom: 32px;
  transition: background 0.15s;
  padding: 12px;
  border-radius: 4px;
}
.listing:hover { background: var(--paper-2); }
.listing__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}
.listing__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.listing__title,
.listing__note,
.listing__body,
.listing__cta { position: relative; z-index: 2; pointer-events: none; }
.listing__cta a,
.listing__body a,
.listing__tags-outline,
.listing .chip,
.listing__spec a { pointer-events: auto; }
.listing__title {
  font-family: var(--jp-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.listing__note {
  font-family: var(--jp-body);
  font-size: 16px;
  opacity: 0.88;
  margin-top: 10px;
  line-height: 1.85;
}
.listing__body {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  margin-top: 16px;
}
.listing__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.listing__spec { border-collapse: collapse; font-family: var(--jp-head); font-size: 15px; width: 100%; }
.listing__spec th,
.listing__spec td {
  padding: 10px 12px;
  border-bottom: 1px dashed var(--ink);
  text-align: left;
  vertical-align: top;
}
.listing__spec th {
  width: 110px;
  font-weight: 700;
  background: var(--paper-3);
}
.listing__spec tr:nth-child(even) th { background: var(--paper-2); }
.listing__spec td .tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.listing__tags-outline {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.listing__tags-outline .chip {
  font-family: var(--jp-head);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.tag-outline {
  font-family: var(--jp-head);
  font-size: 13px;
  font-weight: 500;
  padding: 3px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 3px;
}
.listing__cta {
  margin-top: 18px;
  text-align: right;
}
.listing__cta-btn {
  min-width: 220px;
  height: 56px;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.listing__cta-btn::after { font-size: 18px; }

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.pagination a, .pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  font-family: var(--jp-head);
  font-size: 13px;
}
.pagination .is-current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* サイドバー */
.side {
  padding: 24px;
  background: var(--paper-2);
}
.side__block {
  margin-bottom: 18px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.side__block-title {
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--jp-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.side__block ul { list-style: none; margin: 0; padding: 0; }
.side__block li {
  border-bottom: 1px dashed var(--ink);
  white-space: pre;
}
.side__block li:last-child { border-bottom: none; }
.side__block li a,
.side__block li span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-family: var(--jp-head);
  font-size: 15px;
  color: var(--ink);
}
.side__block li a:hover { background: var(--paper-2); opacity: 1; color: var(--accent); }
.side__block li a::after,
.side__block li span::after { content: "›"; opacity: 0.5; margin-left: 8px; }
.side__block li a.is-current { background: #fde4cc; color: var(--accent); font-weight: 700; }
.side__block li a.is-current::after { content: "✓"; opacity: 1; color: var(--accent); }
.side__block li a.is-current:hover { background: #fcd6b0; color: var(--accent); }

/* 絞り込み中バナー（hidden 属性を確実に効かせる） */
.filter-banner[hidden],
.no-results[hidden] { display: none !important; }
.filter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  font-family: var(--jp-head);
  font-size: 15px;
}
.filter-banner strong { font-weight: 700; margin-left: 6px; }
.filter-banner__clear {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border: 1.5px solid #fff;
  border-radius: 2px;
  color: #fff;
  white-space: nowrap;
}
.filter-banner__clear:hover { background: #fff; color: var(--accent); opacity: 1; }

/* 該当なしメッセージ */
.no-results {
  padding: 40px 24px;
  text-align: center;
  background: var(--paper-2);
  border: 1px dashed var(--gray-2);
  font-family: var(--jp-head);
  font-size: 15px;
  color: var(--gray-1);
}

/* areas chips をリンク化 */
.areas__cities a.chip {
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.areas__cities a.chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); opacity: 1; }
.side__banners {
  display: grid;
  gap: 10px;
}
.side__banners .wire-pic { height: 70px; }@media (max-width: 960px) {
  .listings-layout { grid-template-columns: 1fr; }
  .listings { border-left: none; border-top: 1.5px solid var(--ink); padding: 32px 24px; }
  .listing__body { grid-template-columns: 1fr; }
  .listing__thumb { height: 180px; }
}

/* ==========================================================================
   エリアで探す
   ========================================================================== */
.areas {
  padding: 56px;
  border-top: 1.5px solid var(--ink);
  background: var(--paper-2);
}
.areas__head { text-align: center; margin-bottom: 32px; }
.areas__head .h-jp { font-size: 26px; margin-top: 6px; }
.areas__pref { margin-bottom: 28px; }
.areas__pref-name {
  font-family: var(--jp-head);
  font-size: 18px;
  font-weight: 600;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}
.areas__regions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.areas__region-name {
  font-family: var(--jp-head);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--accent);
}
.areas__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.areas__cities .chip {
  font-family: var(--jp-head);
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--ink);
  background: var(--paper);
  border-radius: 2px;
}@media (max-width: 900px) {
  .areas { padding: 40px 24px; }
  .areas__regions { grid-template-columns: repeat(2, 1fr); }
}@media (max-width: 520px) {
  .areas__regions { grid-template-columns: 1fr; }
}

/* ==========================================================================
   非公開物件 CTA
   ========================================================================== */
.hidden-cta {
  padding: 48px 56px;
  text-align: center;
  border-top: 1.5px solid var(--ink);
  background: var(--accent);
  color: #fff;
}
.hidden-cta h2 {
  font-family: var(--jp-head);
  font-size: 24px;
  margin: 0;
  color: #fff;
}
.hidden-cta p {
  font-family: var(--jp-body);
  font-size: 15px;
  margin: 10px 0 22px;
  opacity: 0.92;
}
.hidden-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 50px;
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--ink);
  font-family: var(--jp-head);
  font-weight: 700;
}
.hidden-cta__btn::after { content: "→"; margin-left: 6px; }

/* ==========================================================================
   フッター問合せバナー（コンタクトセクション）
   ========================================================================== */
.contact-band {
  padding: 56px;
  text-align: center;
  border-top: 1.5px solid var(--ink);
  background: var(--paper-3);
}
.contact-band h2 {
  font-family: var(--jp-head);
  font-size: 24px;
  margin: 6px 0 0;
}
.contact-band__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}
.contact-band__btns .btn { min-width: 220px; height: 48px; }
.contact-band__tel {
  margin-top: 26px;
  font-family: var(--jp-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.contact-band__hours {
  font-family: var(--jp-body);
  font-size: 13px;
  opacity: 0.75;
  margin-top: 4px;
}@media (max-width: 640px) {
  .contact-band { padding: 40px 24px; }
  .contact-band__tel { font-size: 22px; }
}

/* ==========================================================================
   サイトフッター
   ========================================================================== */
.site-footer {
  border-top: 1.5px solid var(--ink);
  padding: 40px 56px 24px;
  background: var(--footer-bg);
  color: var(--footer-fg);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer__grid h3 { font-family: var(--jp-head); font-weight: 700; font-size: 15px; margin: 0 0 10px; color: var(--accent-soft); }
.site-footer__grid .h-jp { font-size: 19px; color: var(--footer-fg); }
.site-footer__grid p { font-family: var(--jp-body); font-size: 13px; opacity: 0.88; margin: 8px 0 0; color: var(--footer-fg); }
.site-footer__grid ul { list-style: none; margin: 10px 0 0; padding: 0; font-family: var(--jp-body); font-size: 13px; }
.site-footer__grid li { padding: 3px 0; opacity: 0.88; color: var(--footer-fg); }
.site-footer__copy {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--script);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--footer-fg);
  opacity: 0.6;
  text-transform: uppercase;
}@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}@media (max-width: 520px) {
  .site-footer { padding: 32px 24px 20px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   詳細ページ
   ========================================================================== */
.breadcrumb {
  padding: 14px 56px;
  border-bottom: 1px dashed var(--ink);
  background: var(--paper-2);
  font-family: var(--script);
  font-size: 13px;
  color: var(--ink);
  opacity: 0.92;
}
.breadcrumb strong { color: var(--accent); }@media (max-width: 640px) {
  .breadcrumb { padding: 12px 24px; font-size: 11px; }
}

.detail-title {
  padding: 32px 56px 20px;
}
.detail-title__sub {
  font-family: var(--script);
  font-size: 16px;
  color: var(--accent);
}
.detail-title h1 {
  font-family: var(--jp-head);
  font-size: 34px;
  font-weight: 600;
  margin: 8px 0 0;
  letter-spacing: 0.02em;
}
.detail-title__lead {
  margin-top: 12px;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.85;
}
.detail-title__tags {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-title__tags .chip {
  font-family: var(--script);
  font-size: 12px;
  padding: 3px 10px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 2px;
}

.detail-body {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  padding: 0 56px 56px;
}
.detail-body > article { order: 2; min-width: 0; }
.detail-body > .detail-side { order: 1; }
@media (max-width: 960px) {
  .detail-title { padding: 28px 24px 16px; }
  .detail-title h1 { font-size: 26px; }
  .detail-body { grid-template-columns: 1fr; padding: 0 24px 40px; }
  /* スマホは1カラム：物件情報を上、サイドバーを下に */
  .detail-body > article { order: 1; }
  .detail-body > .detail-side { order: 2; }
}

/* ギャラリー */
.gallery__main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 640px;
  overflow: hidden;
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  background: var(--paper-2);
}
.gallery__main img {
  display: block;
  max-width: 100%;
  max-height: 640px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.gallery-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb:hover { border-color: var(--accent); }
.gallery-thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.gallery-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.gallery__thumbs .wire-pic { height: 70px; }@media (max-width: 640px) {
  .gallery__main { min-height: 220px; max-height: 360px; }
  .gallery__main img { max-height: 360px; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}

/* スペックテーブル */
.spec-section { margin-top: 32px; }
.spec-section h2,
.map-section h2,
.inline-form h2 {
  font-family: var(--jp-head);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.spec-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-family: var(--jp-head);
  font-size: 13px;
}
.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px dashed var(--ink);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 140px;
  font-weight: 600;
}
.spec-table tr:nth-child(odd) th { background: var(--paper-3); }
.spec-table tr:nth-child(even) th { background: var(--paper-2); }@media (max-width: 640px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td {
    display: block;
    width: 100%;
  }
  .spec-table th { padding-bottom: 4px; }
  .spec-table td { padding-top: 4px; padding-bottom: 12px; }
}

.map-section { margin-top: 32px; }
.map-section .wire-pic { height: 280px; margin-top: 12px; }

/* インライン問合せフォーム */
.inline-form {
  margin-top: 40px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 28px;
  background: var(--paper-2);
}
.inline-form__row { margin-top: 18px; }
.inline-form__label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-family: var(--jp-head);
  font-size: 13px;
  font-weight: 600;
}
.inline-form input[type="text"],
.inline-form input[type="email"],
.inline-form input[type="tel"],
.inline-form textarea {
  width: 100%;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  font-family: var(--jp-head);
  font-size: 13px;
  padding: 10px 12px;
  color: var(--ink);
}
.inline-form textarea { min-height: 100px; resize: vertical; }
.inline-form__radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.inline-form__radio {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-family: var(--jp-head);
  font-size: 12px;
  padding: 6px 10px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: 2px;
  cursor: pointer;
}
.inline-form__radio input { appearance: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); margin: 0; }
.inline-form__radio input:checked { background: var(--accent); box-shadow: inset 0 0 0 2px var(--paper); }
.inline-form__submit {
  margin-top: 22px;
  text-align: center;
}
.inline-form__submit .btn { min-width: 220px; height: 48px; }

.back-link {
  margin-top: 28px;
  text-align: center;
  font-family: var(--script);
  font-size: 14px;
  color: var(--accent);
}

/* 詳細ページサイドバー */
.detail-side {
  position: sticky;
  top: 80px;
  align-self: start;
}
.detail-side__cta {
  border: 1.5px solid var(--ink);
  background: var(--accent);
  color: #fff;
  padding: 18px;
  border-radius: 4px;
}
.detail-side__cta .scribble { color: var(--accent-soft); }
.detail-side__cta h3 {
  font-family: var(--jp-head);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 4px 0 14px;
}
.detail-side__cta-btns { display: flex; flex-direction: column; gap: 10px; }
.detail-side__cta-btns a {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 10px 12px;
  font-family: var(--jp-head);
  font-size: 13px;
  text-align: center;
  border-radius: 2px;
}

.detail-side__block {
  margin-top: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
}
.detail-side__block-title {
  padding: 10px 14px;
  background: var(--paper-3);
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--jp-head);
  font-weight: 700;
  font-size: 13px;
}
.detail-side__block ul { list-style: none; margin: 0; padding: 8px 0; }
.detail-side__block li {
  border-bottom: 1px dashed var(--ink);
}
.detail-side__block li:last-child { border-bottom: none; }
.detail-side__block li a,
.detail-side__block li span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  font-family: var(--jp-head);
  font-size: 12px;
  color: var(--ink);
}
.detail-side__block li a:hover { background: var(--paper-2); color: var(--accent); opacity: 1; }
.detail-side__block li a::after,
.detail-side__block li span::after { content: "→"; opacity: 0.5; margin-left: 6px; }

/* ===== エリアから探す：富山県・各市町村まで常態表示、町名はアコーディオン ===== */
.area-tree,
.area-tree ul { list-style: none; margin: 0; padding: 0; }
.area-tree > li { white-space: normal; }
.area-tree summary { list-style: none; cursor: pointer; }
.area-tree summary::-webkit-details-marker { display: none; }
.area-tree summary::marker { content: ""; }

/* 市町村サマリー：リンク（左）＋開閉キャレット（右） */
.area-tree details > summary {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.area-tree details > summary > a { flex: 1 1 auto; }
.detail-side__block .area-tree summary > a::after,
.side__block .area-tree summary > a::after { content: ""; margin: 0; }
.area-tree details > summary::after {
  content: "▾";
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 12px;
  opacity: 0.5;
  transition: transform 0.18s ease;
}
.area-tree details[open] > summary::after { transform: rotate(180deg); }
.area-tree details > summary:hover::after { opacity: 1; color: var(--accent); }

/* 第3階層（町名）の入れ子リスト：UA実装に依存せず明示的に開閉 */
.area-tree details > ul { display: none; background: var(--paper-2); border-top: 1px dashed var(--ink); }
.area-tree details[open] > ul { display: block; }

/* 階層インデント（コンテキスト別に基準ルールへ確実に勝たせる） */
.detail-side__block .area-tree summary > a { padding-left: 28px; }
.detail-side__block .area-tree details ul a { padding-left: 38px; }
.side__block .area-tree summary > a { padding-left: 32px; }
.side__block .area-tree details ul a { padding-left: 44px; }

/* Google マップ埋め込み（旧スタイル・後方互換） */
.map-embed {
  margin-top: 12px;
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-2);
}
.map-embed iframe { display: block; width: 100%; }

/* 詳細ページ：Leaflet 単一物件マップ */
.detail-map {
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: 360px;
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-2);
}
.map-open-external {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--jp-head);
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
}
.map-open-external:hover { opacity: 0.85; color: #fff; }

.detail-side__banners {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.detail-side__banners .wire-pic { height: 80px; }@media (max-width: 960px) {
  .detail-side { position: static; }
}

/* 関連物件 */
.related {
  padding: 48px 56px;
  background: var(--paper-2);
  border-top: 1.5px solid var(--ink);
}
.related__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.related__num {
  font-family: var(--script);
  font-size: 14px;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 2px 10px;
}
.related__title {
  font-family: var(--jp-head);
  font-size: 26px;
  font-weight: 600;
}
.related__title-en {
  font-family: var(--script);
  font-size: 13px;
  color: var(--ink);
  opacity: 0.55;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.related-card {
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
}
.related-card__thumb {
  border-bottom: 1.5px solid var(--ink);
  border-radius: 4px 4px 0 0;
  height: 150px;
  overflow: hidden;
  background: var(--paper-2);
}
.related-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.related-card:hover .related-card__thumb img { transform: scale(1.04); }
.related-card__body { padding: 12px; }
.related-card__meta {
  font-family: var(--script);
  font-size: 10px;
  color: var(--accent);
}
.related-card__title {
  font-family: var(--jp-head);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}
.related-card__desc {
  margin-top: 8px;
  font-family: var(--jp-body);
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.7;
}@media (max-width: 960px) {
  .related { padding: 40px 24px; }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
}@media (max-width: 520px) {
  .related__grid { grid-template-columns: 1fr; }
}

/* ラストCTA */
.last-cta {
  padding: 56px;
  background: var(--paper-3);
  text-align: center;
  border-top: 1.5px solid var(--ink);
}
.last-cta h2 {
  font-family: var(--jp-head);
  font-size: 22px;
  font-weight: 600;
  margin: 6px 0 0;
}
.last-cta__tel {
  margin-top: 18px;
  font-family: var(--jp-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
}
.last-cta__hours {
  font-family: var(--jp-body);
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}@media (max-width: 640px) {
  .last-cta { padding: 40px 24px; }
  .last-cta__tel { font-size: 22px; }
}

/* ==========================================================================
   トップページ（Eight Labo ホーム） — 元サイト準拠
   ========================================================================== */

/* セクション見出し（実物：新ゴM 30px / weight 700 / 色 #595656 + EN小） */
.section-title {
  font-family: var(--jp-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--gray-1);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0 0 28px;
}
.section-title span {
  display: block;
  font-family: var(--script);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-top: 4px;
}
.section-title--white { color: #fff; }
.section-title--white span { color: rgba(255,255,255,0.85); }

.home-more {
  font-family: var(--jp-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.home-more-center {
  margin-top: 28px;
  text-align: center;
}
.home-more-center .btn {
  min-width: 240px;
  height: 48px;
}

/* ===== 固定ヘッダー（スクロール時のみ表示） ===== */
.fix-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 70px;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 18px;
  transform: translateY(-100%);
  transition: transform 0.28s ease;
}
.fix-header.is-visible { transform: translateY(0); }
.fix-header__logo img { height: 36px; width: auto; display: block; }
.fix-header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.fix-header__nav a {
  font-family: var(--jp-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.fix-header__cta {
  display: flex;
  gap: 6px;
  margin-left: 14px;
}
.fix-header__cta a {
  font-family: var(--jp-head);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
  color: #fff;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.fix-header__cta a.is-event { background: #6a6a6a; }
.fix-header__cta a.is-catalog { background: var(--accent-soft); }
.fix-header__cta a.is-quote { background: var(--accent); }@media (max-width: 1100px) {
  .fix-header__nav { gap: 14px; }
  .fix-header__nav a { font-size: 12px; }
}@media (max-width: 860px) {
  .fix-header__nav { display: none; }
}

/* ----- ヒーロー（元サイト準拠：60% スケール / contain / 背景色あり） ----- */
.home-hero {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  background: #f3eee6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero__stage {
  position: relative;
  width: 60%;
  max-width: 900px;
  aspect-ratio: 1495 / 674;
}
.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.home-hero__slide.is-active { opacity: 1; z-index: 2; }
.home-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.home-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.home-hero__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: rgba(255,255,255,0.7);
  padding: 0;
}
.home-hero__dots button.is-active { background: var(--accent); border-color: var(--accent); }@media (max-width: 900px) {
  .home-hero { height: 480px; }
  .home-hero__stage { width: 86%; }
}@media (max-width: 520px) {
  .home-hero { height: 360px; }
  .home-hero__stage { width: 92%; }
}

/* ----- NEWS 帯（ヒーロー直下） ----- */
.news-band {
  position: relative;
  z-index: 4;
  background: rgba(255,255,255,0.95);
  border-top: 1px solid var(--gray-2);
}
.news-band__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 32px;
  display: grid;
  grid-template-columns: 130px 1fr 80px;
  align-items: center;
  gap: 18px;
}
.news-band__label {
  font-family: var(--jp-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.news-band__label small {
  display: block;
  font-family: var(--script);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink);
  opacity: 0.7;
}
.news-band__list { display: flex; flex-direction: column; gap: 2px; max-height: 84px; overflow: hidden; }
.news-band__list a {
  display: grid;
  grid-template-columns: 100px 86px 1fr;
  gap: 14px;
  align-items: center;
  padding: 4px 0;
  font-family: var(--jp-head);
  font-size: 13px;
  line-height: 1.5;
}
.news-band__list time { font-family: var(--script); font-weight: 600; color: var(--ink); opacity: 0.7; font-size: 12px; }
.news-band__list .news-band__cat {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: #fff;
}
.news-band__list .news-band__title { font-weight: 500; color: var(--ink); }
.news-band__more {
  font-family: var(--script);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}@media (max-width: 720px) {
  .news-band__inner { grid-template-columns: 1fr; gap: 8px; padding: 14px 20px; }
  .news-band__list { max-height: none; }
  .news-band__list a { grid-template-columns: 80px 70px 1fr; font-size: 12px; }
}

/* ----- CATALOG（フル幅近く・3バナー 1.4x 拡大） ----- */
.home-catalog { background: var(--paper); padding: 80px 0 64px; }
.home-catalog__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 40px;
}
.home-catalog__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
  width: 100%;
}
.catalog-banner {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.catalog-banner img { width: 100%; height: auto; display: block; transition: transform 0.4s; }
.catalog-banner:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); opacity: 1; }
.catalog-banner:hover img { transform: scale(1.04); }@media (max-width: 900px) {
  .home-catalog__inner { padding: 0 24px; }
  .home-catalog__cards { grid-template-columns: 1fr; gap: 14px; }
}

/* ----- LINEUP（フル幅近く・画像背景カード 1.3x 拡大） ----- */
.home-lineup { background: var(--paper); padding: 80px 0 96px; }
.home-lineup__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 40px;
}
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
  width: 100%;
}
.lineup-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: #000;
  aspect-ratio: 4 / 3;
}
.lineup-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.3s;
  filter: brightness(0.78);
}
.lineup-card:hover img { transform: scale(1.06); filter: brightness(0.55); opacity: 1; }
.lineup-card__label {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--jp-display);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  white-space: nowrap;
  z-index: 2;
}
.lineup-card__sub {
  position: absolute;
  left: 0; right: 0;
  bottom: 18px;
  text-align: center;
  font-family: var(--script);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.85);
  z-index: 2;
}@media (max-width: 1280px) {
  .lineup-card__label { font-size: 24px; }
}@media (max-width: 960px) {
  .home-lineup__inner { padding: 0 24px; }
  .lineup-grid { grid-template-columns: repeat(2, 1fr); }
  .lineup-card__label { font-size: 20px; }
}@media (max-width: 560px) {
  .lineup-grid { grid-template-columns: 1fr; }
}

/* ----- EVENT（フル幅レイアウト） ----- */
.home-event { background: var(--paper-2); padding: 80px 0 88px; }
.home-event__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.event-card {
  display: grid;
  grid-template-columns: 50% 1fr;
  background: var(--paper);
  overflow: hidden;
  border: 0;
}
.event-card__thumb { position: relative; min-height: 520px; overflow: hidden; }
.event-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 14px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-family: var(--jp-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.event-card__body { padding: 60px 80px; align-self: center; }
.event-card__cat {
  display: inline-block;
  font-family: var(--jp-head);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 4px 12px;
  letter-spacing: 0.05em;
}
.event-card__title {
  font-family: var(--jp-display);
  font-size: 28px;
  font-weight: 700;
  margin: 14px 0 18px;
  line-height: 1.5;
  color: var(--accent-2);
}
.event-card__desc { font-family: var(--jp-body); font-size: 14px; line-height: 1.9; opacity: 0.85; margin: 0 0 18px; }
.event-card__meta { display: flex; flex-direction: column; gap: 8px; margin: 0 0 22px; padding: 0; }
.event-card__meta > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  font-family: var(--jp-head);
  font-size: 14px;
  align-items: baseline;
}
.event-card__meta dt {
  margin: 0;
  font-weight: 700;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}
.event-card__meta dd { margin: 0; }
.event-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 46px;
  background: #fff;
  border: 1.5px solid var(--ink);
  font-family: var(--jp-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 0 22px;
}
.event-card__btn::after { content: " →"; margin-left: 4px; color: var(--accent); }@media (max-width: 900px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card__thumb { min-height: 280px; }
  .event-card__body { padding: 36px 28px; }
  .event-card__title { font-size: 22px; }
}

/* ----- WORKS（フル幅・カード拡大） ----- */
.home-works { background: var(--paper); padding: 80px 0 96px; }
.home-works__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 40px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 16px;
  width: 100%;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.work-card:hover { opacity: 1; }
.work-card:hover .work-card__title { color: var(--accent); }
.work-card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.work-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.work-card:hover .work-card__thumb img { transform: scale(1.06); }
.work-card__cat {
  margin-top: 14px;
  font-family: var(--jp-head);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  display: inline-block;
  align-self: flex-start;
  padding: 4px 14px;
  letter-spacing: 0.04em;
}
.work-card__title { font-family: var(--jp-display); font-size: 18px; font-weight: 700; margin-top: 8px; line-height: 1.5; color: var(--accent-2); transition: color 0.15s; }
.work-card__loc { font-family: var(--jp-body); font-size: 13px; opacity: 0.65; margin-top: 4px; }@media (max-width: 1100px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}@media (max-width: 760px) {
  .home-works__inner { padding: 0 24px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}@media (max-width: 480px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* ----- CONTENTS（フル幅・カード拡大） ----- */
.home-contents { background: var(--paper-2); padding: 80px 0 96px; }
.home-contents__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 40px;
}
.contents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
  width: 100%;
}
.content-card {
  position: relative;
  display: block;
  background: var(--paper);
  border: 1px solid var(--gray-2);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.content-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s, filter 0.3s;
  filter: brightness(0.7);
}
.content-card:hover img { transform: scale(1.05); filter: brightness(0.5); opacity: 1; }
.content-card__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  color: #fff;
  z-index: 2;
}
.content-card__sub {
  font-family: var(--script);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.85);
}
.content-card__title {
  font-family: var(--jp-display);
  font-size: 26px;
  font-weight: 700;
  margin: 8px 0 12px;
  color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}
.content-card__lead {
  font-family: var(--jp-body);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin: 0 0 14px;
  max-width: 320px;
}
.content-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--script);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  padding: 4px 16px;
  border-radius: 2px;
}
.content-card--feature { box-shadow: 0 8px 22px rgba(239,128,0,0.32); border-color: var(--accent); }@media (max-width: 960px) {
  .home-contents__inner { padding: 0 24px; }
  .contents-grid { grid-template-columns: repeat(2, 1fr); }
  .content-card__title { font-size: 20px; }
}@media (max-width: 560px) {
  .contents-grid { grid-template-columns: 1fr; }
}

/* ----- CTA画像バナー（カタログ / 見積 2枚） ----- */
.home-cta-band { background: var(--paper); padding: 64px 0 24px; }
.home-cta-band__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.home-cta-band__btn {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.home-cta-band__btn img { width: 100%; height: auto; display: block; transition: transform 0.4s; }
.home-cta-band__btn:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.12); opacity: 1; }
.home-cta-band__btn:hover img { transform: scale(1.03); }@media (max-width: 720px) {
  .home-cta-band__inner { grid-template-columns: 1fr; padding: 0 24px; gap: 14px; }
}

/* ----- 相談・お問い合わせ ----- */
.home-contact { background: var(--accent-2); padding: 64px 24px; text-align: center; color: #fff; }
.home-contact__inner { max-width: 820px; margin: 0 auto; }
.home-contact .section-title { color: #fff; }
.home-contact .section-title span { color: var(--accent-soft); }
.home-contact__lead { font-family: var(--jp-body); font-size: 14px; opacity: 0.85; margin: 0 0 24px; line-height: 1.9; }
.home-contact__tel {
  font-family: var(--jp-display);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 8px 0 4px;
  line-height: 1.2;
}
.home-contact__tel a { color: inherit; }
.home-contact__tel-icon { margin-right: 10px; font-size: 36px; color: var(--accent-soft); }
.home-contact__hours { font-family: var(--jp-body); font-size: 13px; opacity: 0.85; }
.home-contact__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.home-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 52px;
  background: #fff;
  color: var(--accent-2);
  font-family: var(--jp-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0 22px;
  border-radius: 3px;
}
.home-contact__btn::after { content: " →"; margin-left: 6px; color: var(--accent); }
.home-contact__btn--mail { background: var(--accent); color: #fff; }
.home-contact__btn--mail::after { color: #fff; }@media (max-width: 520px) {
  .home-contact__tel { font-size: 32px; }
  .home-contact__tel-icon { font-size: 26px; }
}

/* スマホ：PC と同じくオレンジラインを敷き、画像を少し小さめで表示 */
@media (max-width: 720px) {
  .fix-bana--image { background: transparent; }
  .fix-bana--image .fix-bana__imglink {
    max-width: calc(100% - 32px);
    padding: 8px 0;
    margin: 0;
  }
  .fix-bana--image::before {
    display: block;
    top: 70%;
    height: 60%;
  }
}

/* ページTOPに戻る丸ボタン */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 997;
  width: 46px; height: 46px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: rgba(0,0,0,0.8); }

/* （土地情報ページではフローティングバナーを出さないため、下部の余分な余白は設けない） */

/* ==========================================================================
   ユーティリティ
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }

/* ==========================================================================
   WordPress 統合用オーバーライド（land 画面でのみ読み込み）
   - テーマの #PageHead 見出しバナー（.PageHeadImg）は新デザインのヒーロー/
     詳細タイトルと重複するため非表示にする（#PageHead 内のグローバルナビは残す）
   - .listing__sold / .is-sold（売却済バッジ）
   ========================================================================== */
#PageHead .PageHeadImg { display: none; }
.land-page { margin: 0; }
.listing__sold,
.detail-title .listing__sold {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #888;
  border-radius: 4px;
  vertical-align: middle;
}
.listing.is-sold { opacity: 0.72; }
.plan-section { margin-top: 28px; }
.plan-figure img { width: 100%; height: auto; border: 1px solid var(--line, #e3ded6); border-radius: 8px; }
.inline-form__lead { margin: 4px 0 12px; }
.inline-form__tekigo { margin: 0 0 16px; font-weight: 700; }
.land-pagination { max-width: 1200px; margin: 8px auto 0; padding: 0 20px; }
