/* =========================================
   CITIES 共通スタイル（Hero / City Inspiration / Quick Facts / Highlights / Modal / Slider / Lightbox / etc.）
   ※PCベース。SPレスポンシブは末尾に集約。
========================================= */

/* =========================================
   Utility: アクセシビリティ（視覚的非表示）
========================================= */
.vh,
.visuallyHidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* =========================================
   HERO（写真スライド / コピー / ナビ / ドット）
========================================= */

/* Hero全体 */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.heroInner {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
}

/* Heroタグライン */
.heroTagline {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-size: 14px;
  color: #7F5539;
  letter-spacing: .02em;
}

/* Heroスライド本体 */
.heroSlides {
  position: relative;
  width: 100%;
  height: clamp(480px, 70vw, 640px); /* ヒーロー写真の高さ調整 */
  overflow: hidden;
}
.heroSlide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1); /* ズームアウト表現 */
  transition: opacity .8s ease, transform .8s ease;
}
.heroSlide.is-active {
  opacity: 1;
  transform: scale(0.98);
}

/* Hero中央コピー（TOPと同仕様） */
.heroCopy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  text-shadow:
    0 0 4px rgba(0,0,0,0.5),
    0 2px 6px rgba(0,0,0,0.35),
    0 0 12px rgba(0,0,0,0.3);
  padding: 0 16px;
}
.heroActions { text-shadow: none; }
.heroTitle {
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: .04em;
  margin: 0 0 8px;
}
.heroLead {
  font-size: clamp(14px, 1.6vw, 18px);
  margin: 0 0 20px;
}

/* Heroナビ（← →） */
.heroNav {
  position: absolute;
  inset: auto 0 12px 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none; /* 親はクリック不可 */
}
.heroNav button {
  pointer-events: auto;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.25);
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

/* Heroドット */
.heroDots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.heroDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(0,0,0,.2);
  cursor: pointer;
}
.heroDot.is-active { background: #fff; }


/* =========================================
   CITY INSPIRATION（旧CITY BASICS）
========================================= */
.cityBasics {
  padding-block: clamp(40px, 6vw, 80px);
  background: #fff;
}
.cityBasics .container {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 16px;
  text-align: left;
}
/* リード＆本文 */
.cityBasics .lead {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 4px;
  color: #333;
}
.cityBasics .cbBody {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  opacity: 0.9;
}


/* =========================================
   QUICK FACTS（1枚BOX版）
========================================= */
.quickFacts {
  background: #fff;
  padding: 60px 0;
}
.quickFacts .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 見出し（City Moments準拠 / 汎用secTitle,secSub） */
.secTitle.en {
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}
.secSub {
  margin-top: 6px;
  margin-bottom: 28px;
  color: #7F5539;
  font-size: 14px;
  text-align: center;
}

/* 本体のパネル */
.qfGrid {
  display: block;
  border: 1px solid #e5ded7;
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
}

/* 各項目：ラベル列＋値列 */
.qfItem {
  display: grid;
  grid-template-columns: 160px 1fr; /* 左固定 / 右可変 */
  column-gap: 16px;
  row-gap: 6px;
  padding: 12px 0;
  border-top: 1px solid #eee;
}
.qfItem:first-child { border-top: none; }

.qfLabel {
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 700;
  opacity: .9;
  align-self: start;
}
.qfValue {
  margin-top: 0;
  line-height: 1.6;
  font-size: 14px;
  color: #222;
}

/* ラベル色（都市別テーマ） */
.cityRoma    .quickFacts .qfLabel { color:#D78E2C; }
.citySiena   .quickFacts .qfLabel { color:#7F5539; }
.cityMilano  .quickFacts .qfLabel { color:#444; }
.cityFirenze .quickFacts .qfLabel { color:#6B4E2E; }


/* =========================================
   HIGHLIGHTS（カードグリッド）
========================================= */
.highlights {
  padding-bottom: 60px;
}
.highlights .container {
  padding-inline: 30px; /* 両サイドにガター */
}
.highlights .hlGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1024px) {
  .highlights .hlGrid {
    grid-template-columns: repeat(4, 260px);
    justify-content: center;
  }
}
/* カード本体 */
.highlights .hlCard {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.highlights .hlCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
}

/* クリック面リセット */
.highlights .hlCardButton {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.highlights .hlCardButton:focus-visible {
  outline: 2px solid rgba(0,146,70,.3);
  outline-offset: 2px;
}

/* サムネ（4:3） */
.highlights .hlThumb {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
  overflow: hidden;
}
.highlights .hlThumbImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .25s ease;
}
.highlights .hlCard:hover .hlThumbImg { transform: scale(1.05); }

/* テキスト部 */
.highlights .hlMeta { padding: 12px 14px 14px; }
.highlights .hlTitle {
  margin: 0 0 4px;
  font-size: clamp(12px, 2.1vw, 14px);
  line-height: 1.35;
  font-weight: 700;
}
.highlights .hlLead {
  margin: 0;
  color: #555;
  font-size: clamp(10px, 1.8vw, 12px);
  line-height: 1.6;
}

/* Coming状態 */
.highlights .hlCard.is-coming { opacity: .55; filter: grayscale(10%); }
.highlights .hlCard.is-coming .hlCardButton { cursor: default; }


/* =========================================
   MODAL（共通）
========================================= */
.openModal {
  padding: 8px 225px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
}
/* Highlights内の .openModal は見た目リセット */
.highlights .openModal {
  padding: 0;
  background: none;
  color: inherit;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

.moreInfomation { font-size: 14px; }

.modal {
  display: none; /* is-openでflexにする */
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0,0,0,.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
  overscroll-behavior: contain;
}
.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modalContent {
  position: relative;
  width: min(1200px, calc(100vw - 48px));
  max-height: min(88vh, 900px);
  background: #fff;
  border-radius: 12px;
  overflow: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  padding: 20px;
  margin: auto;
}
.modalContent strong {
  font-size: 24px;
  color: #000;
}

.modalContentImg {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}
.modalContentImgAndDescription {
  display: flex; /* 画像スライダー＋説明を横並び */
  align-items: flex-start;
  gap: 20px;
}
.modalContentImgAndDescription .slider {
  flex: 0 0 420px;
  max-width: 420px;
}

.modalDescription {
  position: relative;
  display: inline-block;
  flex: 1;
  padding: 20px;
  font-size: 16px;
  line-height: 1.9;
  color: #000;
  text-align: justify;
  line-break: strict;
  max-width: 100%;
}
.modalMoreDescription {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  text-align: left;
  line-break: strict;
}

/* タイトル下の下線アニメ */
.u-anim {
  display: inline;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  animation: underlineGrow 60s linear 2s forwards;
}
@keyframes underlineGrow {
  to { background-size: 100% 2px; }
}

#pcDuomo1,
#pcAmbrosiana1 { width: 420px; }

.outsideLink {
  text-decoration: underline;
  text-decoration-color: red;
}

/* 閉じるボタン（画像） */
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background-image: url('../img/cities/modalCloseButton.png');
  background-size: cover;
  background-position: center;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.close:hover { opacity: 1; }


/* =========================================
   SLIDER（モーダル内サブスライダー等）
========================================= */
.slider {
  position: relative;
  width: 420px;
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 12px;
}
.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}
.slider-track img {
  width: 420px;
  flex: 0 0 auto;
  object-fit: cover;
  user-select: none;
  pointer-events: none; /* Lightbox対象は下で上書き */
}

/* Prev / Next */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 9999px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.slider-btn:hover { background: rgba(0,0,0,0.55); }
.slider-btn:focus {
  outline: 2px solid #2f8c60;
  outline-offset: 2px;
}
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

/* Dots */
.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 9999px;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}
.slider-dots button[aria-selected="true"] {
  background: #fff;
  transform: scale(1.15);
}

/* Lightbox対象のクリック許可 */
.slider-track img.lightBoxTarget {
  pointer-events: auto;
  cursor: zoom-in;
}


/* =========================================
   LIGHTBOX（画像拡大／矢印／クローズ）
========================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}
.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.6);
  animation: fadeIn 0.3s ease;
}

/* 閉じる */
.lightbox .closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s;
}
.lightbox .closeBtn:hover { color: #f00; }

/* 矢印（複数画像時のみ） */
.lightbox .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  transition: color 0.3s;
}
.lightbox .arrow.left  { left: 20px; }
.lightbox .arrow.right { right: 20px; }
.lightbox .arrow:hover { color: #2f8c60; }

/* 単体画像のときは非表示 */
.lightbox.no-arrows .arrow { display: none; }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}


/* =========================================
   The {City} Edit
   TOPの「The Italian Edit」と揃える
========================================= */
.cityEdit {
  background-color: #FAF9F7;
  padding: 20px 0 72px;
}

/* 見出し */
.cityEdit .secTitle.en {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  font-size: 28px;
  margin-bottom: 4px;
}
.cityEdit .secSub {
  text-align: center;
  font-size: 14px;
  color: #7F5539;
  margin-bottom: 40px;
}

/* グリッド（3列） */
.cityEdit .editList {
  max-width: 1100px;   /* ← 固定 */
  margin: 0 auto;      /* 中央寄せ */
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
}

/* カード */
.cityEdit .editCard {
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
  background: #fff;
  overflow: hidden;
}
.cityEdit .editCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* リンク面 */
.cityEdit .editCard > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* サムネ（16:9） */
.cityEdit .editThumb { margin: 0; }
.cityEdit .editThumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* テキストエリア */
.cityEdit .editMeta {
  padding: 16px 18px 20px;
}
.cityEdit .editTitle {
  font-size: 18px;
  color: #222;
  margin: 0 0 8px;
  font-weight: 700;
}
.cityEdit .editLead {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.7;
}


/* =========================================
   City Gallery（縦写真×横スライド）
   - 中央寄せ
   - 矢印は写真外
========================================= */
.cityGallery {
  background: #FAF9F7;
  padding: 40px 0 80px;
}
.cityGallery .secTitle.en {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  font-size: 28px;
  margin-bottom: 6px;
}
.cityGallery .secSub {
  text-align: center;
  font-size: 14px;
  color: #7F5539;
  margin-bottom: 32px;
}

/* スライダー外枠 */
.cgSlider {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: visible;
  padding: 0;
  box-sizing: border-box;
}

/* スライド帯（3枚束） */
.cgSlider .slider-track {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 1200px; /* 写真3枚ゾーン幅 */
  margin: 0 auto;
  transition: transform 0.35s ease;
  will-change: transform;
}

/* 各スライド */
.cgSlider .cgSlide {
  flex: 0 0 calc((1200px - 48px) / 3); /* gap24×2ぶん引いて3等分 */
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 32px rgba(0,0,0,.1);
  cursor: pointer;
}
.cgSlider .cgSlide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .25s ease;
}
.cgSlider .cgSlide:hover img { transform: scale(1.05); }

/* キャプション */
.cgSlide .cgCaption {
  padding: 12px 16px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}
.cgSlide .cgCaption strong {
  display: block;
  font-size: 15px;
}


/* =========================================
   MODEL COURSES SECTION
   （モデルコース A/B カード）
========================================= */
.modelCourses {
  background-color: #FAF9F7;
  padding: 48px 20px 64px;
  margin-top: 0px;
}
.modelCourses__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.modelCourses__head {
  text-align: center;
  margin-bottom: 32px;
}
.modelCourses .secTitle.en {
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 28px;
  font-weight: 700;
  color: #000;
}
.modelCourses .secSub {
  margin-top: 6px;
  margin-bottom: 0;
  color: #7F5539;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

/* カード並び */
.courseWrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .courseWrap { flex-wrap: nowrap; }
}

/* カード本体 */
.courseCard {
  background-color: #FFF;
  border-radius: 16px;
  padding: 24px 20px;
  flex: 1;
  min-width: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
/* A/Bの軽いニュアンス差（将来用） */
.courseCard--a {
  background-color: #FFFFFF;
}
.courseCard--b {
  background-color: #FFFFFF;
  /* 例: #FFFDFC とかで差をつける余地 */
}

/* カード内ヘッダー */
.courseCard__head {
  text-align: left;
  margin-bottom: 20px;
}
.courseCard__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background-color: #EDE0D4;
  color: #7F5539;
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.courseCard__title.en {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 4px;
}
.courseCard__tagline {
  font-size: 13px;
  line-height: 1.5;
  color: #7F5539;
  margin: 0;
}

/* ブロック (MORNING / AFTERNOON / EVENING) */
.courseBlock {
  margin-bottom: 24px;
}
.courseBlock__label {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 4px;
}
.courseBlock__timeNote {
  font-size: 12px;
  line-height: 1.4;
  color: #7F5539;
  margin: 0 0 12px;
}

/* スポット一覧 */
.courseBlock__spots {
  list-style: none;
  margin: 0;
  padding: 0;
}
.courseSpot {
  margin-bottom: 16px;
}
.courseSpot__name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
  margin: 0 0 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* 追加の下線 */
  padding-bottom: 2px;
}

/* descは後勝ちの指定＋共通指定をマージして1本化 */
.courseSpot__desc {
  font-size: 13px;
  line-height: 1.6;     /* 1.55と1.6が出てたので後勝ちの1.6 */
  color: #333;
  white-space: pre-line;
  margin-top: -18px;    /* タイトルとの距離調整 */
  margin-bottom: 6px;   /* 下の💶との距離 */
}
.courseSpot__price {
  font-size: 12px;
  line-height: 1.4;
  color: #7F5539;
  margin: 0;
}

/* 各時間帯の区切り線 */
.courseBlock__divider {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin: 24px 0;
}

/* 注意メモ */
.courseNotes {
  list-style: none;
  margin: 0;
  padding: 20px 24px;
  background-color: #FFF;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  color: #7F5539;
  font-size: 13px;
  line-height: 1.5;
}
.courseNotes__item {
  margin: 0 0 12px;
}
.courseNotes__item:last-child {
  margin-bottom: 0;
}

/* タブレット↑での微調整 */
@media (min-width: 768px) {
  .courseCard__title.en { font-size: 18px; }
  .courseCard__tagline   { font-size: 14px; }
  .courseSpot__name      { font-size: 14px; }
  .courseSpot__desc      { font-size: 13px; }
}


/* =========================================
   Responsive - Tablet (～1024px付近)
   ※ PC→Tablet の段階で変化があるものだけ
========================================= */
@media (max-width: 1024px) {
  .highlights .hlGrid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}


/* =========================================
   Responsive - SP（～768px / ～640px / ～560px）
   ※ 既存のブレークポイント順を維持
========================================= */

/* ------------------------------
   ～768px：Quick Facts を1カラムに
------------------------------ */
@media (max-width: 768px) {
  .qfItem {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
}


/* ------------------------------
   ～640px：City Gallery（1枚表示）
------------------------------ */
@media (max-width: 640px) {
  .cgSlider .cgSlide {
    flex: 0 0 86vw; /* 1枚・スマホは大きく */
  }
}


/* ------------------------------
   641px～1024px：City Gallery 2枚表示
   ※タブレット寄り、スライダー維持
------------------------------ */
@media (min-width: 641px) and (max-width: 1024px) {
  .cgSlider .cgSlide {
    flex: 0 0 calc((100% - 24px) / 2); /* 2枚表示 */
  }
}


/* ------------------------------
   1025px～：City Gallery 3枚表示（PC）
------------------------------ */
@media (min-width: 1025px) {
  .cgSlider .cgSlide {
    flex: 0 0 calc((100% - 48px) / 3); /* 3枚表示（gap24px×2） */
  }
}


/* ------------------------------
   ～560px：Highlights縦並び・モーダル簡略
------------------------------ */
@media (max-width: 560px) {

  /* Highlights 1列 */
  .highlights .hlGrid {
    grid-template-columns: 1fr;
  }

  /* モーダル簡略レイアウト */
  .modalContent {
    width: 100%;
    max-height: 100%;
    border-radius: 0;
    padding: 14px;
    margin: 0 auto;
    max-width: 100%;
  }

  /* 既存の補助クラス（未定義もそのまま） */
  .modalHeader { padding: 14px 14px 6px; }
  .modalBody   { padding: 6px 14px 14px; }
  .detailList > div {
    grid-template-columns: 72px 1fr;
  }
}
@media (max-width: 768px) {

  /* モーダル本体（白い箱） */
    .modalContent {
    width: 90vw;
    max-width: 90vw;
    height: 90vh;  
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
  }

  /* 写真＋説明文：縦並び */
  .modalContentImgAndDescription {
    display: block;
  }

  /* スライダー（写真） */
  .modalContentImgAndDescription .slider {
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
  }

  /* 説明文ブロック */
  .modalDescription {
    font-size: 12.8px; /* 80% */
  }

  .modalMoreDescription {
    font-size: 11.2px; /* 80% */
  }

  /* strong（タイトル） */
  .modalContent strong {
    font-size: 19.2px; /* 80% */
  }
  /* モーダル：位置を上揃えにしてズレ防止 */
   .modal {
    align-items: center;     /* ← これだけでスクロールが復活する */
    justify-content: center; /* 横は中央のまま */
  }

  /* 閉じるボタン（小さめ + 右端に寄りにくくする） */
  .close {
    width: 22px;   /* ← 30px → 22px に縮小 */
    height: 22px;
    top: 12px;
    right: 12px;
    background-size: contain;
  }
   .modalContentImgAndDescription .slider {
    width: 100%;
    max-width: 100%;
  }

  .modalContentImgAndDescription .slider-track img {
    width: 100%;
    flex: 0 0 100%;  /* ★ これが一番大事：1スライド = 100%幅 */
  }
  /* リスト全体を block に変更 */
 .editList {
    display: block !important;  /* 縦積み */
  }

  /* 各カード（.editMedia）のサイズを調整 */
  .editMedia {
    display: block !important; /* flex → block */
    margin-bottom: 25px !important; /* カード間の余白 */
    clear: both;  /* 必要なら両方の要素をクリア */
    width: 100% !important;  /* 幅を100%にしてカードを強制的に収める */
    box-sizing: border-box; /* パディングやボーダーを含めて幅を計算 */
    max-width: 100% !important;  /* 最大幅を100%に */
  }

  /* カード内の画像やコンテンツサイズを調整 */
  .editMedia .card {
    width: 100% !important;  /* 幅を100%に */
    max-width: 100% !important;  /* 最大幅100%に */
    height: auto !important;  /* 高さを自動調整 */
  }

  /* もし画像が大きい場合は調整 */
   .editMedia .card img {
    width: 80% !important;     /* 親要素に合わせて画像を100%に */
    height: auto !important;    /* 高さを自動調整 */
    object-fit: cover !important; /* 縦横比を保ちながら収める */
  }
    .cgSlider {
    overflow-x: hidden; /* 横スクロールを無効化 */
  }

  /* スライド幅を100vw以内に収める（SP版） */
  .cgSlider .cgSlide {
    flex: 0 0 100%; /* 1枚ずつ表示 */
    object-fit: cover; /* 画像が親要素に収まるように調整 */
  }

  /* トラックの余白がはみ出し原因になるので強制調整（SP版） */
  .cgSlider .slider-track {
    margin: 0;
    padding: 0;
    max-width: 100vw; /* 横幅を100vwに制限 */
    display: flex; /* スライダー項目が横並びになるように */
  }

  /* 矢印ボタンを有効化（SP版） */
  .cgSlider .slider-btn {
    display: block; /* 矢印を表示 */
  }
  
  /* 矢印の位置調整（必要に応じて） */
  .cgSlider .slider-btn.prev {
    left: 10px; /* 左矢印 */
  }
  .cgSlider .slider-btn.next {
    right: 10px; /* 右矢印 */
  }
/* =========================================
   SP版調整
========================================= */
/* =========================================
   SP版：AコースとBコースを縦並びに
========================================= */

/* コースカードの縦並び */
.courseWrap {
  display: block; /* 横並びから縦並びに変更 */
  gap: 20px; /* 各コースカードの間に余白 */
}

.courseCard {
  display: block !important;  /* flexからblockに変更 */
  margin-bottom: 25px !important;  /* 各カード間の余白 */
}

/* 各コースのタイトルと説明文を調整 */
.courseCard__head {
  text-align: left;  /* テキストは左揃え */
}

.courseCard__badge {
  font-size: 12px;  /* バッジサイズ調整 */
}

.courseCard__title.en {
  font-size: 16px;  /* タイトルサイズ調整 */
}

.courseCard__tagline {
  font-size: 13px;  /* 説明文のサイズ調整 */
}

/* AコースとBコースを縦に並べる */
.courseCard--a,
.courseCard--b {
  display: block;
  margin-bottom: 20px; /* コース間に余白 */
}

.courseBlock {
  display: block; /* 縦並びにするためにblock */
  margin-bottom: 20px;
}

.courseBlock__label {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
}

.courseBlock__timeNote {
  font-size: 12px;
  line-height: 1.5;
  color: #7F5539;
  margin-bottom: 12px;
}

/* スポットリストを縦並び */
.courseBlock__spots {
  list-style: none;
  padding: 0;
  margin: 0;
}

.courseSpot {
  margin-bottom: 16px;  /* 各スポット間の余白 */
}

/* descのサイズ調整 */
.courseSpot__name {
  font-size: 14px;
}

.courseSpot__desc {
  font-size: 13px;
  line-height: 1.6;
  margin-top: -18px;
  margin-bottom: 6px;
}

/* 価格表示 */
.courseSpot__price {
  font-size: 12px;
  line-height: 1.4;
  color: #7F5539;
  margin: 0;
}

/* 注意メモ（縦並び） */
.courseNotes__item {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.courseNotes__item:last-child {
  margin-bottom: 0;
}

  
}
