

.work_banner {
    background-image: url(../img/work/banner.webp);
}

.inner-container {
    background-color: #fff;
}

.inner-container::before {
    background-color: #eaebed;
}

.back_btn{
    color: #ffffff;
    background-color: #4b6866;
    display: inline-block;
    padding: 8px 9px;
    height: 35px;
    border-radius: 50%;
    line-height: 1;
    transition: all 0.3s;
    position: fixed;
    bottom: 2vw;
    right: 2vw;
    z-index: 50;
    font-size: 18px;
}
.back_btn i{
    letter-spacing: 0;
}

.back_btn:hover{
    color: #4b6866;
    background-color: #fff;
}

/* .inner-container.page1::before {
    background-color: #CBD4D9;
    height: 80vw;
    clip-path: polygon(0 0, 100% 0%, 100% var(--clipClipBottom), 0% 100%);
    animation: inner-containerAni-long forwards 1.5s 0.5s;
    z-index: 0;
}

.page1 .s1 {
    position: relative;
    z-index: 20;
} */

@keyframes inner-containerAni-long {
    0% {
        opacity: 0;
        height: 25vw;
    }
    100% {
        opacity: 1;
        height: 40vw;
    }
}

.page1 .s1,
.page1 .s2 {
    width: 80%;
    margin: auto;
}

.page1 .s1>.titleType-1 {
    position: relative;
    flex-direction: column;
}

.page1 .s1>.titleType-1 .title,
.page1 .s1>.titleType-1 .sectitle {
    writing-mode: horizontal-tb;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-color: #fff;
}

.page1 .s1>.titleType-1 .sectitle {
    margin-top: 1em;
}

.addBlackCircle {
    left: -4vw;
    top: -2vw;
}

.page1 .s1 p {
    line-height: 2.8;
    letter-spacing: 0.1em;
    margin-top: 1vw;
    margin-bottom: 4vw;
}

.projectCard {
    position: relative;
    cursor: pointer;
    margin-bottom: 10vh;
}

.projectCard .imgDiv {
    overflow: hidden;
}

.projectCard .imgDiv img {
    width: 100%;
    height: auto;
    transition: 0.5s;
}

.projectCard .contactDiv {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otherArea {
    display: block;
    background-color: #8A959ADD;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    opacity: 0;
}

.projectCard .contactDiv p {
    color: #fff;
    letter-spacing: 0.1em;
    margin-bottom: 0px;
    font-size: 0.85vw;
}

.projectCard:hover .otherArea {
    opacity: 1;
}

.projectCard .contactDiv .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.projectCard .contactDiv .aniDiv {
    opacity: 0;
}

.projectCard:hover .contactDiv .aniDiv {
    animation: contact-itemAni 1s forwards 0s;
}

@keyframes contact-itemAni {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.projectCard:hover .contactDiv .aniDiv:nth-of-type(1) {
    animation-delay: 0.3s;
}

.projectCard:hover .contactDiv .aniDiv:nth-of-type(2) {
    animation-delay: 0.45s;
}

.projectCard:hover .contactDiv .aniDiv:nth-of-type(3) {
    animation-delay: 0.6s;
}

.projectCard:hover .contactDiv .aniDiv:nth-of-type(4) {
    animation-delay: 0.75s;
}

.contact-item {
    display: block;
    margin: 2vw;
    transition: 0.5s;
    position: relative;
    border-radius: 50%;
    border: 1px solid #fff;
    width: 6vw;
    height: 6vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projectCard .contactDiv .contact-item:hover {
    transform: scale(1.1);
}

.projectCard .contactDiv .contact-item .imgDiv {
    width: 15%;
    margin-top: 5%;
    margin-bottom: 5%;
    height: auto;
}

.innerPage-info .s1 .title,
.innerPage-progress .s1 .title,
.innerPage-team .s1 .title,
.innerPage-material .s1 .title {
    writing-mode: horizontal-tb;
}

.bigTitle {
    font-size: 2.5vw;
}

.bigTitle {
    margin-bottom: 3vw;
}


/* 改寫swiper */

.innerPage-info .swiper-container-wrapper {
    width: 100%;
}

.innerPage-info .s1,
.innerPage-info .s2,
.innerPage-info .s3,
.innerPage-info .s4 {
    width: 62.5%;
    margin: auto;
}

.innerPage-info .s4 {
    padding-bottom: 10vw;
}

.gallery-top {
    width: 86%;
    height: 50vh;
    margin-right: 0px;
}

.gallery-top .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.gallery-top .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    width: 14%;
    height: 50vh;
    margin-left: 0.5vw;
}

.gallery-thumbs .swiper-wrapper {
    height: 100%;
}

.gallery-thumbs .swiper-slide {
    height: 100%;
    overflow: hidden;
}

.gallery-thumbs .swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.swiper-container-wrapper {
    justify-content: center;
    align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
    opacity: 0.5;
    color: #222222;
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
    color: #222222;
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.1;
}


/*輪播改寫結束*/

.secondNav {
    margin-bottom: 3vw;
}

.secondNav::after {
    right: 19.5%;
    left: 19.5%;
}

.sectitle {
    /* font-size: 1.2vw; */
    writing-mode: horizontal-tb;
    margin-bottom: 0.5vw;
}

.shortInfoDiv {
    padding-top: 3vw;
    padding-bottom: 3vw;
    position: relative;
    display: grid;
    grid-template-columns: 5fr 4fr 3fr;
}

.shortInfoDiv::after,
.describe::after {
    content: " ";
    background-color: #B5B6B688;
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 1px;
    width: 100%;
}

.baseInfoDiv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.baseInfo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: space-between;
    margin: 15px 0 0 0;
}

.baseInfo:nth-of-type(odd) {
    padding-right: 0.5vw;
}

.baseInfo:nth-of-type(even) {
    padding-left: 0.5vw;
}

.shortInfoDiv p {
    font-size: 0.85vw;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 0px;
    text-align: justify;
}

.tel-Card {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.number,
.number a {
    text-align: right;
    color: #4B6866;
    font-size: 1.5vw;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.shortInfoDiv .infoCard {
    padding-left: 1.5vw;
    padding-right: 1.5vw;
}

.shortInfoDiv .infoCard:nth-of-type(1) {
    padding-left: 0vw;
}

.shortInfoDiv .infoCard:nth-last-of-type(1) {
    padding-right: 0vw;
}

.linkDiv {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.linkDiv a {
    display: block;
    width: 13%;
    transition: 0.5s;
    opacity: 1;
    margin-right: 1vw;
}

.linkDiv a:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.link-card {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.describe {
    position: relative;
    padding-top: 3vw;
    padding-bottom: 3vw;
}

.describe p {
    text-align: justify;
}
.describe .ca_txt{
    padding-top: 15px;
}

.innerPage-info .s4 .sectitle {
    writing-mode: horizontal-tb;
    margin-top: 2vw;
    margin-bottom: 2vw;
}


/* 工程進度 */

.innerPage-progress .s2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 6vw;
    padding-right: 6vw;
    position: relative;
    padding-bottom: 10vw;
}

.workCard {
    padding: 2vw;
    width: 100%;
    height: 100%;
    margin: auto;
}

.workCard .workCard-title {
    font-family: 'Noto Serif TC', serif;
    font-weight: 400;
    font-size: 1vw;
    color: #3F3B3A;
    letter-spacing: 0.05em;
    margin-bottom: 0px;
}

.workCard .workCard-title a {
    font-family: 'Noto Serif TC', serif;
    font-weight: 400;
    font-size: 1vw;
    color: #3F3B3A;
    letter-spacing: 0.05em;
    transition: 0.3s;
}

.workCard .workCard-title a:hover {
    color: #9dc5bf;
}

.workCard .titleDiv .tag {
    color: #464646;
    font-family: 'Noto Serif TC', serif;
    font-size: 0.7vw;
    border: 1px solid #5A5858;
    padding: 0.1em 1em;
    letter-spacing: 0.1em;
    margin-left: 1vw;
    transition: 0.3s;
}

.workCard .titleDiv .tag:hover {
    color: #fff;
    background-color: #5A5858;
}

.date {
    font-weight: 500;
    letter-spacing: 0.1em;
    font-size: 0.8vw;
    color: #464646;
    margin-bottom: 1rem;
}

.workCard p {
    font-weight: 300;
    font-size: 0.8vw;
    letter-spacing: 0.1em;
    color: #464646;
    text-align: justify;
}

.workCard .info {
    padding: 0.5em;
    padding-top: 2em;
    padding-right: 0;
}

.workCard .titleDiv {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.workCard .imgDiv {
    border-radius: 5%;
    overflow: hidden;
    cursor: pointer;
}

.workCard .imgDiv img {
    transition: 0.5s;
}

.workCard .imgDiv:hover img {
    transform: scale(1.1);
}


/* 建築團隊 */

.innerPage-team .s2,
.innerPage-material .s2 {
    width: 62.5%;
    margin: auto;
    padding-top: 2vw;
}

.innerPage-team .sectitle,
.innerPage-material .sectitle {
    margin-left: 1.5vw;
    margin-bottom: 3vw;
}

.teamCard-total {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    padding-bottom: 10vw;
}

.innerPage-team .info {
    text-align: center;
}

.innerPage-team .info .jobTitle {
    line-height: 1.5;
    font-size: 0.8vw;
    position: relative;
    padding-bottom: 0.5vw;
    margin-bottom: 0.5vw;
    color: #595858;
    letter-spacing: 0.1em;
    text-align: center;
}

.innerPage-team .info .jobTitle::after {
    content: " ";
    background-color: #59585888;
    position: absolute;
    bottom: 0px;
    left: 45%;
    right: 45%;
    height: 1px;
}

.innerPage-team .teamCard-title {
    font-size: 0.95vw;
    color: #3F3B3A;
    letter-spacing: 0.1em;
    margin-bottom: 1.5vw;
    margin-left: 0px;
}

.teamCard-total {
    padding-left: 1vw;
}

.teamCard {
    margin: 1.5vw;
    border: 1px solid #8A959A55;
}

.teamCard .imgDiv {
    position: relative;
    top: -1vw;
    left: -1vw;
}

.materialDiv {
    display: flex;
    align-items: center;
    justify-content: center;
}

.materialDiv .imgDiv,
.materialDiv .infoDiv {
    width: 50%;
    padding: 2vw;
}

.materialDiv .infoDiv {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.materialDiv:nth-of-type(odd) .imgDiv,
.materialDiv:nth-of-type(even) .infoDiv {
    padding-left: 0px;
}

.materialDiv:nth-of-type(even) .imgDiv,
.materialDiv:nth-of-type(odd) .infoDiv {
    padding-right: 0px;
}

.materialDiv:nth-of-type(even) {
    flex-direction: row-reverse;
}

.materialDiv .swiper-container{
    min-height:auto;
}

.materialDiv .swiper-button-prev:after, .materialDiv .swiper-button-next:after{
    font-size: 30px;
}

.innerPage-material .sectitle {
    margin-left: 0px;
}

.innerPage-material .s2 {
    padding-bottom: 10vw;
}

.imgDiv a {
    display: none;
}

.imgDiv a:nth-of-type(1) {
    display: block;
}

.fancybox-thumbs {
    background-color: #060606c2;
    opacity: 0.8;
}


/* 手機板 */

@media screen and (max-width: 768px) {
    .work_banner {
        background-image: url(../img/work/banner-ph.webp);
    }
    .secondNav {
        margin: auto;
        width: 80%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .secondNav .nav-link {
        text-align: center;
    }
    .secondNav::after {
        left: 10%;
        right: 10%;
    }
    .secondNav .nav-item:nth-child(even)::after {
        display: none;
    }
    .s1 .addBlackCircle {
        left: -30px;
        top: -20px;
    }
    .page1 .s1,
    .page1 .s2 {
        width: 100%;
        padding-left: 7vw;
        padding-right: 7vw;
    }
    .page1 .s1>.titleType-1 .sectitle {
        margin-top: 2vh;
        padding-left: 0px;
    }
    .page1 .s1 {
        margin-bottom: 5vh;
    }
    .page1 .s1 p {
        margin-top: 3vh;
        line-height: 2;
    }
    .projectCard {
        margin-bottom: 5vh;
    }
    .projectCard .contactDiv {
        position: relative;
        opacity: 1;
        margin-top: 1vh;
        margin-bottom: 1vh;
        justify-content: center;
        flex-wrap: wrap;
    }
    .projectCard .contactDiv p {
        font-size: 14px;
        color: #3E3A39;
        letter-spacing: 0;
        line-height: 1;
    }
    .projectCard .contactDiv .contact-item {
        opacity: 1;
    }
    .projectCard:hover .contactDiv .contact-item {
        animation: none;
    }
    .contact-item {
        width: auto;
        border: none;
        border-radius: 0px;
        padding: 15px;
        margin: 0px;
        height: auto;
    }
    .aniDiv {
        position: relative;
    }
    .aniDiv::after {
        background-color: #3E3A3955;
        content: " ";
        position: absolute;
        top: 30%;
        bottom: 30%;
        right: 0px;
        width: 1px;
    }
    .aniDiv:nth-child(odd):after {
        display: none;
    }
    .otherArea {
        display: none;
    }
    .projectCard .contactDiv .aniDiv {
        opacity: 1;
        flex: 1 1 50%;
    }
    .projectCard .contactDiv .contact-item .imgDiv {
        filter: invert(0.8);
        margin-top: 0px;
        margin-bottom: 0px;
        margin-right: 8%;
        height: 100%;
        width: 5vw;
    }
    .projectCard .contactDiv .contact-item {
        flex-direction: row;
        align-items: center;
    }
    .contactImg img {
        transform: scale(1.2);
    }
    .infoImg img {
        transform: scale(0.9);
    }
    .projectCard .contactDiv p {
        white-space: nowrap;
    }
    .bigTitle {
        margin-top: 5vh;
        margin-bottom: 5vh;
        font-size: 24px;
    }
    .gallery-top {
        width: 100%;
        height: 51vw;
        margin-left: 0px;
    }
    .gallery-thumbs {
        display: none;
    }
    .innerPage-info .s1,
    .innerPage-info .s2,
    .innerPage-info .s3,
    .innerPage-info .s4 {
        width: 100%;
        padding-right: 7vw;
        padding-left: 7vw;
    }
    .shortInfoDiv {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }
    .shortInfoDiv .infoCard {
        margin-top: 2vh;
        margin-bottom: 2vh;
        padding-left: 0px;
    }
    .shortInfoDiv .infoCard .sectitle {
        padding-left: 0px;
        margin-bottom: 1vh;
    }
    .shortInfoDiv p {
        font-size: 14px;
        letter-spacing: 2px;
    }
    .infoCard {
        width: 100%;
    }
    .baseInfo:nth-of-type(odd) {
        padding-right: 10px;
        flex-direction: column;
    }
    .baseInfo:nth-of-type(even) {
        padding-left: 10px;
        flex-direction: column;
    }
    .number,
    .number a {
        font-size: 24px;
    }
    .linkDiv {
        margin-top: 1.5vh;
        justify-content: flex-start;
    }
    .linkDiv a {
        margin-right: 20px;
        width: 15%;
    }
    .s3 .sectitle {
        padding-left: 0px;
    }
    .describe {
        padding-top: 3vh;
    }
    .innerPage-info .s4 .sectitle {
        margin-top: 3vh;
        margin-bottom: 3vh;
    }
    .inputGroup {
        width: 100%;
    }
    .inputGroup button {
        font-size: 12px;
        margin-top: 3vh;
        margin-bottom: 3vh;
    }
    .innerPage-progress .s2 {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        padding-left: 7vw;
        padding-right: 7vw;
    }
    .workCard {
        padding: 0px;
    }
    .workCard .workCard-title {
        font-size: 20px;
    }
    .workCard .info {
        padding-left: 0px;
    }
    .date {
        font-size: 16px;
    }
    .workCard p {
        font-size: 14px;
    }
    /* .fancybox-thumbs {
        top: auto;
        width: auto;
        bottom: 0;
        left: 0;
        right: 0;
        height: 95px;
        padding: 10px 10px 5px 10px;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.3);
    }
    .fancybox-show-thumbs .fancybox-inner {
        right: 0;
        bottom: 95px;
    } */
    .innerPage-team .s2,
    .innerPage-material .s2 {
        width: 100%;
        padding-left: 7vw;
        padding-right: 7vw;
    }
    .s2 .sectitle {
        margin-left: 0px;
        padding-left: 0px;
    }
    .teamCard-total {
        padding-left: 0px;
        grid-template-columns: repeat(1, 1fr);
    }
    .teamCard {
        width: 100%;
        margin: 1.5vh 0px;
    }
    .teamCard .imgDiv {
        top: 0px;
        left: 0px;
    }
    .innerPage-team .info .jobTitle {
        font-size: 14px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .teamCard-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .materialDiv,
    .materialDiv:nth-of-type(even) {
        flex-direction: column;
    }
    .materialDiv .imgDiv,
    .materialDiv .infoDiv {
        width: 100%;
    }
    .materialDiv .imgDiv,
    .materialDiv .infoDiv {
        padding: 0px;
    }
    .innerPage-team .sectitle,
    .innerPage-material .sectitle {
        margin-top: 1vh;
        margin-bottom: 2vh;
    }
    .innerPage-material .s2 .sectitle {
        margin-top: 3vh;
        margin-bottom: 2vh;
    }
    .materialDiv .infoDiv {
        margin-bottom: 3vh;
    }
    .innerPage-team .teamCard-title {
        font-size: 20px;
    }
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 24px;
    }
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next {
        left: 0px;
    }
    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev {
        right: 0px;
    }
}