/* 套版常用設定 */
:root {
    --default-font: "Plus Jakarta Sans", '微軟正黑體', 'Microsoft JhengHei', '文泉驛正黑', 'WenQuanYi Zen Hei', '儷黑 Pro', 'LiHei Pro', '微软雅黑', 'メイリオ', '맑은 고딕', "Helvetica Neue", Helvetica, Arial, sans-serif;
    --primary-color: #8FB8BF;
    --accent-color: #FEAEBB;
    --custom-color1: #feaebb;
    --custom-color2: #dcd7b8;
    --custom-color3: #928293;
    --custom-color4: #acd2d9;
    --custom-color5: #898280;
}
html, body {
    font-size: 1rem;
}
body:focus-visible {
    box-shadow: none;
}
img {
    max-width: 100%;
    height: auto !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.cke_editable ol,
.cke_editable ul,
.backend-editor-body ol,
.backend-editor-body ul,
.editor ol,
.editor ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}
.cke_editable ol > li,
.backend-editor-body ol > li,
.editor ol > li,
.cke_editable ul > li,
.backend-editor-body ul > li,
.editor ul > li {
    list-style-type: unset;
}
.cke_editable ol,
.backend-editor-body ol,
.editor ol {
    list-style: decimal;
}
.cke_editable ol[type="1"],
.backend-editor-body ol[type="1"],
.editor ol[type="1"] {
    list-style: decimal;
}
.cke_editable ol[type="a"],
.backend-editor-body ol[type="a"],
.editor ol[type="a"] {
    list-style: lower-alpha;
}
.cke_editable ol[type="A"],
.backend-editor-body ol[type="A"],
.editor ol[type="A"] {
    list-style: upper-alpha;
}
.cke_editable ol[type="i"],
.backend-editor-body ol[type="i"],
.editor ol[type="i"] {
    list-style: lower-roman;
}
.cke_editable ol[type="I"],
.backend-editor-body ol[type="I"],
.editor ol[type="I"] {
    list-style: upper-roman;
}
.cke_editable ul,
.backend-editor-body ul,
.editor ul {
    list-style-type: disc;
}

.cke_editable .list-unstyled,
.editor .list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.embed-responsive {
    position: relative;
    display: block;
    height: auto;
    padding: 0;
    overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background: #111111;
}
body div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{
    box-shadow:0 0 0 3px rgba(17,17,17,.5)
}

.txt-c1 {
    color: var(--primary-color);
}
.txt-c2 {
    color: var(--accent-color);
}
.row:not(.editor .row),
.row.gx-2r {
    --bs-gutter-x: 2rem;
}
.wrapper {
    padding-top: 90px;
}
header.main-header {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    right: 0;
}
.header-fixed header.main-header {
    background: var(--white-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.navbar-brand img {
    width: 147px;
}
.banner-box {
    padding: 0;
    overflow: hidden;
    background: none;
}
.banner-pagination {
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 1em 0.25em;
}
.banner-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
}
.home-quick-link {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 2.083vw;
}
.home-quick-link .icon-box {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 20px;
    margin-bottom: 15px;
}
.home-quick-link .icon-box img {
    position: relative;
    width: 100%;
    max-width: 24px;
    z-index: 1;
}
.working-hours-body ul li a {
    color: inherit;
    text-decoration: underline;
}
.working-hours-body ul li a:hover {
    color: var(--accent-color);
}
.home-news .accordion-button {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.home-news .accordion-button:not(.collapsed)::after {
    content: '\f061';
}
.home-news .accordion-button:not(.collapsed):hover {
    color: var(--accent-color);
}
.home-news .accordion-button:not(.collapsed):hover::after {
    background: var(--accent-color);
}
.home-news .accordion-button .home-news-category {
    display: inline-block;
    color: var(--white-color);
    background: var(--primary-color);
    border-radius: 1em;
    padding: 0 0.75em;
    font-size: 0.8em;
    margin-right: 1em;
}
.home-news .accordion-button:hover .home-news-category {
    background: var(--accent-color);
}
.home-news .accordion-button .home-news-date {
    color: var(--text-color);
    font-size: 0.8em;
    margin-right: 1em;
}
.home-news .accordion-button .home-news-title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0.5em 0 0 0.5em;
}

.home-video-box {
    text-align: center;
}
.home-video-box .video-gallery-image {
    height: auto;
    margin-bottom: 15px;
}
.home-video-box .video-gallery-image img {
    aspect-ratio: 1 / 0.56;
}
.home-video-box .video-gallery-image.type2 img {
    aspect-ratio: 1 / 1.5;
}

.main-footer {
    color: var(--white-color);
}
.footer-newsletter-form .btn-link {
    color: inherit;
}
.footer-newsletter-form .btn-link:hover {
    color: var(--accent-color);
}
.footer-newsletter-form .form-group {
    border-color: var(--white-color);
}
.footer-newsletter-form .form-group.is-invalid {
    border-color: var(--bs-form-invalid-color);
}

.service-image img {
    height: 100% !important;
}
.image-anime:after {
    pointer-events: none;
}
.page-catagory-list ul li.active a {
    color: var(--primary-color);
}
.page-catagory-list ul li.active a::before {
    transform: translateY(-50%) rotate(45deg);
}
.post-single-meta ol li a {
    color: inherit;
}
.footer-social-links ul li {
    vertical-align: middle;
}
.footer-social-links ul li a svg {
    width: auto;
    height: 18px;
}
.section-title .h4 {
    font-size: 1.5rem;
}
.resource-filter .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}
.custom-table {
    line-height: 1.5;
}
.custom-table tr th,
.custom-table tr td {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}
.custom-table .map-link {
    color: inherit;
}
.custom-table .map-link[href]:hover {
    color: var(--primary-color);
}
.custom-table .map-link i {
    color: var(--accent-color);
    font-size: 1.25em;
    text-indent: 0;
}
.form-check a {
    color: var(--primary-color);
}
.member-sect {
    padding: 50px 0 100px;
}
.custom-form .form-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--white-color);
}
.custom-form .form-group:focus-within {
    border-color: var(--primary-color);
}
.custom-form .form-group .form-control {
    background: none;
}
.custom-form .form-group .form-check {
    margin-left: 20px;
    min-height: 0;
}
.custom-form .form-group .form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(143, 184, 191, .25);
}
.contact-form .form-check-input {
    margin-top: 0;
}
.contact-form .form-check-input:checked,
.custom-form .form-group .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.custom-form .form-group .form-label {
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.5em;
    padding: 17px 0 17px 20px;
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
    min-width: 6em;
}
.btn-default.no-icon {
    padding-right: 20px;
}
.btn-default.no-icon::before {
    display: none;
}
.test-slider .custom-form {
    min-height: 25em;
}
.test-slider .form-check {
    background: var(--white-color);
    border-radius: 10px;
    padding: 1em;
    display: flex;
    align-items: center;
    line-height: 1.5;
    margin-top: 1em;
}
.test-slider .form-check .form-check-input {
    float: none;
    margin: 0 1em 0 0;
}
.test-slider .form-check .form-check-label {
    flex: 1;
}
.test-slider .form-check .form-check-input:focus {
    box-shadow: none;
}
.test-slider .form-check .form-check-input:not(:checked) {
    background-color: #fff !important;
}

.home-link-box {
    display: block;
    text-align: center;
    padding: 2.5em 0.5em;
    color: inherit;
    line-height: 1.4;
    max-width: 20em;
    margin: 0 auto;
}
.home-link-box a {
    color: inherit;
}
.home-link-box a,
.home-link-box > * {
    display: block;
}
.home-link-box .title {
    color: #fff;
    background: #888;
    border-radius: 5px;
    padding: 0.5em 1em;
    margin: 1.5em 0 1em;
    font-size: 1em;
    font-weight: 700;
}
.home-link-box .title.bg1 {
    background: var(--custom-color1);
}
.home-link-box .title.bg2 {
    background: var(--custom-color2);
}
.home-link-box .title.bg3 {
    background: var(--custom-color3);
}
.home-link-box .title.bg4 {
    background: var(--custom-color4);
}
.home-link-box .title.bg5 {
    background: var(--custom-color5);
}
.home-link-box .desc {
    max-width: 8em;
    margin: 0 auto;
}

.footer-privacy-policy ul li a:hover,
.footer-newsletter-form .btn-link:hover,
.footer-links p a:hover,
.footer-links ul li a:hover {
    color: #111;
}


.service-item:before{
	display: none;
}
.service-item .bg{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 20px;
	width: 100%;
	height: 100%;
	transition: all 0.5s ease-in-out;
	z-index: 1;
}

.service-item.active .bg,
.service-item:hover .bg{
	transform: translate(100%, -100%);
}
.service-body .icon-box {
    background-color: var(--white-color);
}
.service-item .service-content,
.service-item.active .service-content,
.service-item:hover .service-content {
    border-bottom-color: var(--white-color);
}
.service-item .service-content h3,
.service-item .service-content .h3,
.service-item .service-content p,
.service-item .service-readmore-btn .readmore-btn {
    color: var(--white-color);
}
.service-item .service-readmore-btn .readmore-btn::before {
    filter: brightness(0) invert(1);
}
.service-image::after {
    display: none;
}
.service-item::before,
.service-item .bg {
    transform: translate(100%, -100%);
}
.service-item .service-image {
    opacity: 1;
}
.service-item:hover::before,
.service-item:hover .bg {
    transform: translate(0, 0);
}

.service-image .cover {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	opacity: 70%;
}
.page-header.bg-pic {
    text-align: center;
    max-width: none;
    margin: 0;
    border-radius: 0;
    padding: 5em 0;
    background: no-repeat 50% 50%;
    background-size: cover;
}
.page-header.bg-pic .page-header-box {
    border-radius: 15px;
    display: inline-block;
    vertical-align: top;
    padding: 1em 2em;
    background-color: var(--custom-color5);
}
.page-header.bg-pic .page-header-box h1,
.page-header.bg-pic .page-header-box .h1 {
    font-size: 1.75em;
    min-width: 7em;
}
.page-header.bg-pic .page-header-box .breadcrumb {
    font-size: 1em;
}
.test-sect {
    position: relative;
    margin-bottom: 3em;
}
.test-sect >.container {
    position: relative;
}
.test-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
    background: no-repeat 50% 50%;
    background-size: cover;
}
.test-pic,
.test-result-pic {
    margin: 0 auto 2.5em;
    text-align: center;
}
.test-pic img,
.test-result-pic img {
    max-width: 370px;
}
.custom-table .test-pic img,
.custom-table .test-result-pic img {
    max-width: 150px;
}
.test-result-txt {
    background: var(--white-color);
    text-align: center;
    font-size: 21px;
    font-weight: 700;
    border-radius: 16px;
    padding: 0.5em 1em;
    margin-bottom: 2em;
}
.btn-default.custom-bgc::after {
    display: none;
}
.btn-default.custom-bgc .hover-bg {
	content: '';
    display: block;
	position: absolute;
	left: 0;
	bottom: 0%;
	width: 102%;
	height: 100%;
	background-color: var(--primary-color);
	transition: all 0.5s ease-in-out;
	z-index: -1;
	transform: skewY(9.3deg) scaleY(0);
}
.btn-default:hover .hover-bg{
	transform: skewY(0deg) scaleY(2);
}
.btn-default.btn-sm {
    font-size: 0.9em;
    padding: 0.75em 2.25em 0.75em 1em;
}
.btn-default.btn-sm::before {
    right: 1em;
    width: 0.8em;
    height: 0.8em;
}

.hero-content {
    width: calc(67.4% - 15px);
}
.hero-image {
    width: calc(32.6% - 15px);
}
.hero-image img {
    aspect-ratio: initial;
}


@media only screen and (min-width: 768px) {
    .home-news .accordion-button .home-news-title {
        display: inline;
        margin: 0;
    }
    .home-link-box .title {
        min-width: 146px;
    }
}
@media only screen and (min-width: 992px) {
    .wrapper {
        padding-top: 110px;
    }
    .page-header.bg-pic {
        padding: 8em 0;
    }
    .page-header.bg-pic .page-header-box h1,
    .page-header.bg-pic .page-header-box .h1 {
        font-size: 2.5em;
    }
}
@media only screen and (min-width: 1200px) {
    .navbar-brand img {
        width: 182px;
    }
    .footer-logo img {
        max-width: 182px;
    }
}

@media only screen and (max-width: 991px) {
    .responsive-menu .slicknav_nav {
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
    }
    .custom-table.lg-down-rs thead {
        display: none;
    }
    .custom-table.lg-down-rs tbody tr,
    .custom-table.lg-down-rs tbody td {
        display: block;
    }
    .custom-table.lg-down-rs tbody tr {
        border-bottom: var(--bs-border-width) solid var(--bs-table-border-color);
        padding: 1em 0;
    }
    .custom-table.lg-down-rs tbody td {
        border-bottom: 0;
        padding: 0.25em 0;
        display: flex;
    }
    .custom-table.lg-down-rs tbody td[data-title]::before {
        content: attr(data-title)'：';
        color: #999;
        flex-shrink: 0;
    }
}

@media only screen and (max-width: 767px) {
    .service-item .service-content h3,
    .service-item .service-content p {
        color: var(--white-color);
    }
    .service-item .service-readmore-btn .readmore-btn {
        color: var(--white-color);
    }
    .service-item .service-readmore-btn .readmore-btn::before {
        filter: brightness(0) invert(1);
    }
    .custom-table.md-down-rs thead {
        display: none;
    }
    .custom-table.md-down-rs tbody tr,
    .custom-table.md-down-rs tbody td {
        display: block;
    }
    .custom-table.md-down-rs tbody tr {
        border-bottom: var(--bs-border-width) solid var(--bs-table-border-color);
        padding: 1em 0;
    }
    .custom-table.md-down-rs tbody td {
        border-bottom: 0;
        padding: 0.25em 0;
        display: flex;
    }
    .custom-table.md-down-rs tbody td[data-title]::before {
        content: attr(data-title)'：';
        color: #999;
        flex-shrink: 0;
    }
}

@media only screen and (max-width: 1024px){
	.hero-content,
	.hero-image{
		width: 100%;
	}
}
