@charset "utf-8";

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
    word-break: keep-all;
}

body {
    color: #222;
    line-height: 1.5;
    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;
}

:root {
    --h: 90px;
    --pad: 7%;
    --main: #000d4c;
    --f64: max(3rem, 4rem);
    --f54: max(2rem, 2.917vw);
    --f45: max(1.5rem, 2.292vw);
    --f30: max(1.25rem, 1.563vw);
    --f22: max(1rem, 1.146vw);
    --f20: max(1rem, 1.042vw);
    --f16: max(14px, 0.833vw);
}

a {
    display: block;
    color: inherit;
}

video {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

img {
    display: block;
    max-width: 100%;
}

.swiper {
    width: 100%;
}

section {
    display: block;
    width: 100%;
}

body.menu-open {
    overflow: hidden;
}

.m_menu {
    position: fixed;
    right: -100%;
    /* 처음엔 화면 밖에 있음 */
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.8);
}

.m_menu.active {
    right: 0;
    transition: 0.3s;
    /* 활성화 시 화면 안으로 들어옴 */
}

.m_menu .m_dep1 {
    width: 100%;
}

.m_menu .m_dep2 {
    display: none;
    height: 0;
}

.m_menu .m_dep1 li {
    padding-block: 0.5rem;
}

.m_menu .m_dep1 li a {
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    color: white;
    padding-bottom: 0.25rem;
    background-image: linear-gradient(to right, white, white);
    background-size: 0 0.2rem;
    background-repeat: no-repeat;
    background-position: bottom;
    transition: 0.5s;
}

.m_menu .m_dep1 li a:hover,
.m_menu .m_dep1 li a:focus {
    background-size: 5rem 0.25rem;
}

/* .m_menu .m_dep1 li.active .m_dep2 {
                            display: block;
                            height: auto;
                        } */

/* header */
header {
    position: fixed;
    top: 0;
    z-index: 10;
    left: 0;
    height: var(--h);
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0px 3px 5px #00000016;
    transition: 0.3s;
}

header:hover {
    background: white;
}

header:hover .header_wrap nav>ul>li>a {
    color: #222;
}

header .header_wrap {
    display: flex;
    height: 100%;
    position: relative;
    padding-inline: var(--pad);
    justify-content: space-between;
    align-items: center;
}

header .header_wrap .logo {
    height: 100%;
}

header .header_wrap .logo a {
    height: 100%;
    align-content: center;
}

header .header_wrap nav>ul {
    display: flex;
    position: relative;
}

header .header_wrap nav>ul>li {
    position: relative;
}

header .header_wrap nav>ul>li:hover>a {
    color: var(--main);
}

header .header_wrap nav>ul>li:hover>.dep2 {
    opacity: 1;
    visibility: visible;
}

header .header_wrap nav>ul>li>a {
    color: white;
    display: block;
    font-size: var(--f16);
    font-weight: 700;
    transition: 0.3s;
    padding: 2rem 2.3rem;
    width: 100%;
    text-align: center;
}

header .header_wrap nav .dep2 {
    position: absolute;
    background: #d9d9d9;
    padding-block: 1rem;
    width: 100%;
    top: 100%;
    left: 0;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

header .header_wrap nav .dep2 a {
    color: #222;
    padding-block: 0.5rem;
    letter-spacing: -0.25px;
    text-align: center;
    font-weight: 500;
    font-size: var(--f16);
    width: 100%;
}

header .header_wrap nav .dep2 li:hover>a {
    color: #000d4c;
    font-weight: 600;
}

header .ham_menu {
    cursor: pointer;
    display: none;
    padding: 1rem;
    padding-right: 0;
    position: relative;
    z-index: 999999;
}

/* main  */
main {
    position: relative;
    overflow: hidden;
    margin-top: var(--h);
}

main h3 {
    overflow: hidden;
    font-size: max(1.5rem, 3.333vw);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.4px;
}

.m1 {
    height: calc(100vh - var(--h));
}

.m1 .swiper {
    height: 100%;
    position: relative;
}

.m1 .swiper .swiper-slide:nth-of-type(1) {
    background: url(../img/m1_s1_low.jpg) no-repeat center / cover;
}

.m1 .swiper .swiper-slide:nth-of-type(2) {
    background: url(../img/m1_s2.jpg) no-repeat center / cover;
}

.m1 .swiper .swiper-slide:nth-of-type(3) {
    background: url(../img/m1_s3.jpg) no-repeat center / cover;
}

.m1 .swiper-pagination-bullet {
    position: relative;
    width: 24px;
    height: 24px;
    opacity: 1;
    margin: 0 6px;
    background-color: transparent;
    opacity: 0.9;
}

.m1 .swiper-pagination-bullet svg {
    position: absolute;
    display: flex;
    overflow: visible;
    inset: 0px;
    width: 100%;
    z-index: 22222;
    height: 100%;
    transform: rotate(-90deg);
}

.m1 .swiper-pagination-bullet circle {
    fill: none;
    stroke-width: 1.5;
    stroke: rgb(255, 255, 255);
    stroke-dasharray: 75;
    /* 2 * π * r = 2 * 3.14 * 18 (반지름) */
    stroke-dashoffset: 75;
    transition: stroke-dashoffset 4s ease;
    opacity: 0;
}

.m1 .swiper-pagination-bullet-active circle {
    stroke-dashoffset: 0;
    opacity: 1;
    /* 원이 차오르게 */
}

/* .m1 */
.m1 .swiper-pagination-bullet::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
}

.m1 .m1_swiper .swiper-pagination-bullets {
    left: var(--pad);
    bottom: 20%;
    background: transparent;
    width: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* .m1 .swiper-pagination-bullet-active {
  outline: 1px solid #fff;
} */

.swiper-pagination {
    position: absolute;
    /* height: 100%; */
    text-align: left;
    display: block;
    left: var(--pad);
    bottom: 25%;
    width: 100%;
    transition: 0.3s opacity;
    z-index: 10;
    min-height: 26px;
}

.m1 .swiper .swiper-slide .desc {
    position: absolute;
    overflow: hidden;
    padding-inline: 1rem;
    width: 100%;
    left: 50%;
    top: 42%;
    text-align: center;
    transform: translate(-50%, -50%);
    color: white;
    letter-spacing: -0.25px;
}

.m1 .swiper .swiper-slide .desc h3 {
    animation: fadeup 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-iteration-count: 1;
    opacity: 0;
}

.m1 .swiper .swiper-slide .desc p {
    overflow: hidden;
    font-size: max(1rem, 1.042vw);
    margin-top: 1.75rem;
    text-align: center;
    animation: fadeup 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-iteration-count: 1;
    animation-delay: 200ms;
    opacity: 0;
}

@keyframes fadeup {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.m2 .flex_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 100dvh;
    padding-inline: var(--pad);
    gap: 5rem;
}

.m2 .flex_wrap .title h3 {
    color: #222;
    overflow: hidden;
    text-align: center;
}

.m2 .flex_wrap ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3.7rem;
}

.m2 .flex_wrap ul li {
    display: flex;
    padding: 3.5rem;
    justify-content: center;
    flex-direction: column;
    border: 2px solid #757575;
    border-radius: 4rem;
    min-height: 390px;
    flex: 1;
    transition: 0.3s;
}

.m2 .flex_wrap ul li:hover {
    background-color: var(--main);
}

.m2 .flex_wrap ul li:hover>* {
    color: white;
}

.m2 .flex_wrap ul li span {
    color: #757575;
    display: block;
    font-size: var(--f30);
    font-weight: 500;
    margin-block: 0.5rem 0.75rem;
}

.m2 .flex_wrap ul li p {
    font-size: var(--f16);
    font-weight: 500;
    color: #757575;
}

.m2 .flex_wrap ul li a {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    font-size: var(--f16);
    margin-top: 2rem;
    font-weight: 500;
    color: #757575;
}

.m2 .flex_wrap ul li a>i {
    padding-bottom: 0.25rem;
}

.m3 .flex_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.m3 .vidbox {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.m3 .vidbox video {
    min-height: 300px;
}

.m3 .title {
    position: absolute;
    text-align: center;
}

.m3 .title>* {
    color: white;
}

.m3 .title span {
    font-size: var(--f30);
    letter-spacing: -0.25px;
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

.m3 .title a {
    border: 1px solid white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    display: inline-block;
    font-size: var(--f20);
    margin-top: 1.5rem;
    transition: 0.3s;
}

.m3 .title a:hover {
    background: white;
    color: var(--main);
}

/* sub */
.sub_banner {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sub_banner h3 {
    font-size: var(--f54);
    font-weight: 800;
    color: white;
    display: block;
}

.sub_banner>h4 {
    font-size: var(--f45);
    display: block;
    max-width: 80%;
    margin: 0 auto;
    color: #222;
    font-weight: 500;
    text-align: center;
    margin-top: 0.75rem;
}

.sub_banner.s1_1 {
    background: url(../img/s1_1.jpg) no-repeat center / cover;
}

.sub_banner.s1_2 {
    background: url(../img/s1_2.jpg) no-repeat center / cover;
}

.sub_banner.s1_3 {
    background: url(../img/s1_3.jpg) no-repeat center / cover;
}

.sub_banner.s1_4 {
    background: url(../img/s1_4.jpg) no-repeat center / contain;
}

.sub_banner.s2_1 {
    background: url(../img/s2_1.jpg) no-repeat center / cover;
}

.sub_banner.s3_1 {
    background: url(../img/s3_1.jpg) no-repeat center / cover;
}

.sub_banner.s3_2 {
    background: url(../img/s3_2.jpg) no-repeat center / cover;
}

.sub_banner img {
    display: block;
}

.sub_top {
    width: 100%;
}

.sub_top .sub_title {
    padding-top: 3rem;
    display: none;
}

.sub_top .sub_title h4 {
    font-size: var(--f54);
    padding-inline: var(--pad);
    font-weight: 800;
    color: var(--main);
    margin-bottom: 2rem;
}

.sub_top .sub_title h5 {
    font-size: var(--f45);
    padding-inline: var(--pad);
    font-weight: 500;
    margin-bottom: 4rem;
}

.sub_top ul {
    padding-inline: var(--pad);
    display: flex;
}

.sub_top .bread {
    position: relative;
    padding-top: 72px;
    width: 100%;
}

.sub_top .bread hr {
    background: #757575;
    height: 1px;
    border: none;
    margin: 0;
    padding: 0;
    outline: none;
}

.sub_top .bread ul {
    display: flex;
    justify-content: center;
}

.sub_top .bread ul li {
    text-align: center;
    flex-basis: 10rem;
    background-image: linear-gradient(to right, var(--main), var(--main));
    background-size: 0 0.25rem;
    background-repeat: no-repeat;
    background-position: bottom;
    transition: 0.5s;
    border: 1px solid #757575;
    border-bottom-width: 0;

    &.on {
        background-size: 100% 0.25rem;

        a {
            color: var(--main);
        }
    }

    &:hover {
        background-size: 100% 0.25rem;
        opacity: 0.72;

        a {
            color: var(--main);
        }
    }
}

.sub_top .bread ul li a {
    font-size: var(--f20);
    padding: 1rem;
    line-height: 1.1;
    width: 100%;
    color: #222;
    font-weight: 600;
    display: block;
    transition: 0.3s;
}

.page_desc {
    display: flex;
    padding-inline: var(--pad);
    justify-content: space-between;
    margin-top: 7%;
}

.page_desc.v2 {
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.page_desc.v2 .flex_right {
    width: 100%;
}

.page_desc .flex_left {}

.page_desc h5 {
    font-size: var(--f45);
    font-weight: 500;
    letter-spacing: -0.75px;
    line-height: 1.4;
    display: inline-block;
    margin-bottom: 2rem;
}

.page_desc .flex_right {
    width: 55%;
}

.page_desc .grid_wrap {
    padding-block: 13vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem 2rem;
}

.cer {
    padding-bottom: 2rem;
    background: url(../img/cer_bg.jpg) no-repeat;
    background-position-y: 115%;
}

.page_desc .grid_wrap.cer_grid {
    padding-inline: 10%;
}

.page_desc .grid_wrap.cer_grid img {
    margin: 0 auto;
    display: block;
    border: 1px solid #ddd;
}

.page_desc .brand_wrap {
    display: flex;
    gap: 5rem;
    padding-block: 100px 10rem;
    flex-direction: column;
    max-width: 1140px;
    margin: 0 auto;
}

.page_desc .brand_wrap li {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 7vw;
}

.page_desc .brand_wrap h5 {
    display: block;
    text-align: left;
    font-weight: 500;
    font-size: var(--f30);
    margin-bottom: 0.95rem;
}

.page_desc .brand_wrap p {
    text-align: left;
    display: block;
}

.page_desc p {
    color: #757575;
    font-size: var(--f22);
    letter-spacing: -0.75px;
    line-height: 1.6;
}

.s1_p1 .imgbox {
    padding-block: 5.5rem 10rem;
}

.s1_p1 .imgbox img {
    margin: 0 auto;
    padding-inline: 1rem;
}

.s1_p1_2 ul {
    margin-bottom: 10rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 3.5rem;
}

.s1_p1_2 ul li {
    text-align: center;
    color: #222;
    width: 100%;
    border: 1px solid #000d4c;
    aspect-ratio: 1;
    align-content: center;
    border-radius: 2rem;
}

.s1_p1_2 ul li.active {
    background: var(--main);
    transition: 0.3s;
    color: white;
}

.s1_p1_2 ul li h4 {
    font-size: var(--f45);
    color: inherit;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.s1_p1_2 ul li p {
    text-align: center;
    color: inherit;
    font-size: var(--f22);
}

.s1_p1_3 {
    margin-bottom: 10rem;
}

.s1_p1_3 .history {
    width: 100%;
}

.s1_p1_3 ul {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    /* flex-direction: column; */
    justify-content: center;
    gap: 10vw;
    background: url(../img/s1_1_3_bg.jpg) no-repeat center / contain;
}

.s1_p1_3 ul li {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-bottom: 8%;
}

.s1_p1_3 h4 {
    text-align: center;
    width: 100%;
    line-height: 1.4;
    margin-bottom: 10rem;
    display: inline-block;
    font-size: var(--f45);
    font-weight: 500;
    color: #222;
    text-align: center;
}

.s1_p1_3 h5 {
    min-width: 120px;
    display: inline-block;
    font-size: var(--f45);
    font-weight: 600;
    color: #222;
    line-height: 1;
    margin: 0;
}

.s1_p1_3 ul li p {
    color: #222;
    font-size: var(--f22);
}

.s1_p1_5 {}

.s1_p2 {
    background: url(../img/s1_1_5_bg.jpg) no-repeat center/ cover;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s1_p2 ul {
    display: flex;
}

.s1_p2 ul>li {
    text-align: center;
    color: white;
    border-right: 1px solid #fff;
    padding: 3rem 4rem;
}

.s1_p2 ul>li i img {
    margin: 0 auto;
    display: block;
    height: 54px;
}

.s1_p2 ul>li h5 {
    font-size: var(--f30);
    font-weight: 500;
    margin-block: 1.5rem 1rem;
}

.s1_p2 ul>li p {
    font-size: var(--f16);
    font-weight: 500;
}

.s1_p2 ul>li:last-child {
    border: none;
}

.s1_4_2 ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 8.5%;
}

.s1_4_2 ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #757575;
    padding-block: 3rem;
    padding-inline: var(--pad);
}

.s1_4_2 ul li h4 {
    font-size: var(--f45);
    font-weight: 500;
    display: block;
}

.s1_4_2 ul li p {
    width: 60%;
    color: #757575;
    display: block;
    font-size: var(--f22);
}

.map {
    margin-top: 5rem;
}

.map h4 {
    padding-inline: 8%;
    text-align: center;
    margin-bottom: 3rem;
    font-size: var(--f22);
}

/* product */
.product {}

.pro_grid {
    display: grid;
    width: 100%;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    justify-items: center;
    padding-inline: var(--pad);
    row-gap: 4rem;
    padding-block: 10rem;
}

.pro_grid p {
    font-size: var(--f22);
    text-align: center;
    margin-top: 2rem;
}

.pro_grid li img {
    transition: 0.7s;
}

.pro_grid li:hover img {
    scale: 1.1;
}

.s2_1 .flex_wrap {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10vh;
    justify-content: space-between;
    padding-inline: var(--pad);
    gap: 2rem;
    height: 100%;
}

.s2_1 .flex_wrap .flex_left {
    display: flex;
    flex-direction: column;
}

.s2_1 .flex_wrap .flex_left .sub_img {
    display: flex;
    gap: 1rem;
    margin-top: 4.25rem;
    justify-content: center;
}

.s2_1 .flex_wrap .flex_left .sub_img li {
    cursor: pointer;
    max-width: 9.5rem;
}

.s2_1 .flex_wrap .flex_right {
    height: 100%;
    padding-top: 0.5rem;
}

.s2_1 .flex_wrap .flex_right ul {
    display: flex;
}

.s2_1 .flex_wrap .flex_right li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    border-right: 1px solid #fff;
    padding-inline: 4rem;
    padding-block: 0.75rem;
}

.s2_1 .flex_wrap .flex_right li:first-child {
    padding-left: 0;
}

.s2_1 .flex_wrap .flex_right li:last-child {
    border: none;
}

.s2_1 .flex_wrap .flex_right h5 {
    font-size: var(--f45);
    font-weight: 500;
    margin-bottom: 2rem;
}

.s2_1 .flex_wrap .flex_right h6 {
    font-weight: 500;
    font-size: var(--f30);
}

.s2_1 .flex_wrap .flex_right i {
    height: 54px;
}

.s2_1 .flex_wrap .flex_right p {
    font-size: var(--f16);
    font-weight: 500;
}

/* 공장안내 */
.s3_1_1 .grid_wrap {
    display: flex;
    flex-wrap: wrap;
    max-width: 1260px;
    margin: 0 auto;
    justify-content: center;
    gap: 3.5rem 10vw;
    padding-block: 5rem 10rem;
}

.s3_1_1 .grid_wrap li {
    padding: 3rem 2rem;
    border: 1px solid #757575;
    border-radius: 2rem;
    min-width: 276px;
    flex: 1;
}

.s3_1_1 .grid_wrap li h5 {
    color: var(--main);
    font-size: var(--f30);
    font-weight: 500;
    margin-block: 0.782rem;
}

.s3_1_1 .grid_wrap li p {
    font-size: var(--f16);
    font-weight: 500;
    letter-spacing: -0.25px;
    color: #757575;
}

.s3_2_1 {
    border-bottom: 1px solid #7575;
    padding-bottom: 5rem;
}

.s3 .flex_right li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
}

.s3 .flex_right li span {
    font-size: var(--f30);
    color: #000d4c;
    font-weight: 500;
    display: inline-block;
}

.s3_2_2 .vidbox {
    overflow: hidden;
    padding-top: 10rem;
}

/* 샘플신청 */
.s4_before {
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    z-index: -1;
}

.s4 .flex_wrap {
    display: flex;
    justify-content: space-between;
    padding-inline: var(--pad);
    padding-block: 5rem;
}

.s4 .flex_wrap>div {
    flex-basis: 50%;
}

.s4 .flex_wrap>div p {
    font-size: var(--f22);
    color: #757575;
}

.s4 .flex_wrap>div h6 {
    display: flex;
    font-size: var(--f30);
    font-weight: 500;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.s4 .flex_wrap>div h6 i {
    display: block;
}

.s4 .flex_wrap>div span {
    margin-top: 11px;
    display: block;
    font-size: var(--f16);
    color: #757575;
    font-weight: 500;
}

.s4 .flex_wrap .flex_right li {
    margin-top: 2.2rem;
}

.s4_2 {
    border-top: 1px solid #757575;
    border-bottom: 1px solid #757575;
    background: #f5f5f5;
    padding-block: 1rem;
    margin-top: 3rem;
}

.s4_3 {
    padding: 5rem var(--pad);

    fieldset {
        border: none;
    }

    div.form_write {
        clear: both;
    }

    table.board_write {
        clear: both;
        width: 100%;
        border-top: 1px solid #757575;
    }

    table.board_write th {
        font-size: var(--f22);
        color: #757575;
        font-weight: normal;
        background: #f5f5f5;
        border-bottom: 1px solid #757575;
        border-right: 1px solid #757575;
    }

    table.board_write th em {
        font-size: 15px;
        color: #d83333;
        font-style: normal;
        margin-left: 3px;
    }

    table.board_write td {
        font-size: 14px;
        color: #323232;
        padding: 10px;
        border-bottom: 1px solid #757575;
    }

    table.board_write td input {
        background-color: #f8f9fb;
        min-width: 220px;
        border: 1px solid #ecf2f5;
        height: 36px;
        padding-left: 5px;
        margin: 2px 0.35rem;
        min-width: 50%;
        font-size: var(--f16);
    }

    textarea#contents {
        background-color: #ffffff;
        border: 1px solid #ecf2f5;
        min-height: 150px !important;
        padding-left: 5px;
        font-size: var(--f16);
        width: 95% !important;

        &:focus {
            outline: none;
        }
    }

    .content_top_alert,
    .content_top_alert2 {
        background: #eeeeee;
        border: 1px solid #ecf2f5;
        padding: 20px 20px 22px 160px;
        position: relative;
        min-height: 70px;
        margin-bottom: 30px;
    }

    #content {
        width: 100%;
        margin: 40px 0 0 0;
        position: relative;
        line-height: 1.7em;
        padding-bottom: 70px;
    }

    colgroup col:nth-of-type(1) {
        width: 15%;
    }

    .board_button {
        margin-block: 5rem 10rem;
    }

    .board_button button {
        outline: none;
        border: 1px solid #222;
        font-size: var(--f22);
        font-weight: 500;
        width: 10rem;
        height: 55px;
        text-align: center;
        background: white;
        display: block;
        margin: 0 auto;
        transition: 0.3s;
        cursor: pointer;
    }

    .board_button button:hover {
        background: var(--main);
        color: white;
    }

    .board_button button:focus {
        scale: 0.94;
    }

    @media all and (max-width: 767px) {
        colgroup col:nth-of-type(1) {
            width: 20%;
        }
    }
}

/* footer  */
.footer {
    background: #222;
    padding: 5rem var(--pad);
}

.footer .footer_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5rem;
}

.footer .footer_wrap .f_info p {
    color: white;
}

.footer .footer_wrap .f_menu {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer .footer_wrap .f_menu a {
    color: white;
    text-align: right;
    min-width: fit-content;
    transition: 0.3s;
}

.footer .footer_wrap .f_menu a:hover {
    text-decoration: underline;
}

@media (max-aspect-ratio: 12 / 10) {
    nav {
        display: none;
    }

    .sub_top .bread hr {
        display: none;
    }

    .s1_com ul li:nth-of-type(1),
    .s1_com ul li:nth-of-type(2) {
        border-bottom: none;
    }

    .sub_banner {
        border-bottom: 1px solid #eee;
        max-height: 400px;
    }

    :root {
        --h: 70px;
        --pad: 1.25rem;
    }

    .logo img {
        max-width: 92px;
    }

    header .ham_menu {
        display: block;
    }

    .m2 .flex_wrap {
        gap: 3.75rem;
    }

    .m2 .flex_wrap ul {
        flex-direction: column;
        gap: 3.5rem;
    }

    .m2 .flex_wrap ul li {
        padding: 2.25rem;
        min-height: auto;
        border-radius: 2rem;
    }

    .m2 .flex_wrap ul li span {
        margin-block: 0.25rem 1rem;
        font-size: 1rem;
    }

    .m2 .flex_wrap {
        padding-block: 5rem 7rem;
    }

    .footer {
        padding: 3rem var(--pad);
    }

    footer>* {
        font-size: 14px;
    }

    .footer .footer_wrap {
        gap: 2.25rem;
    }

    .footer .footer_wrap .f_info p {
        max-width: 85%;
        margin-bottom: 0.75rem;
    }

    .sub_top .bread ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sub_top .bread ul li {
        border-bottom-width: 1px;
    }

    .sub_top .bread ul li a {
        padding-inline: 0.25rem;
    }

    .page_desc.v2 {
        text-align: left;
    }

    .page_desc {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 5.5rem;
        text-align: left;
    }

    .page_desc h5 {
        text-align: left;
    }

    .page_desc p {
        text-align: left;
    }

    .page_desc .flex_right {
        width: 90%;
    }

    .page_desc .grid_wrap {
        padding-block: 11vh 15vh;
        grid-template-columns: 1fr 1fr;
    }

    article.vidbox {
        height: auto;
    }

    .s1_p1_2 .page_desc {
        margin-top: 7rem;
    }

    .s1_p1_2 ul {
        margin-bottom: 5rem;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
        gap: 1.5rem;
    }

    .s1_p1_3 {
        border-top: 1px solid #323232;
    }


    .s1_p1_3 h4 {
        margin-bottom: 4.5rem;
    }

    .s1_p1_3 h5 {
        min-width: 100px;
    }

    .s1_p1_3 ul li {
        gap: 0;
    }

    .s1_p2 ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .s1_p2 ul>li {
        border: none;
        padding: 2rem;
    }

    .page_desc .brand_wrap {
        padding-top: 3rem;
    }

    .s1_4_2 ul {
        background: #f1f2f5;
        padding-block: 1rem;
    }

    .s1_4_2 ul li {
        flex-direction: column;
        gap: 2rem;
    }

    .s1_4_2 ul li p {
        width: 100%;
    }

    .pro_grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .s2_1 .flex_wrap .flex_right {
        width: 100%;
    }

    .s2_1 .flex_wrap .flex_right h5 {
        text-align: center;
    }

    .s2_1 .flex_wrap .flex_right ul {
        margin-block: 15vh;
        justify-content: space-around;
    }

    .s2_1 .flex_wrap .flex_right li {
        padding-inline: 0rem;
        border: none;
        flex: 1;
    }

    .s3_1_1 .grid_wrap {
        padding-top: 4rem;
        margin-block: 0 5rem;
        padding-inline: 2rem;
        justify-content: center;
    }

    .s1_p2 ul>li i img {
        max-height: 38px;
    }

    .s3 .flex_right li {
        flex-direction: column;
        padding-top: 2rem;
        gap: 1rem;
        align-items: flex-start;
    }

    .s4 .flex_wrap {
        gap: 6rem;
        flex-direction: column;
    }

    .s4 .flex_wrap>div {
        flex-basis: 100%;
    }

}

@media screen and (max-width:780px) {
    .page_desc .brand_wrap li {
        flex-direction: column;
        align-items: baseline;
    }
}