@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;
}
/* チェックボックスを非表示 */
#navi input {
  display: none;
}
/* 左上ロゴ */
.menu-left {
display:none;
}
/*pc　上部*/
.pc-head{
	height:100px;
	display: flex;
	align-items: center;
	justify-content: space-between;

	}
.companylogo{
	width:300px;
	height:60px;
	}
.companylogo img{
	  padding:0;
  margin:0;
  vertical-align: top;
  width:100%;
  height:auto;
	}

.thmenu_right p{

	margin-left:30px;
	font-size:14px;
}
/* 上部メニュー */
.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 {
margin:0;
padding:0;
line-height:40px;
  font-size: 17px;
  white-space: nowrap;
  color:#FFFFFF;
}

li.menu-parent a{
	color:#FFFFFF;
	font-weight: bold;
	  position: relative;
  display: inline-block;
	}

li.menu-parent a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #ff0033;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
li.menu-parent a:hover::after {
  transform: scale(1, 1);
}



/*header-active メニューマウスオーバー時*/
.site-header.hdchange li.menu-parent a {
	color:#000;

}
/*スクロール時*/
.site-header.change-color  li.menu-parent a {
	color:#000;
}




/* パソコンでは 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: 767px) {
#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　上部*/
.pc-head{
	display:none;
	}

  /* スマホの際に V を表示 */
  .menu-parent .pd {
    display: inline-block;
    width: 100%;
  }
  .menu {
    display: none;
  }
  li.menu-parent {
    height: auto;
    width: 100%;
	  padding: 10px 20px 10px 20px;
    border-bottom: 1px solid #DDD;
	background-color:#F0F0F0;
	  color: #333;
  }
  .menu-parent:first-child {
    border-top: 1px solid #DDD;
  }
  .menu-parent i {
    padding: 0px 6px;
	  color: #333;
  }
  /* メニューを移動させないため */
  #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-color:#FFF;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 3px;
	padding-left: 20px;
	color: #000000;
}
.menu-parent .menu-child a{
	font-weight:normal;
	color: #000000;

}

/* パソコン用 */
@media screen and (min-width: 767px) {
  .menu-parent:hover .menu-child {
    visibility: visible;
    opacity: 1;
  }
}
/* スマホ用 */
@media screen and (max-width: 767px) {
  /* ハンバーガーメニューがクリックされた時 */
  #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: 767px) {
  #navi #navibtn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  #navibtn span {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #004097;
  }
  #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;

}
}
