/* 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;
}
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%; }

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


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


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

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

/*文字列右寄せ*/

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

.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;
  }

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

body {
	height: 100%;
	text-align: center;
	font-size:14px;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',	Meiryo,'ＭＳ Ｐゴシック';
	background-image: url(img/bg_1.jpg);
	background-repeat: repeat-x;
}

#body_line {
	background-image: url(img/bg.jpg);
	background-repeat: repeat-x;
}

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

#header {
	width: 800px;
	height: 175px;
	background: url(img/banner_bg.jpg) no-repeat;
	text-align: center;
}

/*バナー変更部分*/
#banner {
	width: 780px;
       height: 180px;
	margin: 0px auto;
	background-image: url(img/banner.jpg);
}

.bannar-line {
	width: 780px;
	height: 10px;
	margin: 0px auto;
}

#content {
	text-align: left;
	padding: 20px 20px 0px 20px;
}

.main_t {
	height: 30px;
}

.main_bg {
	background: url(img/cont_1_c.jpg) repeat-y;
	padding-top: 15px;
}

.main_b {
	height: 20px;
	margin-bottom: 30px;
	clear:both;
}


/*画像指定*/

.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;
}



/*文字指定*/

h1 {
	font-size: 10px;
	text-align: right;
	color:#999999;
	padding-right: 20px;
}

h2 {
	color:#333333;
	font-weight:bold;
	font-size:18px;
	text-indent: 10px;
	padding-top: 8px;
}

h3 {
	color:#333333;
	font-weight:bold;
	font-size:18px;
	background: url(img/cont_3.jpg) no-repeat;
	height: 60px;
	line-height: 60px;
	text-indent: 40px;
	width: 753px;
	margin-left: 3px;
	clear: both;
}

h4 {
	color:#333333;
	font-weight: bold;
	font-size: 18px;
	background: url(img/cont_4.jpg) no-repeat;
	height: 60px;
	line-height: 60px;
	text-indent: 278px;
	width: 753px;
	margin-left: 3px;
}

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

}

/*ボックス指定*/

.box1 {
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 30px;
	margin-left: 10px;
	width: 730px;
	float: left;

}

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

.box2{
	width: 730px;
	color:#000;
	font-size:14px;
	font-weight:normal;
	padding-bottom: 40px;
	margin-top: 10px;
	margin-bottom: 0px;
	padding-right: 10px;
	padding-left: 15px;

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

/*ボタン指定*/

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

/*フッター指定*/

#frontfooter {
	width: 650px;
	color: #999999;
	margin-bottom: 20px;
	margin-left: 60px;
}

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

#footer {
	height: 60px;
	font-size: 10px;
	line-height: 14px;
	background-image: url(img/foot.jpg);
	background-repeat: no-repeat;
}

#footer .page {
	margin-left: 23px;
	padding-bottom: 0px;
	font-size: 10px;
}

#footer .copy_r {
	font-size: 9px;
	color: #333333;
	text-align: center;
}

#footer p {
	text-align: left;
}


/*Clearfixなど*/


.clear{
	clear:both;
}

}


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

img {
	width: 280px;
}

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

/*文字列右寄せ*/

.link_r {
	display: none;
}

.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;
  }

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

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

#body_line {
	background: none;
}

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

#header {
	background: #cecece;
}

/*バナー変更部分*/
#banner {
	background: url(img/banner.jpg) no-repeat;
	background-size: contain;
	background-position: center 30px;
	height: 178px;
	width: auto;
}

.bannar-line {
	background: url(img/line.jpg) no-repeat;
	text-indent: -9999em;
}

#content {
	text-align: left;
	padding: 10px;
	width: auto;
}

.main_t {
	display: none;
}

.main_bg {
	background: none;
}

.main_b {
	display: none;
}


/*画像指定*/

.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 {
	display: none;
}

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



/*文字指定*/

h1 {
	font-size: 12px;
	color:#333;
	padding: 0 8px;
	line-height: 30px;
}

h2 {
	color:#333333;
	font-weight:bold;
	font-size:18px;
	text-indent: 10px;
	padding: 0 5px 5px;
}

h3 {
	border-bottom: solid 3px #999999;
	color:#333333;
	font-weight:bold;
	font-size:18px;
	width: 100%;
	padding: 0 5px 5px;
	clear: both;
}

h4 {
	color:#333333;
	font-weight: bold;
	font-size: 18px;
	width: 100%;
	margin-left: 3px;
}

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

/*ボックス指定*/

.box1 {
	margin: 0px;
}

.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;
}

/*ボタン指定*/

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

/*フッター指定*/

#frontfooter {
	width: 100%;
	color: #999999;
}

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

#footer {
	background: #e5d9c9;
	padding: 10px;
}

#footer .page {
	font-size: 10px;
}

#footer .copy_r {
	font-size: 9px;
	color: #333333;
	text-align: center;
}

#footer p {
	text-align: left;
}


/*Clearfixなど*/


.clear{
	clear:both;
}

}

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

#banner {
	background-size: contain;
	background-position: center 20px;
	height: 94px;
	width: auto;
}

h1 {
	line-height: 20px;
}

}