.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  background-color: #fff;
  z-index: 999;
  animation: loading 3.5s ease-out forwards;
}

@keyframes loading {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.loading__logo {
  position: absolute;
  top: 50%;
  left: 90px;
  transform: translateY(-50%);
  width: 240px;
  height: 22px;
}
@media (max-width: 768px) {
  .loading__logo {
    width: 170px;
    height: 15px;
    left: 20px;
  }
}
.loading__logo img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.loading__logo .red {
  opacity: 1;
  animation: hide 1.5s ease-out 0.7s forwards;
}
.loading__logo .white {
  opacity: 0;
  animation: show 1.5s ease-out 0.7s forwards;
}

@keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes hide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.loading__circle {
  position: absolute;
  bottom: -80vh;
  left: -80vh;
  width: 100vh;
  height: 100vh;
  background: radial-gradient(circle, rgb(236, 140, 140) 0%, rgb(226, 82, 82) 100%);
  animation: expandCircle 2s ease-out 0.5s forwards;
  border-radius: 50%;
  transform: scale(0);
}
@media (max-width: 768px) {
  .loading__circle {
    bottom: 0;
    animation: expandCircleSp 2s ease-out 0.5s forwards;
  }
}

@keyframes expandCircle {
  0% {
    transform: scale(0);
    bottom: -80vh;
    left: -80vh;
  }
  100% {
    transform: scale(7);
  }
}
@keyframes expandCircleSp {
  0% {
    transform: scale(0);
    bottom: 0;
    left: -80vh;
  }
  100% {
    transform: scale(5);
  }
}
.mv {
  padding: 0 30px;
  animation: show 4.5s ease-out forwards;
  opacity: 0;
}
@media (max-width: 768px) {
  .mv {
    padding: 0 12px;
  }
}

.mv__img-wrapper {
  position: relative;
  z-index: 1;
}

.mv__img-slide {
  height: auto;
  overflow: hidden;
  border-radius: 30px;
}
@media (max-width: 768px) {
  .mv__img-slide {
    border-radius: 15px;
  }
}
.mv__img-slide picture {
  height: 100%;
  animation: fadezoom 23s 0s forwards;
}
.mv__img-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}
.mv__copy-wrapper {
  position: absolute;
  left: 56px;
  bottom: 90px;
  color: #fff;
  z-index: 2;
}
@media (max-width: 768px) {
  .mv__copy-wrapper {
    left: 10px;
    bottom: 70px;
  }
}

.mv__main-copy {
  font-size: 2.5rem;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .mv__main-copy {
    font-size: 1.4375rem;
    line-height: 1.6808510638;
    letter-spacing: 0.06em;
  }
}

.mv__sub-copy {
  font-family: "Outfit", sans-serif;
  font-size: 1.1875rem;
  letter-spacing: 0.04em;
  margin-top: 32px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .mv__sub-copy {
    font-size: 0.8125rem;
    margin-top: 14px;
  }
}

.mv__scroll-bar {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  width: 1px;
  height: 64px;
  background-color: #fff;
  z-index: 2;
}
@media (max-width: 768px) {
  .mv__scroll-bar {
    height: 92px;
    right: 14px;
  }
}
.mv__scroll-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  animation: scrollBall 3s infinite ease-in-out;
}

@keyframes scrollBall {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}
.news {
  padding: 96px 0 50px;
}
@media (max-width: 768px) {
  .news {
    padding: 50px 0;
  }
}

.service {
  position: relative;
  padding: 145px 0 136px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .service {
    padding: 80px 0 58px;
  }
}

.service__bg {
  position: absolute;
  width: 180vw;
  z-index: -1;
}
@media (max-width: 768px) {
  .service__bg {
    width: 300vw;
  }
}
.service__bg.bg01 {
  top: 0;
  left: -50vw;
}
@media (max-width: 768px) {
  .service__bg.bg01 {
    left: -140vw;
  }
}
.service__bg.bg02 {
  bottom: -115vw;
  right: -65vw;
}
@media (max-width: 768px) {
  .service__bg.bg02 {
    bottom: -146vw;
    right: -155vw;
  }
}

.service__side-title {
  position: absolute;
  top: 120px;
  left: -156px;
  width: 88px;
  height: 623px;
}
@media (max-width: 768px) {
  .service__side-title {
    top: 80px;
    left: 0;
    width: 40px;
    height: 282px;
  }
}

.service__contents {
  position: relative;
  max-width: 604px;
  margin: 80px auto 0;
}
@media (max-width: 768px) {
  .service__contents {
    margin-top: 40px;
    width: 90%;
  }
}
.service__contents::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -150px;
  width: 78px;
  height: 90px;
  background: transparent url(../img/front-page/motif_particle_s.svg) no-repeat center center/contain;
  animation: sparkle 5s infinite ease-in-out;
  z-index: 2;
}
@media (max-width: 768px) {
  .service__contents::before {
    width: 52px;
    height: 60px;
    top: -70px;
    left: 30px;
  }
}
.service__contents::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -280px;
  width: 204px;
  height: 147px;
  background: transparent url(../img/front-page/motif_particle_l.svg) no-repeat center center/contain;
  animation: sparkleReverse 5s infinite ease-in-out;
  z-index: 2;
}
@media (max-width: 768px) {
  .service__contents::after {
    width: 84px;
    height: 60px;
    bottom: -24px;
    right: auto;
    left: -10px;
  }
}

@keyframes sparkle {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  30% {
    opacity: 0.6;
  }
  50% {
    transform: rotate(10deg) scale(1.1);
    opacity: 1;
  }
  80% {
    opacity: 0.8;
  }
}
@keyframes sparkleReverse {
  0%, 100% {
    transform: rotate(10deg) scale(1.1);
    opacity: 1;
  }
  30% {
    opacity: 0.6;
  }
  50% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  80% {
    opacity: 0.8;
  }
}
.service__heading {
  font-size: 2.125rem;
  line-height: 2;
  letter-spacing: 0.1em;
  font-weight: 700;
}
@media (max-width: 768px) {
  .service__heading {
    font-size: 1.125rem;
    letter-spacing: 0.03em;
  }
}

.service__desc {
  margin-top: 40px;
  font-size: 1.0625rem;
  line-height: 2.1764705882;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .service__desc {
    font-size: 0.8125rem;
    margin-top: 20px;
    letter-spacing: 0.03em;
  }
}

.works {
  padding: 120px 0 132px;
}
@media (max-width: 768px) {
  .works {
    padding: 35px 0 60px;
  }
}
@media (max-width: 768px) {
  .works .c-heading-section {
    width: 90%;
  }
}
@media (max-width: 768px) {
  .works .c-btn-wrapper {
    margin-top: 0;
  }
}

.works__side-title {
  position: absolute;
  top: -20px;
  left: -156px;
  width: 97px;
  height: 351px;
}
@media (max-width: 768px) {
  .works__side-title {
    width: 40px;
    height: 144px;
    left: auto;
    right: 8px;
    top: 0;
  }
}

.recruit {
  position: relative;
  display: flex;
  background-color: rgba(247, 244, 242, 0.8);
  height: 54.1666666667vw;
  overflow: hidden;
}
@media (max-width: 768px) {
  .recruit {
    display: block;
    height: auto;
  }
}

.recruit__img {
  width: 50%;
  height: 100%;
}
@media (max-width: 768px) {
  .recruit__img {
    width: 100%;
    height: auto;
  }
}
.recruit__img img {
  height: 100%;
  object-fit: cover;
}

.recruit__text-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: min(6vw, 110px);
  width: 50%;
  z-index: 2;
}
@media (max-width: 768px) {
  .recruit__text-wrapper {
    width: 100%;
    padding: 32px 24px;
  }
}

.recruit__side-title {
  position: absolute;
  bottom: 0;
  right: 74px;
  width: 37.1666666667vw;
  height: 8vw;
  z-index: 1;
}
@media (max-width: 768px) {
  .recruit__side-title {
    height: 48px;
    width: 223px;
    right: -80px;
    bottom: 202px;
    transform: rotate(-90deg);
  }
}

.recruit__copy {
  font-size: min(2.5vw, 1.875rem);
  line-height: 1.9333333333;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-top: min(3.3333333333vw, 64px);
}
@media (max-width: 768px) {
  .recruit__copy {
    font-size: 1.125rem;
    margin-top: 40px;
    letter-spacing: 0.03em;
  }
}

.recruit__desc {
  font-size: min(1.4166666667vw, 1.0625rem);
  line-height: 2.1764705882;
  letter-spacing: 0.1em;
  margin: min(2.6666666667vw, 42px) 0 min(3.3333333333vw, 64px);
}
@media (max-width: 768px) {
  .recruit__desc {
    font-size: 0.8125rem;
    margin: 24px 0;
  }
}

.contact {
  position: relative;
  padding: 200px 0 150px;
  text-align: center;
}
@media (max-width: 768px) {
  .contact {
    padding: 90px 0 52px;
  }
}

.contact__heading {
  position: relative;
  display: inline-block;
  font-size: 1.1875rem;
  line-height: 2.5263157895;
  letter-spacing: 0.12em;
}
@media (max-width: 768px) {
  .contact__heading {
    font-size: 0.9375rem;
  }
}
.contact__heading::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -68px;
  width: 44px;
  height: 1px;
  background-color: #d7d7d7;
}
@media (max-width: 768px) {
  .contact__heading::before {
    width: 22px;
    left: -30px;
  }
}

.contact__btn {
  justify-content: center;
  margin: 48px auto 0;
  width: 332px;
  height: 96px;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .contact__btn {
    margin-top: 36px;
    font-size: 1.0625rem;
    width: 195px;
    height: 56px;
  }
}
.contact__btn::after {
  right: 40px;
}
@media (max-width: 768px) {
  .contact__btn::after {
    right: 25px;
  }
}

.contact__side-title {
  position: absolute;
  top: -80px;
  left: -156px;
  width: 97px;
  height: 351px;
}
@media (max-width: 768px) {
  .contact__side-title {
    top: -30px;
    width: 42px;
    height: 228px;
    left: 0;
  }
}

.contact__img-wrapper {
  display: flex;
  overflow: hidden;
  margin-top: 156px;
  gap: 0 26px;
}
@media (max-width: 768px) {
  .contact__img-wrapper {
    margin-top: 60px;
  }
}

.contact__img-list {
  display: flex;
  align-items: flex-start;
  gap: 0 26px;
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.contact__img-item {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 7px 7px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .contact__img-item {
    border-radius: 10px;
  }
}
.contact__img-item:nth-child(7n+1) {
  width: 300px;
}
@media (max-width: 768px) {
  .contact__img-item:nth-child(7n+1) {
    width: 170px;
  }
}
.contact__img-item:nth-child(7n+2), .contact__img-item:nth-child(7n+5) {
  margin-top: 72px;
  width: 368px;
}
@media (max-width: 768px) {
  .contact__img-item:nth-child(7n+2), .contact__img-item:nth-child(7n+5) {
    margin-top: 35px;
    width: 215px;
  }
}
.contact__img-item:nth-child(7n+3), .contact__img-item:nth-child(7n+6) {
  width: 272px;
}
@media (max-width: 768px) {
  .contact__img-item:nth-child(7n+3), .contact__img-item:nth-child(7n+6) {
    width: 154px;
  }
}
.contact__img-item:nth-child(7n+4), .contact__img-item:nth-child(7n+7) {
  margin-top: 150px;
  width: 232px;
}
@media (max-width: 768px) {
  .contact__img-item:nth-child(7n+4), .contact__img-item:nth-child(7n+7) {
    margin-top: 80px;
    width: 120px;
  }
}
.contact__img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


@media (min-width: 769px) and (max-width: 1024px) {
	.mv__main-copy{
		font-size: 2rem;
		line-height: 1.6;
	}
	.mv__sub-copy{
		font-size: 1rem;
		margin-top: 15px;
	}
	
	.mv__copy-wrapper{
		left: 40px;
    	bottom: 40px;
	}
}