@charset "utf-8";

/******************************************************************************************
　　基本レイアウト指定
******************************************************************************************/

/* 画像の最大幅を100%に */
img{
	max-width:100%;
	height:auto;
}

/*フォント設定*/
body{
	-webkit-text-size-adjust:100%;	/*文字サイズの自動調整オフに*/
	font-family:'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
	color:#333333;
}

/*背景色*/
body{ background:#FFFFFF; }


h1{
	text-align:left;
	padding:28px 20px 16px 20px;
}
h2{
	text-align:center;
	color:#484848;
	font-size:40px;
	font-weight:bold;
	margin:40px 0 30px 0;
}

p{font-size:18px;}

hr{
	border-color:#F00;
	border:1px dotted #F00;
}
.txt_c{text-align:center;}


.mb15{margin-bottom:15px;}
.mb30{margin-bottom:30px;}

/******************************************************************************************
	pc size
******************************************************************************************/
#contents{
	width:100%;
	max-width:960px;
	margin:0 auto;
}
@media \0screen\,screen\9 {
    header, footer{ width:960px;}
}

/*ヘッダー*/
header{ 
	position:relative; 
} 


/*コンテンツ*/
.text_box{
	width:70%;
	margin:0 auto;
}
.text_box p{
	line-height:40px;
	margin-right:15px;
	margin-left:15px;
}
.txt_sp{
	display:none;
}
/*フッター*/
#footer_wrap{
	/*display: flex;
	flex-direction: column;
	min-height:250px;*/
	margin-top:30px;
}
 
footer {
  margin-top: auto;
  padding:10px 0px;
}
.copylight{
	text-align:right;
	margin-right:15px;
	padding:10px 0;
	color:#666;
	font-size:16px;
}


/******************************************************************************************
	tablet size
******************************************************************************************/

@media screen and (max-width: 959px) {
h2{
	font-size:32px;
	margin:40px 15px 30px 15px;
}
.text_box{
	width:98%;
	margin:0 auto;
}
.text_box p{
	line-height:30px;
}

/******************************************************************************************
	sp size
******************************************************************************************/

@media screen and (max-width: 479px) {
.text_box{
	width:100%;
	margin:0 auto;
}

h1{
	text-align:center;
	padding:28px 20px 12px 20px;
}
h2{
	font-size:26px;
	margin:40px 15px 30px 15px;
}
p{font-size:16px;}

#contents img{
	margin:0 15px;
}
.text_box p{
	line-height:30px;
	margin-left:15px;
	margin-right:15px;
	text-align:left;
}

.copylight{
	text-align:center;
	margin:0 15px;
}
}