/* =====================================================================
   レントハウス 公開サイト 共通スタイル
   配色: 水色 × 黒 × 白 のシンプルな不動産サイト
   ===================================================================== */

html { scroll-behavior: smooth; }

:root {
  --sky: #2f9bd6;
  --sky-light: #6dc7ee;
  --sky-pale: #eaf6fc;
  --sky-dark: #14618f;
  --black: #191f27;
  --black-soft: #2b333d;
  --white: #ffffff;
  --bg: #f5f8fa;
  --text: #262c33;
  --text-muted: #6b7684;
  --border: #e2e8ee;
  --accent-red: #e0475a;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(20, 30, 45, 0.07);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------------------------------------------------
   ヘッダー（共通: common.css の #subContainer / #gNav / #slideMenu を使用）
   --------------------------------------------------------------------- */

/* common.css の body height:100% を上書き（サブページでは不要） */
html, body { height: auto; }

/* common.css のボディ背景・文字色を上書き */
body {
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; }

/* 固定ヘッダー分のオフセット */
main { padding-top: 56px; }

/* SP: ヘッダー高さが 46px */
@media (max-width: 800px) {
  main { padding-top: 46px; }
}

/* SP専用ロゴはPCで非表示 */
@media (min-width: 801px) {
  .sp-header-logo { display: none; }
}

/* アクティブナビ */
#gNav .columnNav li.active a { color: #5fb9ee; }

/* ---------------------------------------------------------------------
   サブナビ（ヘッダー直下の横スクロールナビ）
   --------------------------------------------------------------------- */
.sub-nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 56px;
  z-index: 499;
}

.sub-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-nav li a {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  color: #0099cc;
  text-decoration: none;
  border-right: 1px solid #eee;
  white-space: nowrap;
}

.sub-nav li a:hover {
  background: #f5f5f5;
}

@media (max-width: 800px) {
  .sub-nav { top: 46px; }
  main { padding-top: 46px; }
}

/* ---------------------------------------------------------------------
   ヒーロー・ページヘッダー
   --------------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky) 55%, var(--sky-light) 100%);
  color: #fff;
  padding: 56px 0 46px;
  text-align: center;
}

.hero--photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: var(--black);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation-name: heroFade;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.hero__slide--static {
  opacity: 1;
  animation: none;
}

.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.35) 0%, rgba(20, 30, 45, 0.55) 100%);
}

.hero--photo .hero__content {
  position: relative;
  z-index: 2;
}

@keyframes heroFade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  30% { opacity: 1; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}

.hero h1 {
  font-size: 30px;
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero p {
  margin: 0;
  font-size: 14.5px;
  color: #eaf6fc;
}

.page-header {
  background: var(--black);
  color: #fff;
  padding: 12px 0;
}

.page-header .wrap {
  max-width: none;
  padding-left: 30px;
}

.page-header h1 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.breadcrumb {
  font-size: 12px;
  color: #aeb8c4;
}

.breadcrumb a { color: #aeb8c4; }
.breadcrumb a:hover { color: var(--sky-light); }

@media (max-width: 800px) {
  .page-header {
    background: #fff;
    color: var(--text);
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
  }
  .page-header h1 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 2px 0;
    padding: 0;
  }
  .page-header .breadcrumb,
  .page-header nav,
  .page-header p {
    font-size: 11px;
    color: #999;
    margin: 0;
    padding: 0;
  }
  .breadcrumb a { color: #999; }
  .page-header + * { margin-top: 0; }
}

/* ---------------------------------------------------------------------
   検索ボックス（トップページ）
   --------------------------------------------------------------------- */
.search-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-top: -34px;
  position: relative;
  z-index: 5;
}

.search-box__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.search-box__tabs a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  background: var(--sky-pale);
  color: var(--sky-dark);
  font-weight: 700;
  font-size: 13.5px;
}

.search-box__tabs a:hover { background: var(--sky-light); color: #fff; }

/* ---------------------------------------------------------------------
   セクション見出し
   --------------------------------------------------------------------- */
.section { padding: 46px 0; }
.section--tight { padding: 30px 0; }

.section-title {
  text-align: center;
  margin: 0 0 30px;
}

.section-title h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--black);
}

.section-title span {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.15em;
  color: var(--sky);
  font-weight: 700;
}

.section-more {
  text-align: center;
  margin-top: 26px;
}

.btn-more {
  display: inline-block;
  padding: 11px 34px;
  border: 2px solid var(--sky);
  border-radius: 30px;
  color: var(--sky-dark);
  font-weight: 700;
  font-size: 13.5px;
}

.btn-more:hover { background: var(--sky); color: #fff; }

/* ---------------------------------------------------------------------
   物件カード・グリッド
   --------------------------------------------------------------------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.property-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(20, 30, 45, 0.14);
}

.property-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eef2f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3C/svg%3E") center/cover;
  overflow: hidden;
}

.property-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  background: #eef2f6;
}

.pc-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pc-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  width: fit-content;
}

.pc-badge--new { background: var(--accent-red); }
.pc-badge--negotiable { background: #2e9e5b; }
.pc-badge--reduced { background: #e08a2f; }
.pc-badge--pet { background: #2fa3b3; }
.pc-badge--recommend { background: var(--sky); }
.pc-badge--renovated { background: #6a5acd; }
.pc-badge--contracted { background: var(--black-soft); }

/* SP用：ボディ内バッジはPC非表示 */
.pc-badges--body { display: none; position: static; top: auto; left: auto; }

.property-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 4px;
  line-height: 1.4;
}

.property-card__address {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.property-card__meta {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.property-card__price {
  margin-top: auto;
  font-size: 20px;
  font-weight: 800;
  color: var(--sky-dark);
}

.property-card__price small {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}

/* ---------------------------------------------------------------------
   絞り込みフォーム（一覧ページ）
   --------------------------------------------------------------------- */
.filter-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin-bottom: 26px;
}

.filter-box form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.filter-box .f-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 140px;
}

.filter-box label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.filter-box input[type="text"],
.filter-box select {
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13.5px;
  min-width: 150px;
  background: #fff;
}

.filter-box .f-submit {
  padding: 10px 26px;
  background: var(--sky);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

.filter-box .f-submit:hover { background: var(--sky-dark); }

.result-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ---------------------------------------------------------------------
   ページネーション
   --------------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
}

.pagination a:hover { border-color: var(--sky); color: var(--sky-dark); }
.pagination a.active { background: var(--sky); border-color: var(--sky); color: #fff; font-weight: 700; }
.pagination span.disabled { color: #c7ced6; }

/* ---------------------------------------------------------------------
   物件詳細ページ
   --------------------------------------------------------------------- */
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.detail-head h1 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--black);
}

.detail-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--sky-dark);
  white-space: nowrap;
}

.detail-price small {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 30px;
  align-items: start;
}

.dl-gallery    { grid-column: 1; grid-row: 1; }
.dl-remarks    { grid-column: 1; grid-row: 2; }
.dl-floorplan  { grid-column: 1; grid-row: 3; }
.dl-facilities { grid-column: 1; grid-row: 4; }
.dl-remarks-box { grid-column: 1; grid-row: 5; }
.dl-info-table { grid-column: 2; grid-row: 1 / 6; }

.gallery {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ── スライダー ── */
.gallery__slider {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eef2f6;
  overflow: hidden;
}

.gallery__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__slide--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* 前へ・次へ ボタン */
.gallery__prev,
.gallery__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  border: none;
  width: 38px;
  height: 58px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery__prev:hover,
.gallery__next:hover { background: rgba(0, 0, 0, 0.62); }
.gallery__prev { left: 8px; }
.gallery__next { right: 8px; }

/* サムネイルグリッド */
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 3px;
  background: #ccc;
}
.gallery__thumb {
  border: none;
  padding: 0;
  cursor: pointer;
  background: #eee;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.gallery__thumb:hover img { opacity: 1; }
.gallery__thumb.is-active img { opacity: 1; }
.gallery__thumb.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--sky, #3b9ec4);
  pointer-events: none;
}

.floorplan-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-top: 20px;
}

.floorplan-box h3 {
  font-size: 14px;
  margin: 0 0 12px;
  color: var(--black);
}

.floorplan-preview {
  position: relative;
  text-align: center;
}

.floorplan-preview img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.floorplan-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 13.5px;
}

.info-table th,
.info-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 34%;
  background: var(--sky-pale);
  color: var(--sky-dark);
  font-weight: 700;
  font-size: 12.5px;
}

.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

.price-red { color: #e00; font-weight: 700; }

.side-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.side-box h3 {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--black);
  border-bottom: 2px solid var(--sky);
  padding-bottom: 10px;
}

.side-box .tel-block {
  text-align: center;
  padding: 14px 0;
}

.side-box .tel-block .num {
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
}

.side-box .tel-block .hours {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-contact {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--sky);
  color: #fff;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14.5px;
  margin-top: 10px;
}

.btn-contact:hover { background: var(--sky-dark); }

.facility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.facility-tag {
  background: var(--sky-pale);
  color: var(--sky-dark);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.detail-remarks {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-top: 20px;
  font-size: 13.5px;
  white-space: pre-wrap;
}

.detail-remarks-text {
  font-size: 13.5px;
  line-height: 1.8;
}

.detail-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
}

.detail-point__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #7a8c6e;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.detail-point__text {
  font-size: 13.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  padding-top: 4px;
}

/* ---------------------------------------------------------------------
   新着情報
   --------------------------------------------------------------------- */
.n-cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  background: var(--sky);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 76px;
  text-align: center;
}

.news-post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-post {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-post-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eee;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.news-post-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}

.news-post-date {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

.news-post-body {
  padding: 20px;
  font-size: 14.5px;
  line-height: 1.9;
}

.news-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eee;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 18px 20px;
}

.news-detail-head h1 {
  flex: 1;
  margin: 0 !important;
}

.news-detail-head .n-date {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
  margin-left: 0 !important;
}

.news-detail-body {
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------------------------------------------------------------------
   お問い合わせフォーム
   --------------------------------------------------------------------- */
.contact-intro {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 26px;
  font-size: 13.5px;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.cf-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cf-row:last-of-type { border-bottom: none; }

.cf-row label {
  font-weight: 700;
  font-size: 13.5px;
  padding-top: 9px;
}

.cf-required {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.cf-row input[type="text"],
.cf-row input[type="email"],
.cf-row input[type="tel"],
.cf-row select,
.cf-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.cf-row textarea { min-height: 140px; resize: vertical; }

.cf-submit {
  text-align: center;
  padding-top: 26px;
}

.cf-submit button {
  padding: 15px 60px;
  background: var(--sky);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.cf-submit button:hover { background: var(--sky-dark); }

/* --- お問い合わせ プレビュー --- */
.contact-preview {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
}

.contact-preview__lead {
  font-size: 14px;
  color: #555;
  margin: 0 0 16px;
  text-align: center;
}

.contact-preview__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 24px;
}

.contact-preview__table th,
.contact-preview__table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.contact-preview__table th {
  width: 38%;
  white-space: nowrap;
  color: #555;
  font-weight: 600;
  background: #f7f7f7;
}

.contact-preview__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-preview__actions .btn-back {
  background: #fff;
  border: 1px solid #bbb;
  color: #555;
  padding: 10px 28px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.contact-preview__actions .btn-back:hover {
  background: #f0f0f0;
}

.contact-preview__actions button[type="submit"] {
  padding: 15px 60px;
  background: var(--sky);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s;
}

.contact-preview__actions button[type="submit"]:hover {
  background: var(--sky-dark);
}

.alert {
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
}

.alert-success {
  background: #e9f8f1;
  color: #1f8f5f;
  border: 1px solid #b9ecd4;
}

.alert-error {
  background: #fdecee;
  color: var(--accent-red);
  border: 1px solid #f3c9cd;
}

.empty-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 50px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.form-error-box {
  background: #fdecee;
  border: 1px solid #f3c9cd;
  color: var(--accent-red);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
}

.complete-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 60px 30px;
  text-align: center;
}

.complete-box h1 { color: var(--sky-dark); font-size: 22px; margin-bottom: 14px; }

/* ---------------------------------------------------------------------
   会社概要
   --------------------------------------------------------------------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 13.5px;
}

.company-table th {
  width: 200px;
  background: var(--sky-pale);
  color: var(--sky-dark);
}

.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

.map-box {
  margin-top: 20px;
  background: #eef2f6;
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------------------------------------------------------------------
   フッター
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: #b7c0cb;
  margin-top: 50px;
}

.footer-desktop {
  background: var(--black);
  color: #b7c0cb;
  margin-top: 50px;
}

.footer-main {
  padding: 40px 0 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand span { color: var(--sky-light); }

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}

.footer-col li { margin-bottom: 8px; font-size: 12.5px; }
.footer-col a:hover { color: var(--sky-light); }

.footer-bottom {
  border-top: 1px solid #333c47;
  text-align: center;
  padding: 16px 0;
  font-size: 11.5px;
  color: #7c8794;
}

/* ---------------------------------------------------------------------
   PC/スマホで出し分けるブロック（新着情報の本文/内容(スマホ用)）
   --------------------------------------------------------------------- */

/* 個人情報ページ お問い合わせ情報 */
.privacy-contact { margin-top: 40px; padding: 24px; background: #f5f8fb; border-left: 4px solid var(--sky); line-height: 2; }
.privacy-contact a[href^="tel"] { font-weight: bold; color: var(--sky); text-decoration: none; }
.privacy-contact a:not([href^="tel"]) { color: var(--sky); }

/* 新生活のためのご案内 ページナビ */
.life-nav { padding: 20px 15px; background: #fafafa; border-top: 1px solid #e0e0e0; }
.life-nav ul { list-style: none; padding: 0; margin: 0; }
.life-nav li { border-bottom: 1px solid #ddd; }
.life-nav a { display: block; padding: 12px 10px; text-decoration: none; color: #333; font-size: 14px; }
.life-nav a:hover { background: #e8f4fd; color: #1a73e8; }
.life-nav .current a { font-weight: bold; background: #f0f0f0; color: #1a73e8; }

@media (min-width: 721px) {
  .sp-only { display: none; }
}

@media (max-width: 720px) {
  .pc-only { display: none; }
}

/* ---------------------------------------------------------------------
   レスポンシブ
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .detail-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .detail-head h1 { font-size: 17px; }
  .detail-price { font-size: 22px; }

  /* 物件カード：SP ではサムネ上のバッジを非表示、タイトル下に横並び表示 */
  .property-card__thumb .pc-badges { display: none; }
  .pc-badges--body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
  }

  .floorplan-preview {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .floorplan-badge {
    position: static;
    order: -1;
    margin-bottom: 8px;
  }
}

/* デスクトップ：SPフッターを非表示 */
.sp-footer { display: none; }

@media (max-width: 720px) {
  .section { padding: 16px 0; }
  .section--tight { padding: 10px 0; }
  .cf-row { grid-template-columns: 1fr; }

  .company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  .company-table tr {
    border-bottom: 1px solid #eee;
  }
  .company-table th {
    display: block;
    width: 100%;
    background: #f5f5f5;
    padding: 8px 12px;
    font-weight: bold;
    color: #333;
    font-size: 13px;
    text-align: left;
  }
  .company-table td {
    display: block;
    width: 100%;
    padding: 10px 12px;
    line-height: 1.8;
    box-sizing: border-box;
  }
  .map-wrap {
    margin: 15px 0;
  }

  /* デスクトップフッター非表示、SPフッター表示 */
  .footer-desktop { display: none; }
  .sp-footer { display: block; background: #1a1a2e; color: #ccc; padding: 0; }

  /* お問い合わせ（上部） */
  .sp-contact-section {
    background: #f7f7f7;
    text-align: center;
    padding: 24px 16px 20px;
    border-top: 3px solid #1a73e8;
  }
  .sp-contact-tel { font-size: 13px; color: #333; margin: 0 0 4px; line-height: 1.6; }
  .sp-contact-tel a { color: #c0392b; text-decoration: none; }
  .sp-contact-tel strong { font-size: 22px; letter-spacing: 0.05em; }
  .sp-contact-hours { font-size: 11px; color: #777; margin: 0 0 12px; }
  .sp-contact-mail {
    display: inline-block;
    background: #1a73e8;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    padding: 10px 28px;
    border-radius: 4px;
  }

  /* PAGE TOP */
  .sp-pagetop { text-align: center; padding: 16px 0; background: #f5f5f5; }
  .sp-pagetop__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #999;
    border-radius: 50px;
    padding: 8px 20px;
    color: #666;
    text-decoration: none;
    font-size: 11px;
    line-height: 1.4;
  }

  /* FOLLOW US */
  .sp-follow { background: #000; padding: 14px 0; text-align: center; border-bottom: 1px solid #333; }
  .sp-follow__title { font-size: 11px; letter-spacing: 0.15em; color: #999; margin: 0 0 10px; }
  .sp-follow__sns { display: flex; justify-content: center; gap: 20px; }
  .sp-follow__sns a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
  .sp-follow__sns svg { width: 36px; height: 36px; }

  /* ナビ */
  .sp-footer-nav { padding: 12px 16px; }
  .sp-footer-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: block;
  }
  .sp-footer-nav ul li { width: 100%; }
  .sp-footer-nav ul li a {
    display: block;
    color: #bbb;
    text-decoration: none;
    font-size: 12px;
    padding: 6px 4px;
    border-bottom: 1px solid #333;
  }

  /* コピーライト */
  .sp-copyright { text-align: center; padding: 14px 16px; font-size: 11px; color: #666; }
}

/* 広島空き家の窓口 */
.vacant-content {
  padding: 0 15px;
}
.vacant-contact {
  margin-top: 20px;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  line-height: 2;
}
