@charset "UTF-8";

/*検索ボックス
**************************************************/

.search-box * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.search-box {
    width: 450px;
    margin: 30px 0;
    flex-direction: row-reverse;
    justify-content: flex-end;
    position: fixed;
    top: 120px;
    left: 0;
    z-index: 100;
    transform: translateX(-380px);
    transition: all .5s;
}

.search-box.open {
    transform: translateX(0);
}

.search-box form {
    background-color: #fff;
    min-height: 300px;
    width: 380px;
    padding: 30px 35px;
    position: relative;
}

.search-box .inner {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
}

.search-box .search-box-ttl-head {
    cursor: pointer;
    font-size: 21px;
    color: #fff;
    font-weight: bold;
    background-color: #D81818;
    position: relative;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    max-height: 200px;
}

.search-box .search-box-ttl-head:after {
    /* content: url(../img/top/paguppy_reserve.png); */
    content: none;
    position: absolute;
    right: 20px;
    bottom: -16px;
}

.search_icon {
    background-color: #00000026;
    padding: 15px 23px;
}

.search_title {
    padding: 23px;
}

.search-box input,
.search-box select {
    border-radius: 3px;
    border: none;
    background-color: #1C68B71A;
    height: 38px;
    font-size: 19px;
    text-align: center;
}

input div::before {
    content: url(../image/icon_calendar.svg);
}

.search-box select {
    padding-left: 20px;
    padding-right: 20px;
}

.search-box .input-group {
    display: table;
}

.spinner:before {
    content: url(../image/icon_calendar.svg);
    position: absolute;
    left: 20px;
    top: 10px;
    /* top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%); */
}

.cal-dep,
.cal-arv {
    /* background: url(../common/image/icon_calendar.svg);
    background-repeat: no-repeat;
    padding-left: 30px; */
    display: table-cell;
    width: 62%;
    margin-right: 5px;
}

.search-box .box-dep dt,
.search-box .box-arv dt {
    font-weight: bold;
    margin-bottom: 10px;
}

.search-box .box-dep,
.search-box .box-arv {
    margin-bottom: 25px;
}

.search-box .box-dep,
.search-box .box-arv,
.search-box .btn-more-wp {
    width: 100%;
}

.search-box .btn-more-wp {
    padding-top: 15px;
}

.search-box .btn-more-wp .btn {
    width: 100%;
    border-radius: 3px;
    background-color: #D81818;
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    padding: 14px;
}

@media only screen and (min-width: 768px) {
    .search-box .box-cartype {
        /*overflow: visible;*/
    }
    .search-box .box-dep,
    .search-box .box-arv {
        /*width: 46%;*/
    }
}

@media only screen and (max-width: 768px) {
    .search-box .btn-more-wp {
        /*	display: block;
	margin: 0;
	width: 100%;*/
    }
}

@media only screen and (max-width: 767px) {
    .cal-dep,
    .cal-arv {
        /*	width: 100% !important;
	margin-bottom: 2px !important;*/
    }
}

@media only screen and (min-width: 768px) {
    .search-box .box-cartype {
        /*overflow: hidden;*/
    }
    .search-box .box-dep,
    .search-box .box-arv {
        /*width: 280px;*/
        /* width: 50%; */
    }
    .search-box .btn-more-wp {
        width: 100%;
    }
}

@media only screen and (min-width: 992px) {
    .search-box .box-dep,
    .search-box .box-arv {
        /* width: 38%; */
    }
    .search-box .btn-more-wp {
        /* width: 24%; */
        padding-top: 0;
    }
}

@media only screen and (max-width:600px) {
    /* .search-box {
        top: 50px;
        transform: translateX(-298px);
        z-index: 10;
    } */
    .home .page-header.position-relative div:nth-child(2) {
        position: relative;
        display: inline-block;
    }
    .search-box {
        top: 340px;
        /* transform: translateX(calc(75px - 100%)); */
        transform: translateX(calc(90px - 100%));
        z-index: 10;
        margin: 0;
        position: absolute;
    }
    .search-box .search-box-ttl-head {
        height: 123px;
    }
    .search-box form {
        width: calc(100% - 90px);
        height: auto;
    }
    .search-box .input-group {
        display: inline-grid;
    }
    .search-box input,
    .search-box select {
        width: 100%;
        margin-bottom: 3%;
    }
    .search_icon {
        background-color: #dc0000;
        padding-bottom: 5px;
        display: inline-flex;
    }

    .search_icon img {
        margin: 0 auto;
        display: block;
    }
    /* .search-box .search-box-ttl-head {
        background-color: #00000000;
    } */
    .search-box .search-box-ttl-head {
        background-color: #D81818;
        width: 90px;
        height: max-content;
        display: flex;
        align-content: end;
        flex-direction: initial;
    }
    /* .search_title {
        display: none;
    } */
    .search_title {
        writing-mode: horizontal-tb;
        padding: 0;
        padding-bottom: 15px;
        font-size: 12px;
        text-align: center;
    }
    .search-box.d-flex{
        display: none!important;
    }
}