@charset "utf-8";

.p-cta {
  position: relative;
  z-index: 30;
  display: flex;
  width: 100%;
  height: 380px;
  color: #ebecee;

  @media (width < 768px) {
    flex-direction: column;
    height: auto;
  }
}

.p-cta__tel {
  background: #99bf63;
  width: 100%;

  .p-cta__inner {
    padding: 20px 20px 0;

    @media (width < 768px) {
      padding: 40px 20px;
    }
  }
}

.p-cta__mail {
  background: #65b389;
  width: 100%;

  .p-cta__inner {
    padding: 10px 20px 0;

    @media (width < 768px) {
      padding: 40px 20px;
    }
  }
}

.p-cta__inner {
  margin: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 420px;
}

.p-cta__heading-en {
  font-size: 38px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.p-cta__heading-ja {
  font-weight: 600;
  line-height: 1.429;
  letter-spacing: 0.05em;
  padding-bottom: 22px;
}

.p-cta__text {
  padding-top: 18px;
  border-top: 1px solid #fff;
  text-align: center;
  width: 100%;
  letter-spacing: 0;
}

.p-cta__phone-number {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;

  img {
    width: 21px;
    flex-shrink: 0;
  }

  a {
    font-family: var(--font-lato);
    font-size: 32px;
    line-height: 1.438;
    letter-spacing: 0.05em;
  }
}

.p-cta__time {
  margin-top: 2px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.917;
  letter-spacing: 0.05em;
}

.p-cta__btn {
  margin-top: 22px;
  background: #fff;
  color: #68b48b;
  width: 250px;
  padding-right: 60px;
  line-height: 1;
  border: 1px solid #fff;

  p {
    color: #68b48b;
    transition: all 0.3s ease;
  }

  p::before {
    content: "";
    background: url("https://do-and-be.jp/system_panel/uploads/images/icon-mail-green.svg") no-repeat center center / contain;
    flex-shrink: 0;
    width: 16px;
    aspect-ratio: 1;
    transition: all 0.3s ease;
  }
}

.p-cta__btn:hover {
  background: #68b48b;
  color: #fff;
  border: 1px solid #fff;
  filter: none;
}

.p-cta__btn::after {
  background: url("https://do-and-be.jp/system_panel/uploads/images/arrow-right-green.svg") no-repeat center center / 10px;
  border-left: 1px solid #68b48b;
  max-width: 50px;
  transition: all 0.3s ease;
}

.p-cta__btn:hover {
  p {
    color: #68b48b;
    color: #fff;
  }
}

.p-cta__btn:hover::after {
  background: url("https://do-and-be.jp/system_panel/uploads/images/arrow-right-white.svg") no-repeat center center / 10px;
  border-left: 1px solid #fff;
}

.p-cta__btn:hover p::before {
  background: url("https://do-and-be.jp/system_panel/uploads/images/icon-mail-white.svg") no-repeat center center / contain;
}

.p-footer {
  background: #e8e8df;
  position: relative;
  z-index: 30;
}

.p-footer__nav {
  padding: 74px 0 56px;
  display: flex;
  justify-content: center;
  gap: 50px;
  border-bottom: 1px solid hsla(212, 100%, 17%, 0.1);

  @media (width < 768px) {
    gap: 30px;
  }
}

.p-footer__link {
  line-height: 1.429;
  letter-spacing: 0.05em;
}

.p-footer__link:hover {
  opacity: 0.7;
}

.p-footer__flex {
  padding: 85px 0 96px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 78px;

  @media (width < 1120px) {
    gap: 30px;
  }

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
    padding: 85px 20px 96px;
    width: fit-content;
    margin: auto;
  }
}

.p-footer__logo {
  flex: 0 0 22%;
  max-width: 300px;
  justify-content: end;

  @media (width < 1120px) {
    flex: 0 0 auto;
  }
}

.p-footer__info {
  letter-spacing: 0.05em;
  font-size: 13px;

  div:nth-of-type(1) {
    font-weight: 600;
    line-height: 1.923;
  }

  div:nth-of-type(2) {
    margin-top: 6px;
    line-height: 1.538;
  }

  div:nth-of-type(3) {
    margin-top: 9px;
    font-weight: 400;
    line-height: 1.538;
    opacity: 0.8;
  }
}

.p-footer__copyright {
  border-top: 1px solid hsla(212, 100%, 17%, 0.1);
  margin: auto;
  width: 85%;
  padding: 23px 0 33px;
  text-align: center;
  color: #6f6f6f;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.05em;
}
