@import url('/css/community.css');
/* sub_banner */
#sub_banner {width: 100%;height: 450px;}
#sub_banner:before , #sub_banner:after { position: absolute; width: 100%; height: 100%; background: var(--secondary); top: 0; left: 0; z-index: 1; content: ""; opacity: .6; }
#sub_banner:after { background: -webkit-linear-gradient(bottom,rgba(var(--secondary-rgb), 1) 0%,rgba(var(--secondary-rgb), .5) 100%); background: linear-gradient(to top,rgba(var(--secondary-rgb), 1) 0%,rgba(var(--secondary-rgb), .5) 100%); opacity: 1; }
#sub_banner a { height: 100%; background: no-repeat 50% / cover; background-attachment: fixed; }

/* wrap */
#wrap { margin-top: -150px; z-index: 2; }
#wrap .workframe {width: min(90%, 1400px);}

/* artauction */
.artauction{grid-template-columns: 250px 1fr;display: grid;}
.artauction.two #other_area{margin-top: 20px;}

/* other_area */
#other_area{margin-top: 110px;}
#other_area iframe{border: 10px solid #ddd;}
#div_calendar{width: 206px;}
#div_calendar:before{content:'請選擇日或月進行查詢';display: block;text-align: center;font-size: 15px;width: 100%;margin-bottom: 20px;border-bottom: 1px dotted #cfcfcf;padding-bottom: 10px;color: #606060;}

/* top_title */
#top_title .pag_tit { line-height: 120%; font-weight: 400; letter-spacing: 5px; }

/* waylink */
.waylink{display:inline-flex;align-items: center;}
.waylink:before{content:'';width: 12px;height: 12px;display: inline-block;background: var(--primary);border-radius: 50px;box-shadow: 12px 0 #c1cada;margin-right: 25px;}
.waylink ol {padding: 20px 0;display: inline-flex;align-items: center;}
.waylink ol li , .waylink ol li a {letter-spacing: 1.5px;font-weight: 300;font-size: 13px;color: var(--white);}
.waylink ol li:after { margin: 0 10px; display: inline-block; font-weight: 100; font-size: 12px; content: "/"; }
.waylink ol li:last-child:after { margin: 0; content: ""; }

/* aside */
aside {margin: 0 auto 3vw;}
aside #sidebtn { padding: 10px 20px; width: calc(100% - 40px); z-index: 2; }
aside #sidebtn:before { position: absolute; width: 100%; height: 100%; background: rgba(var(--white-rgb), .1); top: 0; left: 0; transition: .4s cubic-bezier(.23,1,.32,1); content: ""; }
aside #sidebtn i {top: calc((100% - 7px) / 2);right: 20px;color: #fff;font-size: 10px;}
aside >ul >li b[data-action="sideOpen"] { position: absolute; padding: 5px 20px; display: block; top: calc((100% - 42px) / 2); right: 0; cursor: pointer; }
aside >ul >li b[data-action="sideOpen"] i:before { content: "\f067"; }
aside >ul >li[data-type="2"] b[data-action="sideOpen"] i:before { content: "\f068"; }
aside >ul >li h4 a {padding: .75rem 1.25rem;font-weight: 400;font-size: 17px;background: #f9fafb;border-radius: .25rem;}
aside >ul >li.action h4 a {background: var(--primary);color: var(--white);}
aside >ul >li ul.subUL { position: absolute; width: 170px; background: rgba(var(--black-rgb), .85); left: calc(50% - 85px); z-index: 5; opacity: 0; }
aside >ul >li ul.sub2UL { margin-left: 10px; }
aside >ul >li ul.subUL li >div { position: relative; }
aside >ul >li ul.subUL li a { padding: 5px 15px 5px 30px; display: block; }
aside >ul >li ul.subUL li [data-action="sideOpen"] { display: none; }
aside >ul >li ul.sub2UL li a { color: var(--complement); }

/* content_wrap */
#content_wrap {padding: 8vw 0 5vw;}

/* hisform */
.hisform{    margin: 0 auto 3vw;}
.hisform p{text-align:center;}
.hisform p select{-webkit-appearance:none;background: url(/images/39/arrow2.png) no-repeat scroll 85% center #f9f9f9;background-repeat:no-repeat;background-position:98% 50%;padding: 15px 40px 15px 15px;margin: 0 5px;border-bottom: 1px solid #ddd;}
.hisform p input {padding: 10px 30px;background: #8894a7;color: #fff;cursor: pointer;}
.hisform p input:hover{background:#333}

/* history_list */
#history_list li >div{display:grid;grid-template-columns: 10% 40% repeat(2, 1fr);gap: 50px;}
#history_list li >div img{aspect-ratio:1/1;border-radius: 15px;}
#history_list li >div b{display:block;color: #777777;font-size: 15px;font-weight: 300;}
#history_list li >div h3{margin:0}

/* list_box */
.list_box li { margin-top: 30px; margin-bottom: 30px; }
.list_box li >div{border-radius: 25px;}
.list_box li h3 {height: auto;font-weight: 400;font-size: 18px;color: var(--secondary);margin-top: 5px;}

/* describe */
#describe * { vertical-align: bottom; }

/* article_list */
#article_list img {aspect-ratio: 4 / 3;}
#article_list .info_box { padding: 25px 30px; }
#article_list .info_box article { font-weight: 300; }

/* news_list */
#news_list{display:grid;grid-template-columns: repeat(3, 1fr);gap: 50px;}
#news_list li {margin: 0;}
#news_list li img {aspect-ratio: 4 / 3;border-radius: 25px;}
#news_list li .info_box {padding: 15px;}
#news_list li .info_box p * {font-weight: 400;font-size: 14px;}
#news_list li .info_box p font {font-family: "Tenor Sans", sans-serif;}


#news_list li .info_box p a {margin-left: 10px;padding: 0 2px;max-width: calc(100% - 82px);height: auto;z-index: 2;}

/* product_list */
#product_list{display:grid;grid-template-columns: repeat(4, 1fr);gap: 45px;}
#product_list li{margin:0;}
#product_list li >div{margin:0;border-radius: 0;}
#product_list li >div img{aspect-ratio: 1 / 1;border-radius: 15px;}
#product_list .row .info_box{margin-top: 16px;}
#product_list .row .info_box h3 { margin: 10px 0; }
#product_list .row .info_box .line { margin: 10px 0 30px; width: 50px; height: 1px; background: var(--primary); opacity: .7; }
#product_list .row .info_box article {height: auto;font-weight: 400;font-size: 14px;-webkit-line-clamp: 1;color: #222221;}
#product_list .row .info_box .price { margin-top: 15px; min-height: 30px; }
#product_list .row .info_box .price font {font-weight: 600;color: var(--secondary);}

/* book_list */
#book_list{display:grid;grid-template-columns: repeat(3, 1fr);gap: 50px;}
#book_list li{margin:0;}
#book_list .row img {aspect-ratio: 4 / 4;border-radius: 25px;-webkit-transform: scale(1);}
#book_list .row .info_box {padding: 15px;}
#book_list .row .info_box h3{margin:0;}

/* album_list */
#album_list {display: grid;grid-template-columns: repeat(3, 1fr);gap: 30px;}
#album_list >div img{aspect-ratio: 1 / 1;object-position: 0 0;}

/* faq_list */
#faq_list li { margin-bottom: 30px; }
#faq_list li .title { padding: 10px 45px 10px 5px; }
#faq_list li .title label { padding: 0 0 0 10px; width: 70px; }
#faq_list li .title font { width: calc(100% - 80px); font-size: 18px; }
#faq_list li .info { padding: 15px 35px 15px 85px; font-size: 14px; -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; transition: none; }

/* pagenav */
#pagenav { padding: 50px 0 20px; }
#pagenav a , #pagenav strong { margin: 0 10px; display: inline-block; font-weight: 400; vertical-align: middle; }
#pagenav a:first-child , #pagenav a:last-child { line-height: 9px; }
#pagenav strong {color: var(--secondary);}
#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; }



/* form_box */
.form_box { margin-top: 50px; }
.form_box p { margin-bottom: 30px; }
.form_box input#Checknum {margin-right: 10px;width: 150px;}
.form_box #btnOK {padding: 10px 70px;width: auto;background: var(--secondary);}

/* lodbg */
[data-action="loader"] { width: 100vw; height: 100vh; background: rgba(var(--black-rgb), .3); line-height: 100vh; top: 0; left: 0; opacity: 0; z-index: -1; }
[data-action="loader"] .loader_circle { border: 2px rgba(var(--black-rgb), .6) solid; border-left-color: rgba(var(--white-rgb), .4); }
#lodbg { opacity: 1; z-index: 99999; }

@media screen and (min-width: 1281px){
	aside >ul { padding: 0 15px; }
	aside >ul >li {overflow: hidden;position: relative;display: inline-block;margin: 0 5px;}
	aside >ul li b[data-action="sideOpen"] { display: none; }
	aside >ul >li:hover { overflow: visible; }
	aside >ul >li:hover h4 a {background: var(--primary);color: var(--white);}
	aside >ul >li:hover ul.subUL { opacity: 1; }
	#news_list li:hover .info_box { bottom: 30px; }
	#product_list li:hover .info_box .line { width: 100%; }
}
@media screen and (max-width: 1280px){
	#content_wrap{padding-top: 12vw;}
	aside {position: relative;width: 500px;margin-bottom: 6vw;}
	aside #sidebtn {display: inline-block;border-radius: 5px;}
	aside #sidebtn font{color:#fff;}
	aside >ul {position: absolute;overflow: hidden;margin-top: 1px;width: 100%;height: 0;box-shadow: 0 0 20px rgb(46 46 46 / 20%);top: 0;left: 0;z-index: 1;}
	aside >ul.open { height: auto; border-width: 1px; top: 50px; }
	aside >ul >li { position: relative; }
	aside >ul >li h4 a {padding: 10px 15px;border-radius: 0;text-align: center;}
	aside >ul >li ul.subUL { overflow: hidden; width: 100%; height: 0; background: var(--secondary); top: 0; left: 0; }
	aside >ul.open >li[data-type="2"] >ul { position: relative; height: auto; top: auto; bottom: 0; opacity: 1; }
}
@media screen and (max-width: 1024px){
	#history_list li >div{grid-template-columns: 15% 35% repeat(2, 1fr);gap: 25px;}
	#product_list{grid-template-columns: repeat(3, 1fr);}
}
@media screen and (max-width: 980px){
	#other_area{margin:0}
	.artauction{grid-template-columns: 1fr;gap: 40px;justify-items: center;}
	#product_list{grid-template-columns: repeat(2, 1fr);}
	#content_wrap{padding-top: 17vw;}
	#news_list, #book_list, #album_list{    grid-template-columns: repeat(2, 1fr);}
}
@media screen and (max-width: 761px){
	#product_list .info_box >div { width: calc(100% - 60px); }
	#product_list .info_box article { height: 50px; -webkit-line-clamp: 2; }
	#book_list .row img { height: 350px; }
}
@media screen and (max-width: 640px){
	#history_list li >div{grid-template-columns: 1fr;gap: 15px;}
	#product_list{grid-template-columns: repeat(1, 1fr);}
	.waylink ol{flex-wrap: wrap;}
	#news_list, #book_list, #album_list{    grid-template-columns: repeat(1, 1fr);}
	aside {width: 100%;margin-bottom: 12vw;}
	#album_list { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; }
}
@media screen and (max-width: 500px){
	#product_list { width: 100%; }
}