/*******************************************************
 * Theme Info
 *******************************************************/
/*
Theme Name: IEDOKI
Theme URI: https://iedoki.com/
Author: ozappa
Author URI: https://iedoki.co.jp
Description: 不動産サイト向け
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iedoki
*/

/*******************************************************
 * 1. RESET & BASE (CSSリセットとベーススタイル)
 *******************************************************/
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Helvetica Neue", Helvetica, Arial, "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined'); /* Googleアイコン */

/*******************************************************
 * 2. コンテナ・レイアウト全体
 *******************************************************/
.content-wrapper {
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 16px;
}

.property-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.main-content {
  flex: 1;
  min-width: 0;
}

/*******************************************************
 * 3. ヘッダー & ナビゲーション
 *******************************************************/
.site-header {
  width: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  margin-top: 32px; /* ヘッダー上部の余白 */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-navigation {
  margin-left: auto; /* メニューを右寄せ */
}

.nav-menu {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li a {
  font-family: noto-sans-cjk-jp, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", 游ゴシック, "Yu Gothic", sans-serif;
  color: rgb(17, 17, 17);
  text-decoration: none;
  padding: 6px 8px;
  position: relative;
  line-height: 1.15;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: rgba(17, 17, 17, 0.6);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: rgb(17, 17, 17);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
  left: 0;
}

/*******************************************************
 * 4. サイドバー（sticky） & サイドバー内フォーム関連
 *******************************************************/
/* --- サイドバーのレイアウトと背景など --- */
.sidebar {
  position: sticky;
  top: 100px;
  width: 288px;
  padding: 10px;
  background-color: #f8f8f8;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sidebar-card .form-group {
  margin-bottom: 16px; /* ボタンとの間に余白を確保 */
}

/* --- サイドバー電話番号・営業時間のフォント統一 --- */
.sidebar-card.call-box,
.sidebar-card.call-box p,
.sidebar-card.call-box ul.call-box__description li {
  font-family: inherit !important;
  font-size: 12px;
  color: #333;
  line-height: 1.8;
}
.sidebar-card.call-box ul.call-box__description {
  padding-left: 0; /* 左側の余白調整 */
  margin-left: 0;
  list-style: none; /* 「・」を非表示にする */
}

.sidebar-card .call-box__telnumber {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* --- サイドバー内ボタンのアイコンを白色に統一 --- */
.sidebar-card .button-primary .material-symbols-outlined {
  color: #fff !important;
  font-size: 15px !important;
  display: flex;
  align-items: center;
}

/* --- 「見学予約する」ボタンと「お問い合わせ」の間隔 --- */
.sidebar-card button.button-primary {
  margin-bottom: 20px;
}

.sidebar-card #inquiry.headline2 {
  margin-top: 30px;
}

/* --- サイドバー内の全フォントをボディフォントに統一 --- */
.sidebar-card,
.sidebar-card * {
  font-family: inherit !important;
  color: inherit;
}

.sidebar-content,
.sidebar-content * {
  font-family: inherit !important;
  color: inherit;
}

/*******************************************************
 * 5. 物件画像エリア（メインスライダー/サブ画像）
 *******************************************************/
/* メイン画像スライダー */
.property-images-section {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto 40px;
  gap: 2px;
}

.main-slider-wrapper {
  width: 712px;
  height: 536px;
}

.main-slider-wrapper .splide,
.main-slider-wrapper .splide__track,
.main-slider-wrapper .splide__list,
.main-slider-wrapper .splide__slide {
  height: 100%; /* スライダーの高さを親要素に合わせる */
}

.main-slider-wrapper .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 8px;
}

.splide__slide {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: #f8f8f8; /* 背景色をグレー系で指定 */
  overflow: hidden !important;
}

.splide__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* 画像全体を必ず表示 */
}

/* サブ画像エリア */
.sub-images-wrapper {
  width: 356px;
  height: 536px;
  display: flex;
  flex-direction: column; /* PCで縦並び */
  gap: 2px;
}

.sub-images-wrapper .floor-plan,
.sub-images-wrapper .exterior-image {
  flex: 1;
  overflow: hidden;
}

.sub-images-wrapper .floor-plan img,
.sub-images-wrapper .exterior-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #fff;
  border-radius: 0px;
  border: 1px solid #ddd;
}

/*******************************************************
 * 6. 物件ヘッダー・タイトル・基本情報
 *******************************************************/
.property-header {
  margin-bottom: 24px;
  padding: 16px;
  border-bottom: 1px solid #ddd;
}

.property-main-info {
  display: flex;
  gap: 16px;
  align-items: center;
}
.property-main-info .main-rent {
  font-weight: bold;
  font-size: 1.2rem;
}

/* タイトル部分 */
.property-detail-lease-information-titles {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 16px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 24px;
}

.building-else-rent-info {
  display: flex;
  flex-direction: column;
}
.headline1 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.building-content .building-info {
  font-size: 12px;
  color: #555;
}

.building-rent-info {
  display: flex;
  flex-direction: row; /* 横並びに変更 */
  align-items: center;
  justify-content: flex-end; /* 右端寄せを維持 */
  gap: 16px; /* 要素間隔の調整 */
}

.building-management-fee-info__row {
  font-size: 12px;
  color: #444;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.text-price-regular {
  font-size: 32px;
  font-weight: bold;
  color: #3B5998;
  margin-bottom: 8px;
}
.text-price-regular .unit {
  font-size: 16px;
  margin-left: 4px;
}
.text-price-regular.price-size {
  white-space: nowrap;
}

/*******************************************************
 * 7. 見出し・テキスト関連 (headline1,2,3 etc.)
 *******************************************************/
.headline2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 16px;
  padding-left: 8px;
  border-left: 4px solid #2f4678;
  margin-top: 32px;
}

.headline3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
  color: #222;
}

/*******************************************************
 * 8. 物件詳細テーブル、フレックス表示
 *******************************************************/
/* テーブル風Flexボックス */
.property-details-flex {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-bottom: none;
}

.table-row {
  display: flex;
  border-bottom: 1px solid #ddd;
}

.table-header {
  font-size: 12px;
  width: 150px;
  padding: 10px;
  color: #888;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
}

.table-data {
  font-size: 12px;
  flex: 1;
  padding: 10px;
  color: #333;
  display: flex;
  align-items: center;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* colspan="3"対応 */
.table-row .table-data[colspan="3"] {
  flex: 1;
  width: 100%;
}

/*******************************************************
 * 9. フォームとボタンのスタイル (全般)
 *******************************************************/
/* フォームラベル */
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

/* テキスト入力 & セレクト */
input[type="text"],
select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

/* ボタン (button-primary) */
button.button-primary {
  background-color: #2f4678;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
button.button-primary:hover {
  background-color: #2f4678;
}

/*******************************************************
 * 10. サイドバー用フォーム (追加・修正スタイル)
 *******************************************************/
/* 日付・セレクト専用の高さ設定 */
input[type="date"],
select.input-field,
select.select-field {
  width: 100%;
  height: 48px;
  padding: 8px 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  cursor: pointer;
  outline: none;
  appearance: none; /* 標準の見た目を抑制 */
  -webkit-appearance: none; /* Safari */
  -moz-appearance: none;    /* Firefox */
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  font-size: 1rem;
  filter: invert(0.3); /* アイコンを少し暗めに調整 */
}

/* サイドバー内ボタン */
.sidebar .button-primary {
  width: 100%;
  text-align: center;
  padding: 12px 0;
  border-radius: 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* サイドバー内ボタンホバー */
.sidebar-card .button-primary:hover {
  background-color: #24355d; /* ホバー時の微調整 */
}

/* サイドバー内のinput等 */
.sidebar select.select-field,
.sidebar input[type="text"] {
  font-size: 12px;
  font-family: inherit;
  padding: 8px 12px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid #bbb;
  background-color: #fff;
}

.sidebar-card input[type="text"],
.sidebar-card select.select-field,
.sidebar-card input[type="date"] {
  font-family: inherit;
  font-size: 12px;
  padding: 10px 12px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid #bbb;
  background-color: #fff;
  box-shadow: none;
}

/*******************************************************
 * 11. PC・モバイルのCTAボタン、モーダル(地図など)
 *******************************************************/
/* --- モバイル用CTA --- */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  z-index: 999;
}
.mobile-cta button,
.mobile-cta .call-btn {
  flex: 1;
  margin: 0 5px;
  padding: 12px 8px;
  font-size: 14px;
  border-radius: 4px;
  text-align: center;
}
.call-btn {
  background-color: #2f4678;
  color: white;
  text-decoration: none;
}
#mobile-contact-btn {
  background-color: #2f4678;
  color: white;
  border: none;
}

/* --- 地図モーダル背景 --- */
#map-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}
#map-modal .modal-content {
  position: relative;
  width: 60%;
  max-width: 600px;
  height: 60vh;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background-color: #ffffff;
}
#map-modal .map-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10001;
}
#map-modal .map-close:hover {
  color: #3B5998;
}
#map-modal iframe.map-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- 地図ボタン (sidebarなど) --- */
#open-map-btn {
  background-color: #3B5998;
  color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  margin-left: 10px;
  transition: background-color 0.3s;
}
#open-map-btn:hover {
  background-color: #2f4678;
}

/*******************************************************
 * 12. アイコン周り（Google Material Icons 等）
 *******************************************************/
/* これがGoogleフォントアイコンを使うための基本定義 */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif !important;
  font-weight: normal;
  font-style: normal;
  font-size: 20px !important;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  color: #fff !important; /* デフォルト色: 白 */
  vertical-align: middle;
  margin-right: 6px;
}

/* メインコンテンツ内アイコンはテーマ色に戻す */
.main-content .material-symbols-outlined,
.property-icons .material-symbols-outlined {
  color: #2f4678 !important;
}

/* ボタン内Googleアイコンの色を白にするクラス */
.button-primary .material-symbols-outlined.icon-white,
#open-map-btn .material-symbols-outlined.icon-white {
  color: #fff !important;
}

/*******************************************************
 * 13. 設備アイコン表示 (.icon), .property-icons
 *******************************************************/
.property-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

/* 通常の .icon （設備） */
.icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px; /* アイコンの幅を固定する */
  margin: 10px;
  text-align: center;
}
.icon .material-symbols-outlined {
  font-size: 40px !important ; /* アイコンを大きく表示する */
  margin-bottom: 1px;
}
.icon span {
  font-size: 12px; /* テキストをやや小さく表示する */
  line-height: 1.4;
  word-break: break-word; /* 長い単語を折り返す */
}

/* 別箇所にあった.icon定義(重複)をまとめ */

/*******************************************************
 * 14. その他要素 (feature-list, price表記など)
 *******************************************************/
.feature-list {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;
  word-break: keep-all;
}

.price {
  font-size: 24px; /* 大きめ */
  font-weight: bold;
}

.unit {
  font-size: 14px; /* 小さめ */
  margin-left: 2px;
}

/*******************************************************
 * 15. おすすめ物件カード (recommend-scroller, c-cardSmall)
 *******************************************************/
.recommend-scroller {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.c-block__overflowItem.c-cardSmall {
  flex: 0 0 240px;
  border: 1px solid #eee;
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.c-cardSmall__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.c-cardSmall__wrap {
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c-cardSmall__heading a {
  font-size: 13px;
  color: #2f4678;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 2.8em;
}

.c-cardSmall__conditions {
  display: none;
}

.c-cardSmall__detail {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 4px 8px;
  font-size: 13px;
  line-height: 1.4;
}

.c-cardSmall__title {
  color: #888;
}

.c-cardSmall__price,
.c-cardSmall__value {
  color: #333;
}

/*******************************************************
 * 16. 同じ建物一覧リスト (property-list-wrapper)
 *******************************************************/
.property-list-wrapper .table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 10px;
}

.property-list-wrapper .thumbnail-image img {
  max-width: 80px;
  height: auto;
}

.property-info-wrapper {
  display: flex;
  flex: 1;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}
.property-info-wrapper div {
  white-space: nowrap;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}
.property-info-wrapper .label {
  font-size: 12px;
  color: #888;
  margin-bottom: 2px;
}

/* 詳細ボタン */
.detail-btn {
  background-color: #3B5998;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-size: 14px;
}
.detail-btn:hover {
  background-color: #2f4678;
}
.detail-btn .material-symbols-outlined {
  color: #fff !important;
}

.sp-detail-link {
  display: none; /* PC非表示 */
}
.pc-only {
  display: block;
}

/*******************************************************
 * 17. 「もっと見る」ボタン (js-readmore-button)
 *******************************************************/
.js-readmore-button {
  display: block;
  margin: 16px auto;
  padding: 8px 16px;
  background-color: #2f4678;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
  transition: background-color 0.3s;
}
.js-readmore-button:hover {
  background-color: #24355d;
}

/*******************************************************
 * 18. 折りたたみ表示 (スマホのみ) 
 *   - いわゆる「もっと見る」セクションで使用
 *******************************************************/
.toggle-input {
  display: none; /* チェックボックス非表示 */
}

/* PCでは非表示、スマホだけ表示するラベル */
.toggle-label {
  display: none;
  padding: 10px;
  font-size: 14px;
  text-align: center;
  background-color: #f9f9f9;
  color: #333;
  border-top: 1px solid #ddd;
  cursor: pointer;
}

/* 折りたたみエリア（.additional-info） */
.additional-info {
  display: none;
}

/*******************************************************
 * 19. モーダル (.modal) 
 *******************************************************/
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 24px;
  cursor: pointer;
}

.is-hidden {
  display: none;
}

/*******************************************************
 * 20. おすすめ物件一覧カード (property-index-lease-card)
 *******************************************************/
.property-index-lease-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* 上部画像 & 建物情報 */
.image-section {
  display: flex;
  flex-direction: row;
  padding: 16px;
  gap: 16px;
}
.main-image-box img.main-image {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.description-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.property-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
}

.paragraph-body.gray {
  font-size: 14px;
  color: #555;
  margin: 2px 0;
}

/* 各部屋セクション */
.property-section {
  border-top: 1px solid #eee;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  position: relative; /* PC表示でボタンを右端に寄せる */
}

.property-section-link {
  display: flex;
  flex: 1;
}

.sub-image-and-infos {
  display: flex;
  gap: 12px;
}
.sub-image-box img.portrait {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

/* 賃料と管理費 */
.rent-info-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-text {
  font-size: 18px;
  font-weight: bold;
  color: #3B5998; /* 仮設定 */
}
.price-text .unit {
  font-size: 14px;
  font-weight: normal;
  margin-left: 2px;
}
.management-fee {
  font-size: 13px;
  color: #666;
}

/* 部屋の詳細情報 */
.property-description {
  font-size: 13px;
  color: #444;
  margin-top: 8px;
}

/* ボタンエリア */
.button-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* ボタン */
.button-secondary,
.button-primary {
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
}
.button-secondary {
  border: 1px solid #3B5998;
  color: #3B5998;
  background-color: #fff;
}
.button-primary {
  background-color: #3B5998;
  color: #fff;
  border: none;
}
.button-primary:hover,
.button-secondary:hover {
  opacity: 0.8;
}

/*******************************************************
 * 21. ページネーション
 *******************************************************/
.pagination-wrapper {
  text-align: center;
  margin: 20px 0;
}
.pagination-wrapper .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  margin: 2px;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}
.pagination-wrapper .page-numbers.current {
  background: #3B5998;
  color: #fff;
}
.pagination-wrapper .page-numbers:hover {
  background: #2f4678;
  color: #fff;
}

/*******************************************************
 * 22. レスポンシブ用 メディアクエリ (スマホ/タブレット)
 *******************************************************/
/* --- 768px以下: スマホ表示など --- */
@media (max-width: 768px) {
  /* property-images-section */
  .property-images-section,
  .property-container {
    flex-direction: column;
  }
  .main-slider-wrapper,
  .sub-images-wrapper {
    width: 100%;
    height: auto;
  }
  .sub-images-wrapper {
    flex-direction: row;
    height: 200px;
  }
  .main-slider-wrapper .splide__slide img,
  .sub-images-wrapper img {
    height: 100%; 
    object-fit: cover;
  }

  /* サイドバー */
  .sidebar {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  /* テーブル表示を縦並びに */
  .table-row {
    flex-direction: column;
  }
  .table-header,
  .table-data {
    width: 100%;
    font-size: 14px;
  }
  .table-header {
    background-color: #f7f7f7;
  }

  .headline3 {
    font-size: 14px;
  }
  .feature-list {
    font-size: 13px;
  }

  /* 折りたたみ用（スマホのみ） */
  .toggle-label {
    display: block;
  }
  .additional-info {
    display: none;
  }
  .toggle-input:checked + .toggle-label + .additional-info {
    display: block;
  }
  .toggle-label::before {
    content: "+ ";
  }
  .toggle-input:checked + .toggle-label::before {
    content: "－ ";
  }
	


  /* PC時はボタン非表示、追加情報は常時表示しない (checked時だけ) */
  @media (min-width: 769px) {
    .additional-info {
      display: block !important;
    }
    .toggle-label {
      display: none !important;
    }
  }

  /* おすすめ物件カード (recommend-scroller) */
  .recommend-scroller {
    display: flex;
    flex-direction: column;
    gap: 8px !important;
    overflow: visible;
    padding-bottom: 0;
  }
  .c-block__overflowItem.c-cardSmall {
    width: 100% !important;
    flex: none !important;
    border: none;
    overflow: hidden;
    margin: 0 !important;
  }
  .c-block__overflowItem.c-cardSmall .c-cardSmall {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    border: 1px solid #eee;
    overflow: hidden;
    height: auto !important;
  }
  .c-block__overflowItem.c-cardSmall .c-cardSmall > a {
    flex: 0 0 120px !important;
    height: 120px !important;
    overflow: hidden;
    margin-right: 12px;
  }
  .c-cardSmall__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .c-cardSmall__wrap {
    flex: 1 !important;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }
  .c-cardSmall__heading {
    margin-bottom: 0 !important;
    min-height: auto !important;
  }
  .c-cardSmall__heading a {
    font-size: 14px;
    line-height: 1.4;
    color: #2f4678;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
  }
  .c-cardSmall__conditions {
    display: none !important;
  }
  .u-mt8 {
    display: none !important;
  }
  .u-mt16 {
    display: block !important;
    margin-top: 0px;
  }
  .c-cardSmall__detail {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 2px 4px;
    font-size: 12px;
    line-height: 1.4;
  }
  .c-cardSmall__title {
    color: #888;
  }
  .c-cardSmall__price,
  .c-cardSmall__value {
    color: #333;
  }
  .u-mt8.c-cardSmall__conditions {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* 同じ建物一覧 (property-list-wrapper) */
  .property-list-wrapper .table-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    position: relative;
  }
  .property-list-wrapper .thumbnail-image {
    flex: 0 0 120px;
    height: 120px;
    overflow: hidden;
  }
  .property-list-wrapper .thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .property-info-wrapper {
    flex: 1;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 2px 4px;
    font-size: 12px;
    line-height: 1.4;
    justify-items: start;
  }
  .property-info-wrapper .label {
    color: #888;
  }
  .property-info-wrapper div {
    display: contents;
  }
  .sp-detail-link {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: block !important;
  }
  .sp-detail-link a {
    font-size: 13px;
    color: #2f4678;
    text-decoration: none;
  }
  .detail-link.pc-only {
    display: none !important;
  }

  /* --- トップ画像スマホ対応（修正版）--- */
  .property-images-section {
    flex-direction: column-reverse; /* 上下を逆にする設定 */
  }
  .property-container {
    flex-direction: column;
  }
  .sub-images-wrapper {
    flex-direction: row;
    height: 200px;
  }
  .main-slider-wrapper .splide__slide img,
  .sub-images-wrapper img {
    height: 100%;
    object-fit: cover;
  }

  /* .property-detail-lease-information-titles の調整 */
  .property-detail-lease-information-titles {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .building-rent-info {
    align-items: flex-start;
  }

  /* property-index-lease-card モバイルレイアウト */
  .image-section {
    flex-direction: column;
    padding: 12px;
  }
  .description-section {
    order: -1;
  }
  .main-image-box img.main-image {
    width: 100%;
    height: 160px;
    margin-top: 8px;
  }
  .property-title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .paragraph-body.gray {
    font-size: 13px;
  }
  .property-section {
    flex-direction: row;
    padding: 8px 12px;
    gap: 8px;
  }
  .property-section-link {
    flex-direction: row;
  }
  .sub-image-box img.portrait {
    width: 50px;
    height: 50px;
  }
  /* ボタン非表示 */
  .button-area .button-primary {
    display: none;
  }
  .button-area {
    position: static;
    transform: none;
    justify-content: flex-end;
  }
  .button-area .button-secondary {
    font-size: 12px;
    padding: 6px 8px;
  }

  /* 見出し文字サイズなどを統一調整 */
  .recommended-points .feature-list,
  .recommended-points .headline3,
  .property-icons .icon span,
  .c-cardSmall__heading a,
  .c-cardSmall__price,
  .c-cardSmall__title,
  .c-cardSmall__detail {
    font-size: 14px !important;
  }
  .headline2 {
    font-size: 16px !important;
  }

  /* スマホでのテキストサイズ調整 */
  body {
    -webkit-text-size-adjust: 100%;
  }

  /* 強制改行対策 */
  .feature-list {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
  /* スマホ用メインスライダー画像高さ調整 追加 */
  .main-slider-wrapper {
    height: 300px !important; 
  }

  .main-slider-wrapper .splide,
  .main-slider-wrapper .splide__track,
  .main-slider-wrapper .splide__list,
  .main-slider-wrapper .splide__slide {
    height: 100% !important;
  }

  .main-slider-wrapper .splide__slide img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .splide__slide {
    background-color: #ffffff !important;
  }

} 
.property-icons {
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
}

.icon {
  width: calc(33.333% - 20px) !important; /* 3列表示に調整、marginを考慮 */
  margin: 8px !important;
  word-break: break-word !important;
}





/*******************************************************
 * 23. PC用 (769px以上) メディアクエリ
 *******************************************************/
 @media (min-width: 769px) {
  .sub-images-wrapper {
    flex-direction: column !important;
    height: 536px !important;
  }
  .sub-images-wrapper .floor-plan,
  .sub-images-wrapper .exterior-image {
    height: calc(50% - 1px) !important; 
    background-color: #f8f8f8; 
  }

  /* PCでは もっと見る(Toggle)常時表示 */
  .additional-info {
    display: block !important;
  }
  .toggle-label {
    display: none !important;
  }
  .toggle-input {
    display: none !important;
  }


  /* property-iconsもこちらにまとめる */
  .property-icons {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }
  .property-icons .icon {
    width: 120px !important;
    margin: 10px !important;
  }
}
  /* footer.phpの表示 */

.l-footer {
  background-color: #484848;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 16px;
}

.footer-menu li a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-menu li a:hover {
  opacity: 0.7;
}

.site-copyright small {
  font-size: 13px;
}

.site-copyright a {
  color: inherit;
  text-decoration: none;
}
	  
	  /* モバイル用 (768px以下) */
@media (max-width: 768px) {
  .property-icons {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }

  .property-icons .icon {
    width: calc(33.333% - 16px) !important; /* 3列表示用（gap16pxを考慮） */
    margin: 8px !important;
  }
}

/* PC用 (769px以上) - 元のレイアウトを維持 */
@media (min-width: 769px) {
  .property-icons {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }

  .property-icons .icon {
    width: 120px !important; /* PCでは元通りの幅に戻す */
    margin: 10px !important;
  }
}
	  
/* PC（769px以上）では常時表示 */
@media (min-width: 769px) {
  .additional-info {
    display: block !important;
  }
  
  /* ボタンは非表示にする */
  .toggle-label {
    display: none !important;
  }
  
  /* チェックボックスも不要なので非表示 */
  .toggle-input {
    display: none !important;
  }
}

/* 会社概要カードのスタイル */
.company-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #faf9f7;
  padding: 20px;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  color: inherit;
  text-decoration: none;
}

.company-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.company-info-card__caption .headline3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}

.company-info-card__business-infos {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-info-card__business-infos li {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.company-info-card__business-infos .label {
  width: 120px;
  font-weight: bold;
  color: #666;
  padding-right: 8px; /
}

.company-info-card__business-infos .content {
  flex: 1;
  color: #333;
}
@media (min-width: 769px) {
  .company-info-card__business-infos .label {
    white-space: nowrap; /* PCで改行を防ぐ */
  }
}

/* モバイル用 (768px以下) の設定を以下のように修正 */
@media (max-width: 768px) {
  .property-icons {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }

  .property-icons .icon {
    width: calc(33.333% - 16px) !important; /* 3列表示 */
    margin: 8px !important;
  }

  /* アイコンのサイズを大きく調整 */
  .property-icons .icon .material-symbols-outlined {
    font-size: 36px !important; /* ここでサイズを調整 */
  }

  /* アイコン下のテキストもバランスをとる */
  .property-icons .icon span:last-child {
    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: break-all !important;
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  select.select-field {
    text-align: center; /* テキストを中央寄せ */
    text-align-last: center; /* 一部のブラウザ向け */
  }
}