@charset "utf-8";
/* CSS Document */

/* 內 頁 配 置 ( 左 右 配 置 ) */
#content-box {

}
#left-box {
	float:left;
	width:175px;
	padding-right:20px;
}
#right-box {
	float:right;
	width:805px;
}
#all-box {
	float:left;
	width:100%;
}

/*  左 側 欄 位 */
#left-grid {
	margin-bottom:30px;
}
H1.grid-title {
	margin-bottom:15px;
}
ul.sub-menu li {
	float:left;
	width:100%;
	background:#f4f4f4;
	border:1px solid #999;
	border-radius:3px;
	-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
	-moz-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
	box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
	margin-bottom:5px;
	position:relative;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-transition:all 0.4s ease;
	-moz-transition:all 0.4s ease;
	transition:all 0.4s ease;
}
ul.sub-menu li a {
	display:block;
	line-height:20px;
	padding:2px 25px 2px 15px;
	color:#000;
}
ul.sub-menu li span.arrow {
	position:absolute;
	right:10px;
	top:50%;
	color:#7c7c7c;
	margin-top:-7px;
}
ul.sub-menu li:hover, ul.sub-menu li.selected {
	border:1px solid #575757;
	-webkit-box-shadow: inset 0px 0px 0px 1px rgba(242,136,139,1);
	-moz-box-shadow: inset 0px 0px 0px 1px rgba(242,136,139,1);
	box-shadow: inset 0px 0px 0px 1px rgba(242,136,139,1);	
	background: rgb(224,73,77); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(224,73,77,1) 0%, rgba(227,84,87,1) 49%, rgba(221,58,61,1) 51%, rgba(223,43,45,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(224,73,77,1)), color-stop(49%,rgba(227,84,87,1)), color-stop(51%,rgba(221,58,61,1)), color-stop(100%,rgba(223,43,45,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(224,73,77,1) 0%,rgba(227,84,87,1) 49%,rgba(221,58,61,1) 51%,rgba(223,43,45,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(224,73,77,1) 0%,rgba(227,84,87,1) 49%,rgba(221,58,61,1) 51%,rgba(223,43,45,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(224,73,77,1) 0%,rgba(227,84,87,1) 49%,rgba(221,58,61,1) 51%,rgba(223,43,45,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(224,73,77,1) 0%,rgba(227,84,87,1) 49%,rgba(221,58,61,1) 51%,rgba(223,43,45,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0494d', endColorstr='#df2b2d',GradientType=0 ); /* IE6-9 */
}
ul.sub-menu li:hover > a, ul.sub-menu li.selected a {
	color:#FFF;
}
ul.sub-menu li:hover > span.arrow, ul.sub-menu li.selected span.arrow {
	color:#FFF;
}

/* 右 側 欄 位 */
#title-box {
	width:100%;
	margin:10px 0;
	background:url(../images/arrow-1.png) left center no-repeat;
	position:relative;
	padding-left:20px;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}
#title-box > div#title-text {
	width:100%;
	display:block;
	overflow:hidden;
}
#title-box H1 {
	display:inline-block;
	font-size:16px;
	position:relative;
	line-height:20px;
	color: #004986;
}
#title-box H1:before {
	content:' ';
	background: #d2d2d2;
	display: block;
	width: 785px;
	height: 1px;
	position: absolute;
	top: 50%;
	right: -795px;
	margin-top:-1px;
}
#title-box #address {
	position:absolute;
	right:0;
	top:0;
	background:#FFF;
	line-height:20px;
	text-align:right;
	color:#959595;
	padding-left:10px;
}

#word-box {
	width: 100%;
	padding:0 15px;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	overflow: hidden;
}

#page-box {
	width: 100%;
	padding:20px 10px 0 10px;
	text-align: center;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;					
}
@media screen and (max-width:999px) {
	#left-box {
		display:none;
	}
	#right-box {
		width:100%;
	}
}

@media screen and (min-width: 640px) and (max-width:999px) {
	
}

@media screen and (max-width:639px) {
	#title-box {
		margin-bottom:30px;
	}
	#title-box #address {
		top:auto;
		bottom:-15px;
	}	
	#word-box {
		padding:0;
	}

}

@media screen and (max-width: 479px) {

}
