.arch02-template-02 {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100vh;
    min-height: 800px;
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    overflow: hidden;
}

.arch02-template-02.show {}

.arch02-template-02::after {
    content: '';
    display: block;
    clear: both;
}


/* 202103 */

.arch02-template-02 .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: translateX(10%);
    /* opacity: 0; */
    /* transition: all 1.2s ease; */
}


/* 202103 */

.arch02-template-02 .bg.mobile {
    display: none;
}

.arch02-template-02.show {
    background: #073e3c;
}

.arch02-template-02.show .bg {
    transform: translateX(0%);
    opacity: 1;
    transition: all 1.8s ease 0.5s;
}

.arch02-template-02 .video-first {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.arch02-template-02 .video-first .shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.arch02-template-02 .video-first video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    z-index: -1;
}

.arch02-template-02 .text_box {
    position: absolute;
    color: white;
    top: 50%;
    left: 15%;
    width: 32%;
    transform: translateY(-38%);
    z-index: 5;
}


/* 202103 */

.arch02-template-02 .text_box .title {
    font-size: 70px;
    display: block;
    position: relative;
    margin-bottom: 15px;
    line-height: 75px;
    letter-spacing: 10px;
    opacity: 0;
    /* transform: translateY(20px)scale(1.05); */
    transform: translateY(20px);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.arch02-template-02.show .text_box .title {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease 0.5s;
}


/* 202103 */

.arch02-template-02 .text_box .text {
    font-size: 30px;
    color: #a5a4a4;
    margin-bottom: 45px;
    position: relative;
    line-height: 40px;
    opacity: 0;
    /* transform: translateY(20px)scale(1.05); */
    transform: translateY(20px);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.arch02-template-02.show .text_box .text {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease 0.8s;
}


/* 202103 */

.arch02-template-02 .text_box .memo {
    font-size: 48px;
    line-height: 52px;
    font-weight: bold;
    position: relative;
    display: block;
    letter-spacing: 3px;
    padding-left: 30px;
    opacity: 0;
    /* transform: translateY(20px)scale(1.05); */
    transform: translateY(20px);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.arch02-template-02.show .text_box .memo {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease 1.2s;
}

.arch02-template-02 .text_box .memo::before {
    content: '';
    background-color: white;
    width: 3px;
    height: calc(100% - 17px);
    position: absolute;
    top: 12px;
    left: 0;
}

.arch02-template-02 .playvideo {
    width: 70px;
    height: 70px;
    border: 1px solid #fff;
    position: relative;
    left: 0;
    margin-left: 0;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    /* transition: all .3s ease,opacity .6s ease 1s,
    transform .6s ease 1s; */
    margin-top: 60px;
    opacity: 0;
    /* transform: translateY(20px) scale(1.05); */
    transform: translateY(20px);
}

.arch02-template-02.show .playvideo {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease 1.5s;
}

.arch02-template-02 .playvideo::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent #fff;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -8px;
    margin-left: -2px;
    transition: all 0.3s ease;
}

.arch02-template-02__video-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 20;
    transition: opacity 0.5s;
    opacity: 0;
    pointer-events: none;
}

.arch02-template-02__video-popup.active {
    opacity: 1;
    z-index: 1020;
    pointer-events: initial;
}

.arch02-template-02__video-popup iframe {
    width: 86%;
    height: 85vh;
    max-width: 900px;
    max-height: 600px;
    position: relative;
}

.arch02-template-02__video-popup::before {
    content: 'X';
    position: absolute;
    color: white;
    right: 5%;
    top: 5%;
    font-size: 35px;
    cursor: pointer;
}

.arch02-template-02 .scroll {
    position: absolute;
    z-index: 10;
    color: white;
    height: 68px;
    cursor: pointer;
    font-weight: bold;
    left: 3%;
    bottom: 7vw;
    transform: translateY(50px);
    transition: all 1s ease 1.5s;
    opacity: 0;
}

.arch02-template-02 .scroll .scroll-img {}

.arch02-template-02.show .scroll {
    opacity: 1;
    transform: translateY(0);
}

.arch02-template-02 .scroll::after {
    content: '';
    display: block;
    margin: 0 auto 3px;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    width: 8px;
    height: 8px;
    position: relative;
    top: 0;
    left: 0px;
    transform: rotate(45deg);
    -webkit-animation: draw 2s linear infinite;
    animation: draw 2s linear infinite;
}

@-webkit-keyframes draw {
    0%,
    to {
        transform: rotate(45deg);
    }
    99.9% {
        transform: rotate(45deg);
    }
}

@keyframes draw {
    0%,
    to {
        top: -5px;
        opacity: 0;
    }
    50% {
        top: 0;
        opacity: 1;
    }
    99.9% {
        top: 10px;
        opacity: 0;
    }
}

.arch02-template-02 .scroll .scroll-text {
    font-size: 16px;
    color: #202020;
    position: relative;
    transform: rotate(-90deg);
}

@media (max-width: 1500px) {
    .arch02-template-02 .text_box {
        width: 40%;
    }
    .arch02-template-02 .text_box .title {
        font-size: 55px;
        line-height: 65px;
    }
    .arch02-template-02 .text_box .text {
        font-size: 26px;
    }
    .arch02-template-02 .text_box .memo {
        font-size: 40px;
        line-height: 48px;
    }
}

@media (min-width: 1199px) {
    .arch02-template-02 .playvideo:hover {
        background-color: #fff;
        border-color: #fff;
    }
    .arch02-template-02 .playvideo:hover:after {
        border-color: transparent transparent transparent #024544;
    }
}


/* 202103 */

@media (max-width: 1200px) {
    .arch02-template-02 .bg {
        display: none;
    }
    .arch02-template-02 .bg.mobile {
        display: block;
    }
}


/*pad*/

@media (max-width: 1200px) {
    .arch02-template-02 .text_box .title {
        font-size: 45px;
        line-height: 55px;
        letter-spacing: 5px;
    }
    .arch02-template-02 .text_box .text {
        font-size: 22px;
        line-height: 25px;
        margin-bottom: 25px;
    }
    .arch02-template-02 .text_box .memo {
        font-size: 24px;
        line-height: 30px;
    }
    .arch02-template-02 .scroll .scroll-img {
        opacity: 0;
    }
    .arch02-template-02 .scroll {
        left: 15%;
    }
    .arch02-template-02 {
        min-height: 500px;
    }
    .arch02-template-02 .text_box {
        width: 45%;
        left: 12%;
    }
    .arch02-template-02 .playvideo::after {
        transform: scale(0.8);
    }
}

@media (max-width: 600px) {
    .arch02-template-02 .scroll {
        left: 10%;
    }
    .arch02-template-02 .text_box .title {
        font-size: 30px;
        line-height: 40px;
        letter-spacing: 3px;
    }
    .arch02-template-02 .text_box .text {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 20px;
    }
    .arch02-template-02 .text_box {
        width: 50%;
        left: 10%;
    }
    .arch02-template-02 .text_box .memo {
        font-size: 20px;
        line-height: 26px;
        padding-left: 15px;
    }
    .arch02-template-02 .text_box .memo::before {
        height: calc(100% - 12px);
        top: 8px;
    }
    .arch02-template-02 .playvideo {
        width: 50px;
        height: 50px;
    }
    .arch02-template-02 {
        min-height: 400px;
    }
}

@media (max-width: 365px) {
    .arch02-template-02 .text_box .memo {
        font-size: 16px;
        line-height: 23px;
        padding-left: 15px;
    }
}


/* 額外影片 */

.arch02-template-02 .video-first {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: none;
}

.arch02-template-02 .video-first .shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.arch02-template-02 .video-first video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    z-index: -1;
}

.arch02-template-02_lightbox {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    transition: opacity 0.5s;
    opacity: 0;
    pointer-events: none;
    padding: 0 30px;
}

.arch02-template-02__video-popup-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    transition: all 0.35s ease;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
    opacity: 0.5;
}

@media (min-width: 1500px) {
    .arch02-template-02__video-popup-close {
        width: 72px;
        height: 72px;
    }
}

@media (min-width: 740px) {
    .arch02-template-02__video-popup-close {
        width: 60px;
        height: 60px;
        right: 5px;
        top: 5px;
    }
}

.arch02-template-02__video-popup-close:hover {
    transform: scale(1.125);
    opacity: 1;
}

.arch02-template-02__video-popup-close svg {
    display: block;
    width: 50%;
    height: auto;
}

@media (min-width: 980px) {
    .arch02-template-02__video-popup-close svg {
        width: 40%;
    }
}

.arch02-template-02_lightbox .video {
    position: relative;
    width: 100%;
    max-width: 1000px;
    z-index: 1;
}

.arch02-template-02_lightbox .video::before {
    content: '';
    display: block;
    padding-bottom: 56.25%;
    width: 100%;
}

.arch02-template-02_lightbox iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.arch02-template-02_lightbox.active {
    opacity: 1;
    pointer-events: initial;
    transition: 0.5s ease;
}

@media (max-width: 700px) {
    .arch02-template-02_lightbox video {
        width: 100%;
    }
    .arch02-template-02__video-popup-close {
        right: 20px;
    }
}

@media (max-width: 500px) {
    .arch02-template-02_lightbox .box {
        max-width: 400px;
        height: 300px;
    }
}

@media (max-width: 400px) {
    .arch02-template-02_lightbox .box {
        max-width: 350px;
        height: 250px;
    }
}


/* Derrick Edit Start 2022.09.06 */

body::before,
body::after {
    content: '';
    position: fixed;
    z-index: 999;
    top: 0px;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

body::before {
    left: 0%;
    width: 50%;
    background: #38b8a4;
    transition: all 1s ease;
}

body::after {
    right: 0px;
    width: 40%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 1s ease 0.3s;
}

.arch02-template-02 .crossover-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #38b8a4;
    z-index: 99;
    transition: all 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.arch02-template-02 .mask {
    opacity: 0;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.arch02-template-02 .mask::before,
.arch02-template-02 .mask::after {
    content: '';
    position: absolute;
    top: 0px;
    height: 100%;
}

.arch02-template-02 .mask::before {
    left: 0px;
    width: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.arch02-template-02 .mask::after {
    left: 0px;
    width: 50%;
    background: #38b8a4;
}

@media all and (max-width: 600px) {
    .arch02-template-02 .mask::before {
        width: 100%;
    }
    .arch02-template-02 .mask::after {
        width: 100%;
    }
}

body.an-entry::before,
body.an-entry::after {
    opacity: 1;
    width: 50%;
}

body.an-exit::before,
body.an-exit::after {
    width: 50%;
    opacity: 0;
}

.arch02-template-02.show .crossover-mask {
    height: 0px;
    pointer-events: none;
}

.arch02-template-02.show .mask {
    opacity: 1;
}

.arch02-template-02.show .mask::before {
    left: 100%;
    width: 0%;
    transition: all 1s ease 1s;
}

.arch02-template-02.show .mask::after {
    width: 0%;
    transition: all 1.3s ease 1.3s;
}


/* Derrick Edit End */

.circle {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 10001;
    overflow: hidden;
    animation: ons 2s 1.3s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

.circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0px;
    height: 0px;
    border-radius: 50% 50% 0 0;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 0px 100vw #ffffff;
    animation: on 2s 1.3s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

@media (min-width: 0) and (max-width: 739px) {
    .circle::after {
        box-shadow: 0px 0px 0px 150vw #ffffff;
        animation: on-740 2s 1.3s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
    }
}

@media (min-width: 740px) and (max-width: 1099px) {
    .circle::after {
        box-shadow: 0px 0px 0px 200vw #ffffff;
        animation: on-1100 2s 1.3s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
    }
}

@keyframes on-740 {
    0% {
        width: 0px;
        height: 0px;
    }
    100% {
        width: 450vw;
        height: 450vw;
    }
}

@keyframes on-1100 {
    0% {
        width: 0px;
        height: 0px;
    }
    100% {
        width: 300vw;
        height: 300vw;
    }
}

@keyframes on {
    0% {
        width: 0px;
        height: 0px;
    }
    100% {
        width: 200vw;
        height: 200vw;
    }
}

@keyframes ons {
    0% {
        z-index: 1001;
    }
    100% {
        z-index: -1;
    }
}