﻿@charset "utf-8";

/* ------------------------------
   DESIGN/LAYOUT ELEMENTS
------------------------------ */
a:link,a:visited,a:active,a:hover { text-decoration: none; color: #000;}

/* ------------------------------
   CHAPTER ELEMENTS
------------------------------ */
#globalMenu {
	width: 100%;
	height: 45px;
	background: #ebebeb;
	background: linear-gradient(to bottom,  #ebebeb 45%,#d8d8d8 55%);
	border-top: #aaa 1px solid;
	border-bottom: #aaa 1px solid;
	position: relative;
	z-index: 10;
}

#globalMenu ul {
	margin: 0 auto;
	width: 1000px;
	height: 45px;
	text-align: left;
}

#globalMenu ul li {
	width: 166px;
	height: 45px;
	float: left;
	border-left: #aaa 1px solid;
	box-sizing: border-box;
}

#globalMenu ul li:last-child {
	border-right: #aaa 1px solid;
}

#globalMenu ul li a {
	height: 45px;
	font-weight: bold;
	line-height: 45px;
	display: block;
	text-align: center;
	transition: all 0.2s linear;
}

#globalMenu ul li:hover > a {
	background: #fff;
}

#contents {
	width: 1000px;
	text-align: center;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
}

#contents p {
	padding-bottom: 2em;
	font-size: 0.9em;
	line-height: 1.8em;
}

/* ------------------------------
   MEDIAQUERIES LAYOUT
------------------------------ */
@media only screen and (max-width: 768px) {
	/* ------------------------------
	   baseHeader
	------------------------------ */
	.baseHeader div {
		width: 100%;
		transition: all 0.3s ease-in-out;
	}
	#globalMenu ul {
		width: 100%;
	}

	#globalMenu ul li {
		width: 16%;
	}
	
	#contents {
	width: 100%;
	margin:0px;
	}
	
.box3	{
	float: left;
	width: 94%;
	margin-right:10px;
	}

.box4	{
	float: left;
	width: 94%;
	}
.box4-1	{
	float: left;
	width: 50%;
	}

.box4-2	{
	float: left;
	width: 50%;
	}
	
#contents {
	width: 100%;
	}
.ads_text_top{
	width:100%;
	background-color:#666;
}
.ads_text_in{
	color:#3F0;
	width: 100%;
	text-align: left;
	margin-right: auto;
	margin-left: auto;
	padding-top: 3px;
	padding-bottom: 3px;
}

}

@media (min-width: 601px) and (max-width: 767px) {
.box3	{
	width: 94%;
	margin:0px;
	}
.box4	{
	clear:both;
	width: 100%;
	}

.box4-1	{float: left;
	width: 48%;
	margin-left:3px;
	}

.box4-2	{float: left;
	width: 48%;
	margin-left:3px;
	}
	
#contents {
	width: 100%;
	}
.about_left img{
	height:auto;
	width:100%;
}
.text_right{
	width:100%;
	text-align:right;
}

.blog_img {
	padding: 5px;
	float: left;
	height: 30%;
	width: 30%;
}
.blog_box {
	width:100%;
	padding: 5px;
	float: left;
}
.blog_title {
	font-weight:bold;
	padding: 5px;
	float: left;
	width: 60%;
}
.blog_read {
	padding: 5px;
	float: left;
	width: 60%;
}


}

/* ------------------------------
   MEDIAQUERIES[SP]LAYOUT
------------------------------ */
@media only screen and (max-width: 600px) {
	body {
		min-width: 320px;
	}

	#wrapper {
		margin: 0 auto;
	}

	/* ------------------------------
	   baseHeader
	------------------------------ */
	.baseHeader div {
		padding: 15px 0;
		width: 100%;
		text-align: center;
	}

	.baseHeader div h1 {
		height: 40px;
		font-size: 0.7em;
		line-height: 40px;
	}

	.baseHeader div a {
		margin: 0 auto;
		top: auto;
		right: auto;
		width: 60%;
		position: relative;
	}

	.baseHeader div a:link,.baseHeader div a:visited,.baseHeader div a:active {
		text-decoration: none;
		color: #fff;
	}

	.baseHeader div a:hover {
		color: #fff!important;
		background: #000!important;
		text-decoration: none!important;
	}

	/* ------------------------------
	   baseFooter
	------------------------------ */
	.baseFooter {
		padding: 15px;
	}
	#globalMenu {
		display: none;
	}

	#rwdMenuWrap {
		width: 100%;
		border-bottom: #aaa 1px solid;
	}

	#rwdMenuWrap #switchBtnArea {
		width: 100%;
		height: 60px;
		background: #3c3c3c;
		position: relative;
	}

	#rwdMenuWrap #switchBtnArea #switchBtn {
		top: 10px;
		right: 10px;
		width: 40px;
		height: 40px;
		background: #a7a7a7 url(../img/btnOpen.png) no-repeat center center;
		border-radius: 5px;
		position: absolute;
	}

	#rwdMenuWrap #switchBtnArea #switchBtn.btnClose {
		background-image: url(../img/btnClose.png);
	}

	#rwdMenuWrap ul {
		width: 100%;
		display: none;
	}

	#rwdMenuWrap ul li {
		width: 100%;
		border-bottom: #aaa 1px solid;
	}

	#rwdMenuWrap ul li a {
		padding: 15px 20px;
		text-align: left;
		background: #ebebeb url(../img/linkarw.png) no-repeat right center;
		display: block;
	}

	#contents {
		width: 100%;
		text-align:center;
	}

	#contents p {
		padding: 0 20px 2em 20px;
	}
	
.box3	{
	width: 95%;
	float:left;
	margin:0px;
	}

.box4	{
	width: 96%;
	float:left;
	text-align:center;
	}
	
.box4-1	{
	float: left;
	width: 100%;
	margin-left:3px;
	margin-right:3px;
}

.box4-2	{float: left;
	width: 100%;
	margin-left:3px;
	margin-right:3px;
	}
	
#contents .box3 .read .read02 img{
	width:100%;
}
.about_left img{
	height:auto;
	width:100%;
}

#contents .box3 .read .read02 table{
	width:100%;
}
.text_right{
	width:100%;
	text-align:right;
}




.blog_img {
	padding: 5px;
	float: left;
	height: 30%;
	width: 30%;
}
.blog_box {
	width:100%;
	padding: 5px;
	float: left;
}
.blog_title {
	font-weight:bold;
	padding: 5px;
	float: left;
	width: 60%;
}
.blog_read {
	padding: 5px;
	float: left;
	width: 60%;
	height:80px;
}


.b_ctg_mini_box {
	float: left;
	width: 45%;
	padding: 5px;
}


#contents .box3 .read img {
	height: auto;
	width: 90%;
}

#contents .box3 .read .read02 .box123 {
	width: 29%;
	float: left;
	margin: 1px;
}

.ads_text_in{
	text-align:center;
}

.sitemap_box_03 {
	float: left;
	width: 100%;
}
.sitemap_box01 {
	color: #FFF;
	background-color: #060;
	padding: 10px;
	margin-top: 10px;
	font-weight: bold;
	width: auto;
	clear: both;
}


}

/* ------------------------------
   CLEARFIX ELEMENTS
------------------------------ */
#globalMenu > ul:before,
#globalMenu > ul:after {
	content: " ";
	display: table;
}
#globalMenu > ul:after {clear: both;}
#globalMenu > ul {*zoom: 1;}
#contents .box3 .read .read02 .ads_bnr img {
	width: 300px;
	height: 51px;
}
#contents .box3 .read .sitemap_box02 .sitemap_box_03 .sitemap_box04 {
	padding: 5px;
	background-color: #999;
	text-align: center;
	font-weight: bold;
}
.item_img{
	width:40%;
	margin-left:auto;
	margin-right:auto;
}