@charset "utf-8";

*{margin:0;padding:0;}

body{
font: 14px/1.4 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#252525;
background: #ffffff url(images/bg.png) repeat-x top;
}

body#toppage {
background: url(images/bg_top.png) repeat-x top;
}

a{color:#717171;text-decoration:none;}
a:hover{color:#9e9e9e;}
a:active, a:focus {outline: 0;}
img{border:0;}
.clear{clear:both;}

.center{text-align: center;}


/*************
全体
*************/
#wrapper{
margin: 0 auto;
padding: 0 20px;
width: 910px;
}


/*******************
リンク全体設定
*******************/
/*リンクを親要素いっぱいに広げる*/
#spnavi li a,.link li a,#spfooter li a{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*マウスオーバー時の挙動*/
#spnavi li:hover,.link li:hover,#spfooter li:hover{
	filter:alpha(opacity=70);/* IE 6,7*/
    -ms-filter: "alpha(opacity=70)";/* IE 8,9 */
    -moz-opacity:0.7;/* FF , Netscape */
    -khtml-opacity: 0.7;/* Safari 1.x */
    opacity:0.7;
    zoom:1;/*IE*/
}


/*************
/* PCでは非表示
*************/
#spnavi,.sp,#spfooter{display: none;}


/*************
/* ヘッダー
*************/
#header{
/*background: url(images/header.png) no-repeat 100% ;*/
height: 80px;
margin:10px 0;
}

#header h1 {
font-size: 12px;
font-weight: normal;
}

/*20190926 add*/
.header1{max-width: 410px;}
.header1 img{
  max-width: 400px;
  width: 100%;
}
.header2{
  max-width: 320px;
  float: right;
}
.header1,.header2{display: inline-block;}
/*20190926 add*/


/*************
/* トップナビゲーション
*************/
ul#topnav{
margin: 0 0 15px 0;
width: 910px;
height: 46px;
background:url(images/topnav.png) no-repeat 0 0;
  
clear: both;
}

ul#topnav li{float:left;list-style:none;width:130px;}

ul#topnav a{
text-indent: -9999px;
text-decoration: none;
display: block;
width: 130px;
height: 46px;
background:url(images/topnav.png) no-repeat;
}

ul#topnav a#home{background-position:0 0;}
ul#topnav a#greeting{background-position:-130px 0;}
ul#topnav a#guide{background-position:-260px 0;}
ul#topnav a#price{background-position:-390px 0;}
ul#topnav a#flow{background-position:-520px 0;}
ul#topnav a#need{background-position:-650px 0;}
ul#topnav a#contact{background-position:-780px 0;}

ul#topnav a#home:hover, ul#topnav li.active a#home{background-position:0 -46px;}
ul#topnav a#greeting:hover, ul#topnav li.active a#greeting{background-position:-130px -46px;}
ul#topnav a#guide:hover, ul#topnav li.active a#guide{background-position:-260px -46px;}
ul#topnav a#price:hover, ul#topnav li.active a#price{background-position:-390px -46px;}
ul#topnav a#flow:hover, ul#topnav li.active a#flow{background-position:-520px -46px;}
ul#topnav a#need:hover, ul#topnav li.active a#need{background-position:-650px -46px;}
ul#topnav a#contact:hover, ul#topnav li.active a#contact{background-position:-780px -46px;}

li.active a#home{background-position:0 -42px;}
li.active a#guide{background-position:-213px -42px;}
li.active a#faq{background-position:-429px -42px;}
li.active a#mp{background-position:-573px -42px;}


/*************
メイン（右側）コンテンツ
*************/
#main {
float: right;
width: 618px;
padding: 15px 0 30px 0;
display: inline;
}

#main .bannerM img{
padding-right: 10px;
padding-bottom: 15px;
}
#main .bannerM img.last{padding-right:0;}

#main h2{
    background: url("images/h2_title.jpg") no-repeat scroll 0 0 transparent;
    color: #000000;
    font-size: 153.9%;
    height: 80px;
    line-height: 80px;
    margin: 0 0 20px;
    text-indent: 25px;
}
#main h3 {
    background: url("images/h3_title.jpg") no-repeat scroll 0 0 #ffffff;
    font-size: 18px;
    font-weight: 800;
    clear: both;
    color: #ffffff;
    margin-bottom: 10px;
	height:30px;
	padding:8px 0 6px 40px;
	}
#main h4 {
    color:#1F3C7F;
    font-weight: 800;
    margin-bottom: 1em;
	}
#main p {
letter-spacing: -0.04em;
    line-height: 23px;
font-size: 110%;
	}

/* 画像を右に回りこみ */
#main p.withImage{
width: 608px;
margin: 10px 0 0 10px;
padding: 5px 0;
}

#main p.withImage img{
float: right;
margin-left: .5em;
max-width: 380px;/*20190927 add*/
}

#date {
text-align: right;
padding-right: 15px;
padding-top: 15px;
padding-bottom: 10px;
font-weight:bold;
color:#000000;
}

#next {
text-align: center;
padding-top: 30px;
padding-bottom: 30px;
}


.blue_b{
    color: #234285;
font-weight:900;
}

/* フッター共通 */
.box{
/*float: left;*/
width: 195px;
margin: 5px 16px 10px 0;
line-height: 1.2;
  
/*20191002 add*/
display: inline-block;
text-align: left;
vertical-align: top;
/*20191002 add*/
}

.box_img{
padding: 0px 0px 10px 0px;
}

.last{margin-right:0;}


/* ボタン */
p.button{
text-align: center;
padding: 10px 0;
}

p.button a{
display:block;
line-height: 32px;
background: #ffffff url(images/button.png) no-repeat;
margin: 0 -20px;
}

p.button a{color:#000000;}
p.button a:hover{color:#ffffff;}

p.button a:hover{
cursor:pointer;
background-position: 0 -32px;
}

/* メインとフッターのリスト位置調節 */
#main ul, #footer ul{margin-left: 20px;}
#main li, #footer li{margin-bottom: 3px;}


/*20191001 add*/
.mainImg{
  max-width: 910px;
  width: 100%;
}

.withBox{text-align: left;}
.with{
  display: inline-block;
  width: 50%;
  text-align: left;
  vertical-align: top;
}

.imgWidth{
  max-width: 618px;
  width: 100%;
}

.rss{
  max-width: 618px;
  width: 100%;
}

/*トップページ　みりおん・いきいきリンク*/
.link{
  margin: 0 0 30px 0;
  padding: 0;
  list-style: none;
}
.link li{
  display: inline-block;
  position: relative;
  background: #1c397c;
  color: #fff;
  font-weight: bold;
  width: 40%;
  padding: 15px 3%;
  vertical-align: top;
}
/*20191001 add*/


/*************
サイド（左側）コンテンツ
*************/
#sidebar {
float: left;
width: 265px;
padding: 15px 0;
}

#sidebar p{margin-bottom: 10px;}

#sidebar h3 {
margin-top: 5px;
padding: 0 10px 0 23px;
line-height: 40px;
font-size: 13px;
font-weight: normal;
color: #252525;
background: url(images/heading2.png) no-repeat;
}

#sidebar ul{
margin-left: 5px;
padding: 10px 0;
}

#sidebar li{
margin: 0 10px 10px 5px;
list-style: none;
border-bottom: 1px solid #efefef;
}

#sidebar li a{
background: url(images/list.png) no-repeat 0 50%;
display: block;
padding-left:15px;
}

#sidebar li a:hover{background-position: 3px 50%;}




/*************
/* フッター
*************/
#footer{
clear:both;
padding: 10px 0 10px;
background:url(images/footer-bg.png)  repeat-x top;
}

#footer .inner{
overflow: hidden;
margin:0 auto;
width:910px;
}

* html #footer .inner{height:1%;}

#footer #logo{
float:left;
padding: 10px 0 5px;
width: 292px;
}

address{
padding: 20px 0 3px;
text-align: center;
font-style:normal;
font-size: 12px;
clear:both;
display:block;
}

/*20190926 add*/
/*-----------------------------*/
/*タブレット 900px未満　600px以上 */
/*-----------------------------*/
@media (max-width: 899px){
  body#toppage {background: none;}/*背景消す*/
  
  #wrapper{
    padding: 0;
    width:100%;
  }
  
  #header{
    height: auto;/*height指定サイズ打消し*/
    text-align: center;
  }
  .header1{text-align: left;}
  .header2{float: none;}/*右寄せ打消し*/
  
  /*トップナビゲーション、フッター*/
  #topnav,#footer{display: none;}/*PC以外では非表示*/
  #spnavi,#spfooter{display: block;}/*タブレット以下で表示*/
  
  #spnavi li,#spfooter li{
    display: inline-block;
		position: relative;
    width: 50%;
    background: #1c397c;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 15px 0;
  }

  /*メイン*/
  #main{
    float: none;
    display: block;
    max-width: 618px;
    width: 100%;
    margin: 0 auto;
    padding: 0;/*padding打ち消し*/
  }
  
  #main p.withImage{
    width: 90%;
    margin: 0;
    padding: 5px 5%;
  }

  #main p.withImage img{
    margin-left: 5%;
    width: 45%;
  }
  
  .withBox{text-align: center;}
  .with{
    text-align: left;
    width: 45%;
  }
  
  .photo,.rss{padding: 0 5%;}/*左右の余白*/

  .text{
    width: 90%;
    margin: 0 auto;
  }
  
  .last{margin-right:10px;}
  
  /*サイドバー*/
  #sidebar{
    float: none;/*float打消し*/
    margin: auto;
  }  
}

/*-----------------------------*/
/*スマホ 600px未満           */
/*-----------------------------*/
@media (max-width: 599px){
  #main p.withImage img{
    float: none;/*float打消し*/
    margin: 0;
    width: 100%;
  }
  
  .with{width: 90%;}
  
  #main h2{
    display: block;
    background: #D3DFF5;
    height: auto;
    border-left: 8px solid #799AEB;
    text-indent: 0px;
    line-height: normal;
    padding: 5px;
  }
  
  #main h3{
    display: block;
    background: #1c397c;
    height: auto;
    padding-left: 5px;
  }
  
  .pc{display: none;}/*スマホでのみ非表示*/
  .sp{display: block;}/*スマホでのみ表示*/
  
  .pointBox{margin-top: 10px;}
  .pointImg,.pointTxt{
    display: inline-block;
    vertical-align: top;
    margin: 0 0 20px 10px;
  }
  .pointImg{width: 152px;}
  .pointTxt{width: 290px;}
}