/* CSS Document */


/*基本指定*/
* {
	margin: 0;
	padding:0;
}
img{
    border: none;
	margin: 0;
	padding:0;
}

a img {
  border: none;
}


/* 画像位置指定 */

.imgl {
	margin: 5px 10px 5px 0px;
	padding: 0;
	float: left;
}

.imgr {
	margin: 5px 15px 5px 10px;
	padding: 0;
	float: right;
}


/*文字装飾*/

/*文字色指定*/
.red { color: #ff0000; }
.blue { color: #0000cc; }
.orange { color: #FF9900; }
.green { color: #00CC33; }
.light_b { color: #33CCFF; }


/*太文字指定*/
.b { font-weight: bold; }


/*フォントの大きさ指定*/

.xx-small { font-size:58%; }
.x-small { font-size:69%; }
.small { font-size:83%; }
.large { font-size:120%; }
.x-large { font-size:144%; }
.xx-large { font-size:172%; }
.sz18 {
font-size: 18px;
}



/*文字装飾*/
.yline { background: #ffff00; }



.link_r {
	text-align: right;
	margin-right:10px;
}

#content .to-center {text-align:center;}
#content .to-right {text-align:right;}


body {
    height: 100%;
    line-height: 160%;
	text-align: center;
	font-size:14px;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック';

}

@media screen and (min-width: 641px){

#wrapper {
	text-align: left;
	width: 860px;
	margin: 0px auto;
       background: url(img/back.gif) repeat-y;
}

#content{
	width:800px;
	margin: 0px auto;
	padding-top: 0px 20px;
	text-align: left;
}

#header {
	height: 333px;
	width: 800px;
	background-image: url(img/top.jpg);
}


/*文字指定*/

h1 {
	font-size: 9px;
    margin-top:0px;
	background-color: #5286F4;
	height: 15px;
	text-align: right;
	color:#fff;
	width: 795px;
	padding-right: 5px;
	padding-bottom: 3px;
}


h2 {
	color:#333333;
	font-weight:bold;
	font-size:18px;
	height: 34px;
	line-height: 34px;
	margin-bottom: 12px;
	padding-left: 5px;
	border-top-width: 2px;
	border-bottom-width: 2px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #5286F4;
	border-bottom-color: #5286F4;

}

h3 {
	font-size: 18px;
	height: 45px;
	line-height: 45px;
	background-image: url(img/h3.jpg);
	background-repeat: no-repeat;
	clear: both;
	color: #333333;
	margin-top: 18px;
	padding-left: 20px;
	padding-top: 0px;
}

p {
	line-height:20px;
	padding-bottom: 10px;
	color:#333333;

}

/*記事指定*/


.mein {
	margin: 0px;
	width: 780px;
	padding-top: 0px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}

.inner{
	margin: 10px 5px 5px 5px;
	border: 1px solid #5286F4;
	padding: 0;
	line-height: 160%;
}

.inner p{
	margin:0 15px 15px;
	font-size: 14px;
	line-height: 160%;
	color:#000;
}


/*ボックス指定*/

.text {
	font-size14px;
    padding-bottom: 5px;

}

.text p {
	padding:5px 5px;
	line-height:160%;
	margin:0;
	font-size: 15px;
	line-height: 160%;
	color:#000;
}

.story {
	margin: 10px 15px 10px 5px;

	padding: 0;
}

.story p{
	margin:0 5px 5px 5px;
	font-size: 15px;
	line-height: 160%;
	color:#000;
}

/*ボタン指定*/

.bt_c{
	text-align:center;
	clear:both;
	width: 600px;
	height: 60px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
	padding-top: 10px;
	padding-right: 63px;
	padding-bottom: 5px;
	padding-left: 60px;
}



/*フッター指定指定*/

#space {
	width: 760px;
	color: #999999;
	margin-top: 50px;
	margin-bottom: 5px;
	font-size: 10px;
	line-height: 14px;
}

#space p{
	font-size: 11px;
	line-height: 14px;
}

#frontfooter p{
	font-size: 10px;
	color: #999999;
}

#footer p {
 	text-align: center;
	padding-top: 10px; 
}
#footer a {
	color: #333333;
}


#footer {
	padding: 5px 30px 0px 30px;
	height: 120px;
	font-size: 12px;
	line-height: 14px;
	background: #ededed;
	clear: both;
}

#footer .page {
	margin-left: 7px;
	font-size: 11px;
	text-align: left;
	padding: 0px;
}



}


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

.link_r {
	display: none;
}


/* 画像位置指定 */

.imgl{
	background:#fff;
}

.imgr{
	margin: 10px;
}


#header {
	display: none;
}





#wrapper {
	text-align: left;
	width: 100%;
	margin: 0px auto;
}


#content{
	width:100%;
	margin: 0px auto;
	text-align: left;
}

#content img {
	width: 280px;
}




/*文字指定*/

h1 {
	font-size: 8px;
        margin-top:0px;
	background-color: #fff;
	height: 15px;
	text-align: right;
	color:#000;
	width: 100%;
	padding-bottom: 3px;
}


h2 {
	color:#333;
	font-weight:bold;
	font-size:18px;
	line-height: 24px;
	margin-bottom: 12px;
	padding-left: 5px;
	background-color: #5286F4;

}

h3 {
	font-size: 18px;
	width: 100%;
	line-height: 24px;
	clear: both;
	color: #333;
	margin-top: 18px;
	padding-top: 0px;
	padding-left: 5px;
	background-color: #5286F4;
}

p {
	line-height:20px;
	padding-bottom: 10px;
	color:#333333;

}

/*記事指定*/


.mein {
	margin: 0px;
	width: 100%;
}

.inner{
	margin: 10px 5px 5px 5px;
	padding: 0;
	line-height: 160%;
}

.inner p{
	margin:0 15px 15px;
	font-size: 14px;
	line-height: 160%;
	color:#000;
}


/*ボックス指定*/

.text {
	font-size14px;
    padding-bottom: 5px;

}

.text p {
	padding:5px 5px;
	line-height:160%;
	margin:0;
	font-size: 14px;
	line-height: 160%;
	color:#000;
}

.story {
	margin: 10px 15px 10px 5px;

	padding: 0;
}

.story p{
	margin:0 5px 5px 5px;
	font-size: 14px;
	line-height: 160%;
	color:#000;
}

/*ボタン指定*/

.bt_c{
	text-align: center;
}



/*フッター指定指定*/

#space {
	width: 100%;
	color: #999999;
	margin-top: 50px;
	margin-bottom: 5px;
	font-size: 10px;
	line-height: 14px;
}

#space p{
	font-size: 10px;
	line-height: 14px;
}

#frontfooter p{
	font-size: 10px;
	color: #999999;
}

#footer p {
 	text-align: center;
	padding-top: 10px; 
}
#footer a {
	color: #333333;
}


#footer {
	padding: 5px 30px 0px 30px;
	font-size: 10px;
	line-height: 14px;
	background: #ffffff;
	clear: both;
}

#footer .page {
	margin-left: 7px;
	font-size: 10px;
	text-align: left;
	padding: 0px;
}




}



