@charset "utf-8";

@import url("setting.css");

a{ color: var(--color-10); text-decoration:none; transition: 0.2s all;}
a:hover{ color: var(--color-01); text-decoration: none;}
a:focus{ text-decoration: none;}

section{ padding: 80px 0; }
section h2{ letter-spacing: 3px; }
section h3{ margin-bottom: 20px; line-height: 1.25em; }
section h4{ margin-bottom: 10px; line-height: 1.25em; }

.container{ max-width: 1240px; padding: 0 20px; }
.container.w2{ max-width: 1400px; }
.container.w3{ max-width: 951px; }
.container.w4{ max-width: 728px; }
.container.w5{ max-width: 546px; }

/*** HEADER ***/
header{ width: 100%; height: var(--height-01); padding: 0; background: #F0F0F0;
background: linear-gradient(0deg,rgba(240, 240, 240, 1) 0%, rgba(255, 255, 255, 1) 100%); position: fixed; top: 0; z-index: 999; }

.logo{ float: left; margin: 10px 0; padding: 0; background: url('../images/pic-logo.webp') center center no-repeat; background-size: cover; text-indent: -9999px;}
.logo a{ width: 243px; height: 45px; display: block; }

header.active{ height: 89px; position: fixed; z-index: 999;}
/*** /HEADER ***/

/*** MENU ***/
ul.menu{ float: right; margin: 27px 0 0 0; padding: 0; list-style: none; }
ul.menu li{ float: left; margin: 0 0 0 20px; color: var(--color-01); font-size: 1.5em; }
ul.menu li.dot{ font-family: "Noto Sans TC", sans-serif; font-size: .75em; line-height: 32px; transform:scale(0.4); }
ul.menu li a{ color: var(--color-10); }
ul.menu li a:hover, ul.menu li a.current{ color: var(--color-02); }

.dropbtn { margin: 0; padding: 0; color: var(--color-01); background: none; border: 0; }
.dropdown { position: relative; display: inline-block;}
.dropdown-content { padding: 5px; font-size: .813em; display: none; position: absolute; background-color: var(--color-bg); min-width: 160px; box-shadow: 5px 5px 16px rgba(0,0,0,0.2); z-index: 1;}
.dropdown-content a { color: var(--color-02); padding: 5px 15px; text-align: left; text-decoration: none; display: block;}
.dropdown-content a:hover {background-color: var(--color-bg);}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn { color: var(--color-01); background-color: var(--color-bg);}
/*** /MENU ***/

/*** SIDEBAR ***/
.btn_toggle{ display: none; }

#sidebar { width: 250px; height: 100vh; position: fixed; top: 0; right: -250px; z-index: 998; background:  var(--color-01); color:  var(--color-03); transition: all 0.2s; overflow-y: scroll; box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);}
#sidebar.active { right: 0;}
#dismiss { width: 35px; height: 35px; line-height: 45px; text-align: center; color:  var(--color-bg); background: none; position: absolute; top: 7px; right: 10px; cursor: pointer; -webkit-transition: all 0.2s; -o-transition: all 0.2s; transition: all 0.2s;}
.overlay { width: 100vw; height: calc(100vh + 30px); margin-top: -30px; display: none !important; position: fixed !important; background: rgba(0, 0, 0, 0.7); z-index: 901; opacity: 1; transition: all 0.5s ease-in-out;}
.overlay.active { display: block !important; opacity: 1;}
#sidebar ul.components { padding: 86px 0 0 0; transition: all 0.1s;}
#sidebar ul.components.active { padding: 56px 0 0 0;}
#sidebar ul p { color: var(--color-03); padding: 10px;}
#sidebar ul li{ border-bottom: 1px dashed rgba(255, 255, 255, .5); }
#sidebar ul li span{ background: #7f268a; border-top: 1px solid rgba(255, 255, 255, .15); display: block; }
#sidebar ul li a { padding: 10px 15px; color:  var(--color-bg); font-size: 1.25em; display: block;}
#sidebar ul li a:hover { color: var(--color-03);}
/*** /SIDEBAR ***/

/*** BREADCRUMB ***/
nav[aria-label="breadcrumb"]{ padding:8px 0 7px 0; font-size: .875em; color: #999; background: #f9f9f9; border-top: 0px solid #ddd; border-bottom: 1px solid #ddd; }
ol.breadcrumb{ margin: 0; padding: 0;}
.breadcrumb-item:before{ color: #999 !important; }
.breadcrumb-item.active{ color: var(--color-01); font-weight: bold; }
ol.breadcrumb a{ color: #999; }
ol.breadcrumb a:hover{ color: var(--color-01); }
/*** /BREADCRUMB ***/

/*** CONTACT ***/
.gmap{ width: 100%; height: 355px; margin-top: 10px; display: block; }
/*** /CONTACT ***/

/*** CNT ***/
main{ min-height: calc(100vh - 577px); background: url('../images/bg-main.webp') center top -45px no-repeat; }

#i_bnr{ margin: 0; margin-top: var(--height-01); padding: 0; }
.bnr_inr{ background: url('../images/bg-bnr_inr.webp') center center no-repeat; background-size: cover; text-align: center; }
.bnr_inr h2{ padding: 76px 0 80px 0; color: var(--color-12); line-height: 1em; display: block; }

.carousel-item img{ width: 100%; height: auto; }

.h2_wrap{ margin-bottom: 40px; text-align: center; }
.h2_wrap.t2{ overflow: hidden;}
.h2_wrap.t2 h2{ float: left; }
.h2_wrap.t2 a{ float: right; margin-top: 3px; padding: 5px 18px 7px 18px; font-size: 1em; line-height: 1em; }

ul.list{ margin: 0; padding: 0; list-style: none; }
ul.list li{ margin-bottom: 5px; }
ul.list li:last-child{ margin-bottom: 0px; }
ul.list li a{ display: flex; background: #f3f3f3; }
ul.list li a p{ padding: 15px 15px; color: var(--color-10); }
ul.list li a p i{ margin-right: 4px; }
ul.list li a p:nth-child(1){ width: 60px; padding: 0; color: var(--color-12); background: var(--color-01); }
ul.list li a p:nth-child(1) span{ width: 100%; display: block; text-align: center;}
ul.list li a p:nth-child(1) span:nth-child(1){ margin: 13px 0 5px 2px; font-size: .75em; letter-spacing: 4px; line-height: 1em;}
ul.list li a p:nth-child(1) span:nth-child(2){ margin: 4px 0; line-height: 1em;}
ul.list li a p:nth-child(2){ width: calc(100% - 380px); font-size: 1.25em;}
ul.list li a p:nth-child(3){ width: 200px; font-size: 1.25em;}
ul.list li a p:nth-child(4){ width: 120px; font-size: 1.25em;}
ul.list li a:hover{ background: var(--color-02);}

.intro_wrap{ padding: 30px; display: flex; }
.intro_wrap .intro_img{ width: 140px; }
.intro_wrap .intro_img img{ width: 100%; height: auto; }
.intro_wrap .intro_txt{ width: calc(100% - 140px); padding-left: 30px; }
.intro_wrap .intro_txt h2{ margin-bottom: 20px; }
.intro_wrap.t1{ color: var(--color-12); background: var(--color-01); }
.intro_wrap.t1 .intro_txt a:hover{ color: var(--color-01); }
.intro_wrap.t2{ background: var(--color-02); }
.intro_wrap.t2 .intro_img{ order: 2; }
.intro_wrap.t2 .intro_txt{ padding: 0 30px 0 0; text-align: right; }

.box_wrap{ margin: 0px 0px; background: #fff; position: relative; transition:0.2s all; }
.box_wrap.bordered{ padding: 10px 10px 10px 10px; border: 1px solid #ccc; }
.box_img_wrap{ position: relative; overflow: hidden; -webkit-transform: perspective(0);}
.box_name{ width: 100%; padding: 5px 10px 7px 20px; color: #fff; position: absolute; bottom: 0; z-index: 2; background: rgba(0, 0, 0, .5); }
.box_overlay{ width: 100%; height: 100%; position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0); transition:0.2s all; }
.box_overlay i{ color: #fff; font-size: 3em; opacity: 0; transition:0.2s all; }
.box_img{ transition:0.2s all; }
.box_img img{ width: 100%; height: auto; }
.box_txt_wrap{ padding: 10px 0 0 0; background: #fff; }
.box_txt_wrap b{ margin: 0 0 20px 5px; font-size: 2em; line-height: 1em; letter-spacing: 5px; display: block; }
.box_txt{ margin: 0 auto; }
.box_txt.w-100{ max-width: 100%; margin: 0 auto; }
.box_txt span{ display: inline-block; }
.box_txt span:after{ content: '、'; }
.box_txt span:last-child:after{ content: ''; }
.box_txt button{ margin: 20px 0 0 0; }
.box_txt p{ padding: 0 10px 2px 10px; line-height: 1.325em; text-align: center; }
.box_wrap:hover{ box-shadow: 0 0 10px rgba(0, 0, 0, .45); }
.box_wrap:hover .box_img{ transform: scale(1.1, 1.1); }
.box_wrap:hover .box_overlay{ background: rgba(0, 0, 0, .5); }
.box_wrap:hover .box_overlay i{ opacity: 1; }
.box_wrap:hover .box_txt h5{ color: #0090b9; }
.box_wrap:hover .box_txt button{ color: #0090b9 !important; background: #fff !important; border-color: #0090b9 !important; }

.info_dtl span{ margin-right: 10px; font-size: .813em; display: inline-block; }
.info_dtl span i{ margin-right: 8px; }
.info_dtl.t2 span{ display: block; }

.cnt_wrap li{ margin-bottom: 20px; }

.sort_list{ margin: -10px 0; padding: 0; list-style: none; }
.sort_list li{ padding: 10px 0; border-bottom: 1px dashed #ccc; }
.sort_list li:last-child{ border-bottom: 0px dashed #ccc; }
.sort_list li a{ display: block; }

.sort_wrap_mb{ display: none; }

.cjk-ideographic{ margin: 0 0 0 32px; padding: 0; list-style-type: cjk-ideographic; }

.quote_1{ text-overflow: ellipsis; white-space: nowrap; overflow: hidden;}
.quote_2{ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.quote_3{ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.quote_4{ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
/*** /CNT ***/

/*** PAGINATION ***/
.pagination_wrap{ width: 100%; overflow: hidden; }
.pagination{ margin: 30px 0 0 0; }
.pagination a{ color: #666; }
.pagination a:hover{ color: #666; background: #f6f6f6; }
.pagination .active .page-link{ background: var(--color-01); border-color: #dee2e6; }
.pagination .disabled .page-link{ color: #ccc; background: var(--color-12); border-color: #dee2e6; }

.pagination_jump{ float: right; margin: 30px 0 0 0; padding: 0; list-style: none; }
.pagination_jump select.form-select{ width: auto; min-height: 38px; margin: 0 5px; padding: 0 35px 0 10px; background-color: var(--color-03); border: 1px solid #dee2e6; border-radius: 3px; display: inline-block; cursor: pointer; }
/*** /PAGINATION ***/

/*** FOOTER ***/
footer{ margin: 0; padding: 80px 0; color: var(--color-12); background: var(--color-01) url('../images/bg-footer.webp') left bottom -50px no-repeat; overflow: hidden; }
footer .row > div:nth-child(1) a{ color: var(--color-12); display: block; }
footer .row > div:nth-child(1) a:nth-child(2){ display: inline-block;}
footer .row > div:nth-child(1) a i{ color: #ddd; font-size: 2.125em; transition: 0.2s all; }
footer .flogo{ width: 220px; height: 41px; margin: 0 0 15px 0; padding: 0; background: url('../images/pic-flogo.webp') center center no-repeat; background-size: cover; text-indent: -9999px;}
footer h4{ margin-bottom: 10px; }
footer .qlist{ margin: 0; padding: 0; list-style: none; }
footer .qlist li{ margin: 6.5px 20px 4px 0; display: inline-block; }
footer .qlist li a{ color: #ddd; overflow: hidden; }
footer .qlist li a:hover{ color: var(--color-12); }

footer .clist{ margin: 0; padding: 0; list-style: none; }
footer .clist li{ margin: 4px 20px 4px 0; display: inline-block; }
footer .clist li a{ color: #ddd; overflow: hidden; }
footer .clist li a:hover{ color: var(--color-12); }
footer .clist li a i:first-child{ float: left; width: 16px; margin: 5px 8px 0 0; text-align: center; }
footer .clist li a p:last-child{ float: left; width: calc(100% - 24px);}

footer a:hover, footer a:hover i{ color: var(--color-12) !important; }

.copyright{ padding: 18px 20px; color: var(--color-12); font-size: .813em; background: var(--color-03); text-align: center; }
/*** /FOOTER ***/

/*** CAPTCHA ***/
#captcha_code{ float: left; width: 120px; text-align: center; }
.captcha_wrap{ float: left; margin: 10px 0 0 10px; }
/*** /CAPTCHA ***/

/*** BTN ***/
.btn{ border-radius: 0; }
.btn_wrap{ width: 100%; margin:30px 0 0 0; }

.btn-primary{ background: var(--color-01) !important; border-color: var(--color-01) !important; }
.btn-primary:hover, .btn-primary:focus{ background: var(--color-02) !important; border-color: var(--color-02) !important;}
/*** /BTN ***/

/*** MODAL ***/
.modal{ z-index: 999999; }
.modal-header{ color: #fff; background: var(--color-01); }
.modal-open { padding-right: 0 !important;}
.modal-backdrop { opacity: .9 !important; }
.modal-content{ position: relative; }
.btn-close-wrap{ background-color: #2faeff; border-radius: 0; border-top-right-radius: 5px; border-bottom-left-radius: 5px; position: absolute; top: 0; right: 0; z-index: 10; }
.btn-close{ padding: 15px 15px; position: absolute; top: 0; right: 0; z-index: 10;}
.modal-body{ padding: 30px 30px 30px 30px; color: #333; overflow: hidden; }
.modal-body h4{ font-weight: 700; line-height: 1.25em; text-align: center; }
.modal-body h4 span{ font-size: .6em; font-weight: 400; display: block; text-transform: uppercase; }
.modal-body button{ margin-top: 5px; margin-bottom: 5px; }
.modal-body a:hover{ color: var(--color-12); }

#popModal .modal-body{ padding: 0;}
#popModal .btn-close-custom{ width: 26px; height: 26px; line-height: 24px; border-radius: 50%; position: absolute; top: 10px; right: 10px; color: #fff; background: #000; }
/*** /MODAL ***/

/*** POPOVER ***/
[data-bs-toggle="popover"]{ cursor: pointer; }
.popover{ padding:5px; border: 5px solid #ccc; border-radius: 10px; }
.popover-arrow{ display: none !important; }
/*** /POPOVER ***/


@media screen and (-webkit-min-device-pixel-ratio:0) { /* Chrome */
}

@media all and (-ms-high-contrast:none){ /* IE 11 */
     *::-ms-backdrop, .label_name{ }
}

@supports (display:-ms-grid) { /* Edge */
}
