#header_benefits header {
  position: relative;
  background-color: #fff;
  height: 5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw 0 2vw;
}
#header_benefits header .logo_img {
  width: 20rem;
}
#header_benefits header .logo_img img {
  max-width: 100%;
}
#header_benefits header .menu_button {
  position: relative;
  z-index: 10;
  width: 2rem;
  cursor: pointer;
}
#header_benefits header .menu_button .line {
  position: relative;
  height: 4px;
  width: 100%;
  margin-bottom: 8px;
  border-radius: 10px;
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}
#header_benefits header .menu_button .line:last-child {
  margin-bottom: 0;
}
#header_benefits header .menu_button .line_1 {
  background-color: #1D2088;
}
#header_benefits header .menu_button .line_2 {
  background-color: #D23C19;
}
#header_benefits header .menu_button .line_3 {
  background-color: #32772A;
}
#header_benefits header .menu_button_active .line:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 2.125rem;
}
#header_benefits header .menu_button_active .line:nth-child(2) {
  width: 0%;
  opacity: 0;
}
#header_benefits header .menu_button_active .line:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 2.125rem;
}
#header_benefits header .menu_window {
  position: absolute;
  z-index: 9;
  top: -40vh;
  right: 3vw;
  width: 12vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.3s ease-in-out;
  padding: 3rem 0 1rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
#header_benefits header .menu_window .link_sp {
  display: none;
}
#header_benefits header .menu_window a {
  font-family: "Jun 501";
  font-size: 1.1vw;
  text-decoration: none;
  color: #1D2088;
  margin-bottom: 1.1rem;
}
#header_benefits header .menu_window a:last-child {
  line-height: 1.3;
}
#header_benefits header .menu_window .line {
  width: 60%;
  height: 1px;
  margin-bottom: 1.1rem;
  background-color: #1D2088;
}
#header_benefits header .menu_window_active {
  top: 0;
}

footer {
  background-color: #1D2088;
  margin: 0;
  padding: 3rem 0;
  position: relative;
}
footer .link_wrap {
  width: 40%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  margin: auto;
}
footer .link_wrap a {
  font-size: 0.9vw;
  color: #fff;
  text-decoration: none;
}
footer .link_wrap .menu_line {
  display: none;
}
footer .sp_link {
  display: none;
}
footer .line {
  width: 80%;
  margin: 2rem auto;
  height: 1px;
  background-color: #fff;
}
footer .trademark {
  text-align: center;
}
footer .trademark p {
  font-family: "Hiragino Kaku Gothic W4 JIS2004";
  color: #fff;
  font-size: 0.8vw;
}

@media screen and (min-width: 2100px) {
  #header_benefits header {
    height: 7rem;
  }
  #header_benefits header .logo_img {
    width: 15vw;
  }
  #header_benefits header .menu_button {
    width: 3.5rem;
  }
  #header_benefits header .menu_button .line {
    height: 6px;
    margin-bottom: 12px;
  }
  #header_benefits header .menu_button_active .line:nth-child(1) {
    width: 3.125rem;
  }
  #header_benefits header .menu_button_active .line:nth-child(3) {
    width: 3.125rem;
  }
  #header_benefits header .menu_window a {
    margin-bottom: 1.1vw;
  }
  footer .link_wrap a {
    font-size: 0.7vw;
  }
  footer .line {
    width: 50vw;
  }
  footer .trademark p {
    font-size: 0.65vw;
  }
}
@media screen and (max-width: 1200px) {
  footer .link_wrap {
    width: 60%;
  }
}
@media screen and (max-width: 1048px) {
  footer .link_wrap {
    width: 70%;
  }
  footer .link_wrap a {
    font-size: 1.5vw;
  }
  footer .line {
    margin: 1.5rem auto;
  }
  footer .trademark p {
    font-size: 1vw;
  }
  #header_benefits header .logo_img {
    width: 30vw;
  }
  #header_benefits header .menu_window {
    width: 12rem;
  }
  #header_benefits header .menu_window a {
    font-size: 1.95vw;
  }
}
@media screen and (max-width: 800px) {
  footer {
    padding: 2rem 0;
  }
  footer .link_wrap {
    width: 75%;
    flex-wrap: wrap;
    align-items: center;
  }
  footer .link_wrap a {
    font-size: 1.9vw;
    padding: 0.75rem 0;
  }
  footer .link_wrap a:last-child {
    margin: 0 auto;
  }
  footer .link_wrap .pc_link {
    display: none;
  }
  footer .link_wrap .menu_line {
    display: block;
    height: 1rem;
    width: 1px;
    background-color: #fff;
    padding: 0.5rem 0;
  }
  footer .sp_link {
    display: block;
    font-family: "Hiragino Kaku Gothic W3 JIS2004";
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 1.9vw;
  }
  footer .line {
    margin: 0.75rem auto 1.5rem;
  }
  footer .trademark p {
    font-size: 1.5vw;
  }
}
@media screen and (max-width: 600px) {
  #header_benefits header {
    height: 4rem;
    padding: 0 5vw 0 4vw;
  }
  #header_benefits header .logo_img {
    width: 50vw;
  }
  #header_benefits header .menu_button {
    width: 1.75rem;
  }
  #header_benefits header .menu_button .line {
    height: 3px;
    margin-bottom: 6px;
  }
  #header_benefits header .menu_button_active .line:nth-child(1) {
    width: 1.65rem;
  }
  #header_benefits header .menu_button_active .line:nth-child(3) {
    width: 1.65rem;
  }
  #header_benefits header .menu_window {
    width: 35vw;
  }
  #header_benefits header .menu_window .link_sp {
    display: block;
  }
  #header_benefits header .menu_window .link_pc {
    display: none;
  }
  #header_benefits header .menu_window a {
    font-size: 3.5vw;
    margin-bottom: 1.2rem;
  }
  footer .link_wrap a {
    font-size: 2.5vw;
  }
  footer .sp_link {
    font-size: 2.5vw;
  }
  footer .trademark p {
    font-size: 2vw;
  }
}