.top {
  overflow-x: clip;
}

.js-hero-img,
.js-hero-title span,
.js-hero-subtitle,
.js-hero-vec1,
.js-hero-navi,
.js-header {
  opacity: 0;
}

.js-hero-stroke,
.js-hero-stroke2 {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000px;
  pointer-events: none;
}

.about__stroke {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000px;
  transition: 3s;
  transition-timing-function: ease-in;
}
.about__stroke.is-active {
  stroke-dashoffset: 0;
}

.news__stroke {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000px;
  transition: 3s;
  transition-timing-function: ease-in;
  transform: translateZ(0);
}
.news__stroke.is-active {
  stroke-dashoffset: 0;
}

.about__image1 img {
  transition: 0.9s;
  transition-delay: 0.4s;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  scale: 0;
  opacity: 0;
}
.about__image1 img.is-active {
  opacity: 1;
  scale: 1;
}

.about-images .about-image {
  transition: 0.9s;
  transition-delay: 0.3s;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  scale: 0;
  opacity: 0;
}
.about-images .about-image--2 {
  transition-delay: 0.6s;
}
.about-images .about-image--3 {
  transition-delay: 0.9s;
}
.about-images .about-image--4 {
  transition-delay: 1.2s;
}
.about-images.is-active .about-image {
  scale: 1;
  opacity: 1;
}

.top {
  --gradient1: linear-gradient(112deg, #708ec9 1.15%, #6584c3 22.74%, #c5d3ef 58.16%, #3c6ac4 90.4%);
}
@media (max-width: 767px) {
  .top {
    overflow-x: clip;
  }
}
.top svg {
  pointer-events: none;
}

.hero {
  height: 65.6661786237vw;
  min-height: 100vh;
  position: relative;
}
.hero .acent {
  color: var(--accent1);
}
.hero.is-loaded .splide__slide.is-active img,
.hero.is-loaded .splide__slide.is-prev img,
.hero.is-loaded .splide__slide img.is-prev {
  animation: scale 7s linear 0s normal both;
}
@media (max-width: 1264px) {
  .hero {
    min-height: 92rem;
    height: 92rem;
  }
}
@media (max-width: 767px) {
  .hero {
    height: 66.7rem;
    min-height: 66.7rem;
  }
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-left: 5.36rem;
  height: 100%;
  max-height: 100vh;
}
@media (max-width: 767px) {
  .hero__inner {
    padding-left: 0;
  }
}
.hero__txtbox {
  position: absolute;
  inset: auto auto 11rem 5.36rem;
}
@media (max-width: 767px) {
  .hero__txtbox {
    inset: auto auto 5.5rem 1.5rem;
  }
}
.hero__title {
  font-weight: 700;
  font-size: 7.2rem;
  line-height: 10rem;
}
@media (max-width: 767px) {
  .hero__title {
    font-size: 4.2rem;
    line-height: 1.4;
    margin-bottom: 1.9rem;
  }
}
.hero__subtitle {
  font-size: 2rem;
  line-height: 11rem;
  font-family: var(--font-en);
}
@media (max-width: 767px) {
  .hero__subtitle {
    font-size: 1.2rem;
    line-height: 2;
  }
}
.hero__image-visaul {
  mask-image: url("../images/top/mv-mask.png");
  mask-repeat: no-repeat;
  mask-size: 100%;
  height: 100%;
}
.hero__image-visaul img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media print, screen and (min-width: 768px) {
  .hero__image-visaul {
    mask-position: top -21rem right -3.5rem;
  }
}
@media (max-width: 767px) {
  .hero__image-visaul {
    mask-size: 130%;
    mask-position: top -4.9rem right -14rem;
  }
}
.hero__image {
  width: 71.2298682284vw;
  position: absolute;
  inset: 0 0 auto auto;
}
@media (max-width: 767px) {
  .hero__image {
    width: 100%;
  }
  .hero__image img {
    height: 43.8rem;
    width: 100%;
    object-fit: cover;
  }
}
.hero__image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(215deg, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.9) 74.05%);
  mask-image: url("../images/top/mv-mask.png");
  mask-position: top -20.2rem right -3.2rem;
  mask-size: 100%;
  mask-repeat: no-repeat;
  z-index: 2;
}
@media (max-width: 767px) {
  .hero__image-layer {
    mask-size: 130%;
    mask-position: top -4.9rem right -14rem;
  }
}
.hero__stroke1 {
  position: absolute;
  inset: auto auto 5rem;
  width: 100%;
}
.hero__vec1 {
  position: absolute;
  inset: auto 0 -3rem;
  width: 100%;
  height: 39rem;
}
.hero .splide__progress {
  width: 18rem;
  transform: rotate(90deg);
  position: absolute;
  inset: 100vh 6.3rem auto auto !important;
  z-index: 10;
  transform-origin: right;
  background-color: var(--color-black);
  height: 1px;
}
@media (max-width: 1390px) {
  .hero .splide__progress {
    inset: auto 6.3rem 0 auto !important;
  }
}
@media (max-width: 767px) {
  .hero .splide__progress {
    width: 12rem;
    inset: 58.7rem 2rem 0 auto !important;
  }
}
.hero .slide-nums {
  position: absolute;
  inset: calc(100vh - 21rem) 5.8rem auto auto !important;
  height: 24rem;
  z-index: 11;
  font-size: 2rem;
  font-weight: bold;
  font-family: var(--font-en);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 1390px) {
  .hero .slide-nums {
    inset: auto 5.8rem -3.1rem auto !important;
  }
}
@media (max-width: 767px) {
  .hero .slide-nums {
    height: 18rem;
    inset: 44rem 1.5rem auto auto !important;
  }
}
.hero .splide__progress__bar {
  position: relative;
  transform: translate(0, -1px);
  height: 3px;
  background: var(--accent1);
}

.hero-carousel-progress {
  position: absolute;
  inset: auto 6.3rem 0 auto;
  height: 18rem;
  width: 1px;
  background-color: #efefef;
  margin: 5rem auto;
}

.hero-carousel-progress-bar {
  background-color: var(--accent2);
  transition: width 1000ms ease;
  width: 2px;
  height: 0;
}

@media (max-width: 767px) {
  .about {
    padding-top: 4rem;
    overflow-x: clip;
  }
}
.about__ellipse {
  width: 31rem;
  height: 29rem;
  transform: rotate(46.531deg);
  flex-shrink: 0;
  border-radius: 31rem;
  background: var(--style, linear-gradient(97deg, #c5d3ef 7.61%, #0e50d4 101.52%));
  filter: blur(162px);
  position: absolute;
  inset: auto auto 0 0;
}
@media (max-width: 767px) {
  .about__ellipse {
    inset: auto auto 48rem -9rem;
  }
}
.about__text {
  position: relative;
  z-index: 2;
}
.about__text p {
  font-weight: bold;
  font-size: 2rem;
  line-height: 4.8rem;
}
@media (max-width: 767px) {
  .about__text p {
    font-size: 1.6rem;
    line-height: 2;
  }
}
.about__image1 {
  position: relative;
  top: -6rem;
  scale: 1.1;
}
@media (max-width: 767px) {
  .about__image1 {
    top: -4rem;
    scale: 1.2;
    margin-bottom: -3rem;
  }
}
.about__stroke {
  position: absolute;
  bottom: -8vw;
  left: 0;
  width: 100vw;
}
@media (max-width: 767px) {
  .about__stroke {
    bottom: 27.5rem;
  }
}
@keyframes holizon-animation1 {
  0% {
    transform: translate(0%, 0);
  }
  100% {
    transform: translate(calc(-100% - 3.2rem), 0);
  }
}
.about__scrolls {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  gap: 2em;
}
@media (max-width: 767px) {
  .about__scrolls {
    margin-top: -1rem;
  }
}
.about__scroll {
  animation: holizon-animation1 40s linear infinite;
  color: var(--accent1);
  font-family: var(--font-en);
  font-size: 14rem;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 767px) {
  .about__scroll {
    font-size: 10rem;
  }
}

.about-row {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 54.5rem;
}
@media (max-width: 767px) {
  .about-row {
    display: block;
  }
}

.about-images {
  display: flex;
  padding-left: 2.8rem;
  position: relative;
  z-index: 2;
  margin-top: 5rem;
}
@media (max-width: 767px) {
  .about-images {
    overflow-x: clip;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0;
    margin-top: 0;
    padding-top: 5rem;
  }
}

.about-image {
  position: relative;
}
@media print, screen and (min-width: 768px) {
  .about-image--1 {
    top: 12rem;
  }
  .about-image--2 {
    top: -8rem;
  }
  .about-image--4 {
    top: 15rem;
  }
}
@media (max-width: 767px) {
  .about-image--1 {
    width: 18.3rem;
    left: -1.1rem;
  }
  .about-image--2 {
    width: 23.9rem;
    left: -3rem;
    margin-top: -4.5rem;
  }
  .about-image--3 {
    width: 32rem;
    margin-left: -9rem;
    margin-top: -5rem;
    margin-right: -5rem;
  }
  .about-image--4 {
    margin: -4rem 0rem 0 0rem;
  }
}

.service {
  position: relative;
  border-radius: 6rem;
  background: var(--gradient1);
  padding: 10rem 0;
  overflow: hidden;
  z-index: 3;
}
@media print, screen and (min-width: 768px) {
  .service {
    height: 89rem;
  }
}
@media (max-width: 767px) {
  .service {
    border-radius: 3rem;
    padding: 6rem 0;
  }
}
.service__inner {
  display: grid;
  grid-template-columns: 1fr 60rem;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .service__inner {
    gap: 6rem;
    grid-template-columns: auto;
  }
}
.service .top-headline {
  color: #fff;
}
.service .top-headline__ruby::before {
  background-color: #fff;
}

#service-box {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-box {
  counter-reset: num;
}
@media print, screen and (min-width: 768px) {
  .service-box__content {
    min-height: 64.6rem;
    padding-bottom: 4rem;
  }
}
@media (max-width: 767px) {
  .service-box__content {
    margin-bottom: 2rem;
  }
}
.service-box__content:last-child {
  margin-bottom: 0;
}

.service-card {
  background-color: #fff;
  border-radius: 2rem;
  overflow: hidden;
  height: 100%;
  padding: 4rem 3.4rem;
  display: block;
}
@media (max-width: 767px) {
  .service-card {
    padding: 4rem 3rem;
  }
}
.service-card:hover .service-card__image img {
  scale: 1.05;
}
.service-card__image {
  margin-bottom: 1.5rem;
  overflow: hidden;
  height: 24rem;
}
@media (max-width: 767px) {
  .service-card__image {
    margin-bottom: 0;
    height: 19rem;
  }
}
.service-card__image img {
  transition: 0.6s;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card__title1 {
  display: flex;
  font-size: 3.2rem;
  align-items: center;
  color: var(--accent1);
  gap: 1rem;
  height: 11rem;
  counter-increment: num;
}
@media (max-width: 767px) {
  .service-card__title1 {
    font-size: 2.8rem;
    height: 9rem;
  }
}
.service-card__title1::before {
  content: "0" counter(num);
  font-size: 3.6rem;
  line-height: 6.9rem;
  position: relative;
  top: 0.2rem;
  font-weight: bold;
  text-align: center;
  color: var(--accent1);
  font-family: var(--font-en);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2261%22%20height%3D%2260%22%20viewBox%3D%220%200%2061%2060%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M54.4169%207.53556C64.0795%2017.7287%2061.5038%2036.122%2048.3099%2048.6292C35.116%2061.1364%2016.6114%2062.7261%206.94876%2052.5328C-2.71359%2042.3396%20-0.137476%2023.947%2013.0564%2011.4399C26.2502%20-1.06708%2044.7542%20-2.65734%2054.4169%207.53556Z%22%20stroke%3D%22%231A408B%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 6rem;
  height: 6.6rem;
  display: block;
}
.service-card__title2 {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
@media (max-width: 767px) {
  .service-card__title2 {
    margin-top: -1rem;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}
.service-card__icon {
  margin-left: auto;
  margin-top: 3rem;
}
@media (max-width: 767px) {
  .service-card__icon {
    margin-top: 2.4rem;
  }
}
.news {
  position: relative;
}
.news__ellipse {
  pointer-events: none;
  width: 31rem;
  height: 29rem;
  transform: rotate(46.531deg);
  flex-shrink: 0;
  border-radius: 31rem;
  background: var(--style, linear-gradient(97deg, #c5d3ef 7.61%, #0e50d4 101.52%));
  filter: blur(162px);
  position: absolute;
  inset: auto auto 5rem 3rem;
}
.news__stroke {
  position: absolute;
  width: 79.7218155198vw;
  inset: -6.8vw 0 auto auto;
}
@media (max-width: 767px) {
  .news__stroke {
    width: 100vw;
    inset: -22.3rem 0 auto auto;
  }
}

@media print, screen and (min-width: 768px) {
  .news-row {
    display: grid;
    grid-template-columns: 24rem 90rem;
    justify-content: space-between;
  }
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
@media (max-width: 767px) {
  .news-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
  }
}

.news-tab {
  width: 24rem;
  height: 5rem;
  border-radius: 3rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: start;
  font-weight: bold;
  padding: 0 3rem;
  --button-text-color: var(--color-black);
  --button-color: #fefeff;
}
@media (max-width: 767px) {
  .news-tab {
    width: 100%;
    height: 4rem;
    font-size: 1.4rem;
    padding: 0 1rem;
    text-align: center;
    justify-content: center;
  }
}
.news-tab.is-active {
  --button-before-bg: var(--accent1) !important;
}
