@charset "UTF-8";

/* ------------------------------------------- */
/* page-common-title
/* ------------------------------------------- */
.page-common-title {
  .title-main {
    font-family: "Jost";
    font-style: normal;
    font-weight: 500;
    font-size: 2.4rem;
    line-height: 3.5rem;
    letter-spacing: 0.05em;
    color: #00a3e0;

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
      line-height: 2rem;
    }
  }

  .title-sub {
    font-family: "Zen Kaku Gothic New";
    font-style: normal;
    font-weight: 700;
    font-size: 3.9rem;
    line-height: 5.6rem;
    letter-spacing: 0.13em;
    color: #282828;

    @media screen and (max-width: 767px) {
      font-size: 2.2rem;
      line-height: 3.2rem;
      letter-spacing: 0.13em;
    }
  }
}

/* ------------------------------------------- */
/* page-common-next
/* ------------------------------------------- */
.page-common-next {
  display: flex;
  align-items: center;
  gap: 6rem;
  width: fit-content;
  margin: 10rem auto 0;
  margin-top: 5rem;
  margin-bottom: 5rem;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  @media screen and (max-width: 767px) {
    gap: 2.4rem;
    margin-top: 0;
    margin-bottom: 2rem;
  }

  .next-photo {
    flex-shrink: 0;
    width: 25.1rem;
    height: 25.1rem;
    overflow: hidden;
    border-radius: 50%;

    @media screen and (max-width: 767px) {
      width: 12rem;
      height: 12rem;
    }

    & > img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }
  }

  .next-copy {
    display: flex;
    flex-direction: column;
  }

  .title-sub {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 0;
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 3rem;
    letter-spacing: 0.09em;
    color: #1d1d1d;

    @media screen and (max-width: 767px) {
      font-size: 1.8rem;
      line-height: 1.4;
      letter-spacing: 0.04em;
    }
  }

  .next-arrow {
    width: 1.9rem;
    height: auto;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .title-main {
    font-family: "Jost";
    font-style: normal;
    font-weight: 400;
    font-size: 2.2rem;
    line-height: 3.2rem;
    letter-spacing: 0.05em;
    color: #00a3e0;

    @media screen and (max-width: 767px) {
      font-size: 1.2rem;
      line-height: 1.4;
    }
  }

  &:hover {
    opacity: 0.7;
    .next-photo img {
      transform: scale(1.04);
    }

    .next-arrow {
      transform: translateX(0.6rem);
    }
  }
}
