.top_slider_main {
    margin-bottom: 25px;
    display: grid;
    gap: 15px;
    grid-template-columns: 665px 320px;
}

.slider-for {
    flex: 1;
    min-width: 0;
}

.slider-for img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右サムネ：固定幅・2列グリッド・縦スクロール */
.slider-nav {
    position: relative;
    overflow: hidden;
    max-height: 400px;
}

.slider-nav__track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2列 */
    gap: 5px 10px;
    will-change: transform;
    transition: transform .3s ease;
    /* スッと動かす */
}

.slider-nav__track>div {
    cursor: pointer;
    border: solid 1px #b2d6e8;
}

.slider-nav img {
    width: 100%;
    height: auto;
    display: block;
}

/* 選択中のサムネの見た目 */
.slider-nav__track>div.is-active {
    border: solid 1px #ff4e00;
}

.slider-nav__track>div:hover {
    border: solid 1px #ff4e00;
}

/* 矢印ボタン */
.thumb-arrow {
   
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    position: relative;
    z-index: 5;
    width: 100%;
    height: 15px;
    text-align: center;
    border: none;
    background: #0008;
    /* 半透明黒 */
    color: #fff;
    cursor: pointer;
    user-select: none;
    vertical-align: initial;
}

.thumb-arrow.thumb-arrow--up {
    background-image: url(../../img/top-slider/slide-up.png);
    margin-left: 0;
}

.thumb-arrow.thumb-arrow--up:hover {
    background-image: url(../../img/top-slider/slide-up.png);
    background-position: 0 -15px;
}

.thumb-arrow.thumb-arrow--down {
    background-image: url(../../img/top-slider/slide-down.png);
    background-position: 0 0px;
    margin-left: 0;
}

.thumb-arrow.thumb-arrow--down:hover {
    background-image: url(../../img/top-slider/slide-down.png);
    background-position: 0 -15px;
}

.thumb-arrow.thumb-arrow--up, 
.thumb-arrow.thumb-arrow--down{
    display: block;
}
.thumb-arrow.thumb-arrow--left,
.thumb-arrow.thumb-arrow--right {
    display: none;
}

@media screen and (max-width: 767px) {



    /*-----------------------
      共通パーツ
    -----------------------*/

    * {
        box-sizing: border-box;
    }

    .contents {
        width: 100% !important;
    }

    img {
        max-width: 100%;
        height: auto;
    }

     #wrapper{
        position: relative;
        background: none;
     }
    #wrapper:before{
             position: absolute;
             top: 0;
             left: 0;
             content: "";
             width: 100%;
             height: 30vw;
              background:  url(../img/bg-site_sp.jpg)no-repeat top center /cover;
    }

    /*-----------------------
      トップ
    -----------------------*/

    /*スライダー*/
    .top_slider_main {
        display: block;
    }

    .slider-nav-wrap {
        position: relative;
        padding: 0 4%;
        width: 100%;
        flex: 1 1 auto;
    }

    .slider-nav {
        margin-top: 20px;
        max-height: none;
        overflow: hidden;
         overflow-x: auto;      /* ← 指でスワイプOK（慣性スクロールも効く） */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;  /* ← スナップ */
    scrollbar-width: none;          /* Firefox: スクロールバー非表示 */
    }
      .slider-nav::-webkit-scrollbar{ display:none; } /* WebKit: 非表示 */


    /* 横の“窓” */
    .slider-nav__track {
        display: flex;
        gap: 8px;
 
        /* 初期位置（JSでtranslateXする） */
    }

    .slider-nav__track>div {
        flex: 0 0 auto;
        /* 横に並べる */
        width: 30%;
        /* サムネサイズ調整（例:画面幅の30%） */
    }

    .slider-nav__track>div.is-active {
    border: solid 3px #ff4e00;
}
.slider-nav__track>div:hover {
    border: solid 3px #ff4e00;
}



/* “何枚見せるか”は幅で調整。例：3枚見せ */
.slider-nav__track>div {
    flex: 0 0 calc((100% - 16px)/3);
     scroll-snap-align: center; 
}

/* 3枚 + gap*2 */
/* 矢印の出し分け */
.thumb-arrow.thumb-arrow--up,
.thumb-arrow.thumb-arrow--down {
    display: none;
}

.thumb-arrow.thumb-arrow--left, 
.thumb-arrow.thumb-arrow--right {
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    background: rgba(54, 139, 201, 0.75);
    border: 1px solid #fff;
}

.thumb-arrow.thumb-arrow--left::after {
    content: '';
  position: absolute;
    top:12px;
  left: 15px;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-135deg);
  box-sizing: border-box;
}
 .thumb-arrow.thumb-arrow--right::after {
  content: '';
  position: absolute;
  top:12px;
  left: 10px;

  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.thumb-arrow--left {
    left:  2%;
}

.thumb-arrow--right {
    right: 2%;
}


#top-slider {
    width: 100% !important;
}

#col-left {
    width: 100%;
}

#col-right {
    margin-top: 40px;
    padding: 0 4%;
    width: 100%;
}

.tabNavigation {
    display: flex;
}

.tabNavigation li.first,
.tabNavigation li.second {
    float: none;
    width: 50%;
}

.tabNavigation .first a {
    background: url(../../img/btn-tb-goal.gif) no-repeat center /contain;
}

.tabNavigation .first a.selected {
    background: url(../../img/btn-tb-goal-act.gif) no-repeat center /contain;
}

.tabNavigation .second a.selected {
    background: url(../../img/btn-tb-route-act.gif) no-repeat center /contain;
}

.tabNavigation .second a {
    background: url(../../img/btn-tb-route.gif) no-repeat center /contain;
}

.tabNavigation li a {
    width: 100%;
}

.tub-box {
    float: none;
}

.tub-box .tabs {
    margin: 0 auto;
    padding: 0 4%;
    max-width: 495px;
    width: 100%;
}

.tabs .tab-content {
    width: 100%;
}

#second .tab-route {
    background: url(../../img/top-route/area.gif) no-repeat center /cover;
}

.zt-container {
    max-height: 470px;
    height:93vw !important;
}
img.zt-current{
    width: 100% !important;
    height: auto !important;
}

/* 画像は可変、縦横比維持 */
img[usemap] { max-width: 100%; height: auto; display: block; }

.zt-tag.zt-item-2 {
    top: 3% !important;
    left: 34% !important;
    width: 47vw !important;
    height: 44vw !important;
            max-width: 240px !important;
        max-height: 225px !important;
}

.zt-tag.zt-item-3 {
    top: 40% !important;
    left: 18% !important;
    max-width: 254px !important;
    max-height: 266px !important;
    width: 50vw !important;
    height: 52vw !important;
}

.zt-tag.zt-item-4 {
    top: 43% !important;
    left: 31% !important;
    width: 22vw !important;
    height: 18vw !important;
    max-width: 111px !important;
    max-height: 88px !important;
}

.goal-btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.goal-btn li {
    float: none;
}

.association-box {
    margin: 0 4% 20px;
}

.jimu-blc {
    max-width: 340px;
    width: 100%;
}

.top-bnr {
    margin: 0 4%;
}

.loopslider{
    width: 100%;
}


/*開催中のキャンペーン・お知らせ*/
.campaign-list .label a {
    display: inline-block;
}
.box-head .tit-box-campaign{
    position: static;
}
.box-head .tit-box-campaign img{
    width: 100%;
}


/*お役立ち情報*/
.BnrIink-box .oyakudati h3 {
    text-align: right;
}

.BnrIink-box .oyakudati h3 img {
    margin-left: auto;
}


}
/*end*/


@media screen and (max-width: 565px) {
    .jimu-blc{
        float: none;
        margin: 0 auto 40px;
    }
    .btn-association{
        float: none;
        margin:0  auto;
    }
}
