/* ニュース矢印設定 */
.l-news-list .l-news-list__link::after {
  opacity: 0;
}

/* スライドショー設定 */
.pc{
  width: 100%;
  height: 100%;
  margin-top: initial;
  border-radius: 9px;
}

.top_img{
  display: flex;
  justify-content: center;
  margin-top: 10px;
  aspect-ratio: 52 / 22;
}

.ImgPc{
  /* aspect-ratio: 277 / 568; */
  aspect-ratio: 277 / 350;
  width: 100%;
  height: 100%;
  border-radius: 9px;
}

.ImgSp{
  border-radius: 9px;
}


/* ボタン設定 */
  *,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 0.5;
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn--pink {
  color: #ffffff;
  background-color: #d6007f;
  border-bottom: 5px solid #ad0e6c;;
}

a.btn--pink:hover {
  margin-top: 3px;
  color: #ffffff;
  background: #cc027b;
  border-bottom: 2px solid #ad0e6c;;
}

a.btn--blue {
  color: #ffffff;
  background-color: #0f3675;
  border-bottom: 5px solid #325997;
}

a.btn--blue:hover {
  margin-top: 3px;
  color: #ffffff;
  background: #0f3675;
  border-bottom: 2px solid #325997;
}

#slideWrap{
  width: calc(100% - 160px);
}

.slideshow-fade1{
  position: relative;
  /* aspect-ratio: 1.91 / 1; */
  aspect-ratio: 1.7 / 1;
  width: 100%;
  height: 100%;
  margin: 0 0 0 6px;
  li{
      list-style: none;
      width: 100%;
      height: 100%;
  }
}

.l-layer-links .l-layer-links__wrapper{
  gap: 0 15px;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.ImgPc { display: block !important; }
.ImgSp { display: none !important; }

/* 各社PDF設定 */
.keio_25_pdf:after {
  content: "";
  display: inline-block;
  background: url(/assets/img/common/icon_pdf_blue.svg) no-repeat;
  background-size: contain;
  width: 16px;
  height: 18px;
  margin-left: 5px;
  position: relative;
  top: 3px;
}


@media only screen and (max-width: 960px) {
  .slideshow-fade1 { display: none !important; }
  .slideshow-fade2 { display: block !important; }

  #slideWrap{
    width: calc(100% - -0.6667px);
  }

  .slideshow-fade1{
    position: relative;
    width: 100%;
    height: 100%;
    margin: 1% 0 0 0;
    li{
        list-style: none;
        width: 100%;
        height: 100%;
    }
  }

  .top_img{
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
  }
  .ImgPc { display: none !important; }
  .ImgSp { display: block !important; }
  .ImgSp{
    width: auto;
    height: auto;
  }
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.slideshow-fade1 { display: block !important; }
.slideshow-fade2 { display: none !important; }

img.c-media__img {
  border-radius: 12px;
}