/* PC表示時（画面幅769px以上）は非表示 */
@media screen and (min-width: 1024px) {
  .side-content {
    display: none !important;
  }
}
/* PCのみ表示 */
.pc-only {
  display: block !important;
}

.sp-only {
  display: none !important;
}

@media screen and (max-width: 767px) {

  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: block !important;
  }

}
#tourism .hdg-mod1-01 + *,
#course .hdg-mod1-01 + *{
    margin-top: 0 !important;
}

svg a {
    cursor: pointer;
}

/* アニメーション */
svg a path,
svg a polygon{
    transition:.25s;
}

svg a rect,
svg a g {
    transition: opacity .25s ease;
}

/* ホバー */
svg a:hover path,
svg a:hover polygon{
    opacity:.7;
    transform-origin:center;
}
svg a:hover rect,
svg a:hover g {
    opacity: .7;
}
#douhoku,
#dounan,
#okhotsk,
#douou,
#tokachi,
#kushiro-nemuro,
#ibaraki{
    cursor:pointer;
}

#douhoku *,
#dounan *,
#okhotsk,
#douou,
#tokachi,
#kushiro-nemuro,
#ibaraki{
    transition:opacity .25s;
}

#douhoku:hover path{
    fill:#86C9C9 !important;
}

#dounan:hover path{
    fill:#BE9ADA !important;
}

#okhotsk:hover{
    fill:#F4B655;
}

#douou:hover{
    fill:#D37A53;
}

#tokachi:hover{
    fill:#D98AB5;
}

#kushiro-nemuro:hover{
    fill:#8FCB83;
}

#ibaraki:hover{
    fill:#6FB7DB !important;
}
.map-area{
    transition: .25s;
}

/* =========================================
   PC（基本）
========================================= */

/* 背景と全体レイアウト */
.area-map-section{
    position:relative;
    width:100%;
    background-image:url('/route/tourism/img/bg-pattern.jpg');
    background-size:cover;
    background-position:top left;
    background-color:#f7f6f1;
    padding:30px 20px;
    overflow:hidden;
}

.map-container{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    flex-direction:row;
    align-items:center;
    min-height:700px;
    gap:60px;
}

/* 左右 */
.left-content{
    width:42%;
    position:relative;
    min-height:700px;
}

.right-content{
    width:58%;
    position:relative;
    min-height:700px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* テキスト */
.text-wrapper{
    position:absolute;
    top:20px;
    left:65%;
    transform:translateX(-50%);
    width:100%;
    text-align:center;
}

.catchphrase{
    font-size:20px;
    font-weight:bold;
    color:#004080;
    margin-bottom:25px;
}

.main-title{
    font-family:serif;
    font-size:62px;
    font-weight:bold;
    color:#004080;
    margin:0 0 5px 0!important;
    line-height:36px!important;
    letter-spacing:.05em;
}

.sub-title{
    font-size:22px;
    color:#004080;
    margin-bottom:40px;
    letter-spacing:.1em;
    font-weight:bold;
}

.description{
    position:relative;
    display:inline-block;
    padding:10px 25px;
    font-size:18px;
    line-height:2.4;
    font-weight:bold;
}

.description::before,
.description::after{
    content:"";
    position:absolute;
    left:0;
    width:100%;
    height:6px;
    background-image:radial-gradient(circle,#78ADCD 3px,transparent 3px);
    background-size:18px 6px;
    background-repeat:repeat-x;
}

.description::before{
    top:-15px;
}

.description::after{
    bottom:-15px;
}

/* 写真 */
.circle-photos{
    display:block;
}

.photo-circle{
    position:absolute;
    border-radius:50%;
    overflow:hidden;
    background:#fff;
    border:8px solid #fff;
}

.photo-circle img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.border-blue{border-color:#e0f0f5;}
.border-purple{border-color:#e6e0f5;}
.border-orange{border-color:#fcefdc;}
.border-green{border-color:#e6f0e0;}
.border-red{border-color:#F0D8CC;}
.border-pink{border-color:#F4E3E5;}

.pos-1{
    width:180px;
    height:180px;
    top:40%;
    left:-15%;
}

.pos-2{
    width:200px;
    height:200px;
    top:62%;
    left:18%;
}

.pos-3{
    width:220px;
    height:220px;
    bottom:0;
    right:-20%;
}

.pos-4{
    width:160px;
    height:160px;
    top:20px;
    right:-18%;
}

.pos-5{
    width:170px;
    height:170px;
    top:220px;
    right:-26%;
}
.pos-6{
    width:200px;
    height:200px;
    bottom:80px;
    right:-20%;
}


/* マップ */
.map-svg-wrapper{
    text-align:center;
    width:94%;
}

.map-svg{
    max-width:90%;
    height:auto;
}
/* =========================================
   修正：1025px〜1240px（PCとタブレットの中間領域）の調整
========================================= */
@media screen and (min-width: 1025px) and (max-width: 1240px) {
  .map-container {
    gap: 20px;
    padding: 0 10px;
  }

  /* 写真がはみ出さないよう絶対配置の位置とサイズを内側に収める */
  .pos-1 {
    width: 140px;
    height: 140px;
    top: 60%;
    left: -2%; /* マイナス幅を縮小 */
  }

  .pos-2 {
    width: 160px;
    height: 160px;
    top: 70%;
    left: 35%;
  }

  .pos-3 {
    width: 170px;
    height: 170px;
    bottom: 10px;
    right: -20%; /* マイナス幅を縮小 */
  }

  .pos-4 {
    width: 110px;
    height: 110px;
    top: -10px;
    right: 23%; /* マイナス幅を縮小 */
  }

  .pos-5 {
    width: 140px;
    height: 140px;
    top: 10px;
    right: -8%; /* マイナス幅を縮小 */
  }

  .pos-6 {
    width: 160px;
    height: 160px;
    bottom: 170px;
    right: -12%; /* マイナス幅を縮小 */
  }

  /* テキストの位置と見出しサイズの微調整 */
  .text-wrapper {
    left: 55%;
  }

  .main-title {
    font-size: 52px;
  }
}

/* =========================================
   補正：既存のPCスタイル（1241px以上向けに最適化）
========================================= */
.area-map-section {
  /* 写真の飛び出しを画面端でカットさせず、かつ横スクロールを出さない設定 */
  overflow: hidden; 
}
/* =========================================
   Tablet
========================================= */
@media screen and (min-width:769px) and (max-width:1024px){

    .area-map-section{
        padding:40px 30px;
    }

    .map-container{
        gap:30px;
        min-height:560px;
    }

    .left-content{
        width:44%;
        min-height:560px;
    }

    .right-content{
        width:56%;
        min-height:560px;
    }

    /* ---------- テキスト ---------- */

    .text-wrapper{
        left:60%;
        top:10px;
    }

    .catchphrase{
        font-size:18px;
        margin-bottom:18px;
    }

    .main-title{
        font-size:48px;
        line-height:32px !important;
    }

    .sub-title{
        font-size:20px;
        margin-bottom:25px;
    }

    .description{
        font-size:16px;
        line-height:2.2;
    }

    /* ---------- 地図 ---------- */

    .map-svg-wrapper{
        width:100%;
    }

    .map-svg{
        max-width:95%;
    }

    /* ---------- 写真 ---------- */

  .pos-1 {
    width: 130px;
    height: 130px;
    top: 63%;
    left: -2%; /* マイナス幅を縮小 */
  }

  .pos-2 {
    width: 150px;
    height: 150px;
    top: 73%;
    left: 42%;
  }

  .pos-3 {
    width: 155px;
    height: 155px;
    bottom: -20px;
    left: 96%;
	}

/* タブレット時のみ pos-4〜6 (right-photos) を非表示 */
    .right-content .right-photos,
    .pos-4,
    .pos-5,
    .pos-6 {
        display: none !important;
    }

}
/* =========================================
   SP
========================================= */
@media screen and (max-width:768px){
.area-map-section{
    position:relative;
    width:100%;
    background-image:url('/route/tourism/img/bg-pattern-sp.jpg');
    background-size:cover;
    background-position:top left;
    background-color:#f7f6f1;
    padding:30px 20px;
    overflow:hidden;
}
    .map-container{
        flex-direction:column;
        gap:40px;
    }

    .left-content,
    .right-content{
        width:100%;
        min-height:auto;
		        display:block;
    }

    /* ---------- テキスト ---------- */

    .text-wrapper{
        position:static;
        transform:none;
        width:100%;
        margin-bottom:30px;
        text-align:center;
    }

    .catchphrase{
        font-size:18px;
        margin-bottom:15px;
    }

    .main-title{
        font-size:42px;
        margin:0!important;
        line-height:22px!important;
    }

    .sub-title{
        font-size:20px;
        margin-bottom:10px;
    }

    .description{
        font-size:16px;
        line-height:2.2;
    }

    .description::before{
        top:-10px;
    }

    .description::after{
        bottom:-10px;
    }

    /* ---------- 写真 ---------- */

    .left-photos,
    .right-photos{
        display:flex;
        justify-content:center;
        gap:16px;
    }

    .left-photos{
        margin-bottom:0;
    }

    .right-photos{
        margin-top:10px;
    }

    .photo-circle,
    .pos-1,
    .pos-2,
    .pos-3,
    .pos-4,
    .pos-5,
    .pos-6{
        position:static;
        width:100px;
        height:100px;
    }

    /* ---------- マップ ---------- */

    .map-svg-wrapper{
        width:100%;
        text-align:center;
    }

    .map-svg{
        max-width:100%;
        height:auto;
    }

}
/* 地図だけ色を変える */
a:hover .map-area {
    opacity: .7;
}

.svg-map{
    display:block;
    width:100%;
    height:auto;
}
.map-icon {
        pointer-events: all;
    cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .3s ease;
}

/* アイコン全体をクリック可能にする */
#douhoku-icon,
#okhotsk-icon,
#douou-icon,
#kushiro-nemuro-icon,
#tokachi-icon,
#dounan-icon,
#ibaraki-icon {
    cursor: pointer;
    pointer-events: all;
}

/* アイコン内のパスは親のgにイベントを渡す */
#douhoku-icon path,
#okhotsk-icon path,
#douou-icon path,
#kushiro-nemuro-icon path,
#tokachi-icon path,
#dounan-icon path,
#ibaraki-icon path {
    pointer-events: none;
}
/* ---------------------------------
 タグ共通
--------------------------------- */

.tourism-tag{
    font-size: 1.2rem;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:5px 0 0;
    padding:0;
    list-style:none;
	
}

.tourism-tag li{
    max-width:160px;
    border: 2px solid #dae1e6;}

/* ---------------------------------
 エリアタグ（リンク）
--------------------------------- */

.tourism-tag__link{
    display:block;
    padding:5px 15px;
    text-align:center;
    color:#fff;
    text-decoration:none;
    transition:opacity .3s;
    box-sizing:border-box;
}

.tourism-tag__link:hover{
    opacity:.7;
}

/* ---------------------------------
 カテゴリタグ
--------------------------------- */
.tourism-tag__common{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    max-width:160px;
    padding:0 15px;
    font-size:12px;
    line-height:1;
    border:1px solid #DAE1E6;
    background:#FFF;
    color:#666;
    box-sizing:border-box;
	font-weight: normal;
}
.colorW{
    color:#FFF !important;

}


.tourism-tag__category span{
    display:block;
    padding:5px 15px;

    background:#fff;
    color:#666;
    box-sizing:border-box;
    text-align:center;
}

/* ---------------------------------
 エリアカラー
--------------------------------- */

.tourism-tag__link--douou{
    background:#DC8764;
}

.tourism-tag__link--douhoku{
    background:#ADD9D9;
}

.tourism-tag__link--okhotsk{
    background:#F9C985;
}

.tourism-tag__link--tokachi{
    background:#E9B5CD;
}

.tourism-tag__link--kushiro-nemuro{
    background:#B5DDA9;
}

.tourism-tag__link--dounan{
    background:#D9C5ED;
}

.tourism-tag__link--ibaraki{
    background:#99CDE5;
}
.bg-douhoku{ background: #A0D7D7; }
.bg-okhotsk{ background: #F9C985; }
.bg-douou{ background: #DD997D !important; }
.bg-kushiro-nemuro{ background: #B5DDA9; }
.bg-tokachi{ background: #E9B5CD; }
.bg-dounan{ background: #D9C5ED; }
.bg-ibaraki{ background: #99CDE5; }
.bg-white{ background: #FFF; color: #747474 }
.bg-model-course{ background: #005396; }

.bgWhite{ background: #FFF; }

.bgBraun {
  width: 100%;
  background: url("/route/tourism/img/bgBraun.jpg") no-repeat center center;
  background-size: cover;
}
  .tourism-l-inner {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
  }
@media screen and (max-width: 768px) {
  .tourism-l-inner {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;

  }
}

.mb8rem {
    margin-bottom: 8rem;
  }
@media screen and (max-width: 768px) {
.mb8rem {
    margin-bottom: 4rem;
  }
}


/* ---------------------------------
 ボタン
--------------------------------- */

.btn-orenge {
    position: relative;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    min-width: 420px;
    min-height: 70px;
    padding: 22px 60px;
    color: #fff;
    text-align: center;
    background: #FFA500;
    border-radius: 50px;
    transition: background .2s ease;
    transition: all .5s;
	font-size: 1.8rem;
	font-weight: 500;
}

.btn-orenge::before {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background: #FFB733;
    border-radius: 26px;
    content: "";
    transition: all .5s;
}

.btn-orenge:hover::before, .btn-orenge:active::before, .btn-orenge:focus::before {
    width: 100%;
    opacity: 1;
}

@media screen and (max-width: 1024px) {
.btn-orenge {
    position: relative;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    min-width: 320px;
    min-height: 50px;
    padding: 12px 40px;
    color: #fff;
    text-align: center;
    background: #FFA500;
    border-radius: 50px;
    transition: background .2s ease;
    transition: all .5s;
	font-size: 1.6rem;
	font-weight: 500;
}
    .btn-orenge::before {
        content: none;
    }
}
.btn-orenge:hover::before, .btn-orenge:active::before, .btn-orenge:focus::before {
    color: #fff;
    text-decoration: none;
}

.btn-orenge::after {
    position: absolute;
    top: 0;
    right: 12px;
    bottom: 0;
    left: auto;
    display: block;
    width: 8px;
    height: 8px;
    margin: auto;
    color: #fff;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: "";
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* ---------------------------------
見出し
--------------------------------- */
.tourism-lead{
    font-size: 24px;
	font-weight: bold;
}
@media screen and (max-width: 768px) {
.tourism-lead{
    font-size: 18px;
	}
}
/* ---------------------------------
調整
--------------------------------- */
.mb50-sp30{
    margin-bottom: 50px !important;
}
@media screen and (max-width: 768px) {
.mb50-sp30{
    margin-bottom: 30px !important;
}
}
#spot .dtTop{
    display: flex;
    align-items: flex-start;
}

#spot .inner dd{
    width: calc(100% - 120px);
    margin: 0;
}
@media screen and (max-width: 768px) {
    #spot .inner dd{
        width: auto;
        margin: 0;
}
	#spot .dtTop{
        display: block;
    }
}

#spot .box{
  padding: 45px;
}
@media screen and (max-width: 768px) {
#spot .box{
  padding: 15px;
}
}
#spot .bd_01{
  border: solid 1px #ccc;
}
@media screen and (max-width: 768px) {
 .bgBraun {
  padding: 50px 0;
    }
}


/* ===========================
   タブメニュー
=========================== */

.tabMenu {
    display: flex;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.tabMenu li {
    flex: 1;
    position: relative;
}

.tabMenu li + li {
    border-left: 1px solid rgba(255,255,255,.25);
}

/* ボタン */

.tabMenu button {
    width: 100%;
    height: 75px;
    padding: 0;
    border: none;
    background: #005396;
    color: #fff;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    font-size: 18px;
    font-weight: 700;
    line-height: 1;

    transition: .25s;
}

.tabMenu button:hover {
    background: #0067b8;
}

.tabMenu img {
    width: 26px;
    display: block;
}

/* 左端・右端のみ角丸 */

.tabMenu li:first-child button {
    border-radius: 12px 0 0 12px;
}

.tabMenu li:last-child button {
    border-radius: 0 12px 12px 0;
}

/* ===========================
   アクティブ
=========================== */

.tabMenu li.is-active button {
    background: #f5a000;
}

/* ▼ 吹き出し矢印 */

.tabMenu li.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #f5a000;

    z-index: 5;
}

/* ===========================
   タブコンテンツ基本設定
=========================== */

.tabContents {
    padding: 20px 0;
}

.tabContent,
.all-search-block {
    display: none;
}

.tabContent.is-show,
.all-search-block.is-show {
    display: block;
}

/* リスト要素の余白調整 */

ul.bl_searchResultBlock {
    padding-left: 0;
    margin-left: 0;
    list-style: none;
}

ul.tourism-tag {
    display: flex;
}

/* ===========================
   レスポンシブ
=========================== */

@media (max-width: 768px) {

    .tabMenu {
        display: grid;
        grid-template-columns: repeat(6, 1fr);

        column-gap: 1px;
        row-gap: 20px;

        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    /* 上段（2カラム） */
    .tabMenu li:nth-child(1),
    .tabMenu li:nth-child(2) {
        grid-column: span 3;
    }

    /* 下段（3カラム） */
    .tabMenu li:nth-child(3),
    .tabMenu li:nth-child(4),
    .tabMenu li:nth-child(5) {
        grid-column: span 2;
    }

    .tabMenu li {
        border: none;
        position: relative;
    }

    .tabMenu li + li {
        border-left: none;
    }

    .tabMenu button {
        height: 55px;
        font-size: 15px;
        gap: 6px;
        border-radius: 0;
    }

    .tabMenu img {
        width: 18px;
    }

    /* 1段目角丸 */
    .tabMenu li:nth-child(1) button {
        border-radius: 12px 0 0 12px;
    }

    .tabMenu li:nth-child(2) button {
        border-radius: 0 12px 12px 0;
    }

    /* 2段目角丸 */
    .tabMenu li:nth-child(3) button {
        border-radius: 12px 0 0 12px;
    }

    .tabMenu li:nth-child(5) button {
        border-radius: 0 12px 12px 0;
    }

    /* ▼ 吹き出し矢印（SP） */
    .tabMenu li.is-active::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -13px;
        transform: translateX(-50%);

        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        border-top: 14px solid #f5a000;
    }
}

/* ===========================
   カテゴリ絞り込み UI 共通スタイル
=========================== */

input[type="checkbox"] {
    display: none;
}

.bl_3daysSearchBlock {
    margin-bottom: 60px;
}

.bl_3daysSearchBlock_inner {
    margin: 0 auto;
}

.bl_3daysSearchBlock_ttl {
    text-align: center;
    margin: 55px 0;
}

.bl_3daysSearchBlock_ttl_main {
    font-size: 27px;
    color: #0073aa;
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: .15em;
}

.bl_3daysSearchBlock_ttl_sub {
    font-size: 16px;
    color: #0073aa;
    letter-spacing: .2em;
}

.el_searchResult {
    text-align: center;
    color: #0073aa;
    margin-bottom: 25px;
}

.el_searchResult_nume,
.el_searchResult_deno {
    font-weight: bold;
}

.bl_selectBlock {
    background: #EBF5FF;
    border: #005396 1px solid;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 35px;
    box-sizing: border-box;
    font-size: 14px;
    letter-spacing: .08em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.bl_selectBlock_wrapper {
    width: 100%;
}

.bl_selectBlock_wrapper_wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.bl_selectBlock_wrapper_wrapper:last-child {
    margin-bottom: 0;
}

.bl_selectBlock_ttl {
    width: 185px;
    margin: 0;
    color: #005396;
    font-weight: bold;
    letter-spacing: .08em;
}

.bl_selectBlock_content {
    width: calc(100% - 185px);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    text-align: center;
}

.bl_selectBlock_check {
    margin: 0;
}

.bl_selectBlock_check label {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 120px;
    height: 36px;
    padding: 0 20px;

    background: #fff;
    border: 1px solid #DAE1E6;
    border-radius: 6px;

    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;
    transition: .25s;
    box-sizing: border-box;
    user-select: none;
}

.bl_selectBlock_check label:hover {
    background: #f7f7f7;
}

.bl_selectBlock_check input[type="checkbox"]:checked + label {
    background: #005396;
    border-color: #005396;
    color: #fff;
}

/* 解除ボタン：初期状態（選択数 0件＝薄い色・押せない） */
.bl_selectBlock_release {
    margin-top: 35px;
    padding: 15px;
    text-align: center;

    background: #e0e0e0;      /* 薄いグレー */
    color: #9e9e9e;           /* 薄い文字色 */
    cursor: default;
    pointer-events: none;     /* クリック不可にする */

    border-radius: 6px;
    transition: all .25s ease;
}

/* 解除ボタン：1つ以上選択されている状態（わかりやすい濃い色・押せる） */
.bl_selectBlock_release.is-active {
    background: #005396;      /* 濃いメインカラー（青） */
    color: #ffffff;           /* 白文字 */
    cursor: pointer;
    pointer-events: auto;     /* クリック可能にする */
}

/* ホバー時の挙動（選択時のみ） */
.bl_selectBlock_release.is-active:hover {
    background: #003a6a;      /* さらに濃い青 */
    opacity: 0.9;
}

/* 検索結果（表示・非表示）制御 */

.js_target {
    display: none;
}

.js_target.js_selected {
    display: block;
}

@media screen and (max-width: 765px) {

    .bl_selectBlock {
        padding: 15px;
    }

    .bl_selectBlock_wrapper_wrapper {
        display: block;
        margin-bottom: 20px;
    }

    .bl_selectBlock_ttl {
        width: 100%;
        margin-bottom: 10px;
    }

    .bl_selectBlock_content {
        width: 100%;
        gap: 10px;
    }

    .bl_selectBlock_check {
        width: calc(33.3% - 8px);
    }

    .bl_selectBlock_check label {
        width: 100%;
        min-width: 0;
        height: 35px;
        padding: 0 10px;
        font-size: 11px;
    }

}

/* エリアカラー設定 */

.bl_selectBlock_content[data-type="area"] label {
    background: #fff;
    border: 1px solid #DAE1E6;
    color: #333;
}

.area-douhoku:checked + label {
    background: #ADD9D9 !important;
    border-color: #ADD9D9 !important;
    color: #FFF !important;
}

.area-okhotsk:checked + label {
    background: #F9C985 !important;
    border-color: #F9C985 !important;
    color: #FFF !important;
}

.area-douou:checked + label {
    background: #DD997D !important;
    border-color: #DD997D !important;
    color: #FFF !important;
}

.area-kushiro-nemuro:checked + label {
    background: #B5DDA9 !important;
    border-color: #B5DDA9 !important;
    color: #FFF !important;
}

.area-tokachi:checked + label {
    background: #E9B5CD !important;
    border-color: #E9B5CD !important;
    color: #FFF !important;
}

.area-dounan:checked + label,
.area-dounans:checked + label {
    background: #D9C5ED !important;
    border-color: #D9C5ED !important;
    color: #FFF !important;
}

.area-ibaraki:checked + label {
    background: #99CDE5 !important;
    border-color: #99CDE5 !important;
    color: #FFF !important;
}

/*==========================
エリアページ
==========================*/
/*====================================
  メインビジュアル
====================================*/

.mv-area{
    position:relative;
    display:flex;
    align-items:center;
    min-height:580px;
    padding:40px 0;
    overflow:hidden;
    color:#fff;
    margin-top:0 !important;
}

/*====================================
  背景画像
====================================*/

/*====================================
  背景画像 & 提供表示
====================================*/

.mv-area__bg{
    position:absolute;
    inset:0;
    z-index:0;
}

.mv-area__bg picture,
.mv-area__bg img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.mv-area__bg::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.25) 0%,
        rgba(0,0,0,.10) 45%,
        rgba(0,0,0,0) 100%
    );
    z-index: 1; /* クレジット表示より下に配置 */
}

/* ▼ 右下画像クレジット用スタイル ▼ */
.mv-area__provider {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2; /* オーバーレイより前面に表示 */
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
}

/* テキストが空（未設定）の場合は非表示 */
.mv-area__provider:empty {
    display: none;
}
/*====================================
  レイアウト
====================================*/

.mv-area__inner{
    position:relative;
    z-index:1;
    width:min(1200px,90%);
    margin:0 auto;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:5%;
}

.mv-area__content{
    width:42%;
}

.mv-area__map{
    width:48%;
}

.mv-area__map img{
    width:100%;
    display:block;
}

/*====================================
  タイトル
====================================*/

.mv-area__heading{
    display:inline-block;
}

.mv-area__title{
    position:relative;
    margin:0 0 45px;
    font-size:68px;
    line-height:1.1;
    letter-spacing:.08em;
	font-weight: bold;
}

.mv-area__title::before,
.mv-area__title::after{
    content:"";
    position:absolute;
    left:0;
    width:100%;
    height:6px;
    background-image:radial-gradient(circle,#fff 3px,transparent 3px);
    background-size:18px 6px;
    background-repeat:repeat-x;
}

.mv-area__title::before{
    top:-25px;
}

.mv-area__title::after{
    bottom:-25px;
}

.mv-area__label{
    display:block;
    margin-bottom:25px;
    padding:4px 0;
    text-align:center;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.mv-area__text{
    font-size:16px;
    line-height:2.2;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/*====================================
  ガラス
====================================*/

.mv-area__glass{ 
	padding:10px 30px; 
	border-radius:24px; 
	background: linear-gradient( 135deg, rgba(255,255,255,.1), rgba(255,255,255,.55) ); 
	border:1px solid rgba(255,255,255,.20); 
	backdrop-filter: blur(3px) brightness(1.12); -webkit-backdrop-filter: blur(15px) brightness(1.12);
}

.mv-area__glass img{
    width:100%;
    display:block;
}

/*====================================
  タブレット
====================================*/
@media screen and (min-width:768px) and (max-width:1024px){

    .mv-area{
        min-height:520px;
    }

    .mv-area__inner{
        gap:30px;
    }

    .mv-area__content{
        width:45%;
    }

    .mv-area__map{
        width:55%;
    }

    .mv-area__title{
        font-size:56px;
    }

    .mv-area__text{
        font-size:15px;
    }

}
/*====================================
 スマホ
====================================*/

@media screen and (max-width:767px){

    .mv-area{

        display:block;
        min-height:auto;
        padding:60px 0 40px;
    }

    .mv-area__inner{

        width:90%;
        margin:0 auto;

        display:flex;
        flex-direction:column;
        align-items:center;
        gap:10px;
    }

    .mv-area__content{

        width:100%;
        text-align:center;
    }

    .mv-area__heading{

        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .mv-area__title{

        margin-bottom:18px;
        font-size:46px;
    }

    .mv-area__title::before{

        top:-18px;
    }

    .mv-area__title::after{

        bottom:-18px;
    }

    .mv-area__label{

        width:auto;
        margin-bottom:18px;
        padding:6px 28px;
        font-size:14px;
    }

    .mv-area__text{

        margin-bottom:0;
        font-size:14px;
        line-height:2;
    }

    .mv-area__map{

        width:100%;
    }

    .mv-area__glass{

        padding:14px;
        border-radius:18px;
    }

}
/*====================================
  エリアタグ非表示
====================================*/
body#area .tourism-tag > .bg-douou,
body#area .tourism-tag > .bg-douhoku,
body#area .tourism-tag > .bg-okhotsk,
body#area .tourism-tag > .bg-kushiro-nemuro,
body#area .tourism-tag > .bg-tokachi,
body#area .tourism-tag > .bg-donan,
body#area .tourism-tag > .bg-ibaraki{
    display:none;
}

/*==================================================
  COURSE INFO SUMMARY（カード内コンパクト表示）
==================================================*/

.course-info__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 16px 0 20px;
    padding: 0;
}

.course-info__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px 4px 6px;
    background: #f0f6fa;               /* 上品な薄いブルーグレー */
    border: 1px solid #d5e5f0;         /* 繊細なボーダー */
    border-radius: 20px;               /* 丸みのあるピル型 */
    font-size: 13px;
    line-height: 1;
}

/* 既存アイコン（白丸ベースに収める） */
.course-info__tag dt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 6px 0 0;
    color: #005396;                    /* メインカラー */
    font-weight: bold;
}

/* アイコン用丸枠 */
.course-info__tag dt::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 13px 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 見出しテキストの直後にコロンを追加 */
.course-info__tag dt::after {
    content: ":";
    margin-left: 2px;
}

/* 値テキスト */
.course-info__tag dd {
    margin: 0;
    color: #333;
    font-weight: 600;
}


/* ---------------------------------
  既存アイコン画像の読み込み
--------------------------------- */

.course-info__tag--time dt::before {
    background-image: url("/route/tourism/img/icon-time.svg");
}

.course-info__tag--transport dt::before {
    background-image: url("/route/tourism/img/icon-car.svg");
}

.course-info__tag--genre dt::before {
    background-image: url("/route/tourism/img/icon-spot.svg");
}


/* ==================================================
  レスポンシブ（スマホ表示時）
================================================== */

@media screen and (max-width: 768px) {
    .course-info__summary {
        gap: 6px;
        margin: 12px 0 16px;
    }

    .course-info__tag {
        padding: 3px 10px 3px 5px;
        font-size: 12px;
    }

    .course-info__tag dt::before {
        width: 20px;
        height: 20px;
        background-size: 11px 11px;
    }
}


/*----------------------------------------
モデルコース
----------------------------------------*/

/*----------------------------------------
MV Gallery
----------------------------------------*/

.mv-gallery{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    overflow:hidden;
}

.mv-gallery__item{
    position:relative;
    overflow:hidden;
    aspect-ratio:16 / 9;
}

.mv-gallery__item img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

/* 画像クレジットラベル（右下に配置） */
.mv-gallery__provider {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}

/* テキストが空の場合は非表示 */
.mv-gallery__provider:empty {
    display: none;
}

@media (max-width:1200px){

.mv-gallery__item{
    aspect-ratio:5 / 4;
}

}
@media (max-width:1024px){

.mv-gallery{
    grid-template-columns:repeat(3,1fr);
}

.mv-gallery__item{
    aspect-ratio:1 / 1;
}

}
@media (max-width:767px){

.mv-gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0;
}

.mv-gallery__item{
    height:160px;
    aspect-ratio:auto;
}

.mv-gallery__item img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* スマホ表示時にフォントサイズや位置を微調整したい場合はここを調整 */
.mv-gallery__provider {
    right: 6px;
    bottom: 6px;
    font-size: 10px;
    padding: 2px 6px;
}

}
/* =================================
   COURSE INFO（親枠）
================================= */

.course-info {
  padding: 20px;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    #FAEEE7 0%,
    #F6DDCF 45%,
    #EDC0A9 100%
  );
}

/* =================================
   COURSE BACKGROUND
================================= */

/* 道央 */
.course-bg-douou {
  background: linear-gradient(
    135deg,
    #E7B39B 0%,
    #F3D7CA 20%,
    #EFCAB8 55%,
    #E7B79E 80%,
    #D98F6D 100%
  );
}

/* 道北 */
.course-bg-douhoku {
  background: linear-gradient(
    135deg,
    #95C9CF 0%,
    #DCEEEF 20%,
    #CBE7E8 55%,
    #B7DEDF 80%,
    #8FC5CB 100%
  );
}

/* オホーツク */
.course-bg-okhotsk {
  background: linear-gradient(
    135deg,
    #EDB85D 0%,
    #FAEDC8 20%,
    #F5DFAB 55%,
    #F0CF88 80%,
    #E7B253 100%
  );
}

/* 十勝 */
.course-bg-tokachi {
  background: linear-gradient(
    135deg,
    #DDA0BC 0%,
    #F7E2EC 20%,
    #EFCFDE 55%,
    #E7BDD1 80%,
    #D695B4 100%
  );
}

/* 釧路・根室 */
.course-bg-kushiro-nemuro {
  background: linear-gradient(
    135deg,
    #98C98A 0%,
    #E3F1DD 20%,
    #D1E8C6 55%,
    #BEDFAF 80%,
    #8EBE80 100%
  );
}

/* 道南 */
.course-bg-dounan {
  background: linear-gradient(
    135deg,
    #C5B0E4 0%,
    #EFE7F8 20%,
    #E1D5F2 55%,
    #D5C5EC 80%,
    #BDA5DE 100%
  );
}

/* 茨城 */
.course-bg-ibaraki {
  background: linear-gradient(
    135deg,
    #73B9D8 0%,
    #DCEFF8 20%,
    #C4E3F3 55%,
    #AED7EC 80%,
    #69AFD0 100%
  );
}

/* =================================
   LAYOUT
================================= */

.course-info__lead {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.course-info__text,
.course-info__map {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

/* =================================
   LEFT (文章エリア)
================================= */

.course-info__text {
  position: relative;
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  background-color: #ffffff;
  z-index: 1; /* スタックコンテキストの基準 */
}
/* 1. テキストコンテンツを最前面（z-index: 2）にする */
.course-info__text > *:not(.course-info__bg-img) {
  position: relative;
  z-index: 2;
}

/* 背景画像（自動フィット＋白グラデーション重ね） */
.course-info__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* ★ 1 から 0 に変更 */
  pointer-events: none;
}

/* 画像の上に被せる「純白のグラデーション」 */
.course-info__text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* ★ inset から top/left/width/height に明示的に指定 */
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.90) 0%, 
    rgba(255, 255, 255, 0.90) 100%
  );
  z-index: 1; /* ★ 画像(0)とテキスト(2)の間に配置 */
  pointer-events: none;
}
.course-info__label {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #005396;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}

.course-info__text h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.45;
  color: #003D70;
}

.course-info__text h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 18px;
  background: #DD997D;
}
/* エリア別カラー切り替え */
body[data-area="douhoku"] .course-info__text h2::after { background: #A0D7D7; }
body[data-area="okhotsk"] .course-info__text h2::after { background: #F9C985; }
body[data-area="douou"] .course-info__text h2::after { background: #DD997D; }
body[data-area="kushiro-nemuro"] .course-info__text h2::after { background: #B5DDA9; }
body[data-area="tokachi"] .course-info__text h2::after { background: #E9B5CD; }
body[data-area="dounan"] .course-info__text h2::after { background: #D9C5ED; }
body[data-area="ibaraki"] .course-info__text h2::after { background: #99CDE5; }

.course-info__text p {
  margin: 28px 0 34px;
  line-height: 2;
}

/* =================================
   LIST（案1：薄いブルーカード・センター揃え）
================================= */

.course-info__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #005396; /* メインカラーの濃紺 */
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 61, 112, 0.18);
  margin-top: auto;
}

/* 各項目 */
.course-info__item {
  display: flex;
  flex-direction: column;
  align-items: center; /* 左右中央寄せ */
  justify-content: center;
  position: relative;
  padding: 0 8px;
  background: transparent;
}

/* 隣り合う項目の境界線（PC時） */
.course-info__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

/* アイコン＋見出し */
.course-info__item dt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #b8d9f5; /* 淡いアクセントブルー */
  font-weight: 700;
  margin-bottom: 4px;
  width: 100%;
  text-align: center;
}

/* 白丸アイコン枠 */
.course-info__item dt::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45); /* くもりガラス風 */
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px 13px;
  flex-shrink: 0;
}

/* 不要な文字（・・・等）の非表示 */
.course-info__item dt::after {
  display: none !important;
}

/* 値（数値・テキスト） */
.course-info__item dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff; /* 純白で強調 */
  text-align: center;
  width: 100%;
  flex: none;
}

/* アイコン画像指定 */
.course-info__item:nth-child(1) dt::before { background-image: url("/route/tourism/img/icon-time.svg"); }
.course-info__item:nth-child(2) dt::before { background-image: url("/route/tourism/img/icon-car.svg"); }
.course-info__item:nth-child(3) dt::before { background-image: url("/route/tourism/img/icon-spot.svg"); }


/* ==================================================
   レスポンシブ（スマホ・タブレット表示時）
================================================== */

@media screen and (max-width: 960px) {
  .course-info__list {
    grid-template-columns: 1fr; /* スマホ時は1列リスト化 */
    gap: 10px;
    padding: 14px 16px;
  }

  .course-info__item {
    flex-direction: row;
    justify-content: space-between; /* 左右に対比させる */
    align-items: center;
    padding: 0 0 8px 0;
    border-bottom: 1px dashed #d5e5f0;
  }

  .course-info__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .course-info__item:not(:last-child)::after {
    display: none; /* 縦区切り線を削除 */
  }

  .course-info__item dt {
    justify-content: flex-start; /* スマホ時は左寄せ */
    width: auto;
    margin-bottom: 0;
    text-align: left;
  }

  .course-info__item dd {
    width: auto;
    text-align: right; /* スマホ時は右寄せ */
  }
}

/* =================================
   MAP
================================= */

.course-info__map {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background:
    radial-gradient(circle, #F0E4DB 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
}

.course-info__map-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #005396;
  background: #fff;
  color: #005396;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}

.course-info__map img {
  width: 100%;
  height: auto;
}

/* =================================
   RESPONSIVE (TABLET & SP)
================================= */

@media (max-width: 1024px) {
  .course-info__lead {
    grid-template-columns: 1fr;
  }

  .course-info__map {
    min-height: 360px;
  }
}

@media (max-width: 960px) {
  .course-info__list {
    grid-template-columns: 1fr; /* スマホ・タブレット時は1列表示 */
    gap: 12px;
    padding: 16px;
  }

  .course-info__item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e6ed;
  }

  .course-info__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .course-info__item:not(:last-child)::after {
    display: none; /* 縦区切り線を削除 */
  }

  .course-info__item dt {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .course-info {
    padding: 16px;
    border-radius: 20px;
  }

  .course-info__text {
    padding: 24px;
  }

  .course-info__text h2 {
    font-size: 26px;
  }

  .course-info__text p {
    font-size: 14px;
  }

  .course-info__map {
    padding: 20px;
    min-height: auto;
  }
}

/* =============================
   スポット一覧
============================= */

.box-anc__title {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.box-anc__row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.box-anc__row + .box-anc__row {
  margin-top: 18px;
}

.box-anc__day {
  flex: 0 0 90px;
  margin: 0;
  padding: 3px 15px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  background: #8DC2F8;
}

@media (max-width: 768px) {
  .box-anc__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .box-anc__day {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    border-radius: 8px;
    padding: 8px 16px;
    text-align: left;
  }

  .link-anc-01 {
    gap: 12px;
  }
}

.bg-blue {
  background: #EBF5FF;
}

.pb0 {
  padding-bottom: 0 !important;
}

.pt0 {
  padding-top: 0 !important;
}
/*==================================================
 GOOGLE MY MAP
==================================================*/

.tour-map {
    position: relative;
    width: 100%;
    padding-top: 48%; /* アスペクト比 (横:縦 = 2:1) */
    margin: 0 auto 40px!important;
    overflow: hidden;
}

.tour-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* スマホ表示時のマップ高さ調整 */
@media (max-width: 768px) {
    .tour-map {
        padding-top: 80%; /* スマホでは操作しやすいよう縦幅を広めに (横:縦 = 4:3) */
        margin: 24px auto;
        border-radius: 12px;
    }
}


/* ==================================================
   スポットMV専用 ギャラリー＆提供テキスト スタイル
================================================== */

/* --- メイン画像＆提供表示エリア --- */
.tour-gallery__main-wrap {
    position: relative;
    width: 100%;
    display: inline-block;
}

/* メイン画像（元のCSSのアニメーション設定を適用） */
.spot-mv-gallery .tour-gallery__main {
    aspect-ratio: auto !important;
    box-shadow: none !important;
    border-radius: 0;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    /* 元のCSS同様、アニメーション速度を.25sに指定 */
    transition: opacity .25s !important;
}

/* 画像切り替え中の透明度（元のCSSと同じ.35に設定） */
.spot-mv-gallery .tour-gallery__main.is-change {
    opacity: .35 !important;
}

/* 提供テキストラベル（画像右下に重ねて表示） */
.tour-gallery__provider {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background-color: rgba(0, 0, 0, 0.6); /* 背景を半透明の黒にして読みやすく */
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none; /* 画像操作を邪魔しない */
    transition: opacity 0.25s ease;
    z-index: 2;
}

/* 提供テキストがない場合は非表示にする */
.tour-gallery__provider:empty {
    display: none;
}


/* --- PC表示時の設定（769px以上） --- */
@media (min-width: 769px) {
    #spot .tour-gallery {
        margin-top: 0 !important; 
    }

    #spot .tour-gallery__thumbs,
    .spot-mv-gallery .tour-gallery__thumbs {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important; /* 均等配置から左寄せに変更 */
        gap: 12px !important;
        margin-top: 18px !important;
        width: 100% !important;
    }

    #spot .tour-gallery__thumbs img,
    .spot-mv-gallery .tour-gallery__thumbs img {
        flex: 0 0 100px !important; /* 伸長を防止し100pxに固定 */
        width: 100px !important;
        max-width: 100px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        border-radius: 12px;
        cursor: pointer;
        border: 3px solid transparent;
        box-sizing: border-box !important;
        transition: .25s;
        margin: 0 !important;
    }

    #spot .tour-gallery__thumbs img:hover,
    .spot-mv-gallery .tour-gallery__thumbs img:hover {
        transform: translateY(-3px);
    }

    #spot .tour-gallery__thumbs img.is-active,
    .spot-mv-gallery .tour-gallery__thumbs img.is-active {
        border-color: #64c6e7;
    }
}


/* --- スマホ表示時の設定（768px以下） --- */
@media (max-width: 768px) {
    #spot .tour-gallery__thumbs,
    .spot-mv-gallery .tour-gallery__thumbs {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important; /* space-betweenから左寄せに変更 */
        gap: 6px !important;
        margin-top: 8px !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #spot .tour-gallery__thumbs img,
    .spot-mv-gallery .tour-gallery__thumbs img {
        width: calc((100% - 18px) / 4) !important; /* 4分割サイズ（そのまま維持） */
        min-width: 0 !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        border-radius: 12px;
        border: 3px solid transparent;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
        transition: .25s;
    }

    #spot .tour-gallery__thumbs img.is-active,
    .spot-mv-gallery .tour-gallery__thumbs img.is-active {
        border-color: #64c6e7;
    }
}


/* ==================================================
   画像エリア枠とクレジット位置固定（追加用）
================================================== */

/* 画像枠（クレジット表示の基準点） */
.link-panel-01__img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.link-panel-01__img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* 画像内クレジット（右下に完全固定） */
.link-panel-01__img-wrap .img-provider {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background-color: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
}

/* クレジット内の不要な矢印アイコン擬似要素を消去 */
.link-panel-01__img-wrap .img-provider::after,
.link-panel-01__img-wrap .img-provider::before {
    display: none !important;
    content: none !important;
}

/* クレジットが空の場合は非表示 */
.link-panel-01__img-wrap .img-provider:empty {
    display: none;
}

