.p-single-spot {
  background-color: var(--color-background-light);
}

.p-single-spot .breadcrumb {
  background-color: var(--color-background-light) !important;
}

/* ===== BEGIN TITLE AREA ===== */
.p-single-spot__title-area {
  /* 背景画像の設定 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* セクションの高さ */
  min-height: 400px;
  height: 25vh;

  /* コンテンツ配置 */
  display: flex;
  align-items: center;

  /* 暗いオーバーレイ効果 */
  position: relative;
}

@media screen {
  .p-single-spot__title-area {
    min-height: 200px;
    max-height: 30vh;
  }
}

.p-single-spot__title-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.p-single-spot__title-area-wrapper {
  position: relative;
  z-index: 2;

  /* コンテンツの配置 */
  width: 100%;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 40px 85px;
}

@media screen and (max-width: 769px) {
  .p-single-spot__title-area-wrapper {
    padding: 20px;
  }
}

/* タグエリア */
.p-single-spot__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.p-single-spot__tags .tag {
  display: inline-block;
  background: linear-gradient(135deg, #ff9800 0%, #ff6b00 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  line-height: 1;
}

/* タイトル */
.p-single-spot__title {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* サブタイトル */
.p-single-spot__subtitle {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media screen {
  .p-single-spot__title {
    font-size: 1.35rem;
  }

  /* サブタイトル */
  .p-single-spot__subtitle {
    font-size: 0.75rem;
  }
}

/* ===== END TITLE AREA ===== */

.wrapper {
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
}

/* ==== BEGIN SIDEBAR ===== */

.content-sidebar>p {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 24px 0;
}

.sidebar-nearby-ryokan__container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-nearby-ryokan__container>a {
  text-decoration: none;
  display: block;
}

.sidebar-nearby-ryokan__card {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.sidebar-nearby-ryokan__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 画像カラム */
.sidebar-nearby-ryokan__card .card-col:first-child {
  flex-shrink: 0;
}

.sidebar-nearby-ryokan__card .card-col:first-child img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* テキストカラム */
.sidebar-nearby-ryokan__card .card-col:last-child {
  flex: 1;
  min-width: 0;
  padding-right: 40px;
}

.sidebar-nearby-ryokan__card .ryokan-name {
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
  margin: 0;
  line-height: 1.5;
  /* テキストが長い場合の処理 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 矢印アイコン */
/* .sidebar-nearby-ryokan__card::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #ff9800 0%, #ff6b00 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
} */

/* .sidebar-nearby-ryokan__card::before {
    content: '↗';
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 1.0rem;
    font-weight: 700;
    z-index: 1;
    pointer-events: none;
} */
/* ===== END SIDEBAR ====== */
/* ===== BEGIN CONTENT BODY ===== */
.content-main {
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media screen and (max-width: 769px) {
  .content-main {
    flex-direction: column;
  }
  .content-body {
    order: 1;
  }
  .content-sidebar {
    order: 2;
  }
}

.content-body {
  flex: 1;
  min-width: 0;
}

.content-sidebar {
  width: 360px;
  flex-shrink: 0;
}

@media screen and (max-width: 769px) {
  .content-sidebar {
    width: auto;
  }
  
}

/* ギャラリー */
.spot-top-gallery-images {
  margin-bottom: 20px;
}

/* メイン画像*/
.spot-top-gallery-images .main-image {
  width: 100%;
  margin-bottom: 10px;
  /* aspect-ratio: 4 / 2.75; */
  /* max-height: 700px; */
}

.spot-top-gallery-images .main-image img {
  width: 100%;
  height: auto;
  min-height: 500px;
  max-height: 700px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

@media screen and (max-width: 769px) {
  .spot-top-gallery-images .main-image img {
    width: 100%;
    min-height: 200px;
  }
  
}

/* サムネイルギャラリーのコンテナ */
.spot-top-gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* サムネイル画像 */
.spot-top-gallery-images .gallery-image {
  width: calc((100% - 200px) / 5);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 2.75;
  flex-shrink: 0;
}

@media screen and (max-width: 769px) {
  /* サムネイル画像 */
  .spot-top-gallery-images .gallery-image {
    width: 50px;
  }
}

.spot-top-gallery-images .gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.spot-top-gallery-images .gallery-image:not(:first-child):hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* アクティブなサムネイル（選択中の画像） */
/* .spot-top-gallery-images .gallery-image.is-active {
  outline: 3px solid #ff9800;
  outline-offset: -3px;
} */
 .spot-top-gallery-images .gallery-image.is-active {
  box-shadow: 0 0 0 3px #ff9800;
}

/* ギャラリーナビゲーション矢印用のラッパー */
.gallery-navigation-wrapper {
  position: relative;
}

/* 矢印ボタン */
.gallery-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 20px;
}

.gallery-navigation button {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.gallery-navigation button:hover {
  background-color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-navigation button:active {
  transform: scale(0.95);
}

.gallery-navigation button.prev::before {
  content: '←';
}

.gallery-navigation button.next::before {
  content: '→';
}

.gallery-navigation button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-navigation button:disabled:hover {
  transform: none;
  background-color: rgba(255, 255, 255, 0.95);
}

/* ===== BEGEIN 目次 ===== */
/* ==================== 
   目次（Table of Contents）
==================== */
#ez-toc-container {
  background-color: #ffffff;
  padding: 32px 40px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: 100%;
}

@media screen and (max-width: 769px) {
  #ez-toc-container {
    width: 65vw;
  }
}

/* タイトルコンテナ（使用しない場合は非表示） */
.ez-toc-title-container {
  display: none;
}

/* ナビゲーション */
#ez-toc-container nav {
  display: block;
}


/* リストのリセット */
.ez-toc-list {
  list-style: none;
  margin: 0;
  padding: 0 !important;
}

@media screen and (max-width: 769px) {
  #ez-toc-container ul {
    padding: 0 20px;
  }
}

/* 各リスト項目 */
.ez-toc-list li {
  border-bottom: 2px dotted #d0d0d0;
  padding: 0;
  margin: 0;
}

.ez-toc-list li:last-child {
  border-bottom: none;
}

/* リンクのスタイル */
.ez-toc-link {
  display: flex;
  align-items: center !important;
  padding: 20px 0;
  text-decoration: none;
  color: #333333;
  font-size: 20px;
  font-weight: 900 !important;
  line-height: 1.6;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.ez-toc-link:hover {
  color: #ff9800;
  padding-left: 8px;
}

/* 黒丸アイコン */
.ez-toc-link::before {
  content: '';
  width: 16px;
  height: 16px;
  background-color: #333333;
  border-radius: 50%;
  margin-right: 16px;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.ez-toc-link:hover::before {
  background-color: #ff9800;
}

/* ===== END 目次 ===== */

/* h2見出し - 下線付き */
.content-body h2.wp-block-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  margin: 60px 0 32px 0;
  padding-bottom: 16px;
  border-bottom: 2px solid #333333;
  line-height: 1.4;
}

.content-body h2.wp-block-heading:first-child {
  margin-top: 0;
}

/* h3見出し - 右側に斜線パターン */
.content-body h3.wp-block-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
  margin: 18px 0 24px 0;
  padding: 5px 20px;
  line-height: 1.5;
  position: relative;
  background: linear-gradient(135deg,
      transparent 0%,
      transparent 45%,
      #e8e8e8 45%,
      #e8e8e8 47%,
      transparent 47%,
      transparent 52%,
      #e8e8e8 52%,
      #e8e8e8 54%,
      transparent 54%,
      transparent 59%,
      #e8e8e8 59%,
      #e8e8e8 61%,
      transparent 61%,
      transparent 66%,
      #e8e8e8 66%,
      #e8e8e8 68%,
      transparent 68%,
      transparent 73%,
      #e8e8e8 73%,
      #e8e8e8 75%,
      transparent 75%,
      transparent 80%,
      #e8e8e8 80%,
      #e8e8e8 82%,
      transparent 82%,
      transparent 87%,
      #e8e8e8 87%,
      #e8e8e8 89%,
      transparent 89%,
      transparent 94%,
      #e8e8e8 94%,
      #e8e8e8 96%,
      transparent 96%,
      transparent 100%);
}

.content-body h3.wp-block-heading:first-child {
  margin-top: 0;
}

/* BLOCK CONTENTS */
.content-body p {
  font-size: 16px;
  line-height: 2.5;
  color: #333;
  margin: 0 0 -5px 0;
  letter-spacing: 0.13rem;
  word-break: break-all;
}

@media screen and (max-width: 769px) {
    .content-body h2.wp-block-heading {
        font-size: 20px;
    }

    .content-body h3.wp-block-heading {
        font-size: 18px;
    }
    .content-body p {
        font-size: 14px;
        line-height: 2.0;
    }
}

.content-body .wp-block-image {
  margin: 40px 0;
}
.content-body .wp-block-image img {
  width: 100% !important;
}

/* 吹き出し系 */
/* VK Blocks 吹き出しブロック - カード型スタイル */
.vk_balloon {
  background-color: var(--color-background) !important;
  border: 1px solid #000000;
  border-radius: 15px;
  padding: 30px;
  margin: 40px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* 左配置 */
.vk_balloon-position-left {
  flex-direction: row;
}

/* 右配置（必要に応じて） */
.vk_balloon-position-right {
  flex-direction: row-reverse;
}

/* アイコン部分 */
.vk_balloon_icon {
  flex-shrink: 0;
}

.vk_balloon_icon figure {
  margin: 0;
  text-align: center;
}

.vk_balloon_icon_image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}

.vk_balloon_icon_name {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  display: block;
}

/* コンテンツ部分 */
.vk_balloon_content_outer {
  flex: 1;
  min-width: 0;
}

.vk_balloon_content {
  position: relative;
  background: transparent !important;
}

/* 吹き出しの矢印を非表示（カード型デザインのため） */
.vk_balloon_content_before,
.vk_balloon_content_after {
  display: none !important;
}

.vk_balloon_content p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin: 0 0 10px 0;
}

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

/* アニメーション設定を無効化 */
.vk_balloon-animation-none {
  animation: none;
}

/* 中間バナー画像 */
.spot-middle-banner-image {
  width: 113vw;
  margin: 40px calc(47% - 42vw) !important;
  z-index: 1;
}

.spot-middle-banner-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

@media screen and (max-width: 769px) {
  .spot-middle-banner-image img {
    width: 90vw;
  }
  
}

/* 見所スニペット */
.spot-nearby-attractives {
  margin: 40px 0;
}

.spot-nearby-attractives__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.spot-nearby-attractives__item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 2.75;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media screen and (max-width: 769px) {
  .spot-nearby-attractives__list {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 7px !important;
  }
  .spot-nearby-attractives__item {
    border-radius: 2px !important;
  }
}

.spot-nearby-attractives__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.spot-nearby-attractives__item .item-col {
  width: 100%;
  height: 100%;
}

.spot-nearby-attractives__item .item-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.spot-nearby-attractives__item:hover .item-col img {
  transform: scale(1.05);
}

/* モーダル - 非表示 */
.spot-nearby-attractives__item-modal {
  display: none;
}

/* ==================== 
   スポット見どころギャラリー
==================== */
.spot-nearby-attractives {
  margin: 40px 0;
}

.spot-nearby-attractives__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.spot-nearby-attractives__item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spot-nearby-attractives__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.spot-nearby-attractives__item .item-col {
  width: 100%;
  height: 100%;
}

.spot-nearby-attractives__item .item-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.spot-nearby-attractives__item:hover .item-col img {
  transform: scale(1.05);
}

.spot-nearby-attractives__item-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  overflow: hidden;
}

/* モーダルアクティブ */
.spot-nearby-attractives__item-modal.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 60px 20px 20px; */
}

/* ==== Modal (is-active) ==== */
.spot-nearby-attractives__item-modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(0,0,0,.86);
  z-index: 9999;
  transition: opacity .2s ease, visibility .2s ease;
}
.spot-nearby-attractives__item-modal:not(.is-active){
  opacity: 0; visibility: hidden; pointer-events: none;
}

/* 本体カード */
.spot-nearby-attractives__item-modal__content{
  width: clamp(320px, 82vw, 980px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  background: #111; /* 画像未読込の瞬間の下地 */
}

/* メイン画像 */
.spot-nearby-attractives__item-modal__content > img{
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* コメント帯（半透明・白文字） */
.nearby-attractives-comment{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(0,0,0,.62);
  color: #fff;
  line-height: 1.7;
}

/* 著者（左の丸アイコン＋名前縦並び） */
.nearby-attractives-comment__author{
  flex: 0 0 96px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  font-size: 14px;
  opacity: .95;
}
.nearby-attractives-comment__author img{
  width: 72px; height: 72px;
  border-radius: 999px; object-fit: cover;
}

/* 説明テキスト */
p.nearby-attractives-comment__desc{
  margin: 0;
  font-size: 15px;
  letter-spacing: .02em;
  flex: 1 1 auto;
  max-height: 30vh;            /* 長文対策：スクロール */
  overflow: auto;
  color: #d0d0d0;
}

/* 閉じるボタン（右上の大きい✕） */
.modal-close-btn{
  position: fixed;
  top: 18px; right: 24px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 30px; line-height: 1;
  color: #fff;
  background: transparent;
  border: 0; cursor: pointer;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.modal-close-btn:hover{ transform: scale(1.06); }
.modal-close-btn:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 769px){
  .spot-nearby-attractives__item-modal{ 
    padding: 18px;
    width: auto;
  }
  .spot-nearby-attractives__item-modal__content{ width: 90vw; border-radius: 10px; }
  .nearby-attractives-comment{
    flex-direction: column; gap: 12px; padding: 14px;
  }
  .nearby-attractives-comment__author{ 
    flex: none; grid-auto-flow: column; gap: 10px; justify-content: start;
  }
  .nearby-attractives-comment__author img{ width: 56px; height: 56px; }
  .nearby-attractives-comment__desc{ max-height: 40vh; font-size: 14px; }
}

/* ===== 周辺の旅館 ===== */
/* コンテナ */
.ryokan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}


/* カード本体 */
.ryokan-card {
  /* background: #fff; */
  border-radius: 12px;
  border-top-right-radius: 48px;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

@media screen and (max-width: 769px) {
  .ryokan-cards {
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
  }

  .ryokan-card {
    border-radius: 10px 30px 10px 10px;
  }
  
}

.ryokan-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* リンク */
.ryokan-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* サムネイル */
.ryokan-card__thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* height: 200px; */
  margin: 0;
  overflow: hidden;
  /* background: #f0f0f0; */
}

.ryokan-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* transition: transform 0.3s ease; */
}

.ryokan-card:hover .ryokan-card__thumbnail img {
  transform: scale(1.05);
}

/* タイトルセット */
.ryokan-card__titleset {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
}

/* タイトルラッパー */
.ryokan-card__title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  /* background: #fff; */
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.ryokan-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.ryokan-card__area-info {
    font-size: 0.875rem;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

@media screen and (max-width: 769px) {
  .ryokan-card__title-wrapper {
      padding: 0;
  }
  .ryokan-card__title {
    font-size: 1.15rem;
  }

  .ryokan-card__area-info {
      font-size: 0.75rem;
  }
}

/* タグリスト */
.ryokan-card__tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* タグアイテム */
.ryokan-card__tag-item {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: #666;
  letter-spacing: 0.02em;
}

.ryokan-card__tag-item::before {
  content: "#";
  position: absolute;
  left: 0;
  color: #999;
  font-weight: normal;
}

/* アクセシビリティ：フォーカス時のスタイル */
.ryokan-card__link:focus {
  outline: none;
}

.ryokan-card__link:focus .ryokan-card__title-wrapper {
  border: 2px solid #7b68ee;
  box-shadow: 0 0 0 3px rgba(123, 104, 238, 0.2);
}

/* ez-tocの不要な要素を非表示 */
.ez-toc-section,
.ez-toc-section-end {
  display: contents;
}
/* ===== END 周辺の旅館 ===== */

/* メインバナー（既に定義済みとのこと） */
.pickup-ryokan-banner {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 0;
  overflow: hidden;

  width: 113vw;
  margin: 60px calc(47% - 42vw) !important;
}

/* 背景画像の暗いオーバーレイ */
.pickup-ryokan-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* ラッパー */
.pickup-ryokan-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 250px 200px 100px 200px;
  padding: 0 40px;
}

/* ヘッダー部分 */
.pickup-ryokan-banner-header {
  margin-bottom: 40px;
  max-width: 500px;
}

.pickup-ryokan-banner-header h2 {
  font-size: 18px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  margin: 0 0 24px 0;
  border-bottom: 2px solid #fff;
}

/* 旅館情報部分 */
.pickup-ryokan-info {
  max-width: 600px;
}

/* タイトルセット */
.pickup-ryokan-titleset {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 旅館名 */
h3.pickup-ryokan-name {
  font-size: 48px;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.08em;
  line-height: 1.2;
  background: none;
}

/* 説明文 */
p.pickup-ryokan-description {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* 最大5行表示 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ボタン */
.pickup-ryokan-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  max-width: 200px;
}

.pickup-ryokan-button:hover {
  background: #ff7a2a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.pickup-ryokan-button:hover::after {
  transform: translateX(4px);
}

.pickup-ryokan-button.text-white {
  color: #ffffff;
}

/* アニメーション（オプション） */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 769px) {
  iframe {
    width: 100% !important;
    height: auto !important;
  }
  .pickup-ryokan-banner {
    min-height: 0 !important;
    padding: 50px 0 !important;
    width: 100% !important;
    margin: 30px calc(47% - 42vw) !important;
  }

  .pickup-ryokan-wrapper {
    margin: 0;
    padding: 0 25px;
  }

  h3.pickup-ryokan-name {
    font-size: 20px;
  }

  p.pickup-ryokan-description {
    font-size: 14px;
  }
}

.pickup-ryokan-banner-header,
.pickup-ryokan-name,
.pickup-ryokan-description,
.pickup-ryokan-button {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}


.pickup-ryokan-banner-header { animation-delay: 0.2s; }
.pickup-ryokan-name { animation-delay: 0.3s; }
.pickup-ryokan-description { animation-delay: 0.4s; }
.pickup-ryokan-button { animation-delay: 0.5s; }

/* ez-tocの不要な要素を非表示 */
.ez-toc-section,
.ez-toc-section-end {
  display: contents;
}

/* スポットカード */
.spot-card {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    border-top-right-radius: 48px;
    gap: 24px;
    /* padding: 20px; */
    margin-bottom: 15px;
}

.spot-card__link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

@media screen and (max-width: 769px) {
    .spot-card__link {
      flex-direction: column;
    }
    .spot-card {
      border-radius: 10px 30px 10px 10px;
    }
}

.spot-card__link:hover {
    transform: translateY(-4px);
}

.spot-card__thumbnail {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.spot-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spot-card__link:hover .spot-card__thumbnail img {
    transform: scale(1.05);
}

.spot-card__content {
    flex: 1;
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spot-card__category {
    display: inline-block;
    background-color: #fff;
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 40px;
    width: fit-content;
}

/* カテゴリが空の場合は非表示 */
.spot-card__category:empty {
    display: none;
    margin-bottom: 0;
}

.spot-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    color: #fff;
}

p.spot-card__description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 50px;
    color: #e0e0e0;
    font-weight: 300;
}

@media screen and (max-width: 769px) {
  .spot-card {
    height: auto;
  }
  .spot-card__thumbnail {
    flex: none;
  }
  .spot-card__content {
      flex: none;
      padding: 25px;
  }

  .spot-card__title {
      font-size: 1.15rem;
  }

  p.spot-card__description {
      font-size: 0.75rem;
      margin-bottom: 10px;
  }
}

.spot-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.spot-card__tag-item {
    font-size: 16px;
    color: #999;
}

.spot-card__tag-item::before {
    content: '#';
    margin-right: 2px;
}

/* ==== END CONTENT BODY ===== */