@charset "utf-8";
/* CSS Document */
/* ---reset.css--- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

html{background:url("../images/bg.jpg") top center repeat;}



/* PC */
.WRAPPER{ position:relative; width:100%; min-width:1200px; margin:0 auto; overflow:hidden;}
 	@media screen and ( max-width: 991px ){
		.WRAPPER{ min-width:100%;}
		
	}
.container { overflow: hidden; }
.topbox { position: relative; width: 1200px; margin: auto;}
.kv_pc {width: 100%;  position: relative; text-align:center; display: flex;justify-content: center;max-width: 1920px; margin: auto;flex-wrap: wrap-reverse;}
.kv_pc img { display: block; text-align: center; }
.kv_m { display: none; }
.kv_m img { display: block; }
.kv_m a {font-size: 0; display: block; }
.for_pc{ display: block; }
.for_m { display: none; }

.block{ margin: 0 auto; max-width: 1920px; padding: 1px 0;}
/*.block:nth-child(odd){ background:#ccc;}*/
.bg_1200{ width:1160px; min-width:1160px; margin:0 auto;}
.font{ padding-top: 15px;}

/* m */
@media screen and ( max-width: 991px ){
	.kv_m { display: block; width: 100%; }
	.kv_m img {  width: 100%; }
	.kv_pc { display: none; }
	.container {width: 100%; min-width: auto; }
	.for_pc{ display: none; }
	.for_m { display: block; }
	.block{ margin: 0 auto; max-width: 100%; padding: 2vw 0;}
	.bg_1200{ width:auto; min-width:100%; margin:0 auto;}
}


/*背景*/
.bg_1{background: url("../images/layout_01.jpg") top center no-repeat; height:1170px;top:0px;}
.bg_2{background:url("../images/layout_02.jpg")  top center no-repeat;height:1700px;top:0px;}
.bg_3{background:url("../images/layout_03.jpg")  top center no-repeat;height:1500px;top:0px;}
.bg_4{background: url("../images/layout_04.jpg") top center no-repeat;height:1544px;top:0px;}
.bg_5{background: url("../images/layout_05.jpg") top center no-repeat;height:1250px;top:0px;}
.bg_6{background: url("../images/layout_06.jpg") top center no-repeat;height:2355px;top:0px;}

.crosswise{ width:1096px; margin:20px auto 0px;}
.crosswise .font h4{ font-size:1.3rem; border-bottom:1px #ccc solid; padding-bottom:10px; margin-bottom:8px;}

@media screen and ( max-width: 991px ){
.rectangle_3p ul li:nth-child(3n+1) {width: 94vw; padding: 3vw; margin: 1vw 3vw; }
.rectangle_3p ul li:nth-child(3n+1) a { flex-wrap: nowrap; }
.rectangle_3p ul li:nth-child(3n+1).font {padding: 1vw 0vw 1vw 3vw; }
.crosswise{ width:100%; margin:3vw auto 2vw;}

.bg_1{background:none;height:auto;}
.bg_2{background:none;height:auto;}
.bg_3{background:none;height:auto;}
.bg_4{background:none;height:auto;}
.bg_5{background:none;height:auto;}
.bg_6{background:none;height:auto;}
.sub-m img{ width: 100%;}
}


/*公板背景*/
.bg_1 .bg_1200{ background-color:#0599d9; border:5px #000000 solid; height:auto; padding: 75px 0 6px 0;border-radius: 10px;}
.bg_2 .bg_1200{ background-color:#fdd000; border:5px #000000 solid; height:auto; padding: 64px 0 6px 0;border-radius: 10px;}
.bg_3 .bg_1200{ background-color:#ea5404; border:5px #000000 solid; height:auto; padding: 85px 0 6px 0;border-radius: 10px;}
.bg_4 .bg_1200{ background-color:#0599d9; border:5px #000000 solid; height:auto; padding: 70px 0 6px 0;border-radius: 10px;}
.bg_5 .bg_1200{ background-color:#fdd000; border:5px #000000 solid; height:auto; padding: 70px 0 6px 0;border-radius: 10px;}
.bg_6 .bg_1200{ background-color:#ea5404; border:5px #000000 solid; height:auto; padding: 93px 0 6px 0;border-radius: 10px;}

@media screen and ( max-width: 991px ){
.bg_1 .bg_1200{background:#0599d9;border-radius: 5px;padding: 10px 0;border: 3px solid #000000; width:auto;}
.bg_2 .bg_1200{background:#fdd000;border-radius: 5px;padding: 10px 0;border: 3px solid #000000; width:auto;}
.bg_3 .bg_1200{background:#ea5404;border-radius: 5px;padding: 10px 0;border: 3px solid #000000; width:auto;}
.bg_4 .bg_1200{background:#0599d9;border-radius: 5px;padding: 10px 0;border: 3px solid #000000; width:auto;}
.bg_5 .bg_1200{background:#fdd000;border-radius: 5px;padding: 10px 0;border: 3px solid #000000;	width:auto;}
.bg_6 .bg_1200{background:#ea5404;border-radius: 5px;padding: 10px 0;border: 3px solid #000000;	width:auto;}

}

/*區塊title*/
.bg_1 .titleC{ background: url("../images/subti01.png") top center no-repeat; position: relative; height:340px; margin:40px 0 -190px 0;}
.bg_1 .titleC h2{ display: none;}
.bg_2 .titleC{ background: url("../images/subti02.png") top center no-repeat; position: relative; height:340px; margin:0px 0 -150px 0;}
.bg_2 .titleC h2{ display: none;}
.bg_3 .titleC{ background: url("../images/subti03.png") top center no-repeat; position: relative; height:340px; margin:-30px 0 -150px 0;}
.bg_3 .titleC h2{ display: none;}
.bg_3 .rectangle{margin-top: 10px;}
.bg_4 .titleC{ background: url("../images/subti04.png") top center no-repeat; position: relative; height:340px; margin:0px 0 -176px 0;}
.bg_4 .titleC h2{ display: none;}
.bg_5 .titleC{ background: url("../images/subti05.png") top center no-repeat; position: relative; height:340px; margin:-66px 0 -150px 0;}
.bg_5 .titleC h2{ display: none;}
.bg_6 .titleC{ background: url("../images/subti06.png") top center no-repeat; position: relative; height:340px; margin:-50px 0 -150px 0;}
.bg_6 .titleC h2{ display: none;}


@media screen and ( max-width: 991px ){
.bg_1 .titleC{display: none;}
.bg_1 .titleC h2{ display: none;}
.bg_2 .titleC{ display: none;}
.bg_2 .titleC h2{ display: none;}
.bg_3 .titleC{ display: none;}
.bg_3 .titleC h2{ display: none;}
.bg_3 .rectangle{margin-top: 10px;}
.bg_4 .titleC{display: none;}
.bg_4 .titleC h2{ display: none;}
.bg_5 .titleC{display: none;}
.bg_5 .titleC h2{ display: none;}
.bg_6 .titleC{ display: none;}
.bg_6 .titleC h2{ display: none;}

}


/*變形公版*/
.recommend{width: 1080px; padding: 30px 30px 30px; margin:20px auto 0px; position: relative;border-radius: 10px;display: flex; flex-wrap: wrap; background: #fff;}
.recommend a { display: flex; }
.recommend h3 {writing-mode: vertical-lr;text-align: left; color: #000;}
.recommend .font { width: 650px; margin-left: 30px;}
.recommend .font h4 { font-size: 2rem;border-bottom: #000000 solid 1px; padding: 0 20px 20px; margin: 10px auto 12px; line-height: 2.2rem; }
.recommend .font p { font-size: 1.2rem; line-height: 2rem;  }
.recommend .font p big{ font-size:1.3rem; }
.recommend .font .price { font-size: 1.2rem;  }
.recommend img {  object-fit: cover;max-height: 350px;margin: 0 0px;}
	@media screen and ( max-width: 991px ){
		.recommend{width: 94vw; padding: 5vw ;margin: 2vw auto;background: #fff;}
		.recommend a { flex-wrap: wrap; }
		.recommend h3 {writing-mode:horizontal-tb;margin: auto;}
		.recommend .font { width: 100%; height: auto; padding: 0;margin: 0 2vw 2vw;}
		.recommend .font h4 { margin: 2vw auto; padding: 2vw; font-size: 1.6rem; line-height: 2rem;}
		.recommend .font p { padding: 2vw; margin: 2vw auto;}
		.recommend .font .price { padding: 2vw; }
		.recommend img { max-height: 50vw; height: 100%;margin: 2vw auto;}
	}
.swiper-container {
  width: 350px; z-index: 99;padding: 0 0px;
  height:350px; overflow: hidden; display: flex; flex-wrap: wrap;
}
.swiper-wrapper{z-index: 99;}
.swiper-slide img{ width:100%; }
.swiper-slide {
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center; margin-right: 0px;
}

@media screen and ( max-width: 991px ){
.swiper-container {
  width: 84vw; z-index: 99;padding: 0 0vw; background:url(../images/m/layout-m_09.jpg) top center no-repeat; background-size:100%;
  height:84vw;
}	
.swiper-wrapper{width:100%;}
.swiper-slide{width:100%; text-align:center;}
.swiper-slide img{ width:100%; max-height: 100%; margin:0 auto;}
		}



/*for mobile*/
menu{display:none;}
	@media screen and ( max-width:991px ){
		menu{ display:block;}
		.deco_arrows{ width:1vw; }
	}
menu ul{
	position:fixed;
	bottom:0;
	left:0;
	margin:0;
	width:100%;
	display:flex;
	flex-wrap:wrap;
	list-style: none;
	background:#fed001;
	z-index:1000;
	padding:2px 0;
	border-top:none;
}
menu ul li{
	border-right:1px solid #cdb7a0;
	/*border-bottom:1px solid #cdb7a0;*/
	padding:4px 0;
	width:33.3%;
	box-sizing:border-box;
	text-align:center;
	letter-spacing:0px;
	color:#ffffff;
}
menu ul li a{
	font-size:14px;
	line-height:12px;
}
menu ul li:nth-last-child(1)/*, menu ul li:nth-last-child(4)*/{
	border-right:none;
}
menu ul li:nth-last-child(1), menu ul li:nth-last-child(3), menu ul li:nth-last-child(2), menu ul li:nth-last-child(1){
	border-bottom:none;
}

menu a{
	color:#007f54 !important;
	text-decoration:none;

}

/* -- sidemanu for pc -- */
.side-menu2{
	position: fixed;
	width: 130px;
	top:20%;
	right:1%;
	padding:10px;
	border-radius:20px;
	box-sizing: border-box;
	background:#fdd000;
	opacity:0.95; 
	display: flex;
	flex-direction: column;
	transform: translateX(0);
	transition: .3s;
	text-align:center;
	z-index:99;
	font-size:15px;
	overflow:hidden;
	border:3.5px solid #181818;
}
.side-menu2 label{
	position: fixed;
	width: 130px;
	height: 150px;
	background:#3752a3;
	opacity:0.95; 
	color: #f6f5e5;
	right: -40px;
	top: 0%;
	line-height: 28px;
	text-align: center;
	font-size: 24px;
	border-radius: 0 10px 10px 0;
	padding:18px 8px 10px 8px;
	font-weight:500;
}
#side-menu-switch2{
	position: absolute;
	opacity: 0;
	z-index: -1;
}
#side-menu-switch2:checked + .side-menu{
	transform: translateX(0);
}
.side-menu2 nav a{
	display: block;
	padding: 10px 4px;
	color: #007f54;
	text-decoration: none;
	position: relative;
	font-size:14px;	
	font-weight: 500;
}
.side-menu2 nav p.name_menu {
    padding: 10px 0;
    font-size: 1.5em;
    line-height: 1em;
    border-bottom: 3px solid;
    border-color: #ffffff;
    color: #fff7ad;
    font-weight: bold;
}
.side-menu2 nav ul.area1 {
    margin-bottom: 150px;
}
.side-menu2 nav ul.area1 li {
    width: 50%;
    float: left;
    border-bottom: 1px dotted #04414b;
}

.side-menu2 nav ul.area1 li {
    width: 50%;
    float: left;
    border-bottom: 1px dotted #04414b;
}
.side-menu2 nav ul.area1 li:nth-child(even) {
    border-right: 1px dotted #04414b;
}

.side-menu2 nav ul.area2 li {
    border-bottom: 1px dotted #ffffff;
}
.side-menu2 nav ul.area1 li:nth-last-child(1),
nav ul.area1 li:nth-last-child(1),
nav ul.area2 li:nth-last-child(1) {
    border-bottom: none;
}
.side-menu2 nav ul.area1 li:nth-child(12) {
    width: 100%;
    border-right: none;
}

nav a:hover{
	background: #ffe25b;
}

@media screen and (max-width: 991px) {
    .side-menu2 {
        display: none;
    }
}


/*Plugin*/
.side-menu2 .nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.side-menu2 .nav-pills>li.active>a, .side-menu2 .nav-pills>li.active>a:focus, .side-menu2 .nav-pills>li.active>a:hover {
    color: #007f54;
    /* background-color: #3a476e; */
}

.side-menu2 .nav-pills>li>a {
    border-radius: 0px;
}
.side-menu2 .nav>li>a {
    position: relative;
    display: block;
}


/*--goto top--*/
#gotop {display: inline-block;background-color: #000;opacity:0.3;width: 40px;height: 40px;text-align: center;border-radius: 100%;position: fixed;bottom: 0px;right: 0px;transition: background-color .3s, opacity .5s, visibility .5s;opacity: 0;visibility: hidden;z-index: 1000;margin: 30px;}
#gotop::after {font-family: FontAwesome;content:'　';font-weight: normal;font-style: normal;font-size: 2em;line-height: 50px;color: #fff;  opacity:0.5;background: url(../images/top.png) center no-repeat; background-size:50%;background-position:50% 20%;}
#gotop:hover {cursor: pointer;background-color: #666;}
#gotop:active {background-color: #666;}
#gotop.show {opacity: 0.4;visibility: visible;}
	@media screen and ( max-width: 991px ){
	#gotop {bottom: 12vw;right: 0;margin: 2vw;	}
	}
	