@charset "UTF-8";
body, ul, li {
  margin: 0;
  padding: 0;
}

a {
  color: #000;
}

/*ーーーーーーーーーー
.header
ーーーーーーーーーーー*/
#head_wrap {
  top: 0;
  position: fixed;
  width: 100%;
  line-height: 1;
  z-index: 999;
  /*height: 0px;*/
  text-decoration: none;
  background: #fff;
}

#head_wrap a {
  text-decoration: none;
}
#head_wrap img {
  /* width: 200px; */
  height: 75px;
  margin-top: 10px;
}
#head_wrap i {
  display: block;
  color: #2f2f2f;
  font-size: 7px;
}
#head_wrap .inner {
  width: 100%;
  max-width: 1368px;
  margin: 0 auto;
  position: relative;
}

#head_wrap .inner:after {
  content: "";
  clear: both;
  display: block;
}
#global-nav:before {
  content: '';
  border-right: 45px solid #FFF;
  border-top: 87px solid transparent;
  border-bottom: 0 solid transparent;
  position: absolute;
  left: -5.8%;
}

#head_wrap .logo {
  float: left;
  font-size: 36px;
  padding: 5px;
}

#global-nav {
  position: absolute;
  right: 0;
  top: 0;
  background: #fff;
  height: 87px;
}

#global-nav ul {
  list-style: none;
  font-size: 14px;
  margin-right: 10px;
  display: inline-flex;
}

@media (max-width: 767px) {
  #global-nav ul {
    display: block;
    margin-right: 0px;
  }
}

#global-nav ul li {
  padding: 15px 15px;
}

#global-nav ul li:last-child {
  border-right: none;
}

@media (max-width: 767px) {
  #global-nav ul li {
    border-right: none;
    border: 0;
  }
}

#global-nav ul li a {
  padding: 0 5px;
  padding: 2px;
  transition: all .6s ease 0s;
  box-sizing: border-box;
  font-weight: bold;
  color: #696969;
}
#global-nav ul li em {
  font-size: 1.2em;
}

/* Fixed */
#head_wrap.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  height: 100px;
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
  z-index: 9999;
  padding: 10px 5px 0;
}

#head_wrap.fixed .logo {
  font-size: 36px;
  color: #333;
}

#head_wrap.fixed #global-nav ul li a {
  color: #333;
  padding: 0 20px;
}

/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 14px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}

#nav-toggle div {
  position: relative;
}

@media only screen and (max-width:767px){
  #head_wrap {
    top: 0;
    position: fixed;
    margin-top: 0;
    width: 100%;
    padding: 0;
    margin:0;
    /* Fixed reset */
  }
  #head_wrap img {
    height: 50px;
  }
  #head_wrap i {
    display: contents;
    color: #2f2f2f;
    font-size: x-small;
  }
  #head_wrap .inner {
    width: 100%;
    padding: 0;
  }
  #head_wrap .fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 65px;
    z-index: 999;
    position: relative;
  }
  #head_wrap.fixed .logo,
  #head_wrap .logo {
    position: absolute;
    left: 13px;
    top: 0;
    color: #333;
    font-size: 26px;
  }
  #global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top:0;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    text-align: center;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }
  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 14px;
    background: #FFF;
  }
  #global-nav ul li {
    float: none;
    position: static;
    border-bottom: 1px solid #eee;
    background: #FFF;
    color: #696969;
    font-weight: bold;
    line-height: 13px;
    margin: 0;
  }
  #head_wrap #global-nav ul li a,
  #head_wrap.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    padding: 5px 0;
  }
  #nav-toggle {
    display: block;
  }
  /* #nav-toggle 切り替えアニメーション */
  #nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
  }
  #nav-toggle span:nth-child(1) {
    top: 0;
  }
  #nav-toggle span:nth-child(2) {
    top: 11px;
  }
  #nav-toggle span:nth-child(3) {
    top: 22px;
  }
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  /* #global-nav スライドアニメーション */
  .open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
  }
}

#menu1, #menu2, #menu3, #menu4, #menu5 {
  margin-top: 500px;
  padding-top: 130px;
}

#menu5 {
  padding-bottom: 100vh;
}
/*子階層以降共通*/
#gnav {
    display: flex;
    position: absolute;
    right: 40px;
    top: 0;
    height: 87px;
    width: 70%;
}
@media only screen and (max-width:767px){
  #gnav {
      display: none;
    }
}
#gnav > li {/*親階層のみ幅を25%にする*/
    width: 25%;
}
/*全てのリスト・リンク共通*/
#gnav li {
    list-style: none;
    position: relative;
}
#gnav li a {
    color: #001b34;
    display: block;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 25px 0;
}

#gnav li a em {
  font-size: 0.8em;
  font-weight: bold;
}

#gnav li li {
    height: 0;
    overflow: hidden;
    transition: .5s;
}
#gnav li li a {
    font-size: 0.8em;
    font-weight: bold;
    color: #001b34;
    border: 1px solid #f5f5f5;
    background-color: #FFF;
    padding: 0 10px;
}
#gnav li:hover > ul > li {
    height: 2rem;
    overflow: visible;
}
#gnav li a i{
  margin-top: -15px;
  font-weight: bold;
}
#gnav ul li ul li a{
  font-size: 0.8em;
  font-weight: bold;
  color: #001b34;
}
.show_sp {
  display: none;
}
@media only screen and (max-width:767px){
  .show_sp {
    display: block;
  }
}
.show_pc {
  display: block;
}
@media only screen and (max-width:767px){
  .show_pc {
    display: none;
  }
}
.acd-check{
}
.acd-label{
  font-size: 1.2em;
  font-weight: bold;
  display: block;
}
.acd-content{
  border: 1px solid #333;
  height: 0;
  opacity: 0;
  padding: 0 10px;
  transition: .5s;
  visibility: hidden;
}
.acd-check:checked + .acd-label + .acd-content{
  height: 40px;
  opacity: 1;
  padding: 10px;
  visibility: visible;
}
#gnav .navi_about ul{
  margin-top: 20px;
}
#gnav .navi_report ul{
  margin-top: 20px;
}

/*2023-03-31 add*/
@media only screen and (max-width:767px){
  .header {
    background: var(--background-navbar);
    position: fixed;
    width: 100%;
    height: 80px;
    z-index: 999;
    background: #FFF;
  }

  /* Nav items */
  .menu {
    list-style: none;
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    margin-top: 8px;
    padding: 0 0 10px 0;
    clear: both;
    background: var(--background-navbar);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
  }

  /* Hamburger menu button */
  .menu-btn:checked ~ .menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  /* Hamburger menbu text */
  .menu a {
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 16px;
    text-transform: capitalize;
    color: #ddd;
    opacity: 0;
    transition: 0.5s;
  }

  .menu li {
    border-top: 1px solid rgb(75, 75, 75);
    padding: 15px 0;
    margin: 0 54px;
    opacity: 0;
    transition: 0.5s;
  }

  .menu-btn:checked ~ .menu a,
  .menu-btn:checked ~ .menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }

  .menu-btn {
    display: none;
  }

  .menu-icon {
    display: block;
    position: relative;
    cursor: pointer;
    padding: 24px 14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  .navicon {
    background: #a9a9a9;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .navicon:before,
  .navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #a9a9a9;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .navicon:before {
    top: 9px;
  }

  .navicon:after {
    bottom: 9px;
  }

  /* Hamburger Menu Animation Start */
  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }

  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }

  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
    top: 0;
  }
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    bottom: 0;
  }

  .menu-btn:checked ~ .menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  /* Hamburger Menu Animation End */

  /* Navbar Container */
  .navtext-container {
    width: 100%;
    height: 60px;
    position: absolute;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Navbar Text */
  .navtext {
    position: absolute;
    text-transform: uppercase;
    color: #ddd;
    letter-spacing: 4px;
    font-size: 20px;
    z-index:1000;
    width: 70%;
  }
  .logo {
    margin-top: 10px;
  }
  .logo img{
    width: 70%;
  }
  #global-nav .menu {
    text-align: left;
  }
}
