@charset "utf-8";
/* 非表示 */
#footstep_wrap {
    display: none !important;
}


/*=== 簡易リセット ===*/
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
.view--sp {
    display: none;
}


/* ヘッダ */
.tpl_front_index .gnav,
.tpl_front_index #spm_wrap {
    display: none;
}
#header {
    position: fixed;
    top: 54px;
    left: 0px;
    z-index: 999;
    width: 100%;
}
#header2 {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
#he_left {
    width: calc(176 / 1080 * 100vmin);
    max-width: 176px;
    position: static;
    padding: 0;
}
#he_right .header_nav ul li {
    display: flex;
    align-items: center;
}
#he_right .header_nav .menu-trigger {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 8px 6px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 0 5px 0 0;
}
#he_right .header_nav .menu-trigger > a,
#he_right .header_nav .menu-trigger > button {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: underline;
    color: #fff!important;
    cursor: pointer;
    text-shadow: 
    1.5px 1.5px 2px rgba(0, 0, 0, 0.4), 
    -1.5px -1.5px 2px rgba(0, 0, 0, 0.4), 
    1.5px -1.5px 2px rgba(0, 0, 0, 0.4), 
    -1.5px 1.5px 2px rgba(0, 0, 0, 0.4),
    0px 0px 8px rgba(0, 0, 0, 0.6);
}
/* 色変更時 */
.color_change #header,
.color_change #header2,
.color_change #he_right {
    background-color: transparent!important;
}
.color_change #he_left #logo img {
    background-color: #000!important;
}

/* 情報を探す */
.info-btn {
    display: none!important;
}
.kasou-info-overlay {
    overflow-y: auto!important;
}
.pc_gnav_close_btn {
    position: fixed;
    right: 40px;
    top: 40px;
    z-index: 999;
    background: transparent;
    border: none;
}
.header_search {
    z-index: 9999;
}
.header_search.header_search_kasou {
    display: none;
}

/* メイン */
#mymainback_bg {
    position: static;
    z-index: 1;
}
#mymainback {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
    transform: none;
    padding: 0;
    margin: auto;
    overflow: initial;
}
#main {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1080px;
    margin: 0 auto;
}
/* 色変更時 */
.color_change #mymainback,
.color_change #main {
    background-color: transparent!important;
}


/* 重要なお知らせ */
/* #top_important {
    margin: 0px;
    padding: 30px 40px;
    background: #fdf2f2;
}
#top_important h2 {
    margin: 0px 0px 20px;
    padding: 0px;
    color: #cc0000;
    font-size: 2.4rem;
    text-align: center;
}
#top_important ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
#top_important ul li {
    width: 100%;
    display: table;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0px 0px 15px;
}
#top_important ul li:last-child {
    margin-bottom: 0px;
}
#top_important ul li>span {
    display: table-cell;
    vertical-align: top;
}
#top_important ul li>span.article_date {
    width: calc(11em + 10px);
}
#top_important ul li a {
    color: #cc0000;
}
#top_important .link_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 20px 0px 0px;
}
#top_important .link_box span[class*="link_"] {
    display: inline-block;
    vertical-align: top;
    margin: 10px 10px 0px;
    width: 260px;
    max-width: calc(100% - 20px);
}
#top_important .link_box span[class*="link_"] a {
    display: block;
    border: none;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
    font-size: 1.5rem;
    line-height: 2rem;
    text-decoration: none;
    margin: 0px;
    padding: 10px 20px;
    text-align: center;
}
#top_important .link_box span[class*="link_"] a:hover,
#top_important .link_box span[class*="link_"] a:focus {
    text-decoration: underline;
} */


/*=== navi ===*/
.navi {
    position: absolute;
    left: 0;
    bottom: 210px;
    height: clamp(100px, calc(431 / 1080 * 100vmin), 431px);
    width: clamp(120px, calc(539 / 1080 * 100vmin), 539px);
}
.navi .navi__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.navi .navi__item {
    width: 40.8%;
    transition: all 0.5s ease 0s;
}
.navi .navi__item:hover {
    opacity: 1;
    transform: scale(1.1);
}
.navi .navi__item:hover img {
    opacity: 1;
}
.navi .navi__item:nth-child(2) {
    margin-top: 20px;
    margin-left: 14%;
}
@media screen and (max-width: 1340px) {
    .navi .navi__item:nth-child(2) {
        margin-left: 20px;
    }
}
/* 色変更時 */
.color_change .navi,
.color_change .navi .navi__list {
    background-color: transparent!important;
}


/*=== ループスライド ===*/
.roop {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 176px;
    overflow: hidden;
}
.roop_anime__track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 5760px;
    height: 100%;
}
#roop_anime_track,
#roop_anime_track3 {
    animation: slide 10s linear infinite;
}
#roop_anime_track2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/img/front/roop_anime_train.png");
    background-size: 3840px auto;
    background-repeat: no-repeat;
    background-position: center center;
}
#roop_anime_track {
    z-index: 1;
}
/* 背景 */
#roop_anime_track2 {
    z-index: 2;
}
/* 列車  */
#roop_anime_track3 {
    z-index: 3;
}
/* 駅 */
.roop_anime__track img {
    width: 1920px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1920px);
    }
}
.roop_anime__controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#roop_anime__btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #514F4E;
    background-image: url(/img/top/photo/btn_slide_stop.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 8px auto;
    border: 2px solid #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    line-height: .8;
}
#roop_anime__btn.is-paused {
    background-image: url(/img/top/photo/btn_slide_play.png);
}
/* 色変更時 */
.color_change #roop_anime_track,
.color_change #roop_anime_track2,
.color_change #roop_anime_track3,
.color_change .roop_anime__track img {
    background-color: transparent !important;
}


/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {
    body,
    #container {
        min-width: initial;
    }
    .view--sp {
        display: block;
    }
    .view--pc {
        display: none;
    }

    /* ヘッダー */
    .tpl_front_index .gnav {
        display: block;
    }
    #header { 
        top: 18px;
        width: 100%;
    }
    #header #header2 {
        width: 89.3%;
        align-items: center;
    }
    #he_left {
        width: 42.9%;
        max-width: 190px;
    }
    .header_nav {
        display: block;
        background: transparent;
    }
    .header_nav ul {
        display: flex;
        padding: 0;
        gap: 10px;
    }
    #he_right {
        width: auto;
        max-width: 100%;
    }
    #he_right .header_nav ul {
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 20px;
    }
    #he_right .header_nav ul li {
        display: block;
        flex-shrink: 0;
        width: auto;
    }
    .header_nav ul li img {
        width: 20px;
    }
    #he_right .header_nav {
        background: rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 0 11px 7px rgba(0, 0, 0, 0.1);
        border-radius: 40px;
    }
    #he_right .header_nav .menu-trigger {
        padding: 0;
        box-shadow: none;
        background: none;
    }
    #he_right .header_nav .menu-trigger > a,
    #he_right .header_nav .menu-trigger > button {
        font-size: 1.6rem;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .menu-trigger {
        display: block;
        text-align: center;
    }

    #support_menu_box {
        display: none;
    }
    #support_menu_open,
    #support_menu_close {
        display: block!important;
    }
    #support_menu_box.open {
        display: block;
    }
    #support_menu_box {
        display: none;
        position: absolute;
        top: 100%;
        right: 0px;
        background: #fff;
        box-shadow: 0px 3px 10px -2px rgba(0, 0, 0, 0.5);
        padding: 20px;
        min-width: 24rem;
    }
    .menu-content {
        top: calc(100% + 10px);
        width: 90%;
        min-width: 90%;
        right: 0;
        margin: auto;
    }
    .menu-content::before {
        right: -35%;
    }
    #he_right .menu-content ul {
        flex-wrap: wrap;
    }
    .lang_menu::before {
        right: -13%;
    }
    .font_size_changed .menu-item.is-open .menu-content.support_menu {
        min-width: initial;
    }

    /* メイン */
    #mymainback {
        width: 100%;
        position: static;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        max-height: none;
    }
    #main {
        position: static;
    }

    /*=== navi ===*/
    .navi {
        width: calc(100% - 140px);
        height: auto;
        left: 0;
        right: 0;
        bottom: 100px;
        margin: 0 auto;
        overflow: hidden;
    }
    .navi .navi__list {
        width: 100%;
        height: auto;
        gap: 20px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    .navi .navi__item {
        width: 160px;
        height: auto;
    }
    .navi .navi__item:nth-child(2) {
        margin: 0;
    }
    .navi .navi__item img {
        max-width: 100%;
        max-height: initial;
        height: auto;
    }

    /*=== ループスライド ===*/
    .roop {
        bottom: 0;
        height: 89px;
        z-index: 10;
    }
    .roop_anime__track {
        width: 2880px;
    }
    #roop_anime_track,
    #roop_anime_track3 {
        animation: slide 15s linear infinite;
    }
    #roop_anime_track2 {
        background-size: 1920px auto;
    }
    .roop_anime__track img {
        width: 960px;
    }
    .roop_anime__controls {
        bottom: 0;
        left: 0;
        width: 40px;
        height: 40px;
    }
    #roop_anime__btn {
        width: 24px;
        height: 24px;
        background-size: 6px auto;
        font-size: 1.2rem;
    }

    /* フッタ */
    #footer {
        position: static;
    }

    @media screen and (max-width: 600px) {
        /* ヘッダー */
        #he_right .header_nav ul {
            gap: 13px;
        }
        #he_right .header_nav .menu-trigger > a,
        #he_right .header_nav .menu-trigger > button {
            font-size: 1rem;
            width: 100%;
            height: 100%;
            display: block;
        }

        /* メイン */
        #mymainback_bg {
            padding: 0 0 32vw;
        }

        /*=== navi ===*/
        .navi {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            max-width: 100%;
            height: 32vw;
            z-index: 20;
        }
        .navi .navi__list {
            display: flex;
            flex-wrap: nowrap;
            justify-content: center;
            gap: 0;
        }
        .navi .navi__item {
            width: calc(100%/3);
        }
        .navi .navi__item:hover {
            transform: none;
        }
        .navi .navi__item:nth-child(2) {
            margin-top: 0;
            margin-left: 0;
        }

        /*=== ループスライド ===*/
        .roop {
            bottom: 32vw;
        }
    }

    /* 重要なお知らせ */
    /* #top_important {
        padding: 30px 20px;
    }
    #top_important h2 {
        font-size: 2rem;
    }
    #top_important ul li {
        width: auto;
        display: block;
    }
    #top_important ul li>span {
        display: block;
    }
    #top_important ul li>span.article_date {
        width: auto;
    }
    #top_important .link_box span[class*="link_"] a {
        font-size: 1.3rem;
    } */
}
/* ==================================================
スマートフォン ここまで
================================================== */