.fv {
  height: calc(100vh - 51px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.fv video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.fv__hero {
  font-size: clamp(18px, 4.8vw, 28px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.2em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: fit-content;
  color: #8fc320;
  text-shadow: 0px 0px 6px #000;
  white-space: nowrap;
}

.about {
  padding: 4rem 1.35rem 8rem;
  background-color: #2b2b2b;
}

.about__title {
  font-family: "Capellina Caps", serif;
  font-weight: bold;
  font-size: 4rem;
  color: #8fc320;
  text-align: center;
}

.about__text {
  margin: 4rem auto 0;
  text-align: center;
  color: #fff;
}

.company__content {
  padding: 4rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  gap: 20px;
  width: fit-content;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .company__content {
    grid-template-columns: 1fr 1fr;
  }
}

.company__item {
  padding: 20px 17px;
  border: 1px solid #7aa51f;
  max-width: 347px;
  margin: 0 auto;
}

.company__item-title {
  color: #7aa51f;
  font-size: 2rem;
  line-height: 1.2;
  text-align: center;
}

.company__item-image {
  display: block;
  margin: 1rem auto;
  width: 200px;
  aspect-ratio: 200 / 133;
  object-fit: cover;
}

.company__item-text {
  font-size: 1.2rem;
  line-height: 1.6rem;
}

.history {
  background-image: url(../images/common/textile.webp);
  background-size: 400px 400px;
  background-repeat: repeat;
  padding-bottom: 6rem;
  overflow: hidden;
}

.history__wrapper {
  padding: 4rem 1.35rem 2rem;
}

.history__wrapper .link {
  display: none;
}

.history__content {
  max-width: 600px;
  margin: 0 auto;
}

.history__text {
  margin: 3rem auto 3rem 0;
  max-width: 424px;
}

.history__image {
  position: relative;
  right: -1.35rem;
  width: min(96.53vw, 500px);
  aspect-ratio: 362 / 420;
  display: block;
  margin-left: auto;
}

.history__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.map {
  width: 100%;
  aspect-ratio: 375 / 250;
  max-height: 450px;
}

.history__banner {
  padding: 16rem 0;
  position: relative;
}

.history__banner-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.history__title {
  position: relative;
  text-align: left;
  color: #8fc320;
  text-shadow: 0px 3px 6px #fff;
  padding: 25.5px 10px;
  background: rgba(255, 255, 255, 0.8);
  font-size: clamp(2rem, 5.34vw, 2.8rem);
  line-height: 1.45;
  text-align: center;
}

.news {
  padding: 4rem 1.35rem;
  background-color: #2b2b2b;
}

.news * {
  color: #fff;
}

.news__title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news__title-eng {
  font-size: 2.4rem;
  line-height: 3.5rem;
}

.news__title-ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;

  font-weight: 400;
}

.news__container {
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
}

.news__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #fff;
}

.news__item-date {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
}

.news__item-title {
  font-size: 1.6rem;
  line-height: 2rem;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

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

.news__empty {
  font-size: 1.6rem;
  text-align: center;
  margin: 8rem 0;
}

.fv__scroll {
  display: none;
}

@media (min-width: 768px) {
  main {
    margin-top: 0;
  }

  .fv {
    margin-top: 0;
    aspect-ratio: 1366 / 768;
    max-height: 100vh;
    height: auto;
  }

  .fv__hero {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.2em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: fit-content;
    color: #8fc320;
    text-shadow: 0px 0px 6px #000;
    white-space: nowrap;
  }

  .fv__scroll {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.3s;
    z-index: 2;
  }

  .fv__scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: 35px;
    background-color: #fff;
    margin: 6.5px auto 0;
  }

  .about {
    padding: 15rem 2rem 16rem;
    background-color: #fff;
  }

  .about__title {
    font-size: 6rem;
  }

  .about__text {
    color: #000;
    margin-top: 5.3rem;
  }

  @media (min-width: 1000px) {
    .company__content {
      display: none;
    }
  }

  .company__content {
    display: none;
  }

  @media (min-width: 900px) {
    .history {
      padding: 16rem 0 10rem;
      background: none;
    }

    .history__wrapper {
      background-image: url(../images/common/textile.webp);
      background-size: 400px 400px;
      background-repeat: repeat;
      width: calc(100% - 428px);
      min-width: 734px;
      padding: 120px 20px 120px clamp(30px, calc(120px + 25vw - 300px), 120px);
      margin-bottom: 300px;
      position: relative;
    }

    @media (min-width: 1367px) {
      .history__wrapper {
        width: calc(100% - 50vw + 255px);
      }
    }

    .history__image {
      width: clamp(350px, 53vw, 722px);
      aspect-ratio: 722 / 770;
      position: absolute;
      right: -332px;
      right: clamp(-332px, calc(-332px - 50vw + 600px), -200px);
      top: 86px;
    }

    @media (max-width: 982px) {
      .history__image {
        right: clamp(-200px, calc(-200px - 100vw + 982px), -140px);
      }
    }
  }

  .history__wrapper .link {
    display: flex;
    margin-left: 0;
    margin-top: 72px;
  }

  .links {
    padding: 0 2rem 17.6rem;
  }

  .links__wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 530px;
    margin: 0 auto;
  }

  .links__item {
    color: #fff;
    width: 255px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    background-color: #808080;
    transition: all 0.3s;
  }

  .links__item:hover {
    opacity: 0.7;
  }

  .news {
    background-color: #fff;
    position: relative;
    padding: 0 2rem 13.6rem;
  }

  .news * {
    color: #000;
  }

  .news__title {
    gap: 1.5rem;
    margin-bottom: 40px;
  }

  @media (min-width: 920px) {
    .news__title {
      align-items: flex-start;
      position: absolute;
      top: -15px;
      left: calc(50vw - 122px - 313px);
      margin-bottom: 0;
    }
  }

  .news__title-eng {
    font-size: 3.6rem;
    line-height: 5.1rem;
  }

  .news__container {
    margin: 0 auto;
    max-width: 555px;
  }

  .news__item {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #d3d3d3;
  }

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