/**
 * CSS File: footer.css
 * 2026-6-16 | Final checked
 */

.p-footer {
  position: relative;
  background-color: #a9e4e4;
  color: #333333;
  padding: 40px 0 40px;
  font-size: 0.975rem;
  margin-top: -1px;
  opacity: 1;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
  z-index: var(--z_0-base);
}

.p-footer__inner {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.p-footer__nav-group {
  text-align: center;
}

.p-footer__grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}

.p-footer__logo img {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 15px;
}

.p-footer__desc {
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
  padding: 0 10px;
}

.p-footer__address p {
  display: grid;
  grid-template-columns: 30px 1fr;
  margin-bottom: 8px;
}

.p-footer__address p:last-child {
  margin-bottom: 0;
}

.p-footer__label {
  font-family: monospace;
  font-weight: bold;
}

.p-footer__title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: inline-block;
  padding-bottom: 5px;
}

.p-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-footer__list li {
  margin-bottom: 10px;
}

.p-footer__list a {
  color: #333333;
  text-decoration: none;
  opacity: 0.8;
  position: relative;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.p-footer__list a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #f69381;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.p-footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.p-footer__copyright {
  font-size: 0.7875rem;
}

.p-footer__sns {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 30px;
}

.c-footer-sns__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.c-footer-sns__item img {
  width: 32px;
  height: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .p-footer {
    padding: 60px 0 40px;
  }

  .p-footer__inner {
    padding: 0 40px;
  }

  .p-footer__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    text-align: left;
    gap: 50px;
  }

  .p-footer__logo img {
    margin: 0 0 20px 0;
  }

  .p-footer__desc {
    padding: 0;
  }

  .p-footer__title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
  }

  .p-footer__copyright {
    font-size: 0.85rem;
  }
  .p-footer__sns {
    margin-bottom: 0;
  }

  .p-footer__list a:hover {
    opacity: 1;
  }

  .p-footer__list a:hover::after {
    transform: scaleX(1);
  }

  .c-footer-sns__item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.6);
  }

  .c-footer-sns__item:hover img {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media screen and (min-width: 1024px) {
  .p-footer__inner {
    padding: 0 60px;
  }
}
