.fv {
  position: relative;
  padding-bottom: 28px;
}

.fv__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 375 / 175;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fv__slide-bg {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
}

.fv__slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84);
}

.fv__slide-title {
  font-size: 2.4rem;
  line-height: 3.4rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.fv__slide-legend {
  font-family: var(---sans-font);
  font-size: 1.8rem;
  line-height: 2.6rem;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
  text-align: center;
  color: #fff;
}

.fv__slide-text {
  color: #000;
  font-size: 1.4rem;
  line-height: 2rem;
  text-align: center;
  font-weight: 700;
  font-family: var(---sans-font);
  margin-top: 1.35rem;
  opacity: 0;
  transition: opacity 0.75s;
  transition-delay: 0s;
}

.fv__slide--first .fv__slide-bg {
  filter: brightness(0.8);
}

.fv__slide--first .fv__slide-text {
  font-size: 2.4rem;
  line-height: 3.2rem;
  font-weight: 900;
}

.swiper-slide-active .fv__slide-text {
  opacity: 1;
}

.fv .swiper-buttons {
  position: absolute;
  width: calc(100% - 20px);
  bottom: 126px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.swiper-button {
  cursor: pointer;
}

.fv .swiper-button {
  width: 35px;
  height: 34px;
  min-width: 34px;
  overflow: visible;
}

.fv .swiper-button--next {
  transform: scaleX(-1);
}

.fv .swiper-button img {
  width: 100%;
  height: 100%;
}

.fv .swiper-pagination {
  bottom: 0 !important;
  top: auto !important;
}

.fv .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #c4c4c4;
  opacity: 1;
  margin: 0 8px !important;
}

.fv .swiper-pagination-bullet-active {
  background: #2d4074;
  opacity: 1;
}

.fv__slide-link {
  width: 235px;
  height: 50px;
  border-radius: 25px;
  background-color: #2d4074;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto auto 0;
  font-size: 1.6rem;
}

.fv__slide-link {
  opacity: 0;
  transition: opacity 0.75s;
  transition-delay: 0;
  will-change: opacity;
}

.swiper-slide-active .fv__slide-link {
  opacity: 1;
}

@media (min-width: 768px) {
  .fv__slide-title {
    opacity: 0;
    transition: opacity 0.75s;
    transition-delay: 0.5s;
  }

  .fv__slide-legend {
    opacity: 0;
    transition: opacity 0.75s;
    transition-delay: 1s;
  }

  .fv__slide-text {
    opacity: 0;
    transition: opacity 0.75s;
    transition-delay: 1s;
  }
  .swiper-slide-active .fv__slide-legend,
  .swiper-slide-active .fv__slide-title,
  .swiper-slide-active .fv__slide-text {
    opacity: 1;
  }

  .fv__slide-link {
    opacity: 0;
    transition: transform 0.75s ease-in-out, opacity 0.75s;
    transform: translate3d(0, 40px, 0);
    transition-delay: 1.5s;
    will-change: transform, opacity;
  }

  .swiper-slide-active .fv__slide-link {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fv__content {
  display: flex;
  flex-direction: column;
  min-height: 146px;
}

.works {
  padding: 4rem 0;
}

.works__swiper {
  margin-top: 4rem;
}

.works__slide {
  width: min(85.33vw, 320px);
  position: relative;
}

.works__slide-image {
  width: 100%;
  aspect-ratio: 1;
}

.works__slide-category {
  color: #fff;
  font-size: 1.5rem;
  line-height: 2.2rem;
  background-color: #2d4074;
  padding: 0.4rem 1.7rem 0.5rem;
  width: fit-content;
  position: absolute;
  top: 0;
  left: 0;
}

.works__slide-title {
  font-size: 1.8rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.works .swiper-buttons {
  margin: 3rem auto 0;
  width: calc(100% - 27px);
  max-width: 1179px;
  display: flex;
  justify-content: space-between;
}

.works .swiper-button {
  width: 30px;
  height: 30px;
  position: relative;
  background-image: url(../images/common/slider-arrow-blue.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .works .swiper-button:hover {
    background-image: url(../images/common/slider-arrow-red.svg);
  }
}

.works .swiper-button--next {
  transform: scaleX(-1);
}

.service {
  position: relative;
  padding: 4rem 0;
  margin: 4rem 0;
  background-color: #2d4074;
}

.service::before {
  content: "";
  display: block;
  width: 100%;
  height: 40px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background-color: #2d4074;
  position: absolute;
  top: -39.5px;
  left: 0;
}

.service::after {
  content: "";
  display: block;
  width: 100%;
  height: 40px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background-color: #2d4074;
  position: absolute;
  bottom: -39.5px;
  left: 0;
}

.service .body-copy {
  margin-top: 2rem;
  padding: 0 1.35rem;
}

@media (min-width: 768px) {
  .service .section-title {
    width: fit-content;
    margin-left: 0;
    align-items: first baseline;
  }
  .service .section-title .section-title__ja {
    text-align: left;
  }
}

.service__slider {
  margin-top: 3rem;
  position: relative;
}

.service__slider .swiper-wrapper {
  align-items: stretch;
}

.service__slide {
  width: min(85.33vw, 320px);
  background-color: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.service__slide-image {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.service__slide-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.9rem;
}

.service__slide-title-en {
  font-family: "Oswald", sans-serif;
  font-size: 2.8rem;
  line-height: 4.1rem;
  color: #000;
}

.service__slide-title-jp {
  font-size: 1.8rem;
  line-height: 2.6rem;
  font-weight: 600;
}

.service__slide-text {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 1.8rem;
}

.service__slide-link {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto auto 0;
  border: 1px solid #707070;
  width: 235px;
  height: 50px;
  border-radius: 25px;
  font-size: 1.6rem;
}

.service .swiper-buttons {
  width: min(320px, 85.33vw);
  display: flex;
  justify-content: space-between;
  margin: 2rem auto 0;
}

.service .swiper-button {
  width: 30px;
  height: 30px;
  transition: opacity 0.3s;
}

.service .swiper-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service .swiper-button:hover {
  opacity: 0.7;
}

.service .swiper-button--next {
  transform: scaleX(-1);
}

.service .swiper-button-disabled {
  opacity: 0.75;
}

.product {
  padding: 4rem 0 8rem;
}

.product__wrapper {
  position: relative;
  margin-top: 4rem;
}

.product__slide {
  width: min(85.33vw, 320px);
  overflow: hidden;
}

.product__slide-image {
  width: 100%;
  aspect-ratio: 320 / 180;
  background-color: #707070;
  object-fit: cover;
}

.product__slide-content {
  padding: 2rem;
  background-color: #fff;
}

.product__slide-title {
  font-size: 1.8rem;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 1.1rem;
}

.product .swiper-buttons {
  position: absolute;
  top: 69px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(min(85.33vw, 320px) + 28px);
  display: flex;
  justify-content: space-between;
  z-index: 2;
  flex-wrap: none;
}

.product .swiper-button {
  width: 42px;
  height: 40px;
  position: relative;
  background-image: url(../images/common/slider-arrow-blue.svg);
  background-size: 42px 40px;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .product .swiper-button:hover {
    background-image: url(../images/common/slider-arrow-red.svg);
  }
}

.product .swiper-button--next {
  transform: scaleX(-1);
}

.product .link {
  margin-top: 4rem;
}

.series {
  position: relative;
  padding: 8rem 2.75rem;
  margin-bottom: 8rem;
  background-color: #2d4074;
}

.series__wrapper {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.series__item-title {
  color: #fff;
  font-size: 1.8rem;
  line-height: 2.6rem;
  margin-top: 0.7rem;
  text-align: center;
}

.series__item-image {
  width: 100%;
  aspect-ratio: 320 / 173;
  object-fit: cover;
}

.series::after {
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background-color: #2d4074;
  position: absolute;
  bottom: -79.5px;
  left: 0;
}

.company {
  margin-top: -8rem;
  padding: 17.1rem 2rem 15.2rem;
  background-image: url(../images/top/company-sp.webp);
  background-size: auto 100%;
  background-position: center;
}

.company .link {
  margin-top: 4rem;
}

.company__wrapper {
  width: 100%;
}

.news {
  padding: 8rem 1.35rem;
}

.news__wrapper {
  margin-top: 4rem;
}

.news__item {
  display: block;
  position: relative;
  padding: 1rem 2rem;
}

.news__item:nth-child(odd) {
  background-color: #f4f4f4;
}

.news__item:nth-child(even) {
  background-color: #fff;
}

.news__item::after {
  content: "";
  display: block;
  width: 25px;
  height: 26px;
  background-image: url(../images/common/slider-arrow-blue.png);
  background-size: 25px 26px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  overflow: visible;
}

.news__item-date {
  font-family: var(---sans-font), sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #484848;
}

.news__item-title {
  width: calc(100% - 45px);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news .link {
  margin-top: 3rem;
}

.pc {
  display: none;
}

@media (min-width: 768px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }

  .fv {
    padding-bottom: 0;
    height: calc(100vh - 100px);
    min-height: 668px;
  }

  .fv__wrapper {
    aspect-ratio: unset;
    width: 100%;
    height: calc(100vh - 100px - 68px);
    min-height: 600px;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: column;
    padding-top: max(26.7vh, 205px);
  }

  .fv__slide {
    padding-bottom: 0;
  }

  .fv__slide-title {
    font-size: 6rem;
    line-height: 8.6rem;
  }

  .fv__slide-legend {
    font-size: 2.4rem;
    line-height: 3.5rem;
    margin-top: 10px;
  }

  .fv__slide--first .fv__slide-text {
    font-size: 2.4rem;
    line-height: 3.5rem;
    color: #fff;
  }

  .fv__slide-text {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    color: #fff;
    margin-top: 1.5rem;
    font-size: 1.6rem;
    line-height: 2.8rem;
  }

  .fv__slide-link {
    margin: 3rem auto 0;
  }

  .fv__slide-link:hover {
    background-color: #d61518;
  }

  .fv .swiper-buttons {
    position: absolute;
    width: calc(100% - 80px);
    bottom: auto;
    top: calc(50% - 34px);
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    z-index: 2;
  }

  .fv .swiper-button img {
    transition: all 0.3s;
    border-radius: 50%;
  }

  .fv .swiper-button:hover img {
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5),
      rgba(50, 50, 93, 0.25) 0px 20px 20px -20px inset,
      rgba(0, 0, 0, 0.3) 0px 8px 15px -5px;
  }

  .fv .swiper-pagination {
    bottom: 39px !important;
    top: auto !important;
  }

  .works {
    padding: 12rem 0px 16rem;
  }

  .works__swiper {
    margin-top: 8rem;
  }

  .works__slide-category {
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 0.4rem 1.6rem 0.5rem;
  }

  .works__slide {
    width: 360px;
  }

  .works__slide-title {
    font-size: 2rem;
    line-height: 1.45;
    margin-top: 0.8rem;
  }

  .works .swiper-buttons {
    margin: -5rem auto 0;
    width: calc(100% - 187px);
  }

  .works .swiper-button {
    width: 50px;
    height: 50px;
  }

  .works .swiper-button:hover {
  }

  .works .link {
    position: relative;
    z-index: 2;
  }

  .service {
    padding: 8rem 0;
    margin: 8rem 0;
  }

  .service::before {
    height: 80px;
    top: -79.5px;
  }

  .service::after {
    height: 80px;
    bottom: -80px;
  }
  .service__slider .service__slide-image {
    display: none;
  }

  .service__slide {
    width: 360px;
    border-radius: 16px;
    padding: 2.4rem;
    cursor: grab;
  }

  .service__slide:active {
    cursor: grabbing;
  }

  .service__wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-end;
  }

  .service-image {
    position: relative;
    min-width: clamp(300px, 40vw, 479px);
    aspect-ratio: 479 / 640;
    /* overflow: hidden; */
  }

  .service-image::after {
    content: "";
    display: block;
    width: 20px;
    height: 17.5px;
    background-image: url(../images/top/white-triangle.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: -30px;
    bottom: 222px;
  }

  .service-image img {
    width: 100%;
    height: 100%;
    max-height: fit-content;
    object-fit: cover;
    transition: opacity 0.4s ease;
    border-radius: 0 16px 16px 0;
  }

  .service__content {
    width: calc(100% - clamp(300px, 40vw, 479px) - 40px);
  }

  .service-image__swiper-slide {
    opacity: 0;
  }

  .service .swiper-buttons {
    width: 152px;
    margin: 2.4rem auto 0 0;
  }

  .service .swiper-button {
    width: 50px;
    height: 50px;
  }

  .service__slide-text {
    margin-bottom: 0.2rem;
  }

  .service__slide-link {
    background-color: #2d4074;
    border: 1px solid #2d4074;
    color: #fff;
    transition: all 0.3s;
  }

  .service__slide-link:hover {
    border: 1px solid #707070;
    background-color: #fff;
    color: #000;
  }

  .product {
    padding: 16rem 0;
  }

  .product__wrapper {
    margin: 4rem auto 0;
    max-width: 1129px;
    padding: 0 40px;
    box-sizing: content-box;
  }

  .product__slide-image {
    aspect-ratio: 360 / 203;
  }

  .product__slide-content {
    padding: 0.8rem 2rem 1.6rem;
    min-height: 281px;
    max-height: 281px;
  }

  .product .swiper-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 30px);
    display: flex;
    justify-content: space-between;
    z-index: 2;
  }

  .product .swiper-button {
    width: 54px;
    height: 50px;
    background-size: 54px 50px;
  }

  .series {
    padding: 16rem 2.75rem 8rem;
  }

  .series__wrapper {
    margin: 5.7rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 936px;
  }

  .series__item-title {
    font-size: 2.4rem;
    line-height: 3.5rem;
    margin-top: 0;
  }

  .company {
    background-image: url(../images/top/company-1366.webp);
    background-size: auto 100%;
    background-position: center;
  }

  @media (min-width: 1400px) {
    .company {
      background-image: url(../images/top/company-1920.webp);
      background-size: cover;
    }
  }

  .news {
    padding: 13.9rem 2rem 16rem;
  }

  .news .link {
    margin-top: 6rem;
  }

  .news__wrapper {
    margin: 6rem auto 0;
    max-width: 744px;
  }

  .news__item {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .news__item::after {
    transition: all 0.3s;
  }

  .news__item:hover::after {
    background-image: url(../images/common/slider-arrow-red.svg);
  }

  .news__item-title {
    width: calc(100% - 140px);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: all 0.3s;
  }

  .news__item-date {
    transition: all 0.3s;
  }

  .news__item:hover .news__item-title {
    text-shadow: 0 0 0.5px currentColor, 0 0 0.5px currentColor;
  }

  .news__item:hover .news__item-date {
    text-shadow: 0 0 0.5px currentColor, 0 0 0.5px currentColor;
  }
}
