/* ============================================
   不動産サイト メインスタイルシート
   カラー: #0e0e0e / #a47c48 / #5a5a5a / #fafafa
   ============================================ */

:root {
  --color-dark:    #0e0e0e;
  --color-bronze:  #a47c48;
  --color-bronze2: #8a6438;
  --color-gray:    #5a5a5a;
  --color-light:   #fafafa;
  --color-white:   #ffffff;
  --color-border:  #e0e0e0;
  --color-bg:      #f5f5f5;
  --font-base: 'Noto Sans JP', 'Meiryo', 'メイリオ', sans-serif;
  --font-en:   'Cinzel', serif;
}

/* ============================================
   基本スタイル
   ============================================ */
body {
  font-family: var(--font-base);
  font-size: 1.4rem;
  color: var(--color-dark);
  background: var(--color-white);
  padding-bottom: 80px; /* ボトムナビ分 */
  line-height: 1.7;
}
a { transition: opacity 0.2s, color 0.2s; }
a:hover { opacity: 0.75; }
.container { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* ============================================
   ヘッダー
   ============================================ */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 1.1rem;
}
.site-tagline { font-size: 1.1rem; letter-spacing: 0.05em; }
.header-tel { color: var(--color-white); font-size: 1.2rem; }
.header-main {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
}
.site-logo {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-en);
  font-size: 2.8rem;
  color: var(--color-dark);
  letter-spacing: 0.05em;
  font-weight: 400;
}
/* ヘッダーアイコンナビ（物件検索・お気に入り・最近見た・お問い合わせ） */
.header-nav-icons {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.header-nav-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-right: none;
  color: var(--color-dark);
  text-decoration: none;
  min-width: 80px;
  transition: background 0.2s, color 0.2s;
  background: var(--color-white);
  position: relative;
}
.header-nav-icon-item:first-child { border-left: 1px solid var(--color-border); }
.header-nav-icon-item:last-child { border-right: 1px solid var(--color-border); }
.header-nav-icon-item:hover { background: var(--color-bg); opacity: 1; }
.hni-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
  display: inline-block;
}
.hni-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--color-bronze);
  color: #fff;
  font-size: 0.9rem;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  font-style: normal;
}
.hni-label {
  font-size: 1.1rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
/* ヘッダー右側：会社情報 */
.header-biz-info {
  margin-left: 16px;
  font-size: 1.1rem;
  color: var(--color-gray);
  line-height: 1.6;
  flex-shrink: 0;
}
.hbi-name { font-weight: 700; font-size: 1.3rem; color: var(--color-dark); }

/* ============================================
   グローバルナビ
   ============================================ */
.global-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.nav-list {
  display: flex;
  align-items: stretch;
}
.nav-item {
  position: relative;
  flex: 1;
}
.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 8px;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-dark);
  border-right: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-item:last-child .nav-link { border-right: none; }
.nav-link:hover, .nav-item.active .nav-link {
  background: var(--color-dark);
  color: var(--color-white);
  opacity: 1;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-dark);
  color: var(--color-white);
  min-width: 200px;
  z-index: 200;
  border-top: 2px solid var(--color-bronze);
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 12px 16px;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 1.3rem;
  transition: background 0.2s;
}
.nav-dropdown a:hover { background: var(--color-bronze); opacity: 1; }

/* ============================================
   パンくず
   ============================================ */
.breadcrumb-nav {
  padding: 10px 16px;
  background: var(--color-bg);
  font-size: 1.2rem;
  color: var(--color-gray);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.breadcrumb li::before { content: '›'; margin-right: 4px; color: var(--color-gray); }
.breadcrumb li:first-child::before { content: ''; }
.breadcrumb a { color: var(--color-bronze); }

/* ============================================
   ページタイトル共通
   ============================================ */
.page-title-wrap {
  padding: 32px 16px 8px;
}
.page-title-en {
  font-family: var(--font-en);
  font-size: 3.2rem;
  color: var(--color-dark);
  letter-spacing: 0.1em;
  font-weight: 400;
}
.page-title-ja {
  font-size: 1.8rem;
  color: var(--color-dark);
  margin-left: 16px;
  font-weight: 500;
}
.page-title-line {
  height: 3px;
  background: linear-gradient(to right, var(--color-bronze) 150px, var(--color-border) 150px);
  margin: 8px 16px 0;
}

/* ============================================
   ヒーローセクション（スライダー）
   ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: #a47c48;   /* 左右余白に出る色帯（ブランドブラウン）。好みの色に変更可 */
}
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 70%;        /* PCでは7割サイズ・中央寄せ。左右余白に色帯が見える */
  margin: 0 auto;
  height: auto;
  aspect-ratio: 16 / 9;   /* 画像(約16:9)の縦幅を全部表示。切り取らない */
  cursor: pointer;
  touch-action: pan-y;   /* 縦スクロールはブラウザ任せ、横はJSで処理 */
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;   /* 非表示スライドはクリックを通さない（裏のスライドがリンクを横取りするのを防ぐ） */
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #333;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: 24px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
.hero-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.hero-content p {
  font-size: 1.8rem;
  font-weight: 700;
}
.hero-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 32px;
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 1.4rem;
  font-weight: 500;
  transition: background 0.2s;
}
.hero-btn:hover { background: var(--color-bronze); color: var(--color-white); opacity: 1; }
.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.hero-dot.active { background: var(--color-white); }

/* ============================================
   検索セクション
   ============================================ */
.search-section {
  padding: 32px 16px;
  text-align: center;
}
.search-section-title {
  font-family: var(--font-en);
  font-size: 2.8rem;
  letter-spacing: 0.15em;
  color: var(--color-dark);
  font-weight: 400;
}
.search-section-subtitle {
  font-size: 1.3rem;
  color: var(--color-gray);
  margin-top: 4px;
}
.search-simple-form {
  max-width: 480px;        /* PCでは幅480pxに短縮して中央寄せ。スマホ(480px以下)は自動で全幅 */
  margin: 20px auto 0;
}
.search-simple-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #F3C58A; /* 薄いオレンジの枠で必須を強調 */
  background-color: #FFF3E6; /* 薄いオレンジの背景（必須項目） */
  font-size: 1.4rem;
  color: var(--color-gray);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.search-simple-btn {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 14px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
}
.search-simple-btn:hover { background: var(--color-bronze); }

/* エリア/駅ページの紹介文（SEO用ユニークコンテンツ） */
.area-intro {
  max-width: 900px;
  margin: 4px auto 20px;
  padding: 16px 20px;
  background: #faf6f0;
  border-left: 4px solid #a47c48;
  border-radius: 4px;
  font-size: 1.35rem;
  line-height: 1.9;
  color: #4a4a4a;
}
@media (max-width: 480px) {
  .area-intro { font-size: 1.25rem; padding: 14px 16px; }
}
/* 区ページ：主要駅への内部リンク */
.area-stations {
  max-width: 900px;
  margin: -8px auto 20px;
  padding: 0 4px;
  font-size: 1.3rem;
  line-height: 2;
  color: #5a5a5a;
}
.area-stations a {
  color: #a47c48;
  font-weight: 600;
  white-space: nowrap;
}
.area-stations a:hover { text-decoration: underline; }

/* ============================================
   物件一覧（カード）
   ============================================ */
.section {
  padding: 32px 16px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-dark);
  margin-bottom: 20px;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.property-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
  position: relative;
  display: block;
  cursor: pointer;
}
.property-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
/* stretched link: カード全体をクリック可能に */
.property-card-link {
  position: absolute;
  inset: 0;
  z-index: 1; /* 画像より上に来てクリックを受け取る */
}
.property-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-bg);
  display: block;
  position: relative;
  z-index: 0; /* リンクより下 */
}
/* カード本体はクリックを通過させ、stretched-link が受け取る */
.property-card-body { padding: 10px 12px 12px; position: relative; z-index: 2; pointer-events: none; }
.badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 1.0rem;
  font-weight: 500;
  border-radius: 20px;
  border: 1.5px solid currentColor;
  background: transparent;
  margin-bottom: 6px;
}
.badge-rent { color: #444; }
.badge-buy  { color: var(--color-bronze); }
.badge-commercial { color: #666; }
.property-card-name {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--color-dark);
}
.property-card-name a {
  color: var(--color-dark);
  position: relative;
  z-index: 1;
}
.property-card-name a:hover { color: var(--color-bronze); opacity: 1; }
.property-card-price {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--color-bronze);
  margin-bottom: 6px;
  line-height: 1.2;
}
.property-card-info {
  font-size: 1.15rem;
  color: var(--color-gray);
  line-height: 1.7;
}
/* エリア・沿線・駅名リンク（stretched-link より上でクリック可能） */
.property-card-info a {
  position: relative;
  z-index: 3;
  color: #1a5cb8;
  text-decoration: none;
  pointer-events: auto; /* body の pointer-events:none を上書き */
}
.property-card-info a:hover {
  text-decoration: underline;
  opacity: 1;
}
.property-card-info .icon { margin-right: 4px; }
/* 図面のみで外観写真がない場合のプレースホルダー */
.property-card-no-photo {
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #999;
}
.no-photo-icon { font-size: 3.2rem; line-height: 1; }
.no-photo-label { font-size: 1.1rem; letter-spacing: 0.05em; }

/* 特集エリアセクション */
.area-section {
  padding: 24px 16px;
  background: var(--color-bg);
}
.area-section + .area-section { background: var(--color-white); }
/* エリア特集（豊島区・中野区・売買）はPC表示で5件を1列に */
.area-section .property-grid {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
}
.area-more-link {
  display: block;
  width: fit-content;
  min-width: 300px;
  margin: 28px auto 0;
  padding: 16px 48px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}
.area-more-link:hover { background: #333; color: var(--color-white); opacity: 1; }

/* ============================================
   エリア・駅から探す
   ============================================ */
.area-nav-section {
  padding: 24px 16px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.area-nav-group {
  margin-bottom: 16px;
}
.area-nav-group:last-child { margin-bottom: 0; }
.area-nav-group-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.area-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-nav-item {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 1.3rem;
  color: var(--color-dark);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.area-nav-item:hover {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
  opacity: 1;
}

/* ============================================
   特集から探す
   ============================================ */
.feature-section {
  padding: 40px 16px;
  background: #f0f0f0;
}
.feature-section .section-title {
  color: var(--color-dark);
  border-bottom-color: var(--color-bronze);
}
.feature-section-sub {
  text-align: center;
  color: var(--color-gray);
  font-size: 1.3rem;
  margin: -10px auto 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* 残ったタイル数に応じて中央寄せ */
  gap: 2px;
  max-width: 960px;
  margin: 0 auto;
}
.feature-item {
  flex: 0 1 calc((100% - 4px) / 3);   /* 3列相当。1件だけでも中央に収まる */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.feature-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: background 0.25s;
  z-index: 0;
}
.feature-item:hover::after { background: rgba(0,0,0,0.55); }
.feature-item:hover { opacity: 1; }
.feature-item-en,
.feature-item-ja { position: relative; z-index: 1; }
.feature-item-en {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: #e8d5a3;
  margin-bottom: 6px;
}
.feature-item-ja {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  margin-top: 0;
}
/* 特集カード背景画像（/css/feature/ に各640x320pxのJPGを配置） */
.feature-item {
  background-size: cover;
  background-position: center;
}
.feature-item-keymoney   { background-color: #1a1a4e; background-image: url('/css/feature/keymoney.jpg'); }
.feature-item-parking    { background-color: #1a3a1a; background-image: url('/css/feature/parking.jpg'); }
.feature-item-soho       { background-color: #252525; background-image: url('/css/feature/soho.jpg'); }
.feature-item-pet        { background-color: #6b3000; background-image: url('/css/feature/pet.jpg'); }
.feature-item-newly      { background-color: #00334d; background-image: url('/css/feature/newly.jpg'); }
.feature-item-renovation { background-color: #3d1a00; background-image: url('/css/feature/renovation.jpg'); }
.feature-item-ekichika   { background-color: #14384a; background-image: linear-gradient(135deg, #1c4a63 0%, #0e2c3c 100%); }
.feature-item-hiroi      { background-color: #3a4a34; background-image: linear-gradient(135deg, #4a5f40 0%, #2b3826 100%); }

/* ============================================
   お知らせ・サービス
   ============================================ */
.service-section {
  padding: 40px 16px;
  background-color: #f0f0f0; /* 画像が無いときのフォールバック色 */
  /* ↓ 背景画像を入れる場所。/uploads/section/service-bg.jpg をアップすると自動で表示されます */
  background-image: url('/uploads/section/service-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.service-section .section-title {
  color: var(--color-dark);
  border-bottom-color: var(--color-bronze);
}
.service-section-sub {
  text-align: center;
  color: var(--color-gray);
  font-size: 1.3rem;
  margin: -10px auto 20px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 960px;
  margin: 0 auto;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 20px 8px;
  text-align: center;
  background: #2a2a2a;
  background-size: cover;
  background-position: center;
  border: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: opacity 0.2s;
}
.service-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  transition: background 0.25s;
  z-index: 0;
}
.service-item:hover::after { background: rgba(0,0,0,0.58); }
.service-item-en {
  font-family: var(--font-en);
  font-size: 1.1rem;
  color: #e8d5a3;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.service-item-ja { font-size: 1.3rem; font-weight: 500; color: #fff; margin-top: 0; position: relative; z-index: 1; }
/* LINEお問い合わせカード（LINEブランドカラー） */
.service-item-line { background: #06C755; }
.service-item-line::after { background: rgba(0,0,0,0); }
.service-item-line:hover::after { background: rgba(0,0,0,0.15); }
.service-item-line .service-item-en { color: #ffffff; }

/* ============================================
   フッター SNS アイコン
   ============================================ */
.footer-sns {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px 0 4px;
}
.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-sns-link:hover { opacity: 0.8; transform: scale(1.08); }
.footer-sns-instagram {
  background: linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
.footer-sns-line { background: #06c755; }
.footer-sns-link svg { width: 22px; height: 22px; fill: #fff; }

/* ============================================
   NEWS ブログ・お知らせ
   ============================================ */
.news-section { padding: 48px 0; background: #fff; }
.news-section-head { margin-bottom: 20px; }
.news-head-en {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-dark);
  line-height: 1;
}
.news-head-ja {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--color-bronze);
  border-bottom: 2px solid var(--color-bronze);
  padding-bottom: 2px;
  margin-top: 4px;
  letter-spacing: 0.05em;
}
/* タブ */
.news-tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 0;
}
.news-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 24px;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-gray);
  position: relative;
  bottom: -2px;
  font-family: inherit;
  transition: color 0.2s;
}
.news-tab.active {
  color: var(--color-dark);
  font-weight: 600;
  border-bottom-color: var(--color-bronze);
}
.news-tab:hover:not(.active) { color: var(--color-dark); }
/* タブコンテンツ */
.news-tab-pane { }
.news-list { list-style: none; }
.news-item { border-bottom: 1px solid var(--color-border); }
.news-item:first-child { border-top: 1px solid var(--color-border); }
.news-item-link {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  color: inherit;
  text-decoration: none;
  align-items: flex-start;
}
.news-item-link:hover .news-title { color: var(--color-bronze); }
.news-thumb {
  width: 150px;
  height: 105px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 3px;
  display: block;
}
.news-thumb-none {
  width: 150px;
  height: 105px;
  flex-shrink: 0;
  background: #e8e8e8;
  border-radius: 3px;
}
.news-body { flex: 1; min-width: 0; }
.news-date {
  font-size: 1.2rem;
  color: var(--color-gray);
  display: block;
  margin-bottom: 6px;
}
.news-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 8px;
  line-height: 1.5;
  transition: color 0.2s;
}
.news-excerpt {
  font-size: 1.3rem;
  color: var(--color-gray);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   物件一覧ページ
   ============================================ */
.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.list-count {
  font-size: 1.3rem;
  color: var(--color-gray);
}
.list-count strong {
  font-size: 2rem;
  color: var(--color-bronze);
  font-weight: 700;
}
.list-sort select {
  padding: 6px 28px 6px 8px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 1.3rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.filter-bar {
  padding: 12px 16px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--color-gray);
}
.filter-bar:hover { background: var(--color-border); }

/* ============================================
   物件詳細
   ============================================ */
.property-detail { padding: 16px; }
.property-detail-gallery {
  position: relative;
  background: #f5f5f5;
  margin-bottom: 16px;
}
.property-detail-main-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
}
.property-detail-name {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.property-detail-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-bronze);
  margin-bottom: 12px;
}
.property-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.property-detail-table th {
  width: 30%;
  padding: 10px 12px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: 1.3rem;
  font-weight: 500;
  text-align: left;
  vertical-align: top;
}
.property-detail-table td {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  font-size: 1.3rem;
  vertical-align: top;
}

/* ============================================
   募集中の部屋テーブル
   ============================================ */
.rooms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}
.rooms-table thead th {
  background: #2c2c2c;
  color: #fff;
  padding: 10px 8px;
  text-align: center;
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: 600;
}
.rooms-table tbody tr {
  border-bottom: 1px solid #e8e0d5;
  transition: background 0.15s;
}
.rooms-table tbody tr:nth-child(even) {
  background: #fafaf8;
}
.rooms-table tbody tr:hover {
  background: #fdf5e8;
}
.rooms-table td {
  padding: 12px 8px;
  text-align: center;
  vertical-align: middle;
}
.rooms-table .td-price {
  font-weight: 700;
  color: #a47c48;
  white-space: nowrap;
}
.rooms-table .td-fee {
  color: #666;
  white-space: nowrap;
}
.rooms-table .td-detail a {
  display: inline-block;
  padding: 6px 14px;
  background: #a47c48;
  color: #fff;
  border-radius: 4px;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
}
.rooms-table .td-detail a:hover {
  background: #8a6538;
}

/* ============================================
   似た物件（縦並びリスト）
   ============================================ */
.similar-properties { margin: 40px 0 32px; }
.similar-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.similar-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e8e0d5;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.similar-card:first-child { border-top: 1px solid #e8e0d5; }
.similar-card:hover { background: #fdf8f2; opacity: 1; }
.similar-card-img {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 66px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0ede8;
}
.similar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.similar-card:hover .similar-card-img img { transform: scale(1.05); }
.similar-card-img .badge {
  display: none; /* 縦リストではバッジ非表示 */
}
.similar-card-body {
  flex: 1;
  min-width: 0;
}
.similar-card-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.similar-card-area {
  font-size: 1.3rem;
  color: #555;
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.similar-card-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-bronze);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ============================================
   フォーム共通
   ============================================ */
.form-wrap { padding: 24px 16px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.form-required {
  display: inline-block;
  background: var(--color-bronze);
  color: var(--color-white);
  font-size: 1.0rem;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 1.4rem;
  transition: border-color 0.2s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-bronze);
  outline: none;
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.1em;
}
.form-submit:hover { background: var(--color-bronze); }

/* ============================================
   会社概要テーブル
   ============================================ */
.company-table { margin: 24px 16px; }
.company-table th {
  width: 35%;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: 1.4rem;
  font-weight: 500;
  text-align: left;
  vertical-align: top;
}
.company-table td {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  font-size: 1.4rem;
  vertical-align: top;
}
.company-name {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  padding: 24px 16px;
}

/* ============================================
   ページネーション
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 16px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  font-size: 1.3rem;
  color: var(--color-dark);
  transition: background 0.2s, color 0.2s;
}
.pagination a:hover { background: var(--color-dark); color: var(--color-white); opacity: 1; }
.pagination span.current { background: var(--color-dark); color: var(--color-white); border-color: var(--color-dark); }

/* ============================================
   フッター
   ============================================ */
/* ============================================
   サイト説明テキスト（一番下）
   ============================================ */
.site-desc-section {
  padding: 32px 16px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  text-align: left;
}
.site-desc-text {
  font-size: 1.3rem;
  color: var(--color-gray);
  line-height: 2;
}

.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-top: 32px;
}
.footer-cta {
  padding: 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-tel-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tel-icon-lg { font-size: 2.4rem; color: var(--color-bronze); }
.footer-tel-num { font-size: 2rem; font-weight: 700; }
.footer-tel-hours, .footer-tel-holiday { font-size: 1.2rem; color: rgba(255,255,255,0.7); }
.footer-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--color-bronze);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 500;
  transition: background 0.2s;
}
.footer-inquiry-btn:hover { background: var(--color-bronze2); opacity: 1; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-nav ul { margin-right: 40px; margin-bottom: 12px; }
.footer-nav a {
  display: block;
  padding: 4px 0;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-bronze); opacity: 1; }
.footer-company {
  padding: 20px 16px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.55);
}
.footer-copyright { margin-top: 8px; font-size: 1.1rem; }
.footer-group-sites {
  padding: 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-group-title {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 6px;
  letter-spacing: 0.05em;
}
.footer-group-sites ul { margin: 0; padding: 0; list-style: none; }
.footer-group-sites a {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-group-sites a:hover { color: var(--color-bronze); }

/* ============================================
   固定ボトムナビ
   ============================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  font-size: 1.0rem;
  color: var(--color-dark);
  text-align: center;
  border-right: 1px solid var(--color-border);
  line-height: 1.4;
  cursor: pointer;
}
.bottom-nav-item:last-child { border-right: none; }
.bottom-nav-tel {
  flex: 1.5;
  background: var(--color-dark);
  color: var(--color-white);
  border-right: none;
}
.bottom-icon {
  font-size: 1.8rem;
  display: block;
  position: relative;
  margin-bottom: 2px;
}
.fav-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-bronze);
  color: var(--color-white);
  font-size: 0.9rem;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   検索モーダル
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 600;
}
.modal-overlay.active { display: block; }
.search-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 700;
  background: var(--color-white);
  width: calc(100% - 32px);
  max-width: 480px;
  padding: 24px;
}
.search-modal.active { display: block; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-gray);
}
.search-form-row {
  margin-bottom: 12px;
}
.search-form-row label {
  display: block;
  font-size: 1.2rem;
  color: var(--color-gray);
  margin-bottom: 4px;
}
.search-form-row select,
.search-form-row input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  font-size: 1.4rem;
}
.search-btn {
  width: 100%;
  padding: 14px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.search-btn:hover { background: var(--color-bronze); }

/* ============================================
   TOPへ戻るボタン
   ============================================ */
.to-top {
  position: fixed;
  bottom: 90px;
  right: 16px;
  z-index: 400;
  display: none;
  width: 50px;
  height: 50px;
  background: var(--color-dark);
  color: var(--color-white);
  text-align: center;
  font-size: 1.1rem;
  padding-top: 6px;
  border-radius: 50%;
  line-height: 1.2;
}
.to-top.visible { display: block; }
.to-top:hover { background: var(--color-bronze); opacity: 1; }

/* ============================================
   サイトマップ
   ============================================ */
.sitemap-section { padding: 16px 16px 32px; }
.sitemap-category {
  font-size: 1.6rem;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 2px solid var(--color-dark);
  margin-bottom: 12px;
  margin-top: 24px;
}
.sitemap-list { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.sitemap-list a {
  display: flex;
  align-items: center;
  padding: 6px 0;
  font-size: 1.3rem;
  color: var(--color-dark);
}
.sitemap-list a::before {
  content: '▶';
  font-size: 0.9rem;
  color: var(--color-bronze);
  margin-right: 6px;
}
.sitemap-list a:hover { color: var(--color-bronze); }

/* ============================================
   管理画面（admin）は admin.css へ
   ============================================ */

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 768px) {
  .hero-slider { max-width: 100%; }  /* スマホ・タブレットはヒーロー全幅（色帯なし） */
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item  { flex-basis: calc((100% - 2px) / 2); }   /* スマホ・タブレットは2列 */
  .service-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .logo-text { font-size: 2.0rem; }
  .page-title-en { font-size: 2.4rem; }
  /* ヘッダー：会社情報ブロックを非表示、アイコン縮小 */
  .header-biz-info { display: none; }
  .header-nav-icon-item { padding: 8px 10px; min-width: 60px; }
  .hni-label { font-size: 1.0rem; }
  /* エリアセクション：横スクロールカルーセル */
  .area-section .property-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
    grid-template-columns: unset;
    max-width: none;
  }
  .area-section .property-card {
    flex: 0 0 calc(48% - 6px);
    scroll-snap-align: start;
  }
  .area-section .property-grid::-webkit-scrollbar { display: none; }
  .area-section .property-grid { -ms-overflow-style: none; scrollbar-width: none; }
}
@media (max-width: 480px) {
  body { font-size: 1.3rem; }
  .property-grid { grid-template-columns: 1fr; }
  .feature-item  { flex-basis: calc((100% - 2px) / 2); }   /* 480px以下も2列 */
  .service-grid  { grid-template-columns: repeat(2, 1fr); }
  /* ヒーローはPC・スマホ共通で aspect-ratio 16/9（画像全体を表示・黒帯なし） */
  .hero-content h2 { font-size: 1.8rem; }
  .nav-link { font-size: 1.3rem; padding: 12px 4px; }
  .area-more-link { min-width: auto; width: 90%; padding: 14px 24px; font-size: 1.5rem; }
  /* ヘッダー：tagline非表示、ロゴ・アイコンさらに縮小 */
  .header-top { display: none; }
  .logo-text { font-size: 1.6rem; }
  .header-nav-icon-item { padding: 8px 7px; min-width: 50px; }
  .hni-icon { font-size: 1.7rem; }
  .hni-label { font-size: 0.9rem; }
  /* カルーセル：スマホは1枚弱見えるサイズ */
  .area-section .property-card { flex: 0 0 calc(80% - 6px); }
  /* NEWSセクション：スマホは画像が大きいカード型で見やすく */
  .news-list { display: flex; flex-direction: column; gap: 16px; }
  .news-item { border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
  .news-item:first-child { border-top: 1px solid var(--color-border); }
  .news-item-link { display: block; padding: 0; gap: 0; align-items: stretch; }
  .news-thumb, .news-thumb-none { width: 100%; height: 200px; border-radius: 0; }
  .news-body { padding: 14px 16px 18px; }
  .news-date { font-size: 1.2rem; margin-bottom: 6px; }
  .news-title { font-size: 1.6rem; margin-bottom: 8px; line-height: 1.45; }
  .news-excerpt { font-size: 1.3rem; line-height: 1.6; }
  .news-tab { padding: 10px 16px; font-size: 1.3rem; }
}

/* ============================================
   部屋カード（周辺の部屋 / 募集中の部屋）
   ============================================ */
.room-card-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.room-card {
  position: relative; display: flex; align-items: stretch; gap: 18px;
  border: 1px solid #e0e0e0; border-radius: 6px; padding: 18px; background: #fff;
}
.room-card.is-closed { opacity: .72; }
.room-card-status { position: absolute; top: 0; left: 0; margin: 0; }
.room-card-status span {
  display: inline-block; background: #c0392b; color: #fff;
  font-size: 1.1rem; line-height: 1; padding: 5px 12px; border-radius: 6px 0 6px 0;
}
.room-card.is-closed .room-card-status span { background: #999; }
.room-card-photo { position: relative; flex-shrink: 0; width: 160px; display: block; }
.room-card-photo img {
  width: 160px; height: 124px; object-fit: contain;
  background: #f7f7f7; border: 1px solid #eee; display: block;
}
.room-card-no {
  position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.6);
  color: #fff; font-size: 1.15rem; padding: 2px 9px;
}
.room-card-body { flex: 1; min-width: 0; }
.room-card-build { margin: 0 0 4px; }
.room-card-build a { font-size: 1.55rem; font-weight: 700; color: #0e0e0e; }
.room-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.room-card-access { font-size: 1.2rem; color: #5a5a5a; }
.room-card-price { margin: 0 0 4px; font-size: 1.9rem; font-weight: 700; color: #c0392b; }
.room-card-price small { font-size: 1.2rem; font-weight: 400; color: #5a5a5a; }
.room-card-layout { margin-left: 12px; font-size: 1.4rem; color: #0e0e0e; font-weight: 700; }
.room-card-layout small { font-size: 1.2rem; font-weight: 400; color: #5a5a5a; }
.room-card-spec {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px 10px; margin-top: 10px; font-size: 1.2rem;
}
.room-card-spec p { display: flex; gap: 6px; margin: 0; padding: 3px 0; border-bottom: 1px dotted #e6e6e6; }
.room-card-spec span { color: #999; min-width: 3.5em; }
.room-card-available { display: flex; gap: 8px; margin: 10px 0 0; font-size: 1.2rem; color: #5a5a5a; }
.room-card-available span { color: #999; }
.room-card-btn { flex-shrink: 0; display: flex; align-items: center; }
.room-card-btn a {
  display: inline-block; background: #a47c48; color: #fff;
  padding: 14px 24px; font-size: 1.3rem; white-space: nowrap; border-radius: 4px;
}
.room-card-btn a:hover { opacity: .88; }

@media (max-width: 768px) {
  .room-card { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .room-card-photo, .room-card-photo img { width: 112px; height: 90px; }
  .room-card-price { font-size: 1.7rem; }
  .room-card-spec { grid-template-columns: repeat(2, 1fr); }
  .room-card-btn { width: 100%; }
  .room-card-btn a { display: block; text-align: center; }
}
