/**
 * 先輩社員インタビューページ専用スタイル
 * page-interview.php で使用
 */

/* インタビューヒーローセクション */
.interview-hero-section {
    margin-top: 13.020833333333334vw;
}

.interview-hero-title {
    font-size: 2.083333333333333vw;
    color: #625C8A;
    text-align: center;
}

/* インタビューリストセクション */
.interview-list-section {
    width: 72.8640625vw;
    margin: 0 auto;
    margin-top: 6.25vw;
}

.interview-title-wrap {
    width: 72.8640625vw;
    margin: 0 auto;
    display: flex;
    justify-content: end;
}

.interview-title {
    width: 31.041666666666668vw;
    padding: 1.6666666666666667vw 4.192708333333333vw 1.1979166666666667vw;
    border-radius: 1.9791666666666665vw 1.9791666666666665vw 0 0;
    background-color: var(--color-white);
    color: #625C8A;
    font-size: max(2.083333333333333vw, 1rem);
    font-weight: normal;
    text-align: center;
}

.interview-list {
    display: flex;
    flex-direction: column;
    gap: 6.25vw;
}

.interview-body {
    display: flex;
    align-items: center;
    gap: 5.989583333333334vw;
    width: 72.8640625vw;
    margin: 0 auto;
    padding: 3.5vw 7.187499999999999vw;
    border-radius: 1.9791666666666665vw;
    border-top-right-radius: 0;
    background-color: var(--color-white);
}

.interview-text {
    font-size: max(0.9375vw, 1rem);
    flex: 1;
}

.interview-profile {
    display: flex;
    flex-direction: column;
    gap: 2.083333333333333vw;
    width: 18.541666666666668vw;
    text-align: center;
}

.interview-img  {
    width: 100%;
}

.interview-position {
    font-size: max(1.25vw, 1rem);
    color: #625C8A;
}

/* sp */
@media screen and (max-width: 768px) {
    /* インタビューヒーローセクション */
    .interview-hero-section {
        margin-top: 88px;
    }

    .interview-hero-title {
        font-size: 24px;
    }

    /* インタビューリストセクション */
    .interview-list-section {
        width: 86%;
        margin-top: 30px;
    }

    .interview-title-wrap {
        width: 100%;
    }

    .interview-title {
        width: 177px;
        padding: 9px 18px;
        border-radius: 16px 16px 0 0;
        font-size: 14px;
    }

    .interview-list {
        display: flex;
        flex-direction: column;
        gap: 6.25vw;
    }

    .interview-body {
        gap: 30px;
        width: 100%;
        margin: 0 auto;
        padding: 40px 20px;
        border-radius: 16px;
        border-top-right-radius: 0;
        flex-direction: column-reverse;
    }

    .interview-text {
        width: 100%;
        font-size: 12px;
    }

    .interview-profile {
        width: 90%;
        margin: 0 auto;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: center;
        gap: 32px;
    }

    .interview-img-wrap {
        width: 110px;
    }

    .interview-img  {
        width: 100%;
    }

    .interview-position {
        font-size: 10px;
    }
}
