:root {
  --space: 40px;
}

.otoyagp-wrapper {
    font-size: 16px;
    line-height: 1.7;
}

.otoyagp-wrapper {
    width: 100%;
    overflow: hidden;
}

.otoyagp-wrapper img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

.otoyagp-top > p:first-child {
    margin-left: 50%;
    margin-top: 0;
    margin-bottom: 0;
}

.otoyagp-top > p:first-child img {
    width: 1120px;
    margin-left: -560px;
    max-width: none;
}

.otoyagp-content {
    position: relative;
    box-sizing: border-box;
    padding: 1px 0px 25px;
    --bg-height:2451px;
    background: url(../../img/bg_gradation_purple.png?z) center top var(--bg-height)/ 1120px calc(101% - var(--bg-height)) no-repeat, url(../../img/bg_summary.jpg?z) center top / 1120px var(--bg-height),url(../../img/bg_lattice.png) center top / 1120px;
    background-blend-mode: overlay;
}

.otoyagp-content > p {
    color: white;
    width: 610px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background: url(../../img/bg_title.png) center / 100% no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
    margin-top: -50px;
    font-weight: bold;
    font-size: 25px;
}

.otoyagp-lead {
  color:white;
  padding: 0 20px;
  position: relative;
}

.otoyagp-lead h2 {
    text-align: center;
    width: 295px;
    margin: 10px auto 25px;
}

.otoyagp-lead > div {
    max-width: 720px;
    margin: auto;
}

.otoyagp-lead > div > div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 30px auto 20px;
    background: #0000004f;
    box-sizing: border-box;
    padding: var(--space);
    box-shadow: 0px 0px 18px #ffffff61;
    position: relative;
    z-index: 2;
}

.otoyagp-lead > div > div > div {
    max-width: 440px;
    padding: 10px 0 11px;
}

.otoyagp-term {
  margin: 0px 0 10px;
  font-weight:bold;
  font-size:30px;
}

.otoyagp-detail {
    text-align:center;
}


.otoyagp-detail ul li {
    list-style-type:disc;
    margin-left: 20px;
    text-align:left;
}

.otoyagp-detail ul li + li {
    margin-top:5px;
}

.otoyagp-detail p {
    margin-top: 25px;
}

.otoyagp-vote-wrapper {
    padding: 20px;
}

.otoyagp-artist.otoyagp-under51 {
  padding: 5px 0px;
  margin: 20px 0 0;
  background: white;
}

.otoyagp-artist.otoyagp-top50  {
  grid-template-columns: 1fr 1fr 1fr;
  display: grid;
  padding: 0;
  margin: 0;
  gap: 20px;
}

@media screen and (max-width: 850px){
  .otoyagp-artist.otoyagp-top50 {
      grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 550px){
  .otoyagp-artist.otoyagp-top50 {
      grid-template-columns: 1fr;
  }
}

.otoyagp-artist > li {
  position:relative;
  background: white;
}

.otoyagp-artist.otoyagp-top50 > li {
  padding: 1px 12px calc(144px + 100%);
}

.otoyagp-artist.otoyagp-under51 > li + li {
  border-top: 1px solid #bfbfbf;
}

.otoyagp-artist > li > p:first-child + p + img,
.artist-info li img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.otoyagp-artist > li dl {
    overflow: hidden;
    margin: 10px 0 12px;
    gap: 10px;
    display: flex;
    justify-content: center;
    flex: 1;
}

.otoyagp-artist > li dl dd {
    font-size: 18px;
    line-height: 1.3;
    flex: 1;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1150px){
    .otoyagp-artist > li dl dd {
    font-size: 16px;
    }
}

.otoyagp-artist > li dl dt {
    background: #DF1212;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    vertical-align: text-bottom;
    padding-top: 0px;
    box-sizing: border-box;
}

.artist-info-wrapper {
    position: absolute;
    width: 90.7%;
    bottom: 3%;
    left: 0;
    right: 0;
    margin: auto;
}


@media (min-width: 801px){
.artist-info {
  position: relative;
  height: 0;
  padding-top: 100%;
  background: whitesmoke;
  padding-left: 0;
}

  .artist-info li {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .7s;
    -moz-transition: all .7s;
    -ms-transition: all .7s;
    -o-transition: all .7s;
    transition: all .7s;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
  }

  .artist-info li + li {
    opacity:0;
  }
  .artist-info:hover li + li {
    opacity:1;
  }
}

.artist-info li p {
  padding: 0 18px;
  position:absolute;
  top: 50%;
  line-height:1.5;
  font-size:11px;
  text-align: left;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(0, -50%);
}

@media screen and (min-width: 1120px){
  .artist-info li p {
  font-size:12px;
  }
}

@media screen and (min-width: 1170px){
  .artist-info li p {
  font-size:13px;
  }
}

@media screen and (min-width: 1220px){
  .artist-info li p {
  font-size:14px;
  }
}

.otoyagp-artist > li .artist-name {
  font-size: 17px;
  line-height: 1.3;
  padding-right: 5px;
  flex: 1;
}

@media screen and (min-width: 1160px){
  .otoyagp-artist > li .artist-name {
  font-size: 19px;
  }
}

.otoyagp-btn {
  overflow: hidden;
}

.otoyagp-top50 .otoyagp-btn {
  margin-top: 4%;
}

.otoyagp-under51 .otoyagp-btn {
  width: 40%;
}

.otoyagp-btn a {
  display:block;
  float:left;
  padding: 8px 3% 10px;
  text-align: center;
  box-sizing:border-box;
}

.otoyagp-btn a img {
  height: 17px;
  vertical-align: middle;
  width: auto;
}

@media screen and (max-width: 1200px){
  .otoyagp-btn a img {
  height: 15px;
  }
}

.otoyagp-btn a.otoyagp-detail {
  background:#626262;
  width: 49%;
}

.otoyagp-btn a.otoyagp-detail:hover {
  background:#353535;
}

.otoyagp-btn a.otoyagp-vote {
  background: #e01caa;
  width: 49%;
  margin-left: 2%;
}

.otoyagp-btn a.otoyagp-vote:hover {
  background: #a30076;
}

.otoyagp-btn a.otoyagp-vote .voted {
  display: none;
}

.otoyagp-btn a.otoyagp-vote.selected {
  background: #999;
}

.otoyagp-btn a.otoyagp-vote.selected:hover {
  background: #757575;
}

.otoyagp-btn a.otoyagp-vote.selected .vote {
  display: none;
}

.otoyagp-btn a.otoyagp-vote.selected .voted {
  display: inline;
}

.otoyagp-artist > li.otoyagp-middle-comment {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-align: center;
}

.otoyagp-artist > li.otoyagp-middle-comment p {
  line-height:2.3;
}

.otoyagp-artist > li.otoyagp-middle-comment p span {
 background:linear-gradient(transparent 60%, #ff6 60%);
}

.otoyagp-artist.otoyagp-under51 > li {
  width: calc(100% - 30px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2px;
  margin: 0 12px;
}

.otoyagp-artist.otoyagp-under51 > li:nth-child(50) dt {
  letter-spacing: -.15em;
}


@media screen and (max-width: 800px){
  .otoyagp-content:before {
      content: "";
      height: 850px;
      width: 100%;
      display: block;
      position: absolute;
      background: red;
      left: 0;
      top: 0;
      background: linear-gradient(180deg, rgb(0 0 0 / 47%) 29%, rgba(0, 0, 0, 0) 46%);
  }
   .otoyagp-content {
      margin-top: -16%;
  }

  .otoyagp-content > p {
      font-size: 16px;
      width: 100%;
      max-width: 440px;
      margin-bottom: -20px;
  }

  p.otoyagp-term {
      font-size: 20px;
  }

  .otoyagp-top > p:first-child img {
      margin: auto;
      width: 100%;
  }

  .otoyagp-top > p:first-child {
      margin: auto;
  }

  .otoyagp-lead h2 {
      width: 200px;
      margin-top: 0;
  }

  .otoyagp-wrapper {
      font-size: 14px;
  }

  .otoyagp-lead > div > div {
      margin: 25px auto;
      padding: 25px 18px 20px;
  }

  .otoyagp-lead {
      padding-bottom: 10px;
  }

  .otoyagp-artist.otoyagp-under51 > li {
      flex-direction: column;
      margin-top: 15px;
      width: calc(100% - 29px);
  }

  .otoyagp-under51 .otoyagp-btn {
      width: 100%;
  }

  .otoyagp-artist > li dl {
      width: 100%;
      margin-left: 2px;
      margin-bottom: 18px;
  }
  .otoyagp-artist > li dl dt {
      width: 42px;
      height: 42px;
      font-size: 22px;
  }

  .artist-info li {
      top: 0;
      bottom: 0;
      margin: auto;
      display: flex;
      justify-content: center;
      a;
      align-items: center;
      height: 100%;
  }

  .artist-info-wrapper {
      overflow: hidden;
  }

  .swiper-button-prev, .swiper-button-next {
      margin-top: -104px;
      width: 20px;
      background-size: 100%;
  }

  .swiper-button-prev {
    left:5px;
  }

  .swiper-button-next {
    right: 5px;
  }

  .otoyagp-artist > li > p:first-child + p + img,
  .artist-info li img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    aspect-ratio: 1/1;
    width: 100%;
  }

  .otoyagp-artist.otoyagp-top50 > li.otoyagp-middle-comment {
    padding: 21px 1.5% 32px;
  }

  .otoyagp-artist.otoyagp-under51 {
      padding-bottom: 20px;
      padding-top: 0;
  }
  .otoyagp-artist > li.otoyagp-middle-comment {
      padding: 20px 0;
      font-size: 18px;
  }
  .otoyagp-artist.otoyagp-top50 > li dl dt {
    margin-left: 7px;
  }
  .otoyagp-artist.otoyagp-top50 > li {
    padding: 1px 1.5% calc(134px + 100%);
  }
  .artist-info li p {
    padding: 0 28px;
  }
}