@charset "UTF-8";
/* ==========================================================================
   company-overview.css — info/company-overview.html 専用スタイル（Tailwindビルド対象外の独自CSS）
   TOPページの .link-list_wrap と同じSwiper調整
   ========================================================================== */

.history-list_wrap {
  /* Swiper既定の height:100% だと、親（flexの .division-container）内で高さが確定扱いになり、
     wrapperが高さを使い切ってスクロールバー・ボタンが overflow:hidden で切り取られるため auto にする */
  .swiper-wrapper {
    height: auto;
  }

  .swiper-scrollbar {
    /* TOPページと同じ太さ・角丸 */
    --swiper-scrollbar-size: 4px;
    --swiper-scrollbar-border-radius: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin-bottom: 40px;

    /* Swiper既定と詳細度を揃えて確実に上書きする */
    &.swiper-scrollbar-horizontal {
      position: static;
      width: 100%;
    }
  }

  .swiper-scrollbar-drag {
    height: 100%;
    background: #fff;
    border-radius: 10px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    position: static;
    width: 45px;
    height: 45px;
    color: #fff;
    border: solid 1px #fff;
    border-radius: 45px;

    &::before {
      font-family: "icomoon";
      font-size: 2.1rem;
    }

    &:hover {
      color: #fee51b;
      border-color: #fee51b;

      &::before {
        color: #fee51b;
      }
    }

    /* フォーカス表示は消さない */
    &:focus-visible {
      outline: solid 2px #fee51b;
      outline-offset: 2px;
    }

    &.swiper-button-disabled {
      opacity: 0.35;
    }

    svg {
      display: none;
    }
  }

  .swiper-button-prev::before {
    content: "\e90a";
  }

  .swiper-button-next::before {
    content: "\e909";
  }
}
