@charset "utf-8";

.otoyagp-wrapper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 40px;
    font-size: 16px;
    line-height: 1.7;
}

.otoyagp-wrapper img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    object-fit: contain;
}

.otoyagp-lead {
    width: 770px;
    margin: -38px auto 50px;
    color: white;
}

.otoyagp-lead > div > p:first-child {
    color: white;
    max-width: 610px;
    width: 91%;
    height: 80px;
    background: url(../../img/bg_title.png) center / 100% no-repeat;
    padding-bottom: 20px;
    display: grid;
    justify-items: center;
    align-items: center;
}

.otoyagp-lead > div > p:first-child img {
  max-width: 250px;
  width: 46%;
}

.otoyagp-lead > div {
  display: grid;
  justify-items: center;
  gap: 30px;
}

div#otoyagp-main {
    position: relative;
    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-prize {
  max-width: 780px;
  margin: 50px auto 40px;
  background:white;
}

.otoyagp-prize > div {
  max-width: 730px;
  box-sizing:border-box;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 20px 35px;
  margin: auto;
}

.otoyagp-gp-artist {
  padding: 30px 0px 30px;
  clear: both;
  width: 100%;
}

.otoyagp-gp-artist h2 {
  text-align: center;
  margin-bottom: 8px;
}

.otoyagp-gp-artist .otoyagp-gp-a-image {
  box-sizing: border-box;
  margin: 20px auto 20px;
  background: whitesmoke;
  display: flex;
  justify-content: center;
  align-items: center;
}

.otoyagp-gp-artist .otoyagp-gp-a-image img {
  object-fit: contain;
  height: 400px;
  width: 100%;
}

.otoyagp-gp-artist .otoyagp-gp-a-image + div iframe {
  width:100%;
  height: 125px;
}


.otoyagp-gp-artist h3, .otoyagp-prize-artist > h3, .otoyagp-layout100-flex > div > h3 {
  font-size: 22px;
  font-weight:bold;
  margin: 13px 0 7px;
  text-align: center;
  line-height: 1.4;
  word-break: auto-phrase;
}

.otoyagp-ichioshi-point {
  background: #fffece;
  padding: 40px 20px 19px;
  position: relative;
  margin-top: 55px;
  text-align: justify;
}

.otoyagp-ichioshi-point h3 {
  position:absolute;
  top: -37px;
  left: -36px;
  right: 0;
  margin: auto;
  text-align: center;
}

.otoyagp-ichioshi-point h3 img {
  width:260px;
}

.winner-comment p span {
    display: block;
    text-align: center;
    margin: 9px 0 0;
}

.otoyagp-prize-artist {
  margin: 11px 0 0 0px;
  padding: 15px 0px 17px 0;
  box-sizing: border-box;
}

@media screen and (min-width: 800px){
  .otoyagp-prize-artist {
    width: 325px;
  }
}

.otoyagp-prize-artist h2 {
  margin-bottom: 12px;
  text-align: center;
}

.otoyagp-prize-artist h2 img {
  height: 50px;
}

.otoyagp-prize-artist .artist-image {
  background: whitesmoke;
  display:flex;
  justify-content:center;
  align-items:center;
  aspect-ratio: 1/1;
}

.otoyagp-prize-artist .artist-image img {
  max-width:100%;
  max-height:100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

.otoyagp-prize-artist iframe {
  width:100%;
  height: 125px;
}

.otoyagp-layout100 {
    width: 100%;
    margin-top: 10px;
}

.otoyagp-layout100-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 30px;
}

@media screen and (min-width: 800px){
  .otoyagp-prize .otoyagp-layout100-flex h3 {
    margin-top:0;
  }
}

.otoyagp-prize-artist .otoyagp-layout100-flex > div {
    width:325px;
}

.sp-jury-comment {
    background: #fffece;
    padding: 20px;
    margin: 20px 0;
}

.sp-jury-comment h3 {
    text-align: center;
    margin-bottom: 24px;
}

.sp-jury-comment h3 img {
  width: 240px;
  margin: 15px 0 0px;
}

.roland-comment h3 img {
    width: 192px;
}

.mi-comment h3 img {
    width: 325px;
}

.sp-jury {
  margin-top: 30px;
}

.sp-jury > img {
    width: 47%;
    float:left;
    margin: 0 25px 25px 0;
}

p.jury-name {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 0.4em;
}

p.jury-title {
  font-weight:bold;
  margin-bottom: 0.7em;
}

.jury-tune {
    margin-top: 1em;
    display:flex;
    gap:20px;
    justify-content: unset;
    align-items:center;
    flex-direction: row-reverse;
}

.jury-tune a {
  display:inline;
  color:#795284;
  text-decoration:underline;
}

.otoyagp-thankyou {
  clear: both;
  text-align:center;
  padding-top: 20px;
  margin: auto;
}

@media screen and (max-width: 800px){
  .otoyagp-thankyou p:first-child {
  max-width: 310px;
  }
}

div.otoyagp-message {
  margin: 40px 30px 33px;
}

div.otoyagp-message:last-child {
  margin-bottom:20px;
}

div.otoyagp-message.sh-message {
  border: 6px solid #f01134;
}

div.otoyagp-message.tuncore-message {
  border: 6px solid #00a3d7;
  height: 350px;
}

div.otoyagp-message h2 {
  margin-top: -35px;
  text-align:center;
  margin-bottom: 0px;
}

div.otoyagp-message > div {
  padding: 22px 26px 20px 29px;
  display:flex;
  justify-content: center;
  gap: 25px;
}

div.otoyagp-message > div > *:last-child {
  flex:1;
}

div.otoyagp-message > div > div:first-child {
  width: 180px;
  text-align: center;
}

div.otoyagp-message.sh-message div img {
  width: 157px;
  margin-top: 20px;
}

div.otoyagp-message.tuncore-message div p {
  margin-top: 2px;
}

div.otoyagp-message.tuncore-message div img {
  width: 140px;
  margin-top: 10px;
  height: auto;
}

div.otoyagp-message p {
  text-align: justify;
}

.otoyagp-under {
  text-align: center;
  margin: 40px 0 30px;
}

.otoyagp-btn {
  overflow:hidden;
  margin: 9px auto 10px;
}

.otoyagp-layout100 .otoyagp-btn {
  margin-bottom:0;
}

.otoyagp-btn a {
  width: 100%;
  position:relative;
  display: block;
  text-align: center;
  border:3px solid;
  float:left;
  height: 41px;
}

.otoyagp-btn a img {
  height:20px;
  padding: 10px 0;
  margin-left: -10px;
}

a.otoyagpDetail {
  background: #8e6ccd;
  border-color: #ae96db #4b386b #4b386b #ae96db;
}

a.otoyagpDetail:hover {
  background: #7550bb;
}

.otoyagp-btn a.otoyagpDetail img {
  height: 19px;
  width: auto;
}

.winner-comment,
.cosponsor-comment {
  padding:20px;
  margin: 20px 0;
}

.winner-comment {
  background: #f9f4ff;
}

.winner-comment h3,
.cosponsor-comment h3 {
  text-align:center;
  margin: 0 0 18px;
}

.winner-comment h3 img {
  width: 140px;
  height: auto;
}

.otoyagp-interview a {
  width: 100%;
  display: block;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 20px;
  color: white;
  margin: 15px auto;
  border-radius: 35px;
  background: #d9a6b9;
}

.otoyagp-interview a:hover {
    background: #c37793;
    text-decoration:none;
}


.otoyagp-prize-link {
  display:flex;
  justify-content:center;
  align-items:center;
  width: 100%;
}

.otoyagp-prize-link a {
    border: 2px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 35px;
    width: 400px;
    padding: 20px;
    box-sizing: border-box;
    color: #000;
    font-weight: bold;
    transition:.2s;
    font-size:18px;
}

.otoyagp-prize-link a:hover {
    background:#000;
    color:white;
    text-decoration:none;
}

.otoyagp-prize-artist.otoyagp-layout100 + .otoyagp-prize-artist.otoyagp-layout100 .artist-image {
    aspect-ratio: auto;
}

@media screen and (max-width: 800px){
  .otoyagp-wrapper {
  font-size:14px;
  }

  .otoyagp-prize {
      margin: 0px 15px 20px;
  }

  .otoyagp-prize > div {
      padding-top: 20px;
      padding-bottom: 5px;
  }

  .otoyagp-prize-artist h2 img {
      height: 36px;
      width:auto;
  }
  .otoyagp-gp-artist h2 img {
      height: 40px;
      width:auto;
  }

  .otoyagp-gp-artist {
      padding: 10px 0;
  }

  .otoyagp-gp-artist .otoyagp-gp-a-image {
      margin: 15px 0;
  }

  .otoyagp-gp-artist .otoyagp-gp-a-image img {
    height: auto;
    max-height: 340px;
  }

  .winner-comment h3 img {
      width: 110px;
  }

  .otoyagp-ichioshi-point h3 img {
      width: 200px;
  }

  .otoyagp-gp-artist .otoyagp-ichioshi-point h3 {
      top: -29px;
  }

  .otoyagp-ichioshi-point {
      padding: 40px 20px 19px;
  }

  .otoyagp-prize-artist .artist-image {
      width: auto;
      aspect-ratio: auto;
  }

  .otoyagp-gp-artist h3, .otoyagp-prize-artist > h3, .otoyagp-layout100-flex > div > h3 {
      font-size: 18px;
      margin-bottom: 13px;
  }

  .otoyagp-ichioshi-point h3 {
      left: -27px;
      right: 0;
      text-align: center;
      top: -25px;
  }

  .otoyagp-prize-artist .artist-image img {
      object-fit: contain;
      max-height: 360px;
  }

  .otoyagp-prize-artist {
      margin: 0;
  }

  .sp-jury-comment h3 img {
      width: 190px;
  }
  .roland-comment h3 img {
      width: 150px;
  }
  .mi-comment h3 img {
      width: 240px;
  }
    
  .otoyagp-layout100-flex {
      flex-direction: column;
      align-items: center;
      margin-top: auto;
  }

  .otoyagp-prize-artist .otoyagp-layout100-flex > div {
      width: 100%;
  }

  p.jury-name {
      font-size: 17px;
      font-weight: bold;
      margin-bottom: 0.4em;
  }
  .sp-jury > img {
    margin: 0 15px 15px 0;
    width: 100%;
    float: none;
  }

  .jury-tune {
      display: block;
  }

  .otoyagp-lead {
      margin: calc(-17.2% - 56px) 0px 4px;
      padding: 0 20px 25px;
      background: linear-gradient(180deg, rgb(6 6 18 / 0%) 0%,rgb(6 6 18 / 74%) 30%, rgb(6 6 18) 80%, rgba(6, 6, 18, 0) 100%);
      width: auto;
    }

  .otoyagp-lead > div {
    gap:15px;
  }

  div.otoyagp-message {
    margin: 40px 0px 5px;
  }

  div.otoyagp-message.sh-message {
    border: 3px solid #f01134;
  }

  div.otoyagp-message.tuncore-message {
    border: 3px solid #00a3d7;
    height: auto;
  }

  div.otoyagp-message.ito-message {
    border: 3px solid #5e62e0;
  }

  div.otoyagp-message h2 {
    margin-top: -18px;
  }

  div.otoyagp-message.sh-message h2 img {
    max-width: 294px;
    width: 100%;
  }

  div.otoyagp-message.tuncore-message h2 img {
    max-width: 240px;
  }

  div.otoyagp-message div {
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 20px;
    gap: 0;
  }

  div.otoyagp-message.sh-message div img {
    width: 74px;
    margin: 0;
  }

  div.otoyagp-message.tuncore-message div img {
    width: 71px;
    margin: 0;
  }

  .otoyagp-under {
    max-width: 340px;
    margin: 10px auto 5px;
  }

  .otoyagp-prize-link a {
  margin:0 0 15px;
  }

  .otoyagp-interview a {
  font-size:17px;
  }
}

@media screen and (min-width: 800px){
  .otoyagp-top > p:first-child {
      margin-left: 50%;
  }
  .otoyagp-top > p:first-child img {
      width: 1120px;
      margin-left: -560px;
      max-width: none;
  }
  *:is(.otoyagp-prize-artist:nth-child(3), .otoyagp-prize-artist:nth-child(4)) .otoyagp-ichioshi-point{
      height:160px;
  }
  *:is(.otoyagp-prize-artist:nth-child(3), .otoyagp-prize-artist:nth-child(4), .otoyagp-prize-artist:nth-child(5), .otoyagp-prize-artist:nth-child(6)) .artist-image + h3 {
      height:60px;
  }
  *:is(.otoyagp-prize-artist:nth-child(3), .otoyagp-prize-artist:nth-child(4)) .winner-comment {
      height:318px;
  }
  *:is(.otoyagp-prize-artist:nth-child(5), .otoyagp-prize-artist:nth-child(6)) .winner-comment {
      height:291px;
  }
}

@media screen and (max-width: 500px){
  .otoyagp-lead > div {
    gap:5px;
  }
}
