/* 메인페이지 */
@media screen and (max-width: 820px) {
    .main-visual {
        height: 740px;
    }
}

.brand .left {
    background: #00407b;
}
.brand .right .movie-wrap .movie iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}
.main_bnr_wrap {
    background: #f2f2f2;
}
.main_bnr_wrap img {
    width: 100%;
    display: block;
}
.customer .borad_output > table {
    table-layout: fixed;
    width: 100%;
}
.customer .section-info p {
    padding-bottom: 20px;
}
.customer .section-info > a {
    background: #00407b;
    color: #fff;
    display: inline-flex;
    border: none;
    margin-bottom: 20px;
}
@media screen and (max-width: 1280px) {
    .customer .section-info p {
        padding-bottom: 15px;
    }
    .customer .section-info > a {
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 1024px) {
    .customer .section-info p {
        padding-bottom: 10px;
    }
    .customer .section-info > a {
        margin-bottom: 10px;
    }
}

.customer .borad_output > table .board_output_2_tr > td:nth-child(1) {
    width: 3%;
}
.customer .borad_output > table .board_output_2_tr > td:nth-child(1) img {
    display: block;
}
.customer .borad_output > table .board_output_2_tr > td:nth-child(2) a {
    white-space: nowrap;
    width: auto;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
}
.customer .borad_output > table .board_output_2_tr > td:nth-child(2) img {
    display: none;
}
.customer .borad_output > table .board_output_2_tr > td:nth-child(3) {
    width: 100px;
    text-align: right;
}

.onestop_wrap {
    background: #f2f2f2;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
.onestop_wrap .onestop_title {
    padding-bottom: 60px;
}
.onestop_wrap .onestop_title h2 {
    color: #000000;
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    display: inline-block;
}
.onestop_wrap .img_box {
    display: flex;
    justify-content: center;
    margin: 0 -20px;
}
.onestop_wrap .img_box img {
    object-fit: cover;
    width: 100%;
}
.onestop_wrap .img_box li {
    margin: 0 20px;
}
.onestop_wrap .img_box p {
    font-size: 21px;
    letter-spacing: -1px;
    margin-top: 10px;
}

.onestop_wrap .dec {
    margin-top: 60px;
}
.onestop_wrap .dec p {
    color: #666;
    font-size: 20px;
    display: block;
    line-height: 1.8;
    letter-spacing: -1px;
}
@media screen and (max-width: 1280px) {
    .onestop_wrap .img_box {
        margin: 0 -15px;
    }
    .onestop_wrap .img_box li {
        margin: 0 15px;
    }
    .onestop_wrap .onestop_title {
        padding-bottom: 40px;
    }

    .onestop_wrap .onestop_title h2 {
        font-size: 32px;
    }

    .onestop_wrap .img_box p,
    .onestop_wrap .dec p {
        font-size: 18px;
    }
    .onestop_wrap .dec {
        margin-top: 40px;
    }
}
@media screen and (max-width: 1024px) {
    .onestop_wrap .img_box {
        margin: 0 -10px;
    }
    .onestop_wrap .img_box li {
        margin: 0 10px;
    }
    .onestop_wrap .onestop_title h2 {
        font-size: 30px;
    }
    .onestop_wrap .img_box p,
    .onestop_wrap .dec p {
        font-size: 16px;
    }
}
@media screen and (max-width: 820px) {
    .onestop_wrap .img_box {
        flex-wrap: wrap;
        margin: auto;
        max-width: 400px;
    }
    .onestop_wrap .img_box li {
        margin: 0 5px;
        width: calc(100% / 2 - 10px);
        margin-top: 20px;
    }
    .onestop_wrap .img_box li:nth-child(1),
    .onestop_wrap .img_box li:nth-child(2) {
        margin-top: 0px;
    }
    .onestop_wrap .onestop_title {
        padding-bottom: 30px;
    }
    .onestop_wrap .onestop_title h2 {
        font-size: 26px;
    }
    .onestop_wrap .img_box p,
    .onestop_wrap .dec p {
        font-size: 15px;
    }
    .onestop_wrap .img_box p {
        margin-top: 5px;
    }
    .onestop_wrap .dec {
        margin-top: 30px;
    }
}
@media screen and (max-width: 480px) {
    .onestop_wrap .img_box {
        flex-wrap: wrap;
        margin: 0 -5px;
        max-width: none;
    }
    .onestop_wrap .onestop_title {
        padding-bottom: 25px;
    }
    .onestop_wrap .onestop_title h2 {
        font-size: 22px;
    }
    .onestop_wrap .dec p {
        margin-top: 5px;
    }
    .onestop_wrap .dec {
        margin-top: 25px;
    }
}

.portfolio_wrap {
    background: #f2f2f2;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
.portfolio_wrap .portfolio_title {
    padding-bottom: 60px;
}
.portfolio_wrap .portfolio_title h2 {
    color: #000000;
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    display: inline-block;
    padding-bottom: 15px;
}
.portfolio_wrap .portfolio_title p {


    color: #666666;
    font-size: 16px;
    line-height: 1.67;
    letter-spacing: -1px;
}
.portfolio_wrap .img_box {
    display: flex;
    justify-content: center;
    margin: 0 -20px;
}

.portfolio_wrap .img_box li {
    margin: 0 20px;
    position: relative;
}
.portfolio_wrap .img_box img {
    object-fit: cover;
    width: 100%;
}
.portfolio_wrap .img_box p {
    font-size: 21px;
    letter-spacing: -1px;
    margin-top: 10px;
}
.portfolio_wrap .img_box:nth-child(3) {
    margin-top: 40px;
}
.portfolio_wrap .img_box:nth-child(3) p {
    margin-top: -27px;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    font-size: 19px;
}
@media screen and (max-width: 1280px) {
    .portfolio_wrap .img_box {
        margin: 0 -15px;
    }
    .portfolio_wrap .img_box li {
        margin: 0 15px;
    }
    .portfolio_wrap .portfolio_title {
        padding-bottom: 40px;
    }

    .portfolio_wrap .portfolio_title h2 {
        font-size: 32px;
    }

    .portfolio_wrap .img_box p {
        font-size: 18px;
    }
    .portfolio_wrap .img_box:nth-child(3) p {
        margin-top: -25px;
        font-size: 17px;
    }
}
@media screen and (max-width: 1024px) {
    .portfolio_wrap .img_box {
        margin: 0 -10px;
    }
    .portfolio_wrap .img_box li {
        margin: 0 10px;
    }
    .portfolio_wrap .portfolio_title h2 {
        font-size: 30px;
    }
    .portfolio_wrap .img_box p {
        font-size: 16px;
    }
    .portfolio_wrap .img_box:nth-child(3) {
        margin: auto;
        margin-top: 50px;
    }
    .portfolio_wrap .img_box:nth-child(3) p {
        font-size: 15px;
    }
}
@media screen and (max-width: 820px) {
    .portfolio_wrap .img_box {
        flex-wrap: wrap;
        margin: auto;
        max-width: 480px;
    }
    .portfolio_wrap .img_box:nth-child(3) {
        margin-top: 40px;
        max-width: 400px;
    }
    .portfolio_wrap .img_box li {
        margin: 0 5px;
        width: calc(100% / 3 - 10px);
        margin-top: 20px;
    }
    .portfolio_wrap .img_box li:nth-child(1),
    .portfolio_wrap .img_box li:nth-child(2),
    .portfolio_wrap .img_box li:nth-child(3) {
        margin-top: 0px;
    }
    .portfolio_wrap .portfolio_title {
        padding-bottom: 30px;
    }
    .portfolio_wrap .portfolio_title h2 {
        font-size: 26px;
    }
    .portfolio_wrap .img_box p {
        font-size: 15px;
    }
    .portfolio_wrap .img_box p {
        margin-top: 5px;
    }
    .portfolio_wrap .img_box:nth-child(3) p {
        font-size: 14px;
        margin-top: -20px;
    }
}
@media screen and (max-width: 480px) {
    .portfolio_wrap .img_box {
        flex-wrap: wrap;
        margin: 0 -5px;
        max-width: none;
    }
    .portfolio_wrap .img_box:nth-child(3) {
        max-width: 320px;
    }
    .portfolio_wrap .portfolio_title {
        padding-bottom: 25px;
    }
    .portfolio_wrap .portfolio_title h2 {
        font-size: 22px;
    }
    .portfolio_wrap .img_box:nth-child(3) p {
        margin-top: -15px;
    }
}

/* 제품소개 설비현황 게시판 */
.custom_board .output_gal_type1 table,
.custom_board .output_gal_type2 table,
.custom_board .output_gal_type3 table {
    table-layout: fixed;
}

.custom_board .output_gal_type1 table br,
.custom_board .output_gal_type2 table br,
.custom_board .output_gal_type3 table br {
    display: none;
}

.custom_board .board_output_gallery_img img {
    border: 1px solid #ccc;
    margin: auto;
    display: block;
}
.custom_board .board_output_gallery_img a::before,
.custom_board .board_output_gallery_img a::after {
    display: none;
}
.custom_board .board_output_gallery_img a {
    display: block;
}

.custom_board .board_output_gallery_subject {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0 10px;
    max-width: 420px;
    margin: auto;
    margin-top: 20px;
    line-height: 1.2;
}

.custom_board .board_output_gallery_subject br {
    display: none;
}
.custom_board .board_output_gallery_subject a {
    color: #000;
    font-size: 20px;
    font-weight: 500;
    display: block;
}

.custom_board .board_output_gallery_description {
    color: #787878;
    font-size: 15px;
    display: block;
    text-align: center;
    width: 100%;
    max-width: 420px;
    margin: auto;
    margin-bottom: 50px;
    margin-top: 10px;
    padding: 0 10px;
    line-height: 1.5;
}
.custom_board .board_output_gallery_subject,
.custom_board .board_output_gallery_description {
    word-break: keep-all;
}
.custom_board .output_gal_type1 > tbody > tr {
    display: flex;
    width: 100%;
}
.custom_board .output_gal_type1 > tbody > tr > td {
    width: calc(100% / 3);
}

@media screen and (max-width: 1920px) {
    .custom_board .output_gal_type1 tr td {
        width: calc(100% / 3);
        /* width: 33%; */
    }

    .custom_board .output_gal_type2 tr td {
        width: 25%;
    }

    .custom_board .output_gal_type3 tr td {
        width: 25%;
    }
}

@media screen and (max-width: 1280px) {
    .custom_board .board_output_gallery_subject a {
        font-size: 18px;
    }
    .custom_board .board_output_gallery_description {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .custom_board .board_output_gallery_subject a {
        font-size: 17px;
    }
    .custom_board .board_output_gallery_description {
        font-size: 14px;
    }
}

@media screen and (max-width: 820px) {
    .custom_board .board_output_gallery_subject a {
        font-size: 16px;
    }
    .custom_board .board_output_gallery_description {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .custom_board .board_output_gallery_subject {
        margin-top: 10px;
    }
    .custom_board .board_output_gallery_description {
        margin-bottom: 35px;
        margin-top: 5px;
    }

    .custom_board .output_gal_type1 > tbody > tr {
        display: block;
    }
    .custom_board .output_gal_type1 > tbody > tr > td {
        width: 100%;
    }
    .custom_board .output_gal_type1 tr td {
        width: 100%;
        display: block;
    }

    .custom_board .output_gal_type2 tr td {
        width: 100%;
        display: block;
    }

    .custom_board .output_gal_type3 tr td {
        width: 100%;
        display: block;
    }
}
/* 헤더 */
.nav-mobile-menu ul li a {
    color: #aaa;
    display: inline-flex;
}
.content .links li label {
    display: none;
}

/* 푸터 */
footer .foot-wrap .f-cont .f-logo img {
    width: auto !important;
}
footer .foot-wrap .f-etc .tel {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}
footer .foot-wrap .f-etc .tel::before,
footer .foot-wrap .f-etc .tel::after,
footer .foot-wrap .f-etc .tel > span::after {
    display: none;
}
footer .foot-wrap .f-etc .tel > span::before {
    position: initial;
}

/* 회사소개 */
.history {
    display: block;
}
.history .history-cont {
    margin: auto;
    width: 100%;
    max-width: 800px;
}
@media screen and (max-width: 768px) {
    .history .history-cont {
        width: auto;
    }
}
.sub-page .bnr_wrap img {
    display: block;
    width: 100%;
}

/* 제품소개 */

.product_movie {
    display: none;
}
.product_movie .left {
    background: #f2f2f2;
    width: 50%;
}
.product_movie .right {
    width: 50%;
}
.product_movie .right .movie {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}
.product_movie .right .movie iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 820px) {
    .product_movie {
        flex-direction: column;
    }
    .product_movie .left,
    .product_movie .right {
        width: 100%;
    }
}

/* 게시판 리스트 수정 */

.custom_product_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.custom_board .custom_product_list > table {
    width: calc(100% / 3 - 30px) !important;
    margin: 0px 15px;
}

.custom_board .custom_product_list > table tr td {
    width: 100%;
    padding: 0;
}
.custom_board .custom_product_list > table tr td.bbsnewf5 {
    padding-bottom: 50px;
}
.custom_board .custom_product_list > table tr td.bbsnewf5 .gallery_etc {
    display: none;
}
.custom_board .custom_product_list > table tr td.bbsnewf5 .gallery_subject {
    padding: 0 !important;
}
.custom_board .custom_product_list > table tr td.bbsnewf5 .gallery_subject a {
    margin-top: 20px;
    line-height: 1.2;
}
.custom_board .custom_product_list > table tr td a {
    position: initial;
    padding: 0;
    font-size: 20px;
    font-weight: 500;
}
.custom_board .custom_product_list > table tr td img {
    object-fit: cover;
    height: 280px;
    width: 100%;
    border: 1px solid #ccc;
    display: block;
    margin: auto;
}
@media screen and (max-width: 1480px) {
    .custom_board .custom_product_list > table tr td img {
        height: 20vw;
    }
}
@media screen and (max-width: 1280px) {
    .custom_board .custom_product_list > table tr td a {
        font-size: 18px;
    }
}
@media screen and (max-width: 1024px) {
    .custom_board .custom_product_list > table tr td a {
        font-size: 16px;
    }
}
@media screen and (max-width: 820px) {
    .custom_product_list {
        margin: 0 -5px;
    }
    .custom_board .custom_product_list > table {
        width: calc(100% / 2 - 10px) !important;
        margin: 0px 5px;
    }
    .custom_board .custom_product_list > table tr td img {
        height: 34vw;
    }
    .custom_board .custom_product_list > table tr td a {
        font-size: 15px;
    }
    .custom_board .custom_product_list > table tr td.bbsnewf5 {
        padding-bottom: 35px;
    }
    .custom_board .custom_product_list > table tr td.bbsnewf5 .gallery_subject a {
        margin-top: 10px;
    }
}
.custom_board .custom_product_list > table.board {
    width: 100% !important;
    margin: 0;
}
.custom_board .custom_product_list > table.board tr {
    display: flex;
    align-items: center;
}
.custom_board .custom_product_list > table.board tr td {
    width: auto;
    display: flex;
    padding: 0 !important;
}
.custom_board .custom_product_list > table.board tr td:nth-child(3) {
    margin-left: 10px;
    margin-right: 30px;
}
.custom_board .custom_product_list > table.board tr td img {
    width: auto;
    height: auto;
    border: none;
}
.custom_product_list .list-btn-wrap {
    display: flex;
    width: 100%;
}
