/* 在校生・卒業生の声一覧 */
.r4-cmn-page-header__heading--voice::after {
    background: #03913B;
}

.voice {
    padding: 5rem 0 6rem;
}
@media (max-width: 740px) {
    .voice {
        padding: 4.4rem 0 4rem;
    }
}

.voice__inner {
    width: 100%;
    max-width: 104rem;
    padding: 0 2rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.voice__title {
    font-size: 2.4rem;
    font-weight: normal;
}

.voice__contents {
    margin-top: 5.8rem;
    width: 100%;
}
@media (max-width: 740px) {
    .voice__contents {
        margin-top: 2rem;
    }
}

.voice__lists {
    width: 100%;
    max-width: 93.6rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.45rem;
}
@media (max-width: 740px) {
    .voice__lists {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9rem 1.6rem;
    }
}

.voice__content {
    width: 100%;
    margin-top: 7.8rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6.5rem 2.1rem;
}
@media (max-width: 740px) {
    .voice__content {
        margin-top: 3.4rem;
        display: block;
    }
}

@media (max-width: 740px) {
    .voice__item:not(:first-of-type) {
        margin-top: 2rem;
    }  
}

.voice__item a {
    text-decoration: none;
}

.voice__item-link {
    color: inherit;
}
@media (max-width: 740px) {
    .voice__item-link:hover {
        opacity: 1 !important;
    }
}

.voice__item-image {
    position: relative;

}

.voice__item-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 320 / 230;
}
@media (max-width: 740px) {
    .voice__item-image img {
        aspect-ratio: 336 / 241;
    }
}

.voice__item-cat-area {
    position: absolute;
    right: 0.6rem;
    bottom: 0.6rem;
}
@media (max-width: 740px) {
    .voice__item-cat-area {
        right: 1rem;
        bottom: 1rem;
    }
}

.voice__item-cat {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: rgb(124, 177, 11, 0.8);
    padding: 0.2rem 0.45rem;
    border: 0.1rem solid #fff;
    border-radius: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.voice__item-cat.judo {
    background: rgb(39, 170, 191, 0.8);
}

.voice__item-text {
    margin-top: 1.3rem;
}
@media (max-width: 740px) {
    .voice__item-text {
        margin-top: 1rem;
    }
}

.voice__item-title {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: calc(26 / 16);
    letter-spacing: -0.01em;
}
@media (max-width: 740px) {
    .voice__item-title {
        font-size: 1.2rem;
        line-height: calc(18 / 12);
        letter-spacing: -0.01em;
    }
}

.voice__item__career {
    font-weight: normal;
    font-size: 1.2rem;
    margin-top: 1rem;
    line-height: calc(18 / 12);
}
@media (max-width: 740px) {
    .voice__item__career {
        font-size: 1rem;
        margin-top: 0.5rem;
        line-height: calc(18 / 12);
    }
}

.voice__pagination {
    margin-top: 8rem;
    color: inherit;
}
@media (max-width: 740px) {
    .voice__pagination {
        margin-top: 4.4rem;
    }
}

.voice__pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.6rem;
}
@media (max-width: 740px) {
    .voice__pagination .page-numbers {
        column-gap: 0.45rem;
    }
}

.voice__pagination .page-numbers li {
    list-style: none;
}

.voice__pagination .page-numbers li .current {
    color: #086936;
    font-size: 1.8rem;
    font-weight: bold;
    border: 0.1rem solid #086936;
    background: #fff;
    padding: 1.25rem 1.5rem;
}
@media (max-width: 740px) {
    .voice__pagination .page-numbers li .current {
        font-size: 1.5rem;
        padding: 1rem 1.2rem;
    }
}

.voice__pagination .page-numbers li a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    border: 0.1rem solid transparent;
    background: #086936;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
}
@media (max-width: 740px) {
    .voice__pagination .page-numbers li a {
        font-size: 1.5rem;
        padding: 1rem 1.2rem;
    }
}

.voice__pagination .page-numbers li a:hover {
    color: #086936;
    border: 0.1rem solid #086936;
    background: #fff;
    opacity: 1 !important;
}
@media (max-width: 740px) {
    .voice__pagination .page-numbers li a:hover {
        color: #fff;
        border: 0.1rem solid transparent;
        background: #086936;
    }
}

.voice__pagination .page-numbers.prev {
    display: none;
}

/* 在校生・卒業生の声詳細ページ */
.single-voice {
    padding: 7.8rem 0 6.8rem;
}
@media (max-width: 740px) {
    .single-voice {
        padding: 4.6rem 0 3.8rem;
        overflow: hidden;
    }
}

.single-voice__contents {
    margin-top: 3.4rem;
}
@media (max-width: 740px) {
    .single-voice__contents {
        margin-top: 2rem;
    }
}

@media (max-width: 740px) {
    .single-voice__fv-image {
        width: 100vw;
        margin: 0 calc(50% - 50vw);
    }
}

.single-voice__fv-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 10 / 6;
}
@media (max-width: 740px) {
    .single-voice__fv-image img {
        aspect-ratio: 374 / 224;
    }
}

.single-voice__content {
    margin-top: 6rem;
}
@media (max-width: 740px) {
    .single-voice__content {
        margin-top: 3rem;
    }
}

.single-voice__item-inner {
    display: flex;
    justify-content: space-between;
    column-gap: 3.2rem;
}
@media (max-width: 740px) {
    .single-voice__item-inner {
        flex-direction: column-reverse;
    }
}

.single-voice__item-text {
    width: calc((596 / 1000) * 100%);
}
@media (max-width: 740px) {
    .single-voice__item-text {
        width: 100%;
        margin-top: 2rem;
    }
}

.single-voice__item-title {
    font-size: 2.6rem;
    font-weight: bold;
    line-height: calc(36 / 26);
    letter-spacing: -0.01em;
}
@media (max-width: 740px) {
    .single-voice__item-title {
        font-size: 2rem;
        line-height: calc(32 / 20);
    }
}

@media (max-width: 740px) {
    .single-voice__reverse {
        display: flex;
        flex-direction: column-reverse;
    }  
}

.single-voice__item-desc {
    margin-top: 1rem;
    font-size: 1.6rem;
    line-height: calc(28 / 16);
    letter-spacing: -0.01em;
}
@media (max-width: 740px) {
    .single-voice__item-desc {
        margin-top: 3rem;
        font-size: 1.6rem;
        line-height: calc(28 / 16);
    }
}

.single-voice__item-desc p {
    font-size: 1.6rem;
    line-height: calc(28 / 16);
    letter-spacing: -0.01em;
}
@media (max-width: 740px) {
    .single-voice__item-desc p {
        font-size: 1.6rem;
        line-height: calc(28 / 16);
    }
}

.single-voice__item-cat-area {
    margin-top: 3.4rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    column-gap: 1.1rem;
}
@media (max-width: 740px) {
    .single-voice__item-cat-area {
        margin-top: 1.5rem;
        display: flex;
        flex-direction: row-reverse;
        justify-content: start;
        column-gap: 1.1rem;
    }
}

.voice__item-cat.student,
.voice__item-cat.graduate {
    color: #3E3A39;
    background: #fff;
    border: 0.1rem solid #3E3A39;
    border-radius: 0;
}

.voice__item__career--single {
    margin-top: 1rem;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}
@media (max-width: 740px) {
    .voice__item__career--single {
        margin-top: 1rem;
        letter-spacing: -0.01em;
    }
}

.single-voice__item-image {
    width: calc((372 / 1000) * 100%);
}
@media (max-width: 740px) {
    .single-voice__item-image {
        width: 73%;
        margin: 0 auto;
    }
}

.single-voice__item-image img {
    width: 100%;
    height: auto;
}
@media (max-width: 740px) {
    .single-voice__item-image img {
        object-fit: cover;
        aspect-ratio: 243 / 174;
    }
}

.single-voice__btn {
    margin-top: 6rem;
    width: 25.8rem;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 740px) {
    .single-voice__btn {
        margin-top: 3rem;
        width: 56%;
    }
}

.toph2--singlevoice {
    font-family: "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-size: 3.2rem;
    padding: 1.8rem 1rem 1rem;
}

@media (max-width: 740px) {
    .toph2--singlevoice {
        font-size: 1.9rem;
        margin-top: 3.8rem;
        padding-top: 1.3rem;
        padding-bottom: 1.3rem;
        line-height: 0.8;
    }
    .withpadding--single-voice {
        padding: 0 1.9rem;
    }  
}

.r4-cmn-outline-btn--voice {
    height: 5.6rem;
}
@media (max-width: 740px) {
    .r4-cmn-outline-btn--voice {
        height: 4.4rem;
        width: initial;
    }
}

.r4-cmn-outline-btn--voice div {
    font-size: 1.8rem;
}
@media (max-width: 740px) {
    .r4-cmn-outline-btn--voice div {
        font-size: 1.4rem;
    }
}

.r4-cmn-outline-btn__arr-g--voice {
    width: 1.5rem;
    right: 1.1rem;
}
@media (max-width: 740px) {
    .r4-cmn-outline-btn__arr-g--voice {
        width: 1.4rem;
    }
}

.r4-cmn-outline-btn__arr--voice {
    width: 1.5rem;
    right: 1.1rem;
}
@media (max-width: 740px) {
    .r4-cmn-outline-btn__arr--voice {
        width: 1.4rem;
    }
}

/* ここから */
.r4-cmn-outline-btn--singlevoice {
    height: 6.3rem;
}
@media (max-width: 740px) {
    .r4-cmn-outline-btn--singlevoice {
        height: 4.7rem;
        width: initial;
    }
}

.r4-cmn-outline-btn--singlevoice div {
    font-size: 2.1rem;
}
@media (max-width: 740px) {
    .r4-cmn-outline-btn--singlevoice div {
        font-size: 1.6rem;
    }
}

.r4-cmn-outline-btn__arr-g--singlevoice {
    width: 1.5rem;
    right: 1.1rem;
}
@media (max-width: 740px) {
    .r4-cmn-outline-btn__arr-g--singlevoice {
        width: 1.4rem;
    }
}

.r4-cmn-outline-btn__arr--singlevoice {
    width: 1.5rem;
    right: 1.1rem;
}
@media (max-width: 740px) {
    .r4-cmn-outline-btn__arr--singlevoice {
        width: 1.5rem;
        right: 2.2rem;
    }
}

.voice-pc {
    display: block !important;
    height: 100%;
}
@media (max-width: 740px) {
    .voice-pc {
        display: none !important;
    }
}

.voice-sp {
    display: none !important;
}
@media (max-width: 740px) {
    .voice-sp {
        display: block !important;
        height: 100%;
    }
}

.r4-cmn-content--singlevoice {
    padding-top: 0;
    padding-bottom: 0;
}

.r4-cmn-breadcrumb--voice ul {
    row-gap: 1rem;
}