﻿.reservation-box{
    width: 100%;
    display: block;
    position: relative;
    padding-top: 90px;
}
.reservation-all-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 100px 0;
}
.reservation-title-box{
    text-align: left;
    margin-bottom: 40px;
}
.contact-info-form{
    width: 600px;
    max-width: 100%;
    display: block;
}
.contact-form-list{
    width: 100%;
    display: block;
    position: relative;
    margin-top: 15px;
}
.contact-form-list:first-child{
    margin-top: 0;
}
.contact-form-list-title{
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 50px;
    color: #000;
    font-family: 'Noto Sans TC';
    position: relative;
}
.contact-remind-box{
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 50px;
    color: #000;
    font-family: 'Noto Sans TC';
    position: absolute;
    top: 0;
    right: 0;
}
.contact-form-text{
    width: 100%;
    display: block;
    background-color: #f5f5f5;
    border-radius: 5px;
    border: none;
    height: 60px;
    line-height: 60px;
    box-sizing: border-box;
    padding: 0 20px;
    font-family: 'Noto Sans TC';
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #666;
    position: relative;
    transition: all .3s linear;
}
.contact-form-list-textarea{
    width: 100%;
    display: block;
    background-color: #f5f5f5;
    border-radius: 5px;
    border: none;
    height: 200px;
    line-height: 24px;
    box-sizing: border-box;
    padding: 10px 20px;
    font-family: 'Noto Sans TC';
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #666;
    position: relative;
    resize: none;
    transition: all .3s linear;
}
input[type="date" i]::-webkit-calendar-picker-indicator{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: 20px 0;
    padding-left: calc(100% - 40px);
    padding-right: 20px;
    margin-inline-start: 0;
}


/*--------contact共用-----------*/
.contact-checkbox-lable{
    display: inline-block;
    margin-right: 20px;

}
.contact-checkbox-lable input[type="checkbox"]{
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.contact-checkbox-lable span{
    position: relative;
    display: block;
    font-family: 'Noto Sans TC';
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 40px;
    color: #000;
    padding-left: 22px;
}
.contact-checkbox-lable span:before{
    content: 'none';
    font-size: 0;
    width: 14px;
    height: 14px;
    display: block;
    position: absolute;
    left: 0;
    top: 14px;
    box-sizing: border-box;
    border: 1px solid #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-right: 5px;
}
.contact-checkbox-lable input[type="text"]{
    width: 200px;
    display: inline-block;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid #000;
    margin-left: 7px;
    font-family: 'Noto Sans TC';
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}


.contact-remind-box span,
.contact-form-list-title span{
    color: #ff0000;
}
.contact-form-list-title-s{
    font-size: 14px;
}
.contact-form-select{
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 5px;
    border: none;
    height: 60px;
    line-height: 60px;
    display: block;
    box-sizing: border-box;
    padding: 0 20px;
    font-family: 'Noto Sans TC';
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #666;
    -webkit-appearance: none; /*Chrome*/
    -moz-appearance: none; /*FF*/
    appearance: none;/*CSS3*/
    position: relative;
    transition: all .3s linear;
}
.contact-form-select-box{
    position: relative;
}
.contact-form-select-box:after{
    content: 'none';
    font-size: 0;
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 5px solid transparent;
    border-top: 8px solid #666;
    border-left: 5px solid transparent;
    display: block;
    position: absolute;
    right: 10px;
    top: calc(50% - 4px);
    pointer-events: none;
}
.contact-form-select-box + .contact-form-text{
    margin-top: 10px;
    display: none;
}
.contact-checkbox-lable input:checked + span:before{
    background-image: url(../img/front/original/checked.png);
    background-repeat: no-repeat;
    background-size: 81%;
}



button{
    font-family: "Noto Sans TC";
}
.button{
    margin: 0;
    padding: 0;
    outline: 0;
    background: transparent;
    font-weight: normal;
    background-color: transparent;
    width: 100%;
    display: block;
    margin-top: 40px;
}
.button button{
    width: 100%;
    display: block;
    text-align: center;
    background-color: #313131;
    color: #fff;
    line-height: 60px;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    letter-spacing: 0.1em;
    font-family: "Noto Sans TC";
    cursor: pointer;
    transition: all .3s linear;
}

.reservation-map-box{
    width: 100%;
    display: block;
    height: calc((600 / 1920) * 100vw);
}

/*表單送出*/
.contact-thanks-box{
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    display: none;
}
.contact-thanks-box.active{
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: flex;
}
.contact-thanks{
    max-width: 500px;
    min-width: 200px;
    width: 400px;
    padding: 40px 30px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.contact-thanks-p{
    font-size: 16px;
    color: #555;
    transform: scaleY(1.05);
    letter-spacing:  1px;
    line-height: 2;   
}
.contact-out{
    width: 21px;
    height: 21px;
    max-width: 100%;
    display: block;
    position: absolute;
    border-radius: 50%;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
.contact-out span{
    width: 15px;
    height: 1px;
    background-color: #888;
    display: block;
    margin: 0 auto;
    position: relative;
}
.contact-out span:nth-child(1){
    top: 10px;
    left: 0px;
    transform: rotate(45deg);
}
.contact-out span:nth-child(2){
    top: 9px;
    left: 0px;
    transform: rotate(-45deg);
}
@media only screen and (max-width: 1300px){
    .reservation-all-box{
        width: 1200px;
    }
}
@media only screen and (max-width: 1200px){
    .reservation-all-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    .reservation-box{
        padding-top: 60px;
    }
    .reservation-all-box{
        width: 750px;
        padding: 60px 0;
    }
    .contact-info-form{
        width: 100%;
    }
}
@media only screen and (max-width: 768px){
    .reservation-all-box{
        width: 550px;
        padding: 40px 0;
    }
}
@media only screen and (max-width: 550px){
    .reservation-box{
        padding-top: 50px;
    }
    .reservation-all-box{
        width: 95vw;
        padding: 20px 0;
    }
    .contact-form-list{
        margin-top: 10px;
    }
    .contact-form-list-title{
        font-size: 16px;
        line-height: 30px;
    }
    .contact-remind-box{
        font-size: 12px;
        line-height: 30px;
    }
    .contact-form-text{
        height: 40px;
        line-height: 40px;
        padding: 0 10px;
    }
    .contact-form-select{
        height: 40px;
        line-height: 40px;
        padding: 0 10px;
    }
    .contact-checkbox-lable{
        margin-right: 10px;
    }
    .contact-checkbox-lable span{
        line-height: 30px;
        padding-left: 17px;
    }
    .contact-checkbox-lable span:before{
        top: 9px;
    }
    .contact-form-list-textarea{
        height: 140px;
        padding: 10px;
        line-height: 16px;
    }
    .button{
        margin-top: 20px;
    }
    .button button{
        line-height: 40px;
        font-size: 16px;
    }
}

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

    .contact-thanks, .alert-info{
        width: 95%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    .contact-thanks-p{
        font-size: 20px;
    }
}



/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    /* .contact-form-list,
    .button{
        opacity: 0;
    }
	.contact-form-list.anima{
        animation: fadeInDown 1s ease 0s 1 both ;
    }
    .button.anima{
        animation: fade 1s ease 0s 1 both ;
    } */
    .contact-form-text:hover,
    .contact-form-select:hover,
    .contact-form-list-textarea:hover{
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }
    .contact-form-text:focus,
    .contact-form-select:focus,
    .contact-form-list-textarea:focus{
        background-color: #e1e1e1;
    }
    .button button:hover{
        background-color: #ab88c1;
    }
}