/* 基本設定と変数 */
:root {
    --fm-green: #00a33e;
    --fm-blue: #008cd6;
    --fm-dark: #333333;
    --fm-light: #F7F7F7;
    --white: #ffffff;
    --text-gray: #4b5563;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --space-section: clamp(64px, 10vw, 120px);
    --space-container: clamp(16px, 5vw, 24px);
}

.container, .container-narrow {
    /* width: 100%; */
    margin: 0 auto;
    padding: 0 var(--space-container);
    box-sizing: border-box;
}

.container { max-width: 1240px; }
.container-narrow { max-width: 940px; }

.section-title {
    font-weight: bold;
    color: var(--fm-dark);
    font-size: clamp(17px, 3.5vw, 1.875rem) !important;
}

/* ヒーローセクション */
.interview-hero {
    position: relative;
    min-height: 600px;
    height: 60vh; /* 画面高に合わせる */
    max-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background-image: url('../image/interview1-1.AVIF');
    background-size: cover;
    background-position: top;
    /* transform: translateY(80px); */
}

.hero-image-bg.hero-image-bg-2 {
    background-image: url('../image/interview2-top.AVIF');
}
.hero-image-bg.hero-image-bg-3 {
    background-image: url('../image/interview3-top.AVIF');
}
.hero-image-bg.hero-image-bg-4 {
    background-image: url('../image/interview4-top.AVIF');
}



/* .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.4) 100%);
} */

.hero-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
}

.hero-label-top{
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: block;
    position: absolute;
    padding: 0.5rem 1.5rem;
    top: 180px;
    left: 50px;
}

.hero-label-top p{
    font-size: clamp(24px,2.0vw,2.2rem);
    margin: 0.5rem 0;
    padding: 0;
    font-weight: 700;
}

.hero-label-top h2{
    font-size: clamp(35px,3.6vw,3.4rem);
    margin: 1rem 0;
    padding: 0;
}

.hero-label-career{
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    width: 100%;
    display: block;
    padding: 0.5rem 1.5rem;
}

.hero-label-career p{
    margin: 0 0 1rem;
    padding: 1rem 0;
}

.career-list{
    padding: 0;
    position: relative;
}

.career-list::before{
    position: absolute;
    content: "";
    width: 42%;
    height: 100%;
    left: 0;
    top: 0;
    border-right: 2px dotted var(--fm-dark);
}

.career-list li{
    list-style: none;
    width: 100%;
    display: flex;
}

.career-list1{
    width: 15%;
    min-width: 55px;
    text-align: left;
    padding: 3% 1%;
}

.career-list2{
    width: 15%;
    min-width: 40px;
    text-align: right;
    padding: 3% 1%;
}

.career-list3{
    width: 15%;
}

.career-list4{
    width: 55%;
    padding: 3% 1%;
}

@media(max-width:1000px) and (min-width:500px){
    .hero-label-top{
        top: 130px;
    }
    .hero-label-career{
        padding: 0.5rem 1.0rem;
    }
    .career-list1{
        padding: 2% 0.5%;
    }
    .career-list2{
        padding: 2% 0.5%;
    }
    .career-list3{
        width: 10%;
    }
    .career-list4{
        padding: 2% 0.5%;
        width: 60%;
    }
    .career-list::before{
        width: 37.5%;
    }
}

@media(max-width:499px){

    .hero-label-top{
        left: 10px;
    }

    .hero-label-top p{
        font-size: 20px;
    }

    .hero-label-career{
        font-size: 14px;
    }


    .hero-label-career{
        width: auto;
        padding: 0.8rem 0.5rem;
    }

    .hero-label-career p{
        margin: 0;
        padding: 0 0 0.5rem;
    }

    .career-list{
        margin: 0;
    }

    .career-list1{
        padding: 1.5% 1%;
    }

    .career-list2{
        padding: 1.5% 1%;
    }

    .career-list3{
        padding: 1.5% 1%;
    }

    .career-list4{
        padding: 1.5% 1%;
    }

}

/* .hero-content2::after, .hero-content2::before, .hero-content::after, .hero-content::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    z-index: 2;
    pointer-events: none;
} */

/* .container.hero-content::before{
    top: 0;
    right: -1%;
    background-color: var(--fm-green);
    transform: rotate(12deg);
} */

/* .container.hero-content::after{
    top: 0;
    right: -19%;
    background-color: var(--fm-blue);
    transform: rotate(25deg);
} */

/* .hero-content2::after {
    bottom: 8px;
    left: -50px;
    background-color: var(--fm-blue);
    transform: rotate(25deg);
} */

/* .hero-content2::before {
    bottom: 16px;
    left: -42px;
    background-color: var(--fm-green);
    transform: rotate(10deg);
} */

.label-en-cont{
    /* margin-top: 20px; */
}

.label-en {
    /* color: #000;
    font-weight: bold;
    letter-spacing: 0.15em;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    background-color: var(--fm-blue);
    padding: 20px 5px 0; */
}

/* .page-title {
    画面幅に応じて40px〜56pxに変化
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    padding: 10px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 24px;
    color: #000;
    background-color: var(--fm-blue);
    margin-bottom: 0;
}
.page-title span{
    font-size: 12px;
    font-weight: 400;
} */

.hero-lead {
    /* padding: 5px 10px;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    word-break: keep-all; /* 変な位置での改行を防ぐ */
    /* font-weight: bold;
    color: #000;
    background-color: var(--fm-blue);
    margin-top: 0; */ 
}

.text-blue {
    color: var(--fm-green);
}

.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    /* z-index: 999; */
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 40px;
    fill: var(--white);
}
/* main */
.interview-page{
    padding: 0 clamp(2rem, 6vw, 6.5rem) clamp(5rem, 12vw, 12rem);
}

/* 「インタビュータイトル」セクション */
.interview-main-title{
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: clamp(1rem, 5vw, 5rem) 0 clamp(1rem, 9vw, 10rem);
}
.interview-main-title h1{
    font-size: clamp(0.8rem, 4vw, 2rem);
}


/* 「Q&Aセクション」L */
.interview-section-Q1{
    margin: clamp(1rem, 6vw, 5rem) 0;
    padding-bottom: 1vw;
    width: 100%;
    min-height: 350px;
    height: 100%;
}
.interview-section-Q2,.interview-section-Q3,.interview-section-Q4,.interview-section-Q5,.interview-section-Q6{
    margin: 5rem 0;
    padding-bottom: 1rem;
    width: 100%;
    height: 100%;
}

.interview-container-L{
    display: flex;
    justify-content: start;
    position: relative;
    max-width: 1450px;
    margin: 0 auto;
}
.interview-container-R{
    display: flex;
    justify-content: end;
    position: relative;
    max-width: 1450px;
    margin: 0 auto;
}
.interview-image{
    max-width: 800px;
    /* position: absolute; */

}
.interview-image img{
    max-width: clamp(300px,35.5vw,600px);
    max-height: 800px;
    
}
.interview-container-L .interview-qa{
    /* right: 0; */
    background-color: var(--white);
    /* margin: 0px 10% 0 40%; */
    right: 10%;
    transform: translateY(-50px);
    max-width: 850px;
    padding: 2rem 1rem 2rem;
    color: #000;
    height: 100%;
    z-index: 2;
}
.interview-container-R .interview-qa{
    /* right: 0; */
    width: 60%;
    /* margin: 0 40% 0 10%; */
    background-color: var(--white);
    transform: translateY(-50px);
    max-width: 850px;
    padding: 2rem 1rem 3rem;
    color: #000;
    height: 100%;
    z-index: 0;
}
.interview-container-R .interview-image img{
    position: relative;
    z-index: 10;
}

.interview-question{
    display: flex;
}
.interview-question h4{
    background-color: var(--white);
    font-size: clamp(16px, 2vw, 20px);
    color: var(--fm-green);
    margin: 0;
    padding-left: 1em;  
    text-indent: -1em;
    font-weight: 400;
    padding: 0 1.6rem;
}
.interview-question h4::before{
    content: "Q.";
}
.interview-answer p{
    line-height: 2;
    font-size: clamp(14px, 1.5vw, 16px);
    padding: 20px;
    background-color: var(--fm-light);
}

@media (max-width:839px){
    .interview-page {
        padding: 0 clamp(0.8rem, 3vw, 2rem) clamp(5rem, 12vw, 5rem);
    }

    .interview-container-R,.interview-container-L {
        display: grid;
        justify-content: center;
    }
    .interview-container-R .interview-image,.interview-container-L .interview-image{
        order: 0;
        text-align: center;
        max-height: clamp(300px, 60vw, 600px);;
    }
    .interview-container-R .interview-image img,.interview-container-L .interview-image img {
        max-width: 100%;
        max-height: 100%;
        object-position: top;
        object-fit: cover;
        width: 100%;
        z-index: 0;
    }
    .interview-container-R .interview-qa,.interview-container-L .interview-qa {
        order: 1;
        transform: translateY(0px);
        margin: 0 auto;
        width: 100%;
        padding: 1rem 0 0;
    }
}

/* 他の人のインタビュー */

.another-interviewes{
    margin: 13rem auto 9rem;
    max-width: 1110px;
    border-top: 1px solid #CCCCCC;
}

.another-interviewes h2{
    font-size: clamp(18px,2.2vw,1.7rem);
    text-align: center;
    color: var(--fm-green);
    margin: 6rem auto 3rem;
}

.another-interviewes-parent{
    height: 250px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    margin: 4rem auto;
    transform: translateY(0px);
    transition: all 0.5s;
}

.another-interviewes-parent:hover{
    transform: translateY(-5px);
    transition: all 0.5s;
    background-color: rgba(0, 163, 62, 0.2);
}

.another-interviewes-flexbox{
    display: flex;
}

.another-interviewes-textbox{
    display: block;
    padding: 1rem 2rem;
    position: relative;
    width: calc(100% - 4rem);
    line-height: 1.5;
}

.another-interviewes-textbox h2{
    font-size: clamp(20px,2.6vw,2.0rem);
    color: var(--fm-dark);
    text-align: left;
    margin: 0;
}

.another-interviewes-textbox p{
    font-size: clamp(14px,2.5vw,1.1rem);
    margin: 0.5rem 0;
    font-weight: 700;
    color: var(--fm-dark);
}

.another-interviewes-text{
    margin-top: 1.5rem;
    font-size: clamp(16px,1.8vw,1.1rem);
    color: var(--fm-dark);
}

.another-interviewes-text span{
    color: orange;
    font-size: clamp(18px,2.0vw,1.5rem);
}

.another-interviewes-read{
    position: absolute;
    right: 1rem;
    bottom: 0;
    font-size: 15px;
}

.another-interviewes-parent:hover .another-interviewes-read{
    color: var(--fm-green);
    font-weight: bold;
}

@media(max-width:800px){
.another-interviewes-parent{
    width: 375px;
    height: 500px;
    margin: 2rem auto;
    position: relative;
}

.another-interviewes-flexbox{
    display: block;
}

.another-interviewes-textbox{
    display: block;
    padding: 1rem;
    position:static;
    width: 92%;
}


.another-interviewes-read{
    position: static;
    text-align: end;
    right: 0.5%;
    bottom: 0;
    font-size: 15px !important;
}

.another-interviewes-parent:hover .another-interviewes-read{
    color: var(--fm-green);
    font-weight: bold;
}

}

@media(max-width:499px){

.another-interviewes{
    margin: 6rem 0 3rem;
}

.another-interviewes h2{
    margin: 3rem 0 1.5rem;
}

.another-interviewes-textbox h2{
    margin: 0;
}

.another-interviewes-parent{
    width: auto;
    height: 100%;
    margin: 2rem auto;
    position: relative;
}

.another-interviewes-textbox{
    padding: 1rem;
    width: calc(100% - 2rem);
}

.another-interviewes-image img{
    max-width: 100%;
    width: 100%;
    height: auto;   
}

.another-interviewes-read{
    right: 1rem;
}

}