/* ============================================================
   空き家バンク 記事ページ（詳細）スライダー ブラッシュアップ
   - サイト共通の slick はそのまま利用（JS追加不要）
   - body class に依存せず .image-slider-container 配下に限定スコープ
   - <head> で <link rel="stylesheet" href="/akiya-bank/css/akiyabank-detail.css"> 読み込み想定
   ============================================================ */

.image-slider-container {
  margin: 30px 0;
  padding: 20px;
  background: #f7f6f0;
  border: 1px solid #ded8cc;
  border-radius: 8px;
}

.image-slider {
  margin-bottom: 12px;
}

/* メイン画像 */
.image-slider .slick-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 前後矢印：白いシンプルなアイコンのみ（丸・枠・背景なし） */
.image-slider .slick-prev,
.image-slider .slick-next {
  width: 40px;
  height: 40px;
  margin-top: -20px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 4;
}
.image-slider .slick-prev { left: 12px; }
.image-slider .slick-next { right: 12px; }
/* slick-theme 既定の矢印グリフを消す（白アイコンの二重表示を防止） */
.image-slider .slick-prev:before,
.image-slider .slick-next:before {
  display: none;
}
/* 初期化スクリプトが入れる <i class="fa fa-chevron-*"> を白アイコンに */
.image-slider .slick-prev i,
.image-slider .slick-next i {
  color: #fff;
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

/* 画像キャプション（半透明オーバーレイ） */
.image-slider .slick-slide {
  position: relative;
}
.image-slider-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

/* サムネイル */
.image-thumbnails .slick-slide {
  padding: 0 4px;
}
.image-thumbnails .slick-slide img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
}
.image-thumbnails .slick-current img {
  border-color: #006ebc;
}

@media screen and (max-width: 767px) {
  .image-slider-container { padding: 10px; }
  .image-slider .slick-slide img { aspect-ratio: 4 / 3; }
  .image-slider .slick-prev,
  .image-slider .slick-next {
    width: 48px;
    height: 48px;
    margin-top: -24px;
  }
}

/* ============================================================
   記事ページ 本文装飾（旧インラインstyleから統合 / スライダー以外）
   - 物件概要 / 詳細表 / 特徴 / お問い合わせ / 他エリアバナー
   ============================================================ */

/* 物件概要グリッド */
.property-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.property-overview-item {
  text-align: center;
  padding: 1rem;
}
.property-overview-item .label {
  font-size: 1.95rem;
  color: #666;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.property-overview-item .value {
  font-weight: 700;
  color: #333;
  font-size: 1.95rem;
}
.property-overview-item .price {
  color: #e74c3c;
  font-size: 1.95rem;
}

/* 詳細表 */
.info-section { margin-bottom: 2rem; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.info-table th,
.info-table td {
  padding: .75rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}
.info-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #495057;
  width: 30%;
}
.info-table td { color: #333; }

/* 特徴・設備 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.feature-item {
  display: flex;
  align-items: center;
  padding: .5rem 0;
}
.feature-item .icon {
  width: 20px;
  height: 20px;
  background: #006ebc;
  border-radius: 50%;
  margin-right: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .8rem;
}

/* お問い合わせ */
.contact-section {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}
.contact-section h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-item { text-align: center; }
.contact-item .label {
  font-size: .9rem;
  opacity: .8;
  margin-bottom: .5rem;
}
.contact-item .value {
  font-size: 1.1rem;
  font-weight: 600;
}
.contact-button {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: background-color .3s;
}
.contact-button:hover {
  background: #c0392b;
  color: #fff;
  text-decoration: none;
}

/* 他のエリアの物件バナー */
.other-areas-section .areas-banner {
  grid-template-columns: repeat(2, 1fr) !important;
}
.areas-banner {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 1rem;
}
.area-card {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: url("https://www.city.minamisatsuma.lg.jp/assets/images/texture01d.jpg");
  color: #222;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}
.area-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}
.area-card__icon-left {
  font-size: 2.5rem;
  margin-right: 1.5rem;
  color: #222;
}
.area-card__icon-left.is-compact { margin-right: 1rem; }
.area-card__title h4 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 20px);
  color: #222;
  font-weight: 600;
}
.area-card__chevron {
  font-size: 1.5rem;
  color: #222;
  margin-left: auto;
}
.area-card__chevron--small { font-size: 1rem; }

@media (max-width: 768px) {
  .property-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-overview-item .label { font-size: clamp(14px, 3.8vw, 16px); }
  .property-overview-item .value,
  .property-overview-item .price { font-size: clamp(16px, 4.6vw, 20px); }
  .other-areas-section .areas-banner { grid-template-columns: 1fr !important; }
}
