/* ==================================================
   Footer
================================================== */

.footer {
  position: relative;
  width: 100%;
  background-color: #FFFFFF;
}


/* ==================================================
   Footer CTA
================================================== */

.footer-cta {
  position: relative;
  padding: 100px 0 70px;
  background-color: #FFFFFF;
}

.footer-cta__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 55px;
}

.footer-cta__inner-st {
  display: flex;
  justify-content: center;
  gap: 55px;
}


/* ==================================================
   CTA Card
================================================== */

.footer-cta__card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 120px;
  padding: 26px 88px 26px 34px;
  color: #000000;
  background-color: #F5F2E9;
  border: 1px solid #20460C;
  overflow: hidden;
  transition: background-color 0.35s ease;
}

.footer-cta__card:hover {
  background-color: #EFEADB;
}


/* ==================================================
   CTA Decoration
================================================== */

.footer-cta__deco {
  position: absolute;
  z-index: 0;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.footer-cta__deco--left {
  top: 0;
  left: 0;
  width: 105px;
}

.footer-cta__deco--right {
  right: 0;
  bottom: 0;
  width: 105px;
}


/* ==================================================
   CTA Content
================================================== */

.footer-cta__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.footer-cta__title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-cta__icon {
  width: 24px;
  flex-shrink: 0;
}

.footer-cta__icon img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-cta__title {
  margin: 0;
  color: #000000;
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.footer-cta__text {
  margin-top: 8px;
  color: #000000;
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
}


/* ==================================================
   CTA Arrow Circle
================================================== */

.footer-cta__card::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 28px;
  width: 30px;
  height: 30px;
  background-color: #20460C;
  border-radius: 50%;
  transform: translateY(-50%);
}


/* ==================================================
   CTA Arrow
================================================== */

.footer-cta__card::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 40px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #FFFFFF;
  border-right: 1px solid #FFFFFF;
  transform: translateY(-50%) rotate(45deg);
}


/* ==================================================
   Footer Main
================================================== */

.footer-main {
  border-top: 1px solid #9B9B9B;
  background-color: #FFFFFF;
}

.footer-main__inner {
  padding-top: 34px;
  padding-bottom: 38px;
}


/* ==================================================
   Footer Nav
================================================== */

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 42px;
}

.footer-nav a {
  display: block;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.55;
}

.footer-nav p {
  margin: 0;
  color: #000000;
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.03em;
}


/* ==================================================
   Footer Logo
================================================== */

.footer-logo {
  width: 230px;
  margin: 38px auto 0;
}

.footer-logo a {
  display: block;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}


/* ==================================================
   Copyright
================================================== */

.footer-copy {
  padding: 10px 20px;
  background-color: #F5F2E9;
  text-align: center;
  width: 100%;
}

.footer-copy p {
  margin: 0;
  color: #000000;
  font-family: var(--font-base);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.03em;
}


/* ==================================================
   1280px
================================================== */

@media screen and (max-width: 1280px) {

  .footer-cta__inner {
    gap: 35px;
  }

  .footer-cta__card {
    padding-left: 28px;
    padding-right: 80px;
  }

  .footer-cta__deco--left,
  .footer-cta__deco--right {
    width: 95px;
  }

  .footer-nav {
    gap: 16px 30px;
  }

}


/* ==================================================
   Tablet
================================================== */

@media screen and (max-width: 1024px) {

  .footer-cta {
    padding: 80px 0 60px;
  }

  .footer-cta__inner {
    gap: 24px;
  }

  .footer-cta__card {
    min-height: 105px;
    padding: 22px 70px 22px 24px;
  }

  .footer-cta__title {
    font-size: 16px;
  }

  .footer-cta__text {
    font-size: 10px;
  }

  .footer-cta__deco--left,
  .footer-cta__deco--right {
    width: 82px;
  }

  .footer-cta__card::after {
    right: 22px;
    width: 28px;
    height: 28px;
  }

  .footer-cta__card::before {
    right: 33px;
  }

  .footer-nav {
    gap: 14px 24px;
  }

}


/* ==================================================
   SP
================================================== */

@media screen and (max-width: 768px) {

  .footer-cta {
    padding: 70px 0 50px;
  }

  .footer-cta__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-cta__card {
    min-height: 100px;
    padding: 22px 62px 22px 20px;
  }

  .footer-cta__title-wrap {
    gap: 10px;
  }

  .footer-cta__icon {
    width: 22px;
  }

  .footer-cta__title {
    font-size: 15px;
  }

  .footer-cta__text {
    margin-top: 7px;
    font-size: 10px;
  }

  .footer-cta__deco--left,
  .footer-cta__deco--right {
    width: 76px;
  }

  .footer-cta__card::after {
    right: 18px;
    width: 26px;
    height: 26px;
  }

  .footer-cta__card::before {
    right: 28px;
    width: 5px;
    height: 5px;
  }

  .footer-main__inner {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    justify-items: start;
  }

  .footer-nav p {
    font-size: 12px;
  }

  .footer-logo {
    width: 190px;
    margin-top: 40px;
  }

}


/* ==================================================
   Small SP
================================================== */

@media screen and (max-width: 480px) {

  .footer-cta__card {
    min-height: 96px;
  }

  .footer-cta__title {
    font-size: 14px;
  }

  .footer-cta__deco--left,
  .footer-cta__deco--right {
    width: 68px;
  }

  .footer-nav {
    gap: 16px 20px;
  }

  .footer-nav p {
    font-size: 11px;
  }

  .footer-logo {
    width: 170px;
  }

}