@charset "utf-8";
/*
  CSS のみのドロップダウンメニュー
  Copyright Rectus Inc, 2019
  https://www.rectus.co.jp/
 */

/* 基本CSS */
ul,
div,
img {
  margin: 0px;
  padding: 0px;
  list-style: none;
  font-weight: normal;
}

#navi {
  width: 100%;
  margin:0;
  padding:0;
	z-index: 100 !important;
}
/* チェックボックスを非表示 */
#navi input {
  display: none;
}
/* 左上ロゴ */
.menu-left {
display:none;
}
/*pc　上部*/

.companylogo{
	width:240px;
	height:60px;
	}
.companylogo img{
	  padding:0;
  margin:0;
	vertical-align: middle;
  width:100%;
  height:auto;
	}

.thmenu_right p{

	margin-left:30px;
	font-size:18px;
}
/* 上部メニュー */
.menu {
width:100%;
margin:0;
padding:0;
display:flex;
flex-diretion: row;
 flex-wrap:nowrap;
	 justify-content: space-between;
 background-color: transparent;
}

li.menu-parent {
	padding: 0;
	margin: 0;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	color: #333333;
	font-size: 16px;
	
}

li.menu-parent a{
	color: #333333;
	}

li.menu-parent a:hover {
  color: #004097;
	
}



/* パソコンでは V を非表示 */
.menu-parent .pd {
  display: none;
}
/* 上部メニューの最後の項目 */
.menu-parent:last-child {
  margin-right: 0px;
}

#menu-navibtn {
  display: none;
  cursor: pointer;
  cursor: hand;
}
/* スマホ用 */
@media screen and (max-width: 1199px) {
#navi {
 height: 60px;
  width: 100%;
  margin:0;
  padding:0;
  position:fixed;
  top:0;
  z-index: 100 !important;
}


/* 左上ロゴ */
.menu-left {
	display: block;
	background-color: #FFFFFF;
}

	

	
/*PC用下矢印*/
	i.fa{
		display: none !important;
	}

/*pc　上部*/


  /* スマホの際に V を表示 */
  .menu-parent .pd {
    display: inline-block;
    width: 100%;
  }
  .menu {
    display: none;
  }

  li.menu-parent {
	  margin: 0;
    height: auto;
    width: 100%;
	  text-align: center;
	  padding-bottom: 20px;
	  padding-top: 20px;
    border-bottom: 1px solid #DDD;
	background-color:#e8ebf2;
	  color: #333;
  }
  .menu-parent:first-child {
    border-top: 1px solid #DDD;
  }
  .menu-parent i {
    padding: 0px 6px;
	  color: #3E3A39;
  }
  /* メニューを移動させないため */
  #menu-navibtn:checked ~ #navi {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
  }
}

/* ドロップダウンメニュー */
.menu-parent {
  position: relative;
}
/*文字色変更*/
.menu-parent .menu-child {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	width: 200px;
	box-sizing: border-box;
	background:rgba(255,255,255,0.95);
	padding: 20px;
	color: #3E3A39;

}
.menu-parent .menu-child a{
	font-weight:normal;
	color: #3E3A39;

}
.menu-parent .menu-child li {
	margin-top: 20px;
}

/* パソコン用 */
@media screen and (min-width: 1199px) {
  .menu-parent:hover .menu-child {
    visibility: visible;
    opacity: 1;
  }
}
/* スマホ用 */
@media screen and (max-width: 1199px) {
  /* ハンバーガーメニューがクリックされた時 */
  #menu-navibtn:checked ~ * .menu {
    display: block;
    opacity: 1;
  }
  #menu-navibtn:checked ~ * .menu-parent {
    max-height: inherit;
    overflow-y: visible;
  }
  #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 20px;
    opacity: 1;
    top: 0;
    margin-left: auto;
    left: auto;
    width: auto;
	z-index:100;
	   
  }
  .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: "\f107";
  }
  #navi input[type="checkbox"]:checked ~ * .angletoggle:before {
    content: "\f106";
  }
}
/* 子メニュー */
.menu-child li {
  font-size: 14px;

}
/* 余分な最後の線を消去 */
.menu-child li:last-child {
  border: none;
}
.menu-child li i {
  margin-right: 3px;
}

/* ハンバーガー */
#navi #navibtn {
  display: none;
}

/* スマホ用 */
@media screen and (max-width: 1199px) {
  #navi #navibtn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  #navibtn span {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #20367d;
  }
  #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:10px;
    content:"";
    width: 20px;
    height: 1px;
	  background-color: #FFFFFF;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:20px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  /* 下の棒 */
  #navibtn span::after {
    bottom:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn > span::after {
    bottom:18px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  /* 中の棒 */
  #navibtn span span::after {
    top:19px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }
}

/* =Tablet (Landscape　横)
-----------------------------------------------------------------------------*/
@media only screen and (max-width: 1199px) {
	li.menu-parent {
  font-size: 14px;

}

  li.menu-parent {
	  margin-bottom: 0;
	  margin-left: auto;
	  margin-right: auto;
	  margin-top: 0;
    height: auto;
    width: 80%;
	  text-align: center;
	  padding-bottom: 20px;
	  padding-top: 20px;
    border-bottom: 1px solid #DDD;
	background-color:#e8ebf2;
	  color: #333;
  }
.menu-parent:last-child {
  	  margin-left: auto;
	  margin-right: auto;
}
}
