@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
.page .date-tags {
	display: none;
}

.room-swiper {
  width: 100%;
  max-width: 1200px;
  margin: 2em auto;
  height: 440px;
  overflow: hidden;
  position: relative;
}

.room-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 95%;
  max-height: 85%;
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.slide-content {
  position: relative;
}

.caption-overlay {
  position: absolute;
  top: 10px; left: 10px;
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 10px;
  font-size: 0.9rem;
  border-radius: 4px;
  max-width: 80%;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .room-swiper { height: 220px; }
  .modal-content { max-width: 100%; max-height: 90%; }
}
