@charset "utf-8";

@import url("setting.css");

.display-none { display: none; } /* modified */

a{ color: var(--color-10); text-decoration:none; transition: 0.3s all;}
a:hover{ color: var(--color-01); text-decoration: none;}
a:focus{ text-decoration: none;}

section{ padding: 80px 0; }
section h3.cap{ margin-bottom: 40px; margin-left: 8px; letter-spacing: 8px; text-align: center; }

.container{ max-width: 1300px; padding: 0 50px; }
.container.w2{ max-width: 1400px; }
.container.w3{ max-width: 951px; }
.container.w4{ max-width: 728px; }
.container.w5{ max-width: 676px; }

.container-fluid{ padding: 0 50px; }

.bg{ width: 100vw; height: 100vh; background: var(--color-bg); position: fixed; top: 0; left: 0; z-index: -1; will-change: transform; transform: translateZ(0); display: none; }

/*** HEADER ***/
header{ width: 100%; height: var(--height-01); padding: 0; color: #fff; background: url('../../img/bg-header.webp') center bottom repeat-x; position: fixed; top: 0; z-index: 999; }

.logo{ float: left; margin: 14px 0; padding: 0; background: url('../../img/pic-logo.webp') center center no-repeat; background-size: cover; text-indent: -9999px;}
.logo a{ width: 168px; height: 44px; display: block; }
/*** /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.3s; 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.3s; -o-transition: all 0.3s; transition: all 0.3s;}
.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 ***/

/*** CNT ***/
/*main{ background: url('../../img/bg-dragon.webp') right 30px fixed no-repeat; background-size: 320px auto; }*/

.flex-grow { flex-grow: 1 }

main{ min-height: calc(100vh - 300px); }

.dragon_wrap{ position: relative; }
.dragon{ width: 300px; height: 945px; background: url('../../img/bg-dragon.webp') right 30px no-repeat; background-size: cover; position: absolute; top: 0px; right: 0; }
.dragon.fixed{ position: fixed; }

.bnr_wrap{ padding-top: var(--height-01); display: flex; align-items: center; }
.bnr_wrap.index{ height: 900px; background: url('../../img/bg-bnr_index_dk_3.webp') left bottom no-repeat; background-size: cover; }
.bnr_wrap.inr{ height: 350px; }
.bnr_wrap.bnr_news{ background: url('../../img/bg-bnr_news.webp') center center no-repeat; background-size: cover; }
.bnr_wrap.bnr_abt{ background: url('../../img/bg-bnr_abt.webp') center center no-repeat; background-size: cover; }
.bnr_wrap.bnr_god{ background: url('../../img/bg-bnr_god.webp') center center no-repeat; background-size: cover; }
.bnr_wrap.bnr_donor{ background: url('../../img/bg-bnr_donor.webp') center center no-repeat; background-size: cover; }
.bnr_wrap.bnr_bd_mbr{ background: url('../../img/bg-bnr_bd_mbr.webp') center center no-repeat; background-size: cover; }
.bnr_wrap.bnr_cont{ background: url('../../img/bg-bnr_cont.webp') center center no-repeat; background-size: cover; }
.bnr_wrap > div{ display: flex; justify-content: end; }
.bnr_wrap.inr > div{ display: flex; justify-content: center; }
.bnr_cap img{ width: 100%; height: auto; }
.bnr_cap h2{ margin-left: 14px; letter-spacing: 9px;}
.bnr_wrap.inr .bnr_cap h2{ margin-top: -10px; margin-left: 9px; font-size: 2.5em; text-shadow:
    2px 2px 0 #fff, /* Top-right */
    -2px 2px 0 #fff, /* Top-left */
    2px -2px 0 #fff, /* Bottom-right */
    -2px -2px 0 #fff; /* Bottom-left */}

.h2_wrap{ width: 228px; margin-bottom: 40px; background: url('../../img/bg-h2.webp') center bottom no-repeat; background-size: 100% auto; text-align: center; }
.h2_wrap.text-center{ margin: 0 auto 40px auto;}
.h2_wrap h2{ margin-left: 14px; letter-spacing: 9px; }

.lst01{ margin: 0; padding: 0; list-style: none; }
.lst01 li{ margin-bottom: 10px; }
.lst01 li:last-child{ margin-bottom: 0px; }
.box_wrap{ padding: 26px 30px; background: var(--color-bg2); border: 1px solid #ccc; }
.box_info{
  display: flex;
  margin-bottom: 10px; overflow: hidden; 
}
.box_info .box_tag{ margin-right: 20px; padding: 0px 5px 1px 6px; border-radius: 3px; display: inline-block; }
/* modified start */
.box_info .box_tag { color: var(--color-12); font-size: 0.9rem; } 
/* .box_info .box_tag.t1{ color: var(--color-12); font-size: 0.9rem; background: var(--color-02); } */
/* .box_info .box_tag.t2{ color: var(--color-12); font-size: 1rem; background: var(--color-03); } */
.box_info .box_date { color: var(--color-13); font-size: 1rem; } 
.box_info .box_visit_count { color: var(--color-13); font-size: 1rem; } 
/* modified end */
.box_wrap p{}
.box_vid{ height: 385px; margin-top: 12px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.box_wrap a .box_vid i{ color: var(--color-12); font-size: 5em; opacity: .75; transition: 0.3s all; }
.box_wrap a:hover .box_vid i{ color: var(--color-01); opacity: 1; }
.box_vid_btn{ margin-top: 15px; margin-bottom: 3px; text-align: center; }

/* modified start */
.i_news_cap { margin-bottom: 36px; display: flex; gap: 1.5em; align-items: flex-end; }
.i_news_cap .h2_wrap { margin-bottom: 4px; }
.i_news_cap .i_news_more { font-size: 1.2rem; }
/* modified end */

#i_abt{ background: var(--color-12); }
.i_abt_bg_t{ height: 69px; background: url('../../img/bg-i_abt_bg_t.webp') center bottom repeat-x; background-size: auto 100%; }
.i_abt_bg_b{ height: 69px; background: url('../../img/bg-i_abt_bg_b.webp') center top repeat-x; background-size: auto 100%; }

.i_god_wrap{ display: flex; }
.i_god_cap{ width: 100px;  }
.i_god_cap .h2_wrap{ height: 228px; margin-bottom: 30px; background: url('../../img/bg-h2_v.webp') left top no-repeat; background-size: atuo 100%; text-align: center; }
.i_god_cap .h2_wrap h2{ margin: 0; padding: 30px 0 0 0; writing-mode: vertical-lr; }
.i_god_cap .i_god_more.right { display: none; } /* modified */
.i_god_lst{ width: calc(100% - 100px); }

.box_wrap.t2{ display: flex; align-items: stretch; }
.box_wrap.t2 .box_img_wrap{ width: 160px; position: relative; overflow: hidden; }
.box_wrap.t2 .box_img{ width: 100%; height: 100%; overflow: hidden; }
.box_wrap.t2 .box_img::before{ width: 50%; height: 100%; position: absolute; top: 0; left: -75%; z-index: 2; display: block; content: ''; background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%); background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%); -webkit-transform: skewX(-25deg); transform: skewX(-25deg); }
.box_wrap.t2:hover .box_img::before{ -webkit-animation: shine .75s; animation: shine .75s; }
.box_wrap.t2 .box_txt_wrap{ width: calc(100% - 160px); }
.box_wrap.t2 .box_txt_wrap .box_txt{ padding-left: 20px; min-height: 14em; }
.box_wrap.t2 .box_txt_wrap .box_txt h5{ margin-bottom: 14px; }
a .box_txt_wrap .box_txt p{ color: var(--color-10); text-align: justify; }
a:hover .box_txt_wrap .box_txt p{ color: var(--color-10); }

.box_wrap.t3{ padding: 10px 15px; }
.box_wrap.t3 .box_txt{ height: 49px; display: flex; align-items: center; }
.box_wrap.t3 .box_txt p{ font-size: .875em; font-weight: 800; }
.box_wrap.t3 .box_txt p:first-child{ width: calc(100% - 80px); max-height: 49px; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.box_wrap.t3 .box_txt p:last-child{ width: 80px; text-align: right; overflow: visible }

.box_wrap.t5{ font-size: 1.3rem; font-weight: 700; }

@keyframes shine {
  100% { left: 125%;}
}

#inr h3{ margin-bottom: 20px; line-height: 1.25em; }

/* modified start */
.cnt_wrap h4 { font-size: 1.625rem; margin-bottom: 16px; line-height: 1.25em; }
.cnt_wrap h5 { font-size: 1.375rem; margin-bottom: 16px; line-height: 1.25em; }
.cnt_wrap h6 { font-size: 1.25rem; margin-bottom: 16px; line-height: 1.25em; }
.cnt_wrap p { font-size: 1.15rem; margin-bottom: 1.5em;  }
.cnt_wrap :not(li) > p:last-child { margin-bottom: 0; }
.cnt_wrap li > p { margin-bottom: 0.5em; }
.cnt_wrap ul { margin-bottom: 1.5em; margin-left: 3em; }
.cnt_wrap ol { margin-bottom: 1.5em; margin-left: 3em; }
.cnt_wrap a { text-decoration: underline; }
.cnt_wrap img { 
  display: block; 
  margin-left: auto; margin-right: auto; 
  margin-top: 1.5em;  margin-bottom: 1.5em;  
}

.cnt_wrap div[data-youtube-video]:not(:last-child) { margin-bottom: 1.5em; }
.cnt_wrap div[data-facebook-post]:not(:last-child) { margin-bottom: 1.5em; }
.cnt_wrap div[data-youtube-video] iframe { 
  width: 100%; height: auto; aspect-ratio: 16 / 9; 
}
.cnt_wrap div[data-facebook-post] iframe { 
  width: 100%; height: auto; aspect-ratio: 16 / 9; 
}

.contact_info_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4em 1.5em;
  margin-bottom: 2.5em;
}
.contact_info_wrap > div { 
  font-size: 1.2rem; font-weight: 700;
}
.contact_info_wrap i{ font-size: 1.25em; margin-right: 0.2em; }

.site_search_wrap { display: flex; align-items: center; }
.site_search_wrap input { font-size: 1.15rem; font-weight: 500; }
.search_result_item { margin-top: 2em; font-size: 1.15rem; }
.search_result_item a { 
  text-decoration: underline;
  display: block; margin-bottom: 0.5em; 
  font-size: 1.25rem; font-weight: 700; 
}
.search_result_preview p { margin-top: 0.75em; color: #303030;}

form input { font-weight: 600; }
form textarea { line-height: 1.5; font-weight: 600; }

.sent_inquiry { margin-bottom: 1.5em; }
.sent_inquiry h5 { margin-bottom: 1em; }
.sent-inquiry-content { margin-top: 0.75em; }

/* modified end */

.god_img{ margin-bottom: 20px;}

.i_god_more{ -webkit-animation: i_god_more 1s infinite; animation: i_god_more 1s infinite; }
.i_news_more{ -webkit-animation: i_news_more 1s infinite; animation: i_news_more 1s infinite; }

@keyframes i_god_more {
  0% { color: var(--color-10);}
  50% {  color: var(--color-01);}
  100% {  color: var(--color-10);}
}

@keyframes i_news_more {
  0% { color: var(--color-10);}
  50% {  color: var(--color-01);}
  100% {  color: var(--color-10);}
}

.sort_wrap{ margin: 0; padding: 0; list-style: none; border-top: 0px solid #ccc; }
/*.sort_wrap li{ border-bottom: 2px solid #ccc; }
.sort_wrap li a{ padding: 15px 0; display: block;}*/
.sort_wrap li{ height: 56px; margin-bottom: 10px; display: flex; align-items: stretch; }
.sort_wrap li span:nth-child(1){ width: 16px; background: url('../../img/bg-sort_frame_x.webp') 0 0 no-repeat; background-size: auto 100%; }
.sort_wrap li span:nth-child(3){ width: 16px; background: url('../../img/bg-sort_frame_x.webp') right 0 no-repeat; background-size: auto 100%; }
.sort_wrap li span:nth-child(2){ width: calc(100% - 32px); background: url('../../img/bg-sort_frame_body_x.webp') 0 0 repeat-x; background-size: auto 100%; }
.sort_wrap li a{ padding: 12px 0; font-size: 1.25em; display: block; text-align: center;}
.sort_wrap li a:hover{ color: var(--color-01); }
.sort_wrap li.active a{ color: var(--color-01); }
.sort_wrap li.active span:nth-child(1){ width: 16px; background: url('../../img/bg-sort_frame.webp') 0 0 no-repeat; background-size: auto 100%; }
.sort_wrap li.active span:nth-child(3){ width: 16px; background: url('../../img/bg-sort_frame.webp') right 0 no-repeat; background-size: auto 100%; }
.sort_wrap li.active span:nth-child(2){ width: calc(100% - 32px); background: url('../../img/bg-sort_frame_body.webp') 0 0 repeat-x; background-size: auto 100%; text-shadow: 0 0 2px rgba(0, 0, 0, .35); }

.sort_wrap_mb{ margin: 0 0 -30px 0; padding: 0; display: none; }
.sort_wrap_mb select { font-weight: 700; font-size: 1.125rem; } /* modified */
.sort_wrap_mb select option { font-weight: 600; } /* modified */

.align-center{ justify-content: center; }

.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; }
.quote_7{ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; }
/*** /CNT ***/

/*** CONTACT ***/
.gmap{ width: 100%; height: 355px; margin-top: 10px; display: block; }
/*** /CONTACT ***/

/*** 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 a.disabled{ color: #ccc; background: white; }
.pagination .active .page-link{ background: var(--color-01); 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_t{ height: 30px; background: url('../../img/bg-footer_t.webp') center bottom repeat-x; background-size: auto 100%;}
footer{ margin: 0; padding: 40px 0; color: var(--color-01); background: var(--color-10); overflow: hidden; }
footer > .container{ background: url('../../img/bg-f_snake.webp') left center no-repeat, url('../../img/bg-f_tortoise.webp') right center no-repeat; overflow: visible; }
footer .logo{ margin: 0 0 20px 0; }

.f_social{ margin: 0; padding: 0; list-style: none; clear: both; }
.f_social li{ float: left; width: 32px; height: 32px; margin: 0 10px 0 0; }
.f_social li:last-child{ margin: 0; }
.f_social li a img{ width: 100%; height: auto; transition: 0.3s all; }
.f_social li a:hover img{ transform: scale(1.125); }

.f_info{ margin: 0; padding: 0; list-style: none; }
.f_info li{ margin-bottom: 3px; overflow: hidden; }
.f_info li:last-child{ margin-bottom: 0;}
.f_info a{ color: var(--color-01); }
.f_info a:hover{ color: var(--color-12); }
.f_info i{ float: left; width: 18px; margin: 5px 10px 0 0; font-size: 1.25em; text-align: center; }
.f_info p{ float: left; width: calc(100% - 28px); }

.copyright{ background: var(--color-10); text-align: center; }
.copyright p{ padding: 18px 0; color: var(--color-01); font-size: .813em; border-top: 1px solid #533422; }
/*** /FOOTER ***/

/*** CAPTCHA ***/
#captcha_code{ float: left; width: 120px; text-align: center; }
.captcha_wrap{ float: left; margin: 10px 0 0 10px; }

.refresh a{ float: left; width: 46px; height: 46px; margin: 10px 0 0 10px; font-weight: 700; font-size: 1.8em; line-height: 1.45em; border: 1px solid #ccc; border-radius: 5px; display: inline-block; text-align: center; }
/*** /CAPTCHA ***/

/*** BTN ***/
.btn{ 
  padding: 7px 30px 8px 30px; font-size: 1.125em; font-weight: 700; border-radius: 5px;
  white-space: nowrap; /* modified */
}
.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 { background: var(--color-02) !important; border-color: var(--color-02) !important;} /* modified */

.btn-search { margin-left: 1em; } /* modified */
.btn-search-mobile { 
  display: none; 
  padding: 2px 5px; margin-left: 6px; font-size: 1.5em; 
} /* modified */


/*** /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: 23px; right: 20px; 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 */
}
