.image-placeholder {
    background-color: #e5e0da;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.main-visual {
    height: 300px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.plan-lead {
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.common-info {
    background: #fcfbf9;
    border: 1px solid #e5e0da;
    padding: 20px;
    margin: 30px 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.common-info-title {
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #666;
}

.common-info-list {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.plan-list {
    margin-top: 40px;
}

.plan-card {
    border-bottom: 1px solid #e5e0da;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.plan-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.plan-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.plan-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #8a7762;
    margin-top: 10px;
}

.plan-capacity {
    font-size: 0.85rem;
    font-weight: normal;
    color: #777;
}

.plan-visual {
    height: 300px;
    margin-top: 40px;
}

.reservation-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.reservation-btn {
    display: inline-block;
    background-color: #8e7b66; 
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.reservation-btn:hover {
    background-color: #736250;
}

.external-icon {
    margin-left: 8px;
    font-size: 0.9rem;
}


.room-gallery {
  display: flex;
  gap: 12px;            
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 24px;
}


.room-gallery__item {
  flex: 1; 
  aspect-ratio: 2 / 3;  
  overflow: hidden;
  border-radius: 0px;
}


.room-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  display: block;
}


@media (max-width: 768px) {
  .room-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 8px;
  }
}


.room-mixed-gallery {
  display: flex;
  gap: 12px;            
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 24px;   
}


.room-mixed-item {
  overflow: hidden;
}

.room-mixed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.room-mixed-item.is-landscape {
  flex: 2;              
  aspect-ratio: 3 / 2;  
}

.room-mixed-item.is-portrait {
  flex: 1;             
  aspect-ratio: 3 / 4;  
}


@media (max-width: 768px) {
  .room-mixed-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px; 
  }


  .room-mixed-item.is-landscape {
    grid-column: span 2; 
    aspect-ratio: 16 / 9; 
  }

  .room-mixed-item.is-portrait {
    aspect-ratio: 3 / 4;
  }
}

/* 全体を囲むコンテナ */
.room-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px; /* 上の余白 */
}

/* 切り替えタブのスタイル */
.room-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid #eeeeee;
  justify-content: flex-start;
}

.room-tab-btn {
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #888888;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

/* アクティブ（選択中）のタブのデザイン */
.room-tab-btn.active {
  color: #333333; /* 選択中の文字色 */
}

.room-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px; 
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333333; /
}

横並び4枚） */
.room-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 12px;
}

/* 画像を包む枠（縦長比率を維持） */
.room-grid__item {
  aspect-ratio: 2 / 3; 
}

.room-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ▼▼ スマホ対応（画面幅768px以下） ▼▼ */
@media (max-width: 768px) {
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* プランページのトップ画像エリア */
.plan-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 40px;
  aspect-ratio: 21 / 9;
  max-height: 450px;
  overflow: hidden;
  position: relative;
}

.fade-images {
  width: 100%;
  height: 100%;
}

.fade-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fadeTransition 15s infinite;
}

.fade-images img:nth-child(1) {
  animation-delay: 0s;
}

.fade-images img:nth-child(2) {
  animation-delay: 5s;
}

.fade-images img:nth-child(3) {
  animation-delay: 10s;
}

@keyframes fadeTransition {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .plan-hero {
    aspect-ratio: 16 / 9;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 0;
    box-sizing: border-box;
  }
  .plan-hero img {
    border-radius: 0; 
  }
}

/* 客室ごとの補足スペック（ツイン・キャビンカード内） */
.room-spec-box {
    margin-top: 20px;
    padding: 16px 20px;
    background-color: transparent; 
    border: 1px solid #e0dcd8;  
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
}

.room-spec-item:not(:last-child) {
    margin-bottom: 8px;
}

.room-spec-item strong {
    color: #333;
}

.room-floor-tag {
    display: inline-block;
    margin: 16px 0 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

/* アメニティ＆共用設備カード */
.amenity-summary-card {
    margin: 50px 0 30px 0;
    padding: 28px;
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
}

.amenity-summary-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 12px;
}

.amenity-summary-title .material-symbols-outlined {
    font-size: 1.25rem;
    color: #8c7b6d;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.amenity-col strong {
    display: block;
    font-size: 0.88rem;
    color: #8c7b6d;
    margin-bottom: 6px;
}

.amenity-col p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .amenity-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}