@charset "utf-8";

.p-top-bg {
  background: var(--color-bg);
}

.p-top-fv {
}

.p-top-fv__inner {
  margin: 0 auto;
  padding: 23px 22px 0;

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

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

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

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

.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__contact {
  position: absolute;
  bottom: 50px;
  right: 20px;
  width: clamp(140px, calc(185vw / 13.66), 185px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), linear-gradient(180deg, #a1cae5 0%, #72d4c7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-top: 15px;

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

  @media (width < 768px) {
    bottom: 8px;
    right: 8px;
    width: 110px;
  }

  p {
    color: #fff;
    text-align: center;
    font-weight: 500;
    line-height: 1.64;
    letter-spacing: 0.05em;

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

.p-top-fv__contact:hover {
  opacity: 0.7;
}

.p-top-fv__contact-arrow {
  background: #fff url("https://saikorokohak.com/system_panel/uploads/images/arrow-right-blue.svg") no-repeat center center / 40%;
  border-radius: 50%;
  width: 29px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;

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

.p-top-fv__head {
  margin: 30px auto 0;
  max-width: 1250px;
}

.p-top-fv__heading {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.29;
  letter-spacing: 0.08em;

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

.p-top-fv__text {
  margin-top: 30px;
  max-width: 550px;

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

.p-product {
  padding-top: 114px;
  overflow: hidden;

  @media (width < 768px) {
    padding-top: 100px;
  }
}

.p-product__heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;

  .c-heading__en {
    display: block;
  }

  .c-heading__ja {
    margin: 0;
  }
}

.p-product__slide {
  margin-top: 48px;
}

.p-product__flex {
  margin-top: 190px;
  margin-bottom: 157px;
  display: flex;
  gap: 20px;
  justify-content: space-between;

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

.p-product__left {
  flex: 1 1 auto;
}

.p-product__main-text {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 35px;
  white-space: nowrap;

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

  div {
    writing-mode: vertical-rl;
    padding: 24px 0px 12px;
    background: #fff;
    font-size: 30px;
    font-weight: 500;
    height: fit-content;
    line-height: 2;
    letter-spacing: 0.34em;

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

  div:last-of-type {
    margin-top: 73px;
  }
}

.p-product__right {
  width: 59%;
  margin-top: 76px;

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

.p-product__text {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 29px;
  margin-bottom: 41px;

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

.p-product__btn {
  justify-content: start;
  padding: 0 32px;
}

.p-product__images {
  margin: 0 auto;
  overflow: visible;
  display: flex;
  justify-content: center;

  img {
    width: calc(500vw / 13.66);
    width: clamp(100px, calc(500vw / 13.66), 800px);
    aspect-ratio: 50/45;
    object-fit: cover;
  }
}

.p-top-features {
}

.p-top-blog {
  padding: 120px 0;
  background: var(--color-bg);

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

.p-top-blog__lists {
  margin-top: 60px;

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

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

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

.p-top-blog__btn {
  margin-top: 55px;

  .c-btn {
    margin: 0 auto;
  }
}

.p-company {
  margin: 120px 0 172px;

  @media (width < 768px) {
    margin: 80px 0 100px;
  }
}

.p-company__img {
  margin-top: 56px;
  width: 100%;
  aspect-ratio: 1146/400;
  border-radius: 5px;
  object-fit: cover;
}

.p-company__body {
  padding-top: 40px;
  padding-bottom: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #dde7e9;

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

.p-company__main-text {
  flex: 1 1 auto;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.08em;

  @media (width < 1120px) {
    font-size: 24px;
  }
}

.p-company__text {
  width: 56%;
  display: flex;
  flex-direction: column;
  gap: 19px;

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

.p-company-info {
  margin-top: 82px;
}

.p-company-info__heading {
  color: var(--color-blue);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.p-company-info__table-inner {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;

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

.p-company-table {
  width: 48%;
  display: flex;
  flex-direction: column;

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

.p-company-table:not(:first-of-type) {
  .p-company-table__row:first-of-type {
    @media (width < 768px) {
      border-top: none;
    }
  }
}

.p-company-table__row {
  border-bottom: 1px solid #dde7e9;
  height: 90px;
  padding: 24px 0 20px;
  line-height: normal;
  letter-spacing: 0;
  display: flex;
  align-items: center;
}

.p-company-table__row:first-of-type {
  border-top: 1px solid #dde7e9;
}

.p-company-table__head {
  width: 136px;
  flex-shrink: 0;
  font-weight: 500;
  display: inline-flex;
  align-items: center;

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

  p {
    width: 100%;
  }
}

.p-company-table__head::after {
  content: "";
  width: 1px;
  height: 32px;
  background: #dde7e9;
}

.p-company-table__text {
  padding-left: 42px;

  span {
    display: inline-block;
  }
}

.p-company-table__text a:hover {
  opacity: 0.7;
}
