@import url('/css/community.css');

/* sub_banner */
#sub_banner a { position: relative; display: inline-block; }
#sub_banner a img { width: 100vw; height: 470px; object-fit: cover; }
#sub_banner a:after { position: absolute; width: 100%; height: 100%; background: rgb(31 31 31 / .3); display: block; top: 0; left: 0; content: ""; }

/* sbox */
.sbox{position:relative;display: flex;justify-content: center;}
.sbox h1{position:absolute;width: min(90%, 1300px);font-size: 40px;color: white;text-shadow: 0 0 30px rgb(87 84 81 / 35%);font-weight: 500;z-index: 2;bottom: 18%;font-family: "Anybody", sans-serif;}
.sbox h1:after{content:'';width: 11px;height: 8px;background: white;transform: skewX(-30deg);display: block;box-shadow: 22px 0 var(--white), 44px 0 var(--primary);margin: 30px 0 0;}
.sbox h1:first-letter{color:var(--primary)}

/* wrap */
#wrap {padding: 7vw 0;}

/* pageTop */
.pageTop { position: relative; margin: 5vw auto; width: 90vw; z-index: 2; }
.pageTop h1 { margin-bottom: 15px; line-height: 120%; text-align: center; font-family: 'Montserrat', 'Noto Sans TC', sans-serif; letter-spacing: 10px; color: #1f1f1f; }

/* waylink */
/* waylink */
.waylink{background: var(--gray);background-repeat: no-repeat;background-position: 50% 50%;background-size: cover;align-items: center;}
.waylink ol {font-size: 0;padding: 10px 0;width: min(90%, 1300px);margin: 0 auto;}
.waylink ol *{    font-size: 12px;}
.waylink ol li , .pageTop .waylink ol li a {display: inline-flex;color: #5a5a5a;align-items: center;}
.waylink ol li:not(:last-child):after { margin: 0 10px; font-weight: 100; font-size: 12px; vertical-align: text-top; content: "/"; }
. ol li:last-child:after { margin: 0; content: ""; }

/* subnav */
#subnav { margin: 3vw auto 0; text-align: center; }
#subnav #sideBtn { position: relative; overflow: hidden; padding: 10px 20px; width: calc(100% - 40px); background: #fff; border: 1px #aaa solid; display: inline-block; text-align: center; color: #535353; z-index: 2; }
#subnav #sideBtn:before { position: absolute; width: 100%; height: 100%; background: #535353; top: 0; left: 0; transform: translateX(-140%) skewX(63deg); transition: .4s cubic-bezier(.23,1,.32,1); content: ""; }
#subnav #sideBtn font { position: relative; z-index: 1; }
#subnav #sideBtn i { position: absolute; top: calc((100% - 8px) / 2); right: 20px; z-index: 2; -webkit-transition: all .3s ease-out; transition: all .3s ease-out; -webkit-transform: rotate(0); transform: rotate(0); }
#subnav #sideBtn[data-type="2"]:before { -webkit-transform: translateX(0) skewX(0); transform: translateX(0) skewX(0); }
#subnav #sideBtn[data-type="2"] font { color: #fff; }
#subnav #sideBtn[data-type="2"] i { color: #fff; -webkit-transform: rotate(180deg); transform: rotate(180deg); }
#subnav ul { font-size: 0; }
#subnav ul li b[data-action="sideOpen"] { position: absolute; padding: 10px 20px; display: block; color: #fff; right: 0; top: 0; cursor: pointer; }
#subnav ul li b[data-action="sideOpen"] i:before { content: "\f067"; }
#subnav ul >li h4 { position: relative; }
#subnav ul >li h4 a { font-weight: 400; color: #fff; }
#subnav ul >li >ul.subUL li a { padding: 5px 15px; display: block; color: #1f1f1f; }
#subnav ul >li >ul.subUL li .sub2ULHead a { padding: 2px 15px 2px 35px; color: #2f8bd1; }
#subnav ul >li >ul.subUL b[data-action="sideOpen"] { display: none; }

/* content list_article */
#content .list_article section { padding: 5vw 0; }
#content .list_article section .workframe { display: flex; align-items: center; justify-content: space-between; }
#content .list_article section .info { width: 50%; }
#content .list_article section .info h3 a , #content .list_book ul li .info h3 { margin-bottom: 20px; height: 54px; font-weight: 400; letter-spacing: 4px; font-size: 32px; color: #1f1f1f; }
#content .list_article section .info article { height: 140px; font-weight: 300; line-height: 35px; letter-spacing: 1px; font-size: 15px; color: #1f1f1f; -webkit-line-clamp: 4; }
#content .list_article section .img { margin: 0 5% 0 0; width: 45%; }
#content .list_article section .img img { width: 100%; height: 400px; background: #fafafa; object-fit: cover; }
#content .list_article section a.more , #content .list_book ul li .info a.more { padding: 40px 0 2px; display: inline-block; border-bottom: 1px #6b6b6b solid; }
#content .list_article section a.more font , #content .list_book ul li .info a.more font { margin-right: 40px; display: inline-block; font-family: 'Montserrat', 'Noto Sans TC', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 15px; color: #1f1f1f; }
#content .list_article section:nth-child(odd) { background: #f1f4f6; }
#content .list_article section:nth-child(odd) .img { margin: 0 0 0 5%; order: 1; }

/* content list_news */
#content .list_news ul{display:grid;grid-template-columns: repeat(3, 1fr);gap: 50px;}
#content .list_news li {position: relative;border-bottom: 1px #e8e8e8 solid;font-size: 0;}
#content .list_news li >a { position: absolute; width: 100%; height: 100%; display: block; top: 0; left: 0; z-index: 2; }
#content .list_news li .time {position: relative;margin-bottom: 10px;z-index: 1;display: flex;align-items: center;gap: 10px;}
#content .list_news li .time b{font-weight:600;color: #ababab;}
#content .list_news li img {aspect-ratio: 4/3;object-fit: cover;}
#content .list_news li >p.cat a , #content .news_top_box p.cat a {padding: 2px 15px;background: var(--primary);display: inline-block;color: #fff;}
#content .list_news li >p.txt {display: -webkit-inline-box;-webkit-line-clamp: 2;height: 71px;font-size: 20px;margin: 25px 0;}

/* content list_book */
#content .list_book ul { font-size: 0; }
#content .list_book ul li { margin-bottom: 20px; width: calc(100% / 3); display: inline-block; }
#content .list_book ul li >div { margin: 0 25px 20px; text-align: center; }
#content .list_book ul li .img img { width: 100%; height: 300px; object-fit: cover; }
#content .list_book ul li .info h3 { margin-bottom: 10px; height: 40px; text-align: center; font-size: 26px; }
#content .list_book ul li .info a.more { padding: 2px 0; }

/* list_faq */
.list_faq ul li { margin-bottom: 25px; }
.list_faq ul li .title { position: relative; padding: 20px 65px 20px 25px; background: #f0f4f7; display: block; }
.list_faq ul li .title font { font-size: 18px; color: #1f1f1f; }
.list_faq ul li .title span { position: absolute; width: 16px; height: 16px; display: block; top: calc((100% - 16px) / 2); right: 25px; }
.list_faq ul li .title span:before , .list_faq ul li .title span:after { width: 16px; height: 1px; background: #696969; display: block; content: ""; -webkit-transform: translateY(9px); transform: translateY(9px); }
.list_faq ul li .title span:after { -webkit-transform: translateY(8px) rotate(90deg); transform: translateY(8px) rotate(90deg); }
.list_faq ul li .info { padding: 15px 25px; background: #fff; -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; transition: none; }
.list_faq ul li.current .title span:after { -webkit-transition-duration: .2s; transition-duration: .2s; -webkit-transform: translateY(8px) rotate(180deg); transform: translateY(180deg) rotate(0); }

/* content */
#content .workframe {width:min(90%, 1300px)}
#content #describe * {vertical-align: bottom;box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;}
#content .news_top_box {margin-bottom: 5vw;padding: 10px 0;border-bottom: 1px #dddddd solid;font-size: 0;}
#content .news_top_box p { margin-right: 10px; width: 120px; display: inline-block; }
#content .news_top_box p.quotebox { margin-right: 0; width: calc(100% - 260px); text-align: right; font-weight: 300; color: #1f1f1f; }
#content .news_top_box p.quotebox a { color: #1f1f1f; }
#content .album_list { margin-top: 4vw; display: flex; flex-wrap: wrap; }
#content .album_list >div { margin: 0 1px 1px 0; height: 300px; flex-grow: 1; }
#content .album_list >div img { width: auto; min-width: 100%; height: 300px; }
#content .album_list >div a { display: block; }

/* pagenav */
#pagenav {position: relative;overflow: hidden;padding: 70px 0 20px;text-align: center;font-size: 0;}
#pagenav a , #pagenav strong { margin: 0 10px; display: inline-block; font-weight: 400; font-size: 18px; color: #1a191f; vertical-align: middle; }
#pagenav a[class^="page-"] { float: left; width: calc(50% - 20px); display: block; }
#pagenav a[class^="page-"] font { width: calc(100% - 22px); display: inline-block; vertical-align: text-top; }
#pagenav a[class^="page-"] i { margin: 0 10px 0 0; display: inline-block; }
#pagenav a.page-next { float: right; text-align: right; }
#pagenav a.page-next font { text-align: right; }
#pagenav a.page-next i { margin: 0 0 0 10px; }

/* page_form */
.page_form form { font-size: 0; }
.page_form form p.col { padding: 35px 20px; border-bottom: 1px #e8e8e8 solid; font-size: 0; }
.page_form form p.col label { padding: 10px 0; width: 250px; display: inline-block; color: #1f1f1f; vertical-align: text-top; }
.page_form form p.col label span { width: calc(100% - 115px); display: inline-block; }
.page_form form p.col label b { padding: 0 20px; background: #1f1f1f; display: inline-block; font-weight: 100; font-size: 13px; color: #fff; }
.page_form form p.col font { margin-left: 30px; width: calc(100% - 280px); display: inline-block; vertical-align: text-top; }
.page_form form p input , .page_form form select , .page_form form textarea { padding: 10px 15px; width: calc(100% - 32px); background: #f1f4f6; border: 0; display: block; }
.page_form form p select { padding: 15px; width: 100%; }
.page_form form p input#Checknum { margin-right: 10px; width: calc(100% - 110px); display: inline-block; }
.page_form form p.send { padding: 35px 0; text-align: center; }
.page_form form p.send a#btnOK { position: relative; padding: 15px 100px; border: 1px #1f1f1f solid; display: inline-block; color: #1f1f1f; }
.page_form form p.send a#btnOK font { text-align: center; letter-spacing: 3px; color: #1f1f1f; }
.page_form form p.send a#btnOK a svg.arrow { position: absolute; width: 20px; right: 20px; top: calc((100% - 11.41px) / 2); }

@media screen and (min-width: 1281px){
	#subnav { overflow: hidden; position: relative; padding: 1px 0 10px 1px; width: 1279px; }
	#subnav:hover { overflow: visible; }
	#subnav #sideBtn { display: none; }
	#subnav >ul >li { overflow: hidden; margin: -1px 0 0 -1px; width: calc((100% / 5) + 1px); display: inline-block; }
	#subnav ul >li h4 { border: 1px #1f1f1f solid; text-align: center; z-index: 3; }
	#subnav ul >li h4:before , #subnav ul >li h4:after { position: absolute; width: 1px; height: 10px; background: #fff; display: block; bottom: 0; left: calc((100% - 1px) / 2); opacity: 0; content: ""; }
	#subnav ul >li h4:after { background: #1f1f1f; bottom: -10px; }
	#subnav ul >li h4 a { padding: 0 15px; width: calc(100% - 30px); height: 57px; display: -webkit-box; text-align: center; line-height: 57px; color: #1f1f1f; }
	#subnav ul >li h4 b[data-action="sideOpen"] { display: none; }
	#subnav ul >li >ul.subUL { position: absolute; margin-top: -1px; padding: 5px 0; width: calc((100% / 5) - 1px); background: #fff; border: 1px #1f1f1f solid; opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
	#subnav ul >li.action h4 , #subnav ul >li:hover h4 , .page_form form p.send a#btnOK:hover { background: #1f1f1f; }
	#subnav ul >li.action h4 a , #subnav ul >li:hover h4 a , .page_form form p.send a#btnOK:hover font { color: #fff; }
	#subnav ul >li.action h4:before , #subnav ul >li.action h4:after , #subnav ul >li:hover h4:before , #subnav ul >li:hover h4:after { opacity: 1; }
	#subnav ul >li.action , #subnav ul >li:hover { overflow: visible; }
	#subnav ul >li:hover >ul.subUL { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
	#content .list_article section a.more:hover font , #content .list_book ul li .info a.more:hover font { margin-right: 60px; }
	#content .list_news li:hover {border-color: var(--secondary);}
	.page_form form p.send a#btnOK:hover svg { fill: #fff; }
}
@media screen and (max-width: 1280px){
	#subnav { position: relative; width: 500px; }
	#subnav >ul { overflow: hidden; position: absolute; width: 100%; height: 0; background: #222; border: 1px #4d4d4d solid; top: 0; left: 0; z-index: 1; }
	#subnav ul li h4 { background: #222; z-index: 2; }
	#subnav ul li.action h4 { background: #100f0f; }
	#subnav ul li h4:before { border-color: #3a3a3a; }
	#subnav ul li h4 a { padding: 0 60px 0 20px; height: 47px; line-height: 47px; }
	#subnav ul li[data-type="2"] b[data-action="sideOpen"] i:before { content: "\f068"; }
	#subnav >ul.open { height: auto; top: 52px; }
	#subnav >ul.open li { overflow: hidden; position: relative; }
	#subnav >ul.open li >ul.subUL { position: absolute; width: 100%; background: #3d3d3d; border: #454545 solid; border-width: 1px 0; bottom: 100px; -webkit-transition-duration: .2s; transition-duration: .2s; opacity: 0; z-index: 1; }
	#subnav >ul.open li[data-type="2"] >ul.subUL { position: relative; padding: 5px 0; bottom: 0; opacity: 1; }
	#subnav ul >li >ul.subUL li a { padding: 5px 20px; font-weight: 300; font-size: 15px; color: #d0d0d0; }
	#content .list_article section .img img { width: 36vw; height: 36vw; }
}
@media screen and (max-width: 1024px){
    #content .list_news ul{grid-template-columns: repeat(2, 1fr);}
	#content .list_book ul li >div { margin: 0 10px 20px; }
}
@media screen and (max-width: 768px){
    #wrap{padding:12vw 0}
    #sub_banner a img{height: 350px;}
	#content .list_article section .workframe { display: block; }
	#content .list_article section .img , #content .list_article section:nth-child(odd) .img { margin: 0; width: 100%; text-align: center; }
	#content .list_article section .img img { width: 90vw; height: 350px; }
	#content .list_article section .info { margin: 20px 0 0;  width: 100%; }
	#content .list_article section .info article { height: 85px; line-height: 180%; -webkit-line-clamp: 3; }
	#content .list_article section a.more { padding: 10px 0 2px; }
	#content .list_book ul li { width: 50%; }
	.page_form form p.col label , .page_form form p.col label span { width: auto; }
	.page_form form p.col label b { margin-left: 10px; padding: 0 15px; }
	.page_form form p.col font { margin-left: 0; width: 100%; }
}
@media screen and (max-width: 640px){
    #sub_banner a img{height: 280px;}
    #content .list_news ul{grid-template-columns:1fr}
    .sbox h1{font-size:30px}
	#subnav { width: calc(100% - 42px); }
	#content .list_news li >p { margin-right: 15px; width: auto; }
	#content .list_news li >p.txt , #content .news_top_box p.quotebox { margin-top: 10px; width: 100%; text-align: left; }
	#content .album_list >div , #content .album_list >div img { height: 40vw; }
}
@media screen and (max-width: 550px){
	#content .list_article section .img img { height: 55vw; }
	#content .list_book ul { text-align: center; }
	#content .list_book ul li { width: 90%; }
	#content .album_list >div , #content .album_list >div img { height: 50vw; }
	.page_form form p.col { padding: 35px 0; }
}
@media screen and (max-width: 400px){
	#content .list_book ul li { width: 100%; }
}