/*------------------------------------
フッター用CSS
------------------------------------*/
footer {
  background-color: #f5f5f5;
}
.footer-link {
  position: relative;
  background-color: var(--color-main);
}
.footer-link img.link-icon {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
}
.footer-link .inner {
  padding: 70px 0 30px;
}
.footer-link .link-flex {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.footer-link .link-flex a {
  transition: .3s;
}
.footer-link .link-flex a:hover {
  opacity: 0.8;
}
.footer-nav {
  background-color: #4B4945;
}
.footer-nav .inner {
  padding: 20px 0;
}
.footer-nav .footer-nav-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}
.footer-nav .footer-nav-flex ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 300px);
}
.footer-nav .footer-nav-flex ul li a {
  color: var(--color-white);
  transition: .3s;
}
.footer-nav .footer-nav-flex ul li a:hover {
  color: var(--color-main);
}
.footer-nav .footer-nav-flex .defalt-btn {
  width: 300px;
}
.footer-nav .footer-nav-flex .defalt-btn a {
  min-width: 240px;
  height: 45px;
  line-height: 41px;
  background-color: unset;
  box-shadow: none;
}
.footer-nav .footer-nav-flex .defalt-btn a:hover {
  background-color: var(--color-white);
}
.footer-info {
  padding: 40px 0;
}
.footer-info .info-box {
  width: fit-content;
  margin: auto;
  text-align: center;
}
.footer-info .info-box .footer_logo {
  width: 240px;
  margin: auto;
}
.footer-info .info-box p {
  line-height: 2;
}
.footer-info .info-box p.company-title {
  margin: 5px auto 20px;
}
footer .copy {
  background-color: #000;
  padding: 12px 0;
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
}

@media only screen and (max-width: 1080px) {
  footer .footer-inner {
    width: 90%;
    margin: auto;
  }
  .footer-link .inner {
    padding: 60px 0 20px;
  }
  .footer-nav .footer-nav-flex ul {
    width: calc(100% - 210px);
  }
  .footer-nav .footer-nav-flex ul li a {
    font-size: 0.9rem;
  }
  .footer-nav .footer-nav-flex .defalt-btn a {
    min-width: 210px;
    padding: 0 30px 0 10px;
  }
  .footer-nav .footer-nav-flex .defalt-btn {
    width: 210px;
  }
  .footer-nav .footer-nav-flex {
    gap: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .footer-link .link-flex {
    gap: 0px;
    flex-direction: column;
  }
  .footer-nav .footer-nav-flex {
    gap: 20px;
    flex-direction: column;
  }
  .footer-nav .footer-nav-flex ul {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: left;
  }
  .footer-nav .footer-nav-flex ul li {
    width: calc((100% - 20px) / 3);
  }
  .footer-nav .footer-nav-flex ul li.wide {
    width: calc((100% - 10px) * 0.666);
  }
  .footer-info .info-box .footer_logo {
    width: 200px;
  }
  .footer-info .info-box p {
    font-size: 0.9rem;
  }
  .footer-link img.link-icon {
    width: 250px;
  }
}