@charset "UTF-8";

/* ========================================
  Renewal Footer
======================================== */

html {
  scroll-behavior: smooth;
}

.renewal-footer {
  --footer-main-color: #f57800;
  --footer-text-color: #333333;
  --footer-sub-text-color: #666666;
  --footer-bg-color: #ffffff;
  --footer-border-color: #cccccc;

  position: relative;
  width: 100%;
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
  font-family:
    "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "メイリオ",
    Meiryo,
    sans-serif;
}

.renewal-footer *,
.renewal-footer *::before,
.renewal-footer *::after {
  box-sizing: border-box;
}

.renewal-footer ul,
.renewal-footer ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.renewal-footer p {
  margin: 0;
}

.renewal-footer a {
  color: inherit;
  text-decoration: none;
}

.renewal-footer img,
.renewal-footer svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ========================================
  Main
======================================== */

.renewal-footer .renewal-footer__main {
  position: relative;
  padding: 80px 20px;
}

.renewal-footer .renewal-footer__container {
  width: min(100%, 900px);
  margin: 0 auto;
}

.renewal-footer .renewal-footer__shop-logo {
  width: 420px;
  max-width: 100%;
  margin: 0 auto;
}

.renewal-footer .renewal-footer__shop-logo img {
  width: 100%;
}

/* ========================================
  Category
======================================== */

.renewal-footer .renewal-footer__category-navigation {
  margin-top: 60px;
}

.renewal-footer .renewal-footer__category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.renewal-footer .renewal-footer__category-link {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 18.5px 24px;
  border-radius: 5px;
  background-color: var(--footer-main-color);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.renewal-footer .renewal-footer__category-link:hover,
.renewal-footer .renewal-footer__category-link:focus-visible {
  opacity: 0.8;
  transform: translateY(-1px);
}

.renewal-footer .renewal-footer__category-arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  transform: translateY(-50%) rotate(45deg);
}

/* ========================================
  Sub navigation
======================================== */

.renewal-footer .renewal-footer__sub-navigation {
  margin-top: 40px;
}

.renewal-footer .renewal-footer__sub-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px 50px;
  flex-wrap: wrap;
}

.renewal-footer .renewal-footer__sub-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--footer-sub-text-color);
  font-size: 14px;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.renewal-footer .renewal-footer__sub-item a:hover,
.renewal-footer .renewal-footer__sub-item a:focus-visible {
  color: var(--footer-main-color);
}

.renewal-footer .renewal-footer__external-icon {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 13px;
  height: 12px;
}

.renewal-footer .renewal-footer__external-icon::before,
.renewal-footer .renewal-footer__external-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
}

.renewal-footer .renewal-footer__external-icon::before {
  top: 0;
  right: 0;
  background-color: #ffffff;
}

.renewal-footer .renewal-footer__external-icon::after {
  bottom: 0;
  left: 0;
  z-index: -1;
}

/* ========================================
  Banners
======================================== */

.renewal-footer .renewal-footer__banner-navigation {
  margin-top: 70px;
}

.renewal-footer .renewal-footer__banner-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.renewal-footer .renewal-footer__banner-item a {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.renewal-footer .renewal-footer__banner-item a:hover,
.renewal-footer .renewal-footer__banner-item a:focus-visible {
  opacity: 0.85;
  transform: translateY(-2px);
}

.renewal-footer .renewal-footer__banner-item img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}

/* ========================================
  Lower
======================================== */

.renewal-footer .renewal-footer__lower {
  margin-top: 0;
  padding: 20px 20px 30px;
  border-top: 1px solid var(--footer-border-color);
}

.renewal-footer .renewal-footer__lower-inner {
  display: flex;
  width: min(100%, 900px);
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}

.renewal-footer .renewal-footer__company-logo {
  width: 160px;
}

.renewal-footer .renewal-footer__company-logo img {
  width: 100%;
}

.renewal-footer .renewal-footer__copyright {
  margin-top: 20px;
  color: #666;
  font-family: "Univers Next Pro";
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

/* ========================================
  Page top
======================================== */

.renewal-footer .renewal-footer__page-top {
  position: fixed;
  right: 46px;
  bottom: 18px;
  z-index: 900;
  display: block;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--footer-main-color);
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.renewal-footer .renewal-footer__page-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.renewal-footer .renewal-footer__page-top:hover,
.renewal-footer .renewal-footer__page-top:focus-visible {
  opacity: 0.75;
  transform: translateY(-3px);
}

@media screen and (min-width: 768px) {
    .renewal-footer .renewal-footer__category-link br {
        display: none;
    }
    .renewal-footer .renewal-footer__page-top.is-docked {
        position: absolute;
        top: 40px;
        right: 46px;
        bottom: auto;
    }
}

@media screen and (max-width: 1024px) {
    .renewal-footer .renewal-footer__category-link {
        font-size: 14px;
    }
}

/* ========================================
  SP
======================================== */

@media screen and (max-width: 767px) {
  .renewal-footer .renewal-footer__main {
    padding: 50px 20px 90px;
  }

  .renewal-footer .renewal-footer__container {
    width: 100%;
  }

  .renewal-footer .renewal-footer__shop-logo {
    width: 340px;
  }

  .renewal-footer .renewal-footer__category-navigation {
    margin-top: 40px;
  }

  .renewal-footer .renewal-footer__category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .renewal-footer .renewal-footer__category-link {
    height: 44px;
    min-height: 0;
    padding: 0;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.2;
  }

  .renewal-footer .renewal-footer__category-arrow {
    right: 7px;
    width: 7px;
    height: 7px;
  }

  .renewal-footer .renewal-footer__sub-navigation {
    padding: 0 25px;
  }

  .renewal-footer .renewal-footer__sub-list {
    gap: 10px 30px;
  }

  .renewal-footer .renewal-footer__sub-item a {
    font-size: 13px;
  }

  .renewal-footer .renewal-footer__banner-navigation {
    margin-top: 40px;
  }

  .renewal-footer .renewal-footer__banner-list {
    grid-template-columns: 1fr;
    gap: 30px;
    width: 280px;
    max-width: 100%;
    margin: 0 auto;
  }

  .renewal-footer .renewal-footer__banner-item a {
    border-radius: 14px;
  }

  .renewal-footer .renewal-footer__lower {
    padding: 20px 20px 30px;
  }

  .renewal-footer .renewal-footer__company-logo {
    width: 160px;
  }

  .renewal-footer .renewal-footer__copyright {
    margin-top: 20px;
    font-size: 10px;
    white-space: nowrap;
  }

  .renewal-footer .renewal-footer__page-top {
    right: 12px;
    bottom: 24px;
    width: 48px;
    height: 48px;
  }

  /* SP：フッター到達時はmain右下へ配置 */
  .renewal-footer .renewal-footer__page-top.is-docked {
    position: absolute;
    right: 12px;
    bottom: 30px;
  }
}

/* ========================================
  Small SP
======================================== */

@media screen and (max-width: 374px) {
  .renewal-footer .renewal-footer__main {
    padding-right: 16px;
    padding-left: 16px;
  }

  .renewal-footer .renewal-footer__category-list {
    gap: 12px;
  }

  .renewal-footer .renewal-footer__category-link {
    font-size: 12px;
  }

  .renewal-footer .renewal-footer__sub-navigation {
    padding: 0 8px;
  }

  .renewal-footer .renewal-footer__sub-list {
    column-gap: 18px;
  }

  .renewal-footer .renewal-footer__copyright {
    font-size: 9px;
  }
}

/* ========================================
  Reduced motion
======================================== */

@media (prefers-reduced-motion: reduce) {
  .renewal-footer .renewal-footer__category-link,
  .renewal-footer .renewal-footer__banner-item a,
  .renewal-footer .renewal-footer__page-top {
    transition: none !important;
  }
}