/* ----------------------------------------
 * PC専用広告START
  ---------------------------------------- */
.toshoadv {
  background: #FFF;
  border: 1px solid #4472C4;
}
.toshoadv__title {
  background: #4472C4;
  color: #FFF;
  font-size: 24px;
  font-weight: bold;
  line-height: 2em;
  text-align: center;
}
.toshoadv__title:before {
  display: inline-block;
  content: " ";
  height: 1.5em;
  width: 1.5em;
  background: url(badge.png) 0 0 no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.toshoadv__block {
  padding: 4%;
  border: 1px solid #4472C4;
}
.toshoadv__blocktitle {
  background: #00CC99;
  border-radius: .4em;
  color: #FFF;
  font-size: 1.2em;
  line-height: 2em;
  font-weight: bold;
  margin-bottom: .8em;
  padding: 0;
  text-align: center;
}
.toshoadv__img {
  display: inline-block;
  vertical-align: top;
  width: 30%;
}
.toshoadv__img img {
  width: 100%;
}
.toshoadv__table {
  background: none;
  display: inline-block;
  font-size: 18px;
  margin: 0 0 0 4%;
  padding: 0;
  vertical-align: top;
  width: 65%;
}
.toshoadv__flextable {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 16px;
  width: 100%;
}
.toshoadv__flextable dl {
  border: none;
  border-collapse: collapse;
  font-size: small;
  width: 50%;
  display: flex;
  flex-direction: row;
}
.toshoadv__flextable dl dt,
.toshoadv__flextable dl dd {
  border: 1px solid #fff;
  padding: .5em 0;
  text-align: center;
}
.toshoadv__flextable dl dt {
  background: #4472C4;
  color: #fff;
  width: 45%;
}
.toshoadv__flextable dl dd {
  background: #CFD5EA;
  color: #000;
  margin: 0;
  width: 55%;
}
.toshoadv__flextable--sub dl dt {
  background: #A5A5A5;
}
.toshoadv__flextable--sub dl dd {
  background: #E1E1E1;
}
.toshoadv__spec {
  border: 1px solid #2F528F;
  padding: .8em .5em;
}
.toshoadv__spec strong {
  color: #f00;
}
.toshoadv__jumpbtn {
  background: -moz-linear-gradient(
    top,
    #ff6600 0%,
    #ff3300 50%,
    #ff4400);
  background: -webkit-gradient(
    linear, left top, left bottom,
    from(#ff6600),
    color-stop(0.50, #ff3300),
    to(#ff4400));
  border: 0px solid #000000;
  border-radius: .3em;
  -moz-box-shadow:
    0px 3px 4px rgba(000,000,000,0.2),
    inset 0px 1px 4px rgba(255,255,255,0.7);
  -webkit-box-shadow:
    0px 3px 4px rgba(000,000,000,0.2),
    inset 0px 1px 4px rgba(255,255,255,0.7);
  box-shadow:
    0px 3px 4px rgba(000,000,000,0.2),
    inset 0px 1px 4px rgba(255,255,255,0.7);
  color: #ffffff;
  display: block;
  font-size: initial;
  font-weight: bold;
  margin: 1em auto 0;
  padding: .5em;
  text-decoration: none;
  text-align: center;
  text-shadow:
    0px -1px 0px rgba(000,000,000,0.3),
    0px 0px 0px rgba(255,255,255,0);
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@keyframes shine {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
.toshoadv__jumpbtn:before {
  animation: shine 3s ease-in-out infinite;
  background-color: #fff;
  content: " ";
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: -180px;
  transform: rotate(45deg);
  width: 30px;
}
.toshoadv__jumpbtn:hover {
  color: #ffffff;
  opacity: .8;
}

.starrank {
  position: relative;
  width: 116px;
  vertical-align: text-top;
}

.starrank__star--on {
  background: url(star-on.png) 0 0 no-repeat;
  height: 18px;
  position: absolute;
}

.starrank__star--off {
  background: url(star-off.png) 0 0 no-repeat;
  width: 116px;
  height: 18px;
  position: absolute;
}

/* Place in Sidebar */
#sidebar .toshoadv__title,
#sidebar .toshoadv__blocktitle {
  font-size: 18px;
}
#sidebar .toshoadv__img,
#sidebar .toshoadv__table,
#sidebar .toshoadv__flextable dl {
  width: 100%;
}
#sidebar .toshoadv__table {
  margin: 0;
}

/* Place in Article */
.article .toshoadv {
  margin: -2em 0 3em;
}
.article .toshoadv__table dl {
  margin: 0;
}
@media screen and (max-width: 480px) {
.article .toshoadv__img {
  width: 100%;
}
.article .toshoadv__table {
  width: 100%;
  margin-left: 0;
}
}


/* ----------------------------------------
 * PC専用広告END
  ---------------------------------------- */

/* ----------------------------------------
 * スマホ専用広告START
  ---------------------------------------- */
@media screen and (max-width: 480px){
.toshoadv__title {
  font-size: 20px;
}
.toshoadv__img {
  display: block;
  margin: 0 auto;
  width: 90%;
}
.toshoadv__blocktitle {
  padding: 0 1em;
}
.toshoadv__table {
  width: 90%;
  margin-left: 5%;
}
.toshoadv__flextable {
}
.toshoadv__flextable dl {
  width: 100%;
}
.toshoadv__flextable dl dt,
.toshoadv__flextable dl dd {
}
}
/* ----------------------------------------
 * スマホ専用広告END
  ---------------------------------------- */
