@charset "utf-8";

/* ============================================================
   物件詳細ページ CSS
   テーマ addas のスタイルと統一するため CSS変数を合わせてください
   ============================================================ */
/* ===== 全幅での余白保証 ===== */
.prop-layout,
.prop-crumb .wrap {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

@media (max-width: 560px) {
  .prop-layout,
  .prop-crumb .wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 写真とタブナビだけはネガティブマージンで端まで */
  .prop-gallery {
    margin-left: -16px;
    margin-right: -16px;
  }
  .prop-gallery__thumbs {
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .prop-tabs {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
}

/* レイアウト */
.prop-detail { background: var(--offwhite, #f4f7fb); }
.prop-crumb {
  padding: 90px 0 0;
  font-size: .74rem;
  color: var(--ink-soft, #5a6b7d);
  letter-spacing: .06em;
}
.prop-crumb a { color: var(--ink-soft); }
.prop-crumb a:hover { color: var(--wood, #004998); }
.prop-crumb span { margin: 0 6px; }

.prop-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 24px 0 80px;
  align-items: start;
}
.prop-main { min-width: 0; }

/* 物件ヘッド */
.prop-head { margin-bottom: 20px; }
.prop-head__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.prop-tag {
  font-size: .66rem; letter-spacing: .08em;
  color: var(--wood, #004998); background: var(--blue-pale, #d3edfb);
  border-radius: 2px; padding: 3px 10px;
}
.prop-status {
  font-size: .66rem; letter-spacing: .08em;
  border-radius: 2px; padding: 3px 10px; font-weight: 500;
}
.status--available  { background: #e6f4e6; color: #1a8c00; }
.status--applied    { background: #fff4e6; color: #e67e00; }
.status--contracted { background: #fce6e6; color: #c0392b; }
.prop-area-tag {
  font-size: .66rem; letter-spacing: .08em;
  color: var(--ink-soft); border: 1px solid var(--line, rgba(0,73,152,.14));
  border-radius: 2px; padding: 3px 10px;
}
.prop-head__title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 500; letter-spacing: .04em; line-height: 1.4; }
.prop-head__catch { font-size: .95rem; color: var(--ink-soft); margin-top: 6px; font-style: italic; }
.prop-head__number { font-size: .76rem; color: var(--ink-soft); margin-top: 4px; letter-spacing: .06em; }

/* ギャラリー */
.prop-gallery { margin-bottom: 20px; }
.prop-gallery__main {
  position: relative; border-radius: 8px; overflow: hidden;
  background: var(--paper, #e9f0f7);
  aspect-ratio: 16/10;
}
.prop-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--charcoal, #003e80);
  transition: background .25s;
}
.prop-gallery__arrow:hover { background: #fff; }
.prop-gallery__arrow--prev { left: 14px; }
.prop-gallery__arrow--next { right: 14px; }
.prop-gallery__counter {
  position: absolute; bottom: 12px; right: 14px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: .72rem; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 30px;
}
.prop-gallery__thumbs {
  display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap;
}
.prop-gallery__thumb {
  width: 72px; height: 54px; border-radius: 4px; overflow: hidden;
  border: 2px solid transparent; background: none; cursor: pointer;
  padding: 0; flex-shrink: 0; transition: border-color .2s;
}
.prop-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-gallery__thumb.is-active { border-color: var(--wood, #004998); }

/* メディアボタン */
.prop-media-btns { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.prop-media-btn {
  flex: 1; min-width: 160px;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line, rgba(0,73,152,.14));
  border-radius: 8px; padding: 14px 18px;
  background: #fff; cursor: pointer; transition: .25s;
  text-decoration: none; color: var(--ink, #1f2d3d);
}
.prop-media-btn:hover { border-color: var(--wood, #004998); background: var(--offwhite); }
.prop-media-btn i { font-size: 26px; color: var(--wood, #004998); flex-shrink: 0; }
.prop-media-btn__title { display: block; font-size: .9rem; font-weight: 500; }
.prop-media-btn__sub { display: block; font-size: .72rem; color: var(--ink-soft); }

/* タブ */
.prop-tabs {
  display: flex; gap: 4px; background: var(--paper, #e9f0f7);
  padding: 4px; border-radius: 8px; margin-bottom: 28px;
  position: sticky; top: 70px; z-index: 30;
}
.prop-tabs__btn {
  flex: 1; border: none; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 10px; border-radius: 6px;
  font-family: inherit; font-size: .85rem; font-weight: 500;
  letter-spacing: .04em; color: var(--ink-soft, #5a6b7d);
  transition: .25s; line-height: 1.3;
}
.prop-tabs__btn i { font-size: 18px; flex-shrink: 0; }
.prop-tabs__btn small { font-size: .68rem; display: block; opacity: .85; }
.prop-tabs__btn.is-active { background: var(--charcoal, #003e80); color: #fff; }

/* タブパネル */
.prop-tab-panel { display: none; }
.prop-tab-panel.is-active { display: block; }

/* セクション共通 */
.prop-section { margin-bottom: 40px; }
.prop-section__title {
  font-size: 1.15rem; font-weight: 500; letter-spacing: .06em;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--charcoal, #003e80);
  display: flex; align-items: center; gap: 9px;
}
.prop-section__title i { color: var(--wood, #004998); font-size: 20px; }

/* コンセプト */
.prop-concept { font-size: .95rem; line-height: 2; margin-bottom: 14px; }
.prop-targets { display: flex; flex-wrap: wrap; gap: 7px; }
.prop-target-tag {
  font-size: .72rem; letter-spacing: .06em;
  background: var(--charcoal, #003e80); color: #fff;
  border-radius: 30px; padding: 5px 14px;
}

/* 概要テーブル */
.prop-spec { width: 100%; border-collapse: collapse; font-size: .9rem; }
.prop-spec th, .prop-spec td {
  text-align: left; padding: 13px 16px;
  border: 1px solid var(--line, rgba(0,73,152,.14)); vertical-align: top;
}
.prop-spec th {
  background: var(--paper, #e9f0f7);
  color: var(--charcoal, #003e80); font-weight: 500; width: 30%;
}
.prop-spec__rent { font-size: 1.4rem; font-weight: 500; color: var(--charcoal); }
.prop-spec__rent small { font-size: .82rem; font-weight: 400; color: var(--ink-soft); margin-left: 4px; }
.prop-spec__kanri { font-size: .8rem; color: var(--ink-soft); margin-left: 8px; }
.prop-spec__sub { font-size: .8rem; color: var(--ink-soft); margin-left: 10px; }

/* 間取り図 */
.prop-floorplan { max-width: 480px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.prop-floorplan img { width: 100%; display: block; }

/* 設備 */
.prop-setsubi { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.prop-setsubi__item {
  display: flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 30px; padding: 7px 14px;
  font-size: .82rem;
}
.prop-setsubi__item i { color: var(--wood, #004998); font-size: 16px; }
.prop-setsubi__note {
  font-size: .82rem; color: var(--ink-soft); line-height: 1.8;
  background: var(--paper); border-left: 3px solid var(--wood);
  padding: 10px 14px; border-radius: 0 4px 4px 0; margin-top: 10px;
}

/* アクセス */
.prop-address {
  display: flex; align-items: center; gap: 8px;
  font-size: .9rem; margin-bottom: 14px; color: var(--ink);
}
.prop-address i { color: var(--wood); font-size: 18px; }
.prop-access-list { display: flex; flex-direction: column; gap: 10px; }
.prop-access-item {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 16px; font-size: .9rem;
}
.prop-access-item i { color: var(--wood); font-size: 20px; flex-shrink: 0; }
.prop-access-item__line { color: var(--ink-soft); font-size: .8rem; }
.prop-access-item__station { font-weight: 500; }
.prop-access-item__walk { margin-left: auto; color: var(--wood); font-weight: 500; font-size: .88rem; }

/* 地図 */
.prop-map { border-radius: 8px; overflow: hidden; aspect-ratio: 16/7; }
.prop-map iframe { width: 100%; height: 100%; display: block; border: 0; }

/* 立地アピール */
.prop-appeal {
  font-size: .92rem; line-height: 2;
  background: var(--paper); border-radius: 6px; padding: 20px 24px;
}

/* 周辺施設 */
.prop-facilities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prop-facility {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px;
}
.prop-facility i { color: var(--wood); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.prop-facility__name { font-size: .9rem; font-weight: 500; display: block; }
.prop-facility__walk { font-size: .76rem; color: var(--wood); display: block; }
.prop-facility__comment { font-size: .74rem; color: var(--ink-soft); display: block; margin-top: 2px; }

/* 入居者の声 */
.prop-voices { display: flex; flex-direction: column; gap: 18px; }
.prop-voice { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.prop-voice__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.prop-voice__stars { color: #f5a623; font-size: 18px; display: flex; gap: 2px; }
.prop-voice__attr { font-size: .74rem; color: var(--ink-soft); background: var(--paper); padding: 3px 10px; border-radius: 30px; }
.prop-voice__period { font-size: .74rem; color: var(--ink-soft); }
.prop-voice__comment { font-size: .9rem; line-height: 1.9; }

/* 管理 */
.prop-kanri-note {
  font-size: .88rem; line-height: 1.9; margin-top: 14px;
  background: var(--paper); border-left: 3px solid var(--wood);
  padding: 12px 16px; border-radius: 0 4px 4px 0;
}

/* FAQ */
.prop-faq { display: flex; flex-direction: column; gap: 10px; }
.prop-faq__item { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.prop-faq__q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; font-family: inherit; font-size: .93rem; font-weight: 500;
  text-align: left; transition: background .2s;
}
.prop-faq__q:hover { background: var(--offwhite); }
.prop-faq__q-mark { font-size: 1.2rem; color: var(--wood); font-weight: 700; flex-shrink: 0; line-height: 1.3; }
.prop-faq__q-text { flex: 1; }
.prop-faq__icon { color: var(--wood); transition: transform .3s; flex-shrink: 0; margin-top: 3px; }
.prop-faq__item.is-open .prop-faq__icon { transform: rotate(180deg); }
.prop-faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  display: flex; gap: 14px; padding: 0 20px;
  font-size: .9rem; color: var(--ink-soft); line-height: 1.9;
}
.prop-faq__item.is-open .prop-faq__a { max-height: 600px; padding: 0 20px 20px; }
.prop-faq__a-mark { font-size: 1.2rem; color: var(--wood-pale, #7fb0e0); font-weight: 700; flex-shrink: 0; line-height: 1.3; }

/* サイドバー */
.prop-side { position: sticky; top: 90px; }
.prop-side__card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; box-shadow: 0 10px 40px rgba(0,62,128,.08);
}
.prop-side__price-area { background: var(--charcoal, #003e80); color: #fff; padding: 22px 24px; }
.prop-side__price-label { font-size: .72rem; opacity: .75; letter-spacing: .08em; display: block; margin-bottom: 4px; }
.prop-side__price { font-size: 2.2rem; font-weight: 500; line-height: 1.1; }
.prop-side__price small { font-size: .88rem; font-weight: 400; margin-left: 4px; opacity: .85; }
.prop-side__price--unknown { font-size: 1rem; }
.prop-side__kanri { font-size: .78rem; opacity: .75; margin-top: 4px; }
.prop-side__specs { padding: 16px 20px 0; }
.prop-side__spec {
  display: flex; justify-content: space-between;
  font-size: .83rem; padding: 9px 0; border-bottom: 1px solid var(--line);
}
.prop-side__spec span:first-child { color: var(--ink-soft); }
.prop-side__spec span:last-child { font-weight: 500; }
.prop-side__btns { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
.prop-side__btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px; border-radius: 6px; font-size: .9rem;
  font-weight: 500; letter-spacing: .06em; transition: .25s;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
}
.prop-side__btn--primary { background: var(--wood, #004998); color: #fff; }
.prop-side__btn--primary:hover { background: var(--wood-light, #1a6bc0); }
.prop-side__btn--line { background: #06c755; color: #fff; }
.prop-side__btn--line:hover { opacity: .9; }
.prop-side__btn--ghost { border: 1px solid var(--charcoal, #003e80); color: var(--charcoal); background: transparent; }
.prop-side__btn--ghost:hover { background: var(--charcoal); color: #fff; }
.prop-side__tel { text-align: center; padding: 0 20px 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.prop-side__tel-label { font-size: .72rem; color: var(--ink-soft); display: block; margin-bottom: 4px; }
.prop-side__tel-num {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 1.4rem; font-weight: 500; color: var(--charcoal); text-decoration: none; letter-spacing: .02em;
}
.prop-side__share { padding: 14px 20px; border-top: 1px solid var(--line); }
.prop-side__share-label { font-size: .72rem; color: var(--ink-soft); display: block; margin-bottom: 10px; }
.prop-side__share-btns { display: flex; gap: 10px; justify-content: center; }
.prop-side__share-btns a,
.prop-side__fav {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink-soft); transition: .25s; text-decoration: none;
}
.prop-side__share-btns a:hover,
.prop-side__fav:hover { background: var(--wood); color: #fff; border-color: var(--wood); }
.prop-side__fav.is-fav { color: #e63946; border-color: #e63946; }

/* モーダル */
.prop-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.prop-modal.is-open { opacity: 1; pointer-events: all; }
.prop-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.75); backdrop-filter: blur(4px);
}
.prop-modal__content {
  position: relative; z-index: 2;
  width: min(90vw, 960px); background: #fff;
  border-radius: 12px; overflow: hidden;
}
.prop-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  z-index: 3; transition: background .2s;
}
.prop-modal__close:hover { background: rgba(0,0,0,.8); }
.prop-modal__video { aspect-ratio: 16/9; }
.prop-modal__video iframe { width: 100%; height: 100%; display: block; border: 0; }
.prop-modal__content--instagram { padding: 50px 24px 24px; max-height: 85vh; overflow-y: auto; }
.prop-modal__instagram-grid { display: flex; flex-direction: column; gap: 20px; }
.prop-ig-item__caption { font-size: .85rem; color: var(--ink-soft); margin-bottom: 8px; }
.instagram-media { margin: 0 auto !important; }

/* レスポンシブ */
@media (max-width: 900px) {
  .prop-layout { grid-template-columns: 1fr; }
  .prop-side { position: static; }
  .prop-side__card { margin-bottom: 40px; }
  .prop-tabs__btn { font-size: .76rem; padding: 11px 6px; }
  .prop-tabs__btn small { display: none; }
  .prop-facilities { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .prop-gallery__thumbs { gap: 5px; }
  .prop-gallery__thumb { width: 58px; height: 44px; }
  .prop-spec th { width: 36%; font-size: .82rem; }
  .prop-spec td { font-size: .85rem; }
  .prop-media-btns { flex-direction: column; }
}

@media (max-width: 900px) {
  /* 既存の記述はそのまま、以下を追記 */
  .prop-layout {
    padding-left: 16px;
    padding-right: 16px;
  }
  .prop-gallery {
    margin-left: -16px;
    margin-right: -16px;
  }
  .prop-tabs {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  /* 既存の記述はそのまま、以下を追記 */
  .prop-gallery__thumbs {
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}