@charset "UTF-8";

.voice-section {
    margin-top: 40px;
}
.voice-title {
    font-weight: 500;
    color: #4cc8b0;
    text-align: center;
    letter-spacing: .15em;
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
}

.voice-title::before {
    content: '';
    background: #666;
    position: absolute;
    display: inline-block;
    width: 100%;
    height: .5px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: 0;
}
.voice-title span {
    display: inline-block;
    background: #fff;
    padding: 0 20px;
    z-index: 1;
    position: relative;
    line-height: 1.5;
}

.voice-flex-title {
    font-weight: 500;
    color: #4cc8b0;
    text-align: center;
    letter-spacing: .15em;
    font-size: 17px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.voice-flex + .voice-flex-title {
    margin-top: 40px;
}

@media screen and (min-width: 768px) {
    .voice-title {
        font-size: 1.6666666667vw;
    }
    .voice-flex-title {
        font-size: 1.4vw;
    }
    .voice-flex-title img {
        max-height: 2.5vw;
    }
    .voice-title .sp {
        display: none;
    }
}


.voice-flex {
    display: flex;
    gap: 40px 10px;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    justify-content: center;
}

.voice-flex .card {
    display: flex;
    flex: 0 0 calc((100% - 30px) / 4);
    flex-direction: column;
    color: #666;
    position: relative;
}

.voice-flex .card.new::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 50px;
    background-color: #E8380F;
    clip-path: polygon(0 0, 80px 0, 0 50px);
    z-index: 1;
}

.voice-flex .card.new::after {
    content: 'NEW';
    position: absolute;
    left: 9px;
    top: 8px;
    color: #fff;
    font-size: 13px;
    z-index: 2;
    font-weight: 600;
    font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic';
}

@media screen and (min-width: 768px) {
    .voice-flex .card.new::before {
        clip-path: polygon(0 0, 2.9vw 0, 0 2vw);
    }
    .voice-flex .card.new::after {
        font-size: .6vw;
        left: .3vw;
        top: .3vw;
    }
}

.voice-flex .card .img-container {
    overflow: hidden;
}
.voice-flex .card .img-container img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    transition: all .3s ease-in-out;
}
.voice-flex .card:not(.coming):hover .img-container img {
    transform: scale(1.1);
}

.voice-flex .card .text-container {
    padding-top: 10px;
}

.voice-flex .card .text-container .title{
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 2px;
}

@media screen and (min-width: 768px) {
    .voice-flex .card .text-container .title {
        font-size: 1.1vw;
    }
}

.voice-flex .card p {
    line-height: 1.6;
    font-size: 16px;
}

@media screen and (min-width: 768px) {
    .voice-flex .card p {
        font-size: .7291666667vw;
    }
}


@media screen and (max-width: 768px) {
    .voice-flex .card{
        flex: 0 0 calc((100% - 10px) / 2);
    }
}

@media screen and (max-width: 460px) {
    .voice-flex .card{
        flex: 0 0 100%;
    }
}