@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap");

@font-face {
    font-family: "Lato-Light";
    src: url(../fonts/Lato-Light.ttf);
}

@font-face {
    font-family: "Lato-Regular";
    src: url(../fonts/Lato-Regular.ttf);
}

@font-face {
    font-family: "Lato-Bold";
    src: url(../fonts/Lato-Bold.ttf);
}

[data-aos="opacity-heightdown"] {
    opacity: 1;
    clip-path: inset(0% 0 100% 0);
    /* 初始状态下完全隐藏 */
}

[data-aos="opacity-heightdown"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* 显示全部图片 */
}

[data-aos="opacity-left"] {
    opacity: 1;
    clip-path: inset(0% 100% 0 0);
    /* 初始状态下完全隐藏 */
}

[data-aos="opacity-left"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* 显示全部图片 */
}

[data-aos="opacity-right"] {
    opacity: 1;
    clip-path: inset(0% 0 0 100%);
    /* 初始状态下完全隐藏 */
}

[data-aos="opacity-right"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* 显示全部图片 */
}

.opacity {
    animation: opacity 2s ease 0s forwards;

}

@keyframes opacity-left {

    from {
        opacity: 0;
        clip-path: inset(0% 100% 0 0);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.opacity-left {
    animation: opacity-left 2s ease 0s forwards;
    animation-delay: 1s;
}

:root {}

body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    --vw-base: calc(100vw / 1920);
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

button,
input,
textarea,
select,
option {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 0;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}


img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container {
    width: 100%;
    height: auto;
    position: relative;
    /* overflow: hidden; */
    flex-shrink: 0;
    overflow-x: hidden;
}

.main1 {
    position: relative;
    width: 100%;
    height: calc(398* var(--vw-base));
    background-image: url(../img/03/page-bg1.jpg);
    background-size: cover;
    background-position: 0;
    background-repeat: no-repeat;
    transform: scale(1.2);
    filter: brightness(0.5);
    animation: backgroundScale 6s ease forwards, filterDark 3s ease 0.4s forwards;
}

@keyframes backgroundScale {
    from {
        transform: scale(1.2);
    }

    to {
        transform: scale(1);
    }
}

@keyframes filterDark {
    from {
        filter: brightness(0.5);
        /* 一開始加深，變暗 */
        opacity: 1;
    }

    to {
        filter: brightness(1);
        /* 回到原色 */
        opacity: 1;
    }
}

.main2 {
    position: relative;
    width: 100%;
    height: calc(950* var(--vw-base));
    box-sizing: border-box;
    padding: calc(147* var(--vw-base)) 0 0 calc(132* var(--vw-base));
    background-image: url(../img/03/page-bg2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    gap: calc(164* var(--vw-base));
    justify-content: start;
    align-items: start;
}

.main2-txt {
    position: relative;
    margin-top: calc(48* var(--vw-base));
    height: calc(592* var(--vw-base));
    width: calc(420* var(--vw-base));
}

.main2-title {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main2-name {
    color: #74912f;
    font-size: calc(22.56* var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    letter-spacing: 0.05em;
}

.main2-dash {
    position: relative;
    top: calc(0* var(--vw-base));
    display: inline-block;
    color: #000000;
    font-size: calc(24* var(--vw-base));
}

.main2-city {
    color: #000000;
    font-size: calc(18* var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    letter-spacing: 0.05em;
}

.main2-year {
    color: #74912f;
    font-size: calc(25.6* var(--vw-base));
    font-family: "Lato-Light";
}

.main2-line {
    position: relative;
    margin: calc(16* var(--vw-base)) 0;
    width: 100%;
    height: calc(1* var(--vw-base));
    background-color: #b3b3b3;
}

.main2-txt h3 {
    position: relative;
    margin-bottom: calc(32* var(--vw-base));
    color: #313131;
    font-size: calc(20* var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: calc(37* var(--vw-base));
    text-align: justify;
}

.main2-txt h4 {
    position: relative;
    margin-bottom: calc(12* var(--vw-base));
    color: #313131;
    font-size: calc(20* var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: calc(20* var(--vw-base));
    text-align: start;
}

.nav {
    position: absolute;
    left: calc(0* var(--vw-base));
    bottom: calc(60* var(--vw-base));
    display: flex;
    gap: calc(22* var(--vw-base));
}

.nav-item {
    position: relative;
    width: calc(38* var(--vw-base));
    height: calc(40* var(--vw-base));
    border-radius: calc(16*var(--vw-base));
    background-color: #737373;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 5;
    transition: all .4s ease;
}

.nav-item:hover {
    background-color: #74912f;
}

.nav-pic {
    width: calc(30* var(--vw-base));
    height: calc(22* var(--vw-base));
}

.nav-pic img {
    object-fit: contain;
}

.main2 .txt-info {
    position: absolute;
    left: 0;
    bottom: calc(0* var(--vw-base));
    color: #d9d9d9;
    font-size: calc(35* var(--vw-base));
    font-family: "Lato-Light";
    line-height: calc(35* var(--vw-base));
    letter-spacing: 0.075em;
}

.swiper-items {
    position: relative;
    top: calc(5* var(--vw-base));
    width: calc(1090* var(--vw-base));
}

.mini-hidden {
    width: 100%;
    overflow: hidden;
}

.main-swiper {
    position: relative;
    width: calc(1089* var(--vw-base));
    height: calc(508* var(--vw-base));
    margin-bottom: calc(5* var(--vw-base));
}

.main-swiper .sw-pic {
    position: relative;   
    width: 100%;
    height: 100%;
}

.mini-swiper {
    position: relative;
    /* width: 107%; */
    width: 100%;
    height: calc(127* var(--vw-base));
}

.mini-swiper .swiper-slide {
    position: relative;
    width: 24.8%;
    margin-right: calc(10*var(--vw-base));

}

.mini-swiper .sw-pic {
    height: 100%;
    cursor: pointer;
}

.sw-pic {
    background-color: #737373;
}

.sw-next {
    position: absolute;
    right: calc(-30* var(--vw-base));
    top: 45%;
    width: calc(15* var(--vw-base));
    height: calc(30* var(--vw-base));
    cursor: pointer;
    background-color: #313131;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.4s linear;
    mask-image: url(../img/03/page-next.png);
    mask-repeat: no-repeat;
    mask-size: 80% 100%;
    mask-position: center;
}

.sw-next:hover {
    background-color: #74912f;
}

.sw-prev {
    position: absolute;
    left: calc(-30* var(--vw-base));
    top: 45%;
    width: calc(15* var(--vw-base));
    height: calc(30* var(--vw-base));
    cursor: pointer;
    background-color: #313131;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.4s linear;
    mask-image: url(../img/03/page-prev.png);
    mask-repeat: no-repeat;
    mask-size: 80% 100%;
    mask-position: center;
}

.sw-prev:hover {
    background-color: #74912f;
}

.back-jacket {
    position: absolute;
    bottom: calc(50* var(--vw-base));
    left: calc(880* var(--vw-base));
}

.main2 .back {
    /* position: absolute; */
    /* top: calc(100* var(--vw-base));
    left: calc(880* var(--vw-base)); */
    color: #313131;
    width: calc(160* var(--vw-base));
    height: calc(37* var(--vw-base));
    font-size: calc(20 * var(--vw-base));
    font-family: "Lato-Regular";
    font-weight: 300;
    letter-spacing: 0.15em;
    line-height: calc(30 * var(--vw-base));
    text-align: start;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 calc(8* var(--vw-base));
    border: #313131 calc(1 * var(--vw-base)) solid;
    z-index: 5;
    transition: all 0.4s ease, color 0.4s ease;
}

.main2 .back .arrow {
    font-size: calc(30 * var(--vw-base));
}

.main2 .back:hover {
    color: #74912f;
    border: #74912f calc(1 * var(--vw-base)) solid;
}

.main-swiper .swiper-slide {
    position: relative;
}

.pic-txt {
    position: absolute;
    bottom: calc(5* var(--vw-base));
    right: calc(5* var(--vw-base));
    color: #000;
    font-size: calc(16 * var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 300;
    letter-spacing: 0.05em;
}