@charset "utf-8";
/* CSS Document */
@import url("reset.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@1,300;1,400;1,700&display=swap');

:root {
    /*font*/
    --lato: 'Lato', sans-serif;

    /*title*/
    --title_mb_en: 17px;
    --title_mb_tw: 26px;

    /*color*/
    --green: #088380;
    --red: #9D1E23;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
    font-size: 17px;
    color: #222222;
    -webkit-text-size-adjust: none;
    image-rendering: -webkit-optimize-contrast;
    text-align: justify;
}

a {
    color: #222222;
}

.webout {
    position: relative;
    max-width: 2200px;
    margin: 0 auto;
}

.article {
    overflow: clip;
}

.out {
    max-width: 1550px;
    position: relative;
    padding: 0 6%;
    margin: 0 auto;
}

/*HOME-----------------------------------------*/

/*HOME_S1-----------------*/
.home .s1 {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 800px;
    overflow: hidden;
}

.home .s1:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/home_s1.jpg");
    background-size: cover;
    animation: pageinbg 3s both;
}

.home .s1 .out {
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-size: 65px;
    text-shadow: 0 0 9px #FFFFFF;
}

.home .s1 .t1 {
    position: relative;
    font-weight: normal;
    line-height: 1.1em;
    padding-bottom: 0.6em;
    padding-left: 5%;
    margin-bottom: 0.6em;
}

.home .s1 .t1:after {
    content: "";
    position: absolute;
    left: 5%;
    bottom: 0;
    width: 2em;
    height: 2px;
    background: var(--red);
}

.home .s1 .t1 span {
    color: var(--red);
}

.home .s1 .t2 {
    font-size: 0.3em;
    line-height: 2em;
    padding-bottom: 5%;
    padding-left: 5%;
}

@media only screen and (max-width:1600px) {
    .home .s1 {
        aspect-ratio: 2/1;
        height: auto;
        min-height: 0;
    }

    .home .s1 .out {
        font-size: 5vw;
        text-shadow: 0 0 0.6vw #FFFFFF;
    }
}

@keyframes pageinbg {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: none;
    }
}

/*HOME_S2-----------------*/
.home .greyback {
    position: relative;
    background: #F7F7F7;
}

.home .greyback .out {
    z-index: 1;
}

.circle {
    position: absolute;
}

.home .greyback .c1 {
    left: 50%;
    bottom: -400px;
    margin-left: -2550px;
}

.home .greyback .c2 {
    right: 50%;
    bottom: 1500px;
    margin-right: -1450px;
}

.home .greyback .c3 {
    width: 134px;
    right: -40px;
    bottom: -90px;
}

.home .s2 {
    padding: 55px 0 110px;
}

.home .s2 .out {
    display: flex;
    align-items: center;
    gap: 3%;
}

.home .s2 .text {
    width: 37%;
}

.home .s2 .en,
.home .s5 .en {
    font-family: var(--lato);
    font-style: italic;
    display: inline-block;
    position: relative;
    font-size: 26px;
    font-weight: normal;
    color: var(--red);
}

.home .s2 .en:after,
.home .s5 .en:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 77px;
    height: 1px;
    background: var(--red);
    margin-left: 0.5em;
}

.home .s2 .tw,
.home .s5 .tw {
    font-size: 32px;
    font-weight: 400;
    margin: 0.7em 0 1em;
}

.home .s2 .t1 {
    line-height: 2em;
}

.home .s2 .image {
    position: relative;
    width: 60%;
}

.home .s2 img {
    width: 100%;
}

.home .s2 .image img:first-child {
    position: absolute;
    z-index: 1;
}

/*HOME_S3-----------------*/
.home .s3 .en {
    font-family: var(--lato);
    font-style: italic;
    position: relative;
    font-size: 26px;
    text-align: center;
    color: var(--red);
    padding-bottom: 20px;
}

.home .s3 .en:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 76px;
    height: 1px;
    background: var(--red);
    margin-left: -38px;
}

.home .s3 .tw {
    font-size: 32px;
    line-height: 1.3em;
    font-weight: 400;
    text-align: center;
    margin: 1em 0 2em;
}

.home .s3 ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3%;
}

.home .s3 li {
    margin-bottom: 80px;
}

.home .s3 li a {
    display: block;
}

.home .s3 .image {
    overflow: hidden;
    border-radius: 15px;
}

.home .s3 .image img {
    width: 100%;
    transition: 0.2s;
}

.home .s3 a:hover .image img {
    transform: scale(1.1);
}

.home .s3 .t1 {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-top: 1em;
}

.home .s3 .t1 div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
    max-width: 60px;
    border-radius: 24px 0 24px;
    aspect-ratio: 1/1;
}

.home .s3 .t1 img {
    width: 40%;
}

.home .s3 .t2 {
    line-height: 2em;
    margin: 1em 0 2em;
}

/*HOME_S4-----------------*/
.home .s4 {
    padding: 90px 0;
}

.home .s4 .mb {
    display: none;
}

.home .s4 .text {
    position: relative;
    background: url("../images/home_s4.jpg") center no-repeat;
    background-size: auto 716px;
    border-radius: 40px;
    height: 600px;
    padding: 0 7%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.home .s4 .text a {
    display: block;
    width: 55%;
    max-width: 520px;
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.home .s4 .t1 {
    font-size: 32px;
    font-weight: normal;
    line-height: 1.3em;
}

.home .s4 .t2 {
    line-height: 1.7em;
    margin: 2em 0 4em;
}

.home .s4 .more {
    background: #FFFFFF;
    border: none;
    color: var(--green);
    text-shadow: none;
}

/*HOME_S5-----------------*/
.home .s5 {
    display: none;
    padding: 60px 0 150px;
}

.home .s5 .out {
    display: flex;
    gap: 7%;
}

.home .s5 .text {
    min-width: 180px;
}

.home .s5 .splide__slide {
    background: #FFFFFF;
    padding: 5%;
    border-radius: 20px;
}

.home .s5 .top {
    display: flex;
    align-items: flex-end;
    font-size: var(--title_mb_tw);
    gap: 0.9em;
    border-bottom: #C8C9C9 1px solid;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.home .s5 .job {
    font-size: 16px;
}

.home .s5 .t1 {
    line-height: 1.7em;
}

.home .s5 .splide__arrow {
    width: 50px;
    height: 50px;
    opacity: 1;
    background: var(--green);
    transition: 0.2s;
}

.home .s5 .splide__arrow:hover {
    background: #06726F;
}

.home .s5 .splide__arrow svg {
    width: 40%;
    height: 40%;
    fill: #FFFFFF;
    transition: 0.2s;
}

.home .s5 .splide__arrow--prev {
    left: -35px;
}

.home .s5 .splide__arrow--next {
    right: -35px;
}

.home .s5 .splide__pagination {
    bottom: -70px;
}

.home .s5 .splide__pagination__page {
    background: #C8C9C9;
    height: 10px;
    width: 10px;
    margin: 0 7px;
    opacity: 1;
    transition: 0s;
}

.home .s5 .splide__pagination__page.is-active {
    background: var(--green);
    transform: scale(1.5);
    opacity: 1;
}

/*PAGEBM-----------------*/
.pagebm {
    position: relative;
    background: rgba(210, 217, 214, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pagebm .out {
    max-width: 1350px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 45px;
}

.pagebm .t1 {
    font-weight: normal;
    line-height: 1.3em;
}

.pagebm .t2 {
    font-size: 0.6em;
    line-height: 1.3em;
    margin: 1em 0 2em;
}

.pagebm img {
    position: absolute;
    top: 0;
    right: 45%;
    height: 100%;
    margin-right: -1000px;
}

.pagebm .more {
    background: var(--red);
    border: none;
    color: #FFFFFF;
}

.pagebm .more:before {
    background: #FFFFFF;
}

.pagebm .more:after {
    border-color: #FFFFFF;
}

/*SERVICE-----------------------------------------*/

/*SERVICE_S2-----------------*/
.service .box {
    position: relative;
}

.service .box .out {
    z-index: 2;
}

.service .box .c1 {
    left: 50%;
    top: 950px;
    margin-left: -1200px;
}

.service .box .c2 {
    width: 70px;
    left: 50%;
    bottom: 950px;
    margin-left: -750px;
    z-index: 1;
}

.service .box .c3 {
    width: 180px;
    left: 50%;
    bottom: 550px;
    margin-left: -700px;
    z-index: 1;
}

.service .s2 {
    padding: 25% 0 10%;
}

.service .s2 .out {
    max-width: 1500px;
    display: grid;
    justify-content: space-between;
    align-items: flex-start;
    grid-template-columns: 58% 38%;
}

.service .s2 .en {
    font-family: var(--lato);
    font-style: italic;
    font-size: 24px;
    color: #9D1E23;
    margin-bottom: 0.5em;
}

.service .s2 .tw {
    font-size: 32px;
    font-weight: 600;
}

.service .s2 .t1 {
    line-height: 2em;
    margin: 3em 0;
}

.service .s2 .text ul {
    display: grid;
    justify-content: space-between;
    grid-template-columns: 48% 48%;
}

.service .s2 .t2 {
    position: relative;
    font-size: 21px;
    border-bottom: #9D1E23 1px solid;
    padding: 0 0 20px 40px;
    margin-bottom: 20px;
}

.service .s2 .t2:before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 30px;
    height: 30px;
    background: url("../images/service_s2_icon.svg");
    background-size: cover;
}

.service .s2 .t3 {
    line-height: 2em;
}

.service .s2 .image {
    position: relative;
    aspect-ratio: 1/1;
}

.service .s2 .image img {
    position: absolute;
    z-index: 2;
    width: 49%;
}

.service .s2 .image img:nth-child(1) {
    top: 0;
    left: 0;
}

.service .s2 .image img:nth-child(2) {
    top: 0;
    right: 0;
}

.service .s2 .image img:nth-child(3) {
    bottom: 0;
    left: 0;
}

.service .s2 .image img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.service .s2 .image img:nth-child(5) {
    width: 30%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.service .s2 .image img:nth-child(6) {
    width: 60%;
    top: 61%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/*SERVICE_S3-----------------*/
.service .s3 {
    background: rgba(246, 246, 246, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 160px 0;
}

.service .s3 .out {
    display: grid;
    grid-template-columns: 17% 83%;
}

.service .s3 .en {
    font-family: var(--lato);
    font-style: italic;
    font-size: 28px;
    color: var(--red);
}

.service .s3 .tw {
    position: relative;
    font-size: 28px;
    padding: 0.5em 0 1em;
    font-weight: 600;
}

.service .s3 .tw:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 78px;
    height: 1px;
    background: var(--red);
}

.service .s3 .text {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 45px;
}

.service .s3 li img {
    width: 100%;
    border-radius: 60px 0 0 0;
}

.service .s3 .t1 {
    font-size: 28px;
    color: var(--red);
    margin-top: 1.4em;
}

.service .s3 .t2 {
    font-size: 21px;
    line-height: 1.3em;
    margin: 1em 0;
}

.service .s3 .text ul {
    list-style: disc;
    line-height: 1.7em;
    margin-left: 1.2em;
}

.service .s3 .text ul li::marker {
    color: #088380;
}

.service .pagebm {
    z-index: 1;
}

@media only screen and (max-width:1200px) {
    .service .s2 .text ul {
        display: block;
    }

    .service .s2 .text li {
        margin-bottom: 50px;
    }

    .service .s3 .title {
        margin-bottom: 50px;
    }

    .service .s3 .out {
        display: block;
    }
}

/*ABOUT-----------------------------------------*/

/*ABOUT_S2-----------------*/
.about .box {
    position: relative;
}

.about .box .c1 {
    width: 1970px;
    left: 50%;
    top: -300px;
    margin-left: -2150px;
}

.about .box .c2 {
    width: 500px;
    left: 50%;
    bottom: 400px;
    margin-left: -900px;
}

.about .s2 {
    padding: 25% 0 90px;
    text-align: center;
    background: linear-gradient(rgba(201, 201, 201, 0), rgba(201, 201, 201, 0.2));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.about .s2 .t1 {
    position: relative;
    font-size: 29px;
    font-weight: 600;
    padding-bottom: 1em;
}

.about .s2 .t1:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 190px;
    height: 1px;
    background: var(--red);
    margin-left: -95px;
}

.about .s2 .t2 {
    max-width: 1050px;
    line-height: 2em;
    text-align: center;
    margin: 2em auto 0;
}

/*ABOUT_S3-----------------*/
.about .s3 {
    padding: 160px 0;
}

.about .s3 .out {
    max-width: 1460px;
    display: grid;
    align-items: flex-start;
    grid-template-columns: 48% auto;
}

.about .s3 .en {
    font-family: var(--lato);
    font-size: 20px;
    font-style: italic;
    color: var(--red);
}

.about .s3 .tw {
    font-size: 30px;
    font-weight: 600;
    margin: 1em 0 1.5em;
}

.about .s3 .t1 {
    line-height: 2em;
}

.about .s3 li {
    margin-bottom: 80px;
}

.about .s3 .image {
    position: relative;
    aspect-ratio: 1/1.7;
}

.about .s3 .image img {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}

.about .s3 .image .img {
    width: 148%;
    left: -10%;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
}

.about .s3 .image .img1 {
    width: 24%;
    top: 11%;
    left: 79%;
}

.about .s3 .image .img2 {
    width: 40%;
    bottom: 14%;
    left: 12%;
}

.about .s3 .image .img3 {
    width: 22%;
    bottom: 9%;
    left: 61%;
}

/*NEWS-----------------------------------------*/
.news.in .box {
    position: relative;
}

.news .box .c1 {
    width: 510px;
    position: absolute;
    bottom: 300px;
    left: 50%;
    margin-left: -900px;
}

/*NEWS_LIST-----------------*/
.news.list .s2,
.news.list .info {
    padding: 90px 0;
}

.news .box {
    position: relative;
}

.news.list .box .c1 {
    margin-left: -850px;
}

.news.list .c2 {
    width: 130px;
    left: 50%;
    bottom: 1100px;
    margin-left: -900px;
}

.news.list .c3 {
    width: 65px;
    right: 50%;
    bottom: 800px;
    margin-right: -900px;
}

/*NEWS_TAB*/
.news .tab {
    max-width: 1200px;
    margin: 0 auto;
}

.news .tab div {
    display: none;
}

.news .tab ul {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.news .tab li {
    width: 100%;
}

.news .tab a {
    display: block;
    border: #9E9F9F 1px solid;
    text-align: center;
    padding: 1em 0;
    border-radius: 30px;
    transition: 0.2s;
}

.news .tab a:hover {
    color: var(--green);
}

.news .tab .active a {
    color: #FFFFFF;
    background: var(--green);
}

/*NEWS_INFO*/
.news .info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px 4%;
}

.news .info a {
    display: block;
}

.news .info .image {
    border-radius: 15px;
    overflow: hidden;
}

.news .info img {
    width: 100%;
    aspect-ratio: 4/3;
    transition: 0.2s;
}

.news .info a:hover img {
    transform: scale(1.1);
}

.news .info .t1 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3em;
    height: 1.3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    margin-top: 1.5em;
    transition: 0.2s;
}

.news .info a:hover .t1 {
    color: var(--red);
}

.news .info .t2 {
    line-height: 1.7em;
    margin: 1em 0;
    height: 3.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news .info .date {
    font-family: var(--lato);
    font-size: 15px;
    font-style: italic;
    color: var(--red);
}

/*NEWS_IN-----------------*/
.pagein.news .s1 {
    height: 285px;
}

/*NEWS_IN_S2*/
.news.in .s2 {
    padding: 90px 0;
    text-align: center;
}

.news.in .s2 .box {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.news.in .s2 .date {
    font-family: var(--lato);
    font-style: italic;
    color: var(--red);
    font-size: 24px;
    padding-bottom: 1em;
}

.news.in .s2 .t1 {
    position: relative;
    font-size: 32px;
    line-height: 1.3em;
}

.news.in .s2 .t2 {
    position: relative;
    line-height: 1.5em;
    padding: 1em 0 1.5em;
    margin-bottom: 2em;
}

.news.in .s2 .t2:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #C8C9C9;
    border-left: var(--red) 4em solid;
}

.news.in .s2 .edit {
    line-height: 2em;
    margin-bottom: 90px;
}

.news.in .s2 .edit img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 2em 0;
    border-radius: 20px;
}

.news.in .s2 .edit table {
    width: 100%;
    min-width: 900px;
}

.news.in .s2 .edit td,
.news.in .s2 .edit th {
    border: #BFBFBF 1px solid;
    padding: 10px;
}

.news.in .s2 .edit ol {
    margin-left: 1.2em;
}

/*CONTACT-----------------------------------------*/
.contact .box {
    position: relative;
}

.contact .box .circle {
    left: 50%;
}

.contact .box .c1 {
    top: 1100px;
    margin-left: -1400px;
}

.contact .box .c2 {
    width: 76px;
    top: 250px;
    z-index: 1;
    margin-left: -800px;
}

/*CONTACT_S2-----------------*/
.contact .s2 {
    padding: 25% 0 400px;
    background: linear-gradient(rgba(201, 201, 201, 0), rgba(201, 201, 201, 0.2));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding-bottom: 90px;
}

.contact .s2 .out {
    max-width: 1200px;
}

.contact .s2 .top {
    line-height: 2em;
    text-align: center;
    padding-bottom: 90px;
}

.contact .s2 .info {
    display: flex;
    justify-content: space-between;
}

.contact .s2 .en {
    font-family: var(--lato);
    font-size: 26px;
    font-style: italic;
    color: var(--red);
    white-space: nowrap;
}

.contact .s2 .tw {
    font-size: 30px;
    margin-top: 0.5em;
}

.contact .s2 ul {
    width: 925px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact .s2 .img {
    width: 80px;
    min-width: 80px;
    height: 80px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.contact .s2 img {
    max-height: 40%;
    max-width: 40%;
}

.contact .s2 li {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact .s2 .text {
    border-bottom: rgba(0, 0, 0, 0.2) 1px solid;
    padding: 1em 0;
    font-size: 18px;
    display: flex;
    width: 100%;
}

.contact .s2 .text span {
    width: 5em;
}

@media only screen and (max-width:1300px) {
    .contact .s2 .info {
        display: block;
    }

    .contact .s2 .info .title {
        margin-bottom: 50px;
    }
}

/*CONTACT_S3-----------------*/
.contact .s3 {
    text-align: center;
    padding-bottom: 90px;
}

.contact .s3 .out {
    max-width: 1300px;
}

.contact .s3 .en {
    font-family: var(--lato);
    font-style: italic;
    font-size: 26px;
    color: var(--red);
    margin-top: -300px;
}

.contact .s3 .tw {
    font-size: 28px;
    font-weight: 600;
    margin: 0.7em 0 2em;
}

.contact .s3 iframe {
    border: #FFFFFF 10px solid;
    width: 100%;
    height: 470px;
    box-sizing: border-box;
    box-shadow: 3px 3px 9px rgba(0, 0, 0, 0.1);
}

.contact .s3 a {
    position: relative;
    display: block;
    width: 150px;
    font-size: 14px;
    line-height: 35px;
    border: #9E9F9F 1px solid;
    margin: 55px auto 0;
    border-radius: 20px;
    transition: 0.2s;
}

.contact .s3 a:hover {
    width: 170px;
}

.contact .s3 a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    border-style: solid;
    border-width: 3px 0 3px 6px;
    border-color: transparent transparent transparent var(--red);
    margin-top: -3px;
}

/*COMMON--------------------------------------------------------------------*/

/*HEADER-----------------------------------------*/
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}

.header .mb_bt,
.header .mb,
.header .log {
    display: none;
}

.header .logo {
    display: block;
    position: absolute;
    top: 50%;
    left: 6%;
    z-index: 1;
    width: 60%;
    max-width: 160px;
    transform: translateY(-50%);
}

.header .logo img {
    width: 100%;
}

.header .pc .menu {
    display: flex;
    justify-content: flex-end;
    gap: 0 3em;
    padding: 25px 0;
    font-size: 19px;
    transition: 0.2s;
}

.header .pc .menu a {
    position: relative;
    display: block;
    line-height: 50px;
    transition: 0.2s;
}

.header .pc .menu a:hover {
    color: var(--red);
}

.header .pc .menu a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--red);
    transform: translateX(-50%);
    transition: 0.2s;
}

.header .pc .menu a:hover:after {
    width: 2em;
}

.header .pc .menu .log {
    display: block;
}

.header .log {
    color: #FFFFFF !important;
    background: var(--red);
    padding: 0 25px;
    font-size: 16px;
    border-radius: 30px;
}

.header .pc .menu .log:after {
    display: none;
}

.header .log:hover {
    background: #B82329;
}

.header .log img {
    height: 20px;
    margin-left: 5px;
}

#login {
    display: none;
    width: 100%;
    max-width: 650px;
    padding: 0;
    border: var(--green) 2px solid;
    border-radius: 20px;
    text-align: center;
    font-size: 26px;
}

#login .fancybox-close-small {
    top: 20px;
    right: 20px;
    opacity: 1;
    border: var(--green) 1px solid;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    padding: 4px;
    color: var(--green);
}

#login .fancybox-close-small svg {
    display: block;
    width: 30px;
    height: 30px;
    transition: 0.2s;
}

#login .fancybox-close-small:hover svg {
    transform: rotate(90deg);
}

#login .top {
    padding: 1em;
    background: #F7F7F7;
    text-align: left;
}

#login .top div {
    border-left: var(--green) 4px solid;
    padding-left: 0.5em;
    color: var(--green);
}

#login .box {
    padding: 2em 1em;
}

#login .text {
    font-size: 20px;
    margin-bottom: 1.5em;
}

#login a {
    max-width: 380px;
    display: block;
    border: #C8C9C9 2px solid;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 1em;
    transition: 0.2s;
}

#login a:hover {
    border-color: var(--green);
}

#login img {
    width: 100%;
}

#login .ps {
    font-size: 17px;
    color: #595757;
    line-height: 1.5em;
    margin-top: 4em;
}

div.fancybox-container {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

div.fancybox-is-open .fancybox-bg {
    opacity: 0.7;
}

/*STYLES-----------------------------------------*/

/*MORE_LINK-----------------*/
a .more,
a.more {
    display: inline-block;
    position: relative;
    width: 165px;
    line-height: 2.5em;
    font-size: 16px;
    text-align: center;
    border: var(--green) 1px solid;
    border-radius: 30px;
    transition: color 0.2s, background 0.2s;
}

a:hover .more,
a.more:hover {
    color: #FFFFFF !important;
    background: var(--green) !important;
}

a .more:before,
a.more:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 13px;
    z-index: 1;
    width: 18px;
    height: 1px;
    background: var(--green);
    transition: 0.2s;
}

a .more.back:before,
a.more.back:before {
    left: 13px;
    right: auto;
}

a:hover .more:before,
a.more:hover:before {
    background: #FFFFFF;
}

a .more:after,
a.more:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 1;
    width: 8px;
    height: 8px;
    border-color: var(--green);
    border-style: solid;
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: 0.2s;
}

a .more.back:after,
a.more.back:after {
    left: 14px;
    right: auto;
    border-width: 0 0 1px 1px;
}

a:hover .more:after,
a.more:hover:after {
    border-color: #FFFFFF;
}

/*PAGEIN_S1-----------------*/
.pagein .s1 {
    position: relative;
    z-index: 1;
    background: #F7F7F7;
    height: 475px;
    text-align: center;
}

.pagein .s1 .en {
    font-family: var(--lato);
    font-size: 80px;
    font-weight: 300;
    font-style: italic;
    color: var(--red);
    padding: 0.9em 0 0.3em;
}

.pagein .s1 .tw {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3em;
    letter-spacing: 0.1em;
}

.pagein .s1 .image {
    margin-top: 70px;
    border-radius: 20px;
    overflow: hidden;
}

.pagein .s1 img {
    width: 100%;
}

/*PAGETOP-----------------------------------------*/
body a.pagetop {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 500;
    background: #FFFFFF;
    opacity: 0.8;
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: opacity 0.2s;
}

body a.pagetop:hover {
    opacity: 1 !important;
}

body a.pagetop:after {
    content: "";
    border: solid var(--green);
    border-width: 0px 3px 3px 0px;
    padding: 5px;
    display: inline-block;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: rotate(-135deg) translate(-50%, -50%);
    transform-origin: left top;
}

/*PAGE_NUMBER-----------------------------------------*/
.page_number {
    font-family: Arial;
    text-align: center;
    color: #000000;
}

.page_number ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
    overflow: hidden;
    padding-bottom: 5px;
}

.page_number li select {
    cursor: pointer;
    padding: 0 10px 0 0;
}

.page_number li.page_select {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0px 25px 0 20px;
    cursor: pointer;
}

.page_number li.page_select .select_box {
    display: inline-block;
    position: relative;
    margin-right: 10px;
}

.page_number li.page_select .select_box:after {
    content: "";
    position: absolute;
    top: 50%;
    border-style: solid;
    border-width: 8px 4px 0 4px;
    border-color: var(--green) transparent transparent transparent;
    margin-top: -4px;
    transition: 0.2s;
}

.page_number a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #FFFFFF;
    border: #9E9F9F 1px solid;
    border-radius: 50%;
    vertical-align: middle;
    position: relative;
    transition: 0.2s;
}

.page_number a:hover {
    background: var(--green);
    border-color: var(--green);
}

.page_number li a:after {
    content: "";
    position: absolute;
    top: 50%;
    border-style: solid;
    border-color: var(--green);
    border-width: 0px 1px 1px 0px;
    padding: 5px;
    margin-top: -14%;
    transition: 0.2s;
}

.page_number a:hover:after {
    border-color: #FFFFFF;
}

.page_number li.page_prev a:after {
    right: 32%;
    transform: rotate(135deg);
}

.page_number li.page_next a:after {
    left: 32%;
    transform: rotate(-45deg);
}

.page_number li select {
    border: none;
    font-family: Arial;
    font-size: 24px;
    font-weight: 500;
    border-radius: 5px;
    background: none;
    text-align-last: center;
    transition: 0.2s;
}

.page_number li .select_box:hover select {
    color: var(--green);
}

.page_number span {
    color: #9E9F9F;
}

/* LINE Floating Button & Popup */
.line-floating-wrapper {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* 主按鈕 */
.line-floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background-color: #06c755;
    /* LINE 綠 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s;
    padding: 0;
}

.line-floating-btn img {
    width: 28px;
    height: 28px;
}

.line-floating-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* 彈出視窗 */
.line-popup {
    position: absolute;
    right: 72px;
    /* 視覺上貼近按鈕 */
    bottom: 0;
    width: 260px;
    max-width: 80vw;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

/* 顯示狀態 */
.line-popup.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.line-popup-header {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
}

.line-popup-close {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 4px;
    color: #999;
}

.line-popup-close:hover {
    color: #666;
}

.line-popup-body {
    padding: 10px 12px 12px;
    font-size: 13px;
    color: #444;
}

.line-popup-body p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.line-popup-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 999px;
    background-color: #06c755;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(6, 199, 85, 0.4);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.line-popup-link:hover {
    background-color: #04a745;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(6, 199, 85, 0.5);
}

.line-popup-qrcode {
    display: block;
    margin-top: 8px;
    max-width: 100%;
    border-radius: 8px;
}

/* 手機小螢幕調整 */
@media (max-width: 600px) {
    .line-floating-wrapper {
        right: 14px;
        bottom: 14px;
    }

    .line-floating-btn {
        width: 52px;
        height: 52px;
    }

    .line-popup {
        right: 0;
        bottom: 64px;
        width: 280px;
        max-width: 92vw;
    }
}


/*FOOTER-----------------------------------------*/
.footer {
    border-bottom: var(--green) 10px solid;
}

.footer .out {
    max-width: 1200px;
}

/*FOOTER_TOP-----------------*/
.footer .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    border-bottom: #E0E0E0 1px solid;
}

.footer .top .left {
    display: flex;
    align-items: center;
    line-height: 1.5em;
}

.footer .top .left div {
    position: relative;
    padding-left: 60px;
}

.footer .top .left div:before {
    content: "";
    position: absolute;
    left: 27px;
    bottom: -5px;
    width: 1px;
    height: 110%;
    background: var(--red);
    transform: rotate(45deg);
    transform: left bottom;
}

.footer .top .left img {
    width: 165px;
}

.footer .top .right {
    width: 600px;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
}

.footer .top .right li {
    position: relative;
    padding-left: 25px;
}

.footer .top .right img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    transform: scale(0.8) translateY(-50%);
}

.footer .top .right li {
    margin: 0.5em 0;
}

.footer .top .right li.add img {
    width: 14px;
    left: 3px;
}

/*FOOTER_BM-----------------*/
.footer .bm {
    font-size: 13px;
    padding: 1.5em 0;
}

@media only screen and (max-width:1200px) and (min-width:1001px) {
    .footer .top {
        font-size: 1.4vw;
    }

    .footer .top .right {
        width: 55%;
    }
}

/*MOBILE----------------------------------------------------------------------------*/
@media only screen and (max-width:1000px) {
    /*HOME-----------------------------------------*/

    /*HOME_S1-----------------*/
    .home .s1 {
        height: auto;
        min-height: 0;
        aspect-ratio: 100/114;
        background: #F7F7F7;
    }

    .home .s1:after {
        background: url("../images/home_s1_mb.png");
        background-size: cover;
    }

    .home .s1 .out {
        font-size: 9vw;
        text-shadow: 0 0 1vw #FFFFFF;
    }

    .home .s1 .t1 {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .home .s1 .t1:after {
        display: none;
    }

    .home .s1 .t2 {
        opacity: 0;
    }

    /*HOME_S2-----------------*/
    .home .s2 {
        padding: 60px 0;
    }

    .home .s2 .out {
        display: block;
    }

    .home .s2 .text {
        width: auto;
    }

    .home .s2 .image {
        width: 100%;
    }

    .home .s2 .en,
    .home .s3 .en,
    .home .s5 .en {
        font-size: var(--title_mb_en);
    }

    .home .s2 .tw,
    .home .s3 .tw,
    .home .s3 .t1,
    .home .s4 .t1,
    .home .s5 .tw,
    .home .s6 .t1 {
        font-size: var(--title_mb_tw);
    }

    /*HOME_S3-----------------*/
    .home .s3 ul {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }

    .home .s3 .t1 div {
        max-width: 52px;
    }

    .home .s3 .t2 {
        margin: 1em 0 1.5em;
    }

    /*HOME_S4-----------------*/
    .home .s4 {
        padding: 20px 0 0;
    }

    .home .s4 .mb {
        position: relative;
        display: block;
        width: 100%;
    }

    .home .s4 .text {
        background: none;
        height: auto;
        justify-content: flex-start;
        padding: 60px 0;
    }

    .home .s4 .text a {
        width: auto;
        max-width: none;
        color: #222222;
        text-shadow: none;
    }

    .home .s4 .t2 {
        margin: 2em 0;
    }

    /*HOME_S5-----------------*/
    .home .s5 .out {
        display: block;
    }

    .home .s5 .top {
        font-size: 21px;
    }

    .home .s5 .splide__arrow {
        width: 40px;
        height: 40px;
        top: auto;
        transform: none;
        bottom: -80px;
    }

    .home .s5 .splide__arrow--prev {
        left: 50%;
        margin-left: -50px;
    }

    .home .s5 .splide__arrow--next {
        right: 50%;
        margin-right: -50px;
    }

    .home .s5 .splide__pagination__page {
        display: none;
    }

    /*PAGEBM-----------------*/
    .pagebm .out {
        height: auto;
        padding: 60px 10%;
        font-size: 30px;
    }

    .pagebm img {
        position: static;
        margin-right: 0;
        width: 100%;
        height: auto;
    }

    /*SERVICE-----------------------------------------*/

    /*SERVICE_S2-----------------*/
    .service .s2 .out {
        display: block;
    }

    .service .s2 .image {
        max-width: 500px;
        margin: 0 auto 70px;
    }

    .service .s2 .en,
    .service .s3 .en {
        font-size: var(--title_mb_en);
    }

    .service .s2 .tw,
    .service .s3 .tw,
    .service .s3 .t1 {
        font-size: var(--title_mb_tw);
    }

    /*SERVICE_S3-----------------*/
    .service .s3 {
        padding: 90px 0 1px;
    }

    .service .s3 .title {
        text-align: center;
    }

    .service .s3 .tw:after {
        left: 50%;
        margin-left: -39px;
    }

    .service .s3 .text {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }

    .service .s3 .text>li {
        margin-bottom: 90px;
    }

    .service .s3 .t2 {
        font-size: 18px;
    }

    /*ABOUT-----------------------------------------*/

    /*ABOUT_S2-----------------*/
    .about .s2 {
        padding: 22% 0 60px;
    }

    /*ABOUT_S3-----------------*/
    .about .s3 {
        padding: 60px 0;
    }

    .about .s3 .out {
        display: block;
    }

    .about .s3 .image {
        aspect-ratio: 11/13;
    }

    .about .s3 .image .img {
        width: 100%;
        left: 0;
    }

    .about .s3 .image .img1 {
        width: 16%;
        top: 11%;
        left: 60%;
    }

    .about .s3 .image .img2 {
        width: 27%;
        bottom: 16%;
        left: 14%;
    }

    .about .s3 .image .img3 {
        width: 14%;
        bottom: 12%;
        left: 49%;
    }

    /*NEWS-----------------------------------------*/

    /*NEWS_LIST-----------------*/
    .news.list .s2,
    .news.list .info {
        padding: 60px 0;
    }

    /*NEWS_TAB*/
    .news .tab {
        max-width: 200px;
        position: relative;
        z-index: 1;
        margin: 0 auto;
    }

    .news .tab div {
        display: block;
        position: relative;
        line-height: 50px;
        border: var(--green) 1px solid;
        text-align: center;
        cursor: pointer;
        background: #FFFFFF;
        border-radius: 10px;
    }

    .news .tab div.active {
        border-bottom: #F7F7F7 1px solid;
        border-radius: 10px 10px 0 0;
    }

    .news .tab div:after {
        content: "";
        position: absolute;
        right: 20px;
        top: 50%;
        border-style: solid;
        border-width: 6px 3px 0 3px;
        border-color: var(--green) transparent transparent transparent;
        margin-top: -3px;
    }

    .news .tab ul {
        display: block;
        position: absolute;
        width: 100%;
        background: #F7F7F7;
        border-style: solid;
        border-color: var(--green);
        border-width: 0 1px 1px 1px;
        box-sizing: border-box;
        border-radius: 0 0 10px 10px;
        transform-origin: top;
        transform: scaleY(0);
        transition: transform 0.2s;
    }

    .news .tab div.active+ul {
        transform: scaleY(1);
    }

    .news .tab a {
        border: none;
        transition: 0.2s;
    }

    .news .tab .active a,
    .news .tab a:hover {
        color: var(--green);
        background: none;
    }

    .news .tab a:before {
        content: "";
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 0;
        height: 1px;
        background: #EDEDED;
    }

    /*NEWS_INFO*/
    .news .info {
        justify-content: center;
        grid-template-columns: repeat(auto-fit, minmax(auto, 400px));
    }

    /*NEWS_IN-----------------*/
    .news.in .s2 {
        padding: 60px 0;
    }

    .news.in .s2 .edit {
        margin-bottom: 60px;
    }

    .news.in .edit .scroll {
        padding-bottom: 70px;
        background: url("../images/scroll_img.png") bottom 20px center no-repeat;
        background-size: auto 30px;
        overflow: auto;
    }

    /*CONTACT-----------------------------------------*/

    /*CONTACT_S2-----------------*/
    .contact .s2 {
        padding-top: 20%;
    }

    .contact .s2 .top {
        padding-bottom: 60px;
    }

    .contact .s2 ul {
        width: auto;
        grid-template-columns: repeat(auto-fit, minmax(auto, 330px));
        gap: 30px;
    }

    .contact .s2 .img {
        width: 50px;
        min-width: 50px;
        height: 50px;
    }

    .contact .s2 .text {
        display: block;
    }

    .contact .s2 .text span {
        display: block;
        margin-bottom: 0.7em;
    }

    /*CONTACT_S3-----------------*/
    .contact .s3 {
        text-align: center;
        padding-bottom: 60px;
    }

    /*COMMON--------------------------------------------------------------------*/

    /*HEADER-----------------------------------------*/
    .header .out {
        height: 60px;
    }

    .header .logo {
        max-width: 100px;
        left: 20px;
    }

    .header .pc {
        display: none;
    }

    /*HEADER_MB_BUTTON-----------------*/
    .header .mb_bt,
    .header .mb,
    .header .log {
        display: block;
    }

    .header .log {
        position: absolute;
        top: 15px;
        right: 80px;
        display: inline-block;
        font-size: 12px;
        line-height: 30px;
        padding: 0 10px;
    }

    .header .log img {
        height: 12px;
        margin-left: 5px;
    }

    .header .mb_bt {
        position: absolute;
        top: 50%;
        right: 20px;
        z-index: 1;
        width: 40px;
        height: 40px;
        margin-top: -20px;
        text-align: left;
        cursor: pointer;
    }

    .header .mb_bt span {
        height: 1px;
        width: 40px;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        background: #000000;
        transition: 0.3s;
        display: block;
    }

    .header .mb_bt span:before,
    .header .mb_bt span:after {
        content: "";
        height: 1px;
        position: absolute;
        right: 0;
        background: #000000;
        transition: 0.3s;
    }

    .header .mb_bt span:before {
        top: -8px;
        width: 40px;
    }

    .header .mb_bt span:after {
        top: 8px;
        width: 40px;
    }

    .header .mb_bt.active span:before {
        top: 0;
        transform: rotate(45deg);
    }

    .header .mb_bt.active span:after {
        top: 0;
        transform: rotate(-45deg);
    }

    .header .mb_bt.active:hover span {
        transform: rotate(-90deg);
    }

    .header .mb_bt.active span:before {
        top: 0;
        transform: rotate(45deg);
    }

    .header .mb_bt.active span:after {
        top: 0;
        transform: rotate(-45deg);
    }

    .header .mb_bt.active:hover span {
        transform: rotate(-90deg);
    }

    .header .mb_bt.active span {
        background: none;
    }

    /*HEADER_MENU-----------------*/
    .header .mb {
        position: fixed;
        top: 60px;
        bottom: 0;
        left: 0;
        width: 100%;
        overflow-y: auto;
        background: #F7F7F7;
        transform: translateX(100%);
        transition: 0.3s ease-in-out;
        -webkit-overflow-scrolling: touch;
    }

    .header .mb.active {
        transform: translateX(0);
    }

    .header .mb .menu {
        padding: 40px 40px 100px;
    }

    .header .mb .menu a {
        display: block;
        font-size: 20px;
        padding: 1em 0;
        position: relative;
        cursor: pointer;
        border-bottom: #ECECEC 1px solid;
        transition: 0.2s;
    }

    .header .mb .menu a:hover {
        color: var(--red);
    }

    .header .mb .menu li:last-child {
        display: none;
    }

    /*STYLES-----------------------------------------*/

    /*PAGEIN_S1-----------------*/
    .pagein .s1 {
        height: 350px;
    }

    .pagein.news .s1 {
        height: 240px;
    }

    .pagein .s1 .en {
        font-size: 60px;
        padding: 1em 0 0.5em;
    }

    .pagein .s1 .image {
        margin-top: 50px;
    }

    /*FOOTER-----------------------------------------*/

    /*FOOTER_TOP-----------------*/
    .footer .top {
        display: block;
        padding: 30px 0;
    }

    .footer .top .left {
        display: block;
        text-align: center;
    }

    .footer .top .left div {
        padding: 10px 0;
    }

    .footer .top .left div:before {
        display: none;
    }

    .footer .top .right {
        display: block;
        width: auto;
        font-size: 16px;
        max-width: 330px;
        margin: 0 auto;
    }

    .footer .top .right li {
        margin: 1.5em 0;
    }

    .footer .top .right li span {
        display: inline-block;
        width: 3.8em;
    }

    /*FOOTER_BM-----------------*/
    .footer .bm {
        text-align: center;
    }
}