@charset "utf-8";
/*
  CSS のみのドロップダウンメニュー
  Copyright Rectus Inc, 2019
  https://www.rectus.co.jp/
  Released under the MIT license
 */
@media screen and (max-width: 940px) {
	#navi {
	  background-color: #062742;
	  position: fixed;
	  top: 0;
	  left: 0;
	  height: 80px;
	  width: 100%;
		border-bottom: 1px solid #707070;
		z-index: 10;
	}
	#navi input {
  display: none;
}
#navi::after {
		content: "";
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
				  }
}
/* チェックボックスを非表示 */
#navi-pc input {
  display: none;
}
/* 上部メニュー */
.menu {
    display: flex;
    list-style: none;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	height: 31px;
}
.menu::after {
	clear: both;
}
.menu-parent {
    /*position: relative;*/
    text-align: center;
    height: 31px;
    margin: 0;
    padding: 0;
    border-right: 1px solid #fff;
    float: left;
    /*width: 188px;*/
	flex: 1;
	box-sizing: border-box;
	white-space: nowrap;
	font-size: 15px;
	/*z-index: 9999;*/
}
.menu-parent:first-child {
			border-left: 1px solid #fff;
		}
/*.menu-parent:last-child {
				border-bottom: 0px;
			}*/
.menu-parent a {
	  display: block;
	  color: #fff;
	  padding: 0 0 15px 0;
	  line-height:31px;
	  text-align: center;
	 	}
/* パソコンでは V を非表示 */
.menu-parent .pd {
  display: none;
}

#menu-navibtn-pc {
  display: none;
}
@media screen and (max-width: 940px) {
  /* スマホの際に V を表示 */
  .menu-parent .pd {
    /*display: inline-block;*/
	display: inline;
	position: absolute;
	top: 10px;
	left: -145px;
    width: 100%;
  }
	#menu-navibtn {
	  display: none;
	  cursor: pointer;
	  cursor: hand;
	}
  .menu {
    display: none;
  }
  .menu-parent {
    height: auto;
    width: 100%;
    padding: 0px;
    border-bottom: 1px solid #707070;
  }
  .menu-parent:first-child {
	border-top: 1px solid #707070;
    border-left: 0;
  }
	.menu-parent a {
		text-align: left;
		line-height: 20px;
		font-size: 14px;
		padding: 11px 60px;
		/*display: inline-block;*/
	}
  .menu-parent i {
    padding: 0px 6px;
  }
  /* メニューを移動させないため */
  #menu-navibtn:checked ~ #navi {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
	  background: #062742;
	
  }
}
/* ドロップダウンメニュー */
.menu-parent {
  position: relative;
}
.menu-parent .menu-child {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  box-sizing: border-box;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	
}
/* パソコン用 */
@media screen and (min-width: 940px) {
  .menu-parent:hover .menu-child {
    visibility: visible;
    opacity: 1;
  }
}
/* 子メニュー */
.menu-child li {
    border-bottom: 1px solid #707070;
	border-left: 0px;
	/*height: 63px;*/
	box-sizing: border-box;
	border-right: 0px;
	/*z-index: 9999;*/
}
.menu-child li a {
	display: block;
	color: #fff;
	background: #004472;
	 opacity: .9;
	position: relative;
	/*transition: .5s;*/
	 line-height: 63px;
	padding-bottom: 0;
	font-size: 14px;
}
.menu-child li:first-child {
	border-left: 0px;
}
/* スマホ用 */
@media screen and (max-width: 940px) {
  /* ハンバーガーメニューがクリックされた時 */
  #menu-navibtn:checked ~ * .menu {
    display: block;
    opacity: 1;
	  /*margin-top: 80px;*/
  }
  #menu-navibtn:checked ~ * .menu-parent {
    max-height: inherit;
    overflow-y: visible;
	/*background: #062742;*/
  }
  #menu-navibtn:checked ~ * .menu-child {
    max-height: 0;
    overflow-y: hidden;
    visibility: hidden;
  }
  /* 子メニュー */
  .menu-parent .menu-child {
    /*border-top: 1px solid #DDD;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
    border-bottom: 1px solid #FFF;*/
    position: relative;
    padding: 0;
    opacity: 1;
    top: 0;
    margin-left: auto;
    left: auto;
    width: auto;
  }
	.menu-child li a {
		padding: 11px 60px;
		line-height: 20px;
		font-size: 14px;
	}
  .menu-parent > label:hover {
    cursor: pointer;
    cursor: hand;
  }
  /* 子メニューがクリックされた時 */
  #navi input[type="checkbox"]:checked ~ .menu-child {
    max-height: inherit;
    overflow-y: visible;
    visibility: visible;
  }
  .angletoggle:before {
    content: "+";
	  color: #fff;
  }
  #navi input[type="checkbox"]:checked ~ * .angletoggle:before {
    content: "-";
	  color: #fff;
  }
}


/* ハンバーガー */
#navi-pc #navibtn-pc {
  display: none;
}
@media screen and (max-width: 940px) {
  #navi #navibtn {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
  }
  #navibtn span {
    display: block;
    width: 80px;
    height: 80px;
    background-color: #fff;
  }
  #navibtn span span {
    display: block;
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  #navibtn span span::before,
  #navibtn span span::after,
  #navibtn span::after {
    position: absolute;
    left:23px;
    content:"";
    width: 34px;
    height: 2px;
    background-color: #062742;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:20px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:30px;
    transform: rotate(-45deg);
    /*-webkit-transform: rotate(-45deg);*/
  }
  /* 下の棒 */
  #navibtn span::after {
    top:41px;
  }
  #navibtn span span span::after {
		content:"MENU";
		font-size: 12px;
		color: #062742;
		position: absolute;
		top: 47px;
		border: none;
		background:none;
		left: 20px;
	    width: 39px;
	}
  #menu-navibtn:checked ~ #navi label#navibtn > span::after {
    top:30px;
    transform: rotate(-135deg);
    /*-webkit-transform: rotate(-135deg);*/
  }
  /* 中の棒 */
  #navibtn span span::after {
    top:30px;
  }
 
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }
  #menu-navibtn:checked ~ #navi label#navibtn > span span span::before {
		content:"CLOSE";
		font-size: 11px;
		color: #062742;
		position: absolute;
		top: 47px;
		border: none;
	    transform: rotate(0deg);
		background:none;
		left: 20px;
	    width: 39px;
  }
}

