﻿.index-reservation-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    z-index: 4;
}
.index-reservation-ov-box{
    width: 100%;
    overflow: hidden;
    position: relative;
    top: 95px;
    padding-top: 35px;
}
.index-reservation-all-box{
    width: 1600px;
    max-width: 100%;
    margin-left: auto;
    font-size: 0;
    position: relative;
    background-color: #f5f5f5;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: row;
    left: 50px;
}
.index-reservation-img-box{
    width: 700px;
    height: 700px;
}
.index-reservation-info-box{
    width: calc(100% - 700px);
    box-sizing: border-box;
    padding: 0 7.5%
}
.index-reservation-info-title h2{
    font-size: 32px;
    font-family: 'Noto Serif TC';
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 60px;
    color: #000;
}
.index-reservation-info-title h3{
    font-size: 40px;
    font-family: 'Lato';
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.06em;
    line-height: 60px;
    color: #c2c2c2;
}
.index-reservation-text-box{
    font-size: 16px;
    color: #555;
    letter-spacing: 0.06em;
    line-height: 36px;
    margin-top: 30px;
}
.index-reservation-btn{
    width: 250px;
    margin-top: 40px;
    background-color: #00a0ea;
    border: 1px solid #d1d1d1;
    box-sizing: border-box;
    display: block;
    margin-left: auto;
    text-align: center;
    transition: all .3s linear;
}
.index-reservation-btn p{
    font-size: 24px;
    font-family: 'Noto Serif TC';
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 80px;
    color: #fff;
}
.index-reservation-btn p>span{
    display: inline-block;
    vertical-align: middle;
    line-height: initial;
    margin-bottom: 17px;
    margin-right: 15px;
}
.index-reservation-line-box{
    position: absolute;
    top: -35px;
    left: -35px;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.index-reservation-line-box span{
    position: absolute;
    top: 0;
    left: 0;
}
.index-reservation-line-box span::before{
    content: '';
    width: 200px;
    height: 1px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e95412;
}
.index-reservation-line-box span::after{
    content: '';
    width: 1px;
    height: 200px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e95412;
}
.index-reservation-line-box::before{
    content: '';
    width: 31.25vw;
    height: 1px;
    display: block;
    position: absolute;
    top: 0;
    left: calc(200px + 7%);
    background-color: #8fc320;
}
.index-reservation-line-box::after{
    content: '';
    width: 26.042vw;
    height: 1px;
    display: block;
    position: absolute;
    top: 0;
    right: -35px;
    background-color: #00a0ea;
}


@media only screen and (max-width: 1600px){
    .index-reservation-all-box{
        width: 1400px;
        left: 35px;
    }
}
@media only screen and (max-width: 1400px){
    .index-reservation-all-box{
        width: 1200px;
    }
    .index-reservation-img-box{
        width: 500px;
        height: 500px;
    }
    .index-reservation-info-box {
        width: calc(100% - 500px);
    }
}
@media only screen and (max-width: 1200px){
    .index-reservation-all-box{
        width: 1000px;
    }
    .index-reservation-img-box{
        width: 400px;
        height: 400px;
    }
    .index-reservation-info-box {
        width: calc(100% - 400px);
        padding: 0 7%;
    }
    .index-reservation-text-box{
        margin-top: 20px;
        line-height: 28px;
    }
    .index-reservation-btn{
        margin-top: 20px;
    }
    .index-reservation-btn p{
        line-height: 60px;
    }
}
@media only screen and (max-width: 1000px){
    .index-reservation-ov-box{
        top: 0;
        padding: 40px 0 ;
        box-sizing: border-box;
    }
    .index-reservation-all-box{
        width: 750px;
        display: block;
        margin: 0 auto;
        background-color: #fff;
        left: 0;
        text-align: center;
    }
    .index-reservation-img-box{
        width: 400px;
        height: 400px;
        display: inline-block;
    }
    .index-reservation-info-box {
        width: 100%;
        display: block;
        padding: 0;
        margin-top: 40px;
    }
    .index-reservation-btn{
        margin: 0 auto;
        margin-top: 20px;
    }
    .index-reservation-line-box{
        display: none;
    }
}
@media only screen and (max-width: 768px){
    .index-reservation-all-box{
        width: 550px;
    }
    .index-reservation-info-title h2{
        font-size: 24px;
        line-height: 40px;
    }
    .index-reservation-info-title h3{
        font-size: 30px;
        line-height: 40px;
    }
}
@media only screen and (max-width: 550px){
    .index-reservation-ov-box{
        padding: 20px 0;
    }
    .index-reservation-all-box{
        width: 95%;
    }
    .index-reservation-img-box{
        width: 95vw;
        height: 95vw;
        display: inline-block;
    }
    .index-reservation-info-box{
        margin-top: 20px;
    }
    .index-reservation-info-title h2{
        font-size: 18px;
        line-height: 30px;
    }
    .index-reservation-info-title h3{
        font-size: 22px;
        line-height: 30px;
    }
    .index-reservation-text-box{
        margin-top: 10px;
        font-size: 14px;
        line-height: 24px;
    }
    .index-reservation-btn{
        margin-top: 10px;
        width: 150px;
        margin-top: 10px;
    }
    .index-reservation-btn p{
        font-size: 18px;
        line-height: 40px;
    }
    .index-reservation-btn p>span{
        width: 35px;
        margin-bottom: 10px;
        margin-right: 5px;
    }
}




/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .index-reservation-all-box,
    .index-reservation-info-box,
    .index-reservation-line-box span::before,
    .index-reservation-line-box span::after,
    .index-reservation-line-box::before,
    .index-reservation-line-box::after{
        opacity: 0;
    }
	.index-reservation-ov-box.anima .index-reservation-all-box{
        animation: fadeInRight 1s ease 0s 1 both;
    }
	.index-reservation-ov-box.anima .index-reservation-info-box{
        animation: fadeInRight 1s ease .3s 1 both;
    }
	.index-reservation-ov-box.anima .index-reservation-line-box span::before{
        animation: line 1s ease .6s 1 both;
        opacity: 1;
        transform-origin: left;
    }
	.index-reservation-ov-box.anima .index-reservation-line-box span::after{
        animation: line2 1s ease .6s 1 both;
        opacity: 1;
        transform-origin: top;
    }
	.index-reservation-ov-box.anima .index-reservation-line-box::before{
        animation: line 1s ease .4s 1 both;
        opacity: 1;
    }
	.index-reservation-ov-box.anima .index-reservation-line-box::after{
        animation: line 1s ease .2s 1 both;
        opacity: 1;
        transform-origin: right;
    }
    .index-reservation-btn:hover{
        background-color: #015e8a;
    }
}

