@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Louis George Cafe';
    src: url('../fonts/Louis George Cafe.ttf') format("truetype"),
        url('../fonts/Louis George Cafe.eot') format("embedded-opentype");
}

html,
body {
    height: 100%;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', "Microsoft JhengHei UI", "微軟正黑體", "Microsoft JhengHei UI", sans-serif;
    color: #000;
    background-image: url(../images/bg.png);
    background-position: left top;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -webkit-text-size-adjust: 100%;

}

body.no-scroll {
    overflow: hidden;
    height: 100%;
}

* {
    box-sizing: border-box;
}

a {
    color: #000;
    text-decoration: none;
    outline: none;
    transition: all 0.4s;
}

a:hover {
    color: #e51f1f;
}

button {
    transition: all 0.4s;
}

p {
    font-size: 1.8rem;
    color: #222;
    font-weight: 400;
    line-height: 1.7;
}

.wrap {
    padding-top: 120px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 120px;
    border-bottom: 1px solid #cbcbcb;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-image: url(../images/bg.png);
    background-position: left top;
    background-repeat: no-repeat;
    background-color: #fff;
    transition: all 0.4s;
}

header.header-shadow {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease;
}

h1 {
    
}

h1 a {
    display: block;
    width: 189px;
    height: 80px;
    background-image: url(../images/logo.png);
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;
    text-indent: -9999px;
}

h2 {
    font-size: 4.2rem;
}

h3 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h4 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

h5 {
    font-size: 1.8rem;
    color: #000;
    font-weight: 400;
}

label.form-check-label {
    /*display: inline-block;*/
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    position: relative;
    padding-left: 25px;
    padding-top: 0px;
    margin-bottom: 0em;
    margin-right: 7px;
    margin-top: 10px;
    cursor: pointer;
}

input[type="checkbox"].form-check-input {
    display: none;
}

label.form-check-label::before {
    content: '';
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    background: #FFF;
    border: 1px solid #e51f1f;
    margin-top: 0px;
    left: 0;
    top: 4px;
    box-sizing: border-box;
}

input[type="checkbox"]:checked+label.form-check-label::after {
    /*background: #a46952;*/
    background-image: url(../images/checked.png);
    background-repeat: no-repeat;
    background-position: center;
    /*box-shadow: 1px 1px 5px white;*/
}

label.form-check-label::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 9px;
    /*border-radius: 15px;*/
    margin-top: -3px;
    left: 4px;
    top: 13px;
    overflow: hidden;
    transition: all 0.2s;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 35px;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 20px;
}

.btn.normal a {
    color: #fff;
    background-color: #e51f1f;
}

.btn.normal a:hover {
    background-color: #eee;
    color: #000;
}

.btn.normal a:after {
    margin: 3px 0 0 3px;
    content: " ";
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url(../images/arrow-incline-white.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
    transition: all 0.4s;
}

.btn.normal a:hover:after {
    background: url(../images/arrow-incline-black.png) no-repeat;
    background-size: contain;
}

/* SCROLLER SETTING START */

/* width */
textarea::-webkit-scrollbar {
    width: 5px;
}

/* Track */
textarea::-webkit-scrollbar-track {
    background: #e8e8e8;
}

textarea::-webkit-scrollbar-track:hover {
    background: #eee;
}

/* Handle */
textarea::-webkit-scrollbar-thumb {
    background-color: #333;
    cursor: default;
}

/* Handle on hover */
textarea::-webkit-scrollbar-thumb:hover {
    background: #e51f1f;
}

/* SCROLLER SETTING END */
.menu-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu {
    margin-right: 25px;
}

.menu ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.menu ul li {
    display: block;
}

.menu ul li a {
    position: relative;
    display: block;
    padding: 10px 0px;
    font-size: 1.8rem;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}

.menu ul li a:hover {}

.menu ul li a:after {
    background-color: #e51f1f;
    position: absolute;
    bottom: -37px;
    left: 0;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    content: '';
    width: 100%;
    height: 5px;
    transition: transform .5s ease-out;
}

.menu ul li a:hover:after {
    transform: scaleX(1);
}

/* hamburger */
.hamburger {
    width: 30px;
    cursor: pointer;
    display: none;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    margin: 6px 0;
}

/* --- Language Dropdown --- */
.language {
    position: relative;
}

.language-btn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    /* width: 60px; */
    height: 30px;
    text-decoration: none;
    padding-left: 28px;
    outline: none;
    background-image: url(../images/language-icon.png);
    background-size: 25px;
    background-position: left center;
    background-repeat: no-repeat;
}

.language-btn:hover {
    color: #e51f1f;
    background-image: url(../images/language-icon-o.png);
}

.language-btn.active {
    color: #e51f1f;
    font-weight: 600;
    background-image: url(../images/language-icon-o.png);
}

/* 下拉選單外層 */
.language ul {
    display: none;
    margin: 0;
    padding: 0;
    /* ✨ 改成 padding，而不是 li margin，避免 hover 斷層 */
    list-style: none;
    position: absolute;
    top: 100%;
    /* ✨ 緊貼 language-btn 底部 */
    right: 0px;
    background: #ffffff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.24);
    /* border-radius: 12px; */
    z-index: 999;
}

/* 下拉內部項目 */
.language ul li {
    display: block;
    padding: 0;
    /* ✨ 使用 padding 取代 margin-bottom */
    border-bottom: 1px solid #222222;
}

.language ul li:last-child {
    border-bottom: none;
    /* 最後一個不要線 */
}

/* 文字樣式 */
.language li a {
    display: block;
    /* padding: 0px 12px; */
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 10px 24px;
}

/* hover */
.language li a:hover {
    background: #e51f1f;
    color: #fff;
}

.main {}

section {
    margin-bottom: 100px;
}

/* must be same height as the footer */
footer {
    position: relative;
}

footer {
    background-image: url(../images/bg-footer.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
}

footer .footer-wrap {
    width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 120px;
    height: auto;
}

.company-title {
    font-size: 1.6rem;
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact ul li {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.footer-contact ul li:nth-last-child(1) {
    margin-bottom: 0px;
}

.footer-contact ul li span {
    font-family: 'Louis George Cafe', sans-serif;
    width: 24px;
    height: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    background-color: #e51f1f;
    border-radius: 15px;
    margin-right: 5px;
}

.footer-nav {
    width: 240px;
    border-left: 4px solid #e51f1f;
    padding-left: 30px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
}

.footer-nav ul li a {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.footer-nav ul li a:hover {
    text-decoration: underline;
    color: #e51f1f;
    text-underline-offset: 5px;
}

.footer-nav ul li a:hover:after {
    margin: -3px 0 0 3px;
    content: " ";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(../images/arrow-incline-red.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    ;
}

.footer-copyright ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid rgba(255255, 255, 255, 0.5);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.copyright-text {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 300;
}
.copyright-text a {
    color: #ccc;
    font-weight: 500;
    margin-left: 10px;
}
.copyright-text a:hover{
    color: #e51f1f;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.tryout {
    position: fixed;
    width: 50px;
    bottom: 30px;
    right: 0px;
    z-index: 1000;

}

.tryout a {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #ff2b43;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.24);
    transition: all 0.4s;
    margin-bottom: 10px;
}

.tryout a:hover {
    background-color: #ffde00;
}

.tryout a:hover .tryout-wording {
    color: #000;
}

.tryout-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e51f1f;
}

.tryout-icon img {
    width: 25px;
    height: 25px;
}

.tryout a.line-contact-btn {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00c300;
}

.line-icon img {
    width: 30px;
    height: 30px;
}

.tryout-wording {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 5px;
    writing-mode: vertical-rl;
    padding: 15px 0;
}

.tryout a.to-top-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 25px;
    background-color: #8b8b8b;
    margin-bottom: 0px;
}

.tryout a.to-top-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-index {
    display: block;
}

.lightbox-index-wrap {
    width: 600px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    background-color: #fff;
    border: 1px solid #d7d7d7;
    padding: 20px 50px;
    margin-top: 100px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    box-shadow: 0px 6px 16px 0px rgb(0 0 0 / 12%);
    z-index: 9999;
}

.bg_close {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
}

.book-modal-box .w3-btn,
span.w3-close.w3-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    font-size: 1.9rem;
    color: #fff;
    line-height: 0.9;
    font-weight: 600;
    text-align: center;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px;
    padding: 7px;
    transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    background-color: #e51f1f;
    top: 20px;
    right: 10px;
}

span.w3-close.w3-button:hover {
    color: #333;
    background-color: #eee;
}

.modal-body {
    width: 100%;
}

.owl-carousel.owl-lightbox-index .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    background-color: transparent;
    margin: 5px;
    outline: none;
}

.owl-carousel.owl-lightbox-index .owl-nav .owl-prev {
    left: -40px;
}

.owl-carousel.owl-lightbox-index .owl-nav .owl-next {
    right: -40px;
}

.news_info {
    padding: 10px;
    text-align: center;
    background-color: #f5f5f5;
}

.cookie-notice {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 30vw;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 50px;
    padding: 40px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.cookie-notice a {
    color: #e51f1f;
}

.cookie-notice a:hover {
    color: #888;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.cookie-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.cookie-text {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 20px;
}

.cookie-button {
    margin-left: 16px;
}

.cookie-button a:hover {
    text-decoration: none;
}

.accept-cookies {
    background-color: #e51f1f;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
}

@media screen and (max-width: 1366px) {
    header{
        height: 90px;
    }
    .menu ul li a:after{
        bottom: -21px;
    }
    .menu ul {
        gap: 20px;
    }
    
    footer {
        width: 100%;
        padding: 50px 50px;
    }

    footer .footer-wrap {
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .menu-wrap {
        position: relative;
        width: 75px;
    }

    .hamburger {
        display: block;
        width: 25px;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -260px;
        width: 260px;
        height: 100%;
        background: #fff;
        z-index: 1000;
        transition: left .3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, .1);
    }

    .language-btn {
        text-indent: -9999px;
    }

    .language-btn:hover {
        color: #000;
        background-image: url(../images/language-icon.png);
    }

    .language-btn.active {
        color: #e51f1f;
        font-weight: 600;
        background-image: url(../images/language-icon-o.png);
    }

    .menu.active {
        left: 0;
    }

    .menu ul {
        padding: 80px 20px;
        flex-direction: column;
    }

    .menu ul li a:after {
        display: none;
    }
}

@media (max-width: 1024px) {
    .footer-copyright {
        width: 100%;
        margin-top: 50px;
        align-items: flex-end;
    }
}

@media (max-width: 820px) {
    .menu {
        margin-right: 0px;
    }
    .cookie-notice{
        width: 95vw;
        right: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .lightbox-index-wrap{
        width: 90%;
    }
    header {
        height: 80px;
    }

    h1 {
        width: 142px;
        height: 60px;
    }

    .wrap {
        padding-top: 80px;
    }

    h2 {
        font-size: 3.2rem;
    }

    .footer-contact {
        margin-bottom: 50px;
    }
}