@charset "utf-8";

/*
 * File       : main.css
 * Author     : STUDIO-JT (KMS)
 * Guideline  : JTstyle.1.1
 *
 * Dependency : css/reset.css
 *              css/jt-strap.css
 *
 * SUMMARY:
 * 1) MAIN
 * 2) MAIN RESPONSIVE
 */



/* **************************************** *
 * MAIN
 * **************************************** */
/* LAYOUT */
body.home .main_container { padding-top: 80px; }

/* HEADER */
body.home .header_typo { display: none; }

/* COMPONENT */
.main_section { display: flex; flex-direction: column; align-items: center; gap: 50px; }
.main_section_title { font-size: 40px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; text-align: center; }

.main_link { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; font-weight: 500; line-height: 1.6; color: #000; transition: color .3s; }
.main_link:after { content: '\e903'; font-family: 'jt-font'; font-size: 16px; line-height: 1; }
.main_link:hover { color: #0b21ee; }

/* TYPOGRAPHY */
.main_typography { margin-bottom: 80px; font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; text-align: center; white-space: nowrap; }
.main_typography_rolling { color: #0b21ee; }

/* PROJECT */
.main_project:after { content: ''; display: block; clear: both; }

/* PHILOSOPHY */
.main_philosophy { display: flex; flex-direction: column; align-items: center; gap: 43px; padding: 253px 0 276px; }
.main_philosophy > p { font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; text-align: center; }

/* CERTIFICATE */
.main_certificate .certificate_list { width: 100%; margin: 0; }
.main_certificate .certificate_data > li:first-child { border-top-width: 1px; }
.main_certificate .certificate_item > div { color: #000; }
.main_certificate .certificate_item > div.certificate_project { font-size: 20px; font-weight: 600; }

/* STORY */
.main_story { padding: 173px 0 178px; }
.main_story .blog_list { display: flex; justify-content: space-between; width: 100%; }
.main_story .blog_item { width: 28.6%; }



/* **************************************** *
 * MAIN RESPONSIVE
 * **************************************** */
@media (max-width: 1800px) {
    /* LAYOUT */
    body.home .main_container { padding-top: 52px; }

    /* TYPOGRAPHY */
    .main_typography { margin-bottom: 66px; }
}

@media (max-width: 1460px) {
    /* LAYOUT */
    body.home .main_container { padding-top: 130px; }

    /* TYPOGRAPHY */
    .main_typography { margin-bottom: 0; font-size: 19px; }
}

@media (max-width: 1460px) and (min-width: 769px) {
    /* TYPOGRAPHY */
    .main_typography { position: fixed; top: 50px; left: 50%; transform: translate3d(-50%, 0, 0); z-index: 1301; }
    
    body.open_menu .main_typography,
    body.home:has(#header.minimize) .main_typography { opacity: 0; visibility: hidden; }
}

@media (max-width: 1023px) {
    /* COMPONENT */
    .main_section_title { font-size: 36px; }

    /* PHILOSOPHY */
    .main_philosophy { gap: 40px; padding: 200px 8%; }
    .main_philosophy > p { font-size: 18px; word-break: keep-all; }
    .main_philosophy > p > span { display: block; }
    .main_philosophy > p br { display: none; }

    /* CERTIFICATE */
    .main_certificate .certificate_item > div.certificate_project { font-size: 18px; }

    /* STORY */
    .main_story .blog_item { width: 30%; }
}

@media (max-width: 860px) {
    /* TYPOGRAPHY */
    .main_typography { font-size: 17px; }
}

@media (max-width: 768px) {
    /* LAYOUT */
    body.home { padding: 0; }
    body.home .main_container { padding-top: 110px; }

    /* COMPONENT */
    .main_section { padding-left: 20px; padding-right: 20px; gap: 44px; }
    .main_section_title { font-size: 32px; }

    /* TYPOGRAPHY */
    .main_typography { margin-bottom: 7%; font-size: 18px; white-space: inherit; }

    /* PHILOSOPHY */
    .main_philosophy { padding: 22% 10%; gap: 34px; }

    /* STORY */
    .main_story { padding-top: 120px; padding-bottom: 120px; }
    .main_story .blog_itme_content { padding-bottom: 0; }
}

@media (max-width: 767px) {
    /* STORY */
    .main_story .blog_item { width: 48%; }
    .main_story .blog_item:last-child { display: none; }
}

@media (max-width: 540px) {
    /* TYPOGRAPHY */
    .main_typography { margin-bottom: 32px; }
    .main_typography > span { display: block; height: 27px; }
}

@media (max-width: 480px) {
    /* HEADER */
    body.home .header_typo { display: block; }

    /* COMPONENT */
    .main_section { gap: 34px; }
    .main_section_title { font-size: 26px; }

    .main_link { gap: 8px; padding: 5px 0; font-size: 14px; }
    .main_link:after { font-size: 14px; }

    /* PHILOSOPHY */
    .main_philosophy { gap: 26px; padding: 22% 20px 26%; }
    .main_philosophy > p { font-size: 17px; text-wrap: balance; }

    /* CERTIFICATE */
    .main_certificate .certificate_item > div.certificate_project { font-size: 17px; }

    /* STORY */
    .main_story { padding-top: 100px; padding-bottom: 90px; }
}