/* --------------------------------- */
.wrapper {
  height: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow: inherit;
}
@media screen and (min-width: 1024px) {
  .wrapper {
    height: 100vh;
    padding-block-start: 0;
    overflow: auto;
  }
}

.scroll-snap {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* --------------------------------- */
.keyvisual {
  --mask-height: calc(100vh - 100px - 50px);
  --image-gap: 10px;
  width: 100%;
  height: 100vh;
  padding-block: 100px 50px;
  padding-inline: var(--space);
  display: grid;
  grid-template-columns: var(--grid-template-column);
  gap: var(--grid-gap);
  align-content: end;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
@media screen and (max-width: 1024px) {
  .keyvisual {
    --mask-height: 50vh;
    --image-gap: 5px;
  }
}
@media screen and (max-width: 1024px) {
  .keyvisual {
    height: calc(100vh - 80px);
    padding-block: 0;
  }
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .keyvisual {
    min-height: 600px;
  }
}
.keyvisual__inner {
  margin-bottom: 10vh;
  display: flex;
  flex-direction: column;
  grid-column: 11/13;
  gap: 80px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 1024px) {
  .keyvisual__inner {
    margin-bottom: 5vh;
    grid-column: 1/13;
    gap: 40px;
  }
}
.keyvisual-catch {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
@media screen and (max-width: 1024px) {
  .keyvisual-catch {
    gap: 20px;
  }
}
.keyvisual-catch span {
  padding: 0 10px;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  color: var(--accent-color);
}
.keyvisual-catch .en {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: clamp(4rem, 2.796rem + 4.48vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  align-items: flex-start;
}
.keyvisual-catch .jp {
  font-size: clamp(1.25rem, 0.992rem + 0.96vw, 2rem);
  font-weight: 600;
}
.keyvisual-news {
  width: 100%;
  max-width: 600px;
  height: 48px;
  display: grid;
  grid-template-columns: 100px 1fr;
  background-color: var(--white-color);
  border-radius: 24px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.1);
  position: relative;
}
@media screen and (max-width: 1024px) {
  .keyvisual-news {
    display: block;
  }
}
.keyvisual-news dt {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fontsize-16);
  font-weight: 600;
}
@media screen and (max-width: 1024px) {
  .keyvisual-news dt {
    position: absolute;
    top: -12px;
    left: 20px;
  }
}
.keyvisual-news dd a {
  width: 100%;
  height: 48px;
  display: flex;
  padding-inline-end: 50px;
  align-items: center;
  position: relative;
  font-size: var(--fontsize-15);
  text-decoration: none;
}
@media screen and (max-width: 1024px) {
  .keyvisual-news dd a {
    padding-inline: 20px 40px;
  }
}
.keyvisual-news dd a:after {
  content: "";
  width: 12px;
  height: 8px;
  display: block;
  background-image: url(../../assets/images/common/icon_arrow_r.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  position: absolute;
  right: 20px;
  top: calc(50% - 4px);
}
.keyvisual-image {
  width: 70%;
  height: var(--mask-height);
  position: absolute;
  top: 100px;
  left: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0 calc(var(--mask-height) / 2) calc(var(--mask-height) / 2) 0;
}
@media screen and (max-width: 1024px) {
  .keyvisual-image {
    width: 94vw;
    top: 0;
  }
}
.keyvisual-image__inner {
  display: flex;
  flex-direction: column;
  gap: var(--image-gap);
  background-color: var(--accent-color);
  transform-origin: center;
  position: absolute;
  top: 55%;
  left: 0;
  transform: translate3d(0, -55%, 0);
}
@media screen and (max-width: 1024px) {
  .keyvisual-image__inner {
    gap: 5px;
  }
}
.keyvisual-image-slider {
  overflow: hidden;
  display: flex;
  gap: var(--image-gap);
}
.keyvisual-image-slider ul {
  display: flex;
  gap: var(--image-gap);
  padding: 0;
  list-style: none;
  animation-name: loop;
  animation-duration: 100000ms;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.keyvisual-image-slider li {
  height: 30vh;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.keyvisual-image-slider li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.keyvisual-image-slider:nth-child(1) ul {
  animation-duration: 100000ms;
}
.keyvisual-image-slider:nth-child(2) ul {
  animation-duration: 120000ms;
}
.keyvisual-image-slider:nth-child(2) li {
  height: 20vh;
}
.keyvisual-image-slider:nth-child(3) ul {
  animation-duration: 110000ms;
}
.keyvisual-image-slider:nth-child(3) li {
  height: 25vh;
}
.keyvisual-image-slider:nth-child(4) ul {
  animation-duration: 130000ms;
}
.keyvisual-image-slider:nth-child(4) li {
  height: 15vh;
}
@media screen and (max-width: 1024px) {
  .keyvisual-image-slider li {
    height: 20vh;
  }
  .keyvisual-image-slider:nth-child(2) li {
    height: 10vh;
  }
  .keyvisual-image-slider:nth-child(3) li {
    height: 15vh;
  }
  .keyvisual-image-slider:nth-child(4) li {
    height: 7vh;
  }
}

@keyframes loop {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-100% - var(--image-gap)), 0, 0);
  }
}
/* --------------------------------- */
.home-copyright {
  position: absolute;
  top: 50%;
  right: 1vw;
  font-size: 10px;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}
.home-nav {
  width: 100%;
  height: 100vh;
  display: grid;
  padding: 10px;
  padding-block-start: 100px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 120px;
  gap: 10px;
  position: relative;
  z-index: 1;
  background-color: var(--white-color);
  box-sizing: border-box;
}
@media screen and (max-width: 1024px) {
  .home-nav {
    height: auto;
    min-height: 100vh;
    padding: 10px;
    display: flex;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
  }
}
.home-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  background-color: rgb(0, 0, 0);
}
@media screen and (max-width: 1024px) {
  .home-nav__item {
    justify-content: center;
    flex: 1;
  }
}
.home-nav__item:nth-child(1) {
  grid-area: 1/1/2/2;
}
.home-nav__item:nth-child(2) {
  grid-area: 1/2/2/3;
}
.home-nav__item:nth-child(3) {
  grid-area: 1/3/2/4;
}
.home-nav__item:nth-child(4) {
  grid-area: 1/4/2/5;
}
.home-nav__item:nth-child(5) {
  grid-area: 2/1/3/5;
}
.home-nav__inner {
  width: 100%;
  height: 100%;
  display: flex;
  padding-block: 5vw;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 1024px) {
  .home-nav__inner {
    min-height: 300px;
    aspect-ratio: 16/9;
    padding-block: 0;
    justify-content: center;
    gap: 20px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
}
.home-nav__title {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--white-color);
}
@media screen and (max-width: 1024px) {
  .home-nav__title {
    gap: 5px;
  }
}
.home-nav__title .jp {
  font-size: var(--fontsize-32);
  font-weight: 600;
  line-height: 1.2;
}
.home-nav__title .en {
  font-size: var(--fontsize-20);
  font-weight: 500;
}
.home-nav-second {
  width: 100%;
  max-width: 200px;
  margin-inline: auto;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, 36px);
  gap: 15px;
  list-style: none;
}
@media screen and (max-width: 1024px) {
  .home-nav-second {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
}
.home-nav-second a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 18px;
  box-sizing: border-box;
  font-size: var(--fontsize-16);
  text-decoration: none;
  color: var(--white-color);
  transition: all 300ms ease;
}
.home-nav-second a:hover {
  background-color: var(--white-color);
  color: var(--accent-color);
}
.home-nav__image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.7;
}
.home-nav__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-nav-entry {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-area: 2/1/3/5;
  gap: 10px;
  background-color: var(--accent-color);
  border-radius: 4px;
  box-sizing: border-box;
  list-style: none;
}
@media screen and (max-width: 1024px) {
  .home-nav-entry {
    min-height: 150px;
    flex: 0.5;
  }
}
.home-nav-entry__item a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-sizing: border-box;
  text-decoration: none;
  line-height: 1.4;
  color: var(--white-color);
  transition: all 300ms ease;
}
.home-nav-entry__item a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 40px;
}
.home-nav-entry__item .jp {
  font-size: var(--fontsize-20);
  font-weight: 600;
}
.home-nav-entry__item .jp span {
  display: inline-block;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .home-nav-entry__item .jp span {
    display: block;
  }
}
.home-nav-entry__item .en {
  font-size: var(--fontsize-16);
  list-style: 1.4;
}