@charset "utf-8";

/* ----------------------------------------
	footer.css
---------------------------------------- */
.footer-wrapper {
  background-image: url(../images/footer-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#contact {
  padding-top: 4rem;
  margin: 0 15%;
}

#contact h2 {
  position: relative;
  display: inline-block;
  text-align: center;
  padding-bottom: 2rem;
  margin-left: 10rem;
}

.contact-container-wrapper {
  background-color: #fff;
  padding: 4rem 0;
  border-radius: 50px 0 50px 0;
  margin-bottom: 4rem;
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
}

.contact-container {
  width: 70%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: 30px 0 30px 0;
}

.contact-left {
  flex: 1;
}

.contact-right {
  flex: 1;
}

.contact-container {
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
  margin-bottom: 2rem;
}

.bg-orange {
  background-image: linear-gradient(90deg, #f6ac2c, #fd9544);
}

.bg-green {
  background-image: linear-gradient(90deg, #90d9ca, #47c1aa);
}

.bg-blue {
  background-image: linear-gradient(90deg, #97bbe6, #72a1de);
}

.contact-left p {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-link {
  width: fit-content;
  background-color: #fff;
  padding: 0.5rem 1.5rem;
  margin: 0 auto 1rem auto;
  border-radius: 50px;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  transform: scale(1.1);
}

.contact-link i {
  color: #fd9544;
}

.contact-link span {
  color: #72a1de;
  font-family: "MPLUS1", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
}

.contact-right p {
  color: #fff;
  text-align: center;
}

.footer-middle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin: 0 15% 4rem 15%;
}

.footer-middle p,
.footer-middle a {
  color: #fff;
  font-size: 0.9rem;
}

.footer-middle a:hover {
  color: #fd9544;
}

.footer-middle-right {
  display: flex;
  gap: 2rem;
}

.footer-middle-right p:not(:first-of-type) {
  margin-left: 1rem;
}

.footer-middle-left {
  display: flex;
  gap: 0.5rem;
}

.footer-middle-left i {
  color: #72a1de;
  font-size: 2rem;
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  text-align: center;
  line-height: 50px;
  transition: transform 0.3s ease;
}

.footer-middle-left i:hover {
  color: #fd9544;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
}

.footer-nav-list {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.footer-nav-list li {
  padding: 0 1.5rem;
  border-right: 1px solid #fff;
  font-size: 0.8rem;
}

.footer-nav-list li a {
  color: #fff;
}

.footer-nav-list li a:hover {
  color: #fd9544;
}

.footer-nav-list li:last-child {
  border-right: none;
}

.footer-divider {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin: 1rem 0 0.5rem 0;
}

.copyright {
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  padding-bottom: 1rem;
}

/* 画面幅1440px以下 */
@media screen and (max-width: 1440px) {
  .contact-container {
    width: 90%;
  }
}

/* 画面幅1280px以下 */
@media screen and (max-width: 1280px) {
  .contact-container {
    display: block;
    width: 70%;
    padding: 2rem 1rem;
  }
}

/* 画面幅1180px以下 */
@media screen and (max-width: 1180px) {
  #contact {
    margin: 0 6%;
  }

  .contact-left {
    margin-bottom: 2rem;
  }

  /* footer-nav */
  .footer-middle {
    margin: 0 6% 4rem 6%;
  }

  .footer-nav-list li {
    padding: 0 1rem;
  }
}

/* 画面幅1024px以下 */
@media screen and (max-width: 1024px) {
  /* footer-nav */
  .footer-middle {
    align-items: end;
  }

  .footer-middle-right {
    display: block;
  }

  .footer-middle-right address {
    margin-bottom: 2rem;
  }
}

/* 画面幅767px以下 */
@media screen and (max-width: 767px) {
  .contact-container-wrapper {
    padding: 2rem;
  }

  .contact-container {
    width: 100%;
  }

  .contact-left {
    margin-bottom: 1rem;
  }

  /* footer-nav */
  .footer-nav-list {
    display: grid;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-nav-list li {
    padding: 0.5rem 0;
  }

  .footer-nav-list li:last-child {
    border-right: 1px solid #fff;
  }

  .footer-nav-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 画面幅575px以下 */
@media screen and (max-width: 575px) {
  #contact {
    margin: 0 1rem;
  }

  .contact-container-wrapper {
    padding: 1rem;
  }

  #contact h2 {
    display: block;
    margin-left: 0rem;
  }

  .contact-link span {
    font-size: 1rem;
  }

  .footer-middle {
    display: block;
  }

  .contact-license {
    margin-bottom: 2rem;
  }

  .footer-middle-left {
    justify-content: end;
  }

  /* footer-nav */
  .footer-nav-list li:nth-child(n + 5) {
    grid-column: span 1;
  }

  .footer-nav-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-nav-list li:nth-child(4),
  .footer-nav-list li:nth-child(5) {
    grid-column: span 1;
  }

  .footer-nav-list li:nth-child(6),
  .footer-nav-list li:nth-child(7) {
    grid-column: span 1;
  }
}

/* 画面幅480px以下 */
@media screen and (max-width: 480px) {
  .contact-link {
    border-radius: 50px;
    padding: 0.5rem 1rem;
  }

  .contact-link span {
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
  }

  .contact-right p {
    font-size: 0.85rem;
  }
}

/* 画面幅375px以下 */
@media screen and (max-width: 375px) {
}
