@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;
}

header{height:20px;}

#checkbtnsichi{/*--vertical-align:-5px;--*/}

a{text-decoration:none;    font-weight:normal;}
a.ib{color:#ffffff;    font-weight:normal;}
li.menu-parent span{color:#ffffff;    font-weight:normal;}

/* 本文をメニューの高さ分下げる */
#main {
  margin-top: 60px;
}

#navi {
  background-color:rgba(0,0,0,0.65);
  position: fixed;
  z-index:1111111;
  top: 0;
  left: 0;
  height: 60px;
  width: 100%;
}
/* チェックボックスを非表示 */
#navi input {
  display: none;
}
/* 左上ロゴ */
.menu-left {
  float: left;
  width:100%;
  background-color:#fff;
  line-height: 60px;
}
.menu-left img {
  vertical-align: middle;
  margin-left: 10px;
}
/* 上部メニュー */
.menu {
  float: right;
  margin-right: 10px;
}
.menu-parent {
  float: left;
  margin-right: 30px;
  line-height: 50px;
  font-size: 17px;
  font-weight: bold;
  white-space: nowrap;
}
/* パソコンでは 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: 9999px) {
  /* スマホの際に V を表示 */
  .menu-parent .pd {
    display: inline-block;
    width: 15%;
    float:right;
font-size:1.6em;
    font-weight:normal;
    color: #ffffff;
  }
  
  .menu-parent .pd2 {
    display: inline-block;
    width: 18.25%;
    float:right;
font-size:1.6em;
    font-weight:normal;
    color: #ffffff;
  }
  
  .menu {
    display: none;
  }
  .menu-parent {
    height: auto;
    width: 100%;
    padding: 0px 20px;
    background-color: transparent;
    border-bottom: 1px solid #fff;
  }
  .menu-parent:first-child {
    border-top: 1px solid #DDD;
  }
  .menu-parent i {
    padding: 0px 6px;
  }
  /* メニューを移動させないため */
  #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;
  margin-left: -20px;
  width: auto;
  box-sizing: border-box;
  padding: 0px 20px;
  background-color: transparent;
  border: 1px solid #000;
}
/* パソコン用 */
@media screen and (min-width: 10000px) {
  .menu-parent:hover .menu-child {
    visibility: visible;
    opacity: 1;
  }
}
/* スマホ用 */
@media screen and (max-width: 9999px) {
  /* ハンバーガーメニューがクリックされた時 */
  #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 0 0 0;
    opacity: 1;
    top: 0;
    /*--margin-left: auto;--*/
    left: auto;
    width: auto;
  }
  .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: "\f105";
  }
  #navi input[type="checkbox"]:checked ~ * .angletoggle:before {
    content: "\f107";
  }
  
  .angletoggle2:before {
    content: "\f105";
  }
  #navi input[type="checkbox"]:checked ~ * .angletoggle2:before {
    content: "\f105";
  }
  /*--  https://tech.jastin.net/how-to-display-font-awesome-only-css/  --*/
}
/* 子メニュー */
.menu-child li {
  font-size: ;
  color:#fff;
  padding-left:20px;
  border-bottom: 1px solid #fff;
  width:100%;
  background-color: transparent;
}

.menu-child li a{
  color:#fff;
}

/* 余分な最後の線を消去 */
.menu-child li:last-child {
  border: none;
}
.menu-child li i {
  margin-right: 3px;
}

/* ハンバーガー */
#navi #navibtn {
  display: none;
}
@media screen and (max-width: 9999px) {
  #navi #navibtn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  #navibtn span {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #4dbba3;
  }
  #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: 3px;
    background-color: #FFF;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:19px;
    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:18px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }
}