@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --color1: #0093C1;
    --color2: #00A59B;
    --color3: #494A57;
    --color4: #F4FBFF;
    --color5: #0C0E1F;
    --color6: #014865;
    --color7: #D7D7DA;
    --color8: #AEAFB4;
    --color9: #EEF0F0;
    --color10: #00A59B;
    --color11: #008578;
    --color12: #005249;
    --color13: #006e91;
    --color14: #4A4A4A;
    --color15: #27CDA0;
    --color16: #00D4F0;
    --color17: #854591;
    --color18: #1D537F;
    --color19: #2B76AB;
    --color20: #ff6d76;
    --color21: #DFF2F1;
    --color22: #27B6CD;
}


body {
    font-family: "Roboto", "Noto Sans TC", sans-serif;
    color: var(--color5);
    font-weight: 400;
}

/* 全頁遮罩 */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    /* 白色半透明 */
    z-index: 2000;
    /* 確保蓋在最上層 */
    display: flex;
    justify-content: center;
    align-items: center;
}


a,
a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: var(--color1);
    text-decoration: underline;
    cursor: pointer;
}

h1,
h2,
h3 {
    color: var(--color5);
    font-weight: 700;
}

h1 {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
}

h2 {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.4em;
}

h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

h4 {
    color: var(--color5);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4em;
}

.text-red {
    color: var(--color20) !important;
}

img {
    max-width: 100%;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background: white;
    padding: 34px 0 19px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    z-index: 5;
}

.logo {
    display: inline-block;
    text-decoration: none;
    position: relative;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 20px;
    font-weight: 500;
    color: var(--color3);
    position: absolute;
    width: 170px;
    bottom: -1px;
    left: calc(100% + 30px);
}

.logo span::before {
    position: absolute;
    content: "";
    height: 30px;
    width: 1px;
    background: var(--color8);
    left: -15px;
}

.logo span img {
    width: auto;
    height: 30px;
}

#navbar {
    position: relative;
}

.nav {
    float: right;
    padding-top: 15px;
    margin-right: 100px;
}

.nav .nav-link {
    color: var(--color3);
    position: relative;
    padding: 0 0 10px;
    margin: 0 18px;
}

.nav .nav-link:hover,
.nav .nav-link.active {
    color: var(--color5);
}

.nav .nav-link.active::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 4px;
    border-radius: 5px;
    background: var(--color1);
    bottom: 0;
    left: 0;
}

.bt-line {
    position: absolute;
    right: 0;
    bottom: 5px;
}

.bt-line img {
    height: 20px;
}

label,
.form-select {
    margin-bottom: 5px;
}

label {
    color: var(--color5);
    font-size: 18px;
    font-weight: 700;
}

.form-select {
    font-weight: 500;
    padding: 15px 20px;
    width: 100%;
    background-color: white;
    border: 0;
    border-radius: 12px;
}

section {
    padding: 80px 0;
    position: relative;
}

.owl-carousel.owl-drag .owl-item {
    text-align: center;
    position: relative;
}

.main {
    padding-top: 0;
    background: var(--color4);
    transition: 1s;
}

.main .container {
    visibility: hidden;
    /*清除閃動*/
    opacity: 0;
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    animation-fill-mode: both;
}

.main .bts .bt {
    font-size: 18px;
    font-weight: 700;
    padding: 20px;
    max-width: 288px;
}

.bts .bt span {
    display: block;
    font-weight: 400;
    font-size: 14px;
}

.mainslide {
    padding-top: 8vh;
    margin-bottom: 40px;
    text-align: center;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 20%, 0);
        transform: translate3d(0, 20%, 0)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

.cookieConsentPanel {
    opacity: 0;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    animation-fill-mode: both;
    animation-delay: 1s;
    animation-duration: 1s;
    bottom: 0px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.mainslide img {
    display: inline-block;
    max-width: 540px;
}

.carousel-inner {
    padding-bottom: 80px;
}

.mainslide.owl-theme .owl-nav.disabled+.owl-dots,
.carousel-indicators {
    position: absolute;
    width: 100%;
    bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

.bt-fly {
    font-size: 20px;
    font-weight: 700;
    color: #143734;
    letter-spacing: 2px;
    text-decoration: none;
    background: #FFF7DC;
    border-radius: 12px 0 0 12px;
    padding: 20px 0 20px 80px;
    position: absolute;
    top: 70px;
    right: -100%;
    width: 30%;
    transition: all 0.5s ease;
}

.fadeleft {
    -webkit-animation-name: fadeleft;
    animation-name: fadeleft;
    animation-fill-mode: both;
    animation-duration: 2s;
}

@keyframes fadeleft {
    0% {
        right: -100%;
    }

    100% {
        right: 0;
    }
}

.icon-plane {
    width: 48px;
    height: 26px;
    background: url(../images/icon-plane.svg) no-repeat;
    background-size: contain;
    position: absolute;
    left: 20px;
    top: 25%;
}

.icon-jeep {
    width: 48px;
    height: 36px;
    background: url(../images/icon-jeep.svg) no-repeat;
    background-size: contain;
    position: absolute;
    left: 20px;
    top: 25%;
}

.feature {
    padding-top: 160px;
    overflow-x: hidden;
}

.feature .slide {
    max-width: 1030px;
    margin: 40px auto 0;

}

.feature .slide .item {
    padding-top: 80px;
}

.feature .slide .item .info {
    border-radius: 24px;
    background: var(--color21);
    padding: 40px 30px 30px;
    width: 327px;
    min-height: 250px;
}

.feature .slide h3 {
    font-size: 24px;
    line-height: 1.2em;
    text-align: center;
    margin-bottom: 16px;
}

.feature .slide h3 span {
    font-size: 20px;
    font-weight: 700;
    color: #F5693D;
    display: block;
}

.feature .slide .bt {
    max-width: 100%;
    font-weight: 500;
}

.feature .slide ul {
    position: relative;
    margin: 0 auto;
}

.feature .slide .item1 ul {
    width: calc(100% + 40px);
    left: -25px;
}

.feature .slide .item2 ul {
    width: calc(100% + 10px);
    left: -10px;
}

.feature .slide .item3 ul {
    width: calc(100% + 10px);
    left: -10px;
}

.feature .slide .item::before {
    position: absolute;
    content: "";
    width: 104px;
    height: 104px;
    top: 5px;
    left: calc(50% - 52px);
}

.feature .slide .item1::before {
    background: url(../images/item1.svg) no-repeat;
    background-size: contain;
}

.feature .slide .item2::before {
    background: url(../images/item2.svg) no-repeat;
    background-size: contain;
}

.feature .slide .item3::before {
    background: url(../images/item3.svg) no-repeat;
    background-size: contain;
}

.feature .slide .item4::before {
    background: url(../images/item4.svg) no-repeat;
    background-size: contain;
}

.feature .slide li {
    list-style: none;
    position: relative;
    color: var(--color5);
    font-weight: 500;
    text-align: left;
    margin-bottom: 5px;
}

.feature .slide li::before {
    position: absolute;
    content: "";
    background: url(../images/icon-check.svg);
    width: 16px;
    height: 16px;
    left: -22px;
    top: 2px;
}

.content {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.feature .content {
    max-width: 800px;
    position: relative;
}

.bt {
    text-align: center;
    display: inline-block;
    color: white;
    font-size: 16px;
    font-weight: 500;
    background: var(--color1);
    border-radius: 12px;
    text-decoration: none;
    padding: 12px;
    width: 100%;
    max-width: 180px;
}

.bt-outline {
    color: var(--color1);
    background: white;
    border: 1px solid var(--color1);
}

.bt-outline:hover,
.bt:hover {
    background: var(--color13);
    color: white;
}

.bt-green {
    background: var(--color10);
}

.bt-green2 {
    background: var(--color11);
}

.bt-green3 {
    background: var(--color12);
}

.bt-blue {
    background: var(--color11);
}

.bt-blue:hover {
    background: var(--color16);
}

.bt-blue2 {
    background: var(--color18);
}

.bt-blue3 {
    background: var(--color19);
}

.gradient {
    background: linear-gradient(to right, #0093c1 1%, #00a59b 100%);
}

.gradient:hover {
    background: linear-gradient(to right, #016f91 1%, #007c75 100%);
}

.main .bt {
    margin: 0 10px;
}

.award {
    padding: 10px 0 5px 58px;
    background: url(../images/icon-award.svg) left top no-repeat;
    background-size: 48px;
}

ul.arrow {
    font-weight: 700;
    color: var(--color6);
    font-size: 18px;
    list-style: none;
}

ul.arrow li {
    position: relative;
    margin-bottom: 20px;
}

ul.arrow li::before {
    position: absolute;
    content: "";
    top: 0;
    left: -28px;
    width: 24px;
    height: 24px;
    background: url(../images/icon-arrow.svg);
}

.post,
.need,
.read {
    background: var(--color4);
}

.owl-theme .owl-dots .owl-dot span,
.carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    background: var(--color8);
    opacity: 1;
    border-radius: 50em;
    border-top: 0;
    border-bottom: 0;
    margin: 5px 3px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span,
.carousel-indicators .active {
    background: var(--color1);
    width: 12px;
    border: 0;
}


.plan .info {
    font-size: 14px;
    text-align: center;
    width: 504px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color9);
}

.plan .info i {
    width: 24px;
    height: 24px;
}

.plan .info table {
    border-collapse: collapse;
    border-spacing: 0;
}


.plan .info td {
    padding: 10px;
}

.plan .info tr,
.plan .info td {
    border: 1px solid var(--color9);
    background: white;
}

.plan .info td:first-child,
.plan .info td:nth-child(2) {
    text-align: left;
}

.plan .info tr:nth-child(5) td:nth-child(2) {
    text-align: center;
}

.plan .info tr:nth-child(2) {
    color: black;
}

.plan .info tr:first-child td:first-child {
    text-align: center;
    color: #996A00;
    background: #FFF7DC;
    font-size: 20px;
    font-weight: 700;
    padding: 5px;
}

.plan .info tr:first-child td:first-child i {
    right: 5px;
}

.plan .collapse:not(.show) {
    position: relative;
    display: block;
    height: 100px;
    overflow-y: hidden;
}

.plan .collapse {
    position: relative;
}

.plan .collapse::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: -3px;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 46%, rgba(255, 255, 255, 1) 100%);
}

.plan:has(.show) .more,
.plan .collapse.show::after {
    display: none;
}

.plan .more {
    position: relative;
    display: block;
    text-align: center;
    top: -10px;
}

.plan ol {
    color: var(--color3);
}

.post .info ul {
    padding: 0;
}

.calculate .info li,
.post .info li {
    display: inline-block;
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.calculate .info li::before,
.post .info li::before {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50em;
    background: var(--color3);
    left: 10px;
    top: 10px;
}

.age {
    margin-top: 50px;
    background: var(--color18);
    padding: 30px 25px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.age .row {
    position: relative;
    z-index: 2;
}

.age label {
    color: white;
}

.age select {
    width: 350px;
    margin: 0 auto;
}

.age h3 {
    letter-spacing: 2px;
}

.age img {
    max-height: 74px;
    width: auto;
    position: absolute;
    left: 20px;
}

.bg-gray {
    background: var(--color9);
}

table,
td,
th {
    border: 1px solid var(--color9);
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    width: 100%;
    table-layout: fixed;
}


.table th,
.table td {
    padding: 15px 10px;
}

.table h2,
.table h3 {
    margin: 0;
    color: white;
}

.table h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.table h3 {
    font-size: 18px;
    font-weight: 400;
}

.table thead th {
    padding: 15px 0;
}

.table thead th small {
    color: white;
    font-weight: 400;
    margin: 0;
    min-height: auto;
}

.table.kid thead th {
    width: 50%;
}

.table thead a {
    text-decoration: none !important;
}

.table thead i {
    margin: 0;
}

.table.all tr th {
    width: 14%;
}

.table.date tr th {
    width: 100%;
}

.table.adule tr th {
    width: 20%;
}

.table tr th:first-child {
    background: #FF6D76;
}

.table tr th:nth-child(2) {
    background: #5CC5E5;
}

.table tr th:nth-child(3) {
    background: #27B6CD;
}

.table tr th:nth-child(4) {
    background: #006E91;
}

.table tr th:nth-child(5) {
    background: #034F6E;
}

.table tr th:nth-child(6) {
    background: var(--color11);
}

.table tr th:nth-child(7) {
    background: var(--color10);
}

.table.date tr th,
.table.date tr td .bt {
    background: #FF6D76 !important;
}

.table tr td {
    height: 72px;
}

.table .bg-gray {
    color: var(--color3);
    padding: 10px;
    height: auto;
    font-size: 14px;
    font-weight: 400;
}

.table .bt {
    display: inline-block;
    padding: 5px;
    max-width: 100px;
}

.table tr td:first-child .bt {
    background: #FF6D76;
}

.table tr td:nth-child(2) .bt {
    background: #5CC5E5;
}

.table tr td:nth-child(3) .bt {
    background: #27B6CD;
}

.table tr td:nth-child(4) .bt {
    background: #006E91;
}

.table tr td:nth-child(5) .bt {
    background: #034F6E;
}

.table tr td:nth-child(6) .bt {
    background: var(--color11);
}

.table tr td:nth-child(7) .bt {
    background: var(--color10);
}

.table span {
    font-size: 14px;
    font-weight: 700;
    display: block;
    padding-bottom: 10px;
    color: var(--color5);
}

.table span.text-red {
    font-weight: 400;
    display: inline;
}

.table tbody span {
    padding-bottom: 0;
}

.table span b {
    display: inline-block;
    font-weight: 700;
    padding-right: 4px;
}

.table b {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.table small {
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
    min-height: 40px;
}

tbody tr:last-child td span b {
    font-size: 16px;
}

body:has(.scale) .table thead tr th,
body:has(.scale) .table thead tr {
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

td:has(b) {
    font-size: 14px;
    font-weight: 400;
}

td.bg-gray b {
    font-size: 18px;
    color: var(--color5);
}

table i {
    margin-left: 3px;
}

.table-pay {
    margin-top: 15px;
    font-size: 14px;
}

.table-pay tr {
    display: flex;
    align-items: center;
    background: #F6F7F7;
}

.table-pay tr:first-child {
    background: #DFE4E5;
}

.table-pay th,
.table-pay td {
    flex: 1;
    border: 0;
    text-align: center;
    padding: 5px 0;
}

.table-pay th {
    font-weight: 500;
}

.table-pay th:first-child,
.table-pay td:first-child {
    font-weight: 400;
    color: #494A57;
}

.adule .no-adule {
    display: none;
}

.tooltip-arrow,
.tooltip-inner {
    opacity: .9;
}

a[data-toggle="tooltip"] {
    font-size: 16px;
}

.modal-content {
    color: var(--color5);
}

.modal-content h5 {
    font-size: 16px;
    font-weight: 700;
    position: relative;
    padding-left: 25px;
    margin-top: 30px;
}

.modal-content h5:first-child {
    margin-top: 0;
}

.modal-content h5::before {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50px;
    background: black;
    left: 10px;
    top: 6px;
}

.modal-content h5.none {
    padding-left: 0;
}

.modal-content h5.none::before {
    display: none;
}

i {
    width: 16px;
    height: 16px;
    display: inline-block;
    position: relative;
    top: 2px;
}

.icon-tip {
    background: url(../images/icon-tip.svg);
    background-size: contain;
}

.icon-tip-w {
    background: url(../images/icon-tip-w.svg);
    background-size: contain;
}

.icon-bell {
    background: url(../images/icon-bell.svg);
    background-size: contain;
    width: 24px;
    height: 24px;
}

.bell:has(i) {
    position: absolute;
    right: 70px;
    bottom: 0;
}

.nav-item .bell {
    display: none;
}

ol {
    padding-left: 25px;
}

.page-pane {
    display: none;
}

.sort-link.active,
.page-pane.active {
    display: block;
    scroll-margin-top: 300px;
}

.nav-tabs {
    list-style: none;
    padding: 0;
    display: block;
    margin-bottom: 50px;
    text-align: center;
}


.nav-tabs li {
    display: inline-block;
    margin: 5px;
}


.nav-tabs .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs {
    border: 0;
}

.sort-tabs .sort-link,
.nav-tabs .nav-link {
    background: var(--color9);
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    width: 100%;
    padding: 15px;
    color: var(--color5);
    border: 1px solid var(--color9);
}

.nav-tabs .nav-link.active {
    border: 1px solid var(--color1);
    background: none;
}

.sort-tabs .sort-link.active {
    color: white;
    border: 1px solid var(--color1);
    background: var(--color1);
}

.sort-tabs {
    text-align: center;
    list-style: none;
    padding: 0;
    display: block;
    float: none;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    position: relative;
    width: 100%;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.sort-tabs::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 4px;
    background: var(--color1);
    left: 0;
    bottom: 0;
    z-index: 1;
}

.sort-tabs .sort-link {
    white-space: nowrap;
    border-radius: 8px 8px 0 0;

}

.tab-case {
    border-radius: 24px;
    background: white;
    border: 1px solid var(--color7);
    padding: 40px;
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.tab-case .info {
    flex: 1;
    flex-grow: 2;
    flex-shrink: 1;
    font-weight: 500;
    color: var(--color5);
    padding-top: 20px;
}

.tab-case .pic {
    flex: 0 0 35%;
    height: 260px;
    border-radius: 16px;
    position: relative;
}

.tab-case .pic span {
    background: var(--color2);
    color: white;
    font-size: 14px;
    border-radius: 0 16px 0 16px;
    display: inline-block;
    padding: 3px 10px;
    position: absolute;
    top: 0;
    right: 0;
}

.tab-case hr {
    border-style: dashed;
    opacity: .1;
}

.tab-case .bts {
    margin-top: 30px;
}

.bts {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.bts .bt {
    max-width: 240px;
    flex: 1;
    border: 1px solid var(--color1);
}

.modal-footer .bts {
    display: flex;
    gap: 10px;
}

.search input {
    width: 100%;
    border-radius: 50em;
    border: 0;
    padding: 15px 20px 15px 65px;
    outline: 0;
    background: url(../images/icon-zoom.svg) no-repeat var(--color9);
    background-size: 18px;
    background-position: 30px 18px;
    border: 1px solid var(--color9);
}

input[type='search']::-webkit-search-cancel-button {
    background: url(../images/icon-close.svg) no-repeat var(--color8);
    background-size: contain;
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50em;
    cursor: pointer;
}

input[type='search']:focus,
.form-select:focus {
    border-color: var(--color1);
    box-shadow: none;
}

.keyword {
    text-align: center;
    margin: 30px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--color5);
}

.keyword a {
    font-size: 16px;
    font-weight: 500;
    color: white;
    background: var(--color2);
    display: inline-block;
    margin: 5px;
    border-radius: 4px;
    padding: 5px 10px;
    text-decoration: none;
}

.accordion ul li,
.accordion ol li {
    margin-top: 10px;
}

.accordion-item {
    border: 0;
}

.accordion h4.accordion-button {
    margin: 0;
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    font-size: 18px;
    cursor: pointer;
}

.accordion-button:not(.collapsed) {
    background: none;
    color: var(--color5);
    box-shadow: none;
}

.accordion-button::after {
    width: 15px;
    height: 15px;
    background-size: contain;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230C0E1F'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.accordion-button:not(.collapsed)::after {
    transform: none;
}

.accordion h4.accordion-button[aria-expanded="true"]::after {
    transform: rotate(-180deg);
}

.accordion h4 b {
    font-weight: 500;
    padding-right: 5px;
}

.accordion h4 span {
    font-weight: 400;
    color: var(--color2);
    padding-right: 10px;
}

.accordion-collapse {
    font-size: 18px;
    color: var(--color3);
    background: var(--color9);
    border-radius: 12px;
    padding: 0 15px;
    margin-bottom: 15px;
    transition: .1s;
    position: relative;
}

.accordion-collapse.show {
    padding: 15px;
}

.accordion h4.accordion-button[aria-expanded="true"] {
    border-bottom: 0;
}

.accordion h4.accordion-button {
    border-top: 1px solid var(--color7);
}

.pagination {
    border: 0;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 0;
    gap: 5px
}

.page-item:first-child .page-link img {
    transform: rotate(180deg);
}

.page-link,
.page-link:hover {
    border: 0;
    border-radius: 10px;
    padding: 4px 11px;
    color: var(--color5);
}

.disabled .page-link {
    opacity: .5;
    background: none;
}

.active .page-link:hover {
    color: white;
}

.active .page-link {
    background: var(--color14);
}

.page-tabs {
    list-style: none;
    text-align: center;
    padding: 0;
    margin-bottom: 40px;
}

.page-tabs li {
    display: inline-block;
}

.pagetab-link {
    background: none;
    padding: 5px 0;
    border: 0;
    margin: 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color5);
}

.pagetab-link.active {
    border-bottom: 2px solid var(--color1);
}

.post-list {
    display: flex;
    gap: 30px;
}

.post-list .info {
    flex: 1;
    flex-grow: 1.8;
    flex-shrink: 1;
    padding-top: 20px;
    font-size: 18px;
}

.post-list .pic {
    flex: 1;
    position: relative;
    margin-top: 30px;
}

.post-list .pic img {
    width: 320px;
    border-radius: 12px;
}

.others .post-list .pic {
    margin-top: 50px;
}

.others .post-list .pic img {
    width: 100%;
    border-radius: 0;
}

.post-list .info li {
    margin-bottom: 8px;
}

.post .info li::before {
    background: var(--color1);
}

.post .more {
    display: none;
}

.post .collapse:not(.show) {
    display: block;
}

.others .post-list .info {
    flex-grow: 1.2;
}

.others .post-list .info li {
    color: var(--color6);
}

.tab-case .collapse:not(.show),
.notice .collapse:not(.show),
.feature .collapse:not(.show) {
    position: relative;
    display: block;
    height: 50px;
    overflow-y: hidden;
}

.tab-case .collapse:not(.show) {
    height: 180px;
}

.feature .more {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--color4);
    text-decoration: none;
    padding-left: 8px;
}

.feature .more i {
    color: var(--color3);
}

.morebox article {
    display: none;
}

.morebox article:nth-child(1),
.morebox article:nth-child(2),
.morebox article:nth-child(3),
.morebox article:nth-child(4),
.morebox article:nth-child(5),
.morebox article:nth-child(6),
.morebox article:nth-child(7),
.morebox article:nth-child(8),
.morebox article:nth-child(9),
.morebox article:nth-child(10) {
    display: block;
}

.accordion:has(.morebox.show) .more {
    display: none;
}

.accordion:has(.morebox.show) article {
    display: block;
}

.notice .more,
.faq .more {
    display: block;
    position: relative;
    text-align: center;
    height: 25px;
    padding-top: 20px;
}

.notice .more img,
.faq .more img {
    width: 24px;
    position: absolute;
    left: calc(50% + 36px);
}

.notice .more::before,
.faq .more::before {
    position: absolute;
    content: "展開全部";
    font-size: 18px;
    font-weight: 500;
    left: calc(50% - 36px);
}

.notice:has(.show) .more::before {
    content: "收合部分";
}

.notice:has(.show) .more img {
    transform: rotate(180deg);
}

.info.notice .more {
    margin-bottom: 40px;
}

.notice li {
    margin-bottom: 5px;
}

.embed {
    position: relative;
    margin: 0;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

footer {
    background: var(--color9);
    text-align: center;
    padding: 40px 0;
    line-height: 1.8em;
}

.pad {
    display: none;
}

.flow {
    position: fixed;
    right: 30px;
    bottom: 1%;
    z-index: 6;
    display: none;
}

.flow ul {
    padding: 0;
    list-style: none;
    text-align: center;
}

.flow ul li {
    width: 56px;
    margin: 15px;
}

.flow img {
    border-radius: 50em;
}

.flow ul li:first-child img {
    width: 48px;
}

/*.flow ul li:last-child img {
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}*/

.modal-header {
    display: block;
    padding-top: 32px;
}

.modal-header,
.modal-footer {
    border: 0;
}

.modal-header .btn-close {
    position: absolute;
    right: 20px;
    display: none;
}

.lottery .modal-header .btn-close {
    display: block;
    opacity: 1;
}

.modal-header h4 {
    width: 100%;
    font-weight: 700;
    margin-bottom: 0;
    text-align: center;
}

.modal-body,
.modal-dialog-scrollable .modal-body {
    padding: 0 20px;
}

.table-simple tr th {
    width: 25%;
}

.table-simple {
    text-align: center;
    color: var(--color5);
    margin-bottom: 20px;
}

.table-simple tr th {
    background: #F6F7F7;
}

.table-simple tr th,
.table-simple tr td {
    height: 60px;
    padding: 0 5px;
}

#ageModal .modal-body {
    max-width: 580px;
    margin: 0 auto;
}

.switch {
    list-style: none;
    display: flex;
    gap: 20px;
    background: #DFE4E5;
    padding: 3px;
    text-align: center;
    border-radius: 8px;
    max-width: 480px;
    margin: 30px auto;
}

.switch li {
    flex: 1;
    cursor: pointer;
    color: black;
    margin-bottom: 0 !important;
}

.switch li button,
.switch li a {
    width: 100%;
    border-radius: 8px;
    padding: 10px 15px;
    color: #494A57;
}

.switch li button.active,
.switch li a.active {
    font-weight: 500;
    background: white;
    color: black;
}

.plan:has(.nav-link.active[data-type="adult"]) table .no-adule {
    display: none;
}

.plan {
    display: block;
}

.case {
    display: block;
    background: var(--color4);
}

.cjk {
    list-style: cjk-ideographic;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.links article {
    flex: 0 0 45%;
    flex-grow: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(39, 182, 205, .1);
}

.links h4 {
    margin-bottom: 10px;
    color: var(--color6);
}

.links a {
    text-decoration: none;
    font-weight: 500;
}

.mobile {
    display: none !important;
}

.lottery {
    background: var(--color4);
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

.lottery::before {
    position: absolute;
    content: "";
    background: url(../images/ribbon1.png?t=1776934474795) no-repeat;
    background-size: contain;
    width: 400px;
    height: 170px;
    left: 0;
    top: 0;
}

.lottery::after {
    position: absolute;
    content: "";
    background: url(../images/ribbon2.png?t=1776934474795) no-repeat;
    background-size: contain;
    width: 400px;
    height: 199px;
    right: 0;
    top: 0;
}

.lottery h1 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.lottery h1::before,
.lottery h1::after {
    position: absolute;
    content: "";
    background: url(../images/icon-star.png?t=1776934474795) no-repeat;
    background-size: contain;
    width: 16px;
    height: 16px;
    left: -30px;
    top: 10px;
}

.lottery h1::after {
    left: auto;
    right: -30px;
}

.lottery .info {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    justify-content: center;
}

.lottery .info::after {
    position: absolute;
    content: "";
    background: url(../images/ballon.png?t=1776934474795) no-repeat;
    background-size: contain;
    width: 104px;
    height: 109px;
    left: 100%;
    top: 45%;
}

.lottery .box {
    flex: 0 0 48%;
    background: white;
    border-radius: 16px;
    position: relative;
    text-align: left;
    min-height: 180px;
    box-shadow: 0 2px 16px #CCF3FF;
    cursor: pointer;
}

.lottery .box h3 {
    border-radius: 16px 16px 0 0;
    background: #27CDA0;
    color: white;
    padding: 12px;
    text-align: center;
}

.lottery .box p {
    color: black;
    font-weight: 500;
    padding-left: 120px;
    padding-right: 20px;
}

.lottery .box span {
    font-size: 14px;
    position: absolute;
    right: 40px;
    bottom: 15px;
}

.lottery .box span a {
    text-decoration: none;
    padding-right: 2px;
}

.lottery .box span::after {
    position: absolute;
    content: "";
    width: 19px;
    height: 19px;
    background: url(../images/arrow-right.svg) no-repeat;
    background-size: contain;
    filter: invert(48%) sepia(78%) saturate(4270%) hue-rotate(167deg) brightness(92%) contrast(101%);
}

.lottery .box img {
    width: 80px;
    position: absolute;
    left: 20px;
    top: 70px;
}

.text-org {
    color: #F5693D;
}

.text-blue {
    color: var(--color1);
}

.calculate {
    background: #F6FFFF;
}

.calculate .content {
    background: var(--color9);
    border-radius: 24px;
    padding: 0 40px;
    position: relative;
}

.calculate .content::before {
    position: absolute;
    content: "";
    width: 170px;
    height: 106px;
    background: url(../images/parasol.png?t=1776934474795) no-repeat;
    background-size: contain;
    left: -80px;
    top: -60px;
}

.calculate .content::after {
    position: absolute;
    content: "";
    width: 140px;
    height: 92px;
    background: url(../images/tree.png?t=1776934474795) no-repeat;
    background-size: contain;
    right: -70px;
    bottom: -80px;
}

.calculate h1 {
    margin: 0;
    padding: 50px 0 30px;
}

.calculate .info {
    max-width: 662px;
    margin: 0 auto;
}

.calculate .info ul {
    text-align: center;
    padding: 0;
}

.calculate .info li {
    display: inline-block;
    margin-bottom: 10px;
}

.calculate label {
    font-weight: 500;
    font-size: 16px;
}

.calculate .bts {
    padding: 25px 0 40px;
    margin: 0;
}

.evaluate {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0 25px;
    padding-bottom: 50px;
}

.evaluate h2 {
    color: var(--color6);
    flex: 0 0 100%;
    letter-spacing: 2px;
}

.evaluate .box h2 {
    font-size: 32px;
    color: black;
    margin-bottom: 10px;
}

.evaluate .box h2 span {
    font-size: 14px;
}

.evaluate .box {
    flex: 1;
    background: white;
    border-radius: 12px;
    cursor: pointer;
}

.evaluate .box p {
    padding: 10px;
    color: white;
    border-radius: 12px 12px 0 0;
}

.evaluate .box1 p {
    background: #5CC5E5;
}

.evaluate .box2 p {
    background: #27B6CD;
}

.evaluate .box3 p {
    background: #006E91;
}

.evaluate .box4 p {
    background: #034F6E;
}

.evaluate i {
    width: 24px;
    height: 24px;
    top: 5px;
    right: 5px;
}

.icon-plus2 {
    background: url(../images/icon-plus2.svg);
}

.icon-good {
    background: url(../images/icon-good.svg);
}

.icon-star {
    background: url(../images/icon-star.svg);
}

.icon-award2 {
    background: url(../images/icon-award2.svg);
}

.icon-car2 {
    background: url(../images/icon-car2.svg);
}

.icon-ann {
    background: url(../images/icon-ann.svg);
}

.icon-close2 {
    background: url(../images/icon-close2.svg);
}

.icon-check2 {
    background: url(../images/icon-check2.svg);
}

.icon-arrow {
    background: url(../images/icon-arrow4.svg);
}

li ul {
    list-style: disc;
    padding-left: 25px;
}

.tab-case {
    display: none;
}

.tab-case.active {
    display: flex !important;
}

.scrolltip {
    color: white;
    margin-bottom: 5px;
    text-align: right;
    display: none;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    font-size: 30px;
    text-align: center;
    padding-top: 20%;
    animation-name: myAnimation;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1s;
}

@keyframes myAnimation {
    from {
        background: rgba(0, 0, 0, .7);
    }

    to {
        background: rgba(0, 0, 0, .5);
    }
}

.bt-join {
    font-size: 14px;
    line-height: 1.2em;
    color: white;
    background: var(--color6);
    display: block;
    text-decoration: none;
    padding: 12px;
    height: 56px;
    border-radius: 50em;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}

.main .carousel-item {
    transition: transform 1.5s ease-in-out;
    cursor: grab;
}

.feature .carousel-inner {
    display: flex;
    overflow: hidden;
    /* 確保超出的 item 不影響 */
}

/* 覆蓋 Bootstrap 預設的 .carousel-item */
.feature .carousel-item {
    position: relative;
    display: block !important;
    /* 移除 Bootstrap 的 display: none */
    float: none !important;
    /* 移除 Bootstrap 的 float: left */
    width: auto !important;
    /* 讓 .carousel-item 按照 flex 設定寬度 */
    margin-right: 0 !important;
    /* 移除 Bootstrap 的 margin */
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    transition: none !important;
    /* 移除 Bootstrap 的動畫 */
}

/* 讓 Carousel 支援滑動 */
.feature .carousel-container {
    gap: 20px;
    overflow-x: auto;
    /* white-space: nowrap; */
    display: flex;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* 隱藏 scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE & Edge */
    cursor: default !important;
    overscroll-behavior: contain;
}

.feature .carousel-item {
    scroll-snap-align: center;
    user-select: none;
}

.spinner-border {
    width: 3em;
    height: 3em;
    /* Transparent border for spacing */
    border: 4px solid transparent;
    /* Transparent border for spacing */
    background:
        linear-gradient(white, white) padding-box,
        /* Inner background */
        linear-gradient(to right, var(--color1), var(--color2)) border-box;
    /* Gradient for the border */
    background-clip: padding-box, border-box;
    /* Clip the backgrounds */
    background-origin: padding-box, border-box;
    /* Set the origin for clipping */
    position: relative;
}

.spinner-border::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50em;
    background: white;
}

.fw-bold {
    color: var(--color6);
    margin-top: 10px;
}

.accordion-item .accordion-content,
.accordion-item tr:not(.accordion-header):not(.accordion-content) {
    display: none;
}

.accordion-item.active tr {
    display: table-row;
}

.accordion-item.active .accordion-content {
    display: table-row;
}

.accordion-header td {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--color5) !important;
    background: #DFE4E5;
    padding: 12px 15px;
    height: auto !important;
    cursor: pointer;
    text-align: left;
    position: relative;
}

.accordion-header td::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    background: url(../images/icon-arrow5.svg);
    right: 15px;
    transform: rotate(-180deg);
}

.active .accordion-header td::after {
    transform: rotate(0);
}

.accordion-item td::after {
    transform: rotate(-180deg) !important;
}

.accordion-item.active td::after {
    transform: rotate(0) !important;
}

.collapsible {
    display: none;
    position: absolute;
    height: 50px;
    width: 100%;
    left: 0;
    bottom: 10px;
    background: linear-gradient(to bottom, rgba(238, 240, 240, 0) 0%, rgba(238, 240, 240, 1) 64%, rgba(238, 240, 240, 1) 100%);
}

.collapsible::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    background: url(../images/icon-arrow4.svg) center no-repeat;
    bottom: 0;
    left: calc(50% - 10px);
}

.read-list {
    display: flex;
    gap: 30px;
}

.read .pic {
    flex: 1;
    position: relative;
    margin-top: 30px;
}

.read .info {
    flex: 1;
    flex-grow: 1.8;
    flex-shrink: 1;
    padding-top: 20px;
    font-size: 18px;
}

.read .collapse:not(.show) {
    position: relative;
    display: block;
    height: 240px;
    overflow-y: hidden;
}

.read .collapse::after {
    width: 100%;
    height: 100px;
    position: absolute;
    content: "";
    background: linear-gradient(to bottom, rgba(244, 251, 255, 0) 0%, rgba(244, 251, 255, 1) 93%, rgba(244, 251, 255, 1) 100%);

    bottom: 0;
}

.read .more {
    display: block;
    text-align: center;
}

.read .more img {
    width: 19px;
}

.read a {
    text-decoration: none;
}

.read li {
    margin-bottom: 8px;
}

.read li::marker {
    color: var(--color1);
    font-size: 10px;
    top: 0;
}

.video-list {
    text-align: center;
}

.video-list h3 {
    margin: 15px 0 10px;
}

.video-list div {
    margin-bottom: 40px;
}

.board p {
    color: var(--color3);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    position: relative;
    margin-bottom: 25px;
}

.board-post p {
    color: var(--color5);
    display: block;
    overflow: visible;
    white-space: wrap;
    text-overflow: clip;
}

.board p a {
    position: absolute;
    right: 0;
    bottom: 0;
    background: white;
}

.board .modal-header h4 {
    font-size: 20px;
    text-align: left;
    background: url(../images/icon-speaker.svg) left center no-repeat;
    background-size: 24px;
    padding-left: 40px;
}

.board .modal-header {
    border-bottom: 1px solid #D9DBDC;
    padding-top: 20px;
}

.board .modal-footer {
    border-top: 1px solid #D9DBDC;
    padding: 15px 20px;
}

.board .modal-footer .bts {
    width: auto;
    margin: 0;
}

.board .modal-footer .bts .bt {
    max-width: none;
    width: auto;
    flex: auto;
    padding: 8px 18px;
}

.board .modal-body {
    padding: 20px 30px;
    height: 400px;
}

.board .modal-body h4 {
    position: relative;
    padding-left: 80px;
}


.board .modal-body h4::before {
    position: absolute;
    content: "常見問題";
    font-size: 14px;
    font-weight: 400;
    background: var(--color9);
    padding: 1px 8px;
    border-radius: 3px;
    left: 0;
}

.board .modal-body h4.red::before {
    position: absolute;
    content: "緊急通知";
    background: #FAEDEE;
    color: var(--color20);
}

.board-post .modal-body h4 {
    padding-left: 0;
    padding-top: 40px;
    margin-bottom: 0;
}

.board-post .modal-body h4::before {
    top: 0;
    padding-top: 3px;
}

.board .modal-body img {
    margin: 10px 0 15px;
    max-width: 50%;
    display: block;
}

.lottery-post .modal-body img {
    margin-top: 0;
    max-width: 100%;
}

.board-post p a,
.lottery-post p a {
    position: relative;
    background: none;
}

.table-select tr td:first-child .bt,
.table-select tr th:first-child {
    background: var(--color1);
}

.table-select tr td:nth-child(2) .bt,
.table-select tr th:nth-child(2) {
    background: var(--color17);
}

.table-select tr:nth-child(2) td {
    font-size: 16px;
}

.table-select tr:nth-child(2) span {
    padding-bottom: 10px;
}

.table-select tr:nth-child(2) span b {
    color: var(--color1);
    font-size: 20px;
}

.table-select .bg-blue {
    background: var(--color4);
}

.table-select .bg-blue span {
    font-weight: 400;
}

.table-select small {
    margin-bottom: 0;
    min-height: auto;
}

.table-select tr th {
    width: 50%;
}

.table-wrap thead,
.table-select tbody tr:first-child {
    position: sticky;
    top: 93px;
    z-index: 1;
}

#monthAccordion {
    padding: 50px 80px 50px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 50px;
}

#monthAccordion thead tr {
    background: var(--color2);
}

#monthAccordion thead th {
    border: 0;
    color: white;
    padding: 5px;
    font-weight: 400;
}

#monthAccordion tbody td {
    border: 0;
    padding: 5px;
    background: white;
    border-bottom: 1px solid var(--color9);
}

#monthAccordion h3 {
    text-align: left;
}

.WinningSlide {
    margin-bottom: 10px;
}

.WinningSlide button {
    padding: 5px;
    border: 0;
    font-weight: 600;
    border-bottom: 5px solid var(--color3);
    color: var(--color3);
    width: 100%;
    background: none;
}

.WinningSlide button[aria-expanded="true"] {
    border-bottom: 5px solid var(--color2);
    color: var(--color2);
}

.WinningSlide .owl-nav {
    position: absolute;
    margin-top: 0 !important;
    top: 0;
    width: 100%;
}

.WinningSlide .owl-nav .disabled {
    opacity: .3 !important;
}

.win-nav button,
.WinningSlide .owl-nav button {
    font-size: 0;
    border: 0;
    position: absolute;
    width: 34px;
    height: 34px;
    background: url(../images/icon-arrow6.svg) no-repeat !important;
    background-size: contain !important;
    filter: invert(26%) sepia(9%) saturate(853%) hue-rotate(198deg) brightness(94%) contrast(84%);
}

.WinningSlide .owl-nav button span {
    display: none;
}

.win-prev,
.WinningSlide .owl-nav button.owl-prev {
    transform: scaleX(-1);
    left: -40px;
}

.win-next,
.WinningSlide .owl-nav button.owl-next {
    right: -40px;
}

.winning .banner {
    background: #fff0cb;
    border-radius: 20px 20px 0 0;
    padding: 50px 50px 30px;
    color: var(--color6);
    position: relative;
}

.winning .banner h2 {
    color: var(--color6);
    text-align: center;
    font-size: 30px;
}

.winning .banner .pic {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    height: auto;
    z-index: 1;
}

.winning .banner::after {
    position: absolute;
    content: "";
    clip-path: polygon(0 19%, 100% 0, 100% 100%, 0% 100%);
    background: var(--color2);
    height: 30%;
    width: 100%;
    bottom: 0;
    left: 0;
}

.winning .banner .info {
    position: relative;
    z-index: 2;
    line-height: 1.6em;
}

.winning .prise {
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 70%;
    text-align: center;
    color: white;
    font-size: 14px;
    line-height: 1.4em;
}

.winning .prise li {
    flex: 0 0 30%;
}

.winning .prise img {
    display: block;
    width: 90%;
    margin: 10px auto;
    border-radius: 50em;
    border: 15px solid rgba(255, 255, 255, 0.3);
}

.winning .prise small {
    display: block;
}

#scrollspy3 {
    padding-bottom: 0;
}

.icon-prev {
    width: 34px;
    height: 34px;
    background: url(../images/icon-arrow6.svg) no-repeat !important;
    background-size: contain !important;
    filter: invert(26%) sepia(9%) saturate(853%) hue-rotate(198deg) brightness(94%) contrast(84%);
    transform: scaleX(-1);
}

.icon-next {
    width: 34px;
    height: 34px;
    background: url(../images/icon-arrow6.svg) no-repeat !important;
    background-size: contain !important;
    filter: invert(26%) sepia(9%) saturate(853%) hue-rotate(198deg) brightness(94%) contrast(84%);

}

.tab-case {
    position: relative;
}

.tab-case .pagetab-link {
    position: absolute;
    height: 100%;
    top: 0;
}

.tab-case .pagetab-link:has(.icon-next) {
    right: -8px;
}

.tab-case .pagetab-link:has(.icon-prev) {
    left: -8px;
}

.howmuch {
    margin-bottom: 50px;
}

.howmuch table {
    text-align: center;
}

.howmuch tr th {
    width: 50%;
}

.howmuch th {
    padding: 18px 0;
    color: white;
    font-size: 20px;
}

.howmuch th:first-child {
    background: var(--color1);
}

.howmuch th:nth-child(2) {
    background: var(--color10);
}

.howmuch th:last-child {
    background: var(--color20);
}

.howmuch th img {
    width: 16px;
    margin-right: 5px;
}

.howmuch td {
    padding: 8px;
    background: white;
    font-weight: 500;
}

.howmuch td[colspan="4"],
.howmuch td[colspan="3"],
.howmuch td[colspan="2"] {
    font-size: 16px;
    font-weight: 700;
    color: var(--color5);
    background: var(--color9);
}

.howmuch td b {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--color1);
}

.howmuch td:first-child b {
    color: var(--color1);
}

.howmuch td:nth-child(2) b {
    color: var(--color2);
}

.howmuch td:last-child b {
    color: var(--color20);
}

.howmuch small {
    display: block;
    font-weight: 400;
}

.table thead,
.howmuch thead,
.pet thead {
    position: sticky;
    top: 93px;
    z-index: 1;
}

#moto01 .howmuch tr td,
#car01 .howmuch tr td {
    width: 25%;
}

table .icon-check2 {
    width: 30px;
    height: 30px;
    background-size: contain;
}

.travel-tw tr th:first-child {
    background: var(--color2);
}

.travel-tw tr th:nth-child(2) {
    background: var(--color11);
}

.travel-tw tr th:nth-child(3) {
    background: var(--color12);
}

.travel-tw tr th:nth-child(4) {
    background: var(--color18);
}

.travel-tw tr th:nth-child(5) {
    background: var(--color19);
}

.one-col tr th {
    width: 100%;
}

.one-col tr td:first-child {
    width: 30%;
    background: var(--color9);
    border-bottom: 1px solid white;
}

.one-col th:last-child {
    background: var(--color1);
}

.one-col.half tr td:first-child {
    width: 50%;
}

.notice {
    padding-top: 0;
}

.three-col tr th {
    width: 33%;
}

.pet tr th:first-child {
    background: var(--color15);
}

.pet tr th:nth-child(2) {
    background: var(--color22);
}

.pet tr th:nth-child(3) {
    background: var(--color17);
}

.win-group {
    position: relative;
}

.win-tabs-wrapper {
    overflow: hidden;
}

.win-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0;
    list-style: none;
}

.win-tabs li {
    flex: 0 0 33%;
}

.win-tabs::-webkit-scrollbar {
    display: none;
}

.win-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.win-nav button {
    pointer-events: auto;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

.win-link {
    border: 0;
    border-radius: 0;
    border-bottom: 5px solid var(--color3);
    color: var(--color3);
    width: 100%;
    font-weight: 600;
    padding: 5px;
    background: none;
}

.win-link.active {
    color: var(--color2);
    border-bottom: 5px solid var(--color2);
}

.win-link.show {
    display: inline-block;
}

.win-pane {
    display: none;
}

.win-pane.active {
    display: block;
}

.win-nav {
    position: absolute;
    width: 100%;
}


.win-prev {
    left: -40px;
}

.win-next {
    right: -40px;
}

#content05 .page-tabs {
    display: none;
}

header .nav {
    display: none;
}

.momo {
    text-align: center;
    padding: 0;
}

.momo .bg1 {
    background: url(../images/bg1.png?t=1776934474796) center bottom no-repeat;
    background-size: 2000px;
}

.momo .bg1 .content {
    max-width: 1220px;
}

.momo .bg1 img {
    max-height: 750px;
}

.momo .bg2 {
    background: url(../images/bg2.png?t=1776934474796) center top no-repeat;
    background-size: 2000px;
    padding-bottom: 20px;
}

.momo .bg2 img {
    max-height: 130px;
}

@media (max-width: 1200px) {
    .feature .carousel-item {
        cursor: grab;
    }

    .feature .carousel-container .carousel-item:first-child {
        margin-left: 25px;
    }

    .feature .carousel-container .carousel-item:last-child {
        margin-right: 25px !important;
    }

    .nav {
        float: none;
        overflow-x: scroll;
        overflow-y: hidden;
        flex-wrap: nowrap;
        position: absolute;
        width: 40%;
        right: 10px;
        bottom: -10px;
    }

    .nav li {
        white-space: nowrap;
    }

    .nav .nav-link {
        margin: 0 10px;
    }

    .mainslide {
        padding-top: 5vh;
    }

    .feature {
        padding-top: 140px;
    }

    .bt-fly {
        font-size: 16px;
        font-weight: 500;
        letter-spacing: normal;
        padding-top: 12px;
        padding-bottom: 12px;
        top: 50px;
        width: 25%;
    }

    .icon-jeep {
        top: 15%;
    }

    .calculate .content::after {
        display: none;
    }
}

@media (max-width: 991px) {
    .board .modal-body img {
        max-width: 100%;
    }

    .board .modal-body h4 {
        padding-left: 0;
        padding-top: 35px;
        margin-bottom: 0;
    }

    .board .modal-body h4::before {
        top: 0;
        padding-top: 3px;
    }

    .board .modal-body {
        padding: 16px;
    }

    .bt-fly {
        width: 40%;
        min-width: 264px;
    }

    .lottery::before,
    .lottery::after,
    .lottery .info::after {
        display: none;
    }

    .calculate {
        background: var(--color9);
        padding: 0;
    }

    .calculate .content::before,
    .calculate .content::after {
        display: none;
    }

    .plan {
        background: none;
    }

    .case {
        background: var(--color4);
    }

    .order-first {
        order: 1 !important;
    }

    section {
        padding: 70px 0;
    }

    header {
        padding: 30px 0;
    }

    .logo img {
        height: 32px;
    }

    .logo span {
        font-size: 16px;
    }

    .main .bts .bt {
        padding: 12px;
    }

    .feature .content {
        max-width: 70%;
    }

    .nav {
        padding-top: 5px;
    }

    .nav-tabs .nav-link {
        font-size: 16px;
        font-weight: 500;
        padding: 10px;
    }

    .nav-tabs {
        gap: 15px
    }

    .tab-case {
        border-radius: 12px;
        box-shadow: none;
        padding: 0;
        max-width: 366px;
        margin: 0 auto 30px;
    }

    .tab-case.active {
        display: block !important;
    }

    .tab-case .pic {
        border-radius: 12px 12px 0 0;
    }

    .tab-case .pic span {
        border-radius: 0 12px 0 12px;
    }

    .tab-case .bts {
        margin: 30px 0 20px;
    }

    .tab-case .info {
        padding: 15px;
        padding-top: 30px;
    }

    .accordion {
        max-width: 680px;
        margin: 0 auto;
    }

    .read-list,
    .post-list {
        display: block;
        max-width: 640px;
        margin: 0 auto;
    }

    .read-list .pic {
        max-width: 270px;
        margin: 0 auto;
    }

    .read .collapse:not(.show) {
        height: 70px;
    }

    .read .collapse::after {
        height: 80px;
    }

    .read li {
        margin: 0;
    }

    .post-list .pic {
        max-width: 320px;
        margin: 0 auto;
    }

    .post-list .info {
        padding-top: 30px;
    }

    .post .collapse:not(.show) {
        display: block;
        height: 100px;
        overflow-y: hidden;
    }

    .post .collapse {
        position: relative;
    }

    .post .collapse::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(244, 251, 255, 0) 0%, rgba(244, 251, 255, 0.01) 1%, rgba(244, 251, 255, 1) 70%, rgba(244, 251, 255, 1) 100%);
        z-index: 1;
    }

    .post .collapse.show::before {
        display: none;
    }

    .post .more {
        position: relative;
        display: block;
        text-align: center;
        z-index: 2;
    }

    .post .more img {
        width: 16px;
    }

    .post .more[aria-expanded="true"] img {
        transform: rotate(180deg);
    }

    .tab-case .pagetab-link:has(.icon-prev) {
        left: -50px;
    }

    .tab-case .pagetab-link:has(.icon-next) {
        right: -50px;
    }
}

@media (max-width: 880px) {}

@media (max-width: 820px) {
    .winning .prise {
        width: 85%;
    }

    .winning .banner {
        padding: 50px 30px 30px;
    }

    .winning .banner .pic {
        width: 20%;
    }

    #monthAccordion {
        padding: 50px 30px 50px;
    }

    .win-prev {
        left: -30px;
    }

    .win-next {
        right: -30px;
    }

    footer {
        padding: 20px 0;
    }

    footer span {
        display: none;
    }

    .pad {
        display: block;
    }

    .age select {
        width: 100%;
    }

    .table {
        font-weight: 500;
    }

    .table h2 {
        font-size: 20px;
        line-height: 1.8em;
    }

    .table h3 {
        font-size: 16px;
        font-weight: 500;
    }

    .table .bt {
        font-size: 16px;
        font-weight: 500;
    }

    .table span b {
        font-weight: 500;
        font-size: 20px;
    }

    .table span {
        font-size: 12px;
    }

    td.bg-gray b {
        font-weight: 700;
    }

    .keyword a {
        font-size: 14px;
        font-weight: 700;
    }

    .lottery .info {
        justify-content: center;
    }

    .lottery .box {
        flex: 0 0 45%;
        min-height: 150px;
    }

    .lottery .box img {
        width: 48px;
    }

    .lottery .box p {
        padding-left: 80px;
        margin-bottom: 35px;
    }

    .lottery .box span {
        bottom: 10px;
    }
}


@media (max-width: 768px) {

    .main .container {
        max-width: 100%;
    }

    .main .bt {
        margin: 0 3px;
    }

    .links {
        display: block;
        max-width: 448px;
        margin: 0 auto;
    }

    .links article {
        margin-bottom: 25px;
    }

    .table.all thead small {
        min-height: auto;
    }

    .table.all small {
        min-height: 54px;
    }

    .sort-tabs::after {
        display: none;
    }

    .sort-tabs {
        border-bottom: 4px solid var(--color1);
        justify-content: left;
        margin-bottom: 30px;
        gap: 7px;
    }

    .sort-tabs .sort-link {
        position: relative;
        bottom: -7px;
        font-size: 18px;
        padding: 12px;
    }
}

@media (max-width: 767px) {
    .main {
        padding-bottom: 0;
    }

    .winning .prise {
        width: 100%;
        display: block;
        color: black;
        font-size: 16px;
    }

    .winning .prise img {
        width: 60%;
    }

    .winning .banner .pic {
        display: none;
    }

    #monthAccordion thead th {
        width: 33%;
        padding: 2px;
    }

    #monthAccordion th,
    #monthAccordion td {
        font-size: 14px;
        font-weight: 400;
    }

    .pc {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .table.adule tr th {
        width: 140px;
    }

    .table.all tr th {
        width: 100px;
        max-width: 100px;
    }

    .table.all tr td,
    .table.all tr th[data-col="date"] {
        width: 100px !important;
    }

    .table.date tr th {
        width: 100%;
        max-width: 100%;
    }

    .table thead th {
        padding: 0;
        height: 90px;
    }

    .table h2 {
        line-height: normal;
    }

    .table td {
        padding: 15px 5px;
    }

    .table,
    .table.adule,
    .table.all {
        cursor: grab;
        width: 100%;
        max-height: 60vh;
        overflow: auto;
        /* 防止 iOS 滾動回彈 */
        overscroll-behavior: none;
        /* 防止傳遞到外層捲動 */
        -webkit-overflow-scrolling: auto;
        /* 關閉 iOS 慣性回彈 */
        touch-action: pan-x pan-y;
        /* 控制觸控方向 */
    }

    .table.adule:active,
    .table.all:active {
        cursor: grabbing;
    }

    .table.adule table,
    .table.all table {
        display: inline-block;
        min-width: max-content;
        /*確保不換行 */
    }

    .table.all table thead tr {
        box-shadow: none;
    }

    .scrollTable.all .scrolltip,
    #table:has(.table.adule) .scrolltip,
    #table:has(.table.all) .scrolltip {
        display: block;
    }

    .accordion-header td::after {
        right: auto;
        left: 15px;
    }

    .accordion-header td {
        padding-left: 40px;
    }

    .bell:has(i) {
        display: none;
    }

    .nav-item .bell {
        display: inline-block;
    }

    .evaluate {
        gap: 0 7px;
    }

    .calculate .content {
        padding: 0 20px;
    }

    .calculate .bts .bt {
        max-width: 80%;
    }

    .mainslide img {
        max-width: 80%;
        margin: 0 auto;
    }

    .main .container {
        padding: 0;
    }

    .main .bts {
        padding: 0 10px;
    }

    .mainslide.owl-theme .owl-nav.disabled+.owl-dots {
        bottom: -30px;
    }

    .mainslide {
        margin-bottom: 0;
    }

    .lottery .info {
        margin-top: 30px;
        gap: 25px;
    }

    .lottery .box {
        flex: 0 0 60%;
    }

    .lottery h1::before,
    .lottery h1::after {
        top: 5px;
    }

    .feature .content {
        max-width: 100%;
    }

    .nav-tabs {
        flex: auto;
        flex-wrap: wrap;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    ul.arrow,
    .table .bt,
    .accordion-collapse,
    .notice .more::before,
    .accordion h4.accordion-button,
    .post-list .info,
    .read-list .info,
    .keyword {
        font-size: 16px;
    }

    .notice {
        padding-bottom: 70px;
    }

    .plan ol li,
    .table,
    .keyword a,
    footer {
        font-size: 14px;
    }

    .table .bt {
        margin-bottom: 10px;
    }

    .age {
        margin-top: 30px;
    }


    section {
        padding: 50px 0;
    }

    header {
        padding: 15px 0 0;
    }

    header .container-lg {
        padding: 0;
    }

    .logo {
        margin-bottom: 18px;
    }

    .logo img {
        height: 24px;
    }

    .bt-line {
        right: 20px;
        bottom: 15px;
    }

    .nav {
        position: relative;
        width: 100%;
        right: 0;
        bottom: 0;
    }

    .nav .nav-link {
        margin: 0 10px;
    }

    .logo,
    .nav li:first-child .nav-link {
        margin-left: 25px;
    }

    .nav li:last-child .nav-link {
        margin-right: 25px;
    }

    .nav-tabs li {
        flex: 0 0 30%;
    }

    .case .bts {
        text-align: center;
        margin-top: 30px;
    }

    .keyword {
        text-align: left;
        margin: 20px 0;
    }

    .keyword a {
        border-radius: 8px;
    }

    .accordion h4.accordion-button {
        border-top: 1px solid var(--color7);
        border-bottom: 0;
    }

    .accordion h4.accordion-button[aria-expanded="true"] {
        border-bottom: 0;
    }

    .accordion .accordion-item:first-child h4.accordion-button {
        border-top: 0;
    }

    .accordion .accordion-item:last-child {
        border-bottom: 1px solid var(--color7);
        border-radius: 0;
    }

    .post-list .info li {
        font-weight: 500;
    }

    .table-simple {
        font-size: 14px;
    }

    .table-simple tr th:nth-child(2),
    .table-simple tr th:nth-child(3),
    .table-simple tr th:nth-child(4) {
        width: 16%;
    }

    .bts .bt {
        max-width: 100%;
    }

    .main .bts {
        display: flex;
        justify-content: center;
    }

    .main .bts .bt {
        font-size: 16px;
    }

    .flow {
        right: 0;
    }

    .calculate .info ul {
        text-align: left;
    }

    .logo span {
        bottom: -2px;
    }

    .logo span img {
        height: 18px;
    }

    .table thead,
    .table-wrap thead,
    .table-select tbody tr:first-child {
        top: 0;
    }

    .table-wrap {
        width: 90% !important;
        margin-left: auto;
        margin-right: auto;
    }

    .table.pet {
        max-height: none;
        overflow: visible;
    }

    .howmuch thead,
    .pet thead {
        top: 58px;
    }
}

@media (max-width: 680px) {

    .lottery .box {
        flex: 100%;
    }

    .plan .info {
        width: 100%;
    }

    .feature .carousel-container {
        padding-right: 25px;
    }

    .evaluate h2 {
        margin-bottom: 0;
    }

    .evaluate {
        gap: 20px;
    }

    .evaluate .box {
        flex: 0 0 47%;
    }

    .switch {
        max-width: 90%;
    }

    .switch li {
        flex: auto;
    }

    .switch li button,
    .switch li a {
        padding: 5px 5px;
    }

}

@media (max-width: 575px) {
    .modal-dialog {
        margin: 16px;
    }
}

@media (max-width: 465px) {

    .post .collapse:not(.show) {
        height: 180px;
    }

    .content {
        padding: 0 16px;
    }

    .feature .carousel-container {
        gap: 16px;
    }

    .feature .carousel-container .carousel-item:first-child {
        margin-left: 16px;
    }

    .feature .carousel-container .carousel-item:last-child {
        margin-right: 16px !important;
    }

    .morecontent {
        overflow: hidden;
        max-height: 340px;
        transition: max-height 0.5s ease;
    }

    .morecontent.open {
        display: block;
        overflow: visible;
        max-height: none;
    }

    .collapsible {
        display: block;
    }

    .collapsible.active {
        display: none;
    }

    .table.adule tr th {
        width: 100px;
    }

    .tab-case .pagetab-link {
        height: 260px;
    }

    .tab-case .pagetab-link:has(.icon-prev) {
        left: 0;
    }

    .tab-case .pagetab-link:has(.icon-next) {
        right: 0;
    }
}

@media (max-width: 370px) {
    .logo span {
        font-size: 13px;
        left: calc(100% + 10px);
    }

    .logo,
    .nav li:first-child .nav-link {
        margin-left: 15px;
    }

    .age h3 {
        letter-spacing: 0;
    }

    .age h3,
    .table h2 {
        font-size: 16px;
    }

    .table h3,
    .table .bt {
        font-size: 14px;
    }

    .nav-tabs li {
        flex: 0 0 28%;
    }

    .feature .slide .item .info {
        width: 300px;
        font-size: 14px;
    }

    .plan .info {
        font-size: 13px;
    }

    .switch {
        max-width: 100%;
    }
}
