@charset "utf-8";

.voice-wrapper {
    font-size: 16px;
    line-height: 1.7;
    overflow: hidden;
    padding-bottom: 20px;
    --h2-height: 50px;
    --topic-color: #B17E2A;
    background: #DDC563;
    background: linear-gradient(180deg, rgba(221, 197, 99, 0) 0%, rgba(243, 202, 38, 1) 100%);
}

.voice-wrapper img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    object-fit: contain;
}

.voice-top > div:first-child {
    display:flex;
    justify-content:center;
}

.voice-top > div:first-child img {
    width: 1120px;
    max-width: none;
}

@media (max-width: 1100px){
    .voice-top > div:first-child img {
    width: 1000px;
    }
}

.voice-lead h2 {
    margin: 50px auto 45px;
    width: 310px;
    background: url(../img/bg_title.png) center center / 100% no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1012/350;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.voice-lead h2 img {
    height: var(--h2-height);
}


.voice-lead {
    margin: 0px auto 40px;
    line-height:2;
    width: 685px;
    word-break: auto-phrase;
}

/*------------------------------------------------*/

.voice-competitor {
  margin: 50px 30px 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  filter: drop-shadow(2px 2px 2px #00000040);
  gap: 20px;
}

.voice-competitor > li {
  position:relative;
  box-sizing: border-box;
  clip-path: polygon(calc(100% - 21px) 0, 100% 21px, 100% 100%, 0 100%, 0 0);
  padding: 4px;
  background: linear-gradient(135deg, rgba(208, 138, 28, 1) 0%, rgba(252, 241, 144, 1) 100%);
}

.voice-competitor > li > div {
    background:white;
    clip-path: polygon(calc(100% - 19px) 0, 100% 19px, 100% 100%, 0 100%, 0 0);
    padding: 13px 17px 17px;
}

.voice-competitor > li dl {
    overflow: hidden;
    margin: 0px 0 10px;
    gap: 10px;
    display: flex;
    justify-content: center;
    flex: 1;
}

.voice-competitor > li dl dd {
    font-size: 18px;
    line-height: 1.3;
    flex: 1;
    display: flex;
    align-items: center;
}

.voice-competitor > li dl dt {
    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: 3px;
    box-sizing: border-box;
    background: #E82B12;
    background: linear-gradient(135deg, rgba(232, 43, 18, 1) 0%, rgba(178, 27, 16, 1) 100%);
}

.voice-competitor > li .voice-name {
  font-size: 17px;
  line-height: 1.3;
}

@media screen and (min-width: 1160px){
  .voice-competitor > li .voice-name {
  font-size: 19px;
  }
}

.voice-btn {
  overflow: hidden;
  margin-top: 8px;
}

.voice-btn a {
  display:block;
  padding: 8px 3% 10px;
  text-align: center;
}

.voice-btn a img {
  height: 17px;
  vertical-align: middle;
  width: auto;
}

.voice-btn a.voice-vote {
  background: var(--topic-color);
}

.voice-btn a.voice-vote:hover {
  filter: saturate(2.5);
}

.voice-btn a.voice-vote .voted {
  display: none;
}

.voice-btn a.voice-vote.selected .vote {
  display: none;
}

.voice-btn a.voice-vote.selected .voted {
  display: inline;
}

.voice-btn a.voice-vote.selected {
    filter: saturate(2.5);
}

p.voice-term {
  margin: 0px 0 40px;
  font-weight:bold;
  font-size:30px;
  color: #3d3d3d;
  text-align: center;
}

.voice-detail {
    width: 515px;
    margin: 0px auto 35px;
    text-align:center;
    padding: 28px 30px 37px 30px;
    background:white;
    border: 2px solid #d7a23b;
    position: relative;
}

.voice-detail ul {
    margin: 15px 0 15px;
    padding-left: 28px;
}

.voice-detail ul li {
    list-style-type:disc;
    margin-left: 25px;
    text-align:left;
}

.voice-detail ul li + li {
    margin-top:5px;
}

.voice-detail p {
    margin-top: 25px;
}

.voice-detail + p {
    text-align:center;
}

@media (max-width: 750px){
    
    .voice-wrapper {
        --h2-height: 30px;
        font-size: 14px;
    }
    
    ul.voice-competitor {
        grid-template-columns: repeat(1, 1fr);
        margin: 30px 20px 10px;
    }

    .voice-top > div:first-child img {
        width: 100%;
    }

    .voice-lead {
        width: auto;
        word-break: break-all;
        margin: 0px 20px 30px;
    }

    .voice-lead h2 {
        width: 280px;
        margin: 30px auto 25px;
    }

    p.voice-term {
        font-size: 20px;
        margin: 0px 0 20px;
    }

    .voice-detail {
        width: auto;
        margin: 20px;
        padding: 20px 15px;
    }

    .voice-detail ul {
        padding-left: 0;
        margin: 0;
    }

    .voice-detail + p {
        text-align: left;
        margin: 20px;
    }

}