#header {
    position: fixed;
    padding-top: 10px;
    height: 13vh;
    width: 100%;
    background-color: white;
    padding-left: 60px;
    padding-right: 40px;
    border-bottom: 2px solid #3B9E3E;
    box-sizing: border-box;
    z-index: 999;
}

#header_hide {
  height: 13vh;
  width: 100%;
}

#header .wrap{
    height: 100%;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    font-size: 2.5rem;
}

#menu {
    height: 100%;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

#menu_list {
  display: flex;
  font-size: 1.5rem;
}

#menu_list li a {
  position: relative;
  padding: 12px;
}

#menu_list li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #000000;
  bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}
  
#menu_list li a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

#menu .link_button {
    font-size: 1.5rem;
    font-weight: bold;
    width: 10vw;
    min-width: 120px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: green;
    color: white;
    cursor: pointer;
    border-radius: 40px;
    margin-left: 10px;
}

#breadcrumb-list-wrap {
    width: auto;
    padding-left: 53px;
    margin-top: 20px;
  }
  
  #breadcrumb-list {
    display: flex;
  }
  
  #breadcrumb-list .breadcrumb_list_item {
    font-size: 1.4rem;
  }
  
  #breadcrumb-list .breadcrumb_list_item:last-child {
    color: #60B53A;
  }
  
  #breadcrumb-list .breadcrumb_list_item + .breadcrumb_list_item:before {
    content: '>';
    margin: 0 10px;
    color: #000;
  }

@media screen and (max-width: 1000px){
  #header {
    height: auto;
    padding: 20px 20px;
  }
  #header_hide {
    height: calc(40px + 2.5rem);
    width: 100%;
  }
  #menu #menu_list,
  #menu .link_button {
    display: none;
  }
  #hamburger-menu {
    display: block !important;
  }
  #breadcrumb-list-wrap {
    padding-left: 30px;
  }

  /* overlay-styles.css */
  .hamburger-overlay {
    position: fixed;
    top: 8px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #333;
    transition: all .6s;
  }

  .hamburger-overlay__line:nth-of-type(1) { top: 14px; }
  .hamburger-overlay__line:nth-of-type(2) { top: 23px; }
  .hamburger-overlay__line:nth-of-type(3) { top: 32px; }

  .hamburger-overlay.active .hamburger-overlay__line {
    background-color: #fff;
  }

  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    visibility: hidden;
    opacity: 0;
    transition: all .6s;
    z-index: 900;
  }

  .nav-overlay.active {
    visibility: visible;
    opacity: 1;
  }

  .nav-overlay__content {
    width: 100%;
    text-align: center;
  }

  .nav-overlay__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s;
  }

  .nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
  .nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
  .nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
  .nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }
  .nav-overlay.active .nav-overlay__item:nth-child(5) { transition-delay: 0.5s; }
  .nav-overlay.active .nav-overlay__item:nth-child(6) { transition-delay: 0.6s; }

  .nav-overlay__link {
    display: inline-block;
    padding: 20px;
    color: #fff;
    font-size: 3.0rem;
    text-decoration: none;
    transition: color .3s;
  }

  .nav-overlay__link:hover {
    color: #4a90e2;
  }

  #nav_top_button {
    width: 100%;
    margin-top: 100px;
  }
  #nav_top_button a{
    display: block;
    width: 90%;
    margin: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 3.0rem;
    color: #fff;
    background-color:#3B9E3E;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 30px;
  }

  .line {
    display: block;
    height: 1px;
    width: 100%;
    background-color: #a6a6a6;
  }

}