@charset "utf-8";

.voiceItem {
    padding: 24px 15px;
    background: url(/system_panel/uploads/images/cmn_bg06.jpg) repeat-y top center/auto;
    overflow: hidden;
}

.voiceItem:nth-of-type(n+2) {
    margin: 40px 0 0;
}

.voiceItemIn {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

.accordionBtn {
    padding: 0 0 15px 0;
    border-bottom: 1px solid var(--black);
    cursor: pointer;
    transition: all .3s;
}

.accordionBtn:hover {
    opacity: .7;
}

.voiceCate {
    flex: 1;
    display: inline-block;
    width: 100%;
    max-width: max-content;
    height: 27px;
    padding: 0 16px;
    color: var(--black);
    background: rgba(58, 28, 15, 0.2);
    font-size: clamp(14px, 13.52px + 0.129vw, 16px);
    font-weight: 500;
    line-height: 1.8em;
    letter-spacing: 0.05em;
    text-align: center;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.voiceTitBx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.voiceTit {
    flex: 1;
}

.accordionIconBatch {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    aspect-ratio: 1/1;
    margin: 0 8px 0 0;
    font-size: 18px;
    line-height: 1.5em;
    border-radius: 50%;
}

.accordionIcon {
    position: relative;
    width: 20px;
    aspect-ratio: 1/1;
    margin: 0 0 0 10px;
}

.accordionIconItem {
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 2px;
    margin: auto auto auto auto;
    background-color: var(--primary);
    transition: all .3s;
}

.accordionIconItem:first-of-type {
    transform: rotate(90deg);
}

.accordionIcon.active .accordionIconItem:first-of-type {
    transform: rotate(0deg);
}

.voiceAccordionContent {
    display: none;
    padding: 20px 0 0;
}

.voiceImgBx {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    justify-items: center;
}

.voiceImgBx:not(:has(.voiceImg:not(:empty))) {
    display: none;
}

.voiceImg:empty {
    display: none;
}

.voiceMovie {
    width: 100%;
}

.voiceMovie:empty {
    display: none;
}

.voiceMovie iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.voiceTxt:empty {
    display: none;
}

/*  ページャー */

.webgene-pagination {
    width: 100%;
}

.webgene-pagination>ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.webgene-pagination>ul>li {
    display: flex;
    margin: 30px 0 0;
    height: 40px;
    min-height: 40px;
    width: 100%;
    max-width: 40px;
    font-size: 14px;
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 4px 0;
    align-items: center;
    border-radius: 50%;
}

.webgene-pagination>ul>li>a {
    width: 100%;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: initial;
    font-size: 15px;
    transition: all .3s;
    color: var(--black);
}

.webgene-pagination>ul>li>a:hover {
    color: #fff;
    background-color: var(--black);
    text-decoration: none;
    transition: all .3s;
}

.webgene-pagination>ul>li.selected>a {
    color: #fff;
    background: var(--black);
    cursor: inherit;
    border-radius: 50%;
    transition: all .3s;
}

.webgene-pagination>ul>li.selected>a:hover {
    color: #fff;
    background-color: var(--black);
    transition: all .3s;
}

.webgene-pagination>ul>.prev>a,
.webgene-pagination>ul>.next>a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 40px;
    border: 0;
    font-size: 0;
    font-weight: 500;
    letter-spacing: .05em;
    color: var(--black);
}

.webgene-pagination>ul>.prev>a:hover,
.webgene-pagination>ul>.next>a:hover {
    color: #fff;
    opacity: .5;
    background-color: initial;
}


.webgene-pagination>ul>.prev>a::before,
.webgene-pagination>ul>.next>a::before {
    content: "";
    display: block;
    top: 50%;
    width: 20px;
    height: 16px;
    margin: 0 0 .3em;
    transition: all .3s;
}

.webgene-pagination>ul>.prev>a::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 16px 10px 0;
    border-color: transparent var(--black) transparent transparent;
}

.webgene-pagination>ul>.next>a::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--black);
}


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:576px) {

    .voiceImgBx {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* min-width: 576px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:768px) {

    .voiceItem {
        padding: 48px 15px;
        overflow: hidden;
    }

    .voiceItem:nth-of-type(n+2) {
        margin: 60px 0 0;
    }

    .accordionBtn {
        padding: 0 0 20px 0;
    }

    .voiceCate {
        height: 30px;
        font-size: 16px;
    }

    .accordionIconBatch {
        width: 35px;
        margin: 0 15px 0 0;
        font-size: 20px;
    }

    .accordionTxt {
        font-size: 18px;
    }

    .accordionIcon {
        width: 25px;
    }


    .voiceAccordionContent {
        padding: 40px 0 0;
    }


    /* ページャー */

    .webgene-pagination>ul>li {
        margin: 40px 10px 0;
    }

    .webgene-pagination>ul>li>a {
        height: 40px;
        width: 40px;
        font-size: 18px;
    }

}

/* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */