@charset "utf-8";

.p-cta {
  background: #f3fafd;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  @media (width < 768px) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.p-cta-card {
  margin-top: -20px;
  padding: 62px clamp(10px, calc(68vw / 13.66), 68px) 52px;
  color: #fff;

  @media (width < 1120px) {
    padding: 40px 16px;
  }

  @media (width < 768px) {
    margin-top: 0;
    width: 100%;
    max-width: 480px;
  }
}

.p-cta-card.is-tel {
  background: var(--color-orange);
  border-radius: 0 20px 20px 0;

  @media (width < 768px) {
    margin-top: -20px;
    border-radius: 20px;
  }

  .p-cta-card__icon {
    width: 34px;
  }
}

.p-cta-card.is-mail {
  background: var(--color-green);
  border-radius: 20px;

  .p-cta-card__icon {
    width: 30px;
  }

  .p-cta-card__link {
    color: var(--color-green);
    border: 1px solid var(--color-green);
  }

  .p-cta-card__link:hover {
    color: #fff;
    background: var(--color-green);
    border: 1px solid #fff;
  }

  .p-cta-card__link::after {
    background: url('https://ms-rentalcar.com/system_panel/uploads/images/arrow-green.svg') no-repeat center center / contain;
  }

  .p-cta-card__link:hover::after {
    background: url('https://ms-rentalcar.com/system_panel/uploads/images/arrow-white.svg') no-repeat center center / contain;
  }
}

.p-cta-card.is-reservation {
  background: var(--color-blue);
  border-radius: 20px 0 0 20px;

  @media (width < 768px) {
    border-radius: 20px;
  }

  .p-cta-card__icon {
    width: 30px;
  }

  .p-cta-card__link {
    color: var(--color-blue);
  }

  .p-cta-card__link:hover {
    color: #fff;
    background: var(--color-blue);
    border: 1px solid #fff;
  }

  .p-cta-card__link::after {
    background: url('https://ms-rentalcar.com/system_panel/uploads/images/arrow-blue.svg') no-repeat center center / contain;
  }

  .p-cta-card__link:hover::after {
    background: url('https://ms-rentalcar.com/system_panel/uploads/images/arrow-white.svg') no-repeat center center / contain;
  }
}

.p-cta-card__title {
  font-family: var(--font-rounded);
  font-size: 26px;
  font-size: clamp(18px, calc(26vw / 13.66), 26px);
  line-height: normal;
}

.p-cta-card__wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 42px;

  @media (width < 768px) {
    margin: 10px 0 12px;
  }
}

.p-cta-card__icon {
  object-fit: contain;
}

.p-cta-card__en {
  font-family: var(--font-rounded);
  font-size: 18px;

  @media (width < 1120px) {
    font-size: 16px;
  }
}

.p-cta-card__tel {
  text-align: center;
  font-size: 44px;
  font-size: clamp(30px, calc(44vw / 13.66), 44px);
  font-family: var(--font-lato);
  line-height: 1.5;
  min-height: 65px;

  @media (width < 768px) {
    min-height: auto;
  }
}

.p-cta-card__tel a:hover {
  opacity: 0.7;
}

.p-cta-card__hours {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.p-cta-card__link {
  margin: 0 auto;
  max-width: 313px;
  width: 100%;
  height: 65px;
  border-radius: 100px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  transition: all 0.3s ease;

  @media (width < 1120px) {
    font-size: 16px;
  }

  p {
    transition: all 0.3s ease;
  }
}

.p-cta-card__link::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
  width: 17px;
  height: 17px;
  transition: all 0.3s ease;

  @media (width < 1120px) {
    right: 16px;
  }
}

.p-footer {
  background: #f3fafd;
  padding: 75px 0 50px;

  @media (width < 768px) {
    padding: 50px 0 50px;
  }

  .l-inner {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;

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

.p-footer__body {
  width: fit-content;
}

.p-footer__logo {
  display: block;
  width: 282px;
  aspect-ratio: 1254/475;

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

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.p-footer__address {
  margin-top: 20px;
  font-size: 14px;
  line-height: calc(26 / 14);
  color: #4f4f4f;
}

.p-footer__nav {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  gap: clamp(20px, calc(60vw / 13.66), 60px);

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

  @media (width < 768px) {
    margin-top: 0;
    gap: 30px;
    flex-direction: column;
  }
}

.p-footer__nav-link {
  font-size: 14px;
  color: #483c42;
}

.p-footer__nav-link.is-newtab {
  display: flex;
  align-items: center;
  gap: 4px;

  img {
    width: 13px;
    height: 13px;
    object-fit: contain;
  }
}

.p-footer__nav-link a:hover,
.p-footer__nav-link.is-newtab:hover {
  opacity: 0.7;
}

.p-footer__copyright {
  margin: 370px auto 0;
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  color: #797979;
  line-height: normal;

  @media (width < 768px) {
    margin: 120px auto 0;
  }
}
