@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Playfair+Display:ital,wght@1,400;1,700&display=swap');

* {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif !important;
}

.main_text{
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 24px;
    font-weight: 300 !important;
    letter-spacing: 4px;
}
.ceo_img img{ width: 100%; display: block;}

/* Logo sizing fix */
#logo {
    width: 180px !important; /* PC 로고 가로 크기 제한 */
    height: auto !important;
    padding-top: 20px !important;
    display: block;
        max-height: 90px;
    object-fit: contain;
}

.m_nav h1 img {
    height: 35px !important; /* 모바일 로고 세로 크기 조정 */
    width: auto !important;
    vertical-align: middle;
}

/* Footer styling */
.r_footer {
    background-color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #333;
}
.r_footer .footer p {
    margin: 4px 0;
}

/* Submenu display on hover */
.nav li .sub_m {
    display: none;
}
.nav li:hover .sub_m {
    display: block;
    height: auto;
}
.nav li:hover .sub_m li a {
    color: #fff;
}

/* Smooth hover animation for top */
.top {
    transition: height 0.3s ease;
}
.invens_img_box {
    position: relative;
    float: left;
    width: 22%;
    margin-left: 4%;
}
.invens_img_box img {
    width: 100%;
    display: block;
}
.invens_box_txt {
    position: absolute;
    top: 50%;
    left: 44%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: center;
    color: #444;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: -0.02em;
    word-break: keep-all;
    pointer-events: none; /* Make sure image is still clickable if needed */
}

/* Optional: Typography for title-subtitle look if needed */
.invens_box_txt strong {
    display: block;
    font-size: 16px;
    color: #222;
    margin-bottom: 5px;
}
.invens_box_txt span {
    display: block;
    font-size: 12px;
    color: #777;
    font-weight: normal;
}

/* Responsive adjustments */
@media only screen and (max-width: 780px) {
    .invens_img_box {
        float: none;
        width: 70%;
        margin: 0 auto 20px;
    }
    .invens_box_txt {
        font-size: 13px;
    }
}

/* Privacy Policy Styling */
.pri {
    padding-top: 40px;
    padding-bottom: 60px;
}
.pri h3 {
    font-size: 26px;
    font-weight: 800;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}
.pri_sect {
    margin-bottom: 50px;
}
.pri_sect h4 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.pri_sect p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}
.pri_sect ul {
    margin-bottom: 15px;
}
.pri_sect ul li {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    padding-left: 15px;
    margin-bottom: 6px;
    background: url('../images/eng_sub/bullet.png') no-repeat 0 8px;
}
.pri_sect ul li strong {
    color: #333;
}

/* Footer Styling */
.footer {
    height: auto !important;
    min-height: 60px;
    padding: 25px 0 !important;
    background-color: #b2b4b4 !important;
    box-sizing: border-box;
}
.footer_info p {
    font-size: 11px;
    color: #fff;
    line-height: 1.8;
    margin: 0;
    letter-spacing: -0.02em;
    font-weight: 400;
}
.footer_info span {
    display: inline-block;
    padding: 0 8px;
    position: relative;
}
.footer_info span:first-child {
    font-weight: 700;
    padding-left: 0;
}
.footer_info span:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* Mobile Footer */
@media only screen and (max-width: 780px) {
    .footer { display: none !important; }
    .footer_m {
        display: block !important;
        background-color: #b2b4b4;
        padding: 20px 15px;
        text-align: center;
        margin-top: 11px;
        margin-bottom: 30px;
    }
    .footer_info_m p {
        font-size: 11px;
        color: #fff;
        line-height: 1.6;
        margin: 4px 0;
        letter-spacing: -0.03em;
    }
    .footer_info_m .copy {
        margin-top: 8px;
        opacity: 0.7;
    }
}

/* Value Box Styling (Sidebar) */
.value {
    background-color: #A3AAAA;
    width: 100%;
    max-width: 319px;
    height: 129px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 35px;
    color: #fff;
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 300 !important;
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: 0.01em;
    box-sizing: border-box;
    margin-bottom: 20px;
    word-break: keep-all;
}


/* Consulting Form Styling */
.consult_wrap {
    padding: 40px 0;
}
.consult_header {
    text-align: center;
    margin-bottom: 50px;
}
.consult_header h2 {
    font-size: 34px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}
.consult_header p {
    font-size: 16px;
    color: #888;
}

.consult_form {
    background-color: #f4f7f8;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.form_row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
.form_row .form_group {
    flex: 1;
    margin-bottom: 0;
}
.form_group {
    margin-bottom: 30px;
}
.form_group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}
.form_group label span {
    color: #d9534f;
    margin-left: 2px;
}

.input_text, .input_select, .input_textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.input_text:focus, .input_select:focus, .input_textarea:focus {
    border-color: #7a8080;
    outline: none;
}
.input_textarea {
    height: 180px;
    resize: none;
}

.phone_group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.phone_group input {
    width: 33.33%;
    padding: 14px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    text-align: center;
}

.radio_group, .checkbox_group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
}
.radio_group label, .checkbox_group label {
    font-weight: 400 !important;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0 !important;
    cursor: pointer;
    color: #555;
}
.wrap_group {
    gap: 15px 25px;
}

.form_agree {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e1e4e8;
}
.form_agree label {
    font-size: 14px;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form_agree a {
    color: #888;
    text-decoration: underline;
    margin-left: 10px;
}

.consult_submit {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 40px;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}
.consult_submit:hover {
    background-color: #222;
}
.consult_submit:active {
    transform: scale(0.995);
}

@media only screen and (max-width: 780px) {
    .consult_header h2 { font-size: 26px; }
    .form_row { flex-direction: column; gap: 30px; }
    .consult_form { padding: 30px 20px; }
    .radio_group, .checkbox_group { padding: 15px; gap: 10px 15px; }
    .phone_group {gap: 8px;}
}

@media only screen and (max-width: 480px) {
    .invens_img_box {
        width: 90%;
    }
}
/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}
.modal_content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    max-height: 80%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.modal_header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}
.modal_header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}
.close_modal {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
.close_modal:hover {
    color: #333;
}
.modal_body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 70px);
}

/* Adjust loaded content within modal */
.modal_body .pri {
    padding: 0;
}
.modal_body .pri_sect {
    margin-bottom: 25px;
}
.modal_body .pri_sect h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}
.modal_body .pri_sect p, .modal_body .pri_sect li {
    font-size: 13.5px;
    line-height: 1.6;
    color: #666;
}

@media only screen and (max-width: 780px) {
    .modal_content {
        width: 92%;
        margin: 10% auto;
        max-height: 80%;
    }
    .modal_body {
        padding: 20px;
    }
}

/* Main Page Left Top Banner */
.left_top {
    background-color: #7A8080 !important;
    width: 100%;
    aspect-ratio: 393 / 395;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 35px 30px !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

.l_t_content {
    color: #fff;
    text-align: left;
}

.l_t_content .tit_en {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 25px !important;
    margin-top: 0 !important;
}

.l_t_content .tit_ko {
    font-family: 'Pretendard', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #fff !important;
    opacity: 0.9;
    letter-spacing: -0.02em !important;
    word-break: keep-all;
}

.left_top a {
    position: absolute !important;
    right: 15px !important;
    bottom: 15px !important;
    width: auto !important;
    z-index: 10;
}

.left_top a img {
    width: 24px !important;
}

@media only screen and (max-width: 780px) {
    .left_top {
        padding: 25px 20px !important;
    }
    .l_t_content .tit_en {
        font-size: 26px !important;
    }
}

/* Main Page Right Down Banner */
.right_down {
    background-color: #A3AAAA !important;
    width: 100%;
    aspect-ratio: 838 / 222;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 50px !important;
    box-sizing: border-box !important;
    overflow: hidden;
    margin-top: 11px;
}

.r_d_content {
    color: #fff;
    text-align: left;
}

.r_d_content .tit_en {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

.r_d_content .tit_ko {
    font-family: 'Pretendard', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #fff !important;
    opacity: 0.9;
    letter-spacing: -0.02em !important;
    word-break: keep-all;
}

.right_down a {
    position: absolute !important;
    right: 15px !important;
    bottom: 15px !important;
    width: auto !important;
    z-index: 10;
}

.right_down a img {
    width: 24px !important;
}

@media only screen and (max-width: 780px) {
    .right_down {
        padding: 0 25px !important;
        aspect-ratio: auto;
        min-height: 160px;
    }
    .r_d_content .tit_en {
        font-size: 24px !important;
    }
    .r_d_content .tit_ko {
        font-size: 13px !important;
    }
}

/* CEO Page Styling */
.ceo_title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin-bottom: 25px !important;
    line-height: 1.4 !important;
}
.ceo_intro {
    font-size: 16px !important;
    color: #555 !important;
    margin-bottom: 40px !important;
    line-height: 1.8 !important;
}
.ceo_img {
    margin-bottom: 45px !important;
}
.ceo_text {
    font-size: 15px !important;
    line-height: 1.9 !important;
    color: #555 !important;
    word-break: keep-all;
}

/* Product Introduction Page Styling */
.pro_intro_wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.pro_header .eng_tit {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 14px;
    font-weight: 700;
    color: #c5a059;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.pro_header h2 {
    font-size: 34px;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.pro_header .main_desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 50px;
}
.ipo_img_box img{ width: 100%;}
.gray_box {
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 60px;
}

.gray_box p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.gray_box p:last-child {
    margin-bottom: 0;
}

.feature_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature_card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card_num {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
}

.feature_card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.feature_card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card_icon {
    width: 48px;
    height: 48px;
    color: #7a8080;
    align-self: flex-end;
}

@media only screen and (max-width: 1000px) {
    .feature_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 780px) {
    .pro_intro_wrap {
        padding: 40px 15px;
    }
    .pro_header h2 {
        font-size: 24px !important;
        line-height: 1.3;
        word-break: keep-all;
    }
    .pro_intro_wrap br {
        display: none;
    }
    .pro_header .eng_tit {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .pro_header .main_desc {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .gray_box {
        padding: 25px 20px;
        margin-bottom: 40px;
    }
    .gray_box p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .feature_grid {
        grid-template-columns: 1fr;
    }
    .feature_card {
        padding: 25px 20px;
    }
    .process_section {
        margin-top: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .process_title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .process_subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }
    .process_boxes {
        flex-direction: column;
        gap: 15px;
    }
    .process_box {
        padding: 20px 18px;
    }
    .process_box h4 {
        font-size: 16px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    .process_box ul li {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 6px;
    }
    .process_arrow {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .process_arrow svg {
        height: 50px;
    }
}

/* IPO Page Specific Styling */
.ipo_list_wrap {
    text-align: left;
    margin-top: 40px;
}

.ipo_item {
    display: flex;
    align-items: flex-start;
    background: #fcfcfc;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}

.ipo_num {
    width: 32px;
    height: 32px;
    background: #1a437d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ipo_content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.ipo_content p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.ipo_bottom_box {
    margin-top: 60px;
    text-align: center;
}

.arrow_down {
    width: 24px;
    height: 24px;
    margin: 0 auto 30px;
    color: #1a437d;
}

.blue_callout {
    background: #1a437d;
    color: #fff;
    padding: 35px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    word-break: keep-all;
}

@media only screen and (max-width: 780px) {
    .ipo_item {
        padding: 20px;
    }
    .ipo_content h3 {
        font-size: 16px;
    }
    .ipo_content p {
        font-size: 14px;
    }
    .blue_callout {
        font-size: 15px;
        padding: 25px 15px;
    }
}

/* IPO Step List Styling */
.ipo_step_list {
    text-align: left;
    margin-top: 20px;
}

.ipo_step_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.ipo_step_item:last-child {
    margin-bottom: 0;
}

.step_num {
    width: 28px;
    height: 28px;
    background-color: #2b5797;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.step_content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.step_content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    word-break: keep-all;
}

@media only screen and (max-width: 780px) {
    .step_content h4 {
        font-size: 18px;
    }
    .step_content p {
        font-size: 14px;
    }
    .ipo_step_item {
        margin-bottom: 30px;
    }
}

/* IPO Closing Banner Styling */
.ipo_closing_wrap {
    text-align: center;
    margin-top: 60px;
}

.closing_arrow {
    margin-bottom: 30px;
    color: #2b5797;
}

.closing_arrow svg {
    width: 40px;
    height: 40px;
}

.closing_banner {
    background-color: #1a3a6c;
    color: #fff;
    padding: 35px 20px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    word-break: keep-all;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media only screen and (max-width: 780px) {
    .ipo_closing_wrap {
        margin-top: 40px;
    }
    .closing_banner {
        font-size: 16px;
        padding: 25px 15px;
    }
    .closing_arrow svg {
        width: 30px;
        height: 30px;
    }
}
