/* CSS Document */

/*基本指定*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    font-size: 100%;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
}
img{border: none; max-width:100%;}
a img {border: none;}


/*文字色指定*/
.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%; }

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

/*文字ライン*/
.centerline { text-decoration:line-through; }
.underline { text-decoration:underline; }


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

.float-right {
  margin-bottom:10px;
  margin-left:10px;
  float:right;
  display:inline;
  }

.float-left {
  margin-bottom:10px;
  margin-right:10px;
  float:left;
  display:inline;
  }


/* 文字の修飾
----------------------------------------- */

/*文字列右寄せ*/

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

/* コンテンツ指定
----------------------------------------- */

body {
	height: 100%;
	text-align: center;
	font-size:14px;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',	Meiryo,'ＭＳ Ｐゴシック';
	background:#FFF;
}
#body_line {
	background-image: url(../img/bg.jpg);
	background-repeat: repeat-x;
}
#wrapper {
	text-align: left;
	max-width: 800px;
	margin: 0 auto;
	background: #FFF;
	box-shadow: 0 3px 7px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 3px 7px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 3px 7px rgba(0,0,0,0.5);
}

#header {
	max-width: 800px;
	margin: 0px auto;
	text-align: center;
	border-bottom: 6px solid #8C130D;
}

/*バナー変更部分*/
#banner {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
}
#banner img{width: 100%;padding: 0;margin: 0;vertical-align: bottom;}

#content {
	max-width: 770px;
	margin: 20px auto;
	text-align: left;
	padding: 0 15px;
}
.main{
	padding: 0 0 20px;
	border: 1px solid #8C130D;
}
.box1 img{padding: 10px; background: #FFF;}
/*画像指定*/

.img_a{
	float: left;
	text-align: center;
	width: 240px;
	margin-top: 10px;
	margin-bottom: 5px;
	padding-top: 0;
	padding-bottom: 0;
	margin-right: 20px;
	margin-left: 20px;
}

.img_r {
	float: right;
	margin-right: 10px;
}

.img_l {
	float: left;
	margin-left:10px;
}

.float-right {
	float: right;
	margin-right: 10px;
    display:inline;
}

.float-left {
  margin-bottom:10px;
  float:left;
  display:inline;
}

/*ボタン指定*/

.bloc {
	text-align: center;
	margin-top: 20px;
	padding-bottom: 25px;
	clear: both;
}

/*フッター指定*/

#frontfooter {
	max-width: 670px;
	color: #999999;
	margin: 0 auto 20px auto;
	padding: 0 40px;
}

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

#footer {
	height: auto;
	font-size: 10px;
	line-height: 14px;
}

#footer .page {
	padding: 2px 25px;
	font-size: 10px;
	background: #EEE;
}

#footer .copy_r {
	font-size: 9px;
	color: #fff;
	text-align: center;
	background: #8C130D;
	padding: 6px 20px;
}

#footer p {
	text-align: left;
}


/*Clearfixなど*/


.clear{
	clear:both;
}



/*文字指定*/
@media screen and (min-width: 641px){
h1 {
	font-size: 10px;
	text-align: right;
	color:#999999;
	top: 0px;
	right: 20px;
	position: absolute;
}

h2 {
	color:#fff;
	font-weight:bold;
	font-size:18px;
	padding: 8px 10px;
	background: #8C130D;
	margin-bottom: 15px;
}

h3 {
	color:#333333;
	font-weight:bold;
	font-size:18px;
	line-height: 28px;
	border-bottom: 2px solid #8C130D;
	border-left: 6px solid #8C130D;
	margin: 0 0 8px 0;
	padding: 0 10px 0 5px;
	clear: both;
}

h4 {
	color:#333333;
	font-weight: bold;
	font-size: 18px;
	border-bottom: 2px solid #8C130D;
	padding: 0 10px 0 25px;
	margin: 0 0 8px 0;
	background: url(../img/icon_ch01.png) left 4px no-repeat;
}

p {
	padding: 0px 10px 10px;
	font-size: 16px;
	line-height: 20px;

}

/*ボックス指定*/

.box1 {
}
.box1 img{ margin: 0 15px;}
.box1 p {
	line-height: 25px;
	background-image: url(../img/line.gif);
	margin:0 15px 10px;
	padding: 8px 10px 5px 10px;
}

.box2{
	font-size:14px;
	font-weight:normal;
	padding-bottom: 40px;
	margin-top: 10px;
	margin-bottom: 0px;
	padding: 10px 10px 10px 15px;
	padding-left: 15px;

}
.box2 p {
	line-height: 24px;
}
}

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

img {width: auto;}


/* 文字の修飾
----------------------------------------- */

/*文字列右寄せ*/

.link_r {
	display: none;
}

/* コンテンツ指定
----------------------------------------- */

body {
	font-size: 13px;
	background: none;
	-webkit-text-size-adjust:100%;
}

#body_line {
	background: none;
}

#wrapper {
	width: auto;
	box-shadow: none;
}

#header {
	border-bottom: 4px solid #8C130D;
}

/*バナー変更部分*/
#banner {
	width: auto;
}

#content {
	padding: 10px;
	width: auto;
	margin: 5px auto;
}

.main{
	padding: 0;
	border: none;
}


/*文字指定*/

h1 {
	font-size: 12px;
	color:#fff;
	padding: 5px 8px;
	line-height: 14px;
	background: #8C130D;
	text-align: left;
}

h2 {
	color:#fff;
	font-weight:bold;
	font-size:18px;
	padding: 4px 3px 4px 8px;
	margin: 0 0 8px 0;
	background: #8C130D;
}

h3 {
	border-bottom: solid 1px #8C130D;
	color:#333333;
	font-weight:bold;
	font-size:18px;
	padding: 0px 3px 0px 6px;
	border-left: 6px solid #990000;
	margin: 0 0 8px 0;
}

h4 {
	color:#333333;
	font-weight: bold;
	font-size: 18px;
	width: 100%;
	margin: 0 0 8px 0;
	border-bottom: solid 1px #990000;
	padding: 0px 3px 0px 6px;
}

p {
	padding: 0px 10px 10px;
}

/*ボックス指定*/

.box1 {
	margin: 0 auto 15px auto;
}

.box1 p {
	line-height:25px;
	background-image: url(../img/line.gif);
	padding: 8px 10px 5px 10px;
	margin-bottom: 6px;
}

.box2{
	margin: 5px;
}

.box2 p {
	line-height: 24px;
}

/*フッター指定*/

#frontfooter {
	width: auto;
	padding: 10px 15px 15px 15px;
	margin: 0 auto;
}

#footer .page {
	padding: 4px 15px;
	font-size: 11px;
}
}


a:hover img{

opacity:0.7;

filter:alpha(opacity=70);

-ms-filter: “alpha( opacity=70 )”;

}


/*Youtubeレスポンシブ*/

.youtube {
position: relative;
height: 0;
padding: 30px 0 56.25%;
overflow: hidden;
}

.youtube iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}

.innerc{
margin: 10px 15px 20px 15px;
padding: 1px 1px 10px 1px ;
}

ul.check{
margin-bottom: 10px;
list-style-position: inside;
list-style-image: url(../img/check.png);
list-style-type: none;
}

ul.check li{
margin-right: 15px;
margin-left: 15px;
font-weight: bold;
}



/*広告*/
@media screen and (max-width: 600px) {
	#footer_bt {
		position: fixed;
		bottom: 0;
		left: 0; /**/
		width:100%; /**/
		text-align: center;
		z-index: 240;
		visibility: visible;
		margin:0 auto;
		-moz-opacity:0.9;
		opacity:0.9;
		filter: alpha(opacity=98);
	}
	#footer_bt p {
		width: 80%;
		margin:0 auto;
		text-align: center;
	}
}
@media screen and (min-width: 601px) {
	#footer_bt {
		display:none;
}

