@charset "UTF-8";
/* =====================
   ヘッダー
===================== */
/* 初期状態：非表示 */
.header-nav {
  position: fixed;
  bottom: 345px;
  right: 16px;
  z-index: 1000;
  padding: clamp(8px, 2vw, 24px);
  background: none;
  border-radius: clamp(6px, 2vw, 12px);
  opacity: 0;
  pointer-events: none;
  transition: none;
}

/* フェードイン */
.header-nav.is-visible {
  pointer-events: auto;
  animation: fadeInOpacity 3.5s forwards;
}

.header-nav a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-align: right;
  display: block;
  opacity: 0;
  animation: textFadeIn 3.5s forwards;
  animation-delay: 1s; /* 少し遅れて文字が浮かぶ */
}

.header-nav.is-visible a {
  opacity: 1;
}

@keyframes fadeInOpacity {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes textFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media (min-width: 768px) {
  .header-nav {
    bottom: 0;
    right: 24px;
  }
}

/* 戻るボタン */
.topics-back {
	margin-bottom: 1.5rem;
}

.topics-detail {
  padding: 3rem 1.25rem;
}

/* ===== タイトル ===== */
.topics-header {
  margin-bottom: 1rem;
}

.topics-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.topics-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #222;
  margin-top: 0.75rem;
}

/* ===== レイアウト ===== */
.topics-body {
	display: block;
  display: grid;
	grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
}

.topics-images,
.topics-info {
  width: 100%;
}

/* ===== メイン画像 ===== */
.main-image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ===== サムネイル ===== */
.thumb-list {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.thumb-list img {
  width: 70px;
  object-fit: cover;
  cursor: pointer;

  /* 非アクティブは薄く */
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

/* 表示中の画像だけ通常表示 */
.thumb-list img.active {
  opacity: 1;
}

/* hover は軽めに（PCのみ） */
@media (hover: hover) {
  .thumb-list img:hover {
    opacity: 0.8;
  }
}

/* ===== 物件情報 ===== */
.info-list {
	border-top: 1px solid #ccc;
}

.topics-info-title {
	font-size: 1.2rem;
}

.property-intro {
	margin-bottom: 1.5rem;
}

.info-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 0.9rem 0;
  border-bottom: 1px solid #ccc;
}

.info-item dt {
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
}

.info-item dd {
  margin: 0;
  font-size: 0.95rem;
}


@media (min-width: 1000px) {
	.topics-body {
		display: flex;
	}

  .topics-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }

  .topics-title {
    font-size: 2.6rem;
  }

  .topics-images {
    width: 70%;
  }

  .topics-info {
    width: 30%;
  }

  .thumb-list img {
    width: 90px;
  }
}
