@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline;}
:focus{outline:0;}

ol, ul{list-style:none;}
table{border-collapse:separate;border-spacing:0;}
caption, th, td{font-weight:normal;text-align:left;}
blockquote:before, blockquote:after,q:before, q:after{content:"";}
blockquote, q{quotes:"" "";}
a img{border:0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display:block;}
/* -------------------------------------------------------------- */

body{
    color: #555;
    font-size: 13px;
    font-family: verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    background: #83b41d;
    margin-top: 0px;	

}

/* リンク設定
------------------------------------------------------------*/
a{color:#6caefe;text-decoration:none;}
a:hover{color:#488fdd;}
a:active, a:focus {outline:0;}

/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:100%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}
.map{
    font-size: 12pt;
}
/*************
/* ヘッダー
*************/
.he{
    width: 100%;
    position: fixed;
    background-color: #FFF;
    background-image: url(images/bg.png);
    display: inline-block;
    z-index: 10000;
    padding-top: 0px;
}
#header{
    height: 150px;
}

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

/*************
/* ロゴ
*************/
.logo{
    float: left;
}

.logo p{float:left;}

.logo span{display:block;}

/*************
/* 電話番号
*************/
.info{
    float: right;
    padding-right: 20px;
    text-align: right;
}

.info .open{
    font-size: 16px;
    line-height: normal;
}

/*************
/* ロゴ+電話番号
*************/
.logo,.info .tel{
    font-size: 16pt;
}

.logo span,.info span{
    font-size: 12pt;
}

/* コメントアウト */
/* .info .open{
    margin-top: -15px;	
} */
/* コメントアウトここまで */

/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainImg{
	width: 100%;
    padding-top: 195px;
}

#mainImg img{
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0%;
    float: left;
    position: static;
    height: 75%;
}

#mainBanner{
    clear:both;
    margin:25px auto 40px;
    padding:0;
    position:relative;
    text-align:center;
}

#mainBanner .inner{
    position:relative;
}

#mainBanner img{
    max-width:100%;
    height:auto;
}

.slogan{
    color: #1A5E06;
    font-weight: bold;
    position: absolute;
    max-width: 100%;
    height: auto;
    bottom: 80%;
    left: 40px;
    padding: 5px 10px;
    line-height: 1.4;
    text-align: left;
    margin-top: 0px;
    font-size: 16pt;
}

.slogan h2{
    padding-bottom: 5px;
    font-size: 40px;
    color: #46C444;
    left: auto;
}

/**************************
/* グリッド
**************************/
.gridWrapper{
    clear:both;
    padding-bottom:20px;
    overflow:hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
    overflow:hidden;
}

.box{
    padding:10px;
	display: inline-block;
}

.box img{
    max-width:100%;
    height:auto;
}

.box h3{
    font-size:16px;
    padding:10px 0 15px;
}

.box h3, .box p{
    text-align:left;
}

.box p.readmore{
    padding:10px 5px 5px;
    text-align:right;
}

.box p.readmore a{
    padding:3px 7px;
    border-radius:3px;
}

/*************
メイン コンテンツ
*************/
#container{
    background-color: #FFFFFF;
    width: 80%;
    margin-left: auto;
    margin-right: auto;	
}

/* コメントアウト */
/* #section01,#section02,#section021,#section022,#section023,#section024,#section03,#section031,#section032,#section04,#section05 {
	padding-top: 240px;
    margin-top:-240px;
} */
/* コメントアウト ここまで */

section.content article{
    padding:30px 0 20px 0;
    margin-bottom:10px;
    overflow:hidden;
}

section.toppage article,section.content .archive{border:0;}

.midasi{
    padding-top: 10px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.midasi p{
    margin-top: 15px;
    color: #393939;
    font-size: 16pt;
    margin-left: 15px;
	border-bottom: dotted;/*下線を点線にする*/
    border-color: #91de82;
	border-width: 5px;
    padding-bottom: 15px;
}
.midasi2{
    padding-top: 10px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.midasi3 img{
    padding-top: 10px;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.midasi3 p{
	margin-top: 15px;
    color: #393939;
    font-size: 12pt;
}

.midasi2 p{
    margin-top: 15px;
    color: #393939;
    font-size: 16pt;
}

.flex{
  max-width: 90%;
  margin: 0 auto;	
}

#syatyou img{
    /* [disabled]max-width: 100%; */
    display: block;
    margin: 0 auto;
    min-width: 50%;
}

.item{
    max-width: 70%;
}
.item2{
    max-width: 70%;
    color: #333333;
    font-size: 16pt;
    text-indent: 15px;
    line-height: 1.8em;
    margin-left: 50px;
}
@media screen and (min-width:600px) {
  .flex{
    display:flex;
    flex-wrap:nowrap;
    justify-content:space-between;	  
  }
	
  .item+.item{
    margin-left:1.0em;
    font-size: 16pt;
  }
}

.saiyou p {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 60px auto 40px;    
}

.saiyou2 p {
    font-size: 16pt;
}
.saiyou3 p {
    font-size: 16pt;
    line-height: 0pt;
}

/* 追加 */
.form-btn {
    text-align: center;
}
/* ここまで */

.toi p{
    padding-top: 60px;
}

hr{
    border-width: 0 0 8px;
    border-style: solid;
    border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 1"><circle fill="hsla(90, 50%, 65%, 1.0)" cx="1" cy="0.5" r="0.5"/></svg>') 0 0 100% repeat;
    width: 95%;
}

table{
    border-collapse: collapse;
	table-layout: fixed;
    width: 95%;
    margin-top: 30px;
}

.tb01 th,
.tb01 td{
    padding: 10px;
    border: solid 1px #ccc;
    text-align: left;
    box-sizing: border-box;	
}

.tb01 td{
    width: 75%;
}

.tb01 th {
    background-color: #DDEFB9;
    color: #333;
    font-size: 16pt;
    display: table-cell;
    vertical-align: middle;
    width: 25%;
}

.tb02 table{
    border-collapse: collapse;
    width: 100%;
    margin-top: 30px;
}

.tb02 th,
.tb02 td{
    padding: 10px;
    border: solid 1px #ccc;
    text-align: left;
    box-sizing: border-box;	
}

.tb02 td{
    width: 75%;
}

.tb02 th {
    background-color: #DDEFB9;
    color: #333;
    font-size: 16pt;
    display: table-cell;
    vertical-align: middle;
    width: 25%;
}

.tb03 table{
    border-collapse: collapse;
    width: 95%;
    margin-top: 30px;
}

.tb03 th,
.tb03 td{
    padding: 10px;
    text-align: left;
    box-sizing: border-box;    
}

.tb03 th {
    font-size: 16pt;
	display: table-cell;
    vertical-align: top;
	width: 35%;
	line-height: 2em;
}

.tb03 td{
    width: 65%;
}

.td03 img{
    width: 100%;
}

#section05{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 640px) {
  .tb01 {
    width: 100%;
  }

  table.tb01 th,
  table.tb01 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }

  .tb01 tr:last-child{
    border-bottom: solid 1px #ccc;
  }

  .tb02 {
    width: 100%;
  }

  table.tb02 th,
  table.tb02 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }

  .tb02 tr:last-child{
    border-bottom: solid 1px #ccc;
  }

  table .tb03{  
    margin-left: auto;
    margin-right: auto;
  }

  table.tb03 th,
  table.tb03 td {
    display: block;
    width: 100%;
    border-bottom: none;  
  }
  .tb03 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
	
}
/* アーカイブページ */

h3.heading{
    font-size:24px;
    font-weight:normal;
    padding:15px 0;
    margin-bottom:5px;
    border-top:2px solid #ebebeb;
    border-bottom:2px solid #ebebeb;
}

h3.midasi{
    font-size:18px;
    font-weight:normal;
    padding:15px 0;
    margin-bottom:5px;
    border-top:2px solid #ebebeb;
    border-bottom:2px solid #ebebeb;
}

section.content img{
    max-width:100%;
    height:auto;
}

#copyright{
    clear:both;
    padding:20px 0 10px 0;
    text-align:center;
    font-style:normal;
    font-size:10px;
    color:#555;
}

/* PC用
------------------------------------------------------------*/
@media only screen and (min-width:960px){

	#container{
        background-color: #FFFFFF;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

	nav div.panel{
        display:block !important;
        float:left;
	}

	a#menu{
        display:none;
    }
	
    #mainNav{
        clear:both;
        z-index:200;
        position:relative;
        margin-bottom: 15px;
	}

	#mainNav li{
        float:left;
        position:relative;
	}

	#mainNav li a{
        color: #555;
        display: block;
        text-align: center;
        /* コメントアウト */
        /* _float: left; */
        /* コメントアウトここまで */
        font-size: 13px;
        width: 160px;
        height: 30px;
        padding: 15px 0;
        background-color: #FFFFFF;
	}

	#mainNav li a span,#mainNav li a strong{
        display:block;
    }

	#mainNav li a span{
        color:#bababa;
        font-size:10px;
	}
	
	#mainNav ul ul{
        width:160px;
        background:#fff;
    }

	#mainNav li ul{
        display:none;
    }

	#mainNav li:hover ul{
        display: block;
        position: absolute;
        top: 60px;
        z-index: 500;
	}
	
	#mainNav li li{
        margin:0;
        float:none;
        width:160px;
        border:0;
	}

    #mainNav li li:last-child{
        border:0;
    }
	
	#mainNav li li a{
        width:auto;
        height:auto;
        padding:10px;
        font-size:95%;
        text-align:left;
        border:0;
	}

	#mainNav li li span{
        padding:0 10px;
    }
	
	#mainNav li.current-menu-item a{
        border-color:#555;
	}

	#mainNav  a,#mainNav li a:hover,#mainNav li.current-menu-item li a:hover{
        background-color: #e9e9e9;
        opacity: 80;	    
	}

	#header,#wrapper,.inner{
        width:960px;
        padding:0;
        margin:0 auto;
	}
	
	#wrapper{
        clear:both;
        padding:20px 0;
    }
	
	#main{
        float: right;
        width: 100%;
        padding: 15px 0 0 0;
        margin-right: auto;
        margin-left: auto;
	}
	
	#sidebar{
        float:left;
        width:250px;
        padding:15px 0;
        overflow:hidden;
	}
	
	#sidebar article{
        margin-bottom:20px;
        overflow:hidden;
	}
	
	.logo{
        width:500px;
	}
	
	/* グリッド全体 */
	.gridWrapper{
        display:table;
        border-collapse:separate;
        border-spacing:0px;
	}
	
	/* グリッド */
	.grid{
        width: 33.3%;
        display:table-cell;
	}
}


@media only screen and (max-width:959px){
    .he{
        width: 100%;
        position: fixed;
        background-color: #FFF;
        background-image: url(images/bgs.png);
        display: inline-block;
        z-index: 10000;
        padding-top: 0px;
    }

	#container{
        background-color: #FFFFFF;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

	*{
    -webkit-box-sizing:border-box;
       -moz-box-sizing:border-box;
         -o-box-sizing:border-box;
        -ms-box-sizing:border-box;
            box-sizing:border-box;
	}
	
	#mainNav{
        clear:both;
        width:100%;
        margin:0 auto;
        padding:0;
        border:1px solid #e4e4e4;
        border-left:0;
        border-right:0;
	}

	#mainNav a.menu{
        color:#555;
        width:100%;
        display:block;
        height:40px;
        line-height:40px;
        font-weight: bold;
        text-align:left;
	}

	#mainNav a#menu span{
        padding-left:10px;
	}

	#mainNav a.menu span:before{
        content:"≡ ";
    }

	#mainNav a.menuOpen span:before{
        content:"× ";
    }

	#mainNav a#menu:hover{
        cursor:pointer;
    }

	nav .panel{
        display:none;
        width:100%;
        position:relative;
        right:0;
        top:0;
        z-index:1;
	}
	
	#mainNav ul{
        margin:0;
        padding:0;
    }

    #mainNav li{
        float:none;
        clear:both;
        width:100%;
        height:auto;
        line-height:1.2;
        background-color: #FFFFFF;
	}

	#mainNav li a,#mainNav li.current-menu-item li a{
        color:#555;
        display: block;
        padding:15px 10px;
        text-align:left;
        border-bottom:1px dashed #ccc;
	}
	
 	#mainNav li a span{
        padding-left:10px;
    }
	
	#mainNav ul > li:last-child a{
        border:0;
    }

	#mainNav li li:last-child a{
        border-bottom:1px dashed #ccc;
    }
 
	#mainNav li.current-menu-item a,#mainNav li a:hover,#mainNav li.current-menu-item a,#mainNav li a:active, #mainNav li li.current-menu-item a, #mainNav li.current-menu-item li a:hover, #mainNav li.current-menu-item li a:active{
        color:#555;
	}

	#mainNav li li{
        float:left;
        border:0;
	}

	#mainNav li li a, #mainNav li.current-menu-item li a, #mainNav li li.current-menu-item a{
        padding-left:40px;
        background:url(images/sub1.png) no-repeat 20px 18px;
	}

	#mainNav li li.current-menu-item a,#mainNav li li a:hover, #mainNav li.current-menu-item li a:hover{
        background:url(images/sub1.png) no-repeat 20px -62px;
    }

	#mainNav li li:last-child a{
        background:url(images/subLast.png) no-repeat 20px 20px;
    }

	#mainNav li li:last-child.current-menu-item a,#mainNav li li:last-child a:hover,#mainNav li.current-menu-item li:last-child a:hover{
        background:url(images/subLast.png) no-repeat 20px -65px;
    }

	nav div.panel{
        float:none;
    }
	
	#header{
        padding-left:10px;
    }
	
	#main{
        padding-top:15px;
    }

	section.toppage{
        margin:0;
    }

	#sidebar{
        padding-bottom:15px;
    }

	#sidebar article{
        padding:7px 8px;
    }

	#footer .grid,#footer ul.footnav{
        float:none;
        width:100%;
        text-align:center;
    }

	ul.footnav li{
        float:none;
        display:inline-block;
    }
	
	.grid{
        float:left;
        width:32%;
        margin:10px 0 0 1%;
	}

	iframe{
        width: 100%;
	}
}

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

	#container{
        background-color: #FFFFFF;
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }
	#header{
        height:auto;
        padding-bottom:20px;
    }
	
	#header h1,.logo,.info{
        text-align:center;
    }
	
	.logo,.info{
        clear:both;
        width:100%;
        float:none;
    }

    /* 追加 */
    .info {
        padding-top: 36px;
    }

    #mainNav {
        background-color: #ffffff;
    }
    /* ここまで */
	
	.logo p{
        float:none;
        display:block;
    }
	.logo img{
        float:none;
        padding:0;
    }

    /* 追加 */
    #mainImg {
        padding-top: 295px;
    }
	
    .flex .item {
        max-width: 100%;
    }

    .flex .item:nth-child(1) {
        text-align: center;
    }

    .grid{
        width:100%;
        margin:10px 0;
        text-align: center;
    }
    /* ここまで */

	.box img{
        float:left;
	}
	
	.box h3{
        padding-top:0;
    }

    /* 追加 */
    .box04 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tb03 tr th {
        text-align: center;
    }
    /* ここまで */
    
    .alignleft,.alignright,img.alignleft,img.alignright{
        float:none;
        display:block;
        margin:0 auto 10px;
    }

    iframe{
        width: 100%;
    }
    
    p.saiyou2{
        font-size: 14pt;
        line-height: 1em;
    }
}

/* iframe{
    width: 100%;
}

p.saiyou2{
    font-size: 14pt;
    line-height: 1em;
} */
/* } */

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

    /* 追加 */
    #header {
        height: auto;
        padding-bottom: 6px;
    }

    #mainNav li a {
        padding: 11px 10px;
    }

    #mainNav li li a, #mainNav li.current-menu-item li a, #mainNav li li.current-menu-item a{
        padding-left:40px;
        background:url(images/sub1.png) no-repeat 20px 15px;
	}

	#mainNav li li.current-menu-item a,#mainNav li li a:hover, #mainNav li.current-menu-item li a:hover{
        background:url(images/sub1.png) no-repeat 20px -65px;
    }

	#mainNav li li:last-child a{
        background:url(images/subLast.png) no-repeat 20px 15px;
    }

	#mainNav li li:last-child.current-menu-item a,#mainNav li li:last-child a:hover,#mainNav li.current-menu-item li:last-child a:hover{
        background:url(images/subLast.png) no-repeat 20px -68px;
    }
    /* ここまで */

    /* 追加 */
    .logo img {
        width: 90%;
    }
    /* ここまで */

    #container{
        background-color: #FFFFFF;
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }

	.grid{
        width:100%;
        margin:10px 0;
    }

	.box img{
        max-width: 100px;
        margin-left: auto;
        margin-right: auto;
    }

	#mainBanner h2,#mainBanner p{
        font-size:80%;
    }

	iframe{
        width: 100%;
	}

	p.saiyou2{
        font-size: 12pt;
        line-height: 1em;
	}

    /* 追加 */
    .saiyou textarea {
        width: 100%;
    }
    /* ここまで */
}

p.saiyou2{
	vertical-align: top;
    font-size: 12pt;
    line-height: 1.5em;
	}
.thx{
    padding-top: 300px;
    color: #2B2B2B;
    font-size: 16pt;
    padding-left: 30px;
}

img.slider {
  width: 100%;
}

@media only screen and (max-width:374px) {
    .midasi02-img {
        max-width: 100%;
        height: auto;
    }

    #mainNav li a {
        font-size: 14px;
        padding: 7px 10px;
    }

    #mainNav li li a, #mainNav li.current-menu-item li a, #mainNav li li.current-menu-item a{
        padding-left:40px;
        background:url(images/sub1.png) no-repeat 20px 11px;
	}

	#mainNav li li.current-menu-item a,#mainNav li li a:hover, #mainNav li.current-menu-item li a:hover{
        background:url(images/sub1.png) no-repeat 20px -68px;
    }

	#mainNav li li:last-child a{
        background:url(images/subLast.png) no-repeat 20px 11px;
    }

	#mainNav li li:last-child.current-menu-item a,#mainNav li li:last-child a:hover,#mainNav li.current-menu-item li:last-child a:hover{
        background:url(images/subLast.png) no-repeat 20px -68px;
    }
}