*{
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
    background-color: #688e07;
}
body{
    margin: 0;
    padding: 0;
    font-family: 'Kosugi Maru', sans-serif;
    font-size: 1.6rem;
    color: #0f2350;
    line-height: 1.6;
}
img {
	max-width: 100%;
	vertical-align: top;
}
li {
    list-style: none;
}
header {
    text-align: center;
	line-height: 5rem;
}
nav {
    display: none;
	background: #fff;
}
nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
nav a {
	display: block;
	color: #333;
	text-align: center;
	text-decoration: none;
	transition: background .5s ease;
}
nav a:hover {
    position: relative;
    top: 2px;
    opacity: 0.5;
}
#main_visual {
    margin: 10px 0;
    padding: 20px;
	background: #ffff;
	text-align: center;
    line-height: 3rem;
}
main {
	background: #fff;
	padding: 1rem;
}
aside {
    background-color: #fff;
	padding: 1rem;
}
aside a:hover{
    opacity: 0.5;
}
footer {
    color:#fff;
	background: #688e07;
	padding: 1rem;
	text-align: center;
}
.h2{
    color: #000;
    background-color: #fff;
}
h2{
    padding-left: 10px;
    color: #fff;
    background-color: #688e07;
}
/*ハンバーガーメニュー*/
.menu-btn {
    float: right;
    position: relative;
    display: flex;
    height: 80px;
    width: 80px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #688e07;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}
#menu-btn-check {
    display: none;
}
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
/*ハンバーガーメニュー内容*/
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #688e07;
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 40px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 12px 15px 20px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 10px;
    height: 10px;
}
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color:#688e07;
    transition: all 0.5s;/*アニメーション設定*/
}
#menu-btn-check:checked ~ .menu-content {
    left: 0;
    /*メニューを画面内へ*/
}
 /*検索*/
.search-wrap{
    padding: 15px 0;
    text-align: center;
    background-color: #7ca417;
}
.search-text{
    width: 400px;
    height: 40px;
    font-size: 18px;
    color: #688e07;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.search-btn{
    width: 60px;
    padding: 5px;
    font-size: 18px;
    color: #fff;
    background-color: rgba(15, 35, 80, 0.8);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.contents-block{
    border: 2px  solid  ;
    text-align: center;
}
.contents-block:hover{
    opacity: 0.5;
}
a{
    color: #000;
    text-decoration: none;
}
@media screen and (min-width:640px) {
    html{
        background-color: #fff;
    }
	#wrapper {
	    max-width: 960px;
	    margin: auto;
	    display: flex;
	    flex-flow: row wrap;
	}
	header {
	    flex: 1 1 100%;
	}
    nav{
        display: block;
        padding: 15px 0;
        box-shadow:0 10px 5px -5px #6d901a ;
    }
	nav ul {
	    display: flex;
	    flex-flow: row wrap;
	    justify-content: center;
	}
	nav li {
	    flex: 1 1 20%;
	}
    nav li img{
        width: 70%;
    }
	#main_visual {
        margin-top: 20px;
	    flex: 1 1 100%;
	}
	main {
	    flex: 1 1 75%;
	    order: 2;
	}
	aside {
	    flex: 1 1 25%;
	    order: 1;
	}
	footer {
	    flex: 1 1 100%;
	    order: 3;
	}
    .hamburger-menu{
        display: none;
    }
    .search-wrap{
        background-color: #6d901a;
    }
    .search-btn{
        color: #0f2350;
        background-color: #6d901a;
    }
    footer{
        margin: 0 auto;
        width: 98.5vw;
    }
}
