main .primary_btn {
  max-width: 300px;
}

header .main_logo {
  position: relative;
}

header .main_logo img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

header.fv_mode .main_logo img:nth-child(1) {
  opacity: 1;
  visibility: visible;
}

header .main_logo img:nth-child(2) {
  opacity: 1;
  visibility: visible;
}

header.fv_mode .main_logo img:nth-child(2) {
  opacity: 0;
  visibility: hidden;
}

header.fv_mode .header_nav .nav_list .text,
header.fv_mode .header_nav .nav_list a {
  color: var(--base-white);
}

#fv {
  background-color: rgba(240, 131, 0, 1);
  position: relative;
  z-index: 0;
}

.fv_splide {
  width: 100%;
  background-color: var(--base-white);
  position: sticky;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 1;
  transition: opacity 0.2s ease-out;
}

.fv_splide .splide__slide {
  height: calc(var(--vh, 1vh) * 100);
  height: 100vh;
  height: 100dvh;
  position: relative;
  transition: height 0.4s;
}

.fv_splide .splide__slide .img {
  height: 100%;
}

.fv_splide .splide__slide .img img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.2);
  transition: transform 16s;
}

.fv_splide .splide__slide .img.position-egao img {
  object-position: top 50% right 40%;
}

.fv_splide .splide__slide .img.position-right img {
  object-position: top 50% right 20%;
}

.fv_splide .splide__slide.is-active .img img {
  transform: scale(1);
}

.fv_splide .splide__slide .catch {
  height: clamp(56px, calc(5.2vw), 79px);
  position: absolute;
  left: calc(75 / 1500 * 100vw);
  bottom: 72px;
  opacity: 0;
  transition: opacity 1s;
}

.fv_splide .splide__slide .catch img {
  width: auto;
  height: 100%;
}

.fv_splide .splide__slide.is-active .catch {
  opacity: 1;
}

#grad {
  padding: 50vh min(calc(20 / 400 * 100vw), 20px);
  padding-top: 50vh;
  padding-bottom: 318px;
}

#grad .content {
  max-width: 818px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

#grad .content .en_catch {
  margin-bottom: 80px;
}

#grad .content .ttl {
  max-width: min(calc(393 / 818 * 100vw), 393px);
  margin-bottom: 48px;
}

#grad .content .text {
  color: var(--base-white);
  font-size: 22px;
  font-weight: 400;
  line-height: 2.5;
  letter-spacing: 0.02em;
}

#about {
  padding-top: var(--xxl);
  padding-bottom: var(--xxxxl);
  position: relative;
  z-index: 0;
}

#about::before {
  content: '';
  width: 100%;
  height: 300px;
  background-color: var(--surface-light);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

#about .sec_ttl_wrap {
  margin-bottom: var(--lg);
}

#about .content_wrap .inner {
  margin-bottom: var(--lg);
}

#about .ttl_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#about .list {
  display: flex;
  padding-left: max(20px, calc((100vw - 1280px) / 2));
}

#about .list .item {
  display: flex;
  flex-direction: column;
  width: calc(100% / 3);
  background-color: var(--base-white);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

#about .list .item .text_wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 300px;
  padding: 0 16px 0 0;
  margin: 0 auto 24px min(calc(14 / 400 * 100vw), 40px);
}

#about .list .item .num {
  display: inline-block;
  padding-top: 16px;
  color: var(--main-primary);
  border-top: 4px solid var(--main-primary);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
}

#about .list .item .img {
  margin-top: auto;
}

#works {
  background-color: var(--surface-light);
  /* background-image: url(../img/top/works_bg.svg);
  background-size: calc(962 / 1500 * 100vw);
  background-repeat: no-repeat;
  background-position: top right -107px; */
  position: relative;
  z-index: 0;
}

#works .img_wrap {
  width: calc(962 / 1500 * 100vw);
  position: absolute;
  top: 0;
  right: -107px;
  z-index: -1;
}

#works .img_wrap .text {
  width: 100%;
  max-width: 1000px;
  position: absolute;
  top: 0;
  right: 0;
}

#works::after {
  content: '';
  width: 100%;
  height: 450px;
  background-color: var(--base-white);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

#works .sec_ttl_wrap {
  margin-bottom: var(--lg);
}

#works .text_wrap {
  display: flex;
  flex-direction: column;
  gap: var(--lg);
  margin-bottom: var(--xxxl);
}

#works .ttl_wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}

#works .ttl_wrap span {
  display: block;
}

#projects {
  padding-bottom: var(--xxxxl);
  padding-left: clamp(20px, (100vw - 1280px) / 2, 50vw);
}

#projects .en_ttl {
  margin-bottom: 40px;
}

.recruit_csa {
  display: flex;
  background-color: var(--text-body);
}

.recruit_csa .slider_wrap {
  display: flex;
  gap: 30px;
  width: 45%;
  height: 600px;
  padding-left: calc(64 / 1500 * 100vw);
  overflow: hidden;
}

.main_recruit_slider {
  display: flex;
  flex-direction: column;
  width: 60%;
}

.main_recruit_slider .item {
  padding: calc(15 / 1500 * 100vw) 0;
}

.main_recruit_slider .item:nth-child(1) {
  animation: ttb01 50s -25s infinite linear;
}

.main_recruit_slider .item:nth-child(2) {
  animation: ttb02 50s infinite linear;
}

@keyframes ttb01 {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(-100%);
  }
}

@keyframes ttb02 {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-200%);
  }
}

.sub_recruit_slider {
  display: flex;
  flex-direction: column;
  width: 40%;
}

.sub_recruit_slider .item {
  padding: calc(15 / 1500 * 100vw) 0;
}

.sub_recruit_slider .item:nth-child(1) {
  animation: btt01 50s -25s infinite linear;
}

.sub_recruit_slider .item:nth-child(2) {
  animation: btt02 50s infinite linear;
}

@keyframes btt01 {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100%);
  }
}

@keyframes btt02 {
  from {
    transform: translateY(-200%);
  }

  to {
    transform: translateY(0);
  }
}

.main_recruit_slider img {
  height: 100%;
  object-fit: cover;
}

.recruit_csa .text_wrap {
  display: flex;
  align-items: center;
  width: 60%;
  padding-left: calc(120 / 1500 * 100vw);
  padding-right: calc(64 / 1500 * 100vw);
  position: relative;
  z-index: 0;
}

.recruit_csa .text_wrap::after {
  content: '';
  width: 100%;
  aspect-ratio: 881 / 172;
  background-image: url(../img/top/recruit_bg.svg);
  background-size: cover;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

.recruit_csa .text_wrap .content {
  display: flex;
  flex-direction: column;
  gap: var(--xl);
}

.recruit_csa .text_wrap .text_content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: var(--base-white);
}

.recruit_csa .text_wrap .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  aspect-ratio: 120 / 64;
  background-color: var(--main-primary);
  border-radius: 99px;
  opacity: 1;
  transition: opacity 0.4s;
}

.recruit_csa .text_wrap .btn:hover {
  opacity: 0.7;
}

.recruit_csa .text_wrap .btn img {
  width: 18px;
  transform: translateX(0);
  transition: all 0.4s;
}

.recruit_csa .text_wrap .btn:hover img {
  transform: translateX(8px);
}

#news {
  padding: var(--xxxl) 0 var(--xxxxl);
}

#news .content_wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1024px;
  margin: 0 auto;
}

#news .ttl_wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#news .ttl_wrap .btn {
  display: flex;
  gap: 24px;
  opacity: 1;
  transition: opacity 0.4s;
}

#news .ttl_wrap .btn:hover {
  opacity: 0.7;
}

#news .ttl_wrap .btn::after {
  content: '';
  display: block;
  width: 56px;
  height: 24px;
  background-color: var(--main-primary);
  border-radius: 99px;
  background-image: url(../img/common/btn-arrow-white.svg);
  background-size: 18px;
  background-position: 19px center;
  background-repeat: no-repeat;
  transition: background-position 0.4s;
}

#news .ttl_wrap .btn:hover::after {
  background-position: 24px center;
}

@media (max-width: 1422px) {
  #projects {
    padding-left: clamp(20px, 5vw, 64px);
  }
}

@media (max-width: 1023px) {
  #grad .content .text {
    font-size: min(calc(18 / 400 * 100vw), 20px);
  }

  #about .list .item .num {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  main .primary_btn {
    max-width: 380px;
  }

  .fv_splide .splide__slide::after {
    content: '';
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
  }

  .fv_splide .splide__slide .catch {
    height: min(calc(42 / 400 * 100vw), 56px);
    left: calc(24 / 400 * 100vw);
    bottom: 40px;
    z-index: 1;
  }

  #grad {
    padding-bottom: 30vh;
  }

  #grad .content .en_catch {
    margin-bottom: 40px;
  }

  #grad .content .ttl {
    margin-bottom: 24px;
  }

  #about .ttl_wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  #about .list {
    flex-direction: column;
  }

  #about .list .item {
    width: 100%;
  }

  #about .list .item .text_wrap {
    width: 100%;
    max-width: 600px;
    padding: 0 0 24px min(calc(14 / 400 * 100vw), 14px);
    margin: 0;
  }

  #works {
    background-image: none;
    overflow: hidden;
  }

  #works .text_wrap {
    margin-bottom: 40px;
  }

  #works .img_wrap {
    position: relative;
    right: calc(0px - clamp(20px, calc(6.25vw), 64px));
    width: 100%;
    max-width: 580px;
    margin-left: auto;
    margin-bottom: 80px;
  }

  #projects {
    padding-top: 20px;
    padding-bottom: 80px;
    background-color: var(--base-white);
  }

  .recruit_csa {
    flex-direction: column-reverse;
    padding-bottom: 16px;
  }

  .recruit_csa .text_wrap {
    width: 100%;
    padding: 40px min(calc(20 / 400 * 100vw), 20px);
  }

  .recruit_csa .text_wrap .content {
    gap: 24px;
  }

  .recruit_csa .text_wrap .text_content {
    gap: 16px;
    max-width: 86%;
  }

  .recruit_csa .slider_wrap {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: auto;
  }

  .main_recruit_slider,
  .sub_recruit_slider {
    flex-direction: row;
    width: 500%;
    height: auto;
    padding: 0;
  }

  .sub_recruit_slider .item {
    padding: 0 calc(8 / 400 * 100vw);
  }

  @keyframes ttb01 {
    from {
      transform: translateX(100%);
    }

    to {
      transform: translateX(-100%);
    }
  }

  @keyframes ttb02 {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-200%);
    }
  }

  @keyframes btt01 {
    from {
      transform: translateX(-100%);
    }

    to {
      transform: translateX(100%);
    }
  }

  @keyframes btt02 {
    from {
      transform: translateX(-200%);
    }

    to {
      transform: translateX(0);
    }
  }
  .recruit_csa .text_wrap .btn {
    width: 100px;
  }
}
