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

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

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

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

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

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

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

h3 {
	border-bottom: solid 1px #0F4585;
	color:#333333;
	font-weight:bold;
	font-size:18px;
	padding: 0px 3px 0px 6px;
	border-left: 6px solid #0F4585;
	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 #0F4585;
	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 box */
.cta-box {
  margin: 18px 15px 22px;
  padding: 16px 14px;
  text-align: center;
  background: #f3f7fb;
  border: 1px solid #cbd8e6;
  border-radius: 6px;
}
.cta-box p {
  background-image: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  line-height: 1.7 !important;
}
.cta-lead {
  color: #333;
  font-size: 15px;
}
.cta-button {
  display: inline-block;
  max-width: 100%;
  padding: 12px 24px;
  color: #fff !important;
  background: #0F4585;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 0 #092a51;
}
.cta-button:hover {
  background: #123f73;
}
.affiliate-banner img {
  width: 300px;
  max-width: 100%;
  height: auto;
  margin-top: 8px;
}
@media screen and (max-width: 640px){
  .cta-box {
    margin: 14px 5px 18px;
    padding: 14px 10px;
  }
  .cta-button {
    display: block;
    padding: 12px 10px;
  }
}


/* Ad notice */
.ad-notice {
  margin: 0 0 12px !important;
  padding: 8px 10px !important;
  background: #f7f7f7 !important;
  border-left: 4px solid #0F4585;
  color: #555;
  font-size: 13px;
  line-height: 1.6 !important;
}


/* ===== mobile readability, footer links & fixed CTA enhanced ===== */
.footer_links {
  padding: 10px 18px;
  background: #EBF2FA;
  text-align: center !important;
  font-size: 12px;
  line-height: 1.8;
}
.footer_links a {
  color: #0F4585;
  text-decoration: none;
  margin: 0 4px;
}
.footer_links a:hover { text-decoration: underline; }
.sp_fixed_cta { display: none; }
@media screen and (max-width: 768px){
  body {
    font-size: 17px !important;
    line-height: 1.9 !important;
    padding-bottom: 86px !important;
    background: #fff !important;
    -webkit-text-size-adjust: 100% !important;
  }
  #wrapper, #content, .main, .box1, .box2 {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #content {
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-top: 10px !important;
  }
  .box1, .box2 {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
  .box1 p, .box2 p, #frontfooter p {
    font-size: 17px !important;
    line-height: 1.95 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  h1 {
    font-size: 16px !important;
    line-height: 1.5 !important;
    padding: 8px 10px !important;
  }
  h2 {
    font-size: 21px !important;
    line-height: 1.45 !important;
    padding: 10px 12px !important;
  }
  h3, h4 {
    font-size: 19px !important;
    line-height: 1.5 !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }
  .cta-box {
    margin: 16px 5px 22px !important;
    padding: 16px 10px !important;
  }
  .cta-lead {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }
  .cta-button {
    display: block !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
    padding: 14px 14px !important;
    max-width: 94% !important;
    margin: 0 auto !important;
    border-radius: 999px !important;
  }
  .affiliate-banner img {
    width: 300px !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .sp_fixed_cta {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    background: rgba(243, 247, 251, .98) !important;
    box-shadow: 0 -3px 12px rgba(0,0,0,.18) !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    text-align: center !important;
  }
  .sp_fixed_cta a {
    display: block !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 14px 16px !important;
    color: #fff !important;
    background: linear-gradient(180deg,#0F4585,#092a51) !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    box-shadow: 0 3px 8px rgba(9,42,81,.24) !important;
  }
  .footer_links {
    font-size: 12px !important;
    line-height: 1.9 !important;
    padding: 10px 12px !important;
  }
}
@media screen and (min-width: 769px){
  .sp_fixed_cta { display: none !important; }
}
