/* Sub Header section */
.subpage_header {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    min-height: 430px;
    padding: 135px 0 60px;
    align-items: center;
    word-break: keep-all;
}

.subpage_header > h1 {
    font-family: 'GongGothicLight';
}

.subpage_header .subpage_category {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.subpage_header .subpage_category button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    
    padding: 0 20px;
    margin: 5px;
    width: auto;
    height: 55px;
    background-color: transparent;
    border: 1px solid #E5E5E5;
    border-radius: 50px;

    font-size: 20px;
    font-weight: 500;
}

.subpage_header .subpage_category button.active,
.subpage_header .subpage_category button:hover{
    background-color: var(--main-color);
    color: white;
    cursor: pointer;
}

.company_contents {
    position: relative;
}

.company_contents_bg {
    width: 100%;
    height: 820px;
    position: absolute;
    top: 0;
    z-index: -1;

    background-repeat: no-repeat;
    background-size: cover;
}

.company_contents_txt {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 0 auto;
    max-width: 1500px;
    width: 100%;
    margin-top: 250px;
    padding: 130px 240px;

    background-color: white;
    border-radius: 50px;
}
.company_contents_txt h2 {
    padding: 50px 70px;
    word-break: keep-all;
}

.company_contents_txt > p {
    text-align: center;
    padding: 50px 100px;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    word-break: keep-all;
}

.company_contents_board {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto;

    width: 100%;
    max-width: 1300px;
}

#sign {
    display: inline-flex;
    align-items: center;
    margin-left: 100px;
    gap: 10px;
}

@media screen and (max-width : 1300px) {
    .company_contents_txt {
        width: 80vw;
        margin-top: 100px;
        padding: 30px !important;
        border-radius: 10px;
    }

    .company_contents_board {
        width: 100vw;
        padding: 30px 20px !important;
        margin-top: 0;
    }

    .company_contents_txt h2 {
        font-size: 40px;
        padding: 0;
    }

    .company_contents_txt .divide_line_vertical {
        margin: 50px 0 20px;
    }

    .company_contents_txt > p {
        font-size: 18px;
        padding: 0;
    }
}

@media screen and (max-width : 640px) {
    .subpage_header {
        padding: 135px 0 10px;
        min-height: 360px;
    }

    .subpage_header h1 {
        font-size: 30px;
    }

    .subpage_header .subpage_category button {
        font-size: 16px;
        width: 45%;
        height: 40px;
    }

    .company_contents_txt {
        width: 80vw;
        margin-top: 100px;
        padding: 70px 30px !important;
    }

    .company_contents_txt h2 {
        font-size: 24px;
        padding: 0;
    }

    .company_contents_txt .divide_line_vertical {
        margin: 30px 0 ;
    }

    .company_contents_txt > p {
        width: 100%;
        padding: 0;

        font-size: 16px;
        text-align: left;
    }

    #sign {
        margin-left: 0;
    }
}

.icon_area {
    display: inline-flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.icon_area div {
    display: inline-flex;
    flex-direction: column;
    width: 30%;
}

.icon_area p {
    margin: 40px 0;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}

@media screen and (max-width : 1200px) {
    .icon_area p {
        font-size: 16px;
    }
}

@media screen and (max-width : 860px) {
    .icon_area {
        margin-top: 50px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .icon_area div {
        width: 50%;
    }
}

@media screen and (max-width : 640px) {
    .icon_area {
        flex-direction: column;
    }

    .icon_area div {
        width: 100%;
    }

    .icon_area p {
        font-size: 18px;
    }
}

.header_bg {
    display: inline-flex;
    height: 450px;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width : 1200px) {
    .header_bg h3 {
        font-size: 24px;
        line-height: 36px;
        padding: 0 40px;
        word-break: keep-all;
    }
}

.company_history_contents {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    margin: 160px auto 0;
}

.history_title img {
    margin-top: 50px;
    border-radius: 500px;
}

.history_contents {
    width: 50%;
    position: relative;
    display: inline-flex;
    flex-direction: column;
}

.history_line {
    position: absolute;
    z-index: -1;
    height: 100%;
    margin-top: 15px;
    padding-left: 7px;
    border-right: 1px solid var(--main-color);
}

.history_text {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;

    margin-bottom: 150px;
}

.history_text img {
    width: 15px;
    height: 15px;
    margin-top: 12px;
    margin-right: 90px;
}

.history_year {
    font-size: 35px;
    line-height: 45px;
    font-weight: 600;
    color: var(--main-color);

    margin: 0;
    margin-right: 65px;
}

.history_month {
    width: 30px;
    color: #B4B4B5;
    margin-right: 24px;
}

.history_text ul {
    display: inline-flex;
    flex-direction: column;
}

.history_text ul li{
    display: inline-flex;
    margin: 0;
    margin-bottom: 25px;

    font-size: 20px;
    font-weight: 400;
}

.company_history_contents2 {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto 160px;
}

@media screen and (max-width : 1200px) {
    .company_history_contents,
    .company_history_contents2 {
        margin : 0;
        padding: 50px;
    }

    .history_title img {
        margin-top: 30px;
        width: 400px;
        height: 400px;
        border-radius: 400px;
    }
}

@media screen and (max-width : 860px) {

    .company_history_contents {
        margin : 0;
        padding: 100px;
        flex-direction: column;
    }

    .company_history_contents2 {
        flex-direction: column;
        padding: 100px;
        margin: 0;
    }

    .history_contents {
        width: 100%;
    }

    .history_title h3 {
        font-size: 32px;
    }

    .history_title .highlight {
        font-size: 46px !important;
    }

    .history_title img {
        margin: 0 auto 50px;
        width: 380px !important;
        height: 380px !important;
    }

    .history_text img {
        margin-right: 15px;
    }

    .history_year {
        font-size: 22px;
        margin-right: 20px;
    }

    .history_month {
        width: auto;
        margin-right: 10px; 
    }

    .history_text ul,
    .history_text ul li{
        width: 100%;
        margin-top: 5px;
        word-break: keep-all;
    }
}

@media screen and (max-width : 640px) {
    .company_history_contents {
        padding: 50px 20px;
    }

    .company_history_contents2 {
        padding: 50px 20px;
    }

}

/********************************* Tab Section *********************************/
.tabs {
    display: inline-block;
    overflow: hidden;
    background: none;
    width: 100%;
}

.tab-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;

    float: left;
    cursor: pointer;
    padding: 10px 16px;
    margin-right: 10px;
    transition: 0.3s;
    
    font-weight: 600;
    font-size: 16px;
    color: black;
    word-break: keep-all;
}

.tab-link.active, .tab-link:hover {
    background-color: var(--main-color);
    color: white;
}

@media screen and (max-width: 640px) {
    .tab-link {
        width: 16%;
        height: 40px;
        margin: 1px;
    
        background-color: #f1f1f1;
        padding: 10px;
        
        font-weight: 500;
        font-size: 12px;
    }
}

/********************************* Tab content *********************************/

.certified_category {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.certified_category li,
.certified_category li button {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    margin-right: 15px;

    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 20px;
    color: var(--main-color);
}

.certified_category button.tab-link {
    padding: 10px 25px 8px;
    cursor: pointer;
    background-color: transparent;
    color: #a2a2a2;

    transition: border 0.3s;
}

.certified_category .tab-link.active,
.certified_category .tab-link:hover {
    color: var(--main-color);
}

.tab-content {
    display: none;
    padding: 30px 0;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

.patent_group {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.patent_group_area {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;

    background-color: #FAFAFA;
    padding: 30px;
    gap: 30px;
}

.patent_group_txt {
    text-align: center;
}

#pagenation_area {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 100px auto;
}

.pagenation li {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 0 20px;

    font-weight: 400;
    font-size: 20px;
}

.pagenation li:first-child,
.pagenation li:last-child {
   width: 50px;
   height: 50px;
   margin: 0 20px;
   border-radius: 50px;
   background-color: transparent;
   color: rgba(0,0,0,0.3);
}

.pagenation li:first-child a,
.pagenation li:last-child a {
   color: rgba(0,0,0,0.3);
}

.pagenation li.active {
    background-color: transparent;
    color: black;
    font-weight: 600;
}

.pagenation li.disabled {
    pointer-events: none;
    cursor: default;
}

.pagenation li.disabled a {
    color: rgba(0,0,0,0.1);
}

@media screen and (max-width: 1200px) {

    .main-contents {
        padding: 0 15px;
    }

    .patent_group_area {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 45%;

        background-color: #FAFAFA;
        padding: 30px;
        gap: 10px;
    }
}

@media screen and (max-width: 640px) {
    .tab-content {
        width: 100%;
        padding: 0;
    }

    .certified_category ul {
        width: 100%;
        justify-content: center;
    }

    .certified_category li button {
        justify-content: center;
        margin: 0;
    }

    .certified_category button.tab-link {
        padding: 0;
        white-space: nowrap;
    }

    .patent_group {
        width: 100%;
        flex-direction: column;
        word-break: keep-all;
    }

    .patent_group_area {
        width: 100%;
    }
}


/***************** Product Group *******************/

.product_group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(370px, 3fr));
    gap: 40px;
}

.product_group a {
    width: 100%;
}

.product_group a:hover {
    text-decoration: none;
}

.product_group a:hover .product_box{
    scale: calc(1.05);
}

.product_box {
    position: relative;
    width: 100%;
    height: 460px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;

    border: 1px solid #e0e0e0;
    background: #F5F5F5;

    transition: 0.3s;
}

.product_box img{
    width: fit-content;
    max-width: 300px;
    max-height: 300px;
}

.product_info {
    position: absolute;
    bottom: 0;
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;

    border-top: 1px solid #e0e0e0;
    background-color: white;

    font-size: 17px;
    font-weight: 400;
    color: #aaaaaa;
}

.product_box_title {
    display: inline-block;
    width: 100%;
    margin: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-weight: 500;
    color: #352F2D;
    font-size: 24px !important;
    line-height: 34px;
    text-align: left;
    word-break: keep-all;
}

.product_box_subinfo {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.product_box_subinfo p {
    margin: 0;
    font-size: 15px;
}

.product_box_date {
    text-align: center;
}

.product_group2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(560px, 2fr));
    justify-items: center;
    gap: 40px;
}

.product_group2 a {
    width: 100%;
}

.product_group2 a:hover {
    text-decoration: none;
}

.product_group2 a:hover .product_box{
    scale: calc(1.05);
}

.product_group2 .product_box {
    position: relative;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: -50px;
}

.product_group2 .product_box img{
    max-height: 360px;
}

.product_group2 .product_info {
    position: absolute;
    bottom: 0;
}

.card_box_top_blue {
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-top: 12px solid #0085CF;
    border-radius: 10px;
    padding: 50px;

    background-color: white;
}

@media screen and (max-width: 860px) {
    .product_group {
        width: 100%;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

@media screen and (max-width: 640px) {
    .product_group .product_box {
        width: 100% ;
        height: fit-content;
    }

    .product_group2 {
        display: inline-flex;
    }
}

/***************** NEWS / Culture Hero Section ***************/
.hero-section-2 {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    gap: 30px;
}

.hero-section-2 .news-article{
    width: 48%;
}

.hero-section-2 .article-card{
    width: 100%;
    display: inline-flex;
    flex-direction: column;
}

.hero-section-2 .article-card img{
    width: 100%;
    height: 360px;
}

.hero-section-2 .article-card .news_title{
    margin: 0;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 22px;
    line-height: 2rem;
}

.hero-section-2 .article-card .news_content{
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-inline-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;

    font-size: 16px;
    line-height: 2.2rem;
}

/*************Job Swiper Section ************/
.swiper-container {
    width: 90%;
    height: 100%;
    position: relative;
    padding: 0 50px 0 30px;

    overflow: hidden;

    text-align: center;
}

.swiper-wrapper {
    width: 90%;
}

@media screen and (max-width:640px) {
    .swiper-container {
        margin-left: 20%;
    }
}

/****************Subpage News *****************/

.main-full .news-article {
    padding-top: 20px;
    border-top: 2px solid #093696;
    width: 100%;
}

.main-full .article-card.left-thumb {
    margin-bottom: 10px;
}

.main-full .article-card.left-thumb a{
    display: inline-flex;
    flex-direction: row;
    margin-bottom: 8px;
}

.main-full .article-card.left-thumb a:hover{
    z-index: 999;
    background-color: rgba(230, 243, 255, 0.1);
    border-radius: 5px;
}

.main-full .article-card.left-thumb a img{
    display: inline-block;
    width: 360px;
    height: 240px;
    margin-right: 20px;
}

.main-full .article-card.left-thumb a .newsWithThumb{
    display: inline-block;
    width: 65%;
}

.main-full .article-card.left-thumb a .newsWithThumb h4{
    font-size: 20px;
    padding-bottom: 5px;
}

.main-full .article-card.left-thumb a .newsWithThumb .news_summary{
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    line-height: 2rem;
}

.button_area {
    max-width: 1500px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

#notice_list {
    width: 100%;
    max-width: 1500px;
    border-top: 2px solid black;
    border-collapse: collapse;
}

#notice_list tr td{
    padding: 20px 10px;
    border-bottom: 1px solid #d8d8d8;
}

.map_info {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding: 50px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 50px;
    gap: 20px;
}

.map_info p {
    display: inline-block;
    width: 46%;
    font-size: 18px;
    font-weight: 400;
}

.map_info p:first-child {
    width: 60%;
}

.map_info .map_title {
    display: inline-block;
    width: 150px;
    color: #0085CF;
    font-weight: 500;
}

@media screen and (max-width: 860px) {
    .map_info {
        padding: 20px;
        gap: 10px;
    }

    .map_info p,
    .map_info p:first-child {
        width: 100%;
        font-size: 18px;
    }

    .map_info .map_title {
        display: inline-block;
        margin-bottom: 10px;
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .map_info {
        flex-direction: column;
    }
}