@charset "Shift_JIS";

/* 要素リセット */
body{
    margin: 0;
    padding: 0;
    font-size: 75%;
    font-family: 'メイリオ' , Meiryo, 'ヒラギノ角ゴ Pro W3' , 'Hiragino Kaku Gothic Pro' , 'ＭＳ Ｐゴシック' , 'Osaka' , sans-serif;
    color: #000000; /* 標準文字色 */
    background-color: #ececec;
}
/* Safari用ハック 文字サイズ調整 */
/*\*/
html:first-child body{
    font-size: 70%;
}
/* end */

img{
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

/*--------------------------------------------------------
  レイアウト設定
--------------------------------------------------------*/

#hpb-container{
	position: relative;
}

#hpb-header{
	position: relative;
	width: 960px;
	height: 146px;
	overflow: hidden;
}

.hpb-layoutset-01 #hpb-inner{
	padding-top: 424px;
}
.hpb-layoutset-02 #hpb-inner{
	padding-top: 86px;
}
#hpb-headerLogo{
	position: absolute;
	top: 0px;
	left: 19px;
	z-index: 2;
}

#hpb-title{
		position: absolute;
	top: 182px;
	width: 960px;
	left: 0;
	width: 960px;
}

.hpb-layoutset-01 #hpb-title{
    background-image : url(top_mainimg_5M_01.png);
    background-position: top left;
    background-repeat: no-repeat;
	height: 357px; 
}

#hpb-main{
    width: 613px;
	float: right;
	padding-right: 20px;
}
.hpb-layoutset-01 #hpb-main{
	padding-top: 0px;
}
.hpb-layoutset-02 #hpb-main{
	padding-top: 50px;
}
#hpb-aside{
 	width: 293px;
	float: left;
	padding-left: 14px;
}
.hpb-layoutset-01 #hpb-aside{
	padding-top: 0px;
}
.hpb-layoutset-02 #hpb-aside{
	padding-top: 66px;
}


#hpb-nav{
    width: 960px;
	top: 144px;
    left: 0px;
	position: absolute;
}

/*--------------------------------------------------------
  デザイン設定
--------------------------------------------------------*/
/* ヘッダー内パーツ */


#hpb-header::after{
	content: ".";  
	display: block;  
	clear: both;
	height: 0;
	visibility: hidden;
}
#hpb-headerMain{
	width: 700px;
	float: left;
	padding-left: 192px;
}

#hpb-headerExtra1{
    width : -6px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 15px;
    padding-right: 140px;
    padding-bottom: 5px;
    padding-left: 0;
    float: right;
	text-align: right;
	background-image : url(headerBg_5Mb1.png);
	background-position: right center;
    background-repeat: no-repeat;
}

/* コンテンツ配置領域 */

.hpb-layoutset-01 #hpb-title h2{
    margin: 0;
    overflow: hidden;
    text-indent: -9999px;
    height: 366px;
    background-image : url(top_mainimg_5M_02.png);
    background-position: top center;
    background-repeat: no-repeat;
}

.hpb-layoutset-02 #hpb-title h2{
    background-image : url(titleBg_5M.png);
}

/* =======================================================
  レスポンシブル設定
======================================================= */
@media screen and (max-width: 568px) {

	body{
		min-width: 100%;
	}

	/*--------------------------------------------------------
	  レイアウト設定
	--------------------------------------------------------*/
	#hpb-header{
		width: 100%;
		height: auto;
		padding-bottom: 10px;
	}
	.hpb-layoutset-01 #hpb-inner{
		padding-top: 0px;
	}
	.hpb-layoutset-02 #hpb-inner{
		padding-top: 0px;
	}
	#hpb-headerLogo{
		position: relative;
		left: 0px;
		z-index: auto;
		width: 98%;
		margin-top: 10px;
		margin-left: auto;
		margin-bottom: 10px;
		margin-right: auto;
	}
	#hpb-title{
		position: relative;
		top: 0;
		width: 100%;
	}
	.hpb-layoutset-01 #hpb-title{
		background-size: contain;
		height: auto;
	}
	#hpb-main{
		width: 96%;
		float: none;
		padding-right: 0;
		padding-bottom: 20px;
		margin-left: auto;
		margin-right: auto;
	}
	.hpb-layoutset-02 #hpb-main{
		padding-top: 10px;
	}
	#hpb-aside{
		max-width: 96%;
		float: none;
		padding-left: 0;
		padding-bottom: 20px;
		margin-left: auto;
		margin-right: auto;
	}
	.hpb-layoutset-02 #hpb-aside{
		padding-top: 0;
	}
	#hpb-nav{
		width: 100%;
		position: relative;
		top: 0;
	}
	
	/*--------------------------------------------------------
	  デザイン設定
	--------------------------------------------------------*/
	/* ヘッダー内パーツ */
	#hpb-headerMain{
		width: 100%;
		float: none;
		padding-left: 0px;
	}
	#hpb-headerExtra1{
		width: 98%;
		margin-left: auto;
		margin-right: auto;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
		float: none;
		background-image: none;
	}
	/* コンテンツ配置領域 */
	
	.hpb-layoutset-01 #hpb-title h2{
		height: 220px;
		background-size: contain;
	}
	.hpb-layoutset-02 #hpb-title h2{
		background-size: cover;
	}
	
}
