/* section.css */

/* セクション別スタイル */

/* コンセプト */
#concept {
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.concept-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.concept-text {
  width: 50%;
  padding-right: 50px;
}

.concept-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: 'Noto Serif JP', serif;
}

.concept-text p {
  margin-bottom: 20px;
  line-height: 2;
}

.concept-image {
  width: 50%;
  position: relative;
  height: 400px;
}

.concept-image img {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.concept-image img:nth-child(1) {
  width: 65%;
  top: 0;
  left: 0;
  z-index: 2;
}

.concept-image img:nth-child(2) {
  width: 50%;
  bottom: 0;
  right: 0;
  z-index: 1;
}

/* 魅力 */
#attractions {
  background-color: #fff;
}

.attractions-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.attraction-item {
  width: 31%;
  margin-bottom: 40px;
  transition: transform 0.3s ease;
}

.attraction-item:hover {
  transform: translateY(-10px);
}

.attraction-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

.attraction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.attraction-item:hover .attraction-image img {
  transform: scale(1.1);
}

.attraction-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.attraction-content h3::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  background: linear-gradient(to bottom, #E17A42, #4A87BF);
}

.attraction-content p {
  font-size: 15px;
  color: #666;
}

/* お部屋 */
#rooms {
  background-color: #f9f9f9;
}

.rooms-intro {
  text-align: center;
  margin-bottom: 50px;
}

.rooms-intro p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 2;
}

.rooms-slider {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1000px;
  height: 600px;
}

.room-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.room-slide.active {
  opacity: 1;
}

.room-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: #E17A42;
  transform: scale(1.2);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background-color: #fff;
}

.slider-arrow i {
  font-size: 20px;
  color: #333;
}

/* 施設情報 */
#information {
  background-color: #fff;
}

.info-container {
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.info-details {
  width: 100%;
  max-width: 800px;
}

.info-item {
  margin-bottom: 30px;
}

.info-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-family: 'Noto Serif JP', serif;
  position: relative;
  padding-left: 20px;
}

.info-item h3::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #E17A42;
  border-radius: 50%;
}

.info-item p {
  line-height: 1.8;
  margin-bottom: 10px;
}

.info-item ul {
  list-style: none;
  margin-left: 20px;
}

.info-item ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 15px;
}

.info-item ul li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  background-color: #4A87BF;
  border-radius: 50%;
}
/* 設備・アメニティ用の追加スタイル */
/* 設備・アメニティ用のシンプルなスタイル */
.facility-item {
  margin-bottom: 30px;
  position: relative;
}

.facility-item h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #666;
  border-bottom: 2px solid #E17A42;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
}

.facility-item h4 i {
  margin-right: 10px;
  color: #4A87BF;
  width: 24px;
  text-align: center;
}

.facility-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 34px; /* アイコンに合わせた左余白 */
}

.facility-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.facility-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #E17A42;
  border-radius: 50%;
}
/* アクセス */
#access {
  background-color: #f9f9f9;
  position: relative;
}

.access-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.access-map {
  width: 60%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.access-info {
  width: 35%;
}

.access-item {
  margin-bottom: 30px;
}

.access-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
}

.access-item h3::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #4A87BF;
  border-radius: 50%;
}

.access-item p {
  line-height: 1.8;
}

.location-photos {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.location-photo {
  width: 48%;
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.location-photo:nth-child(2n) {
  margin-left: 4%;
}

/* フォトギャラリー */
#gallery {
  background-color: #fff;
  text-align: center;
}

.gallery-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-title i {
  font-size: 36px;
  margin-right: 15px;
  color: #E17A42;
}

.gallery-title h2 {
  font-size: 30px;
  font-weight: 500;
}

.gallery-feed {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-follow {
  margin-top: 30px;
}

.gallery-follow a {
  display: inline-block;
  padding: 12px 30px;
  background-color: #E17A42;
  color: #fff;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.gallery-follow a:hover {
  background-color: #D15E20;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(225, 122, 66, 0.3);
}

.gallery-follow a i {
  margin-right: 8px;
}

/* ご予約＆お問い合わせ */
#contact {
  background-color: #f9f9f9;
  position: relative;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-content {
  text-align: center;
  margin-bottom: 40px;
}

.contact-content p {
  font-size: 18px;
  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap; /* 改行させない */
  gap: 15px; /* 間隔を少し縮める */
}

.reservation-button,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px; /* パディングを縮小 */
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  color: #fff;
  white-space: nowrap; /* テキスト折り返し防止 */
  flex: 1; /* 均等に幅を分配 */
}
/* Booking.com アイコンだけ絞り込み */
.reservation-button.booking-button .button-icon {
  width: 16px;
  height: auto;
  margin-right: 12px;
  /* vertical-align は不要になります */
  display: block;
}
/* ② ボタン左右のパディングを増やす */
.reservation-button.booking-button {
  /* padding: 12px 20px;  ← 既存ルール */
  padding: 12px 24px;  /* ← 左右とも 4pxずつ広げる */
}
/* モバイル用微調整 */
@media screen and (max-width: 768px) {
  .reservation-button.booking-button .button-icon {
    width: 12px;
    margin-right: 6px;
  }
}

/* Airbnbボタン */
.airbnb-button {
  background-color: #FF5A5F; /* Airbnbカラー */
}

.airbnb-button:hover {
  background-color: #E04146;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Booking.comボタン */
.booking-button {
  background-color: #003580; /* Booking.comの青 */
}

.booking-button:hover {
  background-color: #00224f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 問い合わせボタン */
.contact-button {
  background-color: #E17A42; /* サイトの主要カラー */
}

.contact-button:hover {
  background-color: #D15E20;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.reservation-button i,
.contact-button i {
  margin-right: 10px;
}

@media screen and (max-width: 768px) {
  .contact-buttons {
    flex-direction: column; /* スマホでは縦並びに戻す */
    gap: 15px;
  }
  
  .reservation-button,
  .contact-button {
    width: 100%; /* 幅を100%に戻す */
    margin-bottom: 0; /* gap効いているので余分なマージン削除 */
    white-space: normal; /* テキスト折り返し許可 */
  }
  
  /* モバイルでも色を維持 */
  .airbnb-button {
    background-color: #FF5A5F;
  }
  
  .booking-button {
    background-color: #003580;
  }
  
  .contact-button {
    background-color: #E17A42;
  }
}

/* 間取り図用スタイル（タブ切り替え方式） */
.floor-plans {
  margin-top: 80px;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-subtitle .bar {
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, #E17A42, #4A87BF);
  margin: 0 auto 12px;
}

.section-subtitle p {
  font-size: 16px;
  color: #666;
}

/* タブボタン */
.floor-plan-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-button {
  padding: 12px 40px;
  margin: 0 10px;
  font-size: 20px;
  font-weight: 500;
  border: none;
  background: linear-gradient(to right, #E17A42, #4A87BF);
  color: white;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tab-button.active {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* タブコンテンツ */
.tab-content {
  position: relative;
}

.floor-plan-wrapper {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.floor-plan-wrapper.active {
  display: block;
}

.floor-plan-image {
  width: 100%;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.floor-plan-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.floor-plan-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #f0f0f0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .tab-button {
    padding: 10px 30px;
    font-size: 18px;
  }
  
  .floor-plans {
    margin-top: 60px;
  }
  
  .section-subtitle h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  .tab-button {
    padding: 8px 25px;
    font-size: 16px;
    margin: 0 5px;
  }
}