﻿@charset "utf-8";
body {margin:0; padding:0;}
a{text-decoration:none; transition:0.3s;}
#header, #footer, #defaultimg, .content, .innerhtml, .area{width:100%; height:auto; float:left;}
.page{height:auto; position:relative; margin:auto auto; padding:auto auto;}
.block{height:auto; float:left;}
.rwdimg{width:100%; height:auto;}/*讓圖自適應用*/
.rwdimgmax{max-width:100%; height:auto;}
hr{background:#fff;}
*{box-sizing:border-box;}
[class*="col-"] {
    float: left;
    
}
.flexfrm{display:flex;}
.mask{width:100%; height:100%; position:absolute; top:0; left:0; z-index:10; line-height:0; padding:1em;}
/*header*/
#header{position:fixed; z-index:200; }
.logo{ height:auto; float:left; line-height:0;}
.logo img{max-width:100%; height:auto;}

/*nav*/
.nav{float:right; height:auto;}
.nav a{text-align:left; display:inline-block;}

/*subnav*/
.subnav ul{margin:0; padding:0; list-style:none;  font-size:16px;}
.subnav ul li a{line-height:150%;}
.subnav ul li ul li a{padding-left:1.5em; border:none; font-size:15px; color:#666;}
.subnav a:hover{color:#d16a39;}
.subnav a{width:100%; color:#fff; display:block; padding-left:1em;}
/*defaultimg*/
#defaultimg{line-height:0;}
/*footer*/

/*content*/
.side{height:auto; float:left; box-sizing:border-box;}
.main{height:auto; float:left; box-sizing:border-box;}
.innerhtml{min-height:500px;}
.innerhtml img{max-width:100%; height:auto;}
.one{width:100%;}
.path, .date{color:#999; font-size:14px;}

/*contact*/
.contact p{margin-bottom:0;}
.contact input{height:30px; width:100%; border:none;}
.contact select{height:30px; width:100%; border:none;}
.contact textarea{width:100%; border:none;}
select{height:auto; width:100%;}
/*contactinfo*/
.contactinfo{padding:0 2em;}
.contactinfo p{ border-bottom:1px dashed #999; font-size:16px;}
.contactinfo .subtit{color:#666; font-weight:bold;}
.contactinfo span{color:#ccc; padding:0 0.2em; font-size:13px;}




/*contacttest 製作中來使用的畫面 之後可以刪除*/
.contacttest p{margin-bottom:0;}
.contacttest input{height:30px; width:150px;border-radius: 5px;border: 1px solid #999;}
.contacttest select{height:30px; width:150px;border-radius: 5px;border: 1px solid #999;}
.contacttest textarea{width:100%; border:none;}
select{height:auto; width:100%;}
/*contacttestinfo 製作中來使用的畫面 之後可以刪除*/
.contacttestinfo{padding:0 2em;}
.contacttestinfo p{ border-bottom:1px dashed #999; font-size:16px;}
.contacttestinfo .subtit{color:#666; font-weight:bold;}
.contacttestinfo span{color:#ccc; padding:0 0.2em; font-size:13px;}


/*--list--*/
.list{padding:1em;}
.list h3.subject{font-weight:normal; margin:0; color:#333; padding:0.3em 0; line-height: 1.4em;}
.list .frm{display:block; padding:10px; transition:.3s;}
.list figure img{transition:.3s;}
.list .frm:hover img{transform:scale(1.05, 1.05);}
.list .frm:hover figcaption{opacity:1;}
.list figure{diaplay:block; line-height:0; overflow: hidden; position:relative;}
.list figure::before{content:""; position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.4); transition:.3s; opacity:0; z-index: 2;}
.list .frm:hover figure::before{opacity:1;}
.list figcaption{position:absolute; top:50%; left:50%; width:100%; height:auto; text-align: center; color:#fff;  z-index: 100; font-size: 14px; transition:.3s; transform:translate(-50%,-50%); line-height: 140%; opacity:0;}
.list .frm:hover figcaption{opacity:1;}
.list section{color:#666;}
.list p.more{text-align:right; margin:0; color:#666; font-size:12px;}
.list p.price{font-size:13px;}
.list .frm:hover p.more{color:#f00;}
.list .frm .rr{padding-left:1em;}
.list .innerhtml{padding-top:5px;}


/*btn*/
.btn{background:#666; color:#fff; border-radius:0.3em; display:inline-block;}
.btn:hover{background:#333;}

/*Grid for all situation and >1200px*/
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

@media screen and (max-width:767px) {/*mobile*/
.BannerDivPc{display:none;}
.hide-m{display:none !important;}
.page{width:100%; padding:0 2%;}
/*header*/
#header .page{padding:0;}
.logo{width:60%; padding:1%;}
/*nav*/
.nav{width:100%; border-bottom:1px solid #ccc; display:none; background:#fff;}
.nav a{width:100%; text-align:center; border-top:1px dotted #ccc; line-height:200%;}

/*subnav*/
#submenu{border:1px solid #ccc; float:left; width:100%; border-radius:5px; margin-top:3em;}
.subtoggle{padding:15px;}
.subnav{display:none;}
.subnav ul li a{border-top:1px dotted #ccc;}
/*content*/
.tit{font-size:24px;}
.side{width:100%; padding:0em; }
.main{width:100%; padding:0em;}
.two, .three, .four, .five{width:100%;}

/*Grid s size for mobile*/
.col-m1 {width: 8.33%;}
.col-m2 {width: 16.66%;}
.col-m3 {width: 25%;}
.col-m4 {width: 33.33%;}
.col-m5 {width: 41.66%;}
.col-m6 {width: 50%;}
.col-m7 {width: 58.33%;}
.col-m8 {width: 66.66%;}
.col-m9 {width: 75%;}
.col-m10 {width: 83.33%;}
.col-m11 {width: 91.66%;}
.col-m12 {width: 100%;}

}

@media screen and (min-width:768px) and (max-width:1199px){/*pad*/
.BannerDivMobile{display:none;}
.hide-p{display:none !important;}
.page{width:100%; padding:0 2%;}
/*header*/
#header .page{display:table; padding:1em 0.2em;}
.logo{width:25%; padding-left:1%; }
/*nav*/
.nav{width:75%; text-align:right;}
.nav a{font-size:14px; padding:2em 0em 0 0.5em;}
/*subnav*/
.subtoggle{display:none;}
/*content*/
.tit{font-size:36px;}
.side{width:28%; padding:0em 1em 1em 1em; }
.main{width:72%; padding:0em 1em 1em 1em;}
.two{width:50%;}
.three{width:33.3%;}
.four{width:25%;}
.five{width:20%;}
/*Grid s size for pad*/
.col-p1 {width: 8.33%;}
.col-p2 {width: 16.66%;}
.col-p3 {width: 25%;}
.col-p4 {width: 33.33%;}
.col-p5 {width: 41.66%;}
.col-p6 {width: 50%;}
.col-p7 {width: 58.33%;}
.col-p8 {width: 66.66%;}
.col-p9 {width: 75%;}
.col-p10 {width: 83.33%;}
.col-p11 {width: 91.66%;}
.col-p12 {width: 100%;}

}
@media screen and (min-width:900px) and (max-width:1199px){/*desktop*/
.hide-ds{display:none !important;}
.nav a{font-size:15px; padding:2em 1em 0 1em;}
/*Grid s size for desktop or landscape*/
.col-d1 {width: 8.33%;}
.col-d2 {width: 16.66%;}
.col-d3 {width: 25%;}
.col-d4 {width: 33.33%;}
.col-d5 {width: 41.66%;}
.col-d6 {width: 50%;}
.col-d7 {width: 58.33%;}
.col-d8 {width: 66.66%;}
.col-d9 {width: 75%;}
.col-d10 {width: 83.33%;}
.col-d11 {width: 91.66%;}
.col-d12 {width: 100%;}

}

@media screen and (min-width:1200px){/*desktop*/
.BannerDivMobile{display:none;}
.hide-d{display:none !important;}
.page{width:1200px;}
/*header*/
.logo{width:28%; padding:1%;}
/*nav*/
.nav{width:72%; text-align:right; padding-top:2.5em;}
.nav a{padding-right:1em;}

/*subnav*/
.subtoggle{display:none;}
/*content*/
.tit{font-size:36px;}
.side{width:30%; padding:0em 1em 1em 2em; }
.main{width:70%; padding:0em 2em 1em 1em;}
.two{width:50%;}
.three{width:33.3%;}
.four{width:25%;}
.five{width:20%;}
}