/* ===== path ===== */
/* ===== width ===== */
/* ===== color ===== */
/* gradation */
/* ===== hover ===== */
/* ===== font family ===== */
/* ===== font weight ===== */
.site-footer {
  margin-top: 160px;
  width: 100%;
  min-width: 1280px;
}

.home .site-footer {
  margin-top: 0;
  min-width: 1440px;
}

.site-footer__navi-first {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(273deg, #0073cd 0%, #003f9e 100%);
  margin-bottom: 60px;
  width: 100%;
  height: 70px;
}

.site-footer__navi-first__item {
  flex-basis: 210px;
  max-width: 210px;
  height: 100%;
}

.site-footer__navi-first__item:not(:first-child) {
  margin-left: 28px;
}

.site-footer__navi-first__link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  color: #e8e8e8;
  font-size: 1.6rem;
  letter-spacing: .07143em;
  line-height: 70px;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s linear;
}

.site-footer__navi-first__link::before {
  display: block;
  position: absolute;
  bottom: 17px;
  left: 50%;
  width: 142px;
  height: 2px;
  background-color: #fff500;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s linear;
  content: "";
}

.individual .site-footer__navi-first__item--individual .site-footer__navi-first__link,
.corporation .site-footer__navi-first__item--corporation .site-footer__navi-first__link,
.profile .site-footer__navi-first__item--profile .site-footer__navi-first__link {
  color: #fff;
  font-weight: 700;
  pointer-events: none;
}

.individual .site-footer__navi-first__item--individual .site-footer__navi-first__link::before,
.corporation .site-footer__navi-first__item--corporation .site-footer__navi-first__link::before,
.profile .site-footer__navi-first__item--profile .site-footer__navi-first__link::before {
  opacity: 1;
}

.site-footer__navi-second {
  display: none;
}

.individual .site-footer__navi-second--individual {
  display: flex;
}

.site-footer__copyright {
  margin-top: 34px;
  padding-top: 35px;
  padding-bottom: 40px;
  border-top: 1px solid #edf0f2;
  color: #003f9e;
  font-size: 1.2rem;
  line-height: 1.16666;
  letter-spacing: .08333em;
  text-align: center;
}

.footermenu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  margin-right: auto;
  margin-left: auto;
  width: 1080px;
}

.footermenu__item {
  flex-basis: 340px;
  margin-bottom: 8px;
  max-width: 340px;
}

.footermenu__link {
  display: inline-block;
  position: relative;
  padding-left: 20px;
  color: #003f9e;
  font-size: 1.2rem;
  line-height: 1.66666;
  letter-spacing: .08333em;
  text-decoration: none;
  transition: color 0.2s linear;
}

.footermenu__link::before {
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 1px;
  border-radius: 2px;
  background-color: #003f9e;
  transition: background-color 0.2s linear;
  content: "";
}

@media only screen and (max-width: 767px) {
  .site-footer {
    margin-top: 80px;
    min-width: 0;
  }
  .home .site-footer {
    min-width: 0;
  }
  .site-footer__navi-first {
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 31px;
    padding: 33px 6.52174% 22px;
    height: auto;
    overflow: hidden;
  }
  .site-footer__navi-first__item {
    flex-basis: calc((100% - 6px) / 2);
    max-width: calc((100% - 6px) / 2);
  }
  .site-footer__navi-first__item:not(:first-child) {
    margin-left: 0;
  }
  .site-footer__navi-first__item:not(:nth-of-type(-n + 2)) {
    margin-top: 27px;
  }
  .site-footer__navi-first__link {
    padding-bottom: 8px;
    height: 100%;
    font-size: 1.4rem;
    line-height: 1.42857;
    letter-spacing: .07em;
  }
  .site-footer__navi-first__link::before {
    bottom: 0;
    width: 120px;
  }
  .individual .site-footer__navi-second--individual {
    display: block;
  }
  .site-footer__copyright {
    margin-top: 32px;
  }
  .footermenu {
    justify-content: flex-start;
    align-items: flex-start;
    padding-right: 6.52174%;
    padding-left: 6.52174%;
    width: 100%;
  }
  .footermenu__item {
    flex-basis: 100%;
    max-width: 100%;
  }
  .footermenu__link {
    padding-left: 32px;
  }
  .footermenu__link::before {
    width: 18px;
  }
}

@media (min-width: 768px) {
  .site-footer__navi-first__link:hover::before {
    opacity: 1;
  }
  .footermenu__link:hover {
    color: #004eff;
  }
  .footermenu__link:hover::before {
    background-color: #004eff;
  }
}
