[v-cloak] {
    display: none;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity .3s ease-in-out;
}

.fade-enter, .fade-leave-to {
    opacity: 0;
}

.search-railway {
    padding: 0 30px 30px;
    text-align: center;
}

.search-railway-btn {
    background: #fff;
    border: 1px solid #333;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    width: 100%;
}

#search_modal {
    background: #fff;
    left: 10px;
    position: absolute;
    top: 10px;
    width: calc(100% - 20px);
    z-index: 999;
}

#search_modal .modal_close {
    display: block;
    height: 30px;
    position: absolute;
    right: 35px;
    top: 45px;
    width: 30px;
    z-index: 100;
}

#search_modal .modal_close span {
    background: #333;
    display: block;
    height: 4px;
    position: absolute;
    top: 0;
    width: 30px;
}

#search_modal .modal_close span:first-child {
    transform: rotate(45deg);
}

#search_modal .modal_close span:nth-child(2) {
    transform: rotate(-45deg);
}

#search_modal h3 {
    background: #f4f4f4;
    font-size: 24px;
    font-weight: bold;
    padding: 30px;
    text-align: center;
}

#search_modal h3 small {
    font-size: 15px;
}

#search_modal .back_link a {
    background: #f4f4f4;
    color: #333;
    display: block;
    font-size: 24px;
    font-weight: bold;
    padding: 30px 30px 30px 45px;
    position: relative;
}

#search_modal .back_link a::before {
    background: url("../images/common/icon_arrow_g.png") no-repeat left top / contain;
    content: "";
    display: block;
    height: 19px;
    left: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(-1, 1);
    width: 13px;
}

#search_modal li {
    border-top: 1px solid #aaa;
}

#search_modal li:first-child {
    border-top: none;
}

#search_modal li a {
    background: url('../images/common/icon_arrow_g.png') no-repeat 93% center/12px auto;
    color: #333;
    display: block;
    font-size: 24px;
    font-weight: bold;
    padding: 30px;
}

#search_modal .modal_station li {
    font-size: 24px;
    font-weight: bold;
    padding: 30px 30px 30px 60px;
}

#search_modal .modal_station li:first-child {
    padding-left: 30px;
}

#search_modal .modal_station label {
    font-size: 24px;
    padding-left: 60px;
}

#search_modal .modal_station label::before {
    height: 34px;
    width: 34px;
}

#search_modal .modal_station input[type="checkbox"]:checked + span.list::after {
    width: 27px;
    height: 21px;
    left: 4px;
    background: url(../../images/search/common/icon_search_check_select.png) no-repeat 0 0/27px auto;
}

#search_modal .btn-wrapper {
    background: #333;
    padding: 30px;
    text-align: center;
}

#search_modal .btn-wrapper button {
    display: block;
    height: 100%;
    padding: 15px 20px 15px 70px;
    min-height: 107px;
    font-size: 24px;
    font-size: 2.4rem;
    line-height: 1.2;
    text-align: left;
    font-weight: bold;
    background: url(../../images/search/common/icon_search.png) no-repeat 20px center/31px auto;
}

@media screen and (min-width: 768px) {
    #search_modal {
        left: 50%;
        transform: translate(-50%);
        width: 800px;
    }

    #search_modal .modal_close {
        right: 15px;
        top: 25px;
    }

    #search_modal h3 {
        font-size: 16px;
        padding: 15px;
    }

    #search_modal h3 small {
        font-size: 10px;
    }

    #search_modal .back_link a {
        background-position: right 15px center;
        font-size: 16px;
        padding: 15px 15px 15px 30px;
    }

    #search_modal ul {
        max-height: 440px;
        overflow-y: auto;
    }

    #search_modal li a {
        font-size: 16px;
        padding: 15px;
    }

    #search_modal .modal_station li {
        padding: 15px 15px 15px 30px;
    }

    #search_modal .modal_station li:first-child {
        padding-left: 15px;
    }

    #search_modal .modal_station label {
        font-size: 16px;
        padding-left: 40px;
    }

    #search_modal .modal_station label::before {
        height: 24px;
        width: 24px;
    }

    #search_modal .modal_station input[type="checkbox"]:checked + span.list::after {
        background-size: 18px auto;
        width: 18px;
        height: 14px;
        left: 4px;
    }
}