@import "https://use.fontawesome.com/releases/v5.13.0/css/all.css";

/* リセット */

img {
    vertical-align: bottom;
}

li {
    list-style-type: none;
}

button,
iframe {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

* {
    font-size: 16px;
}

html,
body {
    overflow: hidden;
}

a {
    text-decoration: none;
}

body {
    min-width: 300px;
    min-height: 400px;
    width: 100%;
    max-width: 100%;
    background-color: white;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-position: center top;
}

/* デフォルト背景 (SP) */
body {
    background: image-set(
        url(../img/bg/sp_bg.webp) 1x,
        url(../img/bg/sp_bg@2x.webp) 2x,
        url(../img/bg/sp_bg@3x.webp) 3x
    ) center top / cover no-repeat;
}

/* タブレット用背景 (768px以上 1024px未満) */
@media (min-width: 768px) and (max-width: 1023px) {
    body {
        background: image-set(
            url(../img/bg/tab_bg.webp) 1x,
            url(../img/bg/tab_bg@2x.webp) 2x,
            url(../img/bg/tab_bg@3x.webp) 3x
        ) center top / cover no-repeat;
    }
}

/* PC用背景 (1024px以上) */
@media (min-width: 1024px) {
    body {
        background: image-set(
            url(../img/bg/pc_bg.webp) 1x,
            url(../img/bg/pc_bg@2x.webp) 2x,
            url(../img/bg/pc_bg@3x.webp) 3x
        ) center top / cover no-repeat;
    }
}

/* ロゴイメージ */
#bgopt {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 50%;
}

/* 上部メニュー */
.keiro {
    box-shadow: none;
}

#keiroWrap .keiro {
    background-color: #E2DEC5;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 10px 10px 5px 10px;
    position: relative;
    z-index: 10;
}

#keiroWrap input {
    padding-left: 26px;
    height: 40px;
    border: 2px solid #4E3E39;
    border-radius: 50px;
}

/* 言語設定 */
#langwrap {
    background-color: #FFFFFF;
    border-radius: 4px;
    align-items: center;
    border: 2px #4E3E39 solid;
    height: 33px;
    margin: 0 auto;
    width: 95%;
    text-align: center;
    position: relative;
}

#langwrap select {
    font-size: 12px;
    outline: none;
    border: none;
    background-color: transparent;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    text-align-last: center;

    /* カスタム矢印 */
    appearance: none; /* デフォルトの矢印を消す */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../img/down.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

#langwrap select div,
#placeholder{
    text-align-last: center;
}

#langicon {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 10px;
    margin: auto;
    width: 14px;
    vertical-align: middle;
}

#arrow {
    height: 8px;
    transform: rotate(0deg);
    margin: auto auto auto 5px;
}

#arrow.active {
    transform: rotate(180deg);
}

.fa-position-right {
    position: absolute;
    top: calc(50% - 0.5em);
    right: 1rem;
}

#keiroWrap {
    position: relative;
    bottom: 110px;
    z-index: 8;
}

#keiro_bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgb(0, 0, 0, 0.6);
    opacity: 0;
    z-index: 0;
    display: none;
}

#keiro_bg.active {
    opacity: 1;
    z-index: 7;
    display: block;
}

#keirowrapdeco {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: 10;
    -webkit-transform: translate3d(0, 0.75rem, -1rem);
    transform: translate3d(0, 0.2rem, -1rem);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* アイフレーム */
#calendarWrap {
    position: absolute;
    z-index: 5;
    border-radius: 10px;
}

#calendarWrap #calendariframe {
    width: 100%;
    height: calc(100% - 61px);
    border: none;
    background-color: transparent;
    position: absolute;
    z-index: 65535;
}

#mapiframe {
    width: 100%;
    height: calc(100% - 61px);
    border: none;
    background-color: transparent;
    position: absolute;
    z-index: -10;
    border-radius: 0 0 10px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url(../../common/img/SVG-Loaders-master/svg-loaders/oval.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25%;
}

#calendarCover {
    position: absolute;
    z-index: 5;
}

#iframe_bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgb(0, 0, 0, 0.6);
    opacity: 0;
    z-index: -1;
    display: none;
}

#iframe_bg.active {
    opacity: 1;
    z-index: 15;
    display: block;
}

#spot_iframe {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    width: 96%;
    height: 85%;
    margin: auto;
    border: none;
    background-color: #FFFFFF;
    border-radius: 8px;
    vertical-align: bottom;
    display: none;
}

#spot_iframe.active {
    display: block;
    z-index: 65536;
    vertical-align: bottom;
}

/* カルーセル */
#carouselWrap {
    position: absolute;
    width: 100%;
    height: 100px;
    overflow: hidden;
    padding: 10px 0 5px;
    z-index: 1;

}

#carouselWrap a{
    display: block;
    margin: 0 auto;
}

#carouselWrap a
,#carouselWrap a img {
    height: 96px;
    width: 84px;
}

#carouselWrap a .carousel_badge {
    position: absolute;
    left: -12px;
    width: 32px;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
    top: -32px;
}

.swiper-container {
    width: 100%;
    max-width: 940px !important;
    overflow: visible !important;
    right: -14%;
}

.swiper-wrapper,
.swiper-slide,
.swiper-container {
    margin: 0 auto;
}

#footerWrap{
    width: 100%;
    position: fixed;
    bottom: 0px;
}

/* マップ、リスト切り替えボタン */
#switchWrap {
    /* position: fixed;
    bottom: 11px; */
    width: 100%;
    text-align: center;
}

#switchInner {
    border: 1px #FFFFFF solid;
    border-radius: 24px;
    width: 65%;
    min-width: 200px;
    margin: 0 auto 11px auto;
    padding: 6px 0;
    box-shadow: inset 0 10px 25px 0 rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.switchicon {
    height: 16px;
    vertical-align: sub;
}

.switchText {
    color: #FFFFFF;
}

.ui-switcher {
    background-color: var(--swich_off_color);
    display: inline-block;
    height: 12px;
    width: 32px;
    border-radius: 10px;
    box-sizing: border-box;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    transition: border-color 0.25s;
    margin: -2px 4px 0 0;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.ui-switcher:before {
    font-family: sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: var(--swich_off_color);
    line-height: 1;
    display: inline-block;
    position: absolute;
    top: 6px;
    height: 12px;
    width: 20px;
    text-align: center;
}

.ui-switcher[aria-checked=false]:before {
    content: '';
    right: 7px;
}

.ui-switcher[aria-checked=true]:before {
    content: '';
    left: 7px;
}

.ui-switcher[aria-checked=true] {
    background-color: var(--swich_off_color);
}

.ui-switcher:after {
    background-color: var(--swich_on_color);
    content: '\0020';
    display: inline-block;
    position: absolute;
    top: -3px;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    transition: left 0.25s;
}

.ui-switcher[aria-checked=false]:after {
    left: 0px;
}

.ui-switcher[aria-checked=true]:after {
    left: 18px;
}

.form-check-input {
    display: none;
}

.search_box {
    width: 100%;
    margin: 2px auto 10px;
    display: block;
    padding-right: 10px;
    -webkit-appearance: none;
}

#box {
    display: flex;
}

.settei {
    font-size: 12px;
    padding-left: 10px;
    margin-top: 10px;
    color:#4E3E39
}

#box_text {
    margin: auto 0;
    display: inline;
    vertical-align: baseline;
    color: #4E3E39;
}

#magnifier {
    height: 20px;
    display: inline;
    vertical-align: baseline;
    margin: auto 5px auto auto;
}

#magnifier.active {
    display: none;
}

.container {
    position: relative;
    width: 96%;
    margin: 0 auto;
}

#input_magnifier {
    position: absolute;
    top: 10px;
    width: 19px;
    left: 8px;
}

.box::before {
    display: inline-block;
    height: 24px;
}

select {
    color: #000;
}

/* 矢印のクリック範囲など */
.button {
    background-color: transparent;
    /* ボタンの背景を透明にする */
    height: 15px;
    transition: .2s;
    width: 15px;
    border: none;
}

/* 矢印共通のスタイル */
.button::before {
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
    content: "";
    height: 15px;
    left: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 15px;
    border: none;
}

/* カレンダーの日付ボタン */
.splide__slide>.jj_dateBox {
    border-radius: 20px;
}
.splide__slide.is-active>.jj_dateBox {
    color: #FFFFFF;
    background-color: #03797C;
}
#jj_dateSlider:before {
    background-color: #03797C;
}

/* カレンダーの左右の矢印 */
.prev{
    background-image: url('../img/left.svg');
}

.next{
    background-image: url('../img/right.svg');
}

/* 装飾用 */

/* 地図・カレンダー切り替えバーの表示がない時の設定（同時に表示したい場合切り替えバーの方を調節） */
.logo{
    display: block;
    position: relative;
    margin: 0px;
    left: 10px;
    bottom: 5px;
    z-index: -1; /* 表示時は調節 */
    max-width: 150px;
    height: 35px;
}

/* PC用レスポンシブ */

.pc,.jrdapllink{
    display: none;
}


@media screen and (min-width:1025px)  {

    .pc{
        display: block;
    }

    #pc-wrapper{
        max-width: 86%;
        height: 100vh;
        margin: 0 auto;
        background-color: rgba(78, 126, 128, 0.5); /* #4E7E80 */
    }

    #keiroWrap{
        position: relative;
        width: 400px;
        margin: 0 auto;
        bottom: -20px;
    }

    #calendarWrap #calendariframe,#mapiframe {
        width:  80%;
        left:  calc(100% - 90%);
        height: calc(100% - 96px);
        max-width: 2000px;
        border-radius: 20px;
    }


    #jj_dateSlider{
        width: 800px;
        margin: 0 auto;
        margin-top: 20px;
        padding:13px 0px 13px 0px ;
    }

    #jj_dateSlider:before{
        top:55px;
    }
    .prev{
        left: 12px;
    }
    .next{
        right: 12px;
    }

    #carouselWrap{
        width:40% ;
        transform: translateX(57%);
        -webkit-transform: translateX(57%);
        -ms-transform: translateX(57%);
    }
    #switchWrap{
        width: 50%;
        min-width: 700px;
        /* left: 25%; */
        margin: 0 auto;
        left: 0;
        right: 0;
    }
    .switchicon{
        height: 21px;
    }

    #spot_iframe{
        max-width: 390px;
        height: 92%;
    }


/* 右下アプリ誘導 表示したい時だけ表示*/
    .jrdapllink{
        display: block;
        position: absolute;
        width: 20%;
        bottom: 5px;
        right: 0;
        z-index: 6;
        margin: 0 auto;
    }

    .jrdapllink div{
        margin: 0 auto;
        position: relative;
    }

    .jrdapllink img{
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    .dl_jrdlogo{
        width: 100%;
    }

    .dl_jrdlogo img{
        width: 60%;
        margin: 0 auto;
    }

    .dl_bnr{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction:row;
    }

    .logo{
        display: block;
        position: absolute;
        margin: 0px;
        bottom: 15px;
        z-index: 6;
        max-width: 200px;
    }


}

@media screen and (min-height:600px) and (max-height: 900px)  {
    .logo{right: 0px;}
}