.top-mv-area-sp-text span {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: .2em;
  color: white;
  animation: fadeIn 1.5s ease-in-out forwards;
  line-height: 1;
  display: block;
  /* 1.5秒かけてフェードイン */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.bl-article-catch-bg::after {
  right: unset;
  left: 50%;
  width: 50vw;
}

.p-hayawakari__keywords-nrm {
  align-items: center;
}

.p-hayawakari__keywords-nrm.flex-box-2col .item h3 {
  text-align: left;
  font-size: 1.75rem;
}



/* 991.8px 以下の場合のスタイル */
@media screen and (max-width: 991.8px) {
  .disc-list>li {
    margin-top: 8px;
  }
}

/* 767.8px 以下の場合のスタイル */
@media screen and (max-width: 767.8px) {
  .section.bg-gradation {
    padding: 0;
  }
}

/* 768px 以下の場合のスタイル */
@media screen and (max-width: 767px) {
  .top-sustainability-panel {
    padding-top: 160px;
  }

  /* スマホ表示ではアンカーリンクアイコンを非表示 */
  .bl-col-anchor-item {
    padding: 16px;
  }

  .bl-col-anchor-item::before {
    bottom: 6px;
  }

  .bl-col-anchor-text {
    margin-top: 0;
  }

  .bl-col-anchor-icon {
    display: none;
  }

  .tertiary-heading {
    font-size: 1.1rem;
  }

  /* 関連リンクスマホでは２列表示 */
  .bl-col4-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0;

    .item {
      margin: 0;
    }

    .link {
      align-items: flex-start;

      a {
        font-size: 16px;

        .text {
          display: block;
          line-height: 1.25;

        }
      }
    }

  }

}



/* 768px 以上の場合のスタイル */
@media screen and (min-width: 768px) {

  /* TOP */
  .top-mv-area {
    video {
      height: 100%;
      width: 100%;
      object-fit: cover;
    }

  }

  .top-mv-area-sp {
    display: block;
  }

  .top-mv-area-sp .swiper {
    display: none;
  }


  .top-mv-area-sp-text {
    br {
      display: none;
    }
  }

  /* グループ沿革 */

  .history-list-img-inner {
    min-height: 150px;
  }

  .u-pc-hidden {
    display: none;
  }
}


/* Scroll to Top */

#page-top {
  opacity: 0;
  visibility: hidden;
  /* 初期状態は不可視 */
  transition: opacity 0.5s, visibility 0.5s;
  pointer-events: none;
}

#page-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 長方形黒ボタンのサイズ変更 */
.button {
  min-width: 270px;
  max-width: 270px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.button-inner {
  height: 60px;
}

/* 外部サイトボタンアイコンの hover 時の振る舞い */
.button.button-new-window:hover .button-inner::after {
  right: 10px;
}

/* ホバー時のスタイル */
.bl-col4-links .link a {
  text-decoration: none;

  span {
    color: black;
    transition: color 0.5s;
  }

  &:hover {
    span {
      color: rgb(0, 0, 238);
    }
  }
}


@media screen and (min-width: 768px) {
  .top-mv-area-pc {
    font-size: 0;
    height: calc(100vh - 62px - 68px);
  }
}

@media screen and (min-width: 1200px) {
  .top-mv-area-pc {
    font-size: 0;
    height: calc(100vh - 100px - 56px);
  }
}
