.build_banner {
    background-image: url(../img/building/banner.webp);
}

.logo_div{
    padding: 0 2vw;
    border-right: 1px solid #6c6c6c;
}

.s2-1{
    padding-top: 9vw;
    padding-bottom: 7vw;
}

.s2-1 .logo_div:last-child{
    border:none;
}

.logo_div img{
    width: auto;
    height: 2vw;
}

/* 右側圈圈開始 */

.slideDiv {
    position: relative;
    width: 30%;
    margin: auto;
}

.slideDiv svg .circle {
    opacity: 0.2;
    stroke: #3B4E4B;
    stroke-miterlimit: 10;
    stroke-width: .5px;
    transform-origin: center center;
    animation: aboutRotaCircle 6s infinite linear;
}

.slideDiv svg .circle:nth-last-of-type(odd) {
    animation: aboutRotaCircle 6s infinite linear reverse;
}

.circle,
.d {
    fill: none;
}

@keyframes aboutRotaCircle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.slideDiv .titleDiv {
    position: absolute;
    left: 10%;
    top: 50%;
    padding: 1vw;
    padding-right: 2vw;
    margin: 0px;
    background-color: #AEB8BD;
    transform: translateX(-50%) translateY(-50%);
}

.slideDiv h2,
.slideDiv .txtDiv p {
    color: #727171;
    font-family: 'Noto Serif TC', serif !important;
    display: inline-block;
    letter-spacing: 0px;
    font-size: 2vw;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.slideDiv .txtDiv p {
    writing-mode: vertical-lr;
    font-size: 1vw;
    letter-spacing: 0.2vw;
}

.slideDiv .dot {
    color: inherit;
    position: absolute;
    bottom: -0.8vw;
    left: 85%;
    font-size: 1.8vw;
}

.slideDiv .titleDiv.active h2,
.slideDiv .txtDiv.active p {
    color: #231815;
}

.slideDiv .titleDiv.hover h2,
.slideDiv .txtDiv.hover p {
    color: #585858;
}

.slideDiv .txtDiv {
    position: absolute;
    transform: translateX(-50%) translateY(-50%);
    cursor: pointer;
}

.quarterLine {
    fill: none;
    stroke: #3b4e4b;
    stroke-miterlimit: 10;
    stroke-width: .5px;
    transform-origin: bottom right;
}

@keyframes aboutQuarterLine {
    0% {
        stroke-dasharray: 220;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dasharray: 220;
        stroke-dashoffset: 220;
    }
    100% {
        stroke-dasharray: 0;
        stroke-dashoffset: 220;
    }
}

.crossLine {
    fill: none;
    stroke: #3b4e4b;
    stroke-miterlimit: 10;
    stroke-width: .5px;
}


/* 右側圈圈結束 */

.page-1 .s1 {
    background-size: cover;
    padding-top: 2%;
    padding-bottom: 2%;
}

.page1-imgDiv {
    width: 50%;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
}

.page1-imgDiv img {
    width: 45%;
}

.page1-imgDiv img:nth-of-type(1) {
    position: relative;
    top: 2vw;
}

.page1-imgDiv img:nth-last-of-type(1) {
    position: relative;
    top: -2vw;
}

.page1 .infoDiv {
    width: 50%;
    padding-top: 10%;
    padding-right: 0%;
    justify-content: center;
}

.page1 .infoType-1 .titleDiv {
    position: relative;
    margin-top: 0%;
    margin-top: -3vw;
}

.page1 .infoType-1 .titleDiv .title {
    position: relative;
}

.page1 .s2 .infoType-1 p {
    margin-right: 3vw;
}

.bigImg {
    width: 100%;
    height: 40vh;
    position: relative;
    overflow: hidden;
}

.bigImg .imgDiv {
    width: 100%;
    height: 40vh;
}

.bigImg .imgDiv .bgDiv {
    width: 100%;
    height: 100%;
    background-image: url("../img/building/building1-4BG.webp");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-animation: bgZommAll 15s alternate-reverse linear infinite;
    animation: bgZommAll 15s alternate-reverse linear infinite;
}

.page1 .s3 .info {
    width: 100%;
}

.page1 .s3 .deco {
    width: 50%;
}

.page1 .s3 .titleType-2 {
    margin-left: 30%;
}

.page1 .s3 .sectitleType-2-Div {
    margin: auto;
    align-items: center;
    position: relative;
    top: -5vh;
    padding-left: 5%;
}

.page1 .s3 .sectitleType-2-Div h3:nth-of-type(2) {
    position: relative;
    left: 5%;
}

.page2 {
    position: relative;
}

.page2 .s1 .bigImg {
    width: 100%;
    height: 50vh;
    background-image: url("../img/building/building2-s1BG.webp");
    /* background-size: cover; */
    background-attachment: fixed;
    background-position: center center;
}

.page2 .s1 .titleDiv {
    right: 15%;
    position: absolute;
    margin-top: -15%;
}

.page2 .s1 .infoType-1 {
    justify-content: center;
}

.page2 .s2 {
    padding-bottom: 7vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circleCard {
    width: 8vw;
    /* border: 1px solid #30403B; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 2vw;
}

.circleCard p {
    letter-spacing: 0.1em;
    color: #3E3A39;
    font-weight: normal;
    padding-top: 0.7em;
    padding-left: 0.06em;
    position: absolute;
}

.circleCard .number {
    color: #30403B;
    letter-spacing: 0.1em;
    font-size: 1.2vw;
    position: absolute;
    right: -4%;
    top: 4%;
    padding: 0.25em;
    font-family: 'Libre Baskerville', serif;
    background-color: #AFB7BC;
    border-radius: 50%;
}

.circleCard .circle {
    width: 100%;
    height: auto;
    fill: none;
    stroke: #30403b;
    stroke-miterlimit: 10;
    stroke-width: .5px;
    /* stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2s forwards linear 0.25s; */
}

.circleCard:nth-of-type(odd) .circle {
    /* animation: drawLine 1.75s forwards ease-in-out 0.5s; */
}

.circleCard {
    opacity: 0;
    animation: circleCardAni 0.75s forwards ease-in-out;
}

.circleCard:nth-of-type(even) {
    opacity: 0;
    animation: circleCardAni-2 0.75s forwards ease-in-out;
}

.circleCard:nth-of-type(2) {
    animation-delay: 0.2s;
}

.circleCard:nth-of-type(3) {
    animation-delay: 0.4s;
}

.circleCard:nth-of-type(4) {
    animation-delay: 0.6s;
}

.circleCard:nth-of-type(5) {
    animation-delay: 0.8s;
}

.circleCard:nth-of-type(6) {
    animation-delay: 1s;
}

@keyframes circleCardAni {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes circleCardAni-2 {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.article_div{
    position: relative;
    overflow: hidden;
}

.page2 .s3 .content {
    margin: auto;
    width: 60%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page2 .s3 .content .article {
   opacity: 0;
   visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
   transform: translateX(20px);
   transition: opacity 1.5s, transform 1.5s;
}

.page2 .s3 .content .article.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0px);
}

.page2 .s3 .content .article h3{margin-top: 3vw;}
.page2 .s3 .content .article h3:first-child{margin-top: 1vw;}

.page2 .s3 .bgc {
    background-color: #AFB7BC;
}

.page2 .s3 .bg {
    background-image: url("../img/building/building2-BG.webp");
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    mix-blend-mode: multiply;
    opacity: 0.5;
}

.methodMainNav {
    position: absolute;
    left: -15%;
    top: 0%;
}

.main-linkItem {
    background-color: #8A8F91;
    padding: 0;
    margin: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    position: relative;
}

.methodMainNav .main-linkItem a::before,
.methodMainNav .main-linkItem a::after {
    position: absolute;
    content: " ";
    top: 1em;
    height: 0.5px;
    left: 35%;
    right: 30%;
    background-color: #ffffff88;
}

.methodMainNav .main-linkItem a {
    display: flex;
    writing-mode: vertical-lr;
    color: #fff;
    position: relative;
    font-family: 'Noto Serif TC', serif;
    font-size: 1vw;
    font-weight: 400;
    letter-spacing: 0.2em;
    border: 1px solid #ffffff88;
    padding: 2em 0.75em;
    margin: 0.2em;
    transition: 0.3s;
}

.methodMainNav .main-linkItem a::after {
    top: auto;
    bottom: 1em;
}


/* .main-linkItem:hover,
.main-linkItem:hover a {
    background-color: #3B4E4B;
} */

.main-linkItem::before {
    content: " ";
    background-color: #3B4E4B;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-linkItem::before {
    content: " ";
    background-color: #3B4E4B;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transition: transform 0.5s;
    transform-origin: 0 100%;
}

.main-linkItem:hover::before,
.main-linkItem.active::before {
    transform: scaleY(1);
}


.methodSubNav {
    width: 100%;
    border-bottom: 1px solid #59575722;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-bottom: 0px;
}

.sub-linkItem a {
    display: flex;
    color: #3E3A39;
    position: relative;
    font-size: 1vw;
    font-weight: 600;
    letter-spacing: 0.2em;
    padding: 1.5rem;
    padding-right: 0em;
    transition: 0.3s;
    transition: 0.3s;
}

.sub-linkItem a:hover {
    color: #30403B;
}

.article p {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.page2 .section.s3 {
    padding-bottom: 15vw;
}

.page2 .s3 .totalImgDiv {
    display: flex;
    flex-wrap: wrap;
    margin: -0.75rem;
}

.page2 .s3 .totalImgDiv .ImgDiv {
    flex:1 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0.75rem;
}

.page2 .s3 .totalImgDiv .ImgDiv p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}


.page3 .s1 {
    width: 70%;
    margin: auto;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.page3 .s1>.titleType-1 {
    position: relative;
    flex-direction: column;
    padding-left: 5vw;
}

.page3 .s1>.titleType-1 .title,
.page3 .s1>.titleType-1 .sectitle {
    writing-mode: horizontal-tb;
    margin-left: 0px;
    margin-right: 0px;
    background-color: #AFB7BC;
}

.page3 .s1>.titleType-1 .sectitle {
    margin-top: 0.5em;
}

.page3 .titleType-1 {
    position: relative;
}

.teamCard {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6vh;
    margin-bottom: 6vh;
    position: relative;
}

.teamCard .info {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row-reverse;
    border: 1px solid #ffffff55;
    flex-grow: 1;
    padding-top: 5vw;
    padding-bottom: 3vw;
    margin-top: 5vw;
}

.teamCard:nth-of-type(even) .info {
    margin-left: 5vw;
    padding-left: 10vw;
}

.teamCard:nth-of-type(odd) .info {
    margin-right: 5vw;
    padding-right: 15vw;
}

.teamCard .info .titleType-1 .title {
    position: relative;
    top: -1em;
}

.teamCard .info .titleType-1 .addBlackCircle {
    left: auto;
    right: -5vw;
    top: -2em;
}

.teamCard .info .titleType-1 .sectitle {
    margin-top: 0px;
    margin-right: 3vw;
}

.teamCard .info p {
    writing-mode: vertical-rl;
    margin-right: 3vw;
    line-height: 3;
    letter-spacing: 0.2em;
}

.teamCard:nth-of-type(even) {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.teamCard:nth-of-type(odd) {
    align-self: flex-start;
    flex-direction: row;
}

.teamCard .imgDiv {
    position: absolute;
    top: 0vw;
    bottom: 5vw;
    opacity: 0;
    width: auto;
}

.teamCard:nth-of-type(even) .imgDiv {
    left: 0vw;
    animation: fadeInRight 0.75s forwards ease-in-out;
}

.teamCard:nth-of-type(odd) .imgDiv {
    right: 0vw;
    animation: fadeInLeft 0.75s forwards ease-in-out;
}

.teamCard .imgDiv img {
    height: 100%;
    width: auto;
}

.page3 .section2 {
    padding-bottom: 30vh;
}

.infoType-1 .innerP {
    margin-right: 6vw;
}

.page2 .s1 .infoType-1 p:nth-of-type(1) {
    margin-right: 0vw;
}


.page2 .s1 p {
    text-align: center;
}


/*動畫區*/

.page1 .s2 p,
.page2 .s1 p,
.page3 .teamCard p {
    animation-delay: 1.5s;
}


/* 手機板 */

@media screen and (max-width: 768px) {


    .page2 .s1 .infoType-1 p:nth-of-type(1) br {
        display: none;
    }

    
    .logo_div{  
    padding: 0 4vw;
    flex: 0 1 41%;
    }

    .logo_div img{
        height: 6vw;
    }

    .s2-1{
        padding-top: 20vw;
        padding-bottom: 20vw;
        flex-wrap: wrap;
    }
    .page1 .infoType-1 .titleDiv {
        margin-top: 0px;
    }
    .build_banner {
        background-image: url(../img/building/banner-ph.webp);
    }
    .page1-imgDiv img:nth-of-type(1) {
        position: relative;
        top: 0vw;
    }
    .page1-imgDiv img:nth-last-of-type(1) {
        position: relative;
        top: 0vw;
    }
    .page1-imgDiv {
        justify-content: space-between;
    }
    .page1-imgDiv img {
        width: 47%;
    }
    .s1 {
        flex-direction: column;
    }
    .slideDiv {
        margin-top: 5vh;
        width: 100%;
    }
    .slideDiv h2 {
        font-size: 24px;
    }
    .slideDiv .txtDiv p {
        font-size: 16px;
    }
    .s2 {
        flex-direction: column;
    }
    .page1 .infoDiv {
        width: 100%;
    }
    .page1 .s2 .infoType-1 p {
        margin-right: 0px;
    }
    .infoType-1 .titleDiv .sectitle {
        margin-top: 1vh;
    }
    .page1-imgDiv {
        width: 100%;
    }
    .bigImg .imgDiv .bgDiv {
        background-image: url("../img/building/building1-4BG.webp");
        background-position: 80% center;
    }
    .page1 .s3 .deco {
        width: 100%;
    }
    .page1 .s3 .info {
        margin-top: -10vh;
        margin-bottom: 20vh;
    }
    .page1 .s3 .sectitleType-2-Div {
        top: 5vh;
    }
    .page1 .s3 .sectitleType-2-Div {
        padding-left: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .page1 .s3 .sectitleType-2-Div h3:nth-of-type(2) {
        left: 0%;
        margin-left: 0px;
    }
    .page2 .s1 .bigImg {
        background-attachment: scroll;
    }
    @keyframes bgZommAll {
        0% {
            background-size: auto 120%;
        }
        100% {
            background-size: auto 100%;
        }
    }
    .page2 .s1 .title {
        color: #231815;
    }
    .page2 .s1 .titleDiv {
        position: relative;
        right: 0%;
        margin-top: 3vw;
    }
    .page2 .s1 p {
        text-align: justify;
    }
    .page2 .infoType-1 .innerP {
        margin-right: 0vw;
    }
    .page2 .s2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 3vh 10vw 5vh 10vw;
    }

    .page2 .s3 .content .article h3:first-child{
        margin-top: 8vw;
    }
    .page2 .s3 .content .article h3{
        margin-top: 6vw;
    }

    .page2 .section.s3 {
        padding-bottom: 15vh;
    }
    .circleCard {
        width: 30vw;
        margin: 2vh auto;
    }
    .circleCard .number {
        font-size: 16px;
    }
    .circleCard p {
        font-size: 14px;
    }
    .methodMainNav {
        position: relative;
        top: 0px;
        left: 0px;
        display: flex;
        margin-bottom: 0px;
    }
    .main-linkItem {
        margin: 0.5em;
    }
    .methodMainNav .main-linkItem a::before,
    .methodMainNav .main-linkItem a::after {
        position: absolute;
        content: " ";
        height: 0.5px;
        left: 0.75em;
        right: 0.75em;
        background-color: #ffffff88;
    }
    .methodMainNav .main-linkItem a::before {
        top: 0.6em;
        bottom: auto;
        display: none;
    }
    .methodMainNav .main-linkItem a::after {
        top: auto;
        bottom: 0.6em;
        display: none;
    }
    .methodMainNav .main-linkItem a {
        writing-mode: horizontal-tb;
        font-size: 13px;
        padding: 1em 1em;
    }
    .page2 .s3 {
        padding-top: 5vh;
    }
    .page2 .s3 .content {
        width: 100%;
    }
    
    .page2 .s3 .totalImgDiv {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .page2 .s3 .totalImgDiv .ImgDiv {
        margin-bottom: 3vh;
    }
    .page2 .s3 .totalImgDiv .ImgDiv p {
        font-size: 14px;
        letter-spacing: 0.2em;
    }
    .page2 .s3 .totalImgDiv .ImgDiv:nth-of-type(odd) {
        margin-right: 0px;
    }
    .page2 .s3 .totalImgDiv .ImgDiv:nth-of-type(even) {
        margin-left: 0px;
    }
    .page3 .s1 {
        width: 100%;
        padding-top: 5vh;
    }
    .page3 .s1 .addBlackCircle {
        left: -20px;
        top: -20px;
    }
    .page3 .s1>.titleType-1 {
        margin-bottom: 30px;
    }
    .teamCard {
        margin-top: 30px;
        border: 1px solid #ffffff55;
    }
    .teamCard:nth-of-type(even) {
        align-self: flex-end;
        flex-direction: column-reverse;
        padding-left: 7vw;
        padding-right: 7vw;
    }
    .teamCard:nth-of-type(odd) {
        align-self: flex-start;
        flex-direction: column-reverse;
        padding-left: 7vw;
        padding-right: 7vw;
    }
    .teamCard .imgDiv {
        position: relative;
        top: -3vh;
        bottom: 0vw;
        opacity: 0;
        width: 100%;
    }
    .teamCard .imgDiv img {
        width: 100%;
        height: auto;
    }
    .teamCard:nth-of-type(even) .imgDiv {
        left: 0vw;
        animation: fadeInRight 0.75s forwards ease-in-out;
    }
    .teamCard:nth-of-type(odd) .imgDiv {
        right: 0vw;
        animation: fadeInLeft 0.75s forwards ease-in-out;
    }
    .teamCard .titleType-1 {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }
    .teamCard .info .titleType-1 .title {
        top: 0em;
    }
    .teamCard .info .titleType-1 .sectitle {
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 0px;
        padding-top: 1vh;
    }
    .teamCard .info p {
        margin-left: 0vw;
        margin-right: 0vw;
        writing-mode: horizontal-tb;
        padding-top: 3vh;
        line-height: 2.2;
    }
    .teamCard:nth-of-type(odd) .info {
        margin-right: 0px;
        padding-left: 0vw;
        padding-right: 0vw;
        margin-top: -10px;
    }
    .teamCard:nth-of-type(even) .info {
        margin-left: 0px;
        padding-left: 0vw;
        padding-right: 0vw;
        margin-top: 0;
    }
    .teamCard:nth-last-child(1) {
        margin-bottom: 0px;
    }
    .teamCard .info {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        border: none;
        flex-grow: 1;
        margin-top: 0vw;
        padding-top: 0px;
    }
    .teamCard .info .titleType-1 .addBlackCircle {
        right: auto;
        left: -5vw;
    }
    .page3 .section2 {
        padding-bottom: 20vh;
    }
    /*動畫區*/
    .page1 .s2 p,
    .page2 .s1 p,
    .page3 .teamCard p {
        animation-delay: 0s;
    }
}