/*nav*/
.nav_flex{
display: flex;
justify-content:center;
}
.main_nav{
display: flex;
justify-content:center;
width: 100%;
padding: 30px 0 35px;
background: #f9f7e4;
}
.main_nav a{
padding: 10px 15px;
font-size: 140%;
font-weight: bold;
text-align: center;
text-decoration: none;
transition: 0.3s;
line-height: 1.2;
position: relative;
margin: 0 5px;
border-radius: 15px;
color: #ffffff; 
background: #059058;
cursor: pointer;
border: 2px solid #059058;
box-shadow: 2px 2px 3px 2px rgba(110,211,159,0.50), inset 2px 2px 0 rgba(242,255,239,0.99);
display: inline-block;
}
.main_nav a:before{
content: "";
display: inline-block;
width: 30px;
height: 30px;
background-image: url("../img/icon/icon01.jpg");
background-size: contain;
background-repeat: no-repeat;
position: absolute;
left: 0;
top: 0px;
}
.main_nav a:hover{
opacity: 0.7;
}
.main_nav a:hover img{
opacity: 0.7;
 -webkit-transform: scale(1.2);
transform: scale(1.2);
}
.hamburger{
display: none
}
.globalMenuSp{
display: none;
}
@media screen and (max-width: 1200px){
.main_nav a{
font-size: 110%;
}
}
@media screen and (max-width: 900px){

}
@media screen and (max-width: 789px){
	
.nav_flex{
display: flex;
justify-content:center;
}
.main_nav{
display: flex;
justify-content:center;
background: #f9f7e4;
width: 100%;
padding: 8px 0 16px;
flex-wrap: wrap;
}
.main_nav a{
padding: 10px 15px;
font-size: 120%;
font-weight: bold;
line-height: 1.2;
margin: 5px 3px;
}
.drawer-menu{	

}
.nav_flex{

}
/*　ハンバーガーボタン　*/
.hamburger {
display : block;/*　blockにかえす　*/
position: fixed;
z-index : 541;
right : 8px;
top   : 3px;
width : 42px;
height: 42px;
cursor: pointer;
text-align: center;
}
.hamburger span {
display : block;/*　blockにかえす　*/
position: absolute;
width   : 30px;
height  : 3px ;
left    : 6px;
background : #059058;
-webkit-transition: 0.3s ease-in-out;
-moz-transition   : 0.3s ease-in-out;
transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
top: 10px;
}
.hamburger span:nth-child(2) {
top: 20px;
}
.hamburger span:nth-child(3) {
top: 30px;
}
/* ナビ開いてる時のボタン */
.hamburger.active {
-webkit-transition: all 0.3s ease-in-out;
-o-transition     : all 0.3s ease-in-out;
transition        : all 0.3s ease-in-out;
-webkit-transition-delay: 0.6s;
-o-transition-delay     : 0.6s;
transition-delay        : 0.6s;
-webkit-transform: rotate(45deg);
-ms-transform    : rotate(45deg);
-o-transform     : rotate(45deg);
transform        : rotate(45deg);
}
.hamburger.active span:nth-child(2){
width: 0px;
background: #059058;
}
.hamburger.active span:nth-child(1),
.hamburger.active span:nth-child(3){
-webkit-transition-delay: 0.3s;
-o-transition-delay: 0.3s;
transition-delay: 0.3s;
background: #059058;
}
.hamburger.active span:nth-child(1){
-webkit-transform: translateY(4px);
-ms-transform    : translateY(4px);
-o-transform     : translateY(4px);
transform        : translateY(4px);
background: #059058;
}
.hamburger.active span:nth-child(3){
-webkit-transform: translateY(-16px) rotate(90deg);
-ms-transform: translateY(-16px) rotate(90deg);
-o-transform : translateY(-16px) rotate(90deg);
transform    : translateY(-16px) rotate(90deg);
background: #059058;
}
nav.globalMenuSp {
position: fixed;
display: block;
z-index : 540;
top  : 0;
left : 0;
transform: translateX(-100%);
transition: all 0.9s;
width: 100%;
background: hsla(138,58%,55%,0.90);
}	
nav.globalMenuSp .nav_inner p{
color: #ffffff;
font-weight: bold;
}	
nav.globalMenuSp .nav_inner p:before{
content: "▶";
padding-right: 5px;
}	
.flex_nav_sp{
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
nav.globalMenuSp ul {
margin: 0 auto;
padding: 0;
padding:10px 5px;
font-size: 100%;
font-size: bold;
}
nav.globalMenuSp ul li {
list-style-type: none;
padding: 13px 5px 3px;
border-bottom: 1px dashed #FFFFFF;
}
nav.globalMenuSp ul li:last-child {
}
nav.globalMenuSp ul li:hover{
opacity: 0.7;
}
nav.globalMenuSp ul li a {
display: block;
text-decoration :none;
}
.nav_img{width: 40%;margin: 0 auto;}
.nav_img img{width: 100%;}
.nav_logo_img{width: 25%;margin: 0 auto;}
.nav_logo_img img{width: 100%;	}
/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {transform: translateY(0%);}
.top_btn{
display: none;
}
}
@media screen and (max-width: 600px) {
.main_nav a{
padding: 10px 15px;
font-size: 110%;
font-weight: bold;
line-height: 1.2;
margin: 5px 3px;
}
nav.globalMenuSp ul li {
}
}
@media screen and (max-width: 400px) {
.main_nav a{
font-size: 100%;
}
}