/* =========================================
   インタビューページ専用スタイル (px版)
   ========================================= */

:root {
    --light-green: #a8da76;
    --bgc-yellow: #f8f5e4;
}

body {
    background-color: var(--bgc-yellow);
}

.page-header {
    background-color: var(--light-green);
    color: #fff;
    text-align: center;
    padding: 60px 0;
    border-radius: 0 0 15px 15px;
    margin-bottom: 40px;
    font-size: 36px;
}

/* プロフィール部分 */

.profile-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: solid 3px #64b511;
    background-color: #fff;
}

.profile-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.profile-info .label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 6px;
    background-color: #64b511;
    color: #fff;
    font-size: 14px;
}

.profile-info .name {
    font-size: 32px;
}

.profile-info .division {
    font-size: 14px;
}


/* 質問（Q）のアイコン */
.question-box .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--light-green);
    font-size: 18px;
    background-color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 質問（Q）のアイコン(アコーディオン) */
.accordion-header .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-green);
    font-size: 18px;
    color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 回答（A）のアイコン */
.answer-box .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-green);
    font-size: 18px;
    color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
}

.interview-item,
.accordion-item {
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: hidden;
    background-color: #fff;
}

/* ボックススタイル */
.question-box {
    background-color: var(--light-green);
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: normal;
}

.question-box h3 {
    font-size: 18px;
    color: #fff;
}

/* アコーディオンver. */
.accordion-header {
    background-color: var(--bgc-yellow);
    padding: 15px 20px;
    /* border-radius: 10px 10px 0 0; */
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: normal;
    color: #231815;
}

.accordion-header h3 {
    font-size: 18px;
}

.answer-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    font-size: 14px;
}

/* 画像ギャラリー */
.gallery-wrapper {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-wrapper img {
    width: calc(50% - 10px);
}

.gallery-caption {
    text-align: center;
    font-size: 14px;
    margin-bottom: 50px;
}

.details-section {
    background-color: #fff;
    padding: 50px 0;
}

.details-section .sub-title {
    font-size: 32px;
    text-align: center;
    color: #64b511;
    margin-bottom: 40px;
}

/* --- JSで制御するため初期状態は非表示 --- */
.accordion-content {
    display: none;
    overflow: hidden;
}

/* --- 開閉時のスタイル変更（クラス .is-open で制御） --- */

/* ヘッダーの背景色と文字色 */
.accordion-header.is-open {
    color: #fff;
    background-color: var(--light-green);
}

/* Qアイコンの色反転 */
.accordion-header.is-open .icon {
    color: var(--light-green);
    background-color: #fff;
}

/* 矢印（プラス・マイナス） */
.arrow-icon {
    width: 20px;
    height: 20px;
    margin-left: auto;
    position: relative;

}

.arrow-icon::before,
.arrow-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    background-color: var(--light-green);
}

.arrow-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.arrow-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* 矢印（マイナスにする） */
.accordion-header.is-open .arrow-icon::before {
    background-color: #fff;
}

.accordion-header.is-open .arrow-icon::after {
    display: none;
}



/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

    .page-header {
        font-size: 28px;
    }

    /* プロフィール部分 */

    .profile-wrapper {
        gap: 20px;
        margin-bottom: 30px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    /* ボックススタイル */
    .question-box {
        padding: 10px 20px;
    }

    .question-box h3 {
        font-size: 14px;
    }

    /* アコーディオンver. */
    .accordion-header {
        padding: 10px 20px;
    }

    .accordion-header h3 {
        font-size: 14px;
    }

    .answer-box {
        padding: 15px;
    }

    .gallery-wrapper {
        flex-direction: column;
    }

    .gallery-wrapper img {
        width: 100%;
    }
}