/* FUJI WiFi サイトフッター（common/layout_fuji.twig）のリンクエリア */

footer.fuji-footer .footer-sitemap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  text-align: left;
}

footer.fuji-footer .footer-sitemap-list {
  margin: 0;
}

footer.fuji-footer .footer-sitemap-title {
  margin-bottom: 15px;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: bold;
  color: rgba(255, 255, 255, .75);
}

footer.fuji-footer .footer-sitemap-list dd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: .2s all;
}

footer.fuji-footer .footer-sitemap-list dd:hover {
  opacity: .8;
}

footer.fuji-footer .footer-sitemap-list dd+dd {
  margin-top: 15px;
}

footer.fuji-footer .footer-sitemap-list dd a {
  font-size: 1.3rem;
  line-height: 1.4;
  color: #fff;
}

footer.fuji-footer .footer-sitemap-list .dli-caret-circle-fill-right {
  flex-shrink: 0;
}

footer.fuji-footer .footer-sitemap-list .dli-caret-circle-fill-right::before {
  color: var(--fuji-po-blue-1);
}

@media (min-width: 768px) and (max-width: 1280px) {
  footer.fuji-footer .footer-sitemap {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media screen and (max-width: 767px) {
  footer.fuji-footer .footer-sitemap {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    margin-top: 20px;
    padding-bottom: 30px;
  }
}

/* 1列のサイトマップ（契約者限定プラン LP：common/layout_special_plan.twig） */
footer.fuji-footer .footer-sitemap.footer-sitemap-single {
  grid-template-columns: max-content;
  justify-content: center;
}

footer.fuji-footer .footer-sitemap-single .footer-sitemap-list dd {
  gap: 15px;
}

@media screen and (max-width: 767px) {
  footer.fuji-footer .footer-sitemap.footer-sitemap-single {
    grid-template-columns: 1fr;
  }
}

/* 法人向け申込エリア（/business：common/layout_fuji.twig） */
footer.fuji-footer .inner {
  max-width: 980px;
}
footer.fuji-footer #footer-entry.footer-entry-corp {
  padding: 0 0 25px;
}

/* 上部の富士山（直前のグレー背景から続く） */
footer.fuji-footer #footer-entry.footer-entry-corp::before {
  content: '';
  display: block;
  margin-bottom: -20px;
  padding-bottom: calc(154 / 1920 * 100%);
  background: url(../img/footer-fuji-bg-gray.svg) no-repeat 50% 100% / 100% auto;
}

footer.fuji-footer .footer-entry-corp .row {
  gap: 30px;
}

footer.fuji-footer .footer-entry-corp .footer-entry-button {
  flex: 1;
  width: 300px;
  height: 70px;
  border-radius: 90px;
}

footer.fuji-footer .footer-entry-corp .footer-entry-button a {
  padding: 20px 45px 20px 20px;
  font-size: 1.8rem;
}

footer.fuji-footer .footer-entry-corp .footer-entry-button img {
  top: auto;
  bottom: -25px;
  left: -150px;
  max-width: 160px;
}

footer.fuji-footer .footer-entry-corp-consult {
  background: var(--fuji-po-gray-1);
}

footer.fuji-footer .footer-entry-corp-estimate {
  background: var(--fuji-po-blue-1);
}

footer.fuji-footer .footer-entry-corp-apply a .dli-caret-circle-fill-right::before {
  color: var(--fuji-po-red);
}

footer.fuji-footer .footer-entry-corp-consult a .dli-caret-circle-fill-right::before {
  color: var(--fuji-po-gray-1);
}

footer.fuji-footer .footer-entry-corp-estimate a .dli-caret-circle-fill-right::before {
  color: var(--fuji-po-blue-1);
}

@media (min-width: 768px) and (max-width: 1280px) {
  footer.fuji-footer .inner {
    max-width: 680px;
  }
  footer.fuji-footer #footer-entry.footer-entry-corp .inner {
    padding: 0 20px 0 110px;
    box-sizing: border-box;
  }

  footer.fuji-footer .footer-entry-corp .row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  footer.fuji-footer .footer-entry-corp .footer-entry-button {
    flex: 0 0 calc(50% - 15px / 2);
    height: 50px;
  }

  footer.fuji-footer .footer-entry-corp .footer-entry-button a {
    padding: 15px 40px 15px 15px;
    font-size: 1.5rem;
  }

  footer.fuji-footer .footer-entry-corp .footer-entry-button img {
    bottom: -75px;
  }
}

@media screen and (max-width: 767px) {
  footer.fuji-footer .inner {
    max-width: 450px;
  }
  footer.fuji-footer #footer-entry.footer-entry-corp .inner {
    padding: 0 0 0 120px;
  }

  footer.fuji-footer #footer-entry.footer-entry-corp::before {
    padding-bottom: 25vw;
    margin-bottom: -30px;
    background-position: 50% 0;
    background-size: cover;
  }

  footer.fuji-footer .footer-entry-corp .footer-entry-button {
    flex: none;
    width: 220px;
    height: auto;
    border-radius: 50px;
  }

  footer.fuji-footer .footer-entry-corp .footer-entry-button a {
    padding: 8.5px 10px 8.5px 0;
    font-size: 1.4rem;
  }

  footer.fuji-footer .footer-entry-corp .footer-entry-button img {
    top: 50%;
    bottom: auto;
    right: auto;
    left: -10px;
    max-width: 130px;
  }
}
