#main {
  margin-top: 100px;
}

#navi {
  background-color: #FFF;
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  z-index: 100;
}

#navi input {
  display: none;
}

.menu-left {
  float: left;
  line-height: 100px;
}

.menu-left img {
  vertical-align: middle;
  margin-left: 30px;
}

.menu-wrap {
  height: 100px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.menu {
  display: flex;
  margin-right: 15px;
}

a.nav-menu {
  width: 100%;
  display: block;
}

.menu-parent {
  position: relative;
  margin-right: 30px;
  line-height: 60px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.en-button {
  line-height: 1;
  display: block;
  font-size: 16px;
  position: absolute;
  top: 36px;
  right: 30px;
  white-space: nowrap;
}

#docCheck .en-button {
  font-size: 15px;
}

.gt_selector {
  padding: 4px;
}

.gtranslate_wrapper {
  display: flex;
}

.menu-parent .pd {
  display: none;
}

.menu-parent:last-child {
  margin-right: 0px;
}

#menu-navibtn {
  display: none;
  cursor: pointer;
  cursor: hand;
}

li.menu-parent::after {
  position: absolute;
  content: "";
  display: block;
  height: 3px;
  background-color: #073284;
  bottom: 0;
  left: 0;
  width: 0;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

li.menu-parent:hover::after {
  width: 100%;
}

.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: 1120px) {
  #navi {
    height: 80px;
  }

  .menu-left {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    height: 80px;
    align-items: center;
  }

  .menu-parent {
    line-height: 50px;
  }

  .menu-left img {
    width: 100px;
    margin-left: 20px;
  }

  .menu-parent .pd {
    display: inline-block;
    width: 100%;
  }

  .menu {
    display: none;
  }

  .menu-parent {
    height: auto;
    width: 100%;
    padding: 0px 20px;
    border-bottom: 1px solid #fff;
  }

  .menu-parent:first-child {
    border-top: 1px solid #ccc;
  }

  .menu-parent i {
    padding: 10px;
    margin: 0 -10px;
  }

  #menu-navibtn:checked~#navi {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    background-color: #fff;
  }

  .menu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .en-button {
    line-height: 1;
    display: block;
    top: 27px;
    right: 100px;
  }
}

@media screen and (max-width: 600px) {
  #navi {
    height: 70px;
  }

  .menu-left {
    line-height: 70px;
    height: 70px;
  }

  .en-button {
    right: 90px;
  }

  .menu-wrap {
    margin: 120px auto 0;
  }
}


.menu-parent {
  /* position: relative; */
}

.menu-parent .menu-child {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  width: auto;
  box-sizing: border-box;
  padding: 0px 20px;
  background-color: #F7F8FA;
  border: 0;
}

.menu-parent .menu-child li a {
  transition: all .3s ease-out;
}

.menu-parent .menu-child li a:hover {
  opacity: .5;
}

@media screen and (min-width: 1120px) {
  .menu-parent:hover .menu-child {
    visibility: visible;
    opacity: 1;
  }
}

@media screen and (max-width: 1120px) {

  #menu-navibtn:checked~* .menu {
    display: block;
    opacity: 1;
  }

  #menu-navibtn:checked~* .menu-parent {
    max-height: inherit;
    overflow-y: visible;
    border-bottom: 1px solid #ccc;
  }

  #menu-navibtn:checked~* .menu-child {
    max-height: 0;
    overflow-y: hidden;
    visibility: hidden;
  }

  .menu-parent .menu-child {
    position: relative;
    padding: 0 20px;
    opacity: 1;
    top: 0;
    margin-left: auto;
    left: auto;
    width: auto;
    background-color: #fff;
  }

  .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";
    font-size: 1.8rem;
  }

  #navi input[type="checkbox"]:checked~* .angletoggle:before {
    content: "\f106";
    font-size: 1.8rem;
  }
}

.menu-child li {
  font-size: 15px;
  line-height: 50px;
  border-bottom: 1px solid #fff;
}

.menu-child li:last-child {
  border: none;
}

.menu-child li i {
  margin-right: 3px;
}

#navi a {
  color: #333;
}



#navi #navibtn {
  display: none;
}

@media screen and (max-width: 1120px) {
  #navi #navibtn {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
  }

  #navibtn span {
    display: block;
    width: 80px;
    height: 80px;
    background-color: #2B69BC;
  }

  #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: 20px;
    content: "";
    width: 40px;
    height: 2px;
    background-color: #FFF;
  }

  #navibtn span span::before {
    top: 25px;
  }

  #menu-navibtn:checked~#navi label#navibtn span span::before {
    top: 39px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  #navibtn span::after {
    bottom: 22px;
  }

  #menu-navibtn:checked~#navi label#navibtn>span::after {
    bottom: 39px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }

  #navibtn span span::after {
    top: 40px;
  }

  #menu-navibtn:checked~#navi label#navibtn span span::after {
    display: none;
  }

  #navi a {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  #navibtn span {
    width: 70px;
    height: 70px;
  }

  #navibtn span span::before,
  #navibtn span span::after,
  #navibtn span::after {
    position: absolute;
    width: 30px;
  }

  /* 上の棒 */
  #navibtn span span::before {
    top: 22px;
  }

  #menu-navibtn:checked~#navi label#navibtn span span::before {
    top: 34px;
  }

  /* 下の棒 */
  #navibtn span::after {
    bottom: 22px;
  }

  #menu-navibtn:checked~#navi label#navibtn>span::after {
    bottom: 34px;
  }

  /* 中の棒 */
  #navibtn span span::after {
    top: 34px;
  }
}