@charset "UTF-8";

/* === 共通・変数イメージ === */
:root {
    --gradient-primary: linear-gradient(90deg, #04bb83 0%, #0388c6 100%);
    --gradient-vertical: linear-gradient(180deg, #04bb83 0%, #0388c6 100%);
    --shadow-soft: 0 0 10px rgba(0, 64, 152, 0.2);
}

/* === インタビュー INDEX (一覧画面) === */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1%;
    padding: 0 0 40px;
    position: relative;
}

.button-group:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.button-group .button {
    padding: 2px 15px;
    font-size: 20px;
    color: var(--main-color);
    background: #ECF4F7;
    cursor: pointer;
    border-radius: 6px;
    border: none;
    transition: .3s;
}

.button-group .button.is-checked {
    color: #FFF;
    background: var(--gradient-vertical);
}

.interview-index {
    position: relative;
    margin: 50px auto;
}

.grid-item {
    box-sizing: border-box;
    width: calc((100% - 4%) / 3);
    margin-bottom: 3%;
    display: flex;
}

.gutter-sizer {
    width: 2%;
}

.interview-index li {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
    position: relative;
}

.interview-index li:after {
    content: "";
    position: absolute;
    right: 7px;
    bottom: 7px;
    width: 16px;
    height: 16px;
    background: url('../img/common_img/button-arrow-blue.svg') no-repeat center/contain;
}

.interview-index li .btn-img img {
    object-fit: cover;
    min-height: 120px;
}

.interview-index li .btn-text {
    padding: 20px 20px 30px;
}

.job-type {
    display: inline-block;
    padding: 6px 16px;
    color: #fff;
    font-size: 12px;
    line-height: 1em;
    font-weight: bold;
    border-radius: 4px;
    min-width: 50px;
    text-align: center;
    margin-bottom: 10px;
}

.type-green {
    background: linear-gradient(90deg, #04bb83 0%, #197937 100%);
}

.type-blue {
    background: linear-gradient(90deg, #0388c6 0%, #1a4e89 100%);
}

.interview-index li .btn-text .name {
    font-family: var(--en-font);
    font-size: 24px;
    font-weight: 500;
    padding-bottom: 10px;
}

.interview-index li .btn-text p:not([class]) {
    font-size: 14px;
    line-height: 1.4em;
    min-height: 2.8em;
}

/* === インタビュー詳細メインビジュアル === */

.interview .main-wrapper {
    padding-top: 0;
}

.interview-main .content-wrap {
    position: relative;
}

.profile-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    padding: 20px 20px 30px;
    position: absolute;
    width: 30%;
    left: 0;
    top: 50%;
    background: #FFF;
    z-index: 3;
}

.profile-card .name {
    font-family: var(--en-font);
    font-size: 24px;
    font-weight: 500;
    padding-bottom: 10px;
}

.profile-card p:not([class]) {
    font-size: 14px;
    line-height: 1.4em;
    padding-bottom: 1em;
}

.interview-main .main-image {
    position: relative;
    width: 100%;
    left: 10%;
}

/* アニメーション共通設定 */
.main-image.eft {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.main-image.eft img {
    opacity: 0;
    filter: blur(20px) brightness(2);
    transform: scale(1.1);
    transition: none;
}

.main-image.eft.eon img {
    animation: luminousReveal 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes luminousReveal {
    0% {
        opacity: 0;
        filter: blur(20px) brightness(3);
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: scale(1);
    }
}



/* === セクション・レイアウト === */
#section1,
#section2,
#section3,
#section4 {
    padding: 80px 0 0;
}

#section2,
#section3 {
    background: #FAFDFD;
}

#section3,
#section4 {
    padding-bottom: 80px;
}

.insert-wrap {
    padding: 80px 0 0;
    position: relative;
    z-index: 2;
}

.insert-wrap:before {
    content: "";
    position: absolute;
    background: #FAFDFD;
    width: 100%;
    height: calc(50% - 40px);
    z-index: -1;
    bottom: 0;
    left: 0;
}

/* 復元: 挿入画像の設定 */
.interview .insert-image01 {
    width: 90%;
    margin: 0 auto;
    max-width: 1160px;
}

.split-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.split-box .text,
.split-box .image {
    width: 48%;
}

#section5 {
    padding: 80px 0;
    margin-bottom: 60px;
    background: var(--gradient-primary);
}

#section5 .split-box .text {
    order: 2;
}

#section5 .split-box .image {
    order: 1;
}

#section5 .split-box .image img {
    border-radius: 16px;
}

#section5 .split-box .text h2 {
    font-size: 18px;
    font-weight: 500;
}

#section5 .split-box .text h2,
#section5 .split-box .text .reveal-text~p {
    color: #FFF;
}

/* === テキスト装飾 === */
.en-center {
    text-align: center;
    color: #004098;
    font-family: var(--en-font);
    font-size: 18px;
    font-weight: 500;
}

.reveal-text {
    line-height: 1.8;
    margin: 20px 0;
}

.reveal-item {
    font-size: 32px;
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    color: transparent;
    overflow: hidden;
    z-index: 1;
}

.reveal-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    transition: width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.reveal-text.eft.eon .reveal-item {
    color: #000;
    transition: color 0.5s 0.4s;
}

.reveal-text.eft.eon .reveal-item::before {
    width: 100%;
}

/* === タイムライン === */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px auto 60px;
}

.timeline-item {
    display: flex;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 64, 152, 0.3);
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.timeline-item.eft.eon {
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item dt {
    flex: 0 0 120px;
    background: var(--gradient-primary);
    color: #FFF;
    font-family: var(--en-font);
    display: flex;
    align-items: center;
    padding-left: 20px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.timeline-item dd {
    flex: 1;
    padding: 15px;
    margin: 0;
}

.timeline-item dd h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.timeline-item dd p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4em;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Media Queries === */
@media screen and (max-width: 1520px) {
    .interview .main-wrapper .content-wrap {
        width: calc(100% - 440px);
    }
}

@media screen and (max-width: 980px) {
    .interview .main-wrapper .content-wrap {
        width: calc(100% - 100px);
    }
}

@media screen and (max-width: 768px) {
    .button-group {
        padding-bottom: 20px;
    }

    .button-group .button {
        font-size: 16px;
    }

    .interview-index {
        margin: 20px auto;
    }

    .gutter-sizer {
        width: 4%;
    }

    .grid-item {
        width: calc((100% - 4%) / 2);
    }

    .interview-index li .btn-img img {
        min-height: 100px;
    }

    .interview-index li .btn-text {
        padding: 10px 10px 20px;
    }

    .interview-index li .job-type {
        padding: 6px 6px;
        letter-spacing: -0.01em;
        font-size: 11px;
    }
    .interview-index li .btn-text .name {
        font-size: 20px;
    }

    .interview .main-wrapper .content-wrap {
        width: 90%;
    }

    .interview-main .content-wrap {
        padding-bottom: 100px;
    }

    .profile-card {
        width: 80%;
        max-width: 250px;
        bottom: 0;
        top: auto;
        padding: 15px 15px 20px;
    }

    .profile-card .name {
        font-size: 18px;
    }

    .interview-main .main-image {
        width: 112%;
        left: -6%;
    }

    .interview-main .main-image img {
        min-height: 300px;
        object-fit: cover;
    }

    #section1,
    #section2,
    #section3,
    #section4,
    .insert-wrap {
        padding-top: 40px;
    }

    #section3,
    #section4 {
        padding-bottom: 40px;
    }

    #section4 .split-box .text,
    #section4 .split-box .image {
        width: 100%;
    }

    #section4 .split-box .image {
        max-width: 340px;
        margin: 0 auto;
        padding-top: 30px;
    }

    #section5 {
        padding: 40px 0;
    }

    #section5 .split-box .text {
        order: 1;
        width: 100%;
        padding-bottom: 30px;
    }

    #section5 .split-box .text h2 {
        font-size: 15px;
    }

    #section5 .split-box .image {
        order: 2;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    #section5 .split-box .image img {
        border-radius: 10px;
    }

    .insert-wrap img {
        border-radius: 10px;
    }

    .reveal-item {
        font-size: 20px;
    }

    .timeline {
        margin-bottom: 40px;
    }

    .timeline-item dt {
        flex-basis: 80px;
        font-size: 12px;
        padding-left: 10px;
    }

    .timeline-item dd h3 {
        font-size: 14px;
    }

    .timeline-item dd p {
        font-size: 13px;
    }
}

@media (hover: hover) {
    .button-group .button:hover {
        background: #d7ecf5;
    }

    .interview-index ul li:hover {
        box-shadow: 0 0 2px rgba(0, 64, 152, 0.4);
    }
}