/* ==========
body
==========*/
.content-below {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.2s ease, opacity .8s ease;
}

.content-below.is-visible {
  opacity: 1;
  max-height: 5000px; /* 高さが足りなければ増やす */
}

/* ==========
main-visual
==========*/
.main-visual {
  position: relative;
  height: 100vh;
  padding-top: 125px;
  overflow-x: hidden;
}
.hero__text {
  color: #ffffff;
  font-size: 6.3vw;

  text-wrap: nowrap;
}
.hero__text--mirror {
  opacity: .5;
  transform: scaleY(-1);
  line-height: .9;
}
.main-visual__img {
  position: absolute;
  top: 35%;
  right: 10%;
  width: 48.8%;
  max-width: 800px;
}

.main-visual__img img {
  position: relative;
  z-index: 2;
}
.main-visual__img::before {
  position: absolute;
  top: -36px;
  left: -15%;
  z-index: 1;
  width: 50.6%;
  height: 20vh;
  background: linear-gradient(110deg, #fdf89e, #ffffff, #db2f6e) fixed;
  background-size: 800% 800%;
  content: "";
  animation: GradietionAnimation 20s ease infinite;
}
.main-visual__img::after {
  position: absolute;
  right: -8%;
  bottom: -52px;
  z-index: 1;
  width: 80%;
  height: 20vh;
  background: linear-gradient(220deg, #fdf89e, #ffffff, #db2f6e) fixed;
  background-size: 800% 800%;
  background-color: #db2f6e;
  content: "";
  content: "";
  animation: GradietionAnimation 20s ease infinite;
}
.mv-writing__text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  z-index: 30;
  width: 36.8%;
  min-width: 530px;
}
@media screen and (max-width: 1000px) {
  .main-visual__img {
    right: 0;
    left: 50%;
    transform: translateX(-50%) !important;
    width: 80%;
    max-width: 100%;
  }
  .main-visual__img::before {
    left: -40px;
  }
  .mv-writing__text {
    bottom: 100px;
    left: 20px;
    width: 70%;
    min-width: auto;
  }
}
@media screen and (max-width: 500px) {
  .mv-writing__text {
    bottom: 20px;
  }
}

/* ==========
circle
==========*/
#app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.circle {
  position: absolute;
  top: 45%;
  left: 50%;
  z-index: 0;
  z-index: 10;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  margin: 10px 10px 10px auto;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  transition: 1s;
}
.click-text {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-top: 150px;
  color: #ffffff;
  font-size: clamp(16px, 5vw, 35px);
  text-align: center;
  animation: blinking .5s ease-in-out infinite alternate;
}
@keyframes blinking {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.circle.is-animated {
  z-index: 0;
  transform: scale(100);
}

.message {
  opacity: 0;
  position: relative;
  z-index: 9;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
  transition: opacity 2s ease;
}
.message.is-show {
  opacity: 1;
  z-index: 12;
  height: 100vh;
}
.message__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.message__sentence {
  padding-bottom: 50px;
  color: #222222;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 2;
  text-align: center;

  text-wrap: nowrap;
}
.fade-down {
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-down.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
@media screen and (max-width: 768px) {
  .message__sentence {
    padding-bottom: 32px;
    font-size: 16px;
  }
}

/* ==========
concept
==========*/
.concept {
  padding-top: 200px;
}
.concept-heading__h2 {
  margin-bottom: 60px;
  font-weight: bold;
  font-size: clamp(24px, 7vw, 128px);
}
.concept__text {
  font-size: 24px;
  line-height: 2.83;
}
@media screen and (max-width: 870px) {
  .concept__text {
    font-size: 18px;
  }
}

/* ==========
service
==========*/
.service__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  row-gap: 32px;
}
.service__item {
  display: flex;
  position: relative;
  z-index: 5;
  width: 48.7%;
  padding: 18px 24px;
  overflow: hidden;
  border-radius: 30px;

  place-content: center;
  place-items: center;
}
.service__item::before {
  position: absolute;
  width: 50%;
  height: 130%;
  background-image: linear-gradient(180deg, #71c9c9, #db2f6e);
  content: "";
  transition: all .2s linear;
  animation: rotBGimg 5s linear infinite;
}
.service__item::after {
  position: absolute;
  z-index: 1;
  border-radius: 15px;
  background: #ffffff;
  content: "";

  inset: 5px;
}
.service__item:nth-child(2n)::before {
  background-image: linear-gradient(0deg, #71c9c9, #db2f6e);
  animation: rotBGimgRe 5.2s linear infinite;
}

@keyframes rotBGimg {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
@keyframes rotBGimgRe {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.service__item > div {
  position: relative;
  z-index: 5;
}
.service__image {
  padding: 10px 10px 30px;
}
.service__item-hero {
  display: inline-block;
  margin-bottom: 32px;
  font-family: "Noto Sans JP", serif;
  letter-spacing: .15em;
}
.service__item .sec__text {
  margin-bottom: 60px;
}
@media screen and (max-width: 1050px) {
  .service__list {
    flex-direction: column;

    gap: 32px;
  }
  .service__item {
    width: 80%;
  }
  .service__item:nth-child(2n) {
    margin-left: auto;
  }
}

@media screen and (max-width: 700px) {
  .service__item {
    width: 100%;
  }
}
