@charset "utf-8";

  #nav-box{
	margin: 0px;
	width: 100%;
  }
  #toplogo {
	display: block;
	height: 65px;
	background-image: url(../image/comp1w.png);
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 50;
	margin-right: auto;
	margin-left: auto;
	width: 345px;
  }  

  #toggle1{
	display: block;
	position: fixed;
	width: 100%;
	padding: 0px 0 10px;
	border-bottom: 1px solid #666;
	color: #FFF;
	text-align: center;
	text-decoration: none;
	font-size: 18px;
	background-color: rgba(0,102,0,0.81);
	z-index: 5;/*追加*/
  }
  /*メニュー部分*/
/*.contents {
    display: table;
    width: 100%;
    height: 100vh;
    padding: 0;
    margin: 0;
    background: #f6bc60;
    box-shadow: 0 0 50px 0 rgba(0,0,0,.8);
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
}*/

/* チェックボックスオンの時 */
/*.check:checked ~ .contents {
    -webkit-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    transform: translateX(-300px);
}*/

/* ドロワー */
/* drawer menu */
.h-menu {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    padding: 100px 0;
    background: rgba(0,0,0,0.8);
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: perspective(500px) rotateY(-90deg);
    transform: perspective(500px) rotateY(-90deg);
    opacity: 0;
}

.h-menu li {
    text-align: center;
	
}

.h-menu li a {
	display: block;
	width: 100%;
	text-decoration: none;
	padding-bottom: 15px;
	padding-top: 15px;
	color: #FF6600;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	background: #fff;
	border: 1px solid rgba(215,215,215,0.15);
	/*	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(243,243,243,1) 50%, rgba(237,237,237,1) 51%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
　　filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */	

}

.h-menu li a:hover {
    /*color: #1a1e24;*/
    /*background: #fff;*/
	color: #6F3;
	padding-bottom: 15px;
	padding-top: 15px;
	-webkit-transition: background-color 0.5s ease-in 0.1s;
	-moz-transition: background-color 0.5s ease-in 0.1s;
	-ms-transition: background-color 0.5s ease-in 0.1s;
	-o-transition: background-color 0.5s ease-in 0.1s;
	transition: background-color 0.5s ease-in 0.1s;
	background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 11%, rgba(255,255,255,1) 11%, rgba(255,255,255,1) 16%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 93%, rgba(254,254,254,1) 93%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 11%,rgba(255,255,255,1) 11%,rgba(255,255,255,1) 16%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 93%,rgba(254,254,254,1) 93%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 11%,rgba(255,255,255,1) 11%,rgba(255,255,255,1) 16%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 93%,rgba(254,254,254,1) 93%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */
}
.h-menu ul .home,
.h-menu ul .senshou,
.h-menu ul .contact,
.h-menu ul .farmer,
.h-menu ul .products,
.h-menu ul .shoplist,
.h-menu ul .support,
.h-menu ul .plan,
.h-menu ul .access,
.h-menu ul .company {
	background-color: rgba(215,215,215,0.51);
	letter-spacing: 3px;
}
.h-menu ul .home2,
.h-menu ul .senshou2,
.h-menu ul .contact2,
.h-menu ul .farmer2,
.h-menu ul .products2,
.h-menu ul .shoplist2,
.h-menu ul .support2,
.h-menu ul .plan2,
.h-menu ul .access2,
.h-menu ul .company2 {
	background: rgb(76,76,76); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(102,102,102,1) 25%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(76,76,76,1) 0%,rgba(89,89,89,1) 12%,rgba(102,102,102,1) 25%,rgba(71,71,71,1) 39%,rgba(44,44,44,1) 50%,rgba(0,0,0,1) 51%,rgba(17,17,17,1) 60%,rgba(43,43,43,1) 76%,rgba(28,28,28,1) 91%,rgba(19,19,19,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(76,76,76,1) 0%,rgba(89,89,89,1) 12%,rgba(102,102,102,1) 25%,rgba(71,71,71,1) 39%,rgba(44,44,44,1) 50%,rgba(0,0,0,1) 51%,rgba(17,17,17,1) 60%,rgba(43,43,43,1) 76%,rgba(28,28,28,1) 91%,rgba(19,19,19,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
	color: #66FF33;
	padding-bottom: 15px;
	padding-top: 15px;
}
/* チェックボックスを非表示 */
.check {
    display: none;
}

/* メニューボタン(label) */
.menu-b {
    position: fixed;
    display: block;
    top: 25px;
    right: 20px;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
    z-index: 3;
}
/*三本バー*/
.bar {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 40px;
    height: 3px;
    background: #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
}

.bar.middle {
    top: 12.5px;
    opacity: 1;
}

.bar.bottom {
    top: 25px;
    -webkit-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
    transform-origin: left bottom;
}
/***************************************/
.hmenu-bt {
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    margin: auto;
    color: #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
    display: block;
    visibility: visible;
    opacity: 1;
}

.menu-b:hover .bar {
    background: #0F0;
}

.menu-b:hover .hmenu-bt {
	color: #0F0;
}
/* コンテンツの閉じる。普段は非表示(label)*/
.c-hmenu {
    position: fixed;
    top: 0;
    right: 30%;/*変更*/
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0);
    cursor: url(../image/cross.svg),auto;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    visibility: hidden;
    opacity: 0;
}

/* checked */
.check:checked ~ .h-menu {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    opacity: 1;
    z-index: 2;
}

/*.check:checked ~ .contents {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    transform: translateX(-300px);
}*/
/*×マーク*/
.check:checked ~ .menu-b .hmenu-bt {
    visibility: hidden;
    opacity: 0;
}

.check:checked ~ .menu-b .bar.top {
    width: 56px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.check:checked ~ .menu-b .bar.middle {
    opacity: 0;
}

.check:checked ~ .menu-b .bar.bottom {
    width: 56px;
    top: 40px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.check:checked ~ .c-hmenu {
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
	-webkit-transition-delay: .3s;
	transition-delay: .3s;
	visibility: visible;
	opacity: 1;
	z-index: 3;
	background-color: rgba(51,51,51,0.15);
}
@media only screen and (min-width: 768px) {

/* ドロワー */
/* drawer menu */
.h-menu {
    width: 15%;
    height: 100%;
    padding: 100px 0;
    background: rgba(0,0,0,0.8);
}

/*.h-menu li {
    text-align: center;
}

.h-menu li a {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    color: #fff;
    -webkit-transition: all .8s;
    transition: all .8s;
}

.h-menu li a:hover {
    color: #1a1e24;
    background: #fff;
}*/

/* チェックボックスを非表示 */
.check {
    display: none;
}
  
/* メニューボタン(label) */
.menu-b {
    top: 35px;
    right: 40px;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
    z-index: 3;
}
/*三本バー*/
.bar {
    top: 0;
    left: 0;
    display: block;
    width: 40px;
    height: 3px;
    background: #fff;
}

.bar.middle {
    top: 15px;
    opacity: 1;
}

.bar.bottom {
    top: 30px;
}
/***************************************/
.hmenu-bt {
    bottom: -10px;/*nemu高さ*/
    left: 0;
    right: 0;
    margin: auto;
    color: #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
    display: block;
    visibility: visible;
    opacity: 1;
}
/*.menu-b:hover .bar {
    background: #999;
}

.menu-b:hover .hmenu-bt {
    color: #999;
}*/
/* コンテンツの閉じる。普段は非表示(label)*/
.c-hmenu {
    position: fixed;
    top: 0;
    right: 15%;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0);
}

/* checked */
/*.check:checked ~ .h-menu {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    opacity: 1;
    z-index: 2;
}*/

/*.check:checked ~ .contents {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    transform: translateX(-300px);
}*/
/*×マーク*/
/*.check:checked ~ .menu-b .hmenu-bt {
    visibility: hidden;
    opacity: 0;
}

.check:checked ~ .menu-b .bar.top {
    width: 56px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.check:checked ~ .menu-b .bar.middle {
    opacity: 0;
}

.check:checked ~ .menu-b .bar.bottom {
    width: 56px;
    top: 40px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.check:checked ~ .c-hmenu {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    background: rgba(0,0,0,0.5);
    visibility: visible;
    opacity: 1;
    z-index: 3;
}*/

}
