@charset "utf-8";


.title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2rem, 2.8rem);
  writing-mode: vertical-rl;
  letter-spacing: 20px;
  line-height: 3;
}


/* 客室 */
.rooms-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 15rem;
}

.content {
  margin-bottom: 15rem;
}

.content img {
  width: 45%;
  height: auto;
  margin: 0 auto 5rem;
}

.content h2,
.content p {
  text-align: center;
}

.content h2::after {
  content: "";
  display: block;
  width: 200px;
  height: 1px;
  background-color: #b2b2b2;
  margin: 2rem auto;
}


/* 客室詳細 */
.rooms,
#facility {
  max-width: 1200px;
  margin: 0 auto 13rem;
}

.rooms h2 {
  padding-bottom: 1rem;
}

.item1 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 0 0 12px #555;
}

.room-inner {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

/* 左側：画像（slickスライダー） */
.item1 {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
}

/* 右側：テキスト */
.item2 {
  flex: 0 0 40%;
  max-width: 40%;
  text-align: justify;
}

.item1 img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  box-shadow: 0 0 12px #555;
}

.item2 h3 {
  margin-bottom: 1rem;
}


/* スライダーのドット設定 */
.slick-dots li button:before {
  font-size: .8rem !important;
}


/* 客室詳細 */
.roomdetails {
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  margin: 2rem 0;
}

.table::before,
.table:last-of-type::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #b2b2b2;
}

.table th {
  width: 160px;
  padding: 1rem 0;
  text-align: left;
  line-height: 1;
}

.detailsbtn-flex {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.detailsbtn-flex a {
  display: inline-block;
  width: 100%;
  border: 1px solid #505050;
  text-align: center;
  line-height: 3;
}

.detailsbtn-flex a:hover {
  background-color: #f1f1f1;
  transition: .5s;
}

.reservebtn a {
  display: block;
  width: 100%;
  background-color: #1c1c1c;
  color: white;
  text-align: center;
  line-height: 3;
  border: 1px solid #505050;
}

.reservebtn a:hover {
  background-color: #505050;
  transition: .5s;
}


/* 室内設備・アメニティのボタン*/
.table1,
.table2 {
  width: 100%;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.table1 th,
.table2 th {
  width: 200px;
  line-height: 5;
  text-align: left;
  padding-left: 3rem;
}

.table1 td,
.table2 td {
  padding-right: 5rem;
}

.table1::before,
.table1::after,
.table2::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #b2b2b2;
}


/* 室内設備・アメニティの内容 */
#facility h4 {
  text-align: center;
  margin-bottom: 1rem;
}


/* フッター */
.flex2 li:nth-of-type(2):hover {
  color: white;
}

.flex2 :nth-of-type(2)::after {
  content: "";
  display: block;
  width: 110px;
  height: 1px;
  background-color: #b2b2b2;
}




/* レスポンシブ設定 */
@media (max-width: 800px) {
  .scroll {
    display: none;
  }

  .title {
    width: 100%;
    border: none;
    margin: 0 auto 5rem;
    height: 70vh;
  }

  .title h1 {
    margin: 0 auto;
  }

  .rooms-container {
    width: 85%;
    margin: 0 auto 5rem;
  }

  .content h2 {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  .content h2::after {
    width: 100px;
  }

  .content {
    margin-bottom: 10rem;
  }

  .content p {
    font-size: 1.3rem;
    text-align: left;
  }

  .content img {
    width: 75%;
    height: auto;
    margin-bottom: 2rem;
  }

  .room-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .rooms, #facility {
    margin: 0 auto 6rem;
}

  .rooms h2 {
    font-size: 1.8rem;
  }

  .item1,
  .item2 {
    max-width: 100%;
  }


  .slick-dots li {
    margin: 0;
  }

  .slick-dots li button:before {
    font-size: 6px;
  }



  .roomdetails {
    width: 100%;
    margin: 20px 0;
  }


  .table th {
    width: 115px;
  }

  .table::before,
  .table:last-of-type::after {
    width: 100%;
  }

  .detailsbtn {
    width: 48%;
  }



  #facility {
    margin-bottom: 0;
  }

  .table1 th,
  .table2 th {
    width: 100px;
    padding-left: 0;
  }

  .table1 td,
  .table2 td {
    padding-right: 0;
  }

  .item2 p {
    text-align: justify;
  }
}