@charset "utf-8";

@media screen and (max-width: 767px) {
  .type_pc {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  .type_sp {
    display: none !important;
  }
}

/*----人気ランキング----*/
.ind_ranking {
  margin-bottom: 40px;
  max-width: 950px;
}
.ind_rankingTitle {
  font-size: 134%;
  color: #054066;
  padding: 50px 0 0;
  font-weight: bold;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 44px;
  background-image: url('/mansion/library/images/top/ind_icn__ranking.svg');
}
.ind_sct__txt {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
}
.ind_sct__caption {
  font-size: 13px;
  text-align: center;
}

.ind_ranking__tiles {
  width: 100%;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  margin: 30px 0;
}

.ind_ranking__tile {
  width: 32%;
  height: 220px;
  max-width: 332px;
  display: block;
  position: relative;
  transition: all 0.2s ease-out;
}

.ind_ranking__tile:hover {
  opacity: 0.7;
}

.ind_ranking__tile img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
}
a.ind_ranking__tile_lnk {
  width: 100%;
  height: 100%;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  z-index: 2;
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#000000',GradientType=0 );
  /* IE6-9 */
}

.ind_ranking__txt {
  width: 100%;
  padding: 8px;
  margin-top: auto;
  display: block;
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  background-position: right 13px center;
  background-size: 16px;
  background-repeat: no-repeat;
  background-image: url(/mansion/library/images/top/ind__arrow.svg);
}
.ind_ranking__txt .is__min {
  display: block;
  font-size: 12px;
  font-weight: normal;
}
.ind_ranking__num {
  width: 90px;
  height: 79px;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  position: absolute;
  left: 9px;
  top: -9px;
  z-index: 1;
  font-size: 20px;
  font-weight: bold;
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
  color: #333;
}
.is__num1 .ind_ranking__num {
  background-image: url(/mansion/library/images/top/ind_ranking__num1.png);
}
.is__num2 .ind_ranking__num {
  background-image: url(/mansion/library/images/top/ind_ranking__num2.png);
}
.is__num3 .ind_ranking__num {
  background-image: url(/mansion/library/images/top/ind_ranking__num3.png);
}

._station .ind_ranking__tile img {
  width: 121px;
  position: static;
  display: block;
  margin: 0 auto;
}
._station .ind_ranking__tile {
  height: auto;
}

._station .ind_ranking__tile:hover {
  opacity: 1;
}
._station .ind_ranking__tile a:hover {
  opacity: 0.7;
}

._station .ind_ranking__txt {
  margin: 0;
  display: block;
  position: relative;
  color: #2d312f;
  font-size: 15px;
  padding: 0;
}
._station .ind_ranking__txt strong {
  font-weight: bold;
}
._station .ind_ranking__tile table {
  margin: 6px 0 0;
  width: 100%;
}
._station .ind_ranking__tile th {
  font-size: 12px;
  background: #e0edf5;
  padding: 3px;
  width: 20%;
}
._station .ind_ranking__tile td {
  font-size: 12px;
  padding: 3px;
  width: 80%;
}
._station .ind_ranking__tile tr:nth-of-type(1) th {
  border-bottom: 2px solid #fff;
}
.station_ranking__num {
  padding: 5px 5px 5px;
  margin: 0 5px 5px 0;
  display: inline-block;
}
.station_ranking__num.is__num1 {
  background: url(/mansion/library/images/top/ind_ranking__num1.png) no-repeat center center;
  background-size: contain;
}
.station_ranking__num.is__num2 {
  background: url(/mansion/library/images/top/ind_ranking__num2.png) no-repeat center center;
  background-size: contain;
}
.station_ranking__num.is__num3 {
  background: url(/mansion/library/images/top/ind_ranking__num3.png) no-repeat center center;
  background-size: contain;
}

.ind__btn a {
  padding: 15px;
  width: 400px;
  margin: 0 auto;
  display: block;
  position: relative;
  text-align: center;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  background: url(/mansion/library/images/top/ind__arrow.svg) no-repeat, #054066;
  background-position: right 22px center;
  background-size: 11px, auto;
  border: 2px solid #054066;
  border-bottom: 3px solid #002946;
  box-sizing: border-box;
}
.ind__btn a:hover {
  color: #054066;
  padding-bottom: 16px;
  border-bottom-width: 2px;
  background-color: #fff;
  background-image: url(/mansion/library/images/top/ind__arrow2.svg);
}
.ind_lnk__card a {
  width: 400px;
  padding: 15px 20px;
  margin: 20px auto 0;
  display: block;
  color: #004066;
  text-align: center;
  background: url(/mansion/library/images/top/ind__arrow2.svg) no-repeat, #e0edf5;
  background-position: right 13px center;
  background-size: 12px;
  border-radius: 5px;
  box-sizing: border-box;
}
.ind_lnk__card a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  .ind_ranking {
    padding: 30px 10px 0;
  }
  .ind_rankingTitle {
    font-size: 20px;
    line-height: 1.3;
  }
  .ind_sct__txt {
    line-height: 1.4;
  }

  .ind_sct__caption {
    font-size: 13px;
    text-align: center;
    line-height: 1.3;
  }

  .ind_ranking__tiles {
    margin: 20px 0;
    display: block;
  }
  .ind_ranking__tile {
    height: 200px;
    width: auto;
    max-width: none;
    margin: 0 0 3rem;
  }

  .ind_ranking__txt {
    font-size: 18px;
    line-height: 1.3;
  }
  .ind_ranking__txt .is__min {
    font-size: 14px;
    line-height: 1.4;
  }
  ._station.ind_ranking {
    margin-bottom: 30px;
  }
  ._station .ind_ranking__tile img {
    width: 60%;
  }
  ._station .ind_ranking__txt strong {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 4px;
    display: inline-block;
  }
  ._station .ind_ranking__tile table {
    line-height: 1.3;
  }
  ._station .ind_ranking__tile th {
    font-size: 13px;
    padding: 5px;
  }
  ._station .ind_ranking__tile td {
    font-size: 14px;
    padding: 5px;
  }
  .station_ranking__num {
    padding: 8px 9px 13px;
    margin: 0 5px 0 0px;
  }
  .ind__btn a {
    width: 100%;
    font-size: 18px;
  }
  .ind_lnk__card a {
    width: 100%;
    font-size: 18px;
  }
}
