﻿.index-room-box{
    width: 100%;
    display: block;
    position: relative;
}
.index-room-all-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin: 100px auto;
    margin-bottom: 90px;
    position: relative;
    font-size: 0;
    box-sizing: border-box;
}
.index-room-img-box{
    width: 920px;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    padding-top: 40px;
}
.index-room-img{
    width: 100%;
    height: 500px;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-room-text-box{
    width: calc(100% - 920px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 25px;
    padding-top: 40px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}
.index-room-text-title{
    font-size: 22px;
    font-weight: bold;
    color: #000;
    letter-spacing: 2px;
    line-height: 20px;
    position: relative;
    z-index: 2;
}
.index-room-text-block{
    font-size: 16px;
    color: #888;
    letter-spacing: 2px;
}
.index-room-text{
    margin: 30px 0;
}
.index-room-text p{
    display: block;
    line-height: 2;
    position: relative;
    margin-left: 12px;
}
.index-room-text p:before{
    content: '';
    width: 5px;
    height: 5px;
    background-color: #ddd;
    display: block;
    position: absolute;
    left: -10px;
    top: calc(50% - 2.5px);
}
.index-room-text-characteristic{
    font-size: 24px;
    color: #905e27;
    letter-spacing: 2px;
    transform: skewX(-10deg);
    font-weight: bold;
}
.index-room-text-bc{
    width: 1000px;
    height: 100%;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #f5f5f5;
    z-index: 0;
}
.index-room-text-more{
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #313131;
    color: #fff;
    font-size: 18px;
    font-family: "Noto Sans TC";
    font-weight: 700;
    box-sizing: border-box;
    padding: 23px 0;
    padding-left: 28px;
    padding-right: 18px;
    letter-spacing: 8px;
    cursor: pointer;
    transition: all .3s linear;
}


/*---------------------hover-----------------------*/
.index-room-text-more:hover{
    background-color: #905e27;
}



@media only screen and (max-width: 1300px){
    .index-room-all-box{
        width: 1200px;
    }
    .index-room-img-box{
        width: 870px;
    }
    .index-room-img{
        height: 473px;
    }
    .index-room-text-box{
        width: calc(100% - 870px);
    }
}
@media only screen and (max-width: 1200px){
    .index-room-all-box{
        width: 1000px;
    }
    .index-room-img-box{
        width: 770px;
    }
    .index-room-img{
        height: 418px;
    }
    .index-room-text-box{
        width: calc(100% - 770px);
    }
    .index-room-text-more{
        width: 80px;
        height: 80px;
        padding: 12px 0;
        padding-left: 19px;
        padding-right: 9px;
    }
    .index-room-text-box{
        padding-left: 15px;
    }
    .index-room-text{
        margin-top: 15px;
        margin-bottom: 10px;
    }
    .index-room-text-bc{
        width: 800px;
    }
}
@media only screen and (max-width: 1000px){
    .index-room-all-box{
        width: 750px;
        margin: 0 auto;
        padding: 80px 0;
    }
    .index-room-img-box{
        width: 100%;
        display: block;
        padding-top: 0;
    }
    .index-room-img{
        height: 408px;
    }
    .index-room-text-box{
        padding: 10px;
        width: 100%;
    }
    .index-room-text-bc{
        width: 100%;
    }
    .index-room-text-more{
        width: initial;
        height: initial;
        padding: 0;
        padding-left: 8px;
        padding-right: 5px;
        line-height: 40px;
        letter-spacing: 3px;
    }
}
@media only screen and (max-width: 750px){
    .index-room-all-box{
        width: 550px;
        padding: 60px 0;
    }
    .index-room-img{
        height: 300px;
    }
    .index-room-text-characteristic{
        font-size: 22px;
    }
    .index-room-text-title{
        font-size: 18px;
    }
    .index-room-text-more{
        font-size: 16px;
    }
    .index-room-text{
        font-size: 14px;
    }
}
@media only screen and (max-width: 550px){
    .index-room-all-box{
        width: 400px;
        padding: 40px 0;
    }
    .index-room-text-characteristic{
        font-size: 20px;
    }
    .index-room-text-title{
        font-size: 16px;
    }
    .index-room-text-more{
        font-size: 14px;
    }
    .index-room-text{
        font-size: 12px;
    }
}
@media only screen and (max-width: 400px){
    .index-room-all-box{
        width: 300px;
        padding: 20px 0; 
    }
    .index-room-text-characteristic{
        font-size: 18px;
    }
    .index-room-text-title{
        font-size: 14px;
    }
    .index-room-text-more{
        font-size: 12px;
        line-height: 30px;
    }
}




@media only screen and (min-width: 1001px){
    .index-room-img,
    .index-room-text-box,
    .index-room-text-more{
        opacity: 0;
    }
    .index-room-img.anima{
        animation: fadeInDown 1s ease 0s both;
    }
    .index-room-text-box.anima{
        animation: fadeInLeft 1s ease 0s both;
    }
    .index-room-text-box.anima .index-room-text-more{
        animation: fade 1s ease 0.6s both;
    }
}
