@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");
.en {
  font-family: "Montserrat", sans-serif;
}

.home {
  position: relative;
  z-index: 1;
}
.home .bg-object {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.home .bg-object .screen {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.home .content-block + .content-block {
  margin-top: min(240px, 32vw);
}
.home .block-heading + * {
  margin-top: min(100px, 13.3333333333vw);
}
.home .button {
  margin: auto;
  padding: 1em 1.5em;
  width: min(240px, 100%);
}
.home .block-title {
  width: fit-content;
  color: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 2.7rem;
  font-size: clamp(2.7rem, 0.8772151899rem + 2.3734177215vw, 4.2rem);
  letter-spacing: 0.15em;
  line-height: 1;
  background-image: linear-gradient(to right, var(--corporate-color) 0%, #000 50%, transparent 50%, transparent 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  transition: all 0.4s ease-out;
}
.home .block-title + p {
  margin-top: min(25px, 1.1428571429em);
  font-size: 1.4rem;
  font-size: clamp(1.4rem, 0.9139240506rem + 0.6329113924vw, 1.8rem);
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.home .block-title.show {
  background-position: 0 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes bgAnimation {
  0% {
    background-position: 100% 100%;
  }
  40% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 0% 100%;
  }
  90% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}
.home-mv {
  height: min(600px, 120vw);
  /* .wrap {
    opacity: 0;
    animation: fadeIn 2s ease-out .5s forwards;
  } */
}
.home-mv .mv-txt {
  margin: auto;
  width: min(700px, 100%);
  color: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 10rem;
  font-size: clamp(10rem, 3.3333333333rem + 10.4166666667vw, 14rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  background-color: #000;
  background-image: radial-gradient(circle 2.5em at 50% 75%, hsl(31deg, 100%, 55%) 0px, rgba(0, 0, 0, 0) 50%), radial-gradient(circle 3em at 40% 25%, hsl(359deg, 100%, 50%) 0px, rgba(0, 0, 0, 0) 50%), radial-gradient(circle 2.5em at 60% 25%, hsl(49deg, 100%, 50%) 0px, rgba(0, 0, 0, 0) 50%);
  background-size: 200% 200%;
  background-position: 50% 50%;
  -webkit-background-clip: text;
  animation: bgAnimation 8s linear infinite;
}
@media screen and (max-width: 639px) {
  .home-mv .mv-txt {
    font-size: 6rem;
    font-size: clamp(6rem, 0.3396226415rem + 15.0943396226vw, 10rem);
  }
}
@media screen and (min-width: 640px) {
  .home-mv .mv-txt > span {
    display: block;
  }
}
.home-mv .mv-txt-img {
  margin: auto;
  width: min(240px, 37.3333333333vw);
}

.message-block {
  margin: auto;
  width: min(800px, 86.6666666667vw);
  text-align: center;
}
.message-block .catch-txt {
  margin: auto;
  width: min(640px, 100%);
  color: #444;
  font-size: 2.1rem;
  font-size: clamp(2.1rem, 0.2772151899rem + 2.3734177215vw, 3.6rem);
  line-height: 1.5555555556;
}
.message-block .catch-txt + p {
  margin-top: min(60px, 8vw);
}
.message-block .img-box {
  margin: min(100px, 13.3333333333vw) auto 0;
  width: min(800px, 100%);
}
.message-block .button-box {
  margin-top: min(60px, 8vw);
}
@media screen and (max-width: 639px) {
  .message-block p {
    text-align: left;
  }
}
@media screen and (min-width: 640px) {
  .message-block .catch-txt + p .line {
    display: inline-block;
  }
}

.service-list .service-title {
  text-align: center;
}
.service-list .service-title .en {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-size: clamp(1.8rem, 1.0708860759rem + 0.9493670886vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}
.service-list .service-title .ja {
  font-size: 1.1rem;
  font-size: clamp(1.1rem, 0.8569620253rem + 0.3164556962vw, 1.3rem);
  font-weight: normal;
}
.service-list .img-box {
  margin: min(40px, 6.6666666667vw) auto 0;
  width: min(84px, 26.25%);
}
.service-list .img-box + p {
  margin: min(50px, 8vw) 0;
}
.service-list .button-box {
  margin: auto 0 0;
}
@media screen and (max-width: 639px) {
  .service-list {
    margin: auto;
    width: min(320px, 85.3333333333vw);
  }
  .service-list > li + li {
    margin-top: min(60px, 16vw);
  }
}
@media screen and (min-width: 640px) {
  .service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3em 6.0546875%;
  }
  .service-list > li {
    display: flex;
    flex-direction: column;
    width: min(300px, 29.296875%);
  }
}

.works-block {
  overflow: hidden;
}
.works-block .button-box {
  margin-top: min(50px, 10.6666666667vw);
}
.works-block .block-heading + .slider-block {
  margin-top: 0;
}

.works-slider {
  overflow: visible;
}
.works-slider .swiper-button-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}
.works-slider .swiper-button-wrap .slider-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(50px, 11.7333333333vw);
  height: min(50px, 11.7333333333vw);
  color: var(--text-color);
  background: #fff;
  border: 2px solid currentColor;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.works-slider .swiper-button-wrap .slider-button::before {
  content: "";
  display: block;
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid currentColor;
}
.works-slider .swiper-button-wrap .slider-button:hover {
  color: var(--corporate-color);
}
.works-slider .swiper-button-wrap .button-prev {
  transform: rotate(-45deg);
}
.works-slider .swiper-button-wrap .button-prev::before {
  border-left: 2px solid currentColor;
  transform: translateX(20%);
}
.works-slider .swiper-button-wrap .button-next {
  transform: rotate(45deg);
}
.works-slider .swiper-button-wrap .button-next::before {
  border-right: 2px solid currentColor;
  transform: translateX(-20%);
}
.works-slider .swiper-wrapper {
  margin-top: 2em;
}
.works-slider .works-pagination {
  margin-top: min(100px, 13.3333333333vw);
  display: flex;
  justify-content: center;
  width: 100%;
}
.works-slider .works-pagination .swiper-pagination-bullet {
  flex: 1;
  margin: 0;
  height: 3px;
  border-radius: 0;
}
.works-slider .works-pagination .swiper-pagination-bullet-active {
  background: #333;
}

.work-item {
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.4s ease-out;
}
.work-item:hover {
  transition: all 0.2s linear;
}
.work-item:hover .img-box::after {
  opacity: 1;
}
.work-item *,
.work-item *::before,
.work-item *::after {
  transition: inherit;
}
.work-item .title {
  margin-top: 1.3333333333em;
  font-size: 1.6rem;
  font-size: clamp(1.6rem, 1.3569620253rem + 0.3164556962vw, 1.8rem);
  font-weight: bold;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.work-item .title + p {
  margin-top: 1em;
  line-height: 1.6;
}
.work-item .img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.work-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.work-item .img-box::after {
  content: "VIEW MORE";
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-size: clamp(1.8rem, 1.5569620253rem + 0.3164556962vw, 2rem);
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
}

.recruit-block .catch {
  font-size: 2.1rem;
  font-size: clamp(2.1rem, 0.2772151899rem + 2.3734177215vw, 3.6rem);
  font-weight: bold;
  line-height: 1.6;
}
.recruit-block .catch + p {
  margin-top: min(60px, 10.6666666667vw);
}
.recruit-block .button-list {
  margin: min(60px, 16vw) auto 0;
}
.recruit-block .button-list > li {
  width: min(240px, 64vw);
}
@media screen and (max-width: 639px) {
  .recruit-block .button-list {
    max-width: 240px;
  }
  .recruit-block .button-list > li + li {
    margin-top: 5.3333333333vw;
  }
}
@media screen and (min-width: 640px) {
  .recruit-block .button-list {
    display: flex;
    gap: min(32px, 2.6666666667em);
  }
  .recruit-block .button-list > li {
    width: min(240px, 64vw);
  }
}
@media screen and (min-width: 768px) {
  .recruit-block .wrap {
    display: flex;
  }
  .recruit-block .block-heading {
    writing-mode: vertical-rl;
  }
  .recruit-block .block-heading + .block-body {
    margin-top: 0;
    margin-left: min(140px, 13.671875%);
  }
  .recruit-block .block-title {
    font-size: 2.8rem;
    font-size: clamp(2.8rem, -2.546835443rem + 6.9620253165vw, 7.2rem);
    background: linear-gradient(to bottom, var(--corporate-color), #000);
    -webkit-background-clip: text;
  }
  .recruit-block .block-title + p {
    margin-top: 0;
    margin-right: 1em;
  }
}
