@charset "utf-8";
/*-------------------------------------------------
  基本設定
  作成者：
  作成日：
  最終更新日：
--------------------------------------------------*/

/*トップページ用
--------------------------------------------------*/
#mainvisual{
	width:922px;
}
#maincontainer {
}
#rightcontents{
	width:200px;
	float:right;
	margin-left:20px;
}
#maincontents {
	float:right;
	width:460px;
}
#maincontents h2 img{
	width:460px;
	height:auto;
}
#bnrlink2 li{
	margin-bottom:9px;
}
#bnrlink3{
	display:none;
}
@media screen and (max-width:768px){
#mainvisual{
	width:100%;
}
#maincontainer {
	position:relative;
}
#rightcontents{
	width:200px;
	float:none;
	margin:0px auto;
	text-align:center;
}
#maincontents {
	float:none;
	width:95%;
	margin:0 auto;
}
#bnrlink2{
	display:none;
}
#maincontents h2 img{
	width:100%;
}
#bnrlink3{
	display:block;
	margin:0 auto 20px auto;
	width:200px;
}
#bnrlink3 li{
margin-bottom:9px;
}
}
/*狭いブラウザとタブレット向け */
@media (max-width: 1023px) and (min-width: 768px) {
#bnrlink3{
	display:block;
	margin:0 auto 0 auto;
	width:200px;
}
#bnrlink3 li{
margin:9px;
float:none;
line-height:0;
}
}

#topbox01{
	border-bottom:1px #CDCDCD solid;
	border-right:1px #CDCDCD solid;
	border-left:1px #CDCDCD solid;
	padding:15px 12px 18px;
	background-color:#fff;
}

#top-under-contents{
	clear:both;
	margin-top:30px;
	background-image:url(../../imgs/top/bg_contents.jpg);
	background-repeat:repeat-x;
	background-position:top;
	border-top:1px solid #CDCDCD;
	min-height:232px;
}
*html #top-under-contents{
	height:232px;
}
#top-contents{
	width:901px;
	margin:0 auto;
	padding-bottom:34px;
}
#top-left,
#top-center,
#top-right{
	background-position:top;
	background-repeat:no-repeat;
	float:left;	
}
#top-left{
	background-image:url(../../imgs/top/bg_cont01.jpg);
	width:260px;
	padding:0 21px 0 20px;
}
#top-center{
	background-image:url(../../imgs/top/bg_cont02.jpg);
	width:260px;
	padding:0 21px 0 19px;
}
#top-right{
	background-image:url(../../imgs/top/bg_cont03.jpg);
	width:260px;
	padding:0 21px 0 19px;
}
#top-left h2,
#top-center h2,
#top-right h2{
	text-align:center;
	margin-top:12px;
	margin-bottom:6px;
}
#top-left p,
#top-center p,
#top-right p{
	margin-top:12px;
	font-size:0.7em;
}

@media screen and (max-width:768px){
.topbox01 td,
.topbox01 th {
	width: 100%;
	display: block;
	border: none;
}
.topbox01 td{
	padding-bottom:15px;
}
}
@media screen and (max-width:768px){
#leftcontents{
	display:none;
}
}

@media screen and (max-width:768px){
#top-under-contents{
	clear:both;
	margin-top:30px;
	background-image:url(../imgs/top/bg_contents.jpg);
	background-repeat:repeat-x;
	background-position:top;
	border-top:1px solid #CDCDCD;
	min-height: inherit;
}
*html #top-under-contents{
	height:232px;
}
#top-contents{
	width:95%;
	margin:0 auto;
	padding-bottom:34px;
}
#top-left,
#top-center,
#top-right{
	background-position:top;
	background-repeat:no-repeat;
	float:none;	
}
#top-left{
	background-image: none;
	width:260px;
	border-bottom:1px #ccc solid;
	padding:0 21px 10px 20px;
	margin:0 auto;
}
#top-center{
	background-image: none;
	width:260px;
	padding:0 21px 10px 19px;
	margin:0 auto;
	border-bottom:1px #ccc solid;
}
#top-right{
	background-image: none;
	width:260px;
	padding:0 21px 0 19px;
	margin:0 auto;
}
#top-left h2,
#top-center h2,
#top-right h2{
	text-align:center;
	margin-top:12px;
	margin-bottom:6px;
}
#top-left p,
#top-center p,
#top-right p{
	margin-top:12px;
	font-size:0.8em;
}	
}

/*狭いブラウザとタブレット向け */
@media (max-width: 1023px) and (min-width: 768px) {
#top-under-contents{
	clear:both;
	margin-top:30px;
	background-image:url(../imgs/top/bg_contents.jpg);
	background-repeat:repeat-x;
	background-position:top;
	border-top:1px solid #CDCDCD;
	min-height: inherit;
}
*html #top-under-contents{
	height:232px;
}
#top-contents{
	max-width:901px;
	width:100%;
	display: table;
	margin:0 auto;
	padding-bottom:34px;
}
#top-left,
#top-center,
#top-right{
	background-position:top;
	background-repeat:no-repeat;
}
#top-left{
	background-image:url(../../imgs/top/bg_cont01.jpg);
	background-size:100%;
	display: table-cell;
	padding:0 21px 10px 20px;
	margin:0 auto;
	border-bottom:none;
}
#top-center{
	background-image:url(../../imgs/top/bg_cont02.jpg);
	background-size:100%;
	display: table-cell;
	padding:0 21px 10px 19px;
	margin:0 auto;
	border-bottom:none;
}
#top-right{
	background-image:url(../../imgs/top/bg_cont03.jpg);
	background-size:100%;
	display: table-cell;
	padding:0 21px 0 19px;
	margin:0 auto;
}
#top-left img,
#top-center img,,
#top-right img,{
	width:100%;
}
#top-left h2,
#top-center h2,
#top-right h2{
	text-align:center;
	margin-top:12px;
	margin-bottom:6px;
}
#top-left p,
#top-center p,
#top-right p{
	margin-top:12px;
	font-size:0.8em;
}
}