/**
 * CSS File: footer.css
 * 2026-06-25 | Final checked
 * 2026-07-14 | Address structure updated & Logo alignment fixed for mobile
 * 2026-07-30 | Footer structure and duplicate rules cleaned up
 */

/* ==========================================================================
   1. Base Components (Smartphone Vertical)
   ========================================================================== */
.p-footer {
  position: relative;
  z-index: var(--z_0-base);
  margin-top: -1px;
  padding: 40px 0;
  background-color: #142f40;
  color: #eeeeee;
  font-size: 0.975rem;
  opacity: 1;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

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

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

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

.p-footer__address p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  line-height: 1.6;
  white-space: pre-wrap;
}

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

.p-footer__label {
  display: inline-block;
  width: 35px;
  flex-shrink: 0;
  font-family: monospace;
  font-weight: bold;
}

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

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

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

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

.p-footer__list .p-footer__link-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.p-footer__link-desc {
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: normal;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.p-footer__link-block:hover .p-footer__link-desc {
  opacity: 0.9;
}

.p-footer__link-note {
  margin-top: 4px;
  margin-bottom: 12px;
  padding-left: 2px;
  color: #cccccc;
  font-size: 0.735rem;
  font-weight: normal;
  line-height: 1.5;
  opacity: 0.55;
}

.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;
  border: 1px solid #777777;
  border-radius: 20%;
  background: transparent;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    opacity 0.3s ease;
}

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

.c-footer-sns__item:hover {
  border-color: #ffffff;
  opacity: 0.8;
}

.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;
}

/* ==========================================================================
   2. Tablet / Desktop
   ========================================================================== */
@media screen and (min-width: 768px) and (min-height: 501px) {
  .p-footer {
    padding: 60px 0 40px;
  }

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

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

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

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

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

  .p-footer__sns {
    margin-bottom: 0;
  }

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

  .c-footer-sns__item:hover {
    border-color: #ffffff;
    background-color: rgba(231, 222, 205, 0.1);
  }

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

/* ==========================================================================
   3. Large Desktop
   ========================================================================== */
@media screen and (min-width: 1024px) and (min-height: 501px) {
  .p-footer__inner {
    padding: 0 60px;
  }

  .p-footer__grid {
    gap: 50px;
  }
}



.p-footer__address {
    font-style: normal;
}