/* =======================================================
common
======================================================= */
.ly-head {
  background-color: transparent;
}
.ly-head.--js-scroll {
  background-color: rgba(0, 0, 0, 0.4);
}

/* =======================================================
loading
======================================================= */
.bl-loading-imgouter {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: var(--z-index-loading-bg);
  width: 100vw;
  height: 100svh;
  translate: -50% -50%;
}
.bl-loading-imgouter.--js-loading-after::before {
  display: none;
}
.bl-loading-imgouter.--js-animation-after {
  display: none;
}
.bl-loading-imgouter::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  content: "";
  background-color: var(--color-base);
  translate: -50% -50%;
}
.bl-loading-imgwrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: var(--z-index-loading);
  width: 100vw;
  height: 100svh;
  translate: -50% -50%;
}
.bl-loading-imgwrapper.--js-loading-after {
  animation: loading-wrapper 1.5s linear forwards;
}
.bl-loading-imgwrapper.--js-animation-after {
  display: none;
}
.bl-loading-img {
  object-fit: cover;
  height: 100%;
}

@keyframes loading-wrapper {
  100% {
    opacity: 0;
    scale: 3;
  }
}
/* =======================================================
mv
======================================================= */
.ly-mv {
  position: relative;
  height: 100svh;
}
.ly-mv::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  content: "";
  background-color: rgba(0, 20, 130, 0.4);
  mix-blend-mode: multiply;
  translate: -50% -50%;
}

.bl-mv-hgroup {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 100%;
  font-weight: 700;
  color: var(--color-brightest);
  text-align: center;
  translate: -50% -50%;
}
.bl-mv-hgroup-txt {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: calc(28/24);
}
.bl-mv-hgroup-txt-accent {
  font-size: 28px;
  line-height: 1;
}
.bl-mv-hgroup-ttl-inner {
  display: block;
  margin-bottom: 24px;
  font-size: 52px;
  line-height: calc(62/52);
}
.bl-mv-hgroup-ttl-deco {
  font-size: 40px;
}
.bl-mv-hgroup-ttl-img {
  display: flex;
  width: 224px;
  margin-inline: auto;
}
.bl-mv-slide-outer {
  display: flex;
  height: 50svh;
}
.bl-mv-slide-outer:nth-of-type(2) .bl-mv-slide-wrapper.--js-odd {
  animation: scroll-odd-reverse 150s linear -75s infinite;
}
.bl-mv-slide-outer:nth-of-type(2) .bl-mv-slide-wrapper.--js-even {
  animation: scroll-even-reverse 150s linear 0s infinite;
}
.bl-mv-slide-wrapper.--js-odd {
  animation: scroll-odd 150s linear -75s infinite;
}
.bl-mv-slide-wrapper.--js-even {
  animation: scroll-even 150s linear 0s infinite;
}
.bl-mv-slide-wrapper {
  display: flex;
  will-change: translate;
}
.bl-mv-slide-container {
  display: flex;
}
.bl-mv-slide {
  min-width: 666px;
}
.bl-mv-slide > img {
  object-fit: cover;
  height: 100%;
}
@keyframes scroll-odd {
  0% {
    translate: 100%;
  }
  100% {
    translate: -100%;
  }
}
@keyframes scroll-even {
  0% {
    translate: 0;
  }
  100% {
    translate: -200%;
  }
}
@keyframes scroll-odd-reverse {
  0% {
    translate: -100%;
  }
  100% {
    translate: 100%;
  }
}
@keyframes scroll-even-reverse {
  0% {
    translate: -200%;
  }
  100% {
    translate: 0;
  }
}

@media (width >= 751px) {
  .bl-mv-slide-outer.sp {
    display: none;
  }
}
@media (width <= 750px) {
  .bl-mv-slide-outer {
    height: 33.3333333333svh;
  }
  .bl-mv-slide-outer.pc {
    display: none;
  }
  .bl-mv-slide-outer:nth-of-type(4) .bl-mv-slide-wrapper.--js-odd {
    animation: scroll-odd-reverse 100s linear -50s infinite;
  }
  .bl-mv-slide-outer:nth-of-type(4) .bl-mv-slide-wrapper.--js-even {
    animation: scroll-even-reverse 100s linear 0s infinite;
  }
  .bl-mv-slide-wrapper.--js-odd {
    animation: scroll-odd 100s linear -50s infinite;
  }
  .bl-mv-slide-wrapper.--js-even {
    animation: scroll-even 100s linear 0s infinite;
  }
  .bl-mv-slide-container {
    display: flex;
  }
  .bl-mv-slide {
    min-width: 750px;
  }
}
/* =======================================================
message
======================================================= */
.ly-message {
  position: relative;
  padding: 144px 0;
}
.ly-message::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  content: "";
  background-color: rgba(255, 255, 255, 0.8);
  translate: -50% -50%;
}

.bl-message-movie {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bl-message {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 148px;
  align-items: center;
  justify-content: center;
}
.bl-message-hgroup {
  font-weight: 700;
  color: var(--color-main);
}
.bl-message-hgroup-ttl {
  font-size: 56px;
  line-height: calc(72/56);
  letter-spacing: 0;
}
.bl-message-hgroup-txt {
  font-size: 26px;
  line-height: calc(32/26);
}
.bl-message-txt-wrapper {
  display: grid;
  gap: 1.5em;
}
.bl-message-txt {
  line-height: calc(36/16);
  color: var(--color-main);
}

@media (width >= 751px) {
  .bl-message {
    grid-template-columns: repeat(2, auto);
  }
}
@media (width <= 750px) {
  .ly-message {
    padding: 96px 0 88px;
  }
  .bl-message {
    gap: 64px;
  }
  .bl-message-hgroup {
    text-align: center;
  }
  .bl-message-hgroup-ttl {
    margin-bottom: 8px;
  }
  .bl-message-txt {
    line-height: 2;
    text-align: center;
  }
}
/* =======================================================
guradation-bg
======================================================= */
.bl-guradation-bg {
  overflow: clip;
  background-image: url("../images/top/guradation-bg.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.bl-guradation-bg .ly-cont-inner {
  position: relative;
}
.bl-guradation-bg .ly-cont-inner::before {
  position: absolute;
  top: 0;
  left: -488px;
  width: 380px;
  height: 1878px;
  content: "";
  background-image: url("../images/top/guradation-bg-deco.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* =======================================================
works
======================================================= */
.ly-works {
  position: relative;
  z-index: 2;
  padding: 128px 0;
}
.ly-works .swiper-horizontal > .swiper-pagination-bullets,
.ly-works .swiper-pagination-bullets.swiper-pagination-horizontal,
.ly-works .swiper-pagination-custom,
.ly-works .swiper-pagination-fraction {
  transition-property: background-color;
  will-change: background-color;
}
.ly-works .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.ly-works .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet,
.ly-works .swiper-pagination-custom .swiper-pagination-bullet,
.ly-works .swiper-pagination-fraction .swiper-pagination-bullet {
  border: 1px solid var(--color-brightest);
  transition-property: border-color;
  will-change: border-color;
}
.ly-works .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet:focus-visible,
.ly-works .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet:focus-visible,
.ly-works .swiper-pagination-custom .swiper-pagination-bullet:focus-visible,
.ly-works .swiper-pagination-fraction .swiper-pagination-bullet:focus-visible {
  border-color: var(--color-main);
  opacity: 1;
}
@media (any-hover: hover) {
  .ly-works .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet:hover,
  .ly-works .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet:hover,
  .ly-works .swiper-pagination-custom .swiper-pagination-bullet:hover,
  .ly-works .swiper-pagination-fraction .swiper-pagination-bullet:hover {
    border-color: var(--color-main);
    opacity: 1;
  }
}
.ly-works .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet-active,
.ly-works .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet-active,
.ly-works .swiper-pagination-custom .swiper-pagination-bullet-active,
.ly-works .swiper-pagination-fraction .swiper-pagination-bullet-active {
  background-color: var(--color-main);
  border-color: var(--color-main);
}

.bl-works-btn {
  margin-inline: auto;
}

.c-works-slide {
  background-color: var(--color-brightest);
}
.c-works-article-wrapper {
  margin-bottom: 64px;
}
.c-works-article-body {
  background-color: var(--color-brightest);
}

@media (width >= 751px) {
  .c-works-article-wrapper {
    row-gap: 0;
  }
}
@media (width <= 750px) {
  .ly-works {
    padding: 102px 0;
  }
  .c-works-article-link {
    background-color: var(--color-brightest);
  }
}
/* =======================================================
service
======================================================= */
.ly-service {
  position: relative;
  z-index: 2;
  padding-bottom: 128px;
}
.ly-service .c-btn {
  margin-inline: auto;
}
.ly-service .u-bullet-list {
  font-weight: 700;
}

.bl-service-ttl {
  margin-bottom: 32px;
  text-align: center;
}
.bl-service-intro {
  margin-bottom: 24px;
  font-size: 24px;
  text-align: center;
}
.bl-service-box {
  position: relative;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 32px;
  align-items: center;
  padding: 60px 32px 60px 0;
  margin-bottom: 64px;
}
.bl-service-box::before {
  position: absolute;
  top: 50%;
  left: 56px;
  width: calc(100% - 56px);
  height: 100%;
  content: "";
  background-color: var(--color-brightest);
  translate: 0 -50%;
}
.bl-service-box .bl-box-imgwrapper {
  position: relative;
  z-index: var(--z-index-on);
}
.bl-service-box .bl-box-body {
  position: relative;
  z-index: var(--z-index-on);
  display: grid;
  gap: 1.5em;
}

@media (width <= 750px) {
  .ly-service {
    padding-bottom: 96px;
  }
  .bl-service-ttl {
    margin-bottom: 40px;
  }
  .bl-service-intro {
    margin-bottom: 64px;
    font-size: 28px;
  }
  .bl-service-box {
    grid-template-columns: auto;
    gap: 48px;
    padding: 64px 8px 64px 0;
  }
  .bl-service-box::before {
    left: -40px;
    width: 100vw;
  }
  .bl-service-box .bl-box-imgwrapper {
    translate: -40px;
  }
  .bl-service-box .bl-box-body {
    padding-left: 8px;
  }
}
/* =======================================================
news
======================================================= */
.ly-news {
  padding: 96px 0;
  background-color: var(--color-brightest);
}

.bl-news-ttl {
  margin-bottom: 40px;
  text-align: center;
}
.bl-news .c-news-article-wrapper {
  margin-bottom: 64px;
}
.bl-news .c-news-article {
  display: grid;
  gap: 32px;
  border-color: var(--color-main);
}
.bl-news .c-news-article-head {
  gap: 32px;
}
.bl-news .c-news-article-link {
  gap: 72px;
  padding: 1em 0;
}
.bl-news .c-btn {
  margin-inline: auto;
}
.bl-news .c-cat {
  padding: calc(4px - var(--notosans-top-offset)) 18px calc(4px + var(--notosans-top-offset));
  font-size: 1em;
}

@media (width >= 751px) {
  .bl-news .c-news-article-wrapper {
    grid-template-columns: auto 1fr;
  }
  .bl-news .c-news-article {
    grid-template-columns: subgrid;
    grid-column: span 2;
  }
  .bl-news .c-news-article-head {
    max-width: 280px;
  }
  .bl-news .c-news-article-link {
    grid-template-columns: inherit;
    grid-column: inherit;
  }
}
@media (width <= 750px) {
  .bl-news-ttl {
    margin-bottom: 64px;
  }
  .bl-news .c-news-article {
    gap: 48px;
    border-width: 2px;
  }
  .bl-news .c-news-article-link {
    grid-template-columns: auto;
    gap: 16px;
  }
  .bl-news .c-news-article-head {
    gap: 48px;
  }
  .bl-news .c-cat {
    padding: calc(6px - var(--notosans-top-offset)) 24px calc(6px + var(--notosans-top-offset));
    font-size: 26px;
  }
}