@charset "UTF-8";

/* /////////////////////////////////////////////////////////
footer
///////////////////////////////////////////////////////// */

/* ==================================================
pc
structure-footer
================================================== */

.structure-footer {
  color: var(--color-white);
  background-color: var(--color-main);
}

.structure-footer .container {
  padding: 64px 0 48px;
  text-align: center;
}


/* --------------------------
footer-nav
-------------------------- */

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
}

.footer-nav-link {
  position: relative;
  display: inline-block;
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
}

.footer-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.footer-nav-link:hover::after {
  transform: scaleX(1);
}

/* メニュー間の区切り線 */
.footer-nav-item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  margin-left: 24px;
  /* aは0で透明 */
  background-color: rgba(255, 255, 255, 0.4);
}


/* --------------------------
sns
-------------------------- */

.footer-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}

.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  line-height: 0;
}

.footer-sns-link img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}


/* --------------------------
logo
-------------------------- */

.footer-logo {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.footer-logo-link {
  position: relative;
  display: block;
  width: 340px;
}

.footer-logo-img {
  display: block;
  width: 340px;
  height: auto;
}

.footer-logo-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover .footer-logo-img-hover {
  opacity: 1;
}


/* --------------------------
事務所情報
-------------------------- */

.footer-info {
  width: 100%;
  max-width: 620px;
  margin: 36px auto 0;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
}

.footer-info-list {
  margin: 0;
}

.footer-info-item {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 0.2rem 0;
}

.footer-info-item + .footer-info-item {
  margin-top: 0.2rem;
}

.footer-info-item dt {
  font-weight: 700;
}

.footer-info-item dd {
  margin: 0;
}

.footer-info-note {
  margin-top: 0.8rem !important;
}

.footer-info-note a {
  position: relative;
  /* font-weight: 700; */
}

/* リンク下線 */
/* .footer-info-note a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background-color: var(--color-main);
} */


/* --------------------------
copyright
-------------------------- */

.footer-copy {
  margin-top: 36px;
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
}


/* ####################################################################
responsive
#################################################################### */

@media (max-width: 777px) {

  .structure-footer .container {
    padding: 48px 0 40px;
  }

  .footer-nav-list {
    gap: 18px 28px;
  }

  .footer-nav-link {
    font-size: 0.875rem;
  }

  .footer-sns {
    margin-top: 28px;
  }

  .footer-logo {
    margin-top: 32px;
  }

  .footer-logo-link,
  .footer-logo-img {
    width: 220px;
  }

  .footer-info {
    margin-top: 32px;
    font-size: 0.8125rem;
  }

  .footer-info-item {
    grid-template-columns: 6.5em 1fr;
  }

  .footer-copy {
    margin-top: 32px;
    font-size: 0.6875rem;
  }

  /* メニューの縦罫線を非表示 */
  .footer-nav-item::after {
    display: none !important;
  }

}