@charset "utf-8";

/* ===============================================
   CORU フッター
=============================================== */

.coru-footer,
.coru-footer *,
.coru-footer *::before,
.coru-footer *::after {
  box-sizing: border-box;
}

.coru-footer {
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 0;
  background: #eaf2ea;
  color: #23442f;
  font-family: inherit;
}

.coru-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  width: calc(100% - 48px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 54px 0 46px;
}

.coru-footer__brand {
  flex: 0 0 300px;
}

.coru-footer__logo {
  display: block;
  width: 240px;
  margin: 0;
  padding: 0;
}

.coru-footer__logo img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.coru-footer__corporate-logo {
  display: block;
  width: 126px;
  max-width: none;
  height: auto;
  margin: 34px 0 0;
  padding: 0;
  border: 0;
}

.coru-footer__navigation {
  padding-top: 3px;
}

.coru-footer__nav ul,
.coru-footer__legal ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coru-footer__nav li,
.coru-footer__legal li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.coru-footer__nav ul {
  gap: 18px 30px;
}

.coru-footer__nav a {
  color: #23442f;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.coru-footer__legal ul {
  gap: 18px 28px;
  margin-top: 26px;
}

.coru-footer__legal a {
  color: #23442f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.coru-footer__nav a:hover,
.coru-footer__legal a:hover {
  opacity: 1;
  text-decoration: none;
}

.coru-footer a:focus-visible {
  outline: 3px solid #b48237;
  outline-offset: 4px;
}

.coru-footer__copyright {
  width: 100%;
  margin: 0;
  padding: 25px 20px;
  background: #23442f;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

/* PC */
@media screen and (min-width: 901px) {
  .coru-footer__inner {
    align-items: center;
    gap: 0;
    padding: 77px 0 54px;
  }

  /* ロゴの上下位置調整：負の値で上、正の値で下 */
  .coru-footer__brand {
    margin-top: -18px;
  }

  .coru-footer__logo {
    width: 240px;
  }

  .coru-footer__navigation {
    flex: 0 0 624px;
    padding-top: 0;
  }

  .coru-footer__nav ul {
    gap: 18px 36px;
  }

  .coru-footer__legal ul {
    gap: 18px 30px;
  }

  .coru-footer__copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0 20px;
  }
}

/* タブレット */
@media screen and (max-width: 900px) {
  .coru-footer__inner {
    flex-direction: column;
    gap: 36px;
  }

  .coru-footer__brand {
    flex-basis: auto;
  }

  .coru-footer__navigation {
    padding-top: 0;
  }

  .coru-footer__nav ul {
    gap: 16px 24px;
  }
}

/* スマートフォン */
@media screen and (max-width: 640px) {
  .coru-footer__inner {
    width: calc(100% - 40px);
    padding: 42px 0 38px;
  }

  .coru-footer__brand {
    width: 100%;
  }

  .coru-footer__logo {
    width: 220px;
  }

  .coru-footer__corporate-logo {
    width: 110px;
    margin-top: 26px;
  }

  .coru-footer__nav ul,
  .coru-footer__legal ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .coru-footer__legal ul {
    margin-top: 22px;
  }

  .coru-footer__nav a {
    font-size: 15px;
  }

  .coru-footer__legal a {
    font-size: 13px;
  }

  .coru-footer__copyright {
    padding: 21px 16px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coru-footer__nav a,
  .coru-footer__legal a {
    transition: none;
  }
}
