@charset "utf-8";

*{margin:0;padding:0;}

body{
font: 14px/1.5 "メイリオ","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:#2fa100;text-decoration:none;}
a:hover{color:#5ac516;}
a:active, a:focus {outline: 0;}
img{border:0;}
.clear{clear:both;}


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

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

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

#header .headerFlex {
    display: flex;
}

#header a {
    height: 100%;
    display: block;
}

#header a:nth-child(3) img {
    height: 100%;
    object-fit: fill;
    display: block;
}

#header a:nth-child(n+3) {
    margin: 0 0 0 auto;
}

#header a:last-child {
    margin: 0;
}


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

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

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

ul#topnav a#home{background-position:0 0;}
ul#topnav a#policy{background-position:-113px 0;}
ul#topnav a#sisetu{background-position:-227px 0;}
ul#topnav a#sisetu2{background-position:-340px 0;}
ul#topnav a#blog{background-position:-454px 0;}
ul#topnav a#faq{background-position:-570px 0;}
ul#topnav a#recruit{background-position:-682px 0;}
ul#topnav a#form{background-position:-798px 0;}

ul#topnav a#home:hover, ul#topnav li.active a#home{background-position:0 -46px;}
ul#topnav a#policy:hover, ul#topnav li.active a#policy{background-position:-113px -46px;}
ul#topnav a#sisetu:hover, ul#topnav li.active a#sisetu{background-position:-227px -46px;}
ul#topnav a#sisetu2:hover, ul#topnav li.active a#sisetu2{background-position:-340px -46px;}
ul#topnav a#blog:hover, ul#topnav li.active a#blog{background-position:-454px -46px;}
ul#topnav a#faq:hover, ul#topnav li.active a#faq{background-position:-570px -46px;}
ul#topnav a#recruit:hover, ul#topnav li.active a#recruit{background-position:-682px -46px;}
ul#topnav a#form:hover, ul#topnav li.active a#form{background-position:-798px -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;
display: inline;
}

body#toppage #main{padding: 0 0 15px;}

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

#main h2{
margin-top: 30px;
margin-bottom: 10px;
padding: 0 10px 0 22px;
line-height: 40px;
font-size: 16px;
font-weight: bold;
color: #5ac516;
/*color: #8FA03A;*/

background: url(../images/heading.png) no-repeat;
}

#main h3 {
font-size: 13px;
font-weight: normal;
line-height: 30px;
padding-left: 15px;
margin-top: 10px;
letter-spacing: 0.2em;
color: #5ac516;
border-bottom: 1px solid #cccccc;
background: url(../images/heading3.png) no-repeat 0 50%;
}

#main p {
padding: 10px;
}

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

#main p.withImage img{
float: right;
margin-left: .5em;
}

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

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

/* フッター共通 */
.box{
float: left;
width: 195px;
margin: 20px 16px 10px 0;
line-height: 1.2;
}

.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:#2fa100;}
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;}


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

body#toppage #sidebar{padding: 0 0 15px;}

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

#sidebar h3 {
margin-top: 5px;
padding: 0 10px 0 20px;
line-height: 40px;
font-size: 14px;
font-weight: bold;
color: #5ac516;
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, .sisetsuPDF, .recruitPDF{
background: url(../images/list.png) no-repeat 0 50%;
display: block;
padding-left:16px;
}

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




/*************
/* フッター
*************/
#footer{
clear:both;
padding: 10px 0 10px;
border-top: 1px solid #cccccc;
margin-top:40px;
}

#footer .inner{
overflow: hidden;
}

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

