@charset "UTF-8";

/* ============================================
   room_sp.css（お部屋・設備 SP版 - 色のみCSS変数化）
   
   【概要】
   - 840px以下で読み込まれるスマートフォン用CSS
   - お部屋・設備ページ専用のスタイル定義
   
   【前提条件】
   public_all.cssで定義されたCSS変数（色）を使用
   このファイルはpublic_all.cssの後に読み込むこと
   
   【セクション構成】
   0. リセット・共通設定
   1. ヒーローエリア（トップビジュアル）
   2. 設備の紹介（スライダー）
   3. チェックインの流れ
   4. 下部リンクセクション
   5. レスポンシブ調整（640px以下、415px以下）
   ============================================ */


/* ============================================
   0. リセット・共通設定
   ============================================ */

/* --- ボックスサイズ統一 --- */
* {
  box-sizing: border-box;
}

/* --- 画像の基本設定 --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* --- 改行用のspacerクラス --- */
.spacer {
  display: block;
  height: 8px;
}


/* ============================================
   1. ヒーローエリア（#page-top-section）
   ============================================ */
/* --- ヒーロー全体 --- */
#page-top-section {
  width: 100%;
  background: var(--color-bg-main);
  display: flex;
  flex-direction: column;
  padding-top: 60px;        /* 固定ヘッダー分 */
  padding-bottom: 40px;
  margin: 0 0 36px 0; 
  border-bottom: 1px solid var(--color-border-main);
}

/* --- 写真を先頭に配置 --- */
#page-top-section .section-harf:last-child {
  order: 1;
  width: 100%;
}

/* --- テキストエリア --- */
#page-top-section .section-harf:first-child {
  order: 2;
  width: 100%;
  padding: 30px 40px 0px;
}

/* --- メイン画像のトリミング --- */
#page-top-section .img-top {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--color-bg-black);
}

#page-top-section .img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

/* --- パンくずナビゲーション --- */
.section-stay1-Link {
  padding-top: 0px;
  font-size: 0.7rem;
  font-weight: 500; 
  color: var(--color-text-muted);
}

.section-stay1-Link a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color .15s ease;
}

.section-stay1-Link a:hover {
  color: var(--color-text-main);
}

/* --- 見出しエリア --- */
.contents-heading {
  margin-top: 20px;
  margin-bottom: 30px;
  padding-bottom: 4px;
  border-bottom: none;
}

/* --- ページタイトル --- */
.TOP-page-title {
  font-size: 1.9rem;
  font-weight: 700;
}

.TOP-page-title-p {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.06rem;
}

/* --- SP用キャッチコピー --- */
.TOP-page-read {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 10px 0 20px;
}

/* --- 本文 --- */
.TOP-page-p {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: justify;
}

/* --- 補足テキスト（小） --- */
.TOP-small-text {
  font-size: 0.7rem;
  font-weight: 400;
}

/* <span>改行の高さを指定する */
.spacer {
  display: block;
  height: 8px;
}


/* ============================================
   2. 設備の紹介（#room-section）
   ============================================ */

/* --- セクション全体 --- */
#room-section {
  width: 100%;
  padding: 40px 40px;
  background-color: var(--color-bg-main);
}

/* --- セクション見出し --- */
.section-heading {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 30px;
  padding: 0px auto 10px;
  border-bottom: 1px solid #000;
}

/* --- タイトル --- */
.facility-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-align: center;
}

/* --- 説明文 --- */
.facility-description {
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 10px;
}

/* --- アメニティタイトル --- */
.facility-amenity-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 3px;
}

/* --- アメニティリスト --- */
.facility-amenity-list {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 5px;
}

/* --- 注意書き --- */
.facility-note {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--color-text-main);
}


/* --- スライダー --- */

/* スライダーコンテナ */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 50px;
}

/* テキストエリア */
.slider-text-area {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 0 20px;
}

/* 矢印ボタン */
.slider-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s;
}

.slider-arrow:hover {
  opacity: 0.6;
}

.slider-arrow-left {
  left: 5px;
}

.slider-arrow-right {
  right: 5px;
}

/* 矢印のSVG */
.slider-arrow svg {
  width: 100%;
  height: 100%;
}

/* スライドアイテム（非表示） */
.slide-item {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.slide-item.active {
  display: flex;
}

/* 画像エリア */
.slider-image-area {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.slider-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0px;
}


/* ============================================
   3. チェックインの流れ（#checkin-flow-section）
   ============================================ */

/* --- セクション全体 --- */
#checkin-flow-section {
  width: 100%;
  padding: 40px 40px;
  background-color: var(--color-bg-beige);
}

/* --- セクション内エリア --- */
.checkin-flow-area {
  width: 100%;
}

/* --- セクション見出し --- */
.checkin-flow-heading {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 30px;
  padding: 0px auto 10px;
  border-bottom: 1px solid #000;
}

/* --- 説明文（赤文字強調あり） --- */
.checkin-flow-intro {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0px;
}

/* 赤文字の強調 */
.highlight {
  color: var(--color-text-red);
  font-weight: 700;
}

/* --- コンテンツエリア（縦並び） --- */
.checkin-flow-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* --- 画像エリア --- */
.checkin-flow-image {
  width: 100%;
}

.checkin-flow-image img {
  max-width: 400px;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block; 
  margin-left: auto;
  margin-right: auto;
}

/* --- テキストエリア --- */
.checkin-flow-text {
  width: 100%;
  padding: 0 40px;
}

/* タイトル */
.checkin-flow-text .facility-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-align: center;
}

/* 説明文 */
.checkin-flow-text .facility-description {
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 10px;
}

/* 注意書き */
.checkin-flow-text .facility-note {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--color-text-main);
}

/* --- PDF案内リンク --- */
.checkin-flow-pdf-link {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.checkin-flow-pdf-link::before {
  content: "▶ ";
  margin-right: 5px;
}

.checkin-flow-pdf-link a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.checkin-flow-pdf-link a:hover {
  color: var(--color-accent-main);
}

/* --- ボタンエリア --- */
.checkin-flow-buttons {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  gap: 12px;
  margin-bottom: 20px;
}

/* ボタン共通スタイル */
.checkin-flow-btn {
  background: var(--color-bg-black);
  color: var(--color-bg-main);
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  text-align: center;
  transition: 0.3s;
}

.checkin-flow-btn:hover {
  background: var(--color-accent-main);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}


/* ============================================
   4. 下部リンクセクション（画像カード）
   ============================================ */

/* --- 3枚の画像を縦に並べる --- */
.three-image-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* --- 各カード（画像＋オーバーレイ＋タイトル） --- */
.img-card {
  position: relative;
  height: 150px;
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid var(--color-bg-main);
}

.img-card:last-child {
  border-bottom: none;
}

/* --- カード内画像 --- */
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* --- 黒いオーバーレイ --- */
.img-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  transition: 0.3s ease;
}

/* --- タイトルテキスト --- */
.img-card h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-bg-main);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  z-index: 5;
  border-bottom: solid 1px var(--color-bg-main);
  padding-bottom: 5px;
  pointer-events: none;
  opacity: 1;
  transition: opacity .35s ease, transform .35s ease;
}

/* --- ホバー効果 --- */
.img-card:hover .overlay {
  background: rgba(0,0,0,0.3);
}

.img-card:hover h3 {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
}

.img-card:hover img {
  transform: scale(1.05);
}


/* ============================================
   5. レスポンシブ調整
   ============================================ */

/* ============================================
   5-1. 640px以下：中間サイズ調整
   ============================================ */
@media screen and (max-width: 640px) {
  
  /* --- ヒーローセクション --- */
  #page-top-section { 
    margin: 0px; 
  }

  #page-top-section .section-harf:first-child {
    padding: 25px 30px 0px;
  }

  .TOP-page-title {
    font-size: 1.7rem;
  }

  .TOP-page-title-p {
    font-size: 0.95rem;
  }

  .SP-TOP-page-read {
    font-size: 0.95rem;
  }

  .TOP-page-p {
    font-size: 0.72rem;
  }

  /* --- 設備の紹介 --- */
  #room-section {
    padding: 30px 40px;
  }

  .another-room-heading {
    font-size: 1.5rem;
    padding: 0 30px 10px;
  }

  .slider-container {
    width: 100%;
    padding: 0px;
  }
  
  .slider-text-area {
    padding: 0 35px;
  }

  .facility-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }

  .facility-description {
    font-size: 0.8rem;
  }

  .facility-amenity-title,
  .facility-amenity-list {
    font-size: 0.75rem;
  }

  .facility-note {
    font-size: 0.6rem;
  }
  
  .slider-image-area {
    max-width: 90%;
    padding: 0 30px;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  /* --- チェックインの流れ --- */
  #checkin-flow-section {
    padding: 30px 40px;
  }

  .checkin-flow-heading {
    font-size: 1.5rem;
    padding: 0 30px 10px;
  }

  .checkin-flow-intro {
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 0px;
    margin-bottom: 10px;
  }

  .checkin-flow-image img {
    width: auto;
    max-height: 200px;
    margin: 0px auto 0px;
  }
  
  .checkin-flow-text {
    padding: 0 25px;
    margin-top: -15px;
  }

  .checkin-flow-text .facility-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .checkin-flow-text .facility-description {
    font-size: 0.8rem;
  }

  .checkin-flow-text .facility-note {
    font-size: 0.7rem;
  }

  .checkin-flow-pdf-link {
    font-size: 0.8rem;
  }
  
  .checkin-flow-buttons {
    max-width: 300px;
    margin: 0px auto 15px;
  }
  
  .checkin-flow-btn {
    font-size: 0.75rem;
  }
}


/* ============================================
   5-2. 415px以下：小画面向け調整
   ============================================ */
@media screen and (max-width: 415px) {
  
  /* --- ヒーローセクション --- */
  #page-top-section { 
    margin: 0px; 
  }
  
  #page-top-section .section-harf:first-child {
    padding: 20px 25px 20px;
  }

  .TOP-page-title {
    font-size: 1.6rem;
  }

  .TOP-page-title-p {
    font-size: 0.9rem;
  }

  .SP-TOP-page-read {
    font-size: 0.9rem;
  }

  .TOP-page-p {
    font-size: 0.7rem;
  }

  /* --- 設備の紹介 --- */
  #room-section {
    padding: 25px;
  }
  
  .section-heading { 
    font-size: 1.2rem; 
    margin-bottom: 20px; 
  }

  .slider-container {
    width: 100%;
	margin: 0px auto;
    padding: 0px;
  }

  .slider-text-area {
    max-width: 92%;
    padding: 0 25px;
  }

  .facility-title {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .facility-description {
    font-size: 0.7rem;
  }

  .facility-amenity-title,
  .facility-amenity-list {
    font-size: 0.7rem;
  }

  .facility-note {
    font-size: 0.6rem;
  }

  .slider-image-area {
    max-width: 92%;
    padding: 0 30px;
  }

  .slider-arrow {
    width: 35px;
    height: 35px;
  }

  /* --- チェックインの流れ --- */
  #checkin-flow-section {
    padding: 25px;
  }

  .checkin-flow-intro {
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 0px;
    margin-bottom: 10px;
  }

  .checkin-flow-image img {
    width: auto;
    max-height: 180px;
    margin: 0px auto 0px;
  }

  .checkin-flow-text {
    padding: 0 20px;
    margin-top: -12px;
  }

  .checkin-flow-text .facility-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .checkin-flow-text .facility-description {
    font-size: 0.7rem;
  }

  .checkin-flow-text .facility-note {
    font-size: 0.6rem;
    line-height: 1.3;
  }

  .checkin-flow-pdf-link {
    font-size: 0.7rem;
  }

  .checkin-flow-buttons {
    max-width: 250px;
    margin: 0px auto 15px;
  }

  .checkin-flow-btn {
    font-size: 0.7rem;
    padding: 8px 16px;
  }

  /* --- 下部リンク --- */
  .img-card {
    height: 140px;
  }

  .img-card h3 {
    font-size: 1.35rem;
  }
}

/* ============================================
   END OF FILE
   ============================================ */