@charset "utf-8";

.p-top-fv {
  padding-top: 111px;
  position: relative;
  width: 100%;
  overflow: hidden;

  @media (width < 1120px) {
    padding-top: 80px;
  }
}

.p-top-fv__inner {
  width: 100%;
  padding: 0 25px;
  position: relative;
  max-width: 1366px;
  margin: auto;

  @media (width < 1120px) {
    padding: 0 20px;
  }
}

.gjs-dashed *[data-highlightable] .p-top-fv {
  height: auto;
  overflow: auto;
}

.p-top-fv__slides {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1316 / 656;
  overflow: hidden;
  border-radius: 5px;
  z-index: 1;

  @media (width < 768px) {
    aspect-ratio: 1;
    max-height: 700px;
  }
}

.gjs-dashed *[data-highlightable] .p-top-fv__slides {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  height: auto;
  aspect-ratio: auto;
  padding-bottom: 300px;
}

.p-top-fv__slides::before {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent linear-gradient(180deg, #ffffff00 0%, #8dbdef00 38%, #438bca89 63%, #0360aa 100%);
}

.gjs-dashed *[data-highlightable] .p-top-fv__slides::before {
  z-index: 0;
}

.p-top-fv__slide {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 2s ease-out,
    transform 8s linear;
  object-fit: cover;
  border-radius: 5px;
}

.gjs-dashed *[data-highlightable] .p-top-fv__slide {
  height: auto;
  overflow: auto;
  position: static;
  opacity: 1;
  width: 33.3%;
  height: auto;
}

.p-top-fv__slide.is-active {
  opacity: 1;
  transform: scale(1.1);
}

.p-top-fv__text-inner {
  position: absolute;
  width: 100%;
  bottom: clamp(-20px, calc(-20vw / 13.66), 0px);
  color: #fff;
  overflow: hidden;
  z-index: 2;
  left: 0;
}

.gjs-dashed *[data-highlightable] .p-top-fv__text-inner {
  bottom: 0;
}

.p-top-fv__title {
  margin: 0 auto clamp(0px, calc(15vw / 13.66), 15px);
  width: fit-content;
  text-align: center;
  font-weight: 700;
  font-size: clamp(14px, calc(22vw / 13.66), 22px);
  line-height: 1.455;
  letter-spacing: 0.06em;
  position: relative;
}

.p-top-fv__title::before,
.p-top-fv__title::after {
  position: absolute;
  content: "“";
  font-size: clamp(16px, calc(32vw / 13.66), 32px);
  font-weight: 700;
}

.p-top-fv__title::before {
  top: 0;
  left: clamp(-48px, calc(-48vw / 13.66), 0px);
}

.p-top-fv__title::after {
  top: clamp(-12px, calc(-12vw / 13.66), 0px);
  right: clamp(-48px, calc(-48vw / 13.66), 0px);
  transform: matrix(-1, 0, 0, -1, 0, 0);
}

.p-top-fv__text-slide {
  overflow: hidden;
  display: flex;
  width: max-content;
  animation: slideText 20s linear infinite;

  div {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: clamp(100px, calc(175vw / 13.66), 175px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;

    p {
      padding-right: 2em;
    }
  }
}

.gjs-dashed *[data-highlightable] .p-top-fv__text-slide {
  animation: none;
  flex-direction: column;

  div {
    font-size: 100px;
  }
}

.gjs-dashed *[data-highlightable] .p-top-fv__text {
  font-size: 60px;
}

@keyframes slideText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.p-about-us {
  padding: 90px 0 40px;
  overflow: hidden;

  @media (width < 768px) {
    padding: 40px 0;
  }

  .l-inner {
    max-width: 1185px;
  }
}

.p-about-us__head {
  display: flex;
  justify-content: space-between;
  align-items: center;

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
  }
}

.p-about-us__head-text {
  margin-top: 25px;
  flex: 0 1 42%;
  white-space: nowrap;

  @media (width < 768px) {
    flex: 0 1 auto;
    white-space: wrap;
  }
}

.p-about-us__slides.swiper {
  margin-top: 62px;
  overflow: visible;

  .swiper-wrapper {
    transition-timing-function: linear;
  }

  .swiper-slide {
    width: 668px;
    height: 100%;
    aspect-ratio: 668/420;
    object-fit: cover;

    @media (width < 768px) {
      width: 310px;
    }
  }
}

.gjs-dashed *[data-highlightable] .p-about-us__slides.swiper {
  .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
  }

  .swiper-slide {
    width: 33%;
    height: auto;
  }
}

.p-about-us-box {
  width: 510px;
  margin-top: -230px;
  background: #fff;
  padding: 70px 52px;
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: clamp(0px, calc(62vw / 13.66), 62px);

  @media (width < 768px) {
    margin-top: -85px;
    margin-right: 0;
    width: 55%;
    min-width: 300px;
    padding: 30px 25px;
  }
}

.p-about-us-box__head {
  margin-left: 4px;
  color: var(--color-blue);
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.p-about-us-box__heading {
  margin-top: 22px;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.643;
  letter-spacing: 0.05em;
  color: var(--color-blue);

  @media (width < 768px) {
    margin-top: 6px;
    font-size: 22px;
  }
}

.p-about-us-box__text {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;

  @media (width < 768px) {
    margin-top: 26px;
    font-size: 12px;
  }
}

.p-top-service {
  padding: 87px 0 0;
  background: #0082d8;
  position: relative;

  @media (width < 768px) {
    padding: 40px 0 0;
  }

  .l-inner {
    max-width: 1306px;
  }
}

.p-top-service::before,
.p-top-service::after {
  content: "";
  position: absolute;
  width: 100%;
  max-width: 1366px;
  aspect-ratio: 2/1;
}

.p-top-service::before {
  top: 0;
  right: 0;
  background: url("https://arrows8.co.jp/system_panel/uploads/images/service-bg_top.png") no-repeat center top / contain;
}

.p-top-service::after {
  bottom: 0;
  left: 0;
  background: url("https://arrows8.co.jp/system_panel/uploads/images/service-bg_bottom.png") no-repeat center bottom / contain;
}

.p-top-service__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  max-width: 1170px;
  position: relative;
  z-index: 1;

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
  }

  .c-heading__en,
  .c-heading__ja {
    color: #ffffff;
  }
}

.p-top-service__head-text {
  margin-top: 20px;
}

.p-top-service__box {
  margin: 112px auto 0;
  background: #ffffff;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, calc(60vw / 13.66), 60px);
  position: relative;
  z-index: 1;
}

.p-top-service-side {
  position: sticky;
  top: 121px;
  margin-top: -47px;
  flex-shrink: 0;
  padding-bottom: 40px;
  width: 13.4%;
  min-width: 120px;

  @media (width < 1120px) {
    top: 90px;
  }

  @media (width < 768px) {
    min-width: 95px;
  }

  .c-link-btn {
    margin-top: 34px;
    margin-left: -5px;

    @media (width < 768px) {
      padding: 6px;
    }

    p {
      @media (width < 768px) {
        font-size: 10px;
      }
    }

    img {
      @media (width < 768px) {
        width: 20px;
      }
    }
  }
}

.p-top-service-side__heading {
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  flex-direction: column;
  padding: 0 20px 16px 0;
  border-bottom: 2px solid #727272;
  gap: 13px;
}

.p-top-service-side__heading-en {
  color: var(--color-blue);
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.p-top-service-side__heading-ja {
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.28em;
}

.p-top-service-side__text {
  margin-top: 16px;
  color: #727272;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.p-top-service__cards {
  margin: 70px 0 95px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px clamp(20px, calc(40vw / 13.66), 40px);

  @media (width < 768px) {
    margin: 30px 0 40px;
    display: flex;
    flex-direction: column;
  }
}

.p-top-service-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-top-service-card:hover {
  opacity: 0.7;
}

.p-top-service-card__img {
  width: 100%;
  aspect-ratio: 297/200;
  object-fit: cover;
  border-radius: 5px;
}

.p-top-service-card__heading {
  color: #0e56a5;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.05em;

  @media (width < 768px) {
    font-size: 16px;
  }
}

.p-top-service-card__text {
}

.p-top-service__slide-inner {
  margin-top: 50px;
  overflow: hidden;
}

.p-top-service__text-slide {
  bottom: -10px;
  position: relative;
  overflow: hidden;
  display: flex;
  width: max-content;
  animation: slideText 20s linear infinite;
  z-index: 1;

  div {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: clamp(100px, calc(175vw / 13.66), 175px);
    color: #fff;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;

    p {
      padding-right: 2em;
    }
  }
}

.gjs-dashed *[data-highlightable] .p-top-service__text-slide {
  animation: none;
  flex-direction: column;
  font-size: 100px;
}

.p-top-works {
  padding: 100px 0 110px;
}

.p-top-works__head {
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
  }
}

.p-top-works__head-text {
  margin-top: 20px;
  width: 43%;

  @media (width < 768px) {
    width: 100%;
  }
}

.p-top-works__lists {
  margin-top: 48px;

  section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;

    @media (width < 1120px) {
      gap: 20px;
      grid-template-columns: repeat(2, 1fr);
    }

    @media (width < 600px) {
      display: flex;
      flex-direction: column;
    }
  }

  .c-link-btn {
    margin: 54px auto 0;
    padding: 8px 18px;
    gap: 44px;

    p {
      font-size: 14px;
    }

    img {
      width: 34px;
    }
  }
}

.p-top-recruit {
  padding: 91px 0 120px;
  background: #0082d8 url("https://arrows8.co.jp/system_panel/uploads/images/top-recruit_bg.png") no-repeat center center / cover;

  @media (width < 768px) {
    padding: 40px 0 60px;
  }

  .l-inner {
    max-width: 1208px;
  }

  .c-heading {
    position: relative;
    z-index: 1;
  }

  .c-heading__en,
  .c-heading__ja {
    color: #fff;
  }
}

.p-top-recruit__flex {
  margin-top: -52px;
  display: flex;
  justify-content: end;
  gap: 66px;

  @media (width < 1120px) {
    gap: 20px;
  }

  @media (width < 768px) {
    margin-top: -40px;
    flex-direction: column;
    gap: 40px;
  }
}

.p-top-recruit__img {
  width: 56.5%;
  aspect-ratio: 66/40;
  object-fit: cover;
  border-radius: 10px;

  @media (width < 768px) {
    width: 80%;
    align-self: flex-end;
  }
}

.p-top-recruit__body {
  margin-top: 48px;
  width: 29%;
  min-width: 228px;

  @media (width < 768px) {
    width: 100%;
    margin-top: 0;
  }

  .c-link-btn {
    margin-top: 40px;
    border: none;
    padding: 7px 16px 7px 26px;
    gap: 44px;

    p {
      letter-spacing: 0.12em;
    }

    img {
      width: 34px;
    }
  }
}

.p-top-recruit__text {
  color: #ffffff;
}

.p-top-blog {
  padding: 100px 0 149px;

  @media (width < 768px) {
    padding: 40px 0 80px;
  }
}

.p-top-blog__head {
  display: flex;
  justify-content: space-between;
  align-items: center;

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
  }
}

.p-top-blog__text {
  margin-top: 20px;
  width: 43%;

  @media (width < 768px) {
    width: 100%;
  }
}

.p-top-blog__lists {
  margin: 60px auto 0;
  max-width: 1060px;

  section {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}
