/* Sub Header section */
.subpage_header {
    display: flex;
    padding-top: 120px;
    justify-content: center;
    align-items: flex-start;
    word-break: keep-all;
    background-position: center;
}

.subpage_header .header_title {
    display: inline-flex;
    justify-content: space-between;
    align-items: baseline;
    max-width: 865px;
    width: 100%;
    margin: 0 auto;
}

.subpage_header h1 {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    max-width: 865px;
    width: 80%;
    margin: 0 auto;

    color: black;
    font-size: 1.8rem;
}

.subpage_header .header_title h1 {
    margin: 0;
}

.subpage_header h1 > span {
    margin-left: 20px;
    color: black;
    font-size: 1rem;
    font-weight: 300;
}

a.catalogue_down{
    font-size: 0.9rem;
    font-weight: 400;
    color: #17619E;
}

a.catalogue_down:hover{
    text-decoration: underline;
}

.product_desc_title a.catalogue_down {
    display: block;
    margin-top: 10px;
    font-size : 1rem;
}

.subpage_header.product {
    padding-top: 60px;
}

@media screen and (max-width : 860px) {
    .subpage_header {
        padding: 120px 50px 0;
        min-height: 240px;
    }

    .subpage_header h1 {
        font-size: 30px;
    }

    .subpage_header .subpage_category button {
        font-size: 16px;
        width: 45%;
        height: 40px;
    }

    .subpage_header.product {
        padding-top: 0;
        min-height: 180px;
    }
}

@media screen and (max-width : 640px) {
    .subpage_header {
        padding: 100px 30px 0;
    }

    .subpage_header .header_title {
        flex-direction: column;
        gap: 10px;
    }

    .subpage_header h1 {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .subpage_header h1 > span {
        margin-left: 0;
    }

    .product_desc_title a.catalogue_down{
        margin-top: -20px;
        font-size: 1.2rem;
    }

    a.catalogue_down{
        font-size: 1.2rem;
    }
}

/************ BreadCrumb Section ************/
.breadcrumb {
    display: inline-flex;
    justify-content: flex-start;
    max-width: 865px;
    width: 100%;
    margin: 0 auto 30px;
}

.breadcrumb ul li a{
    display: inline-flex;
    height: 1rem;
    font-size : 0.6rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
}

.breadcrumb ul li:not(:last-child) a::after{
    display: inline-block;
    width: 30px;
    text-align: center;
    content: ">";
}

.breadcrumb ul li a:hover{
    text-decoration: none;
}

.page_description {
    padding-top: 120px;
    align-items: center;
    text-align: center;

    font-size: 40px;
    font-weight: 600;
    line-height: 1.2em;
}


/* Sub Header section */
.sub_header {
    max-width: 865px;
    margin: 0 auto;
    display: flex;
    min-height: 430px;
    padding: 135px 0 60px;
    align-items: center;
}

.page_description nav ul {
    gap: 15px;
}

.page_description nav ul li {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.page_description nav ul li a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    
    padding: 0 20px;
    height: 55px;
    background-color: #F5F5F5;
    border-radius: 50px;

    font-size: 20px;
    font-weight: 500;
}

.page_description nav ul li.active a,
.page_description nav ul li a:hover{
    background-color: #0085CF;
    color: white;
    cursor: pointer;
}

@media screen and (max-width : 640px) {

    .sub_header {
        padding: 135px 0 10px;
        min-height: 360px;
    }

    .page_description h1 {
        font-size: 30px;
    }

    .page_description nav ul {
        width: 92vw;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page_description nav ul li {
        width: 45%;
    }

    .page_description nav ul li a {
        word-break: keep-all;
        font-size: 16px;
        width: 100%;
        height: 40px;
    }

}

/********************** Greeting *********************/

.company_contents {
    position: relative;
    width: 100%;
    margin: 50px 0 0;
    background-image: url('/img/bg_greeting.png');
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: 50px;
    background-size: cover;
}

.company_contents .container {
    max-width: 865px;
    margin : 0 auto;
    padding: 60px 0 120px;
    border-top: 1px solid rgba(0,0,0,0.2);
    align-items:flex-end;
}

.company_contents_txt {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;

    max-width: 45%;
    width: 100%;

    color: black;
    word-break: keep-all;
}

.company_contents_txt h2 {
    text-align: left;
    width: 100%;
    font-size: 1.3rem;
    font-weight: 500;
}

.company_contents_txt > p {
    text-align: left;
    width: 100%;
    padding: 30px 0;
    font-size: 14px;
    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;
}

@media screen and (max-width : 1300px) {
    .company_contents_txt {
        max-width: 80%;
        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 > p {
        font-size: 18px;
        padding: 0;
    }
}

@media screen and (max-width : 860px) {
    .company_contents_txt {
        max-width: 95%;
        padding: 80px 30px !important;
    }

    .company_contents_txt h2 {
        font-size: 24px;
        margin-bottom: 50px;
    }

    .company_contents_txt > p {
        width: 100%;

        font-size: 16px;
        text-align: left;
    }
}

@media screen and (max-width : 640px) {
    .company_contents .container {
        padding: 30px 0 120px;
        align-items: center;
    }

    .company_contents {
        margin: 0 ;
        padding: 0 ;
    }

    .company_contents_txt {
        max-width: 100%;
        padding: 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;
    }
}

.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;
    }
}

/********************** History *********************/

.history_contents_area {
    position: relative;
    width: 100%;
    background-image:url('/img/bg_history.png');
    background-size:contain;
    background-repeat:no-repeat;
    background-position-x:50px;
    background-position-y:100px;
    padding: 50px 0;
}

.history_contents_bg {
    width: 100%;
    height: 820px;
    position: absolute;
    top: 0;
    z-index: -1;

    background-repeat: no-repeat;
    background-size: cover;
}

.company_history_contents {
    max-width: 865px;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    margin: 0 auto;
    padding: 100px 0;
    border-top: 1px solid rgba(0,0,0,0.2);
}

.history_contents {
    width: 70%;
    padding: 50px;
    position: relative;
    display: inline-flex;
    flex-direction: column;

    background-color: white;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.history_text {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 30px 20px;
}

.history_text:not(:first-child) {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.history_year {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-color);

    margin: 0;
    margin-right: 70px;
}

.history_month {
    width: 30px;
    font-size: 0.9rem;
    line-height: 1.4rem;
    font-weight: 600;
    color: rgba(35, 24, 21, 1);
    margin-right: 24px;
}

.history_text ul {
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
}

.history_text ul li{
    display: inline-flex;
    align-items: center;
    margin: 0;

    font-size: 0.85rem;
    line-height: 1.4rem;
    font-weight: 200;
}

.history_text ul li:not(:last-child) {
    padding-bottom: 15px;
}

@media screen and (max-width : 1300px) {
    .company_history_contents {
        padding: 100px 30px;
    }
    .history_contents {
        padding: 30px;
    }
}

@media screen and (max-width : 860px) {

    .company_history_contents {
        width: 90%;
        flex-direction: column;
    }

    .history_contents {
        width: 100%;
    }

    .history_month {
        margin-right: 10px; 
    }

    .history_text ul,
    .history_text ul li{
        width: 100%;
        word-break: keep-all;
    }
}

@media screen and (max-width : 640px) {
    .history_contents_area {
        background-position-x: 0;
        background-position-y: 50px;
        padding: 0;
    }

    .company_history_contents {
        width: 100%;
        padding: 100px 0;
    }

    .history_contents {
        width: 100%;
        padding: 30px 10px;
        position: relative;
        display: inline-flex;
        flex-direction: column;
    
        background-color: white;
        border-radius: 0;
        box-shadow: none;
    }

    .history_year {
        font-size: 1.2rem;
        margin-right: 30px;
    }

    .history_month {
        margin-right: 5px; 
    }

}

/********************************* 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;
    }
}

/***************** Subpage Hero ****************/
.sub-hero {
    height : 500px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #F7F7F7;
}

@media screen and (max-width: 860px) {
    .sub-hero {
        height: 500px;
        background-size: cover;
    }
}

@media screen and (max-width: 640px) {
    .sub-hero {
        height: 330px;
        background-position-y : 20px;
    }
}

/******************************** Product Group *********************************/

.product_contents.container {
    max-width: 865px;
    width: 100%;
    margin : 30px auto;
    border-top: 1px solid rgba(0,0,0,0.2);
}

.product_overview {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
}

.overview_title {
    font-weight: 800;
}

.overview_description {
    display: inline-flex;
    flex-direction: column;
    width: 73%;
    gap: 50px;
}

.overview_description p {
    font-size: 0.9rem;
    line-height: 1.6rem;
    word-break: keep-all;
}

.overview_description .product_multiple_img {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
}

.overview_description .product_multiple_img img{
    width: 32%;
}

.product_desc_wrapper {
    margin: 50px 0;
}

.product_desc_wrapper img{
    width: 100%;
}

.product_footer {
    width: 100%;
    padding: 30px 50px;
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    font-size: 0.8rem;
    line-height: 1.6rem;
    color: rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 860px) {
    .product_contents.container {
        margin: 0;
    }
}

@media screen and (max-width: 640px) {
    .product_contents.container {
        margin: 0;
    }


    .product_overview {
        flex-direction: column;
        gap: 10px;
    }

    .overview_title {
        display: none;
    }

    .overview_description {
        width: 100%;
        overflow: hidden;
    }

    .overview_description > img{
        width: fit-content;
        transform-origin: 0% 0%;
        transform: scale(0.6);
    }

    .overview_description .product_multiple_img {
        margin: -150px 0 150px;
        flex-direction: column;
        align-items: center;
    }

    .overview_description .product_multiple_img img{
        width: 90%;
        margin: 10px;
    }

    .product_desc_wrapper {
        margin: -120px 0 20px;
        width: 100%;
        overflow-x: scroll;
        padding: 30px 0;
    }
    
    .product_desc_wrapper img{
        width: 200% !important;
    }

    .product_footer {
        padding: 20px 30px;
        font-size: 1rem;
        line-height: 1.6rem;
    }
}

/********************************* Tab content *********************************/

.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;}
}

#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;

    width: 30px;
    height: 30px;
    padding: 0 10px;

    font-weight: 400;
    font-size: 16px;
 
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.pagenation li:first-child,
.pagenation li:last-child {
   margin: 0 20px;
   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: var(--main-color);
}

.pagenation li.active a{
    color: white !important;
    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: 640px) {
    .tab-content {
        width: 100%;
        padding: 0;
    }
}


/***************** 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;
}

@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;
    }
}

/**************** News / Board *****************/

.news_contents {
    max-width: 865px;
    margin: 30px auto;
    padding: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.board_contents {
    max-width: 865px;
    margin: 65px auto;
    padding: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

#news_list {
    width: 100%;
    max-width: 865px;
    border-collapse: collapse;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

#news_list th{
    height : 60px;
    background-color: rgba(0, 18, 62, 1);
    color: white;
    text-align: center;

    font-weight: 500;
    font-size: 17px;
}

#news_list tr td{
    padding: 20px 10px;
}

#news_list tr:not(:last-child) td{
    border-bottom: 1px solid #d8d8d8;
}

#news_list tr td:first-child{
    font-weight: 600;
}

#news_list tr td:not(:nth-child(2)){
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
}

#news_list tr td:nth-child(3){
    font-size: 0.8rem;
}

@media screen and (max-width: 860px) {
    .news_contents {
        width: 100%;
        padding: 50px 30px;
    }
}

@media screen and (max-width: 640px) {
    .news_contents {
        width: 100%;
        padding: 50px 30px;
    }
}

/***************** Map Section *******************/

.map_info {
    display: inline-flex;
    flex-direction: row;
    width: 100%;
    padding: 20px 0;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
}
 
.map_info p {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #323232;
    font-size: 0.8rem;
    font-weight: 300;
}

.map_info .map_title {
    display: inline-block;
    color: #0085CF;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 15px;
}

.map_info .map_title i {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    justify-content: center;
    align-items: center;
    color: #0085CF;
    background-color: rgba(0, 140, 214, 0.05);
}

@media screen and (max-width: 860px) {
    .map_info {
        padding: 30px 0;
        gap: 10px;
    }

    .root_daum_roughmap {
        width: 100% !important;
    }

    .map_info p,
    .map_info p:first-child {
        width: 100%;
        align-items: center;
    }

    .map_info .map_title {
        display: inline-block;
        width: 20%;
    }
}

@media screen and (max-width: 640px) {
    .map_info {
        flex-direction: column;
    }

    .map_info p {
        font-size: 1rem;
        justify-content: flex-start;
    }

    .map_info .map_title {
        font-size: 1rem;
    }
}

/********************* Certificate ********************/
.certificate_contents {
    max-width: 865px;
    margin : 30px auto;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,0.2);
}

.certificate_contents #Certificate{
    display: block;
    padding: 30px 0;
}

.patent_group {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px 30px;
}

.patent_group_area {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    max-width: 180px;
    width: 24%;
    gap: 10px;
}

.patent_group_area img {
    width: 100%;
}

.patent_group_txt {
    word-break: keep-all;
    text-align: center;
    color: black;
    font-size: 0.8rem;
}

@media screen and (max-width: 860px) {
    .patent_group {
        width: 100%;
        display: inline-flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px 20px;
    }

    .patent_group_area {
        display: inline-flex;
        align-items: center;
        width: 45%;
    }
}

@media screen and (max-width: 640px) {
    .tab-content {
        width: 100%;
        padding: 0;
    }

    .patent_group {
        width: 100%;
        flex-direction: column;
        word-break: keep-all;
        align-items: center;
    }

    .patent_group_area {
        width: 100%;
    }
}
