:root {
    --main-color: #00D700;
    --gray: #BAC9CD;
    --text-color: #333;
    --white: #FFF;
}

.main {
    padding: 8rem 0;
    max-width: 1200px;
    width: calc(100% - 2rem);
    margin: auto;
}

.page-title {
    align-items: center;
    display: flex;
    color: var(--main-color);
    flex: 1;
    gap: 1rem;
    font-size: 2rem;
    margin: 0 0 2.5rem;
}

.page-title::before, .page-title::after {
    background: var(--main-color);
    content: "";
    display: inline-flex;
    height: 2px;
}

.page-title::before {
    width: 1.5rem;
}

.page-title::after {
    flex: 2;
}

.category-title {
    align-items: center;
    display: flex;
    color: var(--main-color);
    font-size: 2.5rem;
    margin: 0 0 2.5rem;
    text-align: center;
    gap: 1rem;
    justify-content: center;
}

.category-title::before, .category-title::after {
    background: var(--main-color);
    content: "";
    display: inline-flex;
    height: 2px;
    flex: 1;
}

.profile {
    display: flex;
    gap: 3rem;
    margin: 0 0 2rem;
}

.profile-photo {
    width: 400px;
    height: 400px;
}

.profile-photo img {
    width: 100%;
    height: 100%;
}

.profile-text {
    text-align: left;
}

.profile-group {
    display: flex;
    gap: 2rem;
    margin: 0;
    align-items: center;
}

.profile-name {
    font-size: 1.5rem;
    margin: 0;
}

.sns-list {
    margin: 0;
    padding: 0;
    display: flex;
    gap: .75em;
}

.sns-item {
    padding: 0;
    color: var(--text-color);
    line-height: 1;
}

.sns-item img {
    width: 24px;
    height: 24px;
}

.profile-name-english {
    color: var(--gray);
    font-weight: normal;
    margin: .5rem 0 0;
    line-height: 1;
}

.table {
    margin: 1.5rem 0 0;
}

.table tr > * {
    padding: .75rem 1.5rem .75rem 0;
}

.table td {
    color: var(--text-color);
}

.voice {
    color: var(--text-color);
}

.voice audio {
    display: none;
}

.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: .5rem 0 0;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.audio-play-btn {
    background: var(--main-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-shrink: 0;
}

.audio-play-btn:hover {
    background: #00b800;
}

.audio-play-btn svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.audio-time {
    font-size: 0.9rem;
    color: var(--text-color);
    min-width: 80px;
}

.audio-volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-volume-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-color);
}

.audio-volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 2px;
    outline: none;
}

.audio-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--main-color);
    cursor: pointer;
}

.audio-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--main-color);
    cursor: pointer;
    border: none;
}

@media screen and (max-width: 767px) {
    .custom-audio-player {
        flex-wrap: wrap;
    }

    .audio-controls {
        width: 100%;
    }

    .audio-volume-control {
        width: 100%;
        justify-content: flex-end;
    }
}

.career {
    margin: 3rem 0 0;
}

.career-group + * {
    margin: 2rem 0 0;
}

.career-title {
    background: var(--main-color);
    color: var(--white);
    width: fit-content;
    padding: .25rem .5rem;
}

.career-list {
    margin: 0;
    list-style: disc;
    line-height: 2;
}

.career-item {
    color: var(--text-color);
    padding: 0;
    font-weight: normal;
}

@media screen and (max-width: 1023px) {
    .profile-photo img {
        object-fit: cover;
    }

    .table th {
        white-space: nowrap;
    }
}

@media screen and (max-width: 767px) {
    .page-title {
        line-height: 1.5;
    }

    .category-title {
        font-size: 2rem;
        line-height: 1.5;
    }

    .profile {
        flex-direction: column;
        gap: 1rem;
    }

    .profile-photo {
        width: 100%;
        height: fit-content;
    }

    .profile-photo picture,
    .profile-photo source {
        height: 100%;
    }

    .profile-photo img {
        object-fit: contain;
    }
}

@media screen and (max-width: 425px) {
    .main {
        padding: 3rem 0;
    }

    .profile-name {
        font-size: 2rem;
    }
}