#voice .sub-nav-wrap {
    --sub-nav-bg: var(--color-pink-light);
    --sub-nav-h: 60px;
}

#voice .sub-nav::before {
    --sub-nav-left: calc(50% + -130px);
}

#voice .sub-nav ul {
    height: inherit;
}

#voice .sub-nav li {
    width: fit-content;
    height: 50%;
    border-right: var(--border-base);
    border-width: 1px;
    padding-inline: var(--space-2);
    font-weight: bold;
}

#voice .sub-nav li:first-of-type {
    border-left: var(--border-base);
    border-width: 1px;
}

#voice .sub-nav li a {
    display: block;
    width: 100%;
    height: 100%;
}

#voice .sub-nav li a:hover {
    color: var(--color-white);
}

#voice #fv {
    padding-block: var(--pad-3) var(--pad-4);
}

#voice #fv .bubble {
    --bubble-w: fit-content;
    padding-inline: 1em;
    left: 230px;
    top: -25px;
}

#voice #fv .title-group figure {
    height: 170px;
    z-index: 10;
}

#voice #fv .title-group figure img {
    width: auto;
    height: 100%;
}

#voice #fv .title-group + p {
    margin-top: var(--space-3);
}

#voice #fv h2 {
    gap: calc(var(--space-1) / 2);
}

#voice #voice-list {
    padding-top: 0;
}

#voice .voice-row {
    min-height: calc(382px + var(--pad-3));
    margin-top: var(--space-3);
    background: var(--color-white) url(../_img/voice/voice-bg.svg) repeat-x top center / 1382px 368px;
    padding-top: var(--space-2);
}

#voice .voice-row ~ .voice-row {
    margin-top: var(--space-7);
}

#voice .voice-row__inner {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    justify-content: center;
    gap: 0;
}

#voice .voice-block {
    display: inline-block;
    padding: var(--pad-3) var(--pad-3) var(--pad-5);
}

#voice .voice-block > figure {
    --figure-size: 240px;
    width: var(--figure-size);
    height: var(--figure-size);
    overflow: hidden;
    padding: 8px;
    border: var(--border-base);
    border-width: 6px;
    border-radius: var(--radius-inner);
    background-color: var(--color-white);
}

#voice .voice-block > figure img,
#voice .voice-block > figure figcaption {
    --figure-size: 213px;
    width: var(--figure-size);
    height: var(--figure-size);
    border-radius: var(--radius-inner);
}

#voice .voice-block > figure img {
    object-fit: cover;
}

#voice .voice-block > figure figcaption {
    position: absolute;
    inset: 1px 0 0;
    display: none;
    margin: auto;
    background-color: rgba(250, 217, 235, 0.8);
    transition: all 0.2s ease;
}

#voice .voice-block > figure figcaption > b {
    font-size: 18px;
}

#voice .voice-block:hover > figure figcaption {
    display: flex;
    gap: var(--space-1);
}

#voice .voice-block .comment-block {
    font-size: 0.875rem;
    z-index: 0;
}

#voice .voice-block .num-block {
    max-width: 187px;
    margin-inline: auto;
    line-height: 1;
    text-transform: uppercase;
}

#voice .voice-block .num {
    font-size: 1.875em;
}

#voice .voice-block .comment {
    min-height: 78px;
    padding-top: 32px;
    padding-inline: calc(var(--space-1) / 2);
    background: url(../_img/index/bubble03.svg) no-repeat top center / 100%;
    position: absolute;
    inset: 3px 0 auto;
    z-index: -1;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.1em;
}

#voice #voice-content {
    padding-bottom: 0;
}

#voice #voice-content header {
    flex-wrap: nowrap;
}
#voice #voice-content header > div:last-child {
    flex: 1;
    min-width: 0;
}

#voice #voice-content header .voice-number {
    background-image: url(../_img/voice/voice-num-bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    --circle-size: clamp(120px, 15vw, 150px);
    width: var(--circle-size);
    height: var(--circle-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(50px, 5vw, 54px);
    font-weight: 700;
    line-height: 1;
}

#voice #voice-content header > div .round-box {
    border: 0;
}

#voice #voice-content header > div small {
    font-size: 18px;
    margin-left: var(--space-2);
    line-height: 2;
    letter-spacing: 0.1rem;
}

#voice #voice-content header > div h2 {
    --round-h: auto;
    min-height: 60px;
    line-height: 1.5;
    letter-spacing: 0;
    font-size: clamp(20px, 2.5vw, 32px);
    padding-inline: calc(var(--space-1) * 1.2);
    margin-bottom: var(--space-1);
}

#voice #voice-content header > div h2 span {
    --round-w: fit-content;
    --round-h: 40px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 2.5;
    padding-inline: calc(var(--space-1) * 1.5);
    min-width: 110px;
    letter-spacing: 0.05em;
    text-align: center;
}

#voice #voice-content #personal {
    flex-wrap: nowrap;
    padding-top: calc(var(--section-space) * 0.5);
}

#voice #voice-content #personal figure {
    --figure-w: clamp(300px, 50vw, 570px);
    width: var(--figure-w);
    height: auto;
    aspect-ratio: 570 / 507;
}

#voice #voice-content #personal figure div {
    --size: 85%;
    width: var(--size);
    height: auto;
    border-radius: 50rem;
    overflow: hidden;
}

#voice #voice-content #personal figure div img {
    object-position: center;
}

#voice #voice-content #personal figure::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: var(--figure-w);
    height: auto;
    aspect-ratio: inherit;
    background-image: url(../_img/voice/voice-photo-frame.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 10;
}

#voice #voice-content #personal > div {
    flex: 1;
}

#voice #voice-content #personal h3 {
    font-size: 24px;
    width: 100%;
    max-width: 100%;
    margin-top: var(--space-2);
}

#voice #voice-content #personal h3::before,
#voice #voice-content #personal h3::after {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 85px;
    border: 3px solid var(--color-black);
}

#voice #voice-content #personal h3::before {
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(to right, var(--color-pink) 0 50%, transparent 50% 100%);
    margin-right: var(--space-1);
}

#voice #voice-content #personal h3::after {
    border-left: 0;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(to left, var(--color-pink) 0 50%, transparent 50% 100%);
    margin-left: auto;
}

#voice #voice-content #personal h3 + div {
    margin-top: var(--space-5);
}

#voice #voice-content #personal h3 + div > p {
    display: inline-block;
    border: var(--border-base);
    border-bottom: 0;
    padding-inline: 1rem;
    padding-block: 0.5rem 0;
    left: 1.5em;
    background-color: var(--color-gray);
}

#voice #voice-content #personal h3 + div > dl {
    border-block: var(--border-base);
    padding-block: var(--space-3);
    padding-left: var(--space-1);
}

#voice #voice-content #personal h3 + div > dl > div ~ div {
    margin-top: var(--space-1);
}

#voice #voice-content #personal h3 + div > dl.dot dt::before {
    color: var(--color-pink);
}

#voice #voice-content #personal h3 + div > dl dt {
    flex: 0 0 10em;
}

#voice #voice-content header ~ div section {
    padding-top: 0;
}

#voice #voice-content header ~ div section h3 {
    display: inline-block;
    background-color: var(--color-pink);
    border-radius: 0.5em 0.5em 0 0;
    padding: 0.5em;
    font-size: 22px;
}

#voice #voice-content header ~ div section h3 + div {
    background-color: var(--color-gray);
    padding-bottom: var(--space-3);
    border-radius: 0 0 calc(var(--radius) * 3) calc(var(--radius) * 3);
}

#voice #voice-content header ~ div section dl {
    padding-inline: var(--space-2);
}

#voice #voice-content header ~ div section dl::before {
    content: '';
    display: block;
    width: auto;
    height: 20px;
    background-image: url(../_img/voice/voice-line.svg);
    background-repeat: no-repeat;
    background-position: center top;
    position: absolute;
    inset-inline: 0;
    margin: auto;
    top: -2px;
}

#voice #voice-content header ~ div section dl > div {
    padding-block: var(--space-2);
    border-bottom: 5px dotted var(--color-black);
    margin-top: 0;
}

#voice #voice-content header ~ div section dl > div:first-of-type {
    padding-top: var(--space-3);
}

#voice #voice-content header ~ div section dl > div:last-of-type {
    border-bottom: 0;
}

#voice #voice-content header ~ div section dl > div dt,
#voice #voice-content header ~ div section dl > div dd {
    display: inline-block;
    font-size: 14px;
    border: var(--border-base);
    border-width: 2px;
    border-radius: 0.5em;
    background-color: var(--color-white);
    padding-block: 4px 3px;
    padding-inline: var(--space-4) var(--space-1);
    margin-left: var(--space-2);
}

#voice #voice-content header ~ div section dl > div dt span,
#voice #voice-content header ~ div section dl > div dd span {
    display: inline-block;
    width: 55px;
    height: 41px;
    position: absolute;
    left: -1.2em;
    top: -2px;
}

#voice #voice-content header ~ div section dl > div dt span img,
#voice #voice-content header ~ div section dl > div dd span img {
    width: 100%;
    height: 100%;
}

#voice #voice-content header ~ div section dl > div dd {
    margin-top: var(--space-2);
    margin-left: var(--space-3);
}

#voice #voice-content header ~ div section figure {
    width: 90%;
    height: auto;
    aspect-ratio: 490 / 320;
    margin: 0 auto;
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    margin-top: var(--space-3);
}

#voice #voice-content header ~ div section#child h3 {
    background-color: var(--color-pink-middle);
}

#voice #voice-content header ~ div section#staff h3 {
    background-color: var(--color-green-middle);
}

#voice #admission {
    padding-bottom: var(--pad-7);
}

#voice #admission li {
    width: 360px;
}

#voice #admission li::before,
#voice #admission li::after {
    background: url(../_img/location/border-dashed.svg) no-repeat center / contain;
}

#voice #admission li p:not(.bubble) {
    font-size: 14px;
}

@media (max-width: 1200px) {
    #voice #admission ul {
        justify-content: center;
        row-gap: var(--gap-7);
    }
}

@media (max-width: 1100px) {
    #voice .voice-row {
        min-height: 0;
        background-image: none;
        padding-top: 0;
    }

    #voice .voice-row__inner {
        grid-template-columns: repeat(2, 300px);
        grid-auto-rows: calc(382px + var(--pad-6));
        background: url(../_img/voice/voice-bg.svg) repeat-y top center / 900px calc(382px + var(--pad-5)), repeating-linear-gradient(to bottom, var(--color-pink-light) 0 340px, transparent 335px calc(382px + var(--pad-5))) repeat-y top center / 100% calc(402px + var(--pad-5));
    }
}

@media (max-width: 950px) {
    #voice #voice-content #personal {
        flex-direction: column;
    }
}

@media (max-width: 920px) {
    #voice #admission li h4 {
        margin-top: calc(var(--space-1) / 2);
    }

    #voice #admission .bubble {
        top: -40px !important;
    }
}

@media (max-width: 820px) {
    #voice #fv .bubble {
        left: 0;
    }

    #voice #fv .title-group {
        align-items: center;
    }

    #voice #fv .title-group > figure {
        align-self: center;
    }

    #voice #voice-content header {
        flex-direction: column;
    }

    #voice #voice-content > .width-limiter > div.flex {
        flex-direction: column;
    }
}

@media (max-width: 580px) {
    #voice .voice-row__inner {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        padding-inline: 0;
        background-image: none;
    }

    #voice .voice-row__inner > article {
        display: flex;
        justify-content: center;
        min-height: calc(382px + var(--pad-6));
        background: url(../_img/voice/voice-bg.svg) no-repeat top center / 682px 368px, linear-gradient(to bottom, var(--color-pink-light) 0 335px, transparent 335px 100%) no-repeat top center / 100% 368px;
        background-color: var(--color-white);
    }
}

@media (max-width: 520px) {
    #voice #voice-content header > div h2 {
        flex-direction: column;
        gap: var(--gap-1);
        padding: var(--space-1);
        border-radius: calc(var(--radius) * 2);
    }

    #voice #voice-content #personal h3::before {
        margin-right: 0;
    }

    #voice #voice-content #personal h3 + div > dl dt {
        flex-basis: 7em;
    }

    #voice #voice-content header ~ div section dl {
        padding-inline: var(--space-1);
    }
}
