/* =============================================================
   access：年表UI（路線・徒歩・バス・車）
   ============================================================= */

/* 0) 共通変数 */
:root {
  --acc-color: #8b6b4a; /* 縦ライン・ドット等に使うベースカラー */
}

/* -------------------------------------------------------------
 * 1) 情報ブロック／見出し（PC/SP 共通）
 * ---------------------------------------------------------- */
.access-wrap {
  margin-top: 15px;
}

.access-info-section {
  margin-bottom: 15px;
  padding: 0 1rem; /* 住所や駐車場の横余白（SP寄りだけどPCでも許容） */
}

.access-info-section h3 {
  font-weight: 700;
  font-size: .9rem;
  margin: 0 0 5px;
}

.access-info-section p {
  margin: 0;
}

/* ホテル基本情報 */
.access-hotel-info {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin: 0 1rem 32px;
}

.access-hotel-info__image img {
  display: block;
  width: 100%;
  height: auto;
}

.access-hotel-info__list {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0;
  margin: 0;
  line-height: 1.5;
}

.access-hotel-info__list dt,
.access-hotel-info__list dd {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid #ccc;
}

.access-hotel-info__list dt {
  font-weight: 500;
  border-left: 1px solid #ccc;
}

.access-hotel-info__list dd {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.access-hotel-info__list > :nth-last-child(-n + 2) {
  border-bottom: 1px solid #ccc;
}

.access-hotel-info__name {
  font-size: inherit;
  font-weight: 400;
}

@media (max-width: 767px) {
  .access-hotel-info {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 1rem 24px;
  }

  .access-hotel-info__image {
    width: 240px;
    max-width: 100%;
  }

  .access-hotel-info__list {
    grid-template-columns: 1fr;
    gap: 0;
    font-size: .95rem;
    padding: 0 16px;
    border: 1px solid #ccc;
  }

  .access-hotel-info__list dt,
  .access-hotel-info__list dd {
    border: 0;
  }

  .access-hotel-info__list dt {
    padding: 16px 0 4px;
    font-weight: 700;
  }

  .access-hotel-info__list dd {
    padding: 0 0 16px;
    border-bottom: 1px solid #ccc;
  }

  .access-hotel-info__list dd:last-child {
    border-bottom: 0;
  }

  .access-hotel-info__list > dt:last-of-type {
    border-bottom: 0;
  }
}

/* アクセスの大きな見出し */
.access-block .access-h2 {
  display: inline-block;
  background: #5b3f28;
  color: #fff;
  padding: .6em .9em;
  border-radius: 8px;
  margin: 10px 0 14px;
  font-weight: 700;
  font-size: 1.25rem;
}

/* -------------------------------------------------------------
 * 駐車場HTML入力エリア
 * ---------------------------------------------------------- */
.access-parking-html {
  line-height: 1.9;
}

/* 駐車場画像リスト */
.access-parking-html .parking-photo-list,
.access-parking-html .home-parking-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
  width: 520px;
  max-width: 100%;
}

.access-parking-html .parking-photo-list a,
.access-parking-html .home-parking-thumbs a {
  display: block;
  cursor: zoom-in;
}

.access-parking-html .parking-photo-list img,
.access-parking-html .home-parking-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ddd4cc;
  box-shadow: 0 4px 14px rgba(73, 52, 36, .12);
}

/* 補足文 */
.access-parking-html .parking-note {
  font-size: 0.92em;
  color: #666;
}

/* SP：画像は1列 */
@media (max-width: 767px) {
  .access-parking-html .parking-photo-list,
  .access-parking-html .home-parking-thumbs {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 240px;
  }
}

/* -------------------------------------------------------------
 * 2) アコーディオン周り（PC/SP 共通）
 * ---------------------------------------------------------- */
.access-accordion {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

/* 見出しボタン */
.access-btn {
  position: relative;
  width: 100%;
  padding: 14px 44px 14px 14px;
  border: 1px solid #ddd;
  border-radius: 8px !important;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5em;
  text-align: center;
  transition:
    background-color .2s,
    border-color .2s,
    box-shadow .2s;
  margin-top: 10px;
}

.access-btn:hover {
  background: #f8f8f8;
}

.access-btn:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 2px;
}

.access-btn[aria-expanded="true"] {
  border-color: #bbb;
  background: #fafafa;
}

.access-btn .btn-label {
  display: inline-block;
  white-space: normal;
  line-height: 1.3;
}

.access-btn .btn-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-btn .btn-icon::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #666;
  transition: transform .25s;
}

.access-btn[aria-expanded="true"] .btn-icon::before {
  transform: rotate(180deg);
}

/* パネル（開閉本体） */
.access-panel {
  overflow: clip;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    height .28s,
    opacity .28s,
    transform .28s;
  margin-bottom: 1.5rem;
}

.access-panel.is-open {
  opacity: 1;
  transform: translateY(0);
}

.access-panel[hidden] {
  display: block; /* height アニメ用に display:none; を殺す */
}

/* パネル内余白 */
#access-accordion .route-timeline {
  padding: 14px 10px 18px;
}

.route-note {
  padding: 0 10px;
}

@media (max-width: 768px) {
  .route-note {
  padding: 0 10px 10px 10px;
}
}

/* アイテム間隔（保険） */
#access-accordion .rt-item + .rt-item {
  margin-top: 6px;
}

/* アクセスボタンの文字色統一 */
#access-accordion .access-btn,
#access-accordion .access-btn:link,
#access-accordion .access-btn:visited {
  color: #222;
  text-decoration: none;
}

#access-accordion .access-btn .btn-label {
  color: inherit;
}

/* -------------------------------------------------------------
 * 3) 駅・空港・当館ボックス（PC/SP 共通）
 * ---------------------------------------------------------- */
#access-accordion .rt-item .rt-box {
  width: min(92%, 520px);
  margin: 0 auto;
  border: 2px solid #5e4a2d;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #222;
}

/* 再度の保険（上で同じ指定あり） */
#access-accordion .rt-item + .rt-item {
  margin-top: 6px;
}

/* -------------------------------------------------------------
 * 4) 年表ライン本体（SVG 縦ライン）PC/SP 共通
 * ---------------------------------------------------------- */

/* ライン（土台） */
.rt-item.rt-line {
  position: relative;
  min-height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center top; /* 左寄せにしたければ left top */
  background-size: auto 100%;      /* 高さ100%で縦ラインを伸ばす */
}

/* ラベル（前面） */
.rt-item.rt-line .rt-label {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 2px 10px;
  border-radius: 8px;
  line-height: 1.55;
  font-size: 17px;
  color: #222;
  box-shadow: 0 0 0 2px #fff;
}

/* 左寄せラベル */
.rt-item.rt-line.rt-left {
  justify-items: start;
}

.rt-item.rt-line.rt-left .rt-label {
  text-align: left;
  padding-left: 10px;
}

/* 縦長SVG：種別ごとに width を調整 */
.rt-item.rt-line.rt-rail,
.rt-item.rt-line.rt-train {
  background-image: url("/images/access/rail.svg");
  background-size: 48px 100%;
}

.rt-item.rt-line.rt-walk {
  background-image: url("/images/access/walk.svg");
  background-size: 8px 100%;
}

.rt-item.rt-line.rt-air,
.rt-item.rt-line.rt-plane {
  background-image: url("/images/access/air.svg");
  background-size: 4px 100%;
}

.rt-item.rt-line.rt-bus {
  background-image: url("/images/access/bus.svg");
  background-size: 6px 100%;
}

.rt-item.rt-line.rt-road,
.rt-item.rt-line.rt-car {
  background-image: url("/images/access/road.svg");
  background-size: 6px 100%;
}

/* PC で少しラインを高くする */
@media (min-width: 768px) {
  .rt-item.rt-line {
    min-height: 84px;
  }
}

/* -------------------------------------------------------------
 * 5) 周辺スポット（2パターン対応）PC/SP 共通＋レスポンシブ
 *  - three     : 画像3枚並び（既存）
 *  - two_right : 画像2枚＋右テキスト
 * ---------------------------------------------------------- */

.spots-block {
  padding-top: 24px;
}

@media (min-width: 768px) {
  .spots-block {
    padding-top: 32px;
  }
}

/* ===== 画像エリア：共通 ===== */
.spots-thumb {
  overflow: hidden;
}

/* ===== three（画像3枚並び） =====
   既存の .spots-gallery（grid 3列）をそのまま使用 */
.spots-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* ===== two_right（画像2枚＋右テキスト） ===== */
.spots-media--two-right{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* ← 3等分 */
  gap: 12px; /* 3枚並びと揃えるなら 12px */
  padding: 0; /* 3枚並びと同じにしたいなら padding 0 に */
  align-items: start;
}

/* 左側：画像2枚（2列） */
.spots-media--two-right .spots-gallery--two{
  grid-column: 1 / span 2;         /* ← 1〜2列を使う */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* 右側：テキスト */
.spots-media--two-right .spots-side{
  grid-column: 3;                  /* ← 3列目 */
  line-height: 1.9;
}
/* ===== 下段本文（既存の mt-12 を維持） ===== */
.mt-12 {
  margin-top: 12px;
  padding: 0 1rem;
}

/* ===== SP：縦積み ===== */
@media (max-width: 768px){
  .spots-media--two-right{ grid-template-columns: 1fr; }
  .spots-media--two-right .spots-gallery--two{ grid-column:auto; grid-template-columns: 1fr; }
  .spots-media--two-right .spots-side{ grid-column:auto; }
}

/* SPだけ：上（spots-side）と下（spots-text）の左右余白を統一 */
@media (max-width: 768px){
  :root{
    --spots-pad: 1rem;
  }

  /* three：画像3枚並び → スマホでは縦並び */
  .spots-block .spots-gallery:not(.spots-gallery--two){
    grid-template-columns: 1fr;
  }

  /* two_right：画像2枚＋右テキスト → スマホでは縦並び */
  .spots-media--two-right{
    grid-template-columns: 1fr;
    padding-inline: var(--spots-pad);
  }

  .spots-media--two-right .spots-gallery--two{
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .spots-media--two-right .spots-side{
    grid-column: auto;
  }

  /* 下段本文 */
  .spots-text,
  .mt-12{
    padding-inline: var(--spots-pad);
  }
}


/* -------------------------------------------------------------
 * 6) アクセス：カード並び（PC/SP 共通＋ブレイクポイント）
 * ---------------------------------------------------------- */

/* デフォルト：PC 3カラム */
#access-accordion .access-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  padding-inline: 24px;
  align-items: stretch;
}

/* PC：1・2・4件時は3列時のカード幅を保って中央配置 */
@media (min-width: 1025px) {
  #access-accordion .access-row.count-1 {
    grid-template-columns: calc((100% - 48px) / 3);
    justify-content: center;
  }

  #access-accordion .access-row.count-2,
  #access-accordion .access-row.count-4 {
    grid-template-columns: repeat(2, calc((100% - 48px) / 3));
    justify-content: center;
  }
}

#access-accordion .access-item {
  min-width: 0;
}

#access-accordion .access-item > * {
  width: 100%;
}

/* タブレット：2カラム */
@media (max-width: 1024px) {
  #access-accordion .access-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ：1カラム＋横余白調整 */
@media (max-width: 640px) {
  #access-accordion .access-row {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }
}

/* -------------------------------------------------------------
 * 7) SP寄りのテキスト行間調整
 *    （PCでも致命的にはならないので max-width で軽く掛ける）
 * ---------------------------------------------------------- */
@media (max-width: 767px) {
  .access-info-section p,
  .access-info-section li {
    line-height: 1.6;
    margin: 0 0 .6em;
  }

  .access-info-section p:last-child,
  .access-info-section li:last-child {
    margin-bottom: 0;
  }
}

/* -------------------------------------------------------------
 * 8) Googlemap
 * ---------------------------------------------------------- */

.map {
  margin: 12px auto;
  border: 1px solid #c1b39a;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.map img,
.map iframe {
  width: 100%;
  display: block;
  border: 0;
}


/* 202603/03/03 追加 ---------------------*/

/* 東京駅までのアクセス（広域） */
.access-gateway{
  margin: 12px 0 18px;
  padding: 14px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
}

.access-gateway__title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.access-gateway__body p{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.access-gateway__body p + p{
  margin-top: 6px;
}

/* アクセス案内画像：サムネイル＋拡大表示 */
.access-free-html .access-image-zoom,
.access-parking-html .access-image-zoom{
  display: block;
  width: 210px;
  max-width: 50%;
  margin: 18px 0 4px;
  color: #5b4635;
  cursor: zoom-in;
  text-align: center;
  text-decoration: none;
}

.access-parking-html .parking-photo-list .access-image-zoom,
.access-parking-html .home-parking-thumbs .access-image-zoom{
  width: auto;
  max-width: none;
  margin: 0;
}

.access-free-html .access-image-zoom img,
.access-parking-html .access-image-zoom img{
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ddd4cc;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(73, 52, 36, .12);
  transition: opacity .2s ease, box-shadow .2s ease;
}

.access-free-html .access-image-zoom::after,
.access-parking-html .access-image-zoom::after{
  display: inline-block;
  margin-top: 5px;
  content: "画像をクリックすると拡大します";
  font-size: 12px;
  line-height: 1.5;
}

.access-parking-html .parking-photo-list .access-image-zoom::after,
.access-parking-html .home-parking-thumbs .access-image-zoom::after{
  content: none;
}

.access-free-html .access-image-zoom:hover img,
.access-parking-html .access-image-zoom:hover img{
  opacity: .86;
  box-shadow: 0 6px 18px rgba(73, 52, 36, .2);
}

.access-free-html .access-image-zoom:focus-visible,
.access-parking-html .access-image-zoom:focus-visible{
  outline: 3px solid #4da3ff;
  outline-offset: 3px;
}

.access-image-dialog{
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}

.access-image-dialog::backdrop{
  background: rgba(0, 0, 0, .78);
}

.access-image-dialog__image{
  display: block;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
  object-fit: contain;
}

.access-image-dialog__close{
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: #fff;
  color: #3f332b;
  cursor: pointer;
  font-size: 28px;
  line-height: 32px;
  text-align: center;
}

.access-image-dialog__close:focus-visible{
  outline: 3px solid #4da3ff;
  outline-offset: 2px;
}

/* 各ルート下：補足案内（自由HTML／通常表示・開閉式共通） */
.access-free-html{
  margin: 26px 0 40px;
  padding: 0;
  border: 1px solid #e1d9d1;
  border-top: 4px solid #6a503c;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(73, 52, 36, .08);
  color: #322b27;
  font-size: 15px;
  line-height: 1.9;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.access-free-html .access-free-html__summary{
  position: relative;
  padding: 17px 58px 17px 22px;
  background: #f7f3ef;
  color: #4f3b2c;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  transition: background-color .2s ease;
}

.access-free-html .access-free-html__heading{
  padding: 17px 22px;
  border-bottom: 1px solid #e1d9d1;
  background: #f7f3ef;
  color: #4f3b2c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.access-free-html .access-free-html__summary::-webkit-details-marker{
  display: none;
}

.access-free-html .access-free-html__summary::after{
  position: absolute;
  top: 50%;
  right: 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  content: "";
  transform: translateY(-50%);
}

.access-free-html .access-free-html__summary::before{
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 27px;
  width: 0;
  height: 0;
  border-top: 8px solid #666;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  transform: translateY(-50%);
  transition: transform .25s ease;
}

.access-free-html .access-free-html__summary:hover{
  background: #efe8e1;
}

.access-free-html .access-free-html__summary:focus-visible{
  outline: 3px solid #4da3ff;
  outline-offset: -3px;
}

.access-free-html[open] .access-free-html__summary{
  border-bottom: 1px solid #e1d9d1;
}

.access-free-html[open] .access-free-html__summary::before{
  transform: translateY(-50%) rotate(180deg);
}

.access-free-html .access-free-html__content{
  padding: 4px 24px 22px;
  white-space: normal;
}

.access-free-html strong{
  display: block;
  margin: 22px 0 4px;
  padding: 9px 12px;
  border-left: 4px solid #eb7200;
  background: #f7f3ef;
  color: #4f3b2c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  white-space: normal;
}

.access-free-html a{
  color: #1769aa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.access-free-html a:hover{
  color: #eb7200;
}

.access-free-html a:focus-visible{
  outline: 3px solid #4da3ff;
  outline-offset: 2px;
}

/* pなどのブロックタグを使った場合も余白を整える */
.access-free-html p,
.access-free-html ul,
.access-free-html ol{
  margin: 0 0 10px;
  white-space: normal;
}

.access-free-html > :last-child,
.access-free-html__content > :last-child{
  margin-bottom: 0;
}

@media (max-width: 767px){
  .access-gateway{
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .access-gateway__title{
    font-size: 15px;
  }
  .access-gateway__body p{
    font-size: 13px;
  }
  .access-free-html .access-image-zoom{
    margin-top: 14px;
  }
  .access-image-dialog__image{
    max-width: 94vw;
    max-height: 84vh;
  }
  .access-image-dialog__close{
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-color: #ddd;
    font-size: 26px;
    line-height: 30px;
  }
  .access-free-html{
    margin-top: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.85;
  }
  .access-free-html .access-free-html__summary{
    padding: 14px 50px 14px 15px;
    font-size: 15px;
  }
  .access-free-html .access-free-html__heading{
    padding: 14px 15px;
    font-size: 15px;
  }
  .access-free-html .access-free-html__summary::after{
    right: 14px;
  }
  .access-free-html .access-free-html__summary::before{
    right: 19px;
  }
  .access-free-html .access-free-html__content{
    padding: 2px 15px 16px;
  }
  .access-free-html strong{
    margin-top: 18px;
    padding: 8px 10px;
    font-size: 15px;
  }
}

/* -------------------------------------------------------------
 * 9) 周辺の観光スポット：カードスライダー（PC）
 * ---------------------------------------------------------- */
@media (min-width: 769px) {
  .tourism-spots {
    margin-top: 40px;
  }

  .tourism-slider {
    position: relative;
    padding: 0 38px;
  }

  .tourism-slider__viewport {
    width: 100%;
    overflow: hidden;
    scroll-behavior: smooth;
  }

  .tourism-slider__track {
    display: flex;
    align-items: stretch;
    gap: 12px;
  }

  .tourism-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 36px) / 4);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #5b3f28;
    border-radius: 4px;
    background: #fff;
  }

  .tourism-card__image-link {
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
  }

  .tourism-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .3s ease;
  }

  .tourism-card__image-link:hover .tourism-card__image {
    transform: scale(1.035);
  }

  .tourism-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 10px 10px;
    color: #222;
  }

  .tourism-card__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }

  .tourism-card__description {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
  }

  .tourism-card__official {
    margin: 3px 0 0;
    font-size: 13px;
    line-height: 1.6;
  }

  .tourism-card__official a {
    color: #1672c4;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .tourism-card__official a:hover {
    text-decoration: none;
  }

  .tourism-card__access {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
  }

  .tourism-card__access-title,
  .tourism-card__access p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
  }

  .tourism-card__access-title {
    font-weight: 700;
  }

  .tourism-card__button-wrap {
    margin: auto 0 0;
    padding-top: 14px;
  }

  .tourism-card__button {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 7px;
    border: 1px solid #5b3f28;
    border-radius: 4px;
    background: #fff;
    color: #5b3f28 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    transition:
      background-color .2s ease,
      color .2s ease;
  }

  .tourism-card__button:hover {
    background: #5b3f28;
    color: #fff !important;
  }

  .tourism-card__button:focus-visible,
  .tourism-card__image-link:focus-visible,
  .tourism-slider__arrow:focus-visible {
    outline: 3px solid #4da3ff;
    outline-offset: 2px;
  }

  .tourism-slider__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: flex;
    width: 30px;
    height: 92px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(91, 63, 40, .28);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
      background-color .2s ease,
      opacity .2s ease;
  }

  .tourism-slider__arrow--prev {
    left: 0;
  }

  .tourism-slider__arrow--next {
    right: 0;
  }

  .tourism-slider__arrow span {
    width: 15px;
    height: 15px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
  }

  .tourism-slider__arrow--prev span {
    transform: rotate(-135deg);
  }

  .tourism-slider__arrow--next span {
    transform: rotate(45deg);
  }

  .tourism-slider__arrow:hover:not(:disabled) {
    background: rgba(91, 63, 40, .55);
  }

  .tourism-slider__arrow:disabled {
    opacity: .25;
    cursor: default;
  }

  .tourism-slider__arrow[hidden] {
    display: none;
  }
}

/* トップページからのページ内リンクで固定ヘッダーに隠れないようにする */
#tourism-spots-title {
  scroll-margin-top: 270px;
}

/* 周辺の観光スポット：1枚表示＋横スワイプ（SP） */
@media (max-width: 768px) {
  .tourism-spots {
    margin-top: 32px;
  }

  .tourism-slider {
    position: relative;
    padding: 0 28px;
  }

  .tourism-slider__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tourism-slider__viewport::-webkit-scrollbar {
    display: none;
  }

  .tourism-slider__track {
    display: flex;
    align-items: stretch;
    gap: 12px;
  }

  .tourism-card {
    display: flex;
    flex: 0 0 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border: 1px solid #5b3f28;
    border-radius: 4px;
    background: #fff;
  }

  .tourism-card__image-link {
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
  }

  .tourism-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .tourism-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 12px 12px;
    color: #222;
  }

  .tourism-card__title {
    margin: 0 0 7px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }

  .tourism-card__description {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
  }

  .tourism-card__official {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.65;
  }

  .tourism-card__official a {
    color: #1672c4;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .tourism-card__access {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.65;
  }

  .tourism-card__access-title,
  .tourism-card__access p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
  }

  .tourism-card__access-title {
    font-weight: 700;
  }

  .tourism-card__button-wrap {
    margin: auto 0 0;
    padding-top: 15px;
  }

  .tourism-card__button {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 9px 8px;
    border: 1px solid #5b3f28;
    border-radius: 4px;
    background: #fff;
    color: #5b3f28 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    transition:
      background-color .2s ease,
      color .2s ease;
  }

  .tourism-card__button:hover {
    background: #5b3f28;
    color: #fff !important;
  }

  .tourism-card__button:focus-visible,
  .tourism-card__image-link:focus-visible,
  .tourism-slider__arrow:focus-visible {
    outline: 3px solid #4da3ff;
    outline-offset: 2px;
  }

  .tourism-slider__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: flex;
    width: 24px;
    height: 78px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(91, 63, 40, .38);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .2s ease;
  }

  .tourism-slider__arrow--prev {
    left: 0;
  }

  .tourism-slider__arrow--next {
    right: 0;
  }

  .tourism-slider__arrow span {
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
  }

  .tourism-slider__arrow--prev span {
    transform: rotate(-135deg);
  }

  .tourism-slider__arrow--next span {
    transform: rotate(45deg);
  }

  .tourism-slider__arrow:disabled {
    opacity: .22;
    cursor: default;
  }

  .tourism-slider__arrow[hidden] {
    display: none;
  }
}

/* スライダーに含めない旧管理画面の周辺観光テキスト */
.tourism-spots__text {
  margin-top: 28px;
  padding: 0 38px;
  color: #222;
  font-size: 15px;
  line-height: 1.9;
}

.tourism-spots__text > :first-child {
  margin-top: 0;
}

.tourism-spots__text > :last-child {
  margin-bottom: 0;
}

.tourism-spots__text a {
  color: #1672c4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .tourism-spots__text {
    margin-top: 22px;
    padding: 0 1rem;
    font-size: 14px;
    line-height: 1.85;
  }
}
