@charset "utf-8";
/* CSS Document */

/***** header *****/
#top-head{
	background-color: rgba(255,255,255, 0.95);
	padding:0;
	height: 105px;
	display:block;
	width:100%;
	position:fixed;
	z-index:999;
	}
#top-head .wrap {
	height: 100%;
    margin: 0 auto;
	padding-right: 0;
    display: flex;
    justify-content: space-between; /* ロゴとナビを左右の両端に綺麗に配置 */
    align-items: center;
    box-sizing: border-box;
}
.logo a{
	display:block;
	width:380px;
	height:48px;
	margin-left: 20px;
	background:url("../../img/logo.png") no-repeat center / contain;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	z-index:2;
  }  
#global-nav ul {
    display: flex;      /* 【変更】floatを廃止し、flexで横並びにします */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
#global-nav ul li a{
	font-size:18px;
	display:block;
	width:150px;
	text-align:center;
	background:url(../../img/navi-line.gif) no-repeat 0 15px;
	letter-spacing:0.15em;
	padding:10px 0;
} 
#global-nav ul li a:hover{
	color:#007f33;
} 
#global-nav ul li a span{
	display:block;
	width:100%;
	margin-top:5px;
	text-align:center;
	font-size:14px;
	color:#007f33;
	letter-spacing:0.3em;
}

#global-nav ul li.cnt {
    position: relative;
    margin: 0; 
	height: 105px;
    width: 180px;
    box-sizing: border-box;
    background-color: #579e49;
    clip-path: polygon(25px 0%, 100% 0%, 100% 100%, 0% 100%);
    transition: background-color 0.3s ease; /* ホバー時のアニメーション */
}

#global-nav ul li.cnt a {
    display: flex; 
	flex-direction: column;
	justify-content: center;
	align-items: center;
    width: 100%;  
    height: 100%;    
    background: none; 
    padding: 0px 0px 0px 15px; 
    box-sizing: border-box;
	
}


#global-nav ul li.cnt a span {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    display: inline-block; 
    margin-top: 2px;  
}

#global-nav ul li.cnt:hover {
    background-color: #3f7b36; 
    opacity: 1;
	
}/* transition */
#top-head,
#top-head h1,
#top-head #global-nav ul li a,
#top-head #global-nav ul li a span{
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
/**********/


/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 0;
    top: 15px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #000;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

.pl{
	display: none;
}
	
@media screen and ( max-width:1050px) {/*　スマホ・タブレット共通　*/
    #top-head{
		height: 56px;
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head,
	#top-head.fixed {
		background: transparent;
		background:#FFF;
		padding:0;
	}
    #mobile-head {
        background: #fff;
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo a,
    #top-head .logo a {
	margin:12px 0 0 20px;
	width:220px;
	height:40px;
	background-size:100%;
	overflow:hidden;
    }
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a{
	font-size:16px;
	padding-top:20px;
	width:155px;
	}
	#top-head.fixed #global-nav ul li a span{
		display:block;
		}
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background:url(../../img/h2-bg.gif);
        width: 100%;
        text-align: center;
        padding: 10px 0 30px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
		display: flex;
		align-items: center;
		flex-direction: column;
    }
    #global-nav ul li {
        float: none;
        position: static;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px 0;
		background: none;
    }

    #nav-toggle {
        display: block;
		margin-right:20px;
    }
	#global-nav ul li.cnt{
	position:static;
  clip-path: none;
  margin: 18px 0; 
  padding: 0;
	width: 50%;
		height: 76px;
        border-radius: 100vh;
	}
	#global-nav ul li a span {
    color: #def8d6;
}
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
	
	#pNavi{
		display:none;
	}
	.pl{
	display:block;
}
}
@media screen and ( max-width:639px) {
#global-nav ul li.cnt a span {
    font-size: 14px;
}
}