body,
html {
    position: relative;
}

.background,
.bgImg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    /* overflow: hidden; */
    background-color: #94A0A4;
    min-height: 100vh;
}

@media screen and (min-width:769px) {
    .background,
    .bgImg {
        overflow: hidden;
        height: 130vh;
        position: fixed;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
        width: 100%;
        transform: translateY(30vh);
        transition: all 1.2s cubic-bezier(0.22, 0.44, 0, 1);
    }
}


/* 只有電腦板才做 */

@media screen and (min-width:769px) {
    .logoDiv {
        padding-left: 5%;
    }
    /* .background:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    } */
    .background:first-child {
        background-color: #AFB8BD;
        transform: translateY(-15vh);
    }
    .background:first-child .content-wrapper {
        transform: translateY(15vh);
    }
    /* Set stacking context of slides */
    .background:nth-child(1),
    .bgImg:nth-child(2) {
        z-index: 50;
    }
    .background:nth-child(2),
    .bgImg:nth-child(3) {
        z-index: 40;
    }
    .background:nth-child(3),
    .bgImg:nth-child(4) {
        z-index: 30;
    }
    .background:nth-child(4),
    .bgImg:nth-child(5) {
        z-index: 20;
    }
    .background:nth-child(5),
    .bgImg:nth-child(6) {
        z-index: 10;
    }
    .background:nth-child(6) {
        z-index: 5;
    }
    .content-wrapper {
        height: 100vh;
        display: flex;
        justify-content: center;
        text-align: center;
        flex-flow: column nowrap;
        color: #fff;
        text-transform: uppercase;
        transform: translateY(40vh);
        /* will-change: transform; */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transition: all 1.7s cubic-bezier(0.22, 0.44, 0, 1);
    }
    .content-title {
        font-size: 12vh;
        line-height: 1.4;
    }
    .background.up-scroll {
        transform: translate3d(0, -15vh, 0);
    }
    .background.up-scroll .content-wrapper {
        transform: translateY(15vh);
    }
    .background.up-scroll+.background {
        transform: translate3d(0, 50vh, 0);
    }
    .background.up-scroll+.background .content-wrapper {
        transform: translateY(30vh);
    }
    .background.down-scroll {
        transform: translate3d(0, -130vh, 0);
    }
    .background.down-scroll .content-wrapper {
        transform: translateY(40vh);
    }
    .background.down-scroll+.background:not(.down-scroll) {
        transform: translate3d(0, -15vh, 0);
    }
    .background.down-scroll+.background:not(.down-scroll) .content-wrapper {
        transform: translateY(15vh);
    }
    .background.s6.down-scroll {
        height: 120vh;
        transform: translate3d(0, -40vh, 0);
    }
    .background.s6.down-scroll .content-wrapper {
        transform: translateY(10vh);
    }
    /*裝飾圖片*/
    .background .decoPic {
        transition: all 0.5s;
        transform: translateY(5vh);
    }
    .background.up-scroll .decoPic {
        transform: translateY(0vh);
    }
    .background.up-scroll+.background .decoPic {
        transform: translateY(5vh);
    }
    .background.down-scroll .decoPic {
        transform: translateY(-5vh);
    }
    .background.down-scroll+.background:not(.down-scroll) .decoPic {
        transform: translateY(0vh);
    }
    /*內文*/
    /* 尚未任何作用時 */
    .background .info {
        transform: translateY(50vh);
        transition: all 2s;
        opacity: 0;
    }
    /* 滑入 (第二次以後) */
    .background.up-scroll .info {
        transform: translateY(0vh);
        opacity: 1;
    }
    .background.up-scroll+.background .info {
        transform: translateY(50 vh);
        opacity: 0;
    }
    /* 移出 */
    .background.down-scroll .info {
        transform: translateY(50vh);
        opacity: 0;
    }
    /* 滑入時(第一次) */
    .background.down-scroll+.background:not(.down-scroll) .info {
        transform: translateY(0vh);
        opacity: 1;
    }
    .bgImg {
        height: 130vh;
        position: fixed;
        width: 100%;
    }
    .logoPic {
        content: " ";
        position: absolute;
        width: 100%;
        height: 100%;
        /* mask: url(logoMask.svg);
    mask-position: center center;
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask: url(logoMask.svg);
    -webkit-mask-position: center center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat; */
    }
    .bgImg {
        width: 20vw;
        height: 100vh;
        /* margin: 35vw auto; */
        transform: translateY(100vh);
    }
    .logoDiv {
        /* background-color: #7e35d0; */
        width: 100vw;
        height: 100vh;
        position: absolute;
        overflow: hidden;
        z-index: 100;
        /* transform: translateY(-100vh); */
        top: -0%;
        mask-image: url(../img/logoMask.svg);
        mask-position: center center;
        mask-size: 10% auto;
        mask-repeat: no-repeat;
        -webkit-mask-image: url(../img/logoMask.svg);
        -webkit-mask-position: center center;
        -webkit-mask-size: 10% auto;
        -webkit-mask-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        pointer-events: none;
    }
    .logoDiv:nth-of-type(1) {
        /* transform: translateY(0vh); */
    }
    .bgImg.up-scroll {
        transform: translateY(0vh);
    }
    .bgImg.up-scroll+.bgImg {
        transform: translateY(-100vh);
    }
    .bgImg.down-scroll {
        transform: translateY(100vh);
    }
    .bgImg.down-scroll+.bgImg:not(.down-scroll) {
        transform: translateY(0vh);
    }
    /* 滑動區塊結束 */
    .bgImg:nth-of-type(1) {
        background-color: rgb(255, 255, 255);
        opacity: 0;
    }
    .bgImg:nth-of-type(2) {
        background-image: url(../img/logoBG-1.png);
    }
    .bgImg:nth-of-type(3) {
        background-image: url(../img/logoBG-2.png);
    }
    .bgImg:nth-of-type(4) {
        background-image: url(../img/logoBG-3.png);
    }
    .bgImg:nth-of-type(5) {
        background-image: url(../img/logoBG-4.png);
    }
    .bgImg:nth-of-type(6),
    .bgImg:nth-of-type(7) {
        background-image: url(../img/logoBG-5.png);
    }
}

.s2 {
    background-color: #AFB8BD;
}

.s3 {
    background-color: #8A959A;
}

.s4 {
    background-color: #94A0A4;
}

.s5 {
    background-color: #8A959A;
}

.s6,
.s7 {
    background-color: #94A0A4;
}

.swiper-container-1,
.swiper-container-1 .swiper-slide {
    position: relative;
}

.swiper-slide .imgDiv {
    overflow: hidden;
}

.swiper-container-1::before {
    z-index: 10;
    position: absolute;
    content: " ";
    left: 0px;
    bottom: 0px;
    height: 14vw;
    width: 100%;
    background-color: #6f7c85;
    clip-path: polygon(100% 7vw, 100% 100%, 0% 100%, 0 0);
    opacity: 0.7;
}

.swiper-container-1::after {
    z-index: 20;
    position: absolute;
    content: " ";
    left: 0px;
    bottom: 0px;
    height: 14vw;
    width: 100%;
    background-color: #AFB8BD;
    clip-path: polygon(0 100%, 100% 7vw, 100% 100%, 0 100%);
    opacity: 0.7;
}

.swiper-container-1 .swiper-pagination {
    z-index: 15;
    bottom: 6.5vw;
}

.swiper-pagination-bullet {
    width: 2vw;
    height: 0.25vw;
    border-radius: 5vw;
    background-color: #ffffffee;
    position: relative;
}

.s1 .infoDiv {
    position: absolute;
    writing-mode: vertical-rl;
    top: 20%;
    left: 18%;
    z-index: 99;
    pointer-events: none;
}

.s1 .infoDiv h2 {
    color: #526869;
    font-family: 'Noto Serif TC', serif;
    font-size: 1.2vw;
}

.s1 .infoDiv p {
    padding-top: 2vh;
    padding-right: 1vw;
    font-size: 0.95vw;
}

.decoTxt {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.content {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
}

.content .info {
    z-index: 10;
    position: absolute;
    top: 20%;
    left: 50%;
    writing-mode: vertical-rl;
}

.content .titleDiv {
    position: absolute;
    top: 25%;
    left: 56%;
    writing-mode: vertical-rl;
}

.content .titleDiv .title {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.8vw;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #231815;
    position: relative;
    margin: 0px;
    line-height: 1;
}

.content .titleDiv .title-decoTxt {
    font-family: 'Noto Serif TC', serif;
    font-size: 0.8vw;
    letter-spacing: 0.1em;
    font-weight: 100;
    color: #727171;
    position: absolute;
    top: 48%;
    right: -100%;
    opacity: 0.5;
}

.content .titleCircle {
    position: absolute;
    top: -40%;
    left: -245%;
    height: 8vw;
    width: 8vw;
    opacity: 0.8;
}

.content .info {
    position: absolute;
    writing-mode: vertical-rl;
    top: 30%;
    right: 18%;
}

.content .info .innerTxtDiv {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    white-space: nowrap;
}

.content .info .innerTxt-BigMode {
    font-family: 'Noto Serif TC', serif;
    color: #354240;
    font-size: 1.15vw;
    margin-right: 2vw;
    margin-left: 0px;
    /* border-left: 1px solid #354240; */
    font-weight: 600;
    white-space: nowrap;
}

.border-left-deco {
    padding-left: 0.2em;
    border-left: 1px solid #354240;
}

.border-left-deco:nth-last-of-type(1) {
    padding-left: 0.3em;
}

.content .info .innerTxt {
    font-size: 0.95vw;
    /* font-size: 40px; */
    margin-right: 3em;
    /* color: #5A5858; */
    color: #3F3B3A;
}

.content .innerTxtDiv .decoTxt {
    font-family: 'Noto Serif TC', serif;
    font-size: 6px;
    letter-spacing: 0.2em;
    font-weight: 200;
    color: #5A5858;
    margin-right: 2em;
    white-space: nowrap;
}

.decoPic {
    position: absolute;
    width: 70%;
    height: 100%;
    z-index: 10;
    top: 0px;
    left: 0px;
    pointer-events: none;
}

footer {
    clip-path: none;
    background-color: transparent;
}

.footer {
    width: 100%;
    position: absolute;
    bottom: 15vh;
}

.footer .info {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
    left: 0px;
    right: 0px;
    top: 0px;
}

.footer .title {
    color: #abb5b5;
    font-size: 3vw;
    letter-spacing: 0px;
    line-height: 1;
    font-family: 'Noto Serif TC', serif;
}

.footer .infogroup {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin: auto 1rem 0px;
}

.footer .infogroup .subtitle {
    font-family: 'Merriweather', serif;
    letter-spacing: 0px;
    font-size: 1.5vw;
    margin-right: 0.3em;
    margin-bottom: 0px;
}

.footer .infogroup .innerTxt {
    color: #fff;
    font-size: 0.8vw;
    letter-spacing: 0.1em;
    margin-bottom: 0px;
}

.footer .infogroup .copyRight {
    color: #252525;
    letter-spacing: 0em;
    font-size: 0.7vw;
    padding-top: 0.3em;
}

.footer_make {
    text-align: center;
    margin: auto;
    color: #898989;
    width: 100%;
    font-size: 0.5vw;
    padding-top: 5px;
}


/*圈圈*/

.b {
    fill: none;
    stroke: #3e3a39;
    stroke-miterlimit: 10;
    stroke-width: .2px;
}

.decoPic img {
    width: auto;
    height: 100%;
}

.s2 .decoPic {
    top: -5%;
    left: -20%;
    opacity: 0.5;
}

.s3 .decoPic {
    width: 50vw;
    height: 100%;
    left: 0%;
    mix-blend-mode: screen;
}

.s4 .decoPic {
    width: 50vw;
    height: 100%;
    left: 0%;
    mix-blend-mode: screen;
    opacity: 0.5;
}

.s6 .decoPic {
    width: 90vw;
    left: 5vw;
    height: auto;
    top: auto;
    bottom: 10%;
    opacity: 0.25;
}

.s6 .decoPic img {
    width: 100%;
    height: auto;
}

footer.background {
    height: 20vh;
    background-color: #3d44d6;
}


/*斜切*/

.s2,
.s3,
.s5 {
    clip-path: polygon(0 0, 100% 0, 100% 110vh, 0% 100%);
}

.s4,
.s7 {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 110vh);
}

.readMore {
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.readMore {
    transition: all 0.3s;
    margin-right: 0.5vw;
    margin-bottom: 0px;
    font-size: 14px;
    font-family: 'Noto Serif TC', serif;
    color: #3F3B3A;
}

.readMore:hover span {
    letter-spacing: 4px;
    color: #252525;
}

.readMore span {
    position: relative;
    letter-spacing: 2px;
    transition: 0.5s;
}

.readMore span::before {
    position: absolute;
    content: " ";
    left: 45%;
    right: 54%;
    height: 4em;
    bottom: 105%;
    background-color: #3F3B3A;
    opacity: 0.5;
}


/* 手機板logo */

.section-logo {
    display: none;
}


/* 動畫 */

.slideZoomSmall {
    -webkit-animation: slideZoomSmall 20s alternate linear infinite;
    animation: slideZoomSmall 20s alternate linear infinite;
}

@keyframes slideZoomSmall {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.slideZoomBig {
    -webkit-animation: slideZoomBig 30s alternate linear infinite;
    animation: slideZoomBig 30s alternate linear infinite;
}

@keyframes slideZoomBig {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

.titleCircle {
    fill: none;
    stroke-miterlimit: 10;
    stroke-width: .2px;
    stroke: #231815;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 5s forwards;
}

@keyframes drawLine {
    100% {
        stroke-dashoffset: 0;
    }
}

.title-decoTxt {
    animation-delay: 0.5s;
    animation-duration: 0.5s;
}