@charset "UTF-8";

header .header_wrap {
  width: 100%;
  height: 100px;
  background-color: #fff;
  z-index: 1000;
}
header .header_wrap .header_flex {
  width: 1100px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
header .header_wrap .top_logo {
  width: 208px;
  flex-shrink: 0;
}
header .header_wrap ul.menu_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}
header .header_wrap ul.menu_list li {
  margin-right: 50px;
}
header .header_wrap ul.menu_list li:nth-child(7) {
  margin-right: 20px;
}
header .header_wrap ul.menu_list li:nth-child(6) {
  margin-right: 0;
}
header .header_wrap ul.menu_list li:last-of-type {
  margin: 0;
}
header .header_wrap ul.menu_list li a {
  font-size: 14px;
  font-weight: bold;
}
header .header_wrap ul.menu_list li.btn a {
  font-size: 14px;
  line-height: 35px;
  width: 240px;
  height: 35px;
}
header .header_wrap ul.menu_list li:last-child.btn a {
  width: 310px;
}
header .header_wrap ul.menu_list li.btn a::before, header .header_wrap ul.menu_list li.btn a::after {
  width: 7px;
  height: 2px;
  top: calc(50% - 1px);
  right: 15px;
  transform-origin: calc(100% - 1px) 50%;
}

/*追従ヘッダー*/
#fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  background:rgba(255,255,255,0.8);
}

/*     SP
------------------------------*/
@media (max-width: 768px) {
  header .header_wrap {
    display: flex;
    align-items: center;
    height: 60px;
    position: relative;
  }
  header .header_wrap .top_logo {
    width: 36%;
    padding-left: 15px;
  }
  .menu_wrap {
    display: none;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: #E7F1F9;
    transition: ease .4s;
  }
  header .header_wrap .menu_wrap.active .top_logo {
    width: 43%;
    margin: 20px auto 0;
    padding: 0;
  }
  header .header_wrap ul.menu_list {
    position: absolute;
    top: 16%;
    padding: 0;
    flex-wrap: wrap;
    width: 80%;
    right: 0;
    left: 0;
    margin: 0 auto;
  }
  header .header_wrap ul.menu_list li {
    display: block;
    width: 100%;
    margin-right: 0;
    padding-left: 15px;
    position: relative;
    border-bottom: 1px solid #5396D1;
    margin-bottom: 14px;
  }
  header .header_wrap ul.menu_list li::before, header .header_wrap ul.menu_list li::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 8px;
    height: 3px;
    background-color: #5396D1;
    transform-origin: calc(100% - 1px) 50%;
  }
  header .header_wrap ul.menu_list li::before {
    transform: rotate(45deg);
  }
  header .header_wrap ul.menu_list li::after {
    transform: rotate(-45deg);
  }
  header .header_wrap ul.menu_list li a {
    font-size: 16px;
  }
  .header_hamburger {
    width: 36px;
    height: 36px;
    margin: 0 15px 0 auto;
    position: fixed;
    right: 0;
  }
  .hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
  }
  .hamburger span {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #333;
    position: relative;
    transition: ease .4s;
    display: block;
  }
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  .hamburger span:nth-child(3) {
    top: 0;
  }
  .menu_wrap.active {
    transform: translateX(0);
    z-index: 1000;
    display: block;
  }
  .hamburger.active span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
  }

  .pc_header {
    display: none;
  }
}

/*     PC
------------------------------*/
@media (min-width: 769px) {
  .sp_header {
    display: none;
  }
}