@charset "utf-8";
.cta {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cta::after {
  position: absolute;
  z-index: 2;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--color-gb-filter);
  top: 0;
  left: 0;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .cta {
    max-height: 540px;
  }
}

.cta__link {
  padding: clamp(70px, 8.79vw, 120px) clamp(20px, 13.18vw, 180px);
  display: block;
}

.cta__link:hover {
  opacity: 1;
}

@media screen and (min-width: 1367px) {
  .cta__link {
    padding: 120px 13.18vw;
  }
}

.cta__bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  transition: transform 0.5s ease;
}
.cta__link:hover .cta__bg-image {
  transform: scale(1.1);
}

.cta__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 3;
}

@media screen and (min-width: 768px) {
  .cta__container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta__title {
  aspect-ratio: 447/157;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .cta__title {
    width: min(32.73vw, 447px);
  }
}

.cta__sub-title {
  aspect-ratio: 181/14;
  width: 100%;
  height: auto;
}
@media screen and (min-width: 768px) {
  .cta__sub-title {
    width: min(13.26vw, 181px);
  }
}

.cta__title img,
.cta__sub-title img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta__button p {
  aspect-ratio: 1/1;
  width: clamp(200px, 21.96vw, 300px);
  margin-inline: auto;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: calc(30 / 1000 * 1em);
  line-height: 1.2;
  transition: transform 0.5s ease, background 0.5s ease;
  color: var(--color-white);
}
.cta__link:hover .cta__button p {
  transform: scale(1.1);
  border: 1px solid var(--color-title-ja);
  background: var(--color-title-ja);
}

/* =====================
footer
====================== */
.footer {
  position: relative;
  width: 100%;
  padding: 80px 20px 100px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--color-grade-t);
}

.footer::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/bg-filter.svg) repeat center center/contain;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  .footer {
    padding: 120px clamp(40px, 8.72vw, 119px) 218px;
  }
}

.footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 60px;
}
@media screen and (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 312px 1fr;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
}

.footer__logo {
  aspect-ratio: 182/35;
  width: 182px;
  height: auto;
  display: block;
}

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

.footer__title {
  margin-top: 20px;
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 700;
  line-height: calc(21 / 14);
}

.footer__text-wrapper {
  margin-top: 55px;
}

.footer__info-item {
  font-size: 13px;
  line-height: calc(19 / 13);
}

.footer__info-item:not(:first-of-type) {
  margin-top: 20px;
}

.footer__info-item.footer__info-item2 {
  margin-top: 10px;
}

.footer__nav-sub-menu {
  margin-top: 5px;
  margin-left: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer__nav-sub-item p {
  font-size: 12px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 30px clamp(30px, 5.2vw, 71px);
}
@media screen and (min-width: 600px) {
  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 768px) {
  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    justify-self: flex-end;
    max-width: 535px;
  }
}
@media screen and (min-width: 1024px) {
  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__nav-item p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: calc(30 / 1000 * 1em);
  line-height: calc(20.8 / 13);
}

.footer__bottom {
  position: relative;
  z-index: 2;
  margin-top: 120px;
  border-top: 1px solid #d2d9e0;
  padding-top: 21px;
  color: #1b2839;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer__copyright {
  font-size: 11px;
  line-height: calc(21 / 11);
}

.footer__bottom-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer__bottom-item p {
  font-size: 11px;
  line-height: calc(21 / 11);
  border-bottom: 1px solid #1b2839;
}

.footer__bg-image {
  position: absolute;
  width: 100%;
  height: auto;
  bottom: 0;
  left: 0;
  z-index: 1;
  max-width: 1366px;
}

.footer__bg-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1119/425;
}

@media screen and (min-width: 1367px) {
  .footer__bg-image {
    left: auto;
    right: 0;
  }
}
