:root {
  /* ヒーローの最低高さ */
  --hero-min-height: 390px;
}

/* ヒーローエリア */
.activity-hero {
    position: relative;             /* オーバーレイ用 */
    height: var(--hero-min-height);              /* 画像が小さいときの最低限の高さ */
    background-size: cover;         /* 縦横いっぱいに拡大 */
    background-position: center;    /* 中心を表示 */
    display: flex;
    align-items: center;            /* 縦中央 */
    justify-content: center;        /* 横中央 */
}
  
/* 画像を暗くするオーバーレイ */
.activity-hero::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.4);
    z-index:1;
}
  
.activity-hero .hero-content {
    position:relative;
    z-index:2;
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 2rem;
}

/* タイトルを白抜き（Stroke）で中央表示 */
/* .activity-hero .activity-title {
    position: relative;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    text-align: center;
    font-size: clamp(2rem, 8vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
} */

.activity-hero .activity-title {
    color: #fff;
    font-size:clamp(2.5rem,6vw,4rem);
    line-height:1.1;
    margin:0;
    text-align: center;
}

.btn-hero {
    display:inline-block;
    background: var(--primary-blue);
    color:#fff;
    padding:0.75rem 1.5rem;
    border-radius:50px;
    font-weight:600;
    text-decoration: none;
    transition:background 0.3s;
}
.btn-hero:hover {
    background: var(--primary-blue-lt);
}
  


.btn-vertical-reserve {
    position: fixed; /* スクロールしても固定 */
    right: 0;
    top: calc(var(--header-height) + (var(--hero-min-height) / 2));
    transform: translateY(-50%);
    writing-mode: vertical-rl;    /* 縦中横は不要 */
    text-orientation: upright;    /* 文字を立てる */
    display: inline-block;        /* flex は不要 */
    white-space: nowrap;          /* 折り返し防止 */
    background:var(--accent-color); color:#fff !important;
    padding:1.5rem 1rem;
    border-radius:8px 0 0 8px;
    box-shadow:0 4px 20px rgba(255,68,68,0.3);
    font-weight:600; font-size:1.5rem; letter-spacing:.1em;
    z-index:3;
    transition: background .3s;
    text-decoration: none !important;   /* ← これで下線（縦線）OFF */
    outline: none;                      /* フォーカス時のアウトラインも不要なら */    
}

.btn-vertical-reserve:hover {
    background: var(--accent-color-lt);
}

/* Meta セクション */
.activity-meta {
    background: #f8f9fa;
    padding: 3rem 0;
}

.meta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.meta-card {
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 220px;
}

.meta-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: #fff;
    padding: 12px;
}

.meta-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 白色にする */
}

.meta-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .meta-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .meta-card {
        max-width: 100%;
        width: 100%;
    }
    
    .activity-hero .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* =========================
   Activity Intro Section
   ========================= */
   .activity-intro {
    display: flex;
    gap: 2rem;
    margin: 4rem 5rem 4rem 0;
    padding: 0;
    align-items: flex-start;
  }
  
    /* 動画部分を 60% 幅に */
    .intro-video {
        flex: 0 0 60%;     /* 基本幅 60% */
        max-width: 60%;    /* 最大幅も 60% */
        margin-top: 20px;
    }

    /* テキスト部分は残り */
    .intro-content {
        flex: 1;
    }

  .intro-video iframe,
  .intro-video video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden;
  }
    
  .intro-eng-title {
    font-family: "acier-bat-noir", "sans-serif";
    font-size: 2.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin: 0 auto;
  }
  
  .intro-ja-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
  }
  
  .intro-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 3px 0 0 0;
  }
  
  .intro-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
  
  .btn-intro {
    display: inline-block;
    background: var(--accent-color);
    color: #fff !important;
    padding: 0.75rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    text-decoration: none;
    margin-top: 0;
  }
  .btn-intro:hover {
    background: var(--accent-color-lt);
  }
  
  /* レスポンシブ */
  @media (max-width: 768px) {
    .activity-intro {
      flex-direction: column;
      text-align: center;
    }
    .intro-content {
      margin-top: 1.5rem;
    }
}


/* Gallery-right セクション調整 */
.activity-gallery-right {
  margin-bottom: 100px;
}

.activity-gallery-right .gallery-wrap {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    gap: 5px;                  /* アイテム間隔 */
    flex-wrap: nowrap;         /* 折り返さない */
    margin-left: 100px;
  }
  
  /* 各画像を正方形にする */
  .activity-gallery-right .gallery-item {
    /* 親幅から gap×2 を引いたうえで3分割 */
    width: calc((100% - (5px * 2)) / 3);
    aspect-ratio: 1 / 1;       /* 正方形を確保 */
    overflow: hidden;          /* はみ出し画像を隠す */
    flex-shrink: 0;            /* 縮小を抑制 */
  }
  
  /* 画像を枠いっぱいに表示して切り抜き */
  .activity-gallery-right .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }


  /* ====== Staff Section ====== */
  .activity-staff {
    position: relative;
    /* background: #FFF5EB; */
    /* Safari 対応 */
    -webkit-clip-path: polygon(
      0%   8%,
      10%  7%,
      15%  6%,
      25%  4%,
      30%  3%,
      35%  2%,
      40%  1.5%,
      45%  1.7%,
      50%  2%,
      55%  3%,
      60%  4%,
      65%  6%,
      70%  8%,
      75%  10%,
      80%  12%,
      90%  16%,
      100% 18%,
      100% 100%,
      0%   100%
    );
    clip-path: polygon(
      0%   8%,
      10%  7%,
      15%  6%,
      25%  4%,
      30%  3%,
      35%  2%,
      40%  1.5%,
      45%  1.7%,
      50%  2%,
      55%  3%,
      60%  4%,
      65%  6%,
      70%  8%,
      75%  10%,
      80%  12%,
      90%  16%,
      100% 18%,
      100% 100%,
      0%   100%
    );
    padding: 6rem 1rem 0rem;
    overflow: hidden;
  }
  
    
  /* 内側ラッパー */
  .activity-staff .staff-inner {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
  }
  
  .staff-heading {
    position: absolute;
    left: 200px;
    top: 100px;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    z-index: 10;
  }
  
  .heading-en {
    font-family: "acier-bat-noir", 'YourEnglishFont', "sans-serif";
    font-size: 3rem;
    color: var(--primary-blue);
    letter-spacing: 0.15em;
    margin: 0;
  }
  
  .heading-ja {
    font-family: 'YourJapaneseFont', sans-serif; /* 日本語用フォント */
    font-size: 1.5rem; /* お好みで調整 */
    margin: 0;
  }

  .staff-inner {
    margin-top: 4.5rem;    /* staff-heading の高さ＋マージン分 */
  }

  /* タイトル */
  .activity-staff h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
  }
  
  /* 両リストの基本スタイル */
  .activity-staff .staff-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  /* スタッフカード */
  .activity-staff .staff-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* 子要素を縦軸中央に */
    border-radius: 8px;
    padding: 1.5rem;
    flex: 1 1 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
    text-align: center;
  }

  .staff-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #007bff; /* お好みの青色に変更OK */
    object-fit: cover;
    display: block;
    margin-bottom: .5em;
  }
  

  
  .activity-staff .staff-item img {
    border-radius: 50%;
    margin-bottom: 1rem;
    width: 250px;
    height: 250px;
    object-fit: cover;
  }
  
  /* hidden by default */
  .activity-staff .extra-list {
    display: none;
  }
  
  /* More ボタン */
  .activity-staff .staff-more {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
    display: block;
    margin: 1rem 50px 0 auto;     
  }
  .activity-staff .staff-more:hover {
    color: var(--primary-blue-lt);
  }
    

  /* レスポンシブ */
  @media (max-width: 768px) {
    .activity-staff .staff-item {
      flex: 1 1 calc(50% - 2rem);
      max-width: calc(50% - 2rem);
    }
  }
  @media (max-width: 480px) {
    .activity-staff .staff-item {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }



/* Activity Tabs Section */
.activity-tabs {
  margin: 0;
  padding: 4rem 1rem; /* 上下パディングを4rem、左右も少し確保 */
}

/* 子要素（新規追加）：コンテンツの中央揃えを担当 */
.tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* タブナビゲーション */
.tabs-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  background: #f8f9fa;
  border-radius: 0;
  overflow: hidden;
}

.tab-nav-item {
  flex: 1;
  background: #4DBACE;
  color: #fff;
  padding: 1rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.tab-nav-item:hover {
  background: #3ca3b8;
  transform: translateY(-2px);
}

.tab-nav-item.active {
  background: #fff;
  color: #4DBACE;
  border-bottom: 3px solid #4DBACE;
  z-index: 2;
}

.tab-nav-item .tab-en {
  font-family: "acier-bat-noir", 'YourEnglishFont', "sans-serif";
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.tab-nav-item .tab-ja {
  font-size: 1.0rem;
  font-weight: 400;
  opacity: 0.8;
}

.tab-nav-item.active .tab-ja {
  opacity: 0.6;
}

/* タブコンテンツ */
.tabs-content {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  min-height: 400px;
}

.tab-pane {
  display: none;
  padding: 2rem;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Access Tab Styles */
.access-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.access-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.access-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.access-label {
  font-weight: 600;
  color: #666;
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-value {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem 0;
}

.access-time {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.access-note {
  font-size: 0.9rem;
  color: #666;
}

.access-address {
  font-size: 0.95rem;
  line-height: 1.4;
}

.map-link {
  color: #4DBACE;
  text-decoration: none;
  font-size: 0.9rem;
}

.map-link:hover {
  text-decoration: underline;
}

/* Map Container */
.map-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-embed {
  width: 100%;
  height: 300px;
  font-size: 0;
}

.map-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-coordinates {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(77, 186, 206, 0.9);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: monospace;
}

.map-expand {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.3rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8rem;
  transition: background 0.3s;
}

.map-expand:hover {
  background: rgba(0,0,0,0.9);
}

/* Price Tab Styles */
.price-info {
  text-align: center;
  padding: 2rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4DBACE;
  margin-bottom: 0.5rem;
}

.price-note {
  color: #666;
  font-size: 0.9rem;
  margin-top: 1rem;
}




/* Review Tab Styles */
.review-content {
  display: flex; /* アイコンと右側のbodyを横並びにする */
  align-items: flex-start;
  gap: 20px;
}

/* アイコン（変更なし） */
.review-icon img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* アイコン以外の右側のコンテンツ（名前、星、コメント） */
.review-body {
  flex: 1;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
}

.review-comment {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #4DBACE;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}




/* Information Tab Styles */
.info-sections {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

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

.info-section:last-child {
  margin-bottom: 0;
}

.info-section-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 15px 0;
  padding: 0;
  border: none;
  background: none;
}

.info-table {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.info-row {
  display: flex;
  min-height: 50px;
  border-bottom: 1px solid #ddd;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  background-color: #f5f5f5;
  padding: 12px 15px;
  font-weight: bold;
  color: #333;
  min-width: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  border-right: 1px solid #ddd;
  font-size: 14px;
}

.info-value {
  padding: 12px 15px;
  color: #333;
  flex: 1;
  line-height: 1.6;
  font-size: 14px;
  display: flex;
  /* align-items: flex-start; */
  flex-direction: column;
}

.health-check-link {
  color: #0073aa;
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
}

.health-check-link:hover {
  color: #005a87;
  text-decoration: none;
}

/* wpautop()で生成される段落の調整 */
.info-value p {
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.info-value p:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
    min-height: auto;
  }
  
  .info-label {
    min-width: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 12px 8px 12px;
  }
  
  .info-value {
    padding: 8px 12px 12px 12px;
  }
  
  .info-section-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
}

/* 既存のタブコンテンツエリアとの統合 */
.tab-content-text .info-sections {
  margin: 0;
  padding: 0;
}

.tab-content-text .info-section-title {
  margin-top: 0;
}

/* PHPで出力される場合の段落調整 */
.tab-content-text p:first-child {
  margin-top: 0;
}

.tab-content-text p:last-child {
  margin-bottom: 0;
}




/* --- Review Section --- */
.review-section {
  margin: 3px 80px;
  padding: 20px 0; /* 上下の余白 */
}

/* レビューリスト */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 40px; /* 各レビュー間の余白 */
}

/* レビュー1件ごとのスタイル */
.review-item {
  gap: 20px; /* アイコンと本文の間の余白 */
}

/* レビュアーのアイコン */
.review-icon img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover; /* 画像が引き伸ばされないように */
  flex-shrink: 0; /* アイコンが縮まないように */
}

/* アイコン以外の部分 */
.review-body {
  flex: 1; /* 横幅いっぱいに広がるように */
}

/* レビューのヘッダー（名前と星） */
.review-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 3px; /* ヘッダーとコメント本文の間の余白 */
}

/* レビュアー名 */
.reviewer-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 5px 0; /* 星との間に少し余白 */
}

/* 評価の星 */
.rating .stars {
  color: #f5a623; /* 星の色 */
  font-size: 22px;
  letter-spacing: 3px;
}

/* レビュー本文 */
.review-comment {
  margin: 0; /* blockquoteのデフォルトマージンをリセット */
  padding-left: 20px;
  border-left: 3px solid #00a0b8; /* 左の縦線 */
  line-height: 1.8;
  color: #555;
}

/* moreリンク */
.more-link-container {
  text-align: right;
  margin-top: 30px;
}

.more-link {
  color: #00a0b8;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s;
}

.more-link:hover {
  color: #007c91;
}

/* レビューがない場合のテキスト */
.no-reviews {
  text-align: center;
  padding: 40px 20px;
  color: #777;
}

.hidden-review {
  display: none;
}





/* Philosophy Tab Styles */
.tab-content-text {
  line-height: 1.6;
  color: #333;
}

.tab-content-text h3 {
  color: #4DBACE;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.tab-content-text p {
  margin-bottom: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .tabs-nav {
    flex-wrap: wrap;
  }
  
  .tab-nav-item {
    flex: 1 1 calc(50% - 0px);
    min-height: 60px;
    font-size: 0.8rem;
  }
  
  .tab-nav-item .tab-en {
    font-size: 0.8rem;
  }
  
  .tab-nav-item .tab-ja {
    font-size: 0.65rem;
  }
  
  .access-info {
    grid-template-columns: 1fr;
  }
  
  .access-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .access-label {
    text-align: left;
  }
  
  .tab-pane {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .tab-nav-item {
    flex: 1 1 100%;
  }
  
  .price-amount {
    font-size: 2rem;
  }
}



.gallery-images-footer-dai {
  padding: 40px 20px 40px 0;
  background: #fafafa;
}

.gallery-images-footer-dai .gallery-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-right: 300px;
}
@media (max-width: 768px) {
  .gallery-images-footer-dai .gallery-inner {
    grid-template-columns: 1fr;
  }
}

.gallery-images-footer-dai .gallery-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);

  /* 全て同じ比率で表示させる（16:9）*/
  aspect-ratio: 16 / 9;
}



.gallery-images-footer-syo .gallery-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-left: 100px;
}

.gallery-images-footer-syo .gallery-item {
  position: relative;
  width: 100%;
  /* 横長寄りの正方形比率（幅÷高さ＝1.2） */
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-images-footer-syo .gallery-photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 必要なら小画面で 1 列に切り替え */
@media (max-width: 768px) {
  .gallery-images-footer-syo .gallery-inner {
    grid-template-columns: 1fr;
  }
}


/* ── フッターCTAセクション ── */
.activity-footer-cta {
  padding: 60px 20px;
  background: #fff;     /* セクション背景色 */
  text-align: center;   /* ボタンを中央 */
}

.activity-footer-cta .btn-footer-reserve {
  display: inline-block;
  padding: 0.75rem 3rem;
  font-size: 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  background-color: var(--accent-color);
  color: #fff;
  transition: background-color 0.3s;
  text-decoration: none !important;
}

.activity-footer-cta .btn-footer-reserve:hover {
  background-color: var(--accent-color-lt);
}




/* 予約カレンダーのヘッダー調整 */
.start_booking_package {
    margin-top: 100px !important;
}




