/* 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:#E4F4FC;
}
#wrapper {
	text-align: left;
	max-width: 800px;
	margin: 0 auto;
	background: #FFF;
	border-left: 2px solid #34B3E9;
	border-right: 2px solid #34B3E9;
}

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

/*バナー変更部分*/
#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 #CCC;
}
.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: #E4F4FC;
}

#footer .copy_r {
	font-size: 9px;
	color: #fff;
	text-align: center;
	background: #39C5F3;
	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: #39C5F3;
	margin-bottom: 15px;
}

h3 {
	color:#333333;
	font-weight:bold;
	font-size:18px;
	line-height: 28px;
	border-bottom: 2px solid #39C5F3;
	border-left: 6px solid #39C5F3;
	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 #39C5F3;
	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;
	border: none;
}

#header {
	border-bottom: 4px solid #39C5F3;
}

/*バナー変更部分*/
#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: #39C5F3;
	text-align: left;
}

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

h3 {
	border-bottom: solid 1px #39C5F3;
	color:#333333;
	font-weight:bold;
	font-size:18px;
	padding: 0px 3px 0px 6px;
	border-left: 6px solid #39C5F3;
	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 #39C5F3;
	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;
}
}


/* CTAボタン */
.cta_box {
	display: block;
	text-align: center;
	margin: 22px auto 28px;
	clear: both;
}
.cta_button {
	display: inline-block;
	background: #ff8a00;
	color: #ffffff !important;
	font-weight: bold;
	text-decoration: none !important;
	padding: 14px 24px;
	border-radius: 8px;
	box-shadow: 0 3px 0 #c96500;
	font-size: 18px;
	line-height: 1.4;
	max-width: 92%;
	box-sizing: border-box;
}
.cta_button:hover {
	opacity: 0.88;
	color: #ffffff !important;
	text-decoration: none !important;
}


/* 記事内画像の中央寄せ */
#content .box1 p img,
#content .box2 p img {
	display: block;
	margin: 22px auto 24px auto;
	max-width: 96%;
	height: auto;
	clear: both;
}

/* ヘッダー画像は中央表示 */
#banner img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}


/* 読みやすさ向上用の強調装飾 */
.emphasis_box {
	display: block;
	background: #f2fbff;
	border: 1px solid #7fd0f0;
	border-left: 6px solid #25a8e0;
	padding: 12px 14px;
	margin: 16px 10px 18px;
	line-height: 1.8;
}
.note_box {
	display: block;
	background: #fffdf2;
	border: 1px solid #f2d36b;
	border-left: 6px solid #f0b400;
	padding: 12px 14px;
	margin: 16px 10px 18px;
	line-height: 1.8;
}
.important_text {
	font-weight: bold;
	background: linear-gradient(transparent 62%, #fff59d 62%);
}
