
h2 {
    background: gainsboro;
    padding: 10px 0 10px 20px;
    border-left: 10px solid #36c;
    margin-top: 35px;
    margin-bottom: 0;
}
.voice_box02 {
    display: flex;
    align-items: center;
}
.voice_box02 img {
    width: 12%;
}
span.blue_box {
    color: #fff;
    background: #3266cc;
    padding: 5px 10px;
}
.box02_content{
    display: flex;
}
span.star {
    color: #fe9309;
}
.voice_box02 img {
    width: 25%;
    margin-right: 12px;
}
.voice_box02 p {
    margin: 5px 0;
}
.box02_content{
    display: block;
}
.voice_box {
    padding: 15px;
    background: #fff;
    box-shadow: 2px 5px 6px #cfcfcf;
    width: 31%;
    margin: 10px auto 20px;
}
.voice_box p {
    font-size: 16px;
}
.voice_content {
    background: #fffde8;
    display: flex;
    flex-wrap: wrap;
}

/* 更新月 */
.survey_date {
    font-weight: bold;
}
.survey_date .month_list>a {
    display: inline-block;
    margin-right: 10px;
    color: #666;
    font-size: 16px;
}

/* アコーディオンに関する記述 */
.accordion-single-title {
    cursor: pointer;
    position: relative;
}
.accordion-single-title::after{
    content: "";
    position: absolute;
    top: 25px;
    right: 25px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-top-color: #1e5fcc;
    transition: transform .2s ease;
}
.accordion-single-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-in-out;
    padding: 0;
}
.accordion-single-item.is-open .accordion-single-content  {
    max-height: 100%;
    padding: 25px 10px 30px;
}
/* ボタンを上下回転させる記述→目が散るため一時削除
.accordion-single-item.is-open .accordion-single-title::after  {
    transform: rotate(180deg);
    top: 12px;
}*/


.sp_text-wrapper {
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width: 640px){
    .voice_box02 img {
    width: 21%;
}
.voice_box02 p{
    margin: 0;
}
.box02_content p{
    margin-top: 10px;
}
.voice_content{
    display: block;
}
.voice_box{
    width: 93%;
}

/* 更新月 */
.survey_date {
    margin: 0 3%;
}


/* お客様の声の「続きを読む」ボタンの記述 */
    .container {
        position: relative;
    }
    label {
        position: absolute;
        z-index: 1;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px; /*グラデーションで隠す高さ*/
        cursor: pointer;
        text-align: center;
        background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
    }
    input:checked + label {
        background: inherit; 
    }
    label:after {
        line-height: 2.5rem;
        position: absolute;
        z-index: 2;
        bottom: 30px;
        left: 50%;
        width: 200px;
        content: '続きを読む';
        transform: translate(-50%, 0);
        color: #ffffff;
        border-radius: 20px;
        background-color: #1e5fcc;
    }
    input {
      display: none !important;
    }
    .sp_text-wrapper {
        overflow: hidden;
        height: 260px;
        transition: all 0.5s;
    }
    input:checked ~ .sp_text-wrapper {
        height: auto;
        padding-bottom: 60px;
        transition: all 0.5s;
    }
    .sp {
        /*display: block;*/
        margin: 5% auto 0;
    }
}

@media screen and (max-width: 1212px) and (min-width: 640px) {
    .voice_box p {
        font-size: 14px;
    }
}
.accordion-single{
    margin-bottom:40px;
}


/*ポップアップ 240116下層追加*/
.active{
    display: block !important;
    animation-name: fadeIn;
    animation-duration: .2s;
    animation-fill-mode: both;
}
.madal_container {
    background: rgba(0, 0, 0, .7);
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 10000;
}
.madal_contents {
    width: 29%;
    height: auto;
    position: absolute;
    top: 44%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.madal_contents span {
    cursor: pointer;
    position: absolute;
    top: -26px;
    right: -30px;
    color: #fff;
    font-size: 2em;
    z-index: 11111;
    font-weight: bold;
}


@media screen and (max-width: 640px){
.madal_contents {
    width: 75%;
    top: 47%;
}
}

/*ポップアップ end */