@charset "UTF-8";
/* ============================================================
   ※ このサイトのルート文字サイズは 16px（62.5% ではない）。1rem = 16px
   土地情報（/land/・/land/<ID>/・TOP の Land 枠）  2026-11-02
   inc/land.php で TOP・一覧・詳細のときだけ読み込む
   ============================================================ */
:root {
  --land-green: #7faba9;
  --land-green-dark: #5f8e8c;
  --land-ink: #3e3a39;
  --land-line: #e3e3df;
  --land-bg: #f6f5f1;
}

/* ---------- 状態ラベル ---------- */
.land-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 2px;
  background: var(--land-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  white-space: nowrap;
}
.land-badge--nego { background: #c79a4b; }
.land-badge--sold { background: #9a9a9a; }

/* ---------- カード（一覧・TOP 共通） ---------- */
.land-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.land-card { margin: 0; padding: 0; }
.land-card a { display: block; color: inherit; text-decoration: none; }
.land-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--land-bg);
}
.land-card__img span:not(.land-badge) {  /* 写真の span だけ。ラベルの span まで背景が消されていた */
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  transition: transform .6s ease;
}
.land-card a:hover .land-card__img span:not(.land-badge) { transform: scale(1.04); }
.land-card__img .land-badge { position: absolute; top: 16px; left: 16px; z-index: 1; }
.land-card__body { padding-top: 16px; }
.land-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
}
.land-card__meta {
  margin: 8px 0 0;
  color: #777;
  font-size: 0.875rem;
  line-height: 1.6;
}
.land-card.is-sold .land-card__img span:not(.land-badge) { filter: grayscale(.7); opacity: .75; }

/* ---------- TOP ---------- */
.section-land { padding: 40px 0 88px; }
.section-land .section-title { margin-bottom: 40px; }
.section-land .land-cards { margin-bottom: 48px; }

/* ---------- 一覧 ---------- */
.land-archive { width: 92%; max-width: 1250px; margin: 0 auto; padding: 64px 0 96px; }
.land-archive__lead { margin: 0 0 56px; font-size: 1rem; line-height: 2; text-align: center; }
.land-archive__empty { margin: 0 0 48px; padding: 48px 24px; background: var(--land-bg); font-size: 1rem; line-height: 2; text-align: center; }

/* ---------- 問い合わせ枠 ---------- */
.land-cta {
  margin: 80px auto 0;
  padding: 48px 24px;
  background: var(--land-bg);
  text-align: center;
}
.land-cta__txt { margin: 0 0 24px; font-size: 1rem; line-height: 1.9; }

/* ---------- 詳細 ---------- */
.land-single { width: 92%; max-width: 1000px; margin: 0 auto; padding: 64px 0 80px; }
/* テーマ共通の section { padding: 80px 0 } を詳細ページ内では打ち消す（見出しの上だけ従来どおり残す） */
.land-single section { padding: 0; }
.land-single .land-head { padding-top: 80px; }
.land-head { margin-bottom: 16px; }
.land-head__meta { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
.land-head__city { color: #777; font-size: 0.9375rem; font-weight: 700; letter-spacing: .08em; }
.land-head__title { margin: 0; font-size: 1.75rem; font-weight: 700; line-height: 1.5; }
.land-head__catch { margin: 24px 0 0; font-size: 1.0625rem; line-height: 1.9; }

.land-gallery { margin-bottom: 40px; }
.land-gallery__main .swiper-slide { aspect-ratio: 3 / 2; }
.land-gallery__main .swiper-slide img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
.land-gallery__main .swiper-button-prev,
.land-gallery__main .swiper-button-next { color: #fff; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .4)); }
.land-gallery__thumbs { margin-top: 8px; }
.land-gallery__thumbs .swiper-slide { width: 96px; aspect-ratio: 1; cursor: pointer; opacity: .5; transition: opacity .3s; }
.land-gallery__thumbs .swiper-slide-thumb-active { opacity: 1; }
.land-gallery__thumbs img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }

.land-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 0 0 56px;
  border-top: 2px solid var(--land-green);
  border-bottom: 1px solid var(--land-line);
}
.land-facts__item { padding: 20px 24px; border-right: 1px solid var(--land-line); }
.land-facts__item:last-child { border-right: 0; }
.land-facts dt { margin: 0 0 6px; color: var(--land-green-dark); font-size: 0.8125rem; font-weight: 700; letter-spacing: .08em; }
.land-facts dd { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.6; }
.land-facts__item--price dd { font-size: 1.375rem; }

.land-sec { margin-bottom: 56px; }
.land-sec__title {
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 4px solid var(--land-green);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}
.land-body { font-size: 1rem; line-height: 2; }
.land-body img { max-width: 100%; height: auto; }

.land-plan { margin: 0 0 24px; }
.land-plan img { display: block; max-width: 100%; height: auto; margin: 0 auto; }

.land-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.land-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.land-table th,
.land-table td { padding: 14px 12px; border-bottom: 1px solid var(--land-line); text-align: center; }
.land-table th { background: var(--land-bg); font-weight: 700; }
.land-table tr.is-sold td { color: #999; }

.land-outline { margin: 0; border-top: 1px solid var(--land-line); }
.land-outline > div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--land-line); }
.land-outline dt { padding: 16px 20px; background: var(--land-bg); font-size: 0.9375rem; font-weight: 700; }
.land-outline dd { margin: 0; padding: 16px 20px; font-size: 0.9375rem; line-height: 1.8; }
.land-note { margin: 16px 0 0; color: #777; font-size: 0.8125rem; line-height: 1.8; }

.land-facility { margin: 0; padding: 0; list-style: none; }
.land-facility li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; font-size: 0.9375rem; }
.land-facility__dots { flex: 1; min-width: 24px; height: 4px; background: radial-gradient(circle, #bbb 1px, transparent 1.5px) left center / 8px 4px repeat-x; }
.land-facility__dist { white-space: nowrap; }

.land-map { position: relative; aspect-ratio: 16 / 9; }
.land-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.land-single .land-cta { margin-top: 24px; }
.land-single .single_pager { margin-top: 56px; }
.land-single.is-sold .land-gallery { filter: grayscale(.5); }

/* ---------- SP ---------- */
@media (max-width: 1023px) {
  .land-cards { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 767px) {
  .land-cards { grid-template-columns: 1fr; gap: 32px; }
  .land-archive { padding: 40px 0 64px; }
  .land-archive__lead { margin-bottom: 32px; font-size: 0.875rem; text-align: left; }
  .land-archive__lead br { display: none; }
  .land-single { padding: 40px 0 56px; }
  .land-head__title { font-size: 1.375rem; }
  .land-head__catch { font-size: 0.9375rem; }
  .land-facts { grid-template-columns: 1fr 1fr; }
  .land-facts__item { padding: 14px 12px; border-bottom: 1px solid var(--land-line); }
  .land-facts__item:nth-child(2n) { border-right: 0; }
  .land-facts__item--price dd { font-size: 1.1875rem; }
  .land-outline > div { grid-template-columns: 1fr; }
  .land-outline dt { padding: 10px 14px; }
  .land-outline dd { padding: 12px 14px; }
  .land-cta { margin-top: 56px; padding: 32px 16px; }
  .land-cta__txt { font-size: 0.875rem; text-align: left; }
  .section-land { padding: 24px 0 64px; }
}

/* ---------- 問い合わせボタン：文言が長いので矢印の分だけ右を空ける（サイト共通の .button--line-arrow は短い文言前提） ---------- */
.land-cta .button--line-arrow,
.section-land .button--line-arrow {
  max-width: 400px;
  padding-left: 84px;  /* 矢印 right30＋線幅10%、ホバーで50px まで伸びる分 */
  padding-right: 84px;
  border: 1px solid #7EA8A6;
  text-align: center;
}
@media (max-width: 767px) {
  .land-cta .button--line-arrow,
  .section-land .button--line-arrow { max-width: 320px; padding-left: 56px; padding-right: 56px; }
}
