/* ------------------------------------------------
    body
------------------------------------------------- */


body {
  color: var(--colorLightBlack);
  font-family: var(--fontFamilyNotoJP);
  font-size: var(--fontSize16);
  font-weight: 500;
}

.container {
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
}

@media screen and (max-width: 1080px) {
  .container {
    width: calc(100% - 40px);
  }
}

/* ------------------------------------------------
    button
------------------------------------------------- */

.buttonApply {
  background: var(--colorYellow);
  border-radius: 30px;
  color: #fff;
  display: inline-block;
  padding: calc(8px * 2) 0;
  position: relative;
  text-align: center;
  width: 240px;
}

.buttonApply::after {
  background: url("../images/common/icon_arrow-right.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 12px;
  margin-top: -6px;
  position: absolute;
  right: calc(8px * 3);
  top: 50%;
  width: 8px;
}

.buttonApply:hover::after {
  right: calc(8px * 2);
  transition: 0.2s;
}

.buttonTop {
  background: var(--colorLightBlack);
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: var(--fontSize18);
  padding: calc(8px * 2) calc(8px * 8);
  position: relative;
  text-align: center;
}

.buttonTop::after {
  background: url("../images/common/icon_arrow-right.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 12px;
  margin-top: -6px;
  position: absolute;
  right: calc(8px * 3);
  top: 50%;
  transition: 0.2s;
  width: 8px;
}

.buttonTop:hover::after {
  right: calc(8px * 2);
  transition: 0.2s;
}

/* ------------------------------------------------
    heading
------------------------------------------------- */

.heading {
  color: var(--colorBlack);
  text-align: center;
}

.heading.heading--white {
  color: #fff;
}

.heading__deco img {
  height: 48px;
  width: auto;
}

.heading__title {
  font-family: var(--fontFamilyJosefin);
  font-size: var(--fontSize42);
  margin-top: calc(8px * 2);
}

.heading__lead {
  font-size: var(--fontSize18);
  margin-top: calc(8px * 1);
}

@media screen and (max-width: 1080px) {
  .heading__deco img {
    height: 32px;
  }
}

/* ------------------------------------------------
    animation
------------------------------------------------- */

.loading {
  align-items: center;
  background-color: #fff;
  display: flex;
  height: 100%;
  justify-content: center;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms;
}

.loading-wrap {
  left: 0;
  margin: auto;
  margin-top: -80px;
  max-width: 150px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 50%;
  width: 100%;
}


/* ------------------------------------------------
    footer
------------------------------------------------- */

/* .footer {
  background: #f6f6f6;
  padding: calc(8px * 3) 0;
}

.footer__copyright {
  font-family: var(--fontFamilyMontserrat);
  font-size: 14px;
  text-align: center;
}

@media screen and (max-width: 1080px) {
  .footer {
    padding: calc(8px * 2) 0;
  }

  .footer__copyright {
    font-size: 12px;
  }
} */

/* ------------------------------------------------
    pagination
------------------------------------------------- */

.pagination__list {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.nextLink,
.prevLink {
  align-self: center;
  height: 25px;
  position: relative;
  width: 25px;
}

.nextLink::before,
.prevLink::before {
  background: url(../images/top/arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 14px;
  left: 50%;
  opacity: 0.6;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease-in-out;
  width: 8px;
}

.nextLink:hover::before,
.prevLink:hover::before {
  opacity: 1;
}

.prevLink::before {
  transform: translate(-50%, -50%) scaleX(-1);
}

.nextLink a,
.prevLink a {
  display: block;
  height: 100%;
  width: 100%;
}

.pagination__link {
  color: #949494;
  font-family: var(--fontRoboto);
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  transition: 0.3s ease-out;
}

.pagination__item:not(.active) .pagination__link:hover {
  color: #000;
}

.active .pagination__link {
  color: #17ac4d;
}
