:root {
  --text-black: #1c1c1c;
  --text-gray: #c1c1c1;
  --border-black: #6c6c6c;
  --border-gray: #aaaaaa;
  --theme-gray: #e5e5e5;
  --theme-blue: #1a6edc;
  --bg-gray: #f5f5f5;
  --bg-black: #252b33;
  --white: #ffffff;
  --font-jp: YakuHanJP, dnp-shuei-gothic-kin-std, sans-serif;
  --font-en: barlow-condensed, sans-serif;
}

html {
  font-size: clamp(6px, 0.6944vw, 24px);
}

@media screen and (max-width: 1024px) {
  html {
    font-size: clamp(6px, 0.976vw, 24px);
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: clamp(6px, 2.5vw, 24px);
  }
}

body {
  color: var(--text-black);
  font-size: 1.6rem;
  line-height: 1.8;
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.05em;
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt";
  background-image: url(../img/bg-image.jpg);
  background-size: 40rem 40rem;

  &.is-active {
    touch-action: none;
    -webkit-overflow-scrolling: none;
    overflow: hidden;
    height: 100vh;
    overscroll-behavior: none;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 7rem;
  }
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.4;
  font-weight: 700;
}

h1 {
  font-size: 4.4rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 3.2rem;
}

h4 {
  font-size: 2.4rem;
}

h5 {
  font-size: 1.8rem;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  h3 {
    font-size: 2.4rem;
  }

  h4 {
    font-size: 2.1rem;
  }

  h5 {
    font-size: 1.8rem;
  }
}

input,
select,
button {
  font-size: max(1rem, 16px);
}

main {
  animation-name: PageFadein;
  animation-duration: 0.2s;
  animation-delay: 0.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageFadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (any-hover: hover) {
}

/* ------------

Header

------------ */
header {
  position: relative;
  z-index: 9999;
  background-image: url(../img/bg-image.jpg);
  background-size: 40rem 40rem;
  border-bottom: solid 1px var(--border-black);
}

.headerPC {
  height: 8rem;
  .headerPC__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 9rem;
    padding: 0 2.4rem;
  }

  .headerPC-nav__list {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    column-gap: 6.4rem;

    > li a {
      display: inline-block;
      overflow: hidden;
      color: transparent;
      text-shadow:
        0 -1.5em 0 var(--text-black),
        0 0 0 var(--text-black);
      transition:
        text-shadow 0.3s,
        opacity 0.3s;
    }
  }
}

.header-logo {
  position: relative;
  width: 26rem;
  padding: 0.8rem;
  display: block;
  border-left: solid 1px var(--border-black);
  border-right: solid 1px var(--border-black);

  .header-logo__inner {
    border: solid 1px var(--border-black);
    padding: 1.6rem;
    text-align: center;

    img {
      display: inline-block;
      max-height: 3.2rem;
    }
  }

  .header-logo__scope {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    &::before,
    &::after {
      content: "";
      display: inline-block;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0;
      visibility: hidden;
      border-radius: 50%;
      transition: all 0.6s ease;
    }

    &::before {
      width: 4.8rem;
      height: 4.8rem;
      border: solid 1px var(--border-black);
    }
    &::after {
      width: 4.2rem;
      height: 4.2rem;
      border: dashed 1px var(--border-black);
    }

    span:first-of-type {
      position: absolute;
      width: 100%;
      height: 100%;
      z-index: -1;
      inset: 0;

      &::before,
      &::after {
        content: "";
        position: absolute;
        display: inline-block;
        width: 1px;
        height: 1.6rem;
        background-color: var(--border-black);
        transition: all 0.6s ease;
      }

      &::before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
      }

      &::after {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
      }
    }

    span:nth-of-type(2) {
      position: absolute;
      width: 100%;
      height: 100%;
      z-index: -1;
      inset: 0;

      &::before,
      &::after {
        content: "";
        position: absolute;
        display: inline-block;
        width: 3.2rem;
        height: 1px;
        background-color: var(--border-black);
        transition: all 0.6s ease;
      }

      &::before {
        top: 50%;
        left: 0;
        transform: translateX(-50%);
      }

      &::after {
        top: 50%;
        right: 0;
        transform: translateX(50%);
      }
    }
  }
}

.header-search-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.2rem;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--theme-blue);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  padding: 1.6rem 4rem;
  border: solid 1px var(--theme-blue);
  border-radius: 4rem;
  line-height: 1;
  overflow: hidden;
  transition: 0.4s ease-out;

  > span {
    position: relative;
    z-index: 2;
  }

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    display: inline-block;
    width: 120%;
    aspect-ratio: 1 / 1;
    background-color: var(--theme-blue);
    border-radius: 50%;
    transition: 0.4s ease;
  }

  &::after {
    content: "";
    width: 1.8rem;
    aspect-ratio: 1 / 1;
    mask-image: url(../img/icon-search.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: var(--theme-blue);
    transition: 0.4s ease-out;
  }
}

.swiper.header__slide-text {
  border-bottom: solid 1px var(--border-black);
  font-size: 1.2rem;
}

.swiper-wrapper.header__slide-text__list {
  transition-timing-function: linear;
}

.swiper-slide.header__slide-text__item {
  width: fit-content;
  white-space: nowrap;
  padding: 0.8rem 0;
  margin: 0 0.8rem;

  p {
    margin: 0;

    > i {
      font-size: 1.6rem;
    }
  }
}

.header-search {
}

.header-search__content {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  visibility: hidden;
  z-index: 3;
  padding: 12rem;
  opacity: 0;
  transition: 0.4s ease-out;

  &.is-active {
    visibility: visible;
    opacity: 1;
  }
}

.header-search--overlay {
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  background-color: var(--bg-black);
  opacity: 0.8;
  z-index: -1;
}

.header-search__close-btn {
  position: fixed;
  top: 0;
  right: 0;
  background-color: var(--text-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  column-gap: 0.8rem;
  font-family: var(--font-en);
  color: var(--white);
  font-weight: 600;
  padding-left: 2.4rem;
  z-index: 2;
  cursor: pointer;
  transition: color 0.4s ease-out;

  > span {
    position: relative;
    display: block;
    height: 8rem;
    aspect-ratio: 1 / 1;
    &::before,
    &::after {
      content: "";
      display: inline-block;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 3.2rem;
      height: 1px;
      background-color: var(--white);
      transition: background-color 0.4s ease-out;
    }

    &::before {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    &::after {
      transform: translate(-50%, -50%) rotate(-45deg);
    }
  }
}

.header-search__content__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 12rem 0;
  background-color: var(--white);
  border-radius: 1.6rem;
  transform: translateX(-4rem);
  opacity: 0;
  transition: 0.4s ease-out;
  box-shadow: 0 0 0.8rem var(--bg-black);

  &.is-active {
    opacity: 1;
    transform: translateX(0);
  }
}

.header__word-search {
  width: 100%;
  padding: 0 12rem 4rem;
  border-bottom: solid 1px var(--border-black);
}

.header__term-search {
  width: 100%;
}

.header__term-search__form {
}

.header__term-search__form__title {
  padding: 1.6rem;
  border-bottom: solid 1px var(--border-black);
  margin-bottom: 2.4rem;
  font-size: 2.4rem;
  text-align: center;
  font-weight: 600;

  i {
    font-size: 3.2rem;
    margin-right: 0.8rem;
    line-height: 1.2;
  }
}

.header__term-search__form__inner {
  display: flex;
  gap: 2.4rem;
  padding: 0 12rem;
  margin-bottom: 4rem;

  > div {
    width: 50%;
  }

  > span {
    display: block;
    font-family: var(--font-en);
    font-weight: 600;
    color: var(--text-gray);
  }
}

.header__term-search__def {
  dt {
    font-size: 1.8rem;
    font-weight: 600;
    padding: 0 1.6rem 1.6rem;
    border-bottom: dashed 1px var(--border-gray);
    margin-bottom: 1.6rem;
    text-align: center;
    color: var(--theme-blue);
  }

  dd {
  }
}

.header__term-search__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 1.4rem;

  > li {
    &.is-parent {
      margin-top: 2.4rem;
      width: 100%;
    }

    &.is-child {
    }

    label {
      display: flex;
      align-items: center;
      column-gap: 0.4rem;
      width: fit-content;
      line-height: 1;
      cursor: pointer;

      input {
        appearance: none;
        position: relative;
        aspect-ratio: 1 / 1;
        width: 1.6rem;
        height: 1.6rem;
        border: 1px solid var(--border-gray);
        border-radius: 0.2rem;
        cursor: pointer;
      }

      input::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0.2rem;
        width: 1.6rem;
        height: 0.8rem;
        border-bottom: 0.2rem solid var(--theme-blue);
        border-left: 0.2rem solid var(--theme-blue);
        transform: rotate(125deg) scale(0.4);
        opacity: 0;
        transition: 0.2s ease;
      }

      input:checked::after {
        opacity: 1;
        transform: rotate(-45deg) scale(1);
      }
    }
  }
}

.headerSP {
  display: none;
}

@media (any-hover: hover) {
  .header-logo:hover {
    .header-logo__scope {
      &::before,
      &::after {
        opacity: 1;
        visibility: visible;
      }

      span:first-of-type {
        &::before,
        &::after {
          height: 1.8rem;
        }
      }

      span:nth-of-type(2) {
        &::before,
        &::after {
          transform: translateX(0);
        }
      }
    }
  }

  .headerPC-nav__list {
    > li a:hover {
      text-shadow:
        0 0 0 var(--text-gray),
        0 1.5em 0 var(--text-black);
      opacity: 0.8;
    }
  }

  .header-search-btn:hover {
    color: var(--white);

    &::before {
      top: 50%;
      transform: translate(-50%, -50%);
    }

    &::after {
      background-color: var(--white);
    }
  }

  .header-search__close-btn:hover {
    color: var(--theme-blue);
    > span {
      &::before,
      &::after {
        background-color: var(--theme-blue);
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .headerPC {
    .headerPC__inner {
      column-gap: 6.4rem;
    }

    .headerPC-nav__list {
      column-gap: 4rem;
    }
  }

  .header-search__content {
    padding: 8rem 1.6rem;
  }
}

@media screen and (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    width: 100%;
  }

  .headerPC {
    display: none;
  }

  .header-logo {
    width: 16rem;
    margin-inline: auto;
    padding: 0.4rem;
    .header-logo__inner {
      img {
        max-height: 2.4rem;
      }
    }

    .header-logo__scope {
      span:first-of-type {
        &::before,
        &::after {
          height: 1.2rem;
        }
      }

      span:nth-of-type(2) {
        &::before,
        &::after {
          width: 2.4rem;
        }
      }
    }
  }

  .header-search-btn {
    margin-bottom: 4rem;
  }

  .headerSP {
    height: 7rem;
    position: relative;
    display: block;
    z-index: 2;

    .headerSP__inner {
    }

    .headerSP--overlay {
      display: block;
      position: fixed;
      top: 7rem;
      width: 100%;
      height: calc(100% - 7rem);
      background-color: var(--bg-gray);
      z-index: -1;
      visibility: hidden;
      opacity: 0;
      transition: 0.4s ease;

      &.is-active {
        visibility: visible;
        opacity: 0.4;
      }
    }

    .headerSP__content {
      position: fixed;
      top: 7rem;
      right: 0;
      width: 80%;
      /* height: calc(100% - 7rem); */
      opacity: 0;
      visibility: hidden;
      transition: 0.4s ease;
      padding: 0.8rem;
      /* overflow-y: auto; */

      .headerSP__content__inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* min-height: 100%; */
        padding: 6.4rem 4rem;
        transform: translateX(4rem);
        transition: 0.4s ease;
        background-color: var(--bg-black);
        overflow-y: auto;
        border-radius: 1.6rem;
        box-shadow: 0 0 0.8rem var(--bg-black);
        a {
          color: var(--white);
        }
      }

      &.is-active {
        opacity: 1;
        visibility: visible;

        .headerSP__content__inner {
          transform: translateX(0);
        }
      }
    }

    .headerSP-nav {
      margin-bottom: 4rem;
    }

    .headerSP-nav__list {
      display: flex;
      flex-direction: column;
      gap: 2.4rem;

      > li a {
        position: relative;
        display: block;
        padding-right: 2.4rem;

        &::after {
          content: "";
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          right: 0;
          display: inline-block;
          width: 1.2rem;
          aspect-ratio: 1 / 1;
          mask-image: url(../img/icon-arrow__right.svg);
          mask-position: center;
          mask-size: contain;
          mask-repeat: no-repeat;
          background-color: var(--white);
        }
      }
    }
  }

  .headerSP__sns__list {
    display: flex;
    column-gap: 2.4rem;
    justify-content: center;

    > li {

      > a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 4rem;
        border-radius: 50%;
        aspect-ratio: 1 / 1;
        border: solid 1px var(--white);

        img {
          height: 1.8rem;
        }
      }
    }
  }

  .header-search-icon {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--theme-blue);

    &::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 2.4rem;
      aspect-ratio: 1 / 1;
      mask-image: url(../img/icon-search.svg);
      mask-size: contain;
      mask-repeat: no-repeat;
      mask-position: center;
      background-color: var(--white);
    }
  }

  .headerSP-hamburger {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-left: solid 1px var(--border-black);

    span {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      text-align: center;
      font-family: var(--font-en);
      color: var(--theme-blue);
      font-weight: 700;
      font-size: 1.8rem;
      letter-spacing: 0.05em;
      transition: opacity 0.4s ease-out;

      &:first-of-type {
        opacity: 1;
      }

      &:nth-of-type(2) {
        opacity: 0;
      }
    }

    &.is-active {
      span {
        &:first-of-type {
          opacity: 0;
        }

        &:nth-of-type(2) {
          opacity: 1;
        }
      }
    }
  }

  .header-search__close-btn {
    > span {
      height: 7rem;
    }
  }

  .header-search__content__inner {
    padding: 4rem 0;
  }

  .header__word-search {
    padding: 0 1.6rem 4rem;
  }

  .header__term-search__form__title {
    font-size: 2.1rem;
  }

  .header__term-search__form__inner {
    flex-direction: column;
    align-items: center;
    padding: 0 2.4rem;

    > div {
      width: 100%;
    }
  }
}

/* ------------

Footer

------------ */

footer {
  position: relative;
  background-color: var(--bg-black);
  color: var(--white);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  border-top: solid 1px var(--border-black);
  border-bottom: solid 1px var(--border-black);
}

.footer__company {
  font-size: 1.2rem;
  padding: 8rem 12rem;

  .footer__logo {
    display: inline-block;
    margin-bottom: 2.4rem;
    width: 14rem;
  }

  .footer__company__address {
    margin-top: 0;
    margin-bottom: 2.4rem;
  }

  .footer__company__def {
    margin-bottom: 2.4rem;

    div {
      display: flex;
      margin-bottom: 0.8rem;
      dt {
        width: 3.2rem;
      }

      dd a {
        color: var(--white);
      }
    }
  }

  .footer__link__list {
    display: flex;
    column-gap: 2.4rem;
    margin-bottom: 4rem;

    > li {
      display: flex;
      column-gap: 2.4rem;

      &::before {
        content: "";
        display: inline-block;
        width: 1px;
        height: 100%;
        background-color: var(--border-black);
      }

      &:first-of-type::before {
        display: none;
      }

      a {
        color: var(--text-gray);
        text-decoration: underline;
      }
    }

    .footer__link__item--outlink {
      display: flex;
      align-items: center;
      column-gap: 0.8rem;

      &::after {
        content: "";
        display: inline-block;
        width: 1.2rem;
        height: 1.2rem;
        mask-image: url(../img/icon-outlink.svg);
        mask-position: center;
        mask-size: contain;
        mask-repeat: no-repeat;
        background-color: var(--text-gray);
      }
    }
  }

  .footer__sns__list {
    display: flex;
    column-gap: 2.4rem;

    > li a {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 4rem;
      height: 4rem;
      background-color: var(--border-black);
      border: transparent;
      border-radius: 50%;
      transition: 0.3s ease;

      img {
        max-height: 2.1rem;
        max-width: 2.1rem;
      }
    }
  }
}

.footer__sitemap {
  width: 40rem;
  border-left: solid 1px var(--border-black);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  font-size: 1.4rem;
}

.footer__sitemap__content {
  padding: 8rem 4rem;

  h2 {
    display: flex;
    align-items: center;
    column-gap: 2.4rem;
    margin-bottom: 4rem;

    &::before,
    &::after {
      content: "";
      display: inline-block;
      height: 1px;
      width: 100%;
      background-color: var(--border-black);
    }

    span {
      display: inline-block;
      min-width: fit-content;
      font-size: 1.6rem;
    }
  }

  .footer__sitemap__list {
    li > a {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--white);
      margin-bottom: 1.6rem;
      padding: 0.4rem 0;
      overflow: hidden;
      transition: padding 0.3s ease-in-out;

      &::before {
        content: "";
        display: inline-block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: var(--white);
        transform: scale(0, 1);
        transform-origin: right top;
        transition: transform 0.3s ease-in-out;
        width: 100%;
      }

      &::after {
        content: "";
        display: inline-block;
        width: 1.6rem;
        height: 1.6rem;
        mask-image: url(../img/icon-arrow__right.svg);
        mask-position: center;
        mask-size: contain;
        mask-repeat: no-repeat;
        background-color: var(--white);
      }
    }
  }
}

.footer-search-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.6rem;
  background-color: var(--theme-blue);
  color: var(--white);
  padding: 3.2rem 1.6rem;
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  width: 100%;
  overflow: hidden;
  transition: 0.4s ease-out;

  > span {
    position: relative;
    z-index: 2;
  }

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    display: inline-block;
    width: 120%;
    aspect-ratio: 1 / 1;
    background-color: var(--white);
    border-radius: 50%;
    transition: 0.4s ease-out;
  }

  &::after {
    content: "";
    display: inline-block;
    width: 1.8rem;
    aspect-ratio: 1 / 1;
    mask-image: url(../img/icon-search.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center center;
    background-color: var(--white);
    transition: 0.4s ease-out;
  }
}

.footer__copy {
  padding: 4rem 12rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-gray);

  .footer__page-top {
    color: var(--text-gray);
    font-size: 1.4rem;
    font-family: var(--font-en);
    text-decoration: underline;
  }

  small {
    color: var(--text-gray);
    font-size: 1.2rem;
    font-family: var(--font-en);
  }
}

@media (any-hover: hover) {
  .footer__sns__list {
    > li a:hover {
      background-color: var(--theme-blue);
      border: solid 1px var(--white);
    }
  }

  .footer__sitemap__list {
    li > a:hover {
      padding-left: 0.4rem;

      &::before {
        transform-origin: left top;
        transform: scale(1, 1);
      }
    }
  }
  .footer-search-btn:hover {
    color: var(--theme-blue);

    &::before {
      top: 50%;
      transform: translate(-50%, -50%);
    }

    &::after {
      background-color: var(--theme-blue);
    }
  }
}

@media screen and (max-width: 1024px) {
  .footer__company {
    padding: 8rem 2.4rem;
  }

  .footer__copy {
    padding: 4rem 2.4rem;
  }
}

@media screen and (max-width: 768px) {
  .footer__inner {
    flex-direction: column-reverse;
  }

  .footer__company {
    padding-bottom: 8rem;
  }

  .footer__sitemap {
    width: 100%;
    border-left: none;
  }

  .footer__sitemap__content {
    padding-bottom: 4rem;
  }
}

/* ------------

Parts

------------ */

.main-btn {
  position: relative;
  display: block;
  width: fit-content;
  padding: 0.4rem 5.6rem 0.4rem 1.6rem;
  margin: 0 auto 2.4rem;
  font-family: var(--font-en);
  color: var(--text-black);
  font-size: 2.4rem;
  font-weight: 700;
  transition: color 0.4s ease-out;

  &.back {
    padding: 0.4rem 1.6rem 0.4rem 5.6rem;
  }

  &::before {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    border-top: dashed 1px var(--border-gray);
  }

  &.back::before {
    right: auto;
    left: 0;
  }

  &::after {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-black);
    transition: width 0.2s ease-out;
  }

  &.back::after {
    right: auto;
    left: 0;
  }

  > span {
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.2rem;
    width: 1.8rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;

    &::before,
    &::after {
      content: "";
      display: inline-block;
      height: 100%;
      aspect-ratio: 1 / 1;
      mask-image: url(../img/icon-arrow__right.svg);
      mask-size: contain;
      mask-repeat: no-repeat;
      mask-position: center;
      background-color: var(--theme-blue);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      animation-fill-mode: forwards;
      animation-duration: 0.4s;
    }

    &::after {
      transform: translate(-150%, -50%);
    }
  }

  &.back > span {
    right: auto;
    left: 1.2rem;

    &::before,
    &::after {
      mask-image: url(../img/icon-arrow__left.svg);
    }

    &::after {
      transform: translate(-150%, -50%);
    }
  }
}

@keyframes MainBtnArrow01 {
  0% {
    transform: translate(-50%, -50%);
  }
  100% {
    transform: translate(150%, -50%);
  }
}

@keyframes MainBtnArrow02 {
  0% {
    transform: translate(-150%, -50%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

@keyframes MainBtnArrowBack01 {
  0% {
    transform: translate(-50%, -50%);
  }
  100% {
    transform: translate(-150%, -50%);
  }
}

@keyframes MainBtnArrowBack02 {
  0% {
    transform: translate(150%, -50%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

@media (any-hover: hover) {
  .main-btn:hover {
    color: var(--theme-blue);

    &::after {
      width: 0;
    }

    > span {
      &::before {
        animation-name: MainBtnArrow01;
        animation-delay: 0s;
      }
      &::after {
        animation-name: MainBtnArrow02;
        animation-delay: 0.2s;
      }
    }

    &.back > span {
      &::before {
        animation-name: MainBtnArrowBack01;
      }
      &::after {
        animation-name: MainBtnArrowBack02;
      }
    }
  }
}

.border-btn {
  position: relative;
  display: block;
  text-align: center;
  border-top: solid 1px var(--border-black);
  padding: 4rem 2.4rem;
  color: var(--text-black);
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  transition: color 0.4s ease-out;

  &::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 100%;
    background-color: var(--theme-blue);
    transition: width 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
  }

  .border-btn__inner {
    position: relative;
    padding: 0 4rem;
    width: fit-content;
    margin: 0 auto;
    z-index: 2;

    > span {
      display: inline-block;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 0;
      width: 1.8rem;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      mask-image: url(../img/icon-arrow__right.svg);
      mask-size: contain;
      mask-repeat: no-repeat;
      mask-position: center;
      background-color: var(--theme-blue);
      transition: background-color 0.4s ease-out;
    }
  }

  &.back {
    &::before {
      left: auto;
      right: 0;
    }

    .border-btn__inner {
      > span {
        right: auto;
        left: 0;
        mask-image: url(../img/icon-arrow__left.svg);
      }
    }
  }
}

@media (any-hover: hover) {
  .border-btn:hover {
    color: var(--white);
    &::before {
      width: 100%;
    }
    .border-btn__inner {
      > span {
        background-color: var(--white);
      }
    }
  }
}

.from-btn {
  position: relative;
  display: block;
  font-size: 1.4rem;
  padding: 1.6rem 4.8rem 1.6rem 6.4rem;
  max-width: 32rem;
  width: 100%;
  margin-inline: auto;
  color: var(--white);
  font-weight: 600;
  border: solid 1px var(--theme-blue);
  background-color: var(--theme-blue);
  border-radius: 4rem;
  transition:
    color 0.4s ease-out,
    background-color 0.4s ease-out;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 2.4rem;
    width: 1.8rem;
    aspect-ratio: 1 / 1;
    mask-image: url(../img/icon-search.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: var(--white);
  }
}

#breadcrumb {
  border-top: solid 1px var(--border-black);
  font-size: 1rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#breadcrumb::-webkit-scrollbar {
  display: none;
}

.breadcrumb__inner {
  padding: 1.6rem 12rem;
  color: var(--text-gray);
  white-space: nowrap;
  width: max-content;
  a {
    text-decoration: underline;
    color: var(--text-black);
  }
}

@media screen and (max-width: 1024px) {
  .breadcrumb__inner {
    padding: 1.6rem 2.4rem;
  }
}

.pagination {
  padding: 4.8rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.6rem;
}

.pagination__prev {
  width: 4rem;
  height: 4rem;
  a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: solid 1px var(--theme-gray);
    border-radius: 50%;
    transition: background-color 0.4s ease;

    &::before {
      content: "";
      display: inline-block;
      width: 0.8rem;
      height: 0.8rem;
      border-top: solid 1px var(--border-black);
      border-left: solid 1px var(--border-black);
      position: absolute;
      top: 50%;
      left: calc(50% + 0.2rem);
      transform: translate(-50%, -50%) rotate(-45deg);
      transition: border 0.4s ease;
    }
  }
}

.pagination__next {
  width: 4rem;
  height: 4rem;
  a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: solid 1px var(--theme-gray);
    border-radius: 50%;
    transition: background-color 0.4s ease;

    &::before {
      content: "";
      display: inline-block;
      width: 0.8rem;
      height: 0.8rem;
      border-top: solid 1px var(--border-black);
      border-right: solid 1px var(--border-black);
      position: absolute;
      top: 50%;
      left: calc(50% - 0.2rem);
      transform: translate(-50%, -50%) rotate(45deg);
      transition: border 0.4s ease;
    }
  }
}

.pagination__list {
  display: flex;
  justify-content: center;
  column-gap: 0.8rem;
}

.pagination__item {
  font-size: 1.2rem;

  .page-numbers {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    z-index: 2;
    color: var(--text-black);
    font-family: var(--font-en);

    &::before {
      content: "";
      display: inline-block;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      position: absolute;
      inset: 0;
      background-color: var(--theme-gray);
      z-index: -1;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    &.current {
      color: var(--white);

      &::before {
        background-color: var(--bg-black);
        opacity: 2;
      }
    }
  }
}

@media (any-hover: hover) {
  .pagination__prev {
    a:hover {
      background-color: var(--theme-gray);
    }
  }

  .pagination__next {
    a:hover {
      background-color: var(--theme-gray);
    }
  }

  .pagination__item {
    a.page-numbers:hover {
      &::before {
        opacity: 1;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .pagination {
    padding: 4.8rem 1.6rem;
  }

  .pagination__prev {
    width: 2.4rem;
    height: 2.4rem;
    a {
      &::before {
        width: 0.6rem;
        height: 0.6rem;
      }
    }
  }

  .pagination__next {
    width: 2.4rem;
    height: 2.4rem;
    a {
      &::before {
        width: 0.6rem;
        height: 0.6rem;
      }
    }
  }

  .pagination__item {
    .page-numbers {
      width: 2.4rem;
      height: 2.4rem;
    }
  }
}

.search-form {
  text-align: center;
  width: 100%;
}

.search-form__title {
  margin-bottom: 0.8rem;
  display: block;
}

.search-field__content {
  position: relative;
  border-radius: 4rem;
  border: solid 1px var(--border-gray);
  overflow: hidden;

  .search-field {
    width: 100%;
    padding: 1.6rem;
    height: 5.6rem;
    padding-right: 6.4rem;
    outline: none;
    background-color: var(--bg-gray);

    transition: all 0.3s;

    &:focus {
      background-color: var(--white);
    }

    &:hover {
      background-color: var(--white);
    }
  }

  .search-submit {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 5.6rem;
    aspect-ratio: 1 / 1;
    background-color: var(--theme-blue);

    &::before {
      content: "";
      display: inline-block;
      width: 1.8rem;
      aspect-ratio: 1 / 1;
      mask-image: url(../img/icon-search.svg);
      mask-size: contain;
      mask-repeat: no-repeat;
      mask-position: center;
      background-color: var(--white);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
}
