/**
 * 社員インタビュースタイル
 */

/* ---------- 共通スタイル ---------- */
.line-gradation {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #1992cb 0%, #662d91 100%) !important;
    margin: 2rem auto;
}


/* ---------- 一覧ページ ---------- */
.interview-archive-container {
    padding: 4rem 0 0;
}

/* ヘッダー部分 */
.archive-header {
    margin-top: 10rem;
    margin-bottom: 6rem;
    text-align: left;
}

.archive-title {
    font-size: clamp(2rem, 1.76rem + 1.2vw, 3.2rem);
    margin: 2rem 0;
    font-weight: 600;
    ;
    line-height: 1.7;
    color: #000 !important;
}

.archive-description {
    margin-bottom: 4rem;
    margin-top: 4rem;
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    line-height: 2;
    max-width: 80rem;
    color: #000 !important;
}

/* 部署フィルター */
.department-filter {
    margin-bottom: 4rem;
}

.department-filter-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.department-filter-list li {
    margin: 0 0.5rem 1rem;
}

.department-filter-list a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #333;
    background: #f5f5f5;
    border-radius: 30px;
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    transition: all 0.3s ease;
}

.department-filter-list .active a {
    background: #1992cb;
    color: #fff;
    font-weight: 600;
    ;
}

.department-filter-list a:hover {
    background: #e0e0e0;
}

.department-filter-list .active a:hover {
    background: #1992cb;
}

.interview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem 10rem;
    margin-bottom: 6rem;
}

/* インタビューカード */
.interview-card {
    position: relative;
    margin: auto;
    transition: transform 0.3s ease;
    width: 100%;
}

.interview-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.interview-card-link:hover {
    opacity: 1;
}

.no-thumbnail {
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
}

/* カード情報 */
.interview-card-info {
    margin-top: 1.5rem;
    font-size: clamp(1.2rem, 1.111rem + 0.44vw, 1.5rem)
}

.interview-department {
    margin-bottom: 1.5rem;
}

.employee-unit {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    font-weight: 600;
    ;
}

/* 「インタビューがない」メッセージ */
.no-interviews-found {
    text-align: center;
    padding: 4rem 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
}

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 4rem;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin: 0 0.3rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
}

.pagination .current {
    background: #1992cb;
    color: #fff;
    border-color: #1992cb;
}

.pagination a:hover {
    background: #f5f5f5;
}

/* ---------- 詳細ページ ---------- */

/* メインビジュアル */
.interview-featured-hero {
    position: relative;
    margin-top: -5rem;
    width: 100%;
    background-color: #f5f5f5;
}

.interview-featured-image {
    min-height: 80rem;
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    margin-top: -5rem;
    background-size: cover;
    background-position: center;
    min-height: 80rem;
    filter: grayscale(20%) brightness(80%);
}

.interview-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* プロフィール情報 */
.employee-profile {
    position: absolute;
    bottom: 20rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 2rem 4rem;
    color: #fff;
    z-index: 2;
}

.employee-profile .employee-name {
    margin-top: 3rem;
    font-size: clamp(1.2rem, 0.64rem + 2.8vw, 4rem);
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 600;
    position: relative;
}

.employee-profile .employee-name::before {
    content: "";
    position: absolute;
    top: -3rem;
    left: 0;
    background: linear-gradient(90deg, #1992cb 0%, #662d91 100%);
    width: 7rem;
    height: 0.5rem;
}

.employee-profile .employee-position {
    font-size: clamp(1.5rem, 1.44rem + 0.3vw, 1.8rem);
    margin-bottom: 0.5rem;
    color: #fff;
}

.employee-joining-year {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    margin-bottom: 0.5rem;
}

.employee-why-joined {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.employee-department-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
}

.employee-department,
.employee-unit {
    font-size: clamp(1rem, 0.94rem + 0.3vw, 1.3rem);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
}

.employee-unit {
    color: #fff;
}

.employee-profile .employee-department {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    color: #fff;
    margin-bottom: 0;
}

.employee-department-separator {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    padding-top: 0.2rem;
}

/* メインコンテンツエリア */
.member-interview-container {
    padding-top: 10rem;
}

.member-interview-main {
    position: relative;
    margin-top: -10rem;
    background-color: #f5f5f5;
    padding-bottom: 5rem;
}

.employee-info-section {
    background-color: #fff;
    padding: 3rem 3.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -5rem;
    z-index: 3;
    width: 100%;
}

.employee-info-item {
    display: flex;
    margin-bottom: 1rem;
    margin-top: 1rem;
    align-items: flex-start;
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    line-height: 1.6;
}

.employee-info-label {
    flex: 0 0 15rem;
    font-weight: 600;
    ;
}

.employee-info-value {
    flex: 1;
}



/* インタビューコンテンツ */
.interview-content-section {
    background-color: #fff;
    padding: 5rem 6rem;
    margin-top: 5rem;
    border-radius: 0.5rem;
}

.interview-header {
    margin-bottom: 4rem;
    text-align: center;
}

.interview-summary {
    font-size: clamp(1.5rem, 1.44rem + 0.3vw, 1.8rem);
    line-height: 1.8;
    max-width: 80rem;
    margin: 0 auto 4rem;
}

.interview-content {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    line-height: 1.8;
    margin-bottom: 4rem;
}

/* Work/Missionセクション */
.interview-work-section,
.interview-mission-section {
    margin-bottom: 5rem;
    border-bottom: #f5f5f5 solid 1px;
    padding-bottom: 4rem;
}

.interview-content-section .gradation-border {
    width: 6%;
}

.work-title,
.mission-title {
    font-size: clamp(1.4rem, 1.24rem + 0.8vw, 2.2rem);
    line-height: 2;
    margin-bottom: 3rem;
    text-align: left;
    font-weight: 600;
    ;
    color: #000 !important;
}

.work-content-wrap,
.mission-content-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3rem;
}

.work-image,
.mission-image {
    flex: 0 0 45%;
}

.work-image img,
.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.work-content,
.mission-content {
    flex: 1 1 45%;
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    line-height: 2;
    align-self: flex-start;
}

/* Q&Aセクション */
.interview-qa-section {
    margin-bottom: 5rem;
}

.interview-qa-title {
    font-size: clamp(1.7rem, 1.552rem + 0.74vw, 2.2rem);
    margin-bottom: 2.5rem;
    margin-top: 3.5rem;
    text-align: left;
    font-weight: 600;
    ;
}

.interview-qa-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
    margin-top: 4rem;
}

.interview-qa-item {
    flex: 0 0 calc(50% - 3.5rem);
    padding-bottom: 4rem;
    border-bottom: 1px solid #e0e0e0;
}

.interview-question {
    margin-bottom: 2rem;
}

.interview-question h3 {
    font-size: clamp(1.4rem, 1.2rem + 1vw, 2.4rem);
    line-height: 2;
}

.interview-answer {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    line-height: 2;
}

.answer-content {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    line-height: 1.7;
}

.q-icon,
.a-icon {
    display: none;
}

/* タイムスケジュールセクション */
.interview-schedule-title {
    font-size: clamp(1.7rem, 1.552rem + 0.74vw, 2.2rem);
    margin-bottom: 2.5rem;
    margin-top: 3.5rem;
    text-align: left;
    font-weight: 600;
    ;
}

.interview-schedule {
    margin-top: 5rem;
}

.interview-schedule-section {
    margin: 5rem 0;
    padding: 3rem;
    border-radius: 8px;
}

.time-schedule {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.time-schedule-column {
    flex: 0 0 50%;
    padding-right: 2rem;
    position: relative;
}

.time-schedule-column::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7.5rem;
    width: 1px;
    background-color: #e0e0e0;
    z-index: 0;
}

.time-slot {
    display: flex;
    position: relative;
    padding-bottom: 2rem;
    align-items: flex-start;
}

.time-slot:last-child {
    margin-bottom: 0;
}

.time-label {
    flex: 0 0 8rem;
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    color: #333;
    position: relative;
    text-align: right;
    padding-right: 2rem;
    line-height: 1.6;
}

.time-label::after {
    content: '';
    position: absolute;
    top: 0.7rem;
    right: 0.01rem;
    width: 0.8rem;
    height: 0.8rem;
    background-color: #000;
    border-radius: 50%;
    z-index: 2;
}

.time-content {
    flex: 1;
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    line-height: 1.6;
    white-space: pre-line;
    padding-left: 2rem;
}

/* メッセージセクション */
.interview-message-section {
    margin: 5rem 0;
    padding: 4rem;
    background: #f9f9f9;
    border-radius: 8px;
    position: relative;
}

.message-title {
    font-size: clamp(1.7rem, 1.552rem + 0.74vw, 2.2rem);
    margin-bottom: 2rem;
    text-align: center;
}

.message-content {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    line-height: 1.8;
}

/* プロフィールセクション */
.employee-profile-section {
    margin-bottom: 5rem;
    padding: 3rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.profile-title {
    font-size: clamp(1.7rem, 1.552rem + 0.74vw, 2.2rem);
    margin-bottom: 2rem;
}

.profile-content {
    font-size: clamp(1.2rem, 1.111rem + 0.44vw, 1.5rem) line-height: 1.8;
}

/* 関連インタビュー */
.related-interviews {
    margin-bottom: 5rem;
}

.related-title {
    font-size: clamp(1.7rem, 1.552rem + 0.74vw, 2.2rem);
    margin-bottom: 2.5rem;
    text-align: center;
}

.related-interviews-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-interview-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-interview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.related-interview-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-interview-thumbnail {
    height: 18rem;
    overflow: hidden;
    position: relative;
}

.related-interview-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: background-color 0.3s;
}

.related-interview-item:hover .related-interview-thumbnail::after {
    background-color: rgba(0, 0, 0, 0.1);
}

.related-interview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-interview-item:hover .related-interview-thumbnail img {
    transform: scale(1.05);
}

.related-interview-content {
    padding: 1.5rem;
}

.related-interview-content .employee-name {
    font-size: clamp(1.4rem, 1.36rem + 0.2vw, 1.6rem);
    margin-bottom: 0.5rem;
}

.related-interview-content .employee-position {
    font-size: clamp(1rem, 0.94rem + 0.3vw, 1.3rem);
}

/* 一覧に戻るボタン */
.interview-back-button {
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.entry-section {
    text-align: center;
    background-color: #000;
    padding: 5rem 0;
}

.back-link a {
    color: #808080;
}

.back-link::before {
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
}

/* PC */
@media (max-width: 1440px) {}

@media (max-width: 1280px) {
    .interview-grid {
        gap: 5rem 8rem;
    }
}

@media (max-width: 1024px) {}

/* Tablet */
@media (max-width: 768px) {
    .interview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-content-wrap,
    .mission-content-wrap {
        flex-direction: column;
    }

    .work-image,
    .mission-image {
        flex: 0 0 100%;
        max-width: 60rem;
        margin: 0 auto;
    }

    .work-content-wrap,
    .mission-content-wrap {
        flex-direction: column-reverse;
    }

    .employee-profile {
        padding: 0;
        bottom: 18rem;
    }

    .interview-qa-item {
        flex: 0 0 100%;
    }

    .interview-message-section {
        padding: 2.5rem;
    }

    .related-interviews-list {
        grid-template-columns: 1fr;
    }

    .time-schedule {
        flex-direction: column;
    }

    .time-schedule-column {
        flex: 0 0 100%;
        padding-right: 0;
    }

    .time-schedule-column::before {
        left: 7.5rem;
    }

    .time-slot {
        width: 100%;
        padding-right: 0;
    }

    .time-label {
        flex: 0 0 8rem;
    }

    .work-image,
    .mission-image {
        width: 100%;
    }

    .work-content,
    .mission-content {
        width: 100%;
    }

    .employee-info-section {
        padding: 2.5rem 2rem;
    }

    .employee-info-label {
        margin-bottom: 0.5rem;
        flex: 0 0 12rem;
    }

    .interview-question h3 {
        line-height: 1.6;
    }

    .member-interview-container {
        padding-top: 13rem;
    }

    .work-title,
    .mission-title {
        line-height: 1.6;
    }

    .interview-featured-image {
        overflow: hidden;
        position: relative;
        background-repeat: no-repeat;
        margin-top: -5rem;
        filter: grayscale(20%) brightness(80%);
        background-position: 45% 0%;
        min-height: 63rem;
        background-size: 245%;
        padding: 0;
    }

    .interview-featured-image {
        min-height: 70rem;
    }

    .interview-content-section {
        padding: 5rem 6rem 1rem 5rem;
    }
}

/* Smartphone */
@media (max-width: 480px) {
    .member-interview-main {
        margin-top: -16rem;
        padding-top: 3rem;
    }

    .interview-featured-image {
        min-height: 55rem;
        background-size: 300%;
    }

    .department-filter-list {
        flex-direction: column;
        align-items: center;
    }

    .department-filter-list li {
        margin-bottom: 0.8rem;
        width: 80%;
    }

    .department-filter-list a {
        display: block;
        text-align: center;
    }

    .interview-content-section {
        padding: 2rem;
    }

    .interview-content-section .gradation-border {
        width: 15%;
    }

    .interview-qa-list {
        gap: 4rem;
    }

    .interview-schedule-section {
        padding: 0rem;
    }

    .employee-info-section {
        padding: 2rem 1.5rem;
    }

    .employee-info-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .employee-info-label {
        flex: none !important;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .interview-grid {
        gap: 2rem;
    }

    .employee-profile .employee-name::before {
        top: -2rem;
        width: 5rem;
    }

    .member-interview-container {
        padding-top: 17rem;
    }

    .employee-profile .employee-name {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }

    .employee-profile {
        bottom: 20rem;
    }

    .employee-department-info {
        margin-bottom: 0;
    }

}