@layer page {
  .home-mv {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
  }
  @media screen and (min-width: 768px) {
    .home-mv {
      min-height: 50rem;
    }
  }
  .home-mv::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    height: 100%;
    content: "";
    background-color: #fff;
    transition: 0.8s;
    transition-property: opacity, visibility;
  }
  .home-mv .is-blk {
    transition: opacity 0.8s;
  }
  .home-mv .is-white {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s;
  }
  .home-mv.is-ready .home-mv__logo-symbol-mask span:nth-child(1) {
    width: 0;
    transition: width 0.6s linear 0.5s;
  }
  .home-mv.is-ready .home-mv__logo-symbol-mask span:nth-child(2) {
    height: 0;
    transition: height 0.4s linear 1.1s;
  }
  .home-mv.is-ready .home-mv__logo-symbol-mask span:nth-child(3) {
    width: 0;
    transition: width 0.6s linear 1.7s;
  }
  .home-mv.is-ready .home-mv__logo-symbol-mask span:nth-child(4) {
    width: 0;
    transition: width 0.6s linear 2.1s;
  }
  .home-mv.is-ready .home-mv__logo-symbol-mask span:nth-child(5) {
    height: 0;
    transition: height 0.4s linear 2.5s;
  }
  .home-mv.is-ready .home-mv__logo-symbol-mask span:nth-child(6) {
    width: 0;
    transition: width 0.6s linear 2.9s;
  }
  .home-mv.is-ready .home-mv__logo-symbol-mask span:nth-child(7) {
    height: 0;
    transition: height 0.4s linear 3.2s;
  }
  .home-mv.is-ready .home-mv__logo-symbol-mask span:nth-child(8) {
    width: 0;
    transition: width 0.6s linear 3.6s;
  }
  .home-mv.is-ready .home-mv__logo-copy {
    opacity: 1;
    transition: opacity 0.6s linear 4s;
  }
  .home-mv.is-active::before {
    visibility: hidden;
    opacity: 0;
  }
  .home-mv.is-active .is-white,
  .home-mv.is-active .home-mv__bg {
    opacity: 1;
  }
  .home-mv.is-active .is-blk {
    opacity: 0;
  }
  .home-mv.is-active .home-mv__logo {
    z-index: initial;
  }
  .home-mv__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s;
  }
  .home-mv__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .home-mv__logo {
    position: absolute;
    top: 51.5%;
    left: 50%;
    z-index: 101;
    transform: translate(-50%, -50%);
  }
  .home-mv__logo-symbol {
    position: relative;
  }
  .home-mv__logo-symbol-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .home-mv__logo-symbol-mask span {
    position: absolute;
    top: -1%;
    left: -1%;
    z-index: 1;
    display: block;
    width: 37%;
    height: 16%;
    background-color: #fff;
    opacity: 1;
  }
  .home-mv__logo-symbol-mask span:nth-child(2) {
    top: 15%;
  }
  .home-mv__logo-symbol-mask span:nth-child(3) {
    top: 31%;
    right: 64%;
    left: auto;
    height: 71%;
  }
  .home-mv__logo-symbol-mask span:nth-child(4) {
    left: 36%;
    width: 66%;
    height: 10%;
  }
  .home-mv__logo-symbol-mask span:nth-child(5) {
    top: 13%;
    right: -1%;
    left: auto;
    width: 64%;
    height: 11%;
  }
  .home-mv__logo-symbol-mask span:nth-child(6) {
    top: 27%;
    right: 27%;
    left: auto;
    width: 37%;
    height: 28%;
  }
  .home-mv__logo-symbol-mask span:nth-child(7) {
    top: 55%;
    left: 36%;
    width: 38%;
    height: 47%;
  }
  .home-mv__logo-symbol-mask span:nth-child(8) {
    top: 26%;
    right: -1%;
    left: auto;
    width: 28%;
    height: 76%;
  }
  .home-mv__logo-copy {
    position: relative;
    margin-top: 0.75rem;
    line-height: 1;
    opacity: 0;
  }
}
@layer page {
  .home-nid__list {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 5.9375rem;
  }
  .home-nid__item {
    text-align: center;
  }
  @media (any-hover: hover) {
    .home-nid__link .home-nid__img img {
      transition: 0.3s;
      transition-property: transform;
    }
    .home-nid__link .home-nid__ttl span {
      position: relative;
      background: linear-gradient(var(--main), var(--main)) 100% 100%/0 1px no-repeat;
      transition: background-size 0.5s cubic-bezier(0.39, 0.575, 0.565, 1);
    }
    .home-nid__link:hover .home-nid__img img {
      transform: scale(1.1);
    }
    .home-nid__link:hover .home-nid__ttl span {
      background-position: 0 100%;
      background-size: 100% 1px;
    }
  }
  .home-nid__img {
    width: 100%;
    height: 12.1875rem;
    aspect-ratio: 1;
    overflow: hidden;
  }
  .home-nid__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .home-nid__vol {
    margin-top: 1.5625rem;
    line-height: 1;
  }
  .home-nid__date {
    line-height: 1;
  }
  .home-nid__ttl {
    display: -webkit-box;
    margin-top: 1rem;
    overflow: hidden;
    line-height: 1.75;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
@layer page {
  .home-news__list {
    margin-top: 4.6875rem;
  }
  .home-news__item:not(:first-child) {
    margin-top: 4.0625rem;
  }
  .home-news__link {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5.625rem;
    letter-spacing: 0.03em;
  }
  @media screen and (max-width: 767px) {
    .home-news__link {
      grid-template-columns: 1fr;
    }
  }
  @media (any-hover: hover) {
    .home-news__link {
      transition: opacity 0.3s;
    }
    .home-news__link:hover {
      opacity: 0.75;
    }
  }
  .home-news__ttl {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .home-news__btn-wrap {
    margin-top: 5rem;
    text-align: center;
  }
}
@layer page {
  .p-block {
    color: #fff;
  }
  .p-block.-intro .p-block__inner {
    --container-w: 37.5rem;
  }
  .p-block.-project .p-block__inner {
    --container-w: 38.125rem;
  }
  .p-block.-mtd .p-block__inner {
    --container-w: 65rem;
    place-content: initial;
    align-items: center;
  }
  .p-block.-news .p-block__inner {
    --container-w: 53.125rem;
  }
}