/* 언어설정 */
@charset 'utf-8';

@font-face {
    font-family: 'SUIT-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KCCHyerim-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/KCCHyerim-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 전체설정 */
{
    margin: 0;
    padding: 0;
    font-family: 'SUIT-Regular';
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--main-text);
}

img {
    vertical-align: bottom;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;

}

.body {
    max-width: 100%;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    /* 스크롤 막기 */
    touch-action: none;
    /* 터치 시 흔들림 방지 (모바일 UX 향상) */
}

/* 색상설정 */
:root {
    --main-navi: #204B62;
    --main-text: #333;
    --main-white: #fff;
}

/* 상세설정 ---------------------------------------------------------------------------- */

main {
    margin-top: 60px;
}

.txt {
    background-image: url(/img/banner_9.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
    /* 또는 원하는 높이 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.txt h1 {
    font-size: 60px;
    font-weight: bold;
    display: inline-block;
    color: var(--main-white);
    /*letter-spacing: 8.5px;*/
    position: relative;
    /* h1 내 기준점 생성 */
    z-index: 1;
}


.txt .interview_bg {
    position: absolute;
    top: 0;
    z-index: -1;
    margin-top: 200px;
    width: 100%;
    /* 이미지 크기 조정 필요 시 */
}

.interview-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


/* Q&A 전체 컨테이너 */
.interview-qna {
    margin: 60px auto 80px;
    padding: 0 20px;
}

/* 질문 박스 */
.question-box {
    display: block;
    width: 100%;
    padding: 12px 24px;
    margin: 40px 0 36px;
    border: 2px solid var(--main-navi);
    border-radius: 30px;
    background-color: #ffffff;
    box-shadow: 4px 4px 0 var(--main-navi);
    font-size: 20px;
    font-weight: bold;
    color: var(--main-navi);
}

/* 답변 래퍼: 이미지 + 말풍선 */
.answer-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    margin-left: 40px;
}

/* 프로필 이미지 */
.answer-wrapper img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
}

/* 답변 박스(말풍선) */
.answer-box {
    position: relative;
    margin-left: 16px;
    padding: 16px 20px;
    background-color: #e6f7ff;
    border-radius: 20px;
    font-size: 18px;
    line-height: 1.6;
    color: #21455f;
    max-width: calc(100% - 96px);
}

/* 말풍선 꼬리 */
.answer-box::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -12px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent #e6f7ff transparent transparent;
}

/* 미디어 쿼리 구간------------------------------------------------------------------------------------- */


/* PC 전용 */
@media screen and (min-width: 1440px) {}

/* 노트북 전용 */
@media screen and (min-width: 1025px) and (max-width: 1439px) {

    .txt h1 {
        font-size: 45px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .question-box{
        max-width: 95%;
    }

    .answer-box{
        font-size: 16px;
    }
}

/* 태블릿 전용 */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .txt h1 {
        font-size: 45px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .question-box{
        max-width: 93%;
    }

    .answer-box{
        font-size: 16px;
    }

}

/* 모바일 전용 */
@media screen and (min-width: 481px) and (max-width: 767px) {

    .txt h1 {
        font-size: 40px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .question-box{
        width: 90%;
        font-size: 14px;
    }
    .answer-wrapper{
        margin-left: 0;
    }

    .answer-box{
        font-size: 14px;
    }

    .answer-wrapper img{
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 480px) and (orientation: portrait) {

    .txt {
        height: 250px;          /* 배경 영역 축소 */
    }

    .txt h1 {
        font-size: 35px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .question-box{
        width: 85%;
        font-size: 13px;
    }
    .answer-wrapper{
        margin-left: 0;
    }
    .answer-box{
        font-size: 13px;
    }

    .answer-wrapper img{
        width: 50px;
        height: 50px;
    }
}