:root {
    --base-gray-color: #b4b4b4;
}


/* sub 1-3 */

.history_img_wrap {
    width: 100%;

    img {
        width: 100%;
    }
}

.history_wrap {
    width: 100%;
    margin: 0 auto;
    max-width: 1920px;
    padding: 0 45px;
    /* border: 1px solid red; */
    position: relative;
}

.history_con_wrap {
    width: 100%;
    /* border: 1px solid blue; */
    display: flex;
    margin: clamp(60px, 5.2vw, 130px) 0;
}

.history_left_wrap {
    width: 30%;
    /* border: 1px solid yellowgreen; */
    padding-right: 30px;
}

.history_right_wrap {
    width: 70%;
    padding-left: 50px;
    position: relative;
}

.history_left_wrap > p {
    font-family: var(--font-KR-base);
    font-size: clamp(16px, 0.9375vw, 20px);
    font-weight: 400;
    padding-top: 50px;
    color: var(--signature-color);
}

.history_left_wrap > h5 {
    font-family: var(--font-KR-base);
    font-size: clamp(20px, 2vw, 32px);
    font-weight: 600;
    color: var(--base-color-darkblack);
}

.history_left_wrap > h3 {
    font-size: clamp(48px, 3.2vw, 68px);
    font-weight: 600;
    color: #0851959f;
}

.history_dot {
    position: absolute;
    top: 1vw;
    left: -34px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #08519521;
}

.history_dot_2 {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--signature-color);
}

.history_month {
    font-size: clamp(32px, 2vw, 46px);
    font-weight: 400;
    font-family: var(--font-KR-base);
    padding-top: 12px;
}

.history_right_wrap > p {
    font-weight: 400;
    font-family: var(--font-KR-base);
    font-size: clamp(16px, 0.9375vw, 20px);
    margin: clamp(15px, 1.0417vw, 25px) 0 clamp(30px, 2.6042vw, 70px) 0;
    line-height: clamp(24px, 1.5vw, 32px);
}
.line {
    width: 1px;
    height: 100%;
    position: absolute;
        border-left: 1px solid var(--base-gray-color);
    left: 30%;
    transform: translateX(-30%);
}



/*** sub5-1 아코디언 ***/
/* --------------------------------------sub 3-2------------------------------------- */

/* 아코디언 기본 스타일 */
.accordion {
    width: 100%;
    margin: 0 auto 100px auto;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    background: #fafafa;
    cursor: pointer;
    padding: 30px;
    font-size: clamp(16px, 0.885vw, 18px);
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.accordion-header:hover {
    background: #ececec;
}

.accordion-header::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s;
    color: #686868;
}

.accordion-header.active::after {
    content: '▲';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    padding: 0 40px; /* 닫혔을 때는 위아래 패딩 0 */
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-content p {
    margin: 15px 0;
    line-height: 1.6;
    color: #333;
}
.accordion {
    padding-top: 6%;
}

/************ 제품문의 페이지 ************/
.manager-info {
    width: 100%;
    background-color: #f6f6f6;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 3% 0;
    margin-top: 3%;
}
.form-mail-title {
    width: 100%;
    border-bottom: 1px solid #cccccc;
}
.form-mail-title p {
    text-align: center;
    padding: 8% 0 3% 0;
    font-weight: 600;
    font-size: clamp(26px, 2vw, 32px);
}

/* ========== 폼메일 입력란 시작 ========== */
.form-mail-wrap {
    width: 100%;
    display: flex; /* <- 누락되기 쉬운 부분 */
    flex-direction: column;
    gap: 24px;
    padding-top: 3%;
    box-sizing: border-box;
}

.form-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    max-width: 1920px;
    width: 100%;
    padding: 2% 0;
    box-sizing: border-box;
}

/* 두 칼럼 */
.name-wrap,
.phone-wrap {
    flex: 1 1 0;
    width: 45%;
    min-width: 280px;
}

.name,
.phone {
    margin-bottom: 8px;
}

.phone p,
.name p {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 500;
    padding: 3% 0 2% 1%;
    line-height: 1.3;
}

.star-point {
    font-weight: 600;
    font-size: clamp(16px, 2vw, 18px);
    color: var(--signature-color);
    padding: 5px 0 3px 3px;
}

.phone-box input,
.name-box input {
    width: 100%;
    font-size: 16px;
    line-height: 1.2;
    padding: 2px 0;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    padding: 2% 3%;
    border-radius: 8px;
}

.phone-box input::placeholder,
.name-box input::placeholder {
    color: #999;
}

/* ========== 개인정보 이용 동의 ========== */
.privacy-consent {
    width: 100%;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.privacy-consent > p {
    font-weight: 600;
    font-size: clamp(16px, 1.8vw, 18px);
}

/* [내용보기] 버튼 */
.privacy {
    cursor: pointer;
    align-self: flex-start;
    padding: 6px 12px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    line-height: 1;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.05s;
}
.privacy:hover {
    border-color: #bbbbbb;
}
.privacy:active {
    transform: translateY(1px);
}
.privacy:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 120, 255, 0.18);
}

/* 토글되는 내용 */
.privacy-cont {
    width: 100%;
    margin-top: 1%;
    padding: 3%;
    border: 1px solid #dddddd;
    border-radius: 10px;
    background: #fafafa;
    box-sizing: border-box;
    /* 처음부터 숨기려면 JS 대신 CSS로도 가능
     display: none;
  */
}

.privacy-cont p,
.privacy-cont span {
    line-height: 36px;
    color: #333;
}

.check-box-wrap {
    margin: 2% 2%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-box-wrap input[type='checkbox'] {
    width: 18px;
    height: 18px;
    accent-color: var(--signature-color, #e65100); /* 최신 브라우저 */
}

/* ========== 전송 버튼 ========== */
.submit-row {
    margin-top: 5%;
    display: flex;
    justify-content: center;
}
.submit-btn {
    background-color: var(--signature-color, #333);
    color: #fff;
    padding: 1% 4%;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.05s;
}
.submit-btn:hover {
    background-color: #000;
}
.submit-btn:active {
    transform: translateY(1px);
}
.submit-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 120, 255, 0.18);
}

/* ========== 반응형 ========== */
@media (max-width: 1024px) {
    .form-wrap {
        gap: 16px 20px;
    }
}

@media (max-width: 768px) {
    .form-wrap {
        flex-direction: column;
        padding: 16px 0;
    }
    .name-wrap,
    .phone-wrap {
        width: 100%;
    }
    .phone p,
    .name p {
        padding: 8px 0 6px 2px;
    }
}

@media (max-width: 420px) {
    .phone-box form,
    .name-box form {
        padding: 12px 16px;
        border-radius: 8px;
    }
    .privacy {
        font-size: 13px;
        padding: 6px 10px;
    }
    .privacy-cont {
        padding: 16px;
    }
    .check-box-wrap {
        margin: 16px 8px;
    }
}

/* ***************************************** 미디어쿼리 1400px*/
/* 1400px */
@media screen and (max-width: 1400px) {
    /* .history-big-round {
        position: absolute;
        top: 14.5%;
        left: -2%;
    }
    .history-big-round-02 {
        width: 34px;
        height: 34px;
        border-radius: 50px;
        background-color: #08519521;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 5%;
        left: -2%;
        z-index: 10;
    }
    .history-big-round-03 {
        width: 34px;
        height: 34px;
        border-radius: 50px;
        background-color: #08519521;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 7%;
        left: -2%;
        z-index: 10;
    } */
}
/* ***************************************** 미디어쿼리 1080px*/
@media screen and (max-width: 1080px) {
    .history-big-round {
        position: absolute;
        top: 14.5%;
        left: -2.5%;
    }
    .history-big-round-02 {
        width: 34px;
        height: 34px;
        border-radius: 50px;
        background-color: #08519521;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 8%;
        left: -2.5%;
        z-index: 10;
    }
    .history-big-round-03 {
        width: 34px;
        height: 34px;
        border-radius: 50px;
        background-color: #08519521;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 12%;
        left: -2.5%;
        z-index: 10;
    }
    .none-media {
        display: none;
    }
    /* .history-year-wrap-media {
        display: block;
    }
    .history-year-wrap-media p {
        font-size: clamp(32px, 2vw, 36px);
        font-weight: 600;
        color: #0851959f;
    }
    .history-num-wrap-01 {
        padding: 8%;
    } */
    .cont-total-wrap1-3 {
        padding: 0 0 6% 0;
    }
    /* .history-num-wrap-01 {
        width: 100%;
    } */
}

@media all and (max-width: 860px) {
    
    .line {
        display: none;
    }

    .history_con_wrap {
        flex-direction: column;
    }

    .history_left_wrap {
        width: 100%;
    }

    .history_right_wrap {
        width: 100%;
        padding: 0;
    }

    .history_dot{
        display: none;
    }

    .history_wrap {
        padding: 0 15px;
    }

    .history_con_wrap {
        margin: clamp(30px, 2.6vw, 80px) 0;
    }


}




/* ***************************************** 미디어쿼리 680px*/
@media screen and (max-width: 680px) {
    /* .history-left-cont-wrap {
        display: none;
    }
    .history-left-cont-title-wrap-media {
        display: block;
        padding: 5% 0 0 8%;
    } */
    .cont-wrap-01 {
        padding: 0 6%;
    }
    /* .history-num-total-wrap {
        top: 3%;
    }
    .history-big-round {
        position: absolute;
        top: 12%;
        left: -4.5%;
    }

    .history-big-round-02 {
        position: absolute;
        top: 14%;
        left: -4.5%;
    }

    .history-big-round-03 {
        position: absolute;
        top: 22%;
        left: -4.5%;
    }
    .history-num-wrap-01 {
        padding: 6% 0 0 12%;
    }
    .history-middle-line {
        width: 90%;
    } */
    .submit-btn {
        padding: 3% 10%;
    }

}
/* ***************************************** 미디어쿼리 400px*/
@media screen and (max-width: 400px) {
    /* .history-left-cont-wrap {
        display: none;
    }
    .history-left-cont-title-wrap-media {
        display: block;
        padding: 5% 0 0 8%;
    }
    .cont-wrap-01 {
        padding: 0 6%;
    }
    .history-num-total-wrap {
        top: 3%;
    }
    .history-big-round {
        position: absolute;
        top: 12%;
        left: -7.5%;
    }

    .history-big-round-02 {
        position: absolute;
        top: 11%;
        left: -7.5%;
    }

    .history-big-round-03 {
        position: absolute;
        top: 18%;
        left: -7.5%;
    }
    .history-month-wrap {
        width: 100%;
    } */
    .submit-btn {
        border-radius: 0px;
        padding: 3% 10%;
    }
}
