/*================================================
  recruit
================================================*/

.page-mainvisual {
    background-image: url(../../image/recruit/page-mainvisual.jpg);
}

.page-lead-wrapper {
    background-color: rgba(var(--color-bg-primary-second-rgb), 0.45);
}

.page-lead-content {
    max-width: 1000px;
    padding-block: calc(var(--layout-gap) * 1.2);
}

.page-lead-title {
    text-align: left;
    display: block;
}

.page-mainvisual {
    margin-bottom: 0;
}

.content-title {
    max-width: 560px;
}

@media print,
screen and (min-width: 769px) {
    .page-mainvisual {
        margin-bottom: 0;
    }

    .page-lead-content {
        padding-block: calc(var(--layout-gap) * 2.4);
    }
    .page-lead-title {
        font-size: clamp(1.6rem, 0.7983rem + 1.6681vw, 2.8rem);
    }
}
@media print,
screen and (min-width: 1200px) {
    .page-lead-title {
        font-size: 2.9rem;
    }
}


/*================================================
  recruit-list
================================================*/
.recruit {
    padding-bottom: var(--layout-gap);
}

.recruit-list {
    padding-top: calc(var(--layout-gap));
}

.recruit-term {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.7;
}

.recruit-desc {
    font-size: 1.4rem;
    /* margin-bottom: calc(var(--layout-gap) / 2); */
    letter-spacing: 0.03em;
    /* line-height: 1.7; */
    line-height: 2;
    margin-top: 0.25em;
}

.recruit-desc + .recruit-term {
    margin-top: 1.5em
}

@media print,screen and (min-width: 769px) {
    .recruit-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .recruit-term {
        width: 78px;
        text-align: justify;
        text-align-last: justify;
        white-space: nowrap;
    }

    .recruit-desc {
        width: calc(100% - 110px);
        margin-top: 0;
        margin-bottom: 2em;
    }

    .recruit-term:nth-of-type(2),
    .recruit-term:nth-of-type(7),
    .recruit-term:nth-of-type(8),
    .recruit-term:nth-of-type(9) {
        /* width: 100%; */
        margin-right: auto;
    }

    .recruit-desc:nth-of-type(2),
    .recruit-desc:nth-of-type(7),
    .recruit-desc:nth-of-type(8),
    .recruit-desc:nth-of-type(9) {
        width: 100%;
    }
    .recruit-desc + .recruit-term {
        margin-top: 0;
    }
}

@media print,
screen and (min-width: 1200px) {
    .recruit-term {
        font-size: 1.9rem;
    }

    .recruit-desc {
        font-size: 1.6rem;
    }
}

/*================================================
  voice
================================================*/

.voice {
    background-color: rgba(var(--color-bg-primary-second-rgb), 0.45);
    padding-block: var(--layout-gap);
}

.voice-list {
    margin-top: var(--layout-gap);
}

.voice-item:not(:last-child) {
    margin-bottom:calc(var(--layout-gap) * 2.5);
}

.voice-img {
    /* margin-bottom: calc(var(--layout-gap) / 3); */
    margin-bottom: calc(var(--layout-gap) / 2);
    text-align: center;
}

.voice-img img {
    max-width: 200px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
}

.post {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    font-weight: bold;
    line-height: 2.4;
    display: block;
}

.name {
    font-size: 2.4rem;
    letter-spacing: 0.1em;
    font-weight: bold;
    line-height: 1.3;
}

.voice-text-lead {
    color: var(--color-page-lead);
    font-weight: 600;
    /* font-size: 2.4rem; */
    font-size: clamp(2rem, 1.84rem + 0.8vw, 2.8rem);
    letter-spacing: 0.015em;
    line-height: 1.75;
    margin-bottom: calc(var(--layout-gap) / 2);
}

.voice-text p {
    /* font-size: 1.6rem; */
    letter-spacing: 0.02em;
}

@media print,
screen and (min-width: 769px) {

    .voice-list {
        margin-top: calc(var(--layout-gap) * 2);
    }

    .voice-item {
        margin-top: calc(var(--layout-gap) * 2);
        display: flex;
    }

    .voice-item:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    .voice-img {
        /* width: 35%; */
        width: 30%;
        max-width: 356px;
        margin-right: calc(var(--layout-gap) * 1.5);
    }

    .voice-item:nth-of-type(even) .voice-img {
        margin-left: calc(var(--layout-gap) * 1.5);
        margin-right: 0;
    }
    .voice-text-lead {
        font-size: clamp(1.8rem, 1.1319rem + 1.3901vw, 2.8rem);
    }
    .voice-text {
        width: 65%;
                max-width: 734px;
    }

    .voice-img img {
        max-width: 356px;
    }
/*
    .post {
        font-size: 1.7rem;
    }

    .name {
        font-size: 3.2rem;
    } */
    .history {
        display: block;
    }
}

@media print,
screen and (min-width: 1200px) {
    .voice {
        padding-block: calc(var(--layout-gap) * 2);
    }

    .post {
        font-size: 1.7rem;
    }

    .name {
        font-size: 3.2rem;
    }
    .history {
        display: inline-block;
    }
}
