.imgWrap {
  overflow: hidden;
  background-color: transparent !important;
  width: 100%;
  height: 100%;
}

.imgWrap img {
  display: block;
  transition-duration: 0.4s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-style: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.top-brand-head {
  font-family: "adobe-garamond-pro", "ヒラギノ明朝 W3 JIS2004",
    "Hiragino Mincho W3 JIS2004", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Arial,
    Verdana, sans-serif;
  text-align: center !important;
  font-size: 24px;
  margin-bottom: 60px;
}

@media only screen and (min-width: 1024px) {
  .imgWrap img.pc-only {
    display: block;
  }

  .imgWrap img.sp-only {
    display: none;
  }
}

@media only screen and (max-width: 1023px) {
  .top-brand-head {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 30px;
  }

  .imgWrap img.pc-only {
    display: none;
  }

  .imgWrap img.sp-only {
    display: block;
  }
}

.top-banner-ul li .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

/* .top-banner-ul li:hover img {
  transform: scale(1.2);
} */

@media only screen and (max-width: 1023px) {
  .top-banner-ul li .mask {
    opacity: 1;
    -webkit-transition: all 0.2s ease;
    transition: all 500ms;
  }
}

.top-banner-parent {
  margin: 0 auto;
}

@media only screen and (max-width: 1023px) {
  .top-banner-parent {
    margin-right: 4.6px;
    margin-left: 4.6px;
  }
}

.top-banners-text {
  color: white;
  font-family: "HelveticaNeueLTPro-Roman", "FP-ヒラギノ角ゴ ProN W4", sans-serif;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 500ms;
  width: 95%;
  text-align: center;
  display: block;
  font-size: 1.5em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-size: 36px;
}

.top-banners-title{
  font-family: HelveticaNeueLTPro-Bd, "FP-ヒラギノ角ゴ ProN W6", sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 37px;
  text-align: center;
  color: rgb(255, 255, 255);
}

.top-banners-link {
  font-family: "HelveticaNeueLTPro-Md", "FP-ヒラギノ角ゴ ProN W4", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  color: #fff;
  margin-top: 19px;
  min-height: 19px;
}

.top-banners-link * {
  position: relative;
  padding-bottom: 2px;
  display: inline-block;
  line-height: 19px;
}

.top-banners-link p {
  font-size: 16px;
  line-height: 19px;
  min-height: 19px;
  font-weight: 600;
}

.top-banners-link *::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #fff;
  -webkit-transform-origin: left;
  -ms-transform-origin: left;
  transform-origin: left;
}

.top-banners-text.text--black {
  color: #000;
  h2{
    color: #000;
  }
  .top-banners-link{
    color: #000;
  }
  .top-banners-link *::after{
    background-color: #000;
  }
}

.top-banners-text.text--white {
  color: #fff;
  h2{
    color: #fff;
  }
  .top-banners-link{
    color: #fff;
  }
  .top-banners-link *::after{
    background-color: #fff;
  }
}

@media only screen and (min-width: 1024px) {
  .top-banners-text {
    bottom: 65px;
    font-weight: 600;
    line-height: 37px;
  }
}

@media only screen and (max-width: 1023px) {
  .top-banners-text {
    bottom: 40px;
    font-size: 23px;
    line-height: 24px;
    font-weight: bold;
  }

  .top-banner-ul {
    margin: 0;
  }

  .top-banners-link {
    font-size: 13px;
    line-height: 15px;
    min-height: 16px;
    margin-top: 17px;
  }
  .top-banners-text.text--black.sp-text--white{
    color: #fff;
    h2{
      color: #fff;
    }
    .top-banners-link{
      color: #fff;
    }
    .top-banners-link *::after{
      background-color: #fff;
    }
  }

  .top-banners-text.text--white.sp-text--black{
    color: #000;
    h2{
      color: #000;
    }
    .top-banners-link{
      color: #000;
    }
    .top-banners-link *::after{
      background-color: #000;
    }
  }
}

.top-banner-parent .top-banner-ul {
  display: -webkit-flex;
  display: flex;
  overflow-x: hidden;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  box-sizing: border-box;
  overflow: hidden;
}

@media only screen and (max-width: 1023px) {
  .top-banner-parent .top-banner-ul {
    margin: 0 -5px;
    overflow-y: hidden;
  }
}

.top-banner-ul li {
  width: calc(25% - 16px);
  height: auto;
  position: relative;
}

.top-banner-ul li {
  width: 100%;
  position: relative;
  display: block;
  border-top: 1px solid #fff;
  -webkit-transition: opacity .75s ease, -webkit-transform .75s ease;
  transition: opacity .75s ease, -webkit-transform .75s ease;
  -o-transition: opacity .75s ease, transform .75s ease;
  transition: opacity .75s ease, transform .75s ease;
  transition: opacity .75s ease, transform .75s ease, -webkit-transform .75s ease;
}

.top-banner-ul li:hover {
  opacity: .7;
}

@media only screen and (max-width: 1023px) {
  .top-banner-ul li {
    margin-bottom: 0;
  }
}

.top-banner-ul li:before {
  content: "";
  display: block;
  padding-top: 56%;
  /* ここを100％にすることで正方形になる */
}

.top-banner-ul li.is_video:before {
  padding-top: 0;
  /* ここを100％にすることで正方形になる */
}

.top-banner-ul li span {
  /* 正方形にするのに必要な部分 */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 中央寄せ */
  text-align: center;
  padding: 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-transition: all 0.2s ease;
  transition: all 500ms;
}

.top-banner-ul li:hover .top-banner-ul li span {
  opacity: 0.7;
  -webkit-transition: all 0.2s ease;
  transition: all 500ms;
}

/* 高さの中央揃えに必要な部分 */
.top-banner-ul li span:before {
  content: "";
  height: 100%;
  vertical-align: middle;
  width: 0px;
  display: inline-block;
}

.top-banner-ul li span>* {
  vertical-align: middle;
  display: inline-block;
}

.top-banner-ul li span img {
  max-width: 100%;
  height: auto;
  max-height: 100%;
}

.top-banners-container:nth-child(n + 9) {
  display: none;
}

.top-banner-ul a:hover {
  opacity: 1;
}

@media only screen and (max-width: 1023px) {
  .top-banner-ul li:before {
    padding-top: 133.33%;
    /* ここを100％にすることで正方形になる */
  }

  .top-banner-ul li span img {
    height: 100%;
  }
}