/* ============================================
   place.html 固有スタイル補足
   ============================================ */

/* ── ページヒーロー ── */
.place-hero {
  position: relative;
  height: clamp(320px, 50vh, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.place-hero-media {
  position: absolute;
  inset: 0;
}

.place-hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.place-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem var(--side-pad, 5vw) 3.5rem;
}

.place-hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .08em;
  line-height: 1.25;
  margin: .4rem 0 .6rem;
}

/* パンくず */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  margin-top: .8rem;
}

.page-breadcrumb a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
}

.page-breadcrumb a:hover { color: #fff; }

/* ── 実績ブロック ── */
.place-record {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border, rgba(0,0,0,.1));
}

.place-record:last-child {
  border-bottom: none;
}

.place-record-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.place-record-title h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  letter-spacing: .06em;
  margin: 0 0 .3rem;
}

.place-tag {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--tx2, #666);
  border: 1px solid var(--border, rgba(0,0,0,.15));
  padding: .2em .7em;
  border-radius: 2px;
}

.place-record-desc {
  font-size: .9rem;
  line-height: 1.9;
  color: var(--tx2, #555);
  margin-bottom: 1.4rem;
  max-width: 720px;
}

/* ── ギャラリー変種 ── */
/* デフォルト：4列 */
.place-gallery {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* 写真が6枚のとき */
.place-gallery-6 {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* シチュエーション：4列 */
.situation-gallery {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 900px) {
  .place-gallery,
  .place-gallery-6,
  .situation-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .place-hero {
    height: clamp(260px, 45vw, 340px);
  }
}
