@font-face {
    font-family: 'dfhei-std-w9';
    src: url('../fonts/DFHeiStd-W9.woff2') format('woff2'), url('../fonts/DFHeiStd-W9.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'dfhei-std-w7';
    src: url('../fonts/DFHeiStd-W7.woff2') format('woff2'), url('../fonts/DFHeiStd-W7.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

img {
    display: block;
}

p {
    text-align: justify;
    color: #fff;
    letter-spacing: 2px;
    font-size: clamp(15px, 1vw, 18px);
    font-family: 'dfhei-std-w7';
    line-height: 1.8;
}

h2 {
    font-family: 'dfhei-std-w7';
    font-weight: 300;
}


/* 通用class */

.w-100 {
    width: 100%;
}

a {
    text-decoration: none;
}


/* 主要元件區塊 */

.s1 {
    width: 100%;
    height: 100dvh;
    background: url(../images/desktop/s1-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


/* 背景影片 */

.s1-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 等同 background-size: cover */
    object-position: center;
    z-index: 0;
}


/* 原本內容全部在影片上方 */

.s1>*:not(.s1-bg-video) {
    position: relative;
    z-index: 1;
}

.s1 .top_nav {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    flex-direction: row;
}

.s1 .top_nav p {
    color: #fff;
    margin-right: 10px;
    font-size: 17px;
    font-weight: 500;
}

.s1 .top_nav p a {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
}

.s1 .top_nav img {
    width: 100%;
    max-width: 30px;
    aspect-ratio: 1/1;
}

.s1 .center_box {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.s1 .center_box>div,
.s12 .center_box>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.s1 .center_box>div img,
.s12 .center_box>div img {
    width: 35%;
    /* max-width: 700px; */
}

.s1 .center_box>div h2,
.s12 .center_box>div p,
.s12 .center_box>div h2 {
    margin-top: 30px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 5px;
}

.s1 .center_box>div h2 {
    font-size: clamp(16px, 3vw, 24px);
}

.s1 .center_box>img {
    width: 50%;
    max-width: 100px;
}

.s1 .left_bot {
    position: absolute;
    left: 40px;
    bottom: 40px;
    width: 10%;
    max-width: 80px;
}

.s2 {
    width: 100%;
    background: url(../images/desktop/s2-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    /* grid-template-columns: 20% 65%;。 */
    justify-content: space-between;
    /* gap: 50px; */
    padding: 100px 0;
}

.s2-outside {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 38% 60%;
    /* gap: 20px; */
    justify-content: space-between;
    /* flex-direction: row; */
}

.s2 .left_box {
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 0 8%;
}

.s2 .left_box div {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.s2 .left_box div>img:nth-of-type(1) {
    /* transform: translateX(40%); */
    z-index: 1;
}

.s2 .left_box div h2 {
    font-size: clamp(20px, 2vw, 36px);
    color: #fff;
    letter-spacing: 10px;
    font-weight: 500;
}

.s2 .right_box {
    position: relative;
}

.s3 {
    background-color: #173e53;
}

.s3 .top_box {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.s3 .bot_box {
    width: 100%;
    padding: 40px;
    margin: 0 auto;
    position: relative;
    background: url(../images/desktop/s7bg.webp);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
}

.s3 .bot_box>img {
    position: absolute;
    right: 0;
    top: -40px;
    width: 100%;
    max-width: 600px;
}

.s3 .bot_box>div {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.s3 .bot_box .text_box {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.s3 .bot_box .text_box h2 {
    white-space: nowrap;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: clamp(20px, 2vw, 36px);
}

.s3 .bot_box .text_box div {
    width: 1px;
    height: 80px;
    background-color: #fff;
}

.s3 .bot_box .text_box p {
    font-size: clamp(15px, 1vw, 18px);
}

.s4 {
    width: 100%;
    aspect-ratio: 16/7;
    background: url(../images/desktop/s4-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.s4 div {
    width: 80%;
    max-width: 550px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.s4 div img {
    width: 100%;
}

.s4 div p {
    color: #3E3A39;
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
}

.s5 {
    width: 100%;
    background: url(../images/desktop/s5-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    padding: 100px 0;
}

.s5-outside {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 60% 38%;
    justify-content: space-between;
}

.s5 .right_box {
    display: flex;
    /* justify-content: right; */
    align-items: center;
    padding-right: 20px;
}

.s5bgimg {
    display: none;
}

.s5 .right_box div {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.s5 .right_box div>img {
    transform: translateX(-40%);
}

.s5 .right_box div h2 {
    font-size: clamp(20px, 2vw, 36px);
    color: #fff;
    letter-spacing: 8px;
    line-height: 45px;
}

.s5swiper .swiper-pagination,
.s7swiper .swiper-pagination,
.s10swiper .swiper-pagination {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: auto;
    width: auto;
    text-align: right;
}

.s6 {
    background: url(../images/desktop/s7bg.webp);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
}

.s6 .top_box {
    width: 100%;
    position: relative;
}

.s6 .top_box>img:nth-child(2) {
    position: absolute;
    right: 0;
    bottom: -20px;
    width: 30%;
    max-width: 600px;
}

.s6 .bot_box {
    width: 100%;
    padding: 40px 40px 140px 40px;
    margin: 0 auto;
    position: relative;
}

.s6 .bot_box>div {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.s6 .bot_box .text_box {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.s6 .bot_box .text_box h2 {
    white-space: nowrap;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: clamp(20px, 2vw, 36px);
}

.s6 .bot_box .text_box div {
    width: 1px;
    height: 80px;
    background-color: #fff;
}

.s6 .bot_box .text_box p {
    font-size: clamp(15px, 1vw, 18px);
}

.s7 {
    width: 100%;
    position: relative;
    background: url(../images/desktop/s7-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.s7::after {
    height: 0;
}

.s7 .s7top {
    position: relative;
    display: flex;
    align-items: center;
    /* margin-top: 100px; */
}

.s7 .text_box {
    width: 80%;
    padding: 50px 50px;
    max-width: 768px;
}

.s7 .s7top .s7top1 {
    display: flex;
    justify-content: end;
    width: 50%;
    z-index: 1;
}

.s7 .s7top .s7top2 {
    width: 50%;
}

.s7 .text_box h2 {
    font-size: clamp(20px, 2vw, 36px);
    margin-bottom: 20px;
    color: #176278;
    letter-spacing: 8px;
    line-height: 120%;
}

.s7 .text_box div {
    width: 100%;
    height: 1px;
    background-color: rgb(62, 58, 57);
    margin-bottom: 20px;
}

.s7 .text_box p {
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.8;
    max-width: 768px;
    color: rgb(62, 58, 57);
}

.s7 .s7bot {
    display: flex;
    align-items: center;
    margin-top: 100px;
    padding-bottom: 100px;
}

.s7 .s7bot1 {
    width: 55%;
    height: auto;
}

.s7bgimg {
    position: absolute;
    bottom: 65px;
    right: clamp(0px, -40px, 20px);
    width: min(30vw, 700px);
}

.s7 .newstyle {
    position: absolute;
    z-index: 2;
    width: 95%;
    top: 50%;
    right: -8px;
}

.titleimg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
}

.s8 {
    width: 100%;
    aspect-ratio: 16/7;
    background: url(../images/desktop/s8-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.s8 div {
    width: 80%;
    max-width: 550px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.s8 div img {
    width: 100%;
}

.s8 div p {
    color: #3E3A39;
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
}

.s9 {
    width: 100%;
    aspect-ratio: 2/1;
    background: url(../images/desktop/s9-bg2.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.s9 .outside {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.s9 .outside>div {
    position: absolute;
    right: 5px;
    top: 5vh;
    width: 40%;
    max-width: 700px;
}

.s9 .outside>div>img {
    width: 100%;
}

.s9 .outside>div .text_box {
    width: 95%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    padding-left: 60px;
}

.s9 .outside>div .text_box h2 {
    color: #fff;
    letter-spacing: 8px;
    font-size: clamp(20px, 2vw, 36px);
    line-height: 120%;
}

.s10 {
    width: 100%;
    background: url(../images/desktop/s7bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.s10-mob {
    display: none;
}

.s101,
.s102 {
    display: flex;
    background: url(../images/desktop/s10bg1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.s10 .s102 {
    margin: 50px 0;
}

.s101 .s10_left {
    display: flex;
    width: 50%;
    align-items: center;
    flex-direction: row-reverse;
}

.s102 .right_box {
    display: flex;
    width: 50%;
    justify-content: center;
}

.s101 .right_box,
.s102 .s10_left {
    width: 55%;
    display: flex;
    align-items: center;
}

.s101 .s10_left .text_box {
    width: 70%;
    max-width: 580px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.s101 .s10_left .text_box img {
    width: 100%;
}

.s102 .right_box .text_box {
    width: 60%;
    max-width: 580px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.s102 .right_box .text_box img {
    width: 100%;
}

.s101 .s10_left .text_box h2 {
    color: #176278;
    font-size: clamp(20px, 2vw, 36px);
    line-height: 150%;
    letter-spacing: 5px;
}

.s102 .right_box .text_box h2 {
    color: #176278;
    font-size: clamp(20px, 2vw, 36px);
    line-height: 150%;
    letter-spacing: 5px;
}

.s101 .s10_left .text_box p {
    color: rgb(62, 58, 57);
    font-size: clamp(15px, 1vw, 18px);
    letter-spacing: 1px;
}

.s102 .right_box .text_box p {
    color: rgb(62, 58, 57);
    font-size: clamp(15px, 1vw, 18px);
    letter-spacing: 1px;
}

.s11 {
    width: 100%;
    background-image: url(../images/desktop/s11bg.webp?v=1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    grid-template-columns: 70% 30%;
}

.s11right {
    position: relative;
}

.s11 .s11left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0px 20px;
    padding-top: 100px;
    padding-bottom: 200px;
}

.s11 .s11title {
    width: 50%;
}

.s11 .logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.s11 .s11left .text_box {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-direction: column;
}

.s11 .s11left .text_box h2 {
    color: #176278;
    font-size: clamp(20px, 2vw, 36px);
    letter-spacing: 10px;
}

.s11 .s11left .text_box p {
    color: black;
    font-size: clamp(15px, 1vw, 18px);
    text-align: center;
}

.s11 .logos .logo {
    width: 80%;
    max-width: 200px;
    margin: 0 auto;
    justify-items: center;
}

.s11 .logos .logo img {
    margin-bottom: 20px;
}

.s11 .logos .logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.s11 .logos .logo p {
    font-size: 1rem;
    color: black;
    text-align: center;
    margin: 0 auto;
}

.s11 .s11right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s12 {
    width: 100%;
    padding-top: 10%;
    /* aspect-ratio: 16/17.5; */
    background: url(../images/desktop/012bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.s12 .center_box {
    width: 100%;
    /* height: 100%; */
    padding: 0px 20px;
    padding-top: 200px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.s12 .center_box>.s12top p {
    font-size: clamp(16px, 3vw, 24px);
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.s12 .center_box>div h2 {
    font-size: 1.425em;
}

.s1 .center_box>div h2.subtitleletter,
.s12 .center_box>div p.subtitleletter {
    letter-spacing: 8px;
}