/* ========================================
 * voices/naitei.html 専用のスタイル
 * このページだけに適用したいスタイルはここに書く
 * ======================================== */

h2::before,
h2::after {
    background: #F5D551;
}

section {
    counter-reset: qcount;
}

.cols {
    margin: 60px auto;
}

.cols h3 {
    position: relative;
    border-top: solid 1px #ccc;
    color: #000;
    padding: 20px 0 10px 90px;
    font-size: 20px;
}

.cols h3 {
    counter-increment: qcount;
}

.cols h3::before {
    content: "Q" counter(qcount);
    background: #F5D551;
    display: block;
    width: 68px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 15px;
}

.cols h3::after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 72px;
    border-left: 34px solid #F5D551;
    border-right: 34px solid #F5D551;
    border-bottom: 16px solid transparent;
}

.voice_items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    counter-reset: voice;
}

.voice_item {
    background: #f2f2f2;
    padding: 20px;
}

.voice_label {
    background: #f5d551;
    position: relative;
    padding: 20px;
    font-weight: bold;
    font-size: 20px;
    color: #000;
    line-height: 1.2;
    left: -40px;
    margin-bottom: 20px;
}

.voice_label::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent #c7a424 transparent transparent;
    border-width: 0 20px 10px 0;
    counter-increment: voice;
}

.voice_label span::before {
    content: "0" counter(voice);
    display: inline-block;
    padding-right: 1.25em;
    border-right: 1px solid;
    margin-right: 1.25em;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.voices_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.voices_wrap div {
    background: #fff;
    padding: 20px;
}

.voices_wrap p {
    font-size: 14px;
    display: inline;
}

.voices_wrap img {
    margin: 0 15px 15px 0;
}

@media screen and (max-width: 768px) {
    .col3:nth-of-type(3) .pie_chart {
        margin-top: 40px;
    }
}
