.footer_links {
  padding: 40px 20px;
  background-color: #f3f3f3;
}
.footer_links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  align-items: center;
  max-width: 1058px;
  margin: 0 auto;
}
.footer_links ul li {
  padding: 0 10px;
  line-height: 1;
  border-right: 1px solid #000;
  border-left: 1px solid #000;
}
.footer_links ul li a {
  font-size: 14px;
  font-weight: bold;
  color: #000;
}
.footer_links ul li a:hover {
  color: #00e;
  text-decoration: underline;
}
@media screen and (width <= 768px) {
  .footer_links {
    padding: 30px 10px;
  }
  .footer_links ul {
    gap: 20px 0;
    justify-content: start;
  }
}

.footer_group_link {
  padding: 40px 10px;
}
.footer_group_link h4 {
  margin-bottom: 20px;
  text-align: center;
}
.footer_group_link ul {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.footer_group_link ul li {
  position: relative;
}

.footer_group_link ul li a {
  font-size: 16px;
  font-weight: bold;
  color: #1746ff;
}
.footer_group_link ul li a[target="_blank"]:after {
    display: none !important;
}

.footer_group_link ul li a[target="_blank"]:hover:after {
    display: none !important;
}
.footer_group_link ul li a[target="_blank"] {
  padding-right: 20px;
  background: url("/assets/images/icon/link-icon.svg") no-repeat center right 0;
}

.footer_group_link ul li a:hover {
  color: #00e;
  text-decoration: underline;
}
@media screen and (width <= 768px) {
  .footer_group_link {
    padding: 24px 10px 32px;
  }
  .footer_group_link h4 {
    margin-bottom: 16px;
  }
  .footer_group_link ul {
    flex-direction: column;
    gap: 16px;
  }
}

.footer_copy {
  padding: 46px 20px;
  color: #fff;
  text-align: center;
  background-color: #000064;
}
.footer_copy br {
  display: none;
}
@media screen and (width <= 768px) {
  .footer_copy {
    padding: 32px 10px 48px;
  }
  .footer_copy br {
    display: inline;
  }
}

/* style.cssのリセットCSSから、footer.htmlで使われている要素の定義を抽出 */
footer section, footer div, footer h4, footer p, footer ul, footer li, footer a, footer img {
  padding: 0;
  margin: 0;
  border: 0;
}

footer ul, footer ol {
  list-style: none;
}

footer img {
  max-width: 100%;
  height: auto;
  line-height: 0;
  vertical-align: top;
}

footer h4 {
  font-size: 1.6rem;
  font-weight: bold;
}

footer a {
  color: #03c;
  text-decoration: none;
}

footer a:visited {
  color: #60a;
}

footer a:hover {
  color: #f00;
}

footer a:focus,
footer a:active {
  outline: none;
}
