@charset "utf-8";

/*animation*/

.spaceR,
.spaceLText {
    opacity: 0;
}

.spaceR.show,
.spaceLText.show {
    opacity: 1;
    transition: 1s ease .8s;
}

.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: 1.2s ease .6s;
}


/*menu*/

.menuR {
    margin: 28px 0;
}

.position {
    margin-right: -20px;
}

.position p {
    font-size: 0.75rem;
    color: #484848;
    margin-right: 10px;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 1px;
}

.position span {
    width: 1px;
    height: 10px;
    background-color: #ccc;
    display: inline-block;
}


/*public frame*/

.spaceWrapper {
    width: 85%;
    margin: auto;
}

.spaceWrapper>div {
    display: flex;
    position: relative;
}

.btnFrame {
    margin: auto;
}

.btnFrame .circleBtn {
    position: absolute;
    left: 50%;
    top: 34.5%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 3;
}

.spaceL,
.spaceR {
    width: 50%;
    height: 120vh;
    /*visibility: hidden;*/
    overflow: hidden;
}

.spaceR {
    overflow-y: scroll;
}

.spaceR::-webkit-scrollbar {
    display: none;
}

.spaceLTextFrame {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45%;
    width: 0;
}

.spaceLText {
    padding: 15% 14% 0;
}

.spaceLBg {
    height: 55%;
    width: 0;
}

.spaceLBg.show,
.spaceLTextFrame.show {
    width: 100%;
    transition: .8s ease;
}

.spaceLBg img {
    opacity: 0;
    visibility: hidden;
}

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

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

.spaceLText hr {
    width: 91px;
    height: 1px;
    background-color: #83cfe2;
    margin: 26px 0 30px;
}

.spaceLText article {
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 1px;
}

.publicMenu {
    margin-top: 80px;
    padding-bottom: 30px;
}

.publicMenu li {
    display: inline-block;
    color: #9b9b9b;
    font-size: 0.875rem;
    position: relative;
    letter-spacing: 1px;
    margin-bottom: 15px;
    cursor: pointer;
}

.publicMenu li:not(:last-child) {
    margin-right: 30px;
}

.publicMenu li::after {
    content: '';
    width: 1px;
    height: 14px;
    background-color: #e2e2e2;
    position: absolute;
    margin-left: 15px;
}

.publicMenu li .hvr-underline-from-center.active,
.publicMenu li .hvr-underline-from-center:hover {
    color: #000;
    transition: .5s ease;
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    -o-transition: .5s ease;
}

.spaceR img {
    vertical-align: top;
    width: 100%;
    height: 100%;
}

.spaceBlock {
    position: relative;
    display: block;
}

.spaceBtn {
    width: 50%;
    height: 60px;
    position: absolute;
    right: 0;
    color: #fff;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spaceBtn.down {
    bottom: 0;
}

.spaceBtn.up {
    top: 0;
}

.spaceBtn p {
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-right: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: text-bottom;
}

.spaceBtn span {
    font-size: 1rem;
    letter-spacing: 1px;
}

.spaceBtn.yellow {
    background-color: #ddbc58;
}

.spaceBtn.orange {
    background-color: #d19c70;
}

.spaceBtn.brown {
    background-color: #4b301a;
}

.spaceBtn.gray {
    background-color: #acacac;
}

.spaceBtn.rosewood {
    background-color: #62554d;
}

.spaceBtn.peach {
    background-color: #eb8e58;
}

.spaceBtn.camel {
    background-color: #b48761;
}

.spaceBtn.beige {
    background-color: #dfae88;
}

.spaceBtn.cerise {
    background-color: #875c53;
}

.spaceBtn.crimson {
    background-color: #493a3a;
}

.spaceCross {
    width: 20px;
    height: 20px;
    opacity: .8;
    position: relative;
}

.spaceCross span:first-of-type {
    width: 1px;
    height: 20px;
    background-color: #fff;
    display: block;
    position: absolute;
    left: 10px;
}

.spaceCross span:last-of-type {
    width: 20px;
    height: 1px;
    background-color: #fff;
    display: block;
    position: absolute;
    top: 10px;
}

.spaceBlock:hover .spaceCross {
    transform: rotate(135deg);
    transition: .3s ease;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
}

.spaceBlock:hover .spaceCross span:first-of-type {
    height: 15px;
    left: 0px;
    transition: .3s ease .3s;
    -webkit-transition: .3s ease .3s;
    -moz-transition: .3s ease .3s;
    -ms-transition: .3s ease .3s;
    -o-transition: .3s ease .3s;
}

.spaceBlock:hover .spaceCross span:last-of-type {
    width: 15px;
    top: 0px;
    transition: .3s ease .3s;
    -webkit-transition: .3s ease .3s;
    -moz-transition: .3s ease .3s;
    -ms-transition: .3s ease .3s;
    -o-transition: .3s ease .3s;
}


/* 是否顯示圖片加上class做判斷 */


/* close */

.spaceWrapper .spaceL.noimg .spaceLTextFrame {
    height: 100%;
}

.spaceWrapper .spaceL.noimg .spaceLText.show {
    align-items: self-start;
}

.spaceWrapper .spaceL.noimg .spaceLBg.show {
    display: none;
}


/* open */

.spaceWrapper .spaceL.openimg .spaceLTextFrame {
    height: auto;
}

.spaceWrapper .spaceL.openimg .spaceLText.show {
    padding: 15%;
}

.spaceWrapper .spaceL.openimg .spaceLBg.show {
    display: block;
}

@media screen and (max-width:1680px) {
    .spaceWrapper {
        width: 90%;
    }
    .spaceL,
    .spaceR {
        height: 121vh;
    }
    .btnFrame .circleBtn {
        top: 37.5%;
    }
}

@media screen and (max-width:1520px) {
    .spaceWrapper {
        width: 95%;
    }
    .spaceL,
    .spaceR {
        height: 116vh;
    }
}

@media screen and (max-width:1420px) {
    .spaceWrapper {
        width: 100%;
    }
}

@media screen and (max-width:1350px) {
    .spaceBtn p {
        font-size: 1.25rem;
        margin-right: 8px;
    }
}

@media screen and (max-width:1366px) and (max-height:1024px) {
    .spaceL,
    .spaceR {
        height: 101vh;
    }
}

@media screen and (max-width:1366px) and (max-height:768px) {
    .spaceL,
    .spaceR {
        height: 152vh;
    }
}

@media screen and (max-width:1350px) and (max-height:651px) {
    .spaceL,
    .spaceR {
        height: 152vh;
    }
}

@media screen and (max-width:1280px) {
    .spaceL,
    .spaceR {
        height: 104.5vh;
    }
}

@media screen and (max-width:1280px) and (max-height:800px) {
    .spaceLText p {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    .spaceLText span {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }
    .publicMenu {
        margin-top: 60px;
    }
    .spaceL,
    .spaceR {
        height: 138.5vh;
    }
}

@media screen and (max-width:1200px) {
    .spaceBtn {
        padding: 0 20px;
    }
    .spaceLText {
        padding: 0 10%;
    }
}

@media screen and (max-width:1130px) {
    .spaceBtn p {
        font-size: 1rem;
        letter-spacing: .5px;
    }
    .btnFrame .circleBtn {
        top: 24.5%;
    }
}

@media screen and (max-width: 1024px) {
    .spaceL,
    .spaceR {
        height: 99.5vh;
    }
    .spaceLText {
        padding: 17% 10% 0;
    }
    .spaceLBg.show,
    .spaceLTextFrame.show {
        height: auto;
    }
}

@media screen and (max-width:1024px) and (max-height:1366px) {
    .spaceL,
    .spaceR {
        height: 85vh;
    }
    .spaceLText {
        padding: 30% 10% 0;
    }
}

@media screen and (max-width:1024px) and (max-height:768px) {
    .spaceL,
    .spaceR {
        height: 101vh;
    }
}

@media screen and (max-width: 1020px) {
    .spaceBtn {
        width: 60%;
    }
}

@media screen and (max-width:950px) {
    .spaceL,
    .spaceR {
        height: 92.5vh;
    }
}

@media screen and (max-width:900px) {
    .spaceL,
    .spaceR {
        height: 103.5vh;
    }
    .btnFrame .circleBtn {
        top: 21.5%;
    }
}

@media screen and (max-width:885px) {
    .spaceL,
    .spaceR {
        height: 90vh;
    }
}

@media screen and (max-width:870px) {
    .spaceBtn {
        width: 65%;
    }
    .btnFrame .circleBtn {
        top: 31.5%;
    }
}

@media screen and (max-width:800px) {
    .spaceBtn {
        width: 70%;
    }
}

@media screen and (max-width:830px) {
    .spaceL,
    .spaceR {
        height: 85vh;
    }
}

@media screen and (max-width:768px) {
    .btnFrame .circleBtn {
        display: none;
    }
    .spaceWrapper>div {
        display: block;
    }
    .spaceL {
        width: 100%;
        height: 93vh;
    }
    .spaceR {
        width: 100%;
        height: 100%;
    }
    .spaceBtn {
        width: 50%;
        padding: 0 30px;
    }
    .spaceBtn p {
        font-size: 1.5rem;
        letter-spacing: 0px;
    }
    .publicMenu {
        display: none;
    }
    .spaceLText {
        padding: 15% 0 0;
    }
    .spaceR {
        overflow-y: hidden;
    }
    .spaceBlock {
        margin-top: -1px;
    }
}

@media screen and (max-width:740px) {
    .spaceL {
        height: 103vh;
    }
}

@media screen and (max-width:736px) and (max-height:414px) {
    .spaceL {
        height: 190vh;
    }
}

@media screen and (max-width:670px) {
    .spaceBtn {
        width: 55%;
    }
    .spaceL {
        height: 97vh;
    }
}

@media screen and (max-width:640px) {
    .spaceL {
        height: 95vh;
    }
    .spaceBtn {
        padding: 0 20px;
    }
}

@media screen and (max-width:580px) {
    .spaceBtn {
        width: 60%;
    }
    .spaceL {
        height: 93vh;
    }
    .spaceLText p {
        font-size: 2.5rem;
    }
    .spaceLText span {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
}

@media screen and (max-width:530px) {
    .spaceL {
        height: 90vh;
    }
    .spaceBtn p {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
}

@media screen and (max-width:500px) {
    .spaceL {
        height: 86vh;
    }
}

@media screen and (max-width:480px) and (max-height:800px) {
    .spaceL {
        height: 105vh;
    }
    .spaceLText p {
        font-size: 2.25rem;
    }
}

@media screen and (max-width:480px) {
    .spaceL {
        height: 87vh;
    }
    .spaceBtn {
        width: 65%;
    }
}

@media screen and (max-width:440px) {
    .spaceL {
        height: 90vh;
    }
    .spaceLText p {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    .spaceLText span {
        font-size: 1.1rem;
        letter-spacing: 2.5px;
    }
    .spaceLText hr {
        margin: 23px 0 30px;
    }
    .spaceLText article {
        font-size: 0.95rem;
        line-height: 1.2rem;
    }
    .spaceBtn span {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
    .spaceLText {
        padding: 15% 0 0;
    }
    /* 新增 */
    .spaceWrapper .spaceL.noimg {
        height: auto;
    }
    .spaceWrapper .spaceL.noimg .spaceLTextFrame {
        height: auto;
    }
    .spaceWrapper .spaceL.noimg .spaceLText {
        padding: 20% 10%;
    }
    .spaceWrapper .spaceL.openimg .spaceLTextFrame {
        height: 30%;
    }
    .spaceWrapper .spaceL.openimg {
        height: auto;
    }
}

@media screen and (max-width:414px) and (max-height:736px) {
    .spaceL {
        height: 78vh;
    }
}

@media screen and (max-width:430px) {
    .spaceBtn {
        width: 70%;
    }
}

@media screen and (max-width:400px) {
    .spaceBtn {
        width: 75%;
    }
}

@media screen and (max-width:380px) {
    .spaceBtn {
        width: 80%;
    }
}

@media screen and (max-width:360px) {
    .spaceBtn {
        width: 100%;
    }
    .publicMenu li:not(:last-child) {
        margin-right: 20px;
    }
    .publicMenu li::after {
        margin-left: 10px;
    }
}

@media screen and (max-width:640px) and (max-height:360px) {
    .spaceLText p {
        font-size: 2rem;
    }
    .spaceLText article {
        font-size: 0.875rem;
        line-height: 1.2rem;
    }
    .spaceL {
        height: 192vh;
    }
}

@media screen and (max-width:568px) and (max-height:340px) {
    .spaceL {
        height: 197vh;
    }
    .spaceLText p {
        font-size: 2rem;
    }
    .spaceLText article {
        font-size: 0.875rem;
        line-height: 1.2rem;
    }
}

@media screen and (max-width:320px) and (max-height:568px) {
    .spaceLText p {
        font-size: 2rem;
    }
    .spaceLText article {
        font-size: 0.875rem;
        line-height: 1.2rem;
    }
    .spaceLText hr {
        margin: 22px 0;
    }
    .publicMenu {
        padding-bottom: 15px;
    }
}

@media screen and (max-width: 360px) {
    .spaceL {
        height: 102vh;
    }
}