@charset "utf-8";

/*space*/

.js-spaceShow {
    opacity: 0;
    -webkit-transform: translate3d(0, 5%, 0);
    transform: translate3d(0, 5%, 0);
}

.js-spaceShow.show {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    transition: .8s ease .6s;
}

.topMenuFrame {
    background-color: #fff;
    opacity: 0;
    transform: translate3d(0, -5%, 0);
    -webkit-transform: translate3d(0, -5%, 0);
    position: relative;
}

.topMenuFrame.show {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    transition: .8s ease .6s;
}

footer {
    margin-top: -80px;
}

.spaceTitle {
    visibility: hidden;
}

.spaceFrame {
    width: 85%;
    margin: auto;
    position: relative;
    padding-bottom: 305px;
}

.bgL,
.bgR {
    width: 50%;
    height: 0;
    display: inline-block;
    position: absolute;
    z-index: -1;
}

.bgR {
    background: #def9f4;
    right: 0;
    transform: translatey(-80px);
}

.bgR.show {
    height: 100%;
    transition: 1.5s ease;
}

.spaceTitle {
    display: flex;
    justify-content: space-between;
    width: 85%;
    margin: auto;
    padding: 224px 6% 60px;
    align-items: flex-end;
}

.titleL {
    width: 25%;
}

.titleL p {
    color: #0ba3c9;
    font-size: 2.75rem;
    line-height: 3.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.titleL span {
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.titleL hr {
    width: 94px;
    height: 1px;
    background-color: #85d1e4;
    margin: 28px 0;
}

.titleL article {
    font-family: 'MyriadPro-Regular', '微軟正黑體';
    color: #737373;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1.5rem;
}

.titleR p {
    font-family: 'MyriadPro-Regular';
    font-size: 0.875rem;
    color: #4b5553;
    letter-spacing: .5px;
    display: inline-block;
    line-height: 35px;
    margin-right: 13px;
}

.spaceList {
    width: 85%;
    margin: auto;
    overflow: hidden;
}

.spacePublic,
.spaceRoom {
    display: flex;
    height: 59vh;
}

.spacePublic {
    margin-bottom: 50px;
}

.spaceText {
    width: 32.5%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.spaceText>div {
    padding: 0 19%;
}

.spaceText p {
    font-size: 2rem;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.spaceText span {
    font-size: 1.25rem;
    letter-spacing: 3px;
    display: block;
}

.spaceText hr {
    width: 45px;
    height: 2px;
    opacity: .5;
    background-color: #fff;
    margin: 30px auto;
}

.spaceText article {
    font-size: 0.875rem;
    line-height: 1.2rem;
    letter-spacing: 1.5px;
}

.spacePublic .spaceText {
    background-color: #eccc6c;
    margin-right: 3px;
}

.spaceRoom .spaceText {
    background-color: #87ca70;
    margin-left: 3px;
}

.btn {
    text-transform: uppercase;
    width: 158px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    letter-spacing: 1px;
    cursor: pointer;
    background: #0ba3ca;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
    display: block;
    margin: 30px auto 0;
    transition: .8s ease;
}

.spaceImg {
    width: 67.5%;
    position: relative;
}

.frame {
    width: 100%;
    height: 100%;
}

.clip {
    /*clip: rect(0px 0px 325px 0px);*/
    width: 0;
    height: 100%;
    position: absolute;
    transition: .5s ease;
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    -o-transition: .5s ease;
}

.spacePublic .clip {
    background-color: #eccc6c;
}

.spaceRoom .clip {
    background-color: #87ca70;
}

.img {
    width: 0;
    height: 100%;
    /*clip: rect(0px 0px 325px 0px);*/
    position: relative;
    transition: .5s ease .5s;
    -webkit-transition: .5s ease .5s;
    -moz-transition: .5s ease .5s;
    -ms-transition: .5s ease .5s;
    -o-transition: .5s ease .5s;
}

.img img {
    opacity: 0;
}

.spaceImg.show .clip {
    /*clip: rect(0px 451px 325px 0px);*/
    transition: .5s ease;
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    -o-transition: .5s ease;
    width: 100%;
}

.spaceImg.show .img {
    /*clip: rect(0px 451px 325px 0px);*/
    transition: .5s ease .2s;
    -webkit-transition: .5s ease .2s;
    -moz-transition: .5s ease .4s;
    -ms-transition: .5s ease .4s;
    -o-transition: .5s ease .4s;
    width: 100%;
}

@media screen and (max-width:1680px) {
    .spaceFrame,
    .spaceList,
    .spaceTitle {
        width: 90%;
    }
}

@media screen and (max-width:1520px) {
    .spaceFrame,
    .spaceList,
    .spaceTitle {
        width: 95%;
    }
}

@media screen and (max-width:1420px) {
    .spaceFrame,
    .spaceTitle {
        width: 100%;
    }
    .spaceList {
        width: 95%;
    }
}

@media screen and (max-width:1024px) {
    .spaceList {
        width: 100%;
    }
    .spaceText>div {
        padding: 0 12%;
    }
}

@media screen and (max-width:800px) {
    .spaceList,
    .spaceTitle {
        width: 90%;
    }
    .spacePublic {
        flex-wrap: wrap-reverse;
    }
    .spaceRoom {
        flex-wrap: wrap;
    }
    .spacePublic,
    .spaceRoom {
        height: 65vh;
        margin-bottom: 30px;
    }
    .spaceText,
    .spaceImg {
        width: 100%;
    }
    .spacePublic .spaceText {
        margin-right: 0px;
    }
    .spaceRoom .spaceText {
        margin-left: 0px;
    }
    .titleL {
        width: 40%;
    }
    .spaceFrame {
        padding-bottom: 190px;
    }
    .spaceTitle {
        padding: 200px 60px 60px 96px;
    }
    .spaceText hr,
    .spaceText article {
        display: none;
    }
    .spaceImg {
        height: 65%;
    }
    .spaceText {
        height: 35%;
    }
}

@media screen and (max-width:768px) {
    .spacePublic,
    .spaceRoom {
        height: 60vh;
    }
    .spaceTitle {
        padding: 170px 60px 60px 96px;
    }
    .spaceFrame {
        padding-bottom: 170px;
    }
}

@media screen and (max-width:660px) {
    .titleL {
        width: 50%;
    }
    .spaceTitle {
        padding: 170px 50px 60px 50px;
    }
    .spaceFrame {
        padding-bottom: 110px;
    }
}

@media screen and (max-width:550px) {
    .spaceList,
    .spaceTitle {
        width: 100%;
    }
    .spacePublic,
    .spaceRoom {
        height: 50vh;
    }
}

@media screen and (max-width:510px) {
    .spaceText p {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }
    .btn {
        margin: 20px auto 0;
    }
}

@media screen and (max-width:500px) {
    .spaceTitle {
        padding: 140px 30px 60px 30px;
    }
    .spaceFrame {
        padding-bottom: 130px;
    }
    .spacePublic,
    .spaceRoom {
        height: 55vh;
    }
    .titleL p {
        font-size: 2.5rem;
        margin-bottom: 17px;
    }
    .titleL span {
        font-size: 1.25rem;
        letter-spacing: 3px;
    }
    .titleL hr {
        margin: 25px 0;
    }
    .titleL article {
        font-size: 0.875rem;
        line-height: 1.2rem;
    }
}

@media screen and (max-width:420px) {
    .spacePublic,
    .spaceRoom {
        height: 60vh;
    }
    .spaceTitle {
        display: block;
        position: relative;
    }
    .titleL {
        width: 77%;
        margin: 0 auto;
    }
    .titleR {
        display: none;
    }
    .spaceText p {
        font-size: 1.57rem;
    }
    .spaceText span {
        font-size: 1.08rem;
        letter-spacing: 1.5px;
    }
    .spaceFrame {
        padding-bottom: 115px;
    }
    .spaceImg {
        height: 62%;
    }
    .spaceText {
        height: 38%;
    }
    .btn {
        margin: 15px auto 0;
        font-size: .9rem;
    }
}

@media screen and (max-height:420px) and (max-width: 736px) {
    .spacePublic,
    .spaceRoom {
        height: 100vh;
    }
    .spaceText span {
        display: block;
    }
    .btn {
        margin: 15px auto 0;
    }
}

@media screen and (max-height:360px) and (max-width: 640px) {
    .spacePublic,
    .spaceRoom {
        height: 130vh;
    }
}

@media screen and (max-height:320px) and (max-width: 568px) {
    .spacePublic,
    .spaceRoom {
        height: 130vh;
    }
}

@media screen and (max-width: 320px) {
    .spacePublic,
    .spaceRoom {
        height: 100vh;
    }
}