@charset "utf-8";

#footer,
#footer * {
  box-sizing: border-box;
}

.inner1 .logo_area {
  background-color: #fff;
}

#footer {
  width: 100%;
  clear: both;
  background-color: #254976;
  color: #fff;
  padding-top: 0;
}

#footer_in {
  width: min(100%, 1350px);
  margin: 0 auto;
  padding: 35px 60px 20px;
}

#footer_in .footer_nav {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  width: 100%;
}

#footer_in .footer_logo {
  width: 35vw;
  max-width: 440px;
}

#footer_in .footer_logo img {
  display: block;
  width: min(100%, 370px);
  height: auto;
  margin: 0 0 20px;
}

#footer_in .footer_logo p {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 10px 0;
  padding: 0;
}

#footer_in .footer_menu {
  width: auto;
  min-width: 145px;
}

#footer_in .footer_menu .foot_title {
  position: relative;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

#footer_in .footer_menu .foot_title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 1px;
  background: #fff;
}

#footer_in .footer_menu .foot_title a,
#footer_in .footer_menu li a {
  color: #fff;
  text-decoration: none;
}

#footer_in .footer_menu ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer_in .footer_menu li {
  margin-bottom: 10px;
  font-weight: 500;
  list-style: none;
  opacity: .8;
}

#footer_in .footer_menu li:hover {
  opacity: 1;
}

#footer_in .footer_menu li a {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  line-height: 1.4;
}

#footer .copyright {
  background-color: #1f395a;
  color: #fff;
  padding: 15px 0;
}

#footer .copyright p {
  margin: 0;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

#popup,
#footer .pagetop {
  display: none;
}

@media screen and (min-width: 769px) {
  #footer .sp {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  #footer_in {
    width: 100%;
    padding: 30px 5% 20px;
  }

  #footer_in .footer_nav {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 30px;
  }

  #footer_in .footer_logo,
  #footer_in .footer_menu {
    width: 100%;
    max-width: none;
  }

  #footer_in .footer_logo {
    margin-bottom: 30px;
    text-align: left;
  }

  #footer_in .footer_logo img {
    max-width: 270px;
  }

  #footer_in .footer_menu .foot_title {
    width: 100%;
    margin: 0 0 10px;
    padding: 10px 0;
  }

  #footer_in .footer_menu .foot_title::before {
    width: 100%;
    opacity: .5;
  }

  #footer_in .footer_menu .foot_title span {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-block;
    width: 15px;
    height: 2px;
    background-color: #fff;
    transform: translateY(-50%);
  }

  #footer_in .footer_menu .foot_title span::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-block;
    width: 15px;
    height: 2px;
    background-color: #fff;
    transform: translateY(-50%) rotate(90deg);
    transition: .4s;
  }

  #footer_in .footer_menu .foot_title span.active::before {
    transform: translateY(-50%) rotate(0deg);
  }

  #footer_in .footer_menu ul {
    display: none;
    margin-bottom: 20px;
  }

  #footer_in .footer_menu li a {
    padding: 0;
  }

  #footer .copyright {
    padding: 15px 10px 190px;
  }

  #footer .copyright p {
    position: relative;
    z-index: 2;
  }
}
