.bg {
  background-image: url(../img/top_bg.png);
}

@media (max-width: 450px) {
  .bg {
    background-image: url(../img/top_bg_sp.jpg);
  }
}

.mv {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

video::-webkit-media-controls {
  display: none;
  -webkit-appearance: none;
}

.mv video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv h1 {
  position: absolute;
  top: 3%;
  left: 3%;
  width: max(50px, 2.71vw);
}

.mv_copy {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
  font-size: max(4.3rem, 4.69vw);
  font-weight: 700;
  line-height: 1.3;
  color: #363636;
}

.mv_copy span {
  -webkit-text-stroke: 3px #363636;
  color: transparent;
}

.scroll {
  position: absolute;
  top: 50%;
  right: 3%;
  transform: translate(35%, -50%) rotate(90deg);
  padding: 0 30px 0 50px;
  border: 2px solid #fff;
  border-radius: 50px;
}

.scroll::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  opacity: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  animation: dot 1.5s ease-in-out infinite;
}

@keyframes dot {
  0% {
    left: 5%;
    opacity: 0;
  }
  10% {
    left: 5%;
    opacity: 1;
  }
  70% {
    left: 20%;
    opacity: 1;
  }
  90% {
    left: 20%;
    opacity: 0;
  }
  100% {
    left: 20%;
    opacity: 0;
  }
}

.scroll p {
  color: #fff;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-size: max(2rem, 1.41vw);
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 450px) {
  .mv {
    max-height: 600px;
  }
  .mv_copy {
    left: 5.5%;
  }

  .mv_copy span {
    -webkit-text-stroke: 1.5px #363636;
  }

  .scroll {
    top: auto;
    bottom: 60px;
    transform: translate(35%, -91%) rotate(90deg);
  }
}

/* news */
.news {
  position: relative;
  transform: translateY(-26.5%);
  width: 70%;
  margin: 0 0 50px auto;
  padding: 2.5% 5%;
  border-radius: 1.04vw 0 0 1.04vw;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.16);
  background-color: #fff;
  z-index: 1;
}

.news_list {
  margin: 10px 0 40px;
}

.news_list_item:not(:last-child) {
  margin-bottom: 20px;
}

.news_list_item_anchor {
  justify-content: flex-start;
  align-items: baseline;
  gap: 10px 5%;
  font-size: max(1.2rem, 0.83vw);
  font-weight: 700;
}

.news_content {
  display: flex;
  gap: 10px 5%;
  justify-content: flex-start;
  align-items: baseline;
  flex: 1;
}

.news_list_item_anchor time {
  color: #6f6f6f;
}

.news_list_item_anchor .cat {
  display: inline-block;
  width: max(80px, 6vw);
  min-width: 2em;
  border-radius: 2em;
  text-align: center;
  font-size: max(1rem, 0.63vw);
  color: #fff;
}

.news_list_item_anchor .cat.cat-news {
  background-color: #fe45be;
}
.news_list_item_anchor .cat.cat-column {
  background-color: #0350ff;
}
.news_list_item_anchor .cat.cat-topics {
  background-color: #fcc745;
}

.news_list_item_anchor p {
  font-size: max(1.2rem, 0.83vw);
  font-weight: 700;
  line-height: normal;
}

@media (max-width: 450px) {
  .news {
    width: 89%;
    margin: 20px auto 30px;
    padding: 5% 2.5%;
    transform: translateY(0);
    border-radius: 15px;
  }

  .news_list_item_anchor {
    gap: 3%;
  }

  .news_content {
    flex-direction: column;
    gap: 0;
  }
}

/* about */
.about {
  position: relative;
  width: 70%;
  margin-bottom: 150px;
  padding: 2.5% 5% 2.5% calc((100% - max(900px, 57vw)) / 2);
  border-radius: 0 1.04vw 1.04vw 0;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.16);
  background-color: #fff;
  z-index: 1;
}

.about p {
  margin-bottom: 50px;
}

@media (max-width: 450px) {
  .about {
    position: relative;
    width: 89%;
    margin: 30px auto 80px;
    padding: 5% 2.5%;
    border-radius: 15px;
  }

  .about p {
    margin-bottom: 30px;
  }
}

/* service */
.service {
  margin-bottom: 150px;
}

.service .section-title {
  display: block;
  width: fit-content;
  position: relative;
  margin: 0 auto 100px;
  text-align: center;
}

.service .section-title::after {
  content: "";
  display: block;
  width: 38%;
  height: 7.5%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: linear-gradient(100deg, #0350ff, #fe45be, #fcc745);
}

.service_list {
  margin-bottom: 100px;
}

.service_list_item {
  justify-content: flex-start;
}

.service_list_item:nth-child(1) {
  margin-bottom: 50px;
}

.service_list_item:nth-child(2) {
  flex-direction: row-reverse;
}

.service_list_item figure {
  width: 50%;
  aspect-ratio: 91 / 47;
  border-radius: 0 max(15px, 1.56vw) max(15px, 1.56vw) 0;
}

.service_list_item:nth-child(2) figure {
  border-radius: max(15px, 1.56vw) 0 0 max(15px, 1.56vw);
}

.service_textarea {
  position: relative;
  width: 495px;
  padding: 2% 1.82vw;
  background-color: #fff;
  border-radius: max(15px, 1.04vw);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.16);
}

.service_list_item:nth-child(1) .service_textarea {
  margin-left: -6%;
}

.service_list_item:nth-child(2) .service_textarea {
  margin-right: -6%;
}

.service_textarea span {
  position: absolute;
  top: 0;
  left: 1.82vw;
  transform: translateY(-50%);
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-size: max(4rem, 2.6vw);
  font-weight: 700;
  line-height: normal;
  color: #08b7ff;
}

.service_textarea h3 {
  display: block;
  position: relative;
  margin-bottom: 0.95em;
}

.service_textarea h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: -10px;
  left: 0;
  transform: translateY(-100%);
  background-image: linear-gradient(100deg, #0350ff, #fe45be, #fcc745);
}

.service_textarea p {
  min-height: 6em;
  margin-bottom: 2.167em;
  font-size: max(1.2rem, 0.63vw);
}

.service .action-btn {
  margin: 0 auto;
}

@media (max-width: 450px) {
  .service {
    width: 89%;
    margin: 0 auto 80px;
  }

  .service .section-title {
    margin: 0 auto 50px;
  }

  .service_list {
    margin-bottom: 30px;
  }

  .service_list_item {
    flex-direction: column;
  }

  .service_list_item figure {
    width: 100%;
    border-radius: 15px 15px 0 0;
  }

  .service_textarea {
    width: 100%;
    padding: 0 2.5% 5%;
    border-radius: 0 0 15px 15px;
  }

  .service_list_item:nth-child(1) .service_textarea {
    margin-left: auto;
  }

  .service_list_item:nth-child(2) .service_textarea {
    margin-right: auto;
  }

  .service_list_item:nth-child(2) .service_textarea h3 {
    letter-spacing: -0.05em;
  }

  .service_textarea span {
    position: relative;
  }
}

/* career */
.career {
  gap: 0px 1.8%;
  margin-bottom: 150px;
}

.career figure {
  flex: 1;
}

.career_textarea {
  width: 53.6%;
}

.career_textarea p {
  margin-bottom: 60px;
}

@media (max-width: 450px) {
  .career {
    flex-direction: column;
    margin-bottom: 80px;
  }

  .career figure {
    width: 115%;
  }

  .career_textarea {
    width: 100%;
    transform: translateX(-5.5%);
  }

  .career_textarea p {
    margin-bottom: 30px;
  }
}
