/* ============================================
   gallery.css
   フォトギャラリーページ専用スタイル
   style.css の上書き禁止。このファイルに記述。
   ============================================ */


/* ============================================
   page.php 共通スタイル
   （style.css に未定義のため、ここで定義）
   ============================================ */

.page_gallery .c-kv__img-box,
.page_privacy-policy .c-kv__img-box {
  position: relative;
}
.page_gallery .c-kv__img-box::after,
.page_privacy-policy .c-kv__img-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  z-index: 1;
}
.page_gallery .c-kv__title,
.page_privacy-policy .c-kv__title {
  z-index: 2;
}

.c-kv--no-img .c-kv__title-ja {
  color: #fff;
  letter-spacing: .08em;
}

@media screen and (max-width: 768px) {
  .c-kv--no-img {
    padding: 40px 0 32px;
    min-height: 140px;
  }
}

/* コンテンツエリア (.page-content) */
.page-content {
  padding: 60px 0 80px;
}

@media screen and (max-width: 768px) {
  .page-content {
    padding: 40px 0 60px;
  }
}


/* ============================================
   ページ固有スタイル（フォトギャラリー）
   ============================================ */

/* カテゴリ見出し (h2)
   外観・エントランス / 客室 / レストラン＆ラウンジ / 館内施設 */
.page_gallery .page-content h2 {
  font-family: var(--font-noto-sans);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  color: #1a3a4a;
  letter-spacing: .1em;
  padding-bottom: 12px;
  border-bottom: 1px solid #1a3a4a;
  margin-top: 64px;
  margin-bottom: 24px;
}

/* 最初の見出しは上マージン不要 */
.page_gallery .page-content h2:first-child {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .page_gallery .page-content h2 {
    font-size: 1rem;
    margin-top: 48px;
    margin-bottom: 16px;
  }
}
