@charset "utf-8";

.fv__link {
  position: absolute;
  bottom: 40px;
  right: 20px;
  overflow: hidden;

  &:hover {
    opacity: 0.9;
  }
}
@media screen and (min-width: 900px) {
  .fv__link {
    bottom: 81px;
    right: 102px;
  }
}

.view__text-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 18px;
  width: 100%;
  height: 100%;
}
.view__text {
  aspect-ratio: 223 / 19;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  animation: infinity-scroll-left 10s infinite linear 0.1s both;
}
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.fv__wrap {
  padding: 70px 0;
  display: flex; 
  align-items: start;
  justify-content: space-between;
  flex-direction: column;
}
@media screen and (min-width: 900px) {
  .fv__wrap {
    padding: 134px 0 28px;
  }
}
@media screen and (min-width: 1200px) {
  .fv__wrap {
    flex-direction: row;
  }
}
@media screen and (min-width: 1500px) {
  .fv__wrap {
    max-width: 1500px;
    margin-inline: auto;
    gap: 101px;
  }
}

.fv__item {
  position: relative;
}

.fv__title {
  position: absolute;
  white-space: nowrap;
  z-index: 5;
}
.fv__title strong {
  display: inline-block;
  font-size: 35px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  border-bottom: 1px solid;
}
@media screen and (min-width: 900px) {
  .fv__title strong {
    font-size: 60px;
    line-height: 70px;
  }
}

.fv__title strong:nth-of-type(2) {
  margin-top: 7px;
  margin-inline: auto;
}

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

.fv__item:nth-of-type(1) .fv__title {
  top: -105px;
  left: 40px;
}
@media screen and (min-width: 900px) {
  .fv__item:nth-of-type(1) .fv__title {
    top: -155px;
    left: 46px;
  }
}
.fv__item:nth-of-type(1) .fv__img {
  aspect-ratio: 261/217;
  width: 261px;
  height: auto;
}

.fv__item:nth-of-type(2) {
  margin: 50px auto 25px;
}
@media screen and (min-width: 1200px) {
  .fv__item:nth-of-type(2) {
    margin: -30px 0 0 98px;
  }
}
.fv__item:nth-of-type(2) .fv__title {
  bottom: -80px;
  left: 30px;
}
@media screen and (min-width: 900px) {
  .fv__item:nth-of-type(2) .fv__title {
    bottom: -40px;
    left: -100px;
  }
}
@media screen and (min-width: 1100px) {
  .fv__item:nth-of-type(2) .fv__title {
    bottom: 15px;
    left: -239px;
  }
}
@media screen and (min-width: 1300px) {
  .fv__item:nth-of-type(2) .fv__title {
    bottom: -40px;
    left: -329px;
  }
}

.fv__item:nth-of-type(2) .fv__img {
  aspect-ratio: 493/327;
  width: min(90%, 550px);
  height: auto;
  margin-inline: auto;
  object-fit: cover;
  display: block;
}
@media screen and (min-width: 900px) {
  .fv__item:nth-of-type(2) .fv__img {
    width: 493px;;
  }
}

.fv__text {
  display: none;
}
@media screen and (min-width: 1200px) {
  .fv__text {
    display: block;
  }
}

.fv__item:nth-of-type(3) {
  margin: 154px 0 0 auto;
}
@media screen and (min-width: 900px) {
  .fv__item:nth-of-type(3) {
    margin: 100px 0 0 auto;
  }
}
@media screen and (min-width: 1200px) {
  .fv__item:nth-of-type(3) {
    margin: 154px 0 0;
  }
}

.fv__item:nth-of-type(3) .fv__title {
  left: -20px;
  top: -67px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  width: 130px;
}
@media screen and (min-width: 900px) {
  .fv__item:nth-of-type(3) .fv__title {
    left: unset;
    right: 50px;
    top: -284px;
  }
}
.fv__item:nth-of-type(3) .fv__title strong {
  border-bottom: unset;
  border-right: 1px solid;
}
.fv__item:nth-of-type(3) .fv__img {
  aspect-ratio: 314/261;
  width: 314px;
  height: auto;
}

.top-company {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a475d;
    opacity: 0.3;
    pointer-events: none;
    z-index: 3;
  }
}

.top-company__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 1024px) {
  .top-company__inner {
    padding: 0 145px;
  }
}

.top-works__wrap {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 1200px) {
  .top-works__wrap{ 
    gap: 80px;
    grid-template-columns: 390px 1fr;
  }
}

.top-works__voice-wrap {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px 27px;
}
@media screen and (min-width: 768px) {
  .top-works__voice-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1250px) {
  .top-works__voice-wrap {
    grid-template-columns: repeat(4, 1fr);
  }
}

.top-works__voice-item {
  padding: 47px 20px 23px;
  background: #fff;
  border: 1px solid #333333;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    background: url('../images/20251116180715160851.svg') center / contain no-repeat;
    top: -26px;
    left: 24px;
    width: 25px;
    height: 84px;
    z-index:1;
  }
  &::after {
    content: "";
    position: absolute;
    background: #FFFFFF;
    top: -1px;
    left: 24px;
    width: 50px;
    height: 1px;
  }
}

.c4007 {
  gap: 4px;
}

.top-product__deco {
  display: none;
}
@media screen and (min-width: 900px) {
  .top-product__deco {
    display: block;
    position: absolute;
    top: 46px;
    left: calc(50% + 200px);
    width: 130px;
    height: auto;
  }
}
@media screen and (min-width: 1024px) {
  .top-product__deco {
    left: calc(50% + 270px);
    width: 167px;
  }
}
@media screen and (min-width: 1200px) {
  .top-product__deco {
    left: calc(50% + 361px);
  }
}

.top-product__wrap {
  margin: 108px 0 0 50px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 70px;
  align-items: start;
}
@media screen and (min-width: 500px) {
  .top-product__wrap {
    margin: 108px 50px 0;
    gap: 100px;
  }
}
@media screen and (min-width: 1024px) {
  .top-product__wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}


.top-product__item-title {
  font-size: 20px;
  font-weight: 900;
  display: flex;
  width: fit-content;
  position: absolute;
  left: -54px;
  z-index: 2;
  flex-direction: column-reverse;
  top: -36px;
}
@media screen and (min-width: 768px) {
  .top-product__item-title {
    font-size: 30px;
  }
}
@media screen and (min-width: 1024px) {
  .top-product__item-title {
    font-size: 33px;
    width: 116px;
    top: 47%;
    flex-direction: row-reverse;
  }
}
@media screen and (min-width: 1100px) {
  .top-product__item-title {
    font-size: 40px;
  }
}

.top-product__item-title strong {
  padding: 6px 5px;
  background: #FFFFFF;
  width: fit-content;
  height: fit-content;
  position: relative;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  .top-product__item-title strong {
    padding: 9px 1px;
  }
}
@media screen and (min-width: 1024px) {
  .top-product__item-title strong {
    writing-mode: vertical-rl;
    text-orientation: upright;
  }
}

.top-product__item-title strong:last-of-type::before {
  content: "";
  position: absolute;
  bottom: -50px;
  background: url('../images/icon-arrow.svg') center / contain no-repeat;
  width: 60px;
  height: 60px;
  transition: background 0.3s;
  z-index: -1;
  right: -40px;
  bottom: 0;
  width: 50px;
  height: 50px;
}
@media screen and (min-width: 768px) {
  .top-product__item-title strong:last-of-type::before {
    bottom: 15px;
    width: 60px;
    height: 60px;
  }
}
@media screen and (min-width: 1024px) {
  .top-product__item-title strong:last-of-type::before {
    right: unset;
    left: -9px;
    bottom: -54px;
  }
}

.top-product__item-title b {
  display: none;
}

.top-product__item-img {
  aspect-ratio: 1024 / 575;
  object-fit: cover;
  width: 100%;
  height: auto;
}
@media screen and (min-width: 1024px) {
  .top-product__item-img {
    aspect-ratio: 350 / 460;
  }
}


@media screen and (min-width: 1024px) {
  .top-product__item:nth-of-type(2) {
    margin-top: 247px
  }
}
.top-product__item:nth-of-type(2) .top-product__item-title {
  width: fit-content;
  flex-direction: column-reverse;
  top: -36px;

}
@media screen and (min-width: 1024px) {
  .top-product__item:nth-of-type(2) .top-product__item-title {
    left: -47px;
    top: -84px;
  }
}
.top-product__item:nth-of-type(2) .top-product__item-title strong:last-of-type::before {
  left: unset;
  right: -52px;
  bottom: 0;
}
@media screen and (min-width: 768px) {
  .top-product__item:nth-of-type(2) .top-product__item-title strong:last-of-type::before {
    bottom: 6px;
  }
}

.top-product__item:nth-of-type(2) .top-product__item-title strong {
  writing-mode: unset;
  width: fit-content;
  padding: 6px 13px;
  letter-spacing: -0.05em;
}

@media screen and (min-width: 1024px) {
  .top-product__item:nth-of-type(3) {
    margin-top: 145px
  }
  .top-product__item:nth-of-type(3) .top-product__item-title {
    top: -30px;
    left: unset;
    right: -50px;
  }
}

.top-product__item:hover {
  opacity: 0.8;
}

.c4329 {
  font-family: "Noto Sans JP", sans-serif;
}
