/* 
 * LeoPalace Resort Guam - Wedding Room Page Stylesheet
 * ミーティングルームページ専用スタイル
 */

/* ----------------------------------------
   1. 変数・リセット (既存ファイルで定義されている場合は不要)
---------------------------------------- */

/* ----------------------------------------
   2. 共通スタイル
---------------------------------------- */

/* Hero Section Styles */
.wedding-page .slideshow-item:nth-child(1) {
  background-image: url('/wedding/img/wedding-hero1.jpg');
}

/* ----------------------------------------
   3. レイアウト関連
---------------------------------------- */

/* Wedding Details Section */
.wedding-details {
  padding: 80px 0 90px;
}

.wedding-details-inner {
  width: 80%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #918A7A;
  font-weight: normal;
  letter-spacing: 2px;
  font-size: 28px;
}

/* Wedding Intro Section */
.wedding-intro {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 80px;
  text-align: center;
}

.wedding-intro p {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  letter-spacing: 1px;
  color: #000000;
}

/* Wedding List - 2 Column Layout */
.wedding-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5%;
  margin-bottom: 60px;
}

/* ----------------------------------------
   4. コンポーネント
---------------------------------------- */

/* Wedding Item */
.wedding-item {
  width: 47.5%;
  margin-bottom: 60px;
}

.wedding-img {
  height: 300px;
  overflow: hidden;
}

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

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

/* Wedding Text Wrapper */
.wedding-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.wedding-text h3 {
  color: var(--color-primary);
  text-align: center;
  font-size: var(--font-size-md);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.wedding-text p {
  text-align: center;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Specifications Text */
p.specs {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 5px;
}

/* Contact Section */
.wedding-contact {
  margin-top: 60px;
  text-align: center;
  padding-top: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  padding: 30px 20px;
}

.contact-email, .contact-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 25px;
}

.contact-email:hover, .contact-phone:hover {
  color: var(--color-hover);
}

.icon-email, .icon-phone {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-phone {
  margin-bottom: 0;
}

.contact-methods img {
  margin-bottom: 15px;
  width: 50px;
  height: auto;
  opacity: 0.7;
}

.contact-methods span {
  font-size: 18px;
  color: #333;
}

@media (min-width: 768px) {
  .contact-methods {
      flex-direction: row;
      justify-content: space-around;
  }
  
  .contact-email, .contact-phone {
      width: 45%;
      margin-bottom: 0;
  }
}

.wedding-item ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #000000;
  letter-spacing: 2px;
  line-height: 1.8;
  display: inline-table;
  text-align: left;
}

/* ----------------------------------------
   5. テーブル
---------------------------------------- */

.facilities-table {
width: 100%;
border-collapse: collapse;
margin-bottom: var(--spacing-lg);
font-size: var(--font-size-sm);
}

.facilities-table th,
.facilities-table td {
border: 1px solid var(--color-border);
padding: var(--spacing-sm) var(--spacing-md);
vertical-align: middle;
}

/* ヘッダー */
.facilities-table thead th {
background-color: var(--color-bg-light);
color: var(--color-primary);
font-weight: 600;
text-align: center;
line-height: 1.4;
}

/* 単位行（small要素） */
.facilities-table thead th small {
display: block;
font-size: var(--font-size-xs);
color: var(--color-text-light);
font-weight: 200;
margin-top: 2px;
}

/* データセル */
.facilities-table tbody td {
text-align: center;
color: var(--color-text);
font-weight: 200;
background-color: var(--color-white);
}

/* colspanセルの中央寄せ */
.facilities-table td[colspan] {
text-align: center;
color: var(--color-text-light);
}

/* レスポンシブ対応（スマホで横スクロール） */
@media (max-width: 768px) {
.facilities-table {
  display: block;
  white-space: nowrap;
}
}

/* テーブルコンテナとスクロールヒント */
.table-container {
position: relative;
width: 100%;
overflow-x: auto;
margin-bottom: var(--spacing-lg);
}

/* 横スクロールヒント（→マーク） */
.scroll-hint.horizontal {
position: absolute;
right: 40%;
top: 50%;
transform: translateY(-50%);
width: 60px;
height: 60px;
background-color: rgba(145, 138, 122, 0.8);
border-radius: 50%;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.scroll-hint.horizontal::after {
content: '→';
color: white;
font-size: 24px;
font-weight: bold;
animation: bounceArrowHorizontal 1.5s infinite;
}

@keyframes bounceArrowHorizontal {
0%, 20%, 50%, 80%, 100% {
  transform: translateX(0);
}
40% {
  transform: translateX(5px);
}
60% {
  transform: translateX(3px);
}
}

/* スクロール可能なテーブル用スタイル */
.is-scrollable-x {
position: relative;
}

.is-scrollable-x .scroll-hint.horizontal {
opacity: 0.9;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
.facilities-table {
  white-space: nowrap;
  min-width: 700px; /* テーブルの最小幅を設定 */
}
}

/* ----------------------------------------
   電話、メール設定
---------------------------------------- */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: var(--spacing-md, 16px);
}

        /* 電話、メールコンテンツ */
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm, 12px);
  transition: transform var(--transition-speed);
  padding: var(--spacing-md, 16px);
  border-radius: 10px;
}

.contact-item:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.contact-circle {
  width: 70px;
  height: 70px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-item:hover .contact-circle {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-circle svg {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-speed);
}

.contact-item:hover .contact-circle svg {
  transform: rotate(5deg);
}

.contact-item a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 300;
  transition: color var(--transition-speed);
}

.contact-item a:hover {
  color: var(--color-primary);
}

.contact-item a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 300;
  transition: color var(--transition-speed);
}

.contact-item a:hover {
  color: var(--color-primary);
}

/* Reservation Button */
.reservation-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  padding: 8px var(--spacing-md, 16px);
  border-radius: var(--border-radius);
  transition: background-color var(--transition-speed), transform var(--transition-speed);
  gap: 8px;
}

.reservation-btn:hover {
  background-color: #776f62;
  color: var(--color-white) !important;
  transform: translateY(-2px);
}

.reservation-btn:hover .circle-icon {
  background-color: var(--color-hover);
}

.reservation-btn:hover .circle-icon-inner {
  border-color: transparent transparent transparent var(--color-white);
}

@keyframes bounceArrowHorizontal {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(3px);
  }
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
      gap: var(--spacing-lg, 24px);
  }
}


/* ----------------------------------------
   6. レスポンシブスタイル
---------------------------------------- */

/* Tablet (1024px以下) */
@media (max-width: 1024px) {
  .wedding-intro {
    width: 90%;
  }
  
  .wedding-list {
    gap: 4%;
  }
  
  .wedding-item {
    width: 48%;
  }
  
  .wedding-img {
    height: 250px;
  }
}

/* Small Tablet (768px以下) */
@media (max-width: 768px) {
  .wedding-details {
    padding: 60px 0;
  }
  
  .wedding-details-inner {
    width: 90%;
  }
  
  .wedding-intro {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .wedding-list {
    flex-direction: column;
  }
  
  .wedding-item {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .wedding-img {
    height: 220px;
  }
  
  .contact-methods {
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-email, .contact-phone {
    font-size: var(--font-size-sm);
    justify-content: center;
  }
}

/* Mobile (480px以下) */
@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }
  
  .wedding-intro p {
    font-size: 14px;
  }
  
  .wedding-text h3 {
    font-size: 18px;
  }
  
  .wedding-text p {
    font-size: 14px;
  }
  
  p.specs {
    font-size: 13px;
  }
  
  .wedding-text-wrap {
    min-height: auto;
    padding: 20px 15px;
  }
}