:root {
    --animate-duration: 1s;
    --animate-delay: 1.2s;
}

@font-face {
    font-family: 'TTTtangsbudaejjigaeB';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2212@1.0/TTTtangsbudaejjigaeB.woff2') format('woff2');
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: 'PuradakGentleGothicR';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.1/PuradakGentleGothicR.woff2') format('woff2');
    font-weight: normal;
    font-style: normal
}

body {
    font-size: 14px;
    line-height: 1.6em;
    font-weight: 400;
    letter-spacing: -0.02em
}

#header {
    transition: 0.5s all ease;
    z-index: 2;
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
}

#header .hd_wrap {
    width: 1300px;
    justify-content: space-between;
    display: flex;
    align-items: center;
    gap: 100px;
    margin: 0 auto;
}

#menu {
    display: flex;
    flex: 1;
}

#menu a {
    display: block;
    width: 100%;
    padding: 0 10px;
    font-size: 1.3em;
    font-weight: 500;
    color: #000;
    height: 100px;
    line-height: 100px
}

#header:has(#menu li:hover) {
    background: rgba(0, 0, 0, 0.7);
    transition: 0.5s all ease;
}

#header:has(#menu li:hover) #logo img {
    content: url('../img/top_logo2.png')
}

#header:has(#menu li:hover) #menu a {
    color: #fff;
}

#menu li:hover a {
    color: #fff;
}

#menu li {
    flex: 1;
    text-align: center;
    position: relative;
}

#menu li::after {
    position: absolute;
    bottom: 0;
    height: 3px;
    display: block;
    content: "";
    width: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #99223f;
    transition: 0.5s all ease;
}

#menu li:hover::after {
    width: 100%;
    transition: 0.5s all ease;
}

.mo_v {
    display: none !important;
}


#main_bn .txt {}

#main_bn {
    overflow: hidden;
}

.main_bn_slide {
    position: relative;
}

.main_bn_slide .swiper-slide {
    position: relative;
}

.main_bn_slide .swiper-slide .txt {

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    opacity: 0;
}

.main_bn_slide .swiper-slide .txt .title {
    font-size: 4.1em;
    color: #fff;
    line-height: 1.3em;
    font-weight: 700;
    padding-bottom: 10px;
    font-family: 'TTTtangsbudaejjigaeB';
}

.main_bn_slide .swiper-slide .txt .info {
    line-height: 40px;
    font-size: 1.4em;
    color: #fff;
    letter-spacing: 0.05em;
    font-family: 'TTTtangsbudaejjigaeB';
    animation-delay: 1s;
}

.main_bn_slide .swiper-slide .txt .info span h2 {
    font-family: 'TTTtangsbudaejjigaeB';
}

#main_bn .main_bn_next,
#main_bn .main_bn_prev {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    opacity: 0.7;
}

#main_bn .main_bn_next {
    right: 60px;
}

#main_bn .main_bn_prev {
    left: 60px;
}

#main_bn .main_bn_paging {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 60px;
    max-width: 1200px;
    display: flex;
    z-index: 3;
}

#main_bn .main_bn_paging span {
    flex: 1;
    display: block;
    border-radius: 0;
    opacity: 1;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

#main_bn .main_bn_paging span.swiper-pagination-bullet-active {
    background-color: #fff;
}

.content {
    max-width: 1300px;
    margin: 0 auto;
}

.sec {
    margin-top: 80px;
}

.sec .sec_title {
    text-align: center;

    margin: 0px auto 30px;
}

.sec .sec_title p {
    font-size: 3.2em;
    line-height: 50px;
    color: #000;
    font-weight: 600;
    padding: 0 10px;
}

.sec .sec_title2 p {
    text-align: center;
    font-size: 2.8em;
    line-height: 50px;
    color: #000;
    font-weight: 700;
    padding: 0 10px;
    margin: 0px auto;
}

.sec .sec_title span {
    display: block;
    text-align: center;
    font-size: 1.15em;
    color: #777;
    padding: 0 10px;
    margin: 10px 0 20px 0;
}

.sub1_list {
    display: flex;
    gap: 20px;
}

.sub1_list .sub1_li {
    flex: 1;
    box-sizing: border-box;
    overflow: hidden;
}

.sub1_list .sub1_li a {
    position: relative;
    display: block;
}

.sub1_list .sub1_li img {
    max-width: 100%;
    transition: 0.2s;
}

.sub1_list .sub1_li .tit {
    color: #fff;
    position: absolute;
    left: 30px;
    top: 50px;

}

.sub1_list .sub1_li .tit strong {
    display: inline-block;
    font-size: 1.7em;
    padding-bottom: 8px;
    margin-bottom: 8px;
    position: relative;
    font-weight: 500;
}

.sub1_list .sub1_li .tit span {
    display: block;
    font-size: 1.1em;
    line-height: 1.2em;
}

.sub1_list .sub1_li .tit strong::after {
    display: block;
    left: 0;
    width: 0;
    bottom: 0;
    content: "";
    background-color: red;
    height: 2px;
    position: absolute;
    transition-duration: 0.3s;
}

.sub1_list .sub1_li:hover img {
    transform: scale(1.1);
    transition: 0.2s;
}

.sub1_list .sub1_li:hover .tit strong::after {
    width: 100%;
}

.product_slide {
    overflow: hidden;
}

.product_btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.product_btns>div{
    cursor: pointer;
}

.product_slide .txt_box {
    margin-top: 25px;
}

.product_slide .txt_box .tit {
    display: block;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
    font-size: 1.2em;
    color: #000;
    text-align: center;
}
.product_slide  .swiper-slide img{
    width: 100%;
}
#pro_tab .tab {
    display: flex;
    gap: 10px;
    align-items: start;
    justify-content: center;
    margin: 50px 0;
}

#pro_tab .tab li a {
    display: block;
    display: block;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    box-sizing: border-box;
    color: #000;
    font-size: 1.1em;
    transition: 0.5s all ease;
    -webkit-transition: 0.5s all ease;
    width: 150px;
}

#pro_tab .tab li a:hover {
    border: 1px solid #99223f;
    background: #99223f;
    color: #fff;
    transition: 0.5s all ease;
    -webkit-transition: 0.5s all ease;
}

#pro_tab .tab li.on a {
    border: 1px solid #99223f;
    background: #99223f;
    color: #fff;
}

#pro_tab .pro_list li {
    width: 14%;
    transition: 0.5s all ease;
    -webkit-transition: 0.5s all ease;
    border: 1px solid #eee;
    box-sizing: border-box;
    overflow: hidden;
}

#pro_tab .pro_img {
    width: 100%;
    aspect-ratio: 1/0.8;
}

#pro_tab .pro_img img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

#pro_tab .pro_tit {
    font-size: 1.5em;
    text-align: center;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
    padding: 25px 10px;
    box-sizing: border-box;
}

#pro_tab .pro_list ul {
    display: flex;
    gap: 40px;
    align-items: start;
    justify-content: center;
}

.pro_list_box {
    display: none;
}

.pro_list_box.active {
    display: block;
}

#sec5 {
    margin-top: 80px;
    display: block;
}

#sec5>div {
    display: block;
    background-position: center;
    background-size: cover;
    background-image: url(../img/counter_wrap_back.jpg);
    text-align: center;
    padding: 60px 0;
}

#sec5 .p1 {
    display: block;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

#sec5 .p1 span {
    font-weight: bold;
}

#sec5 .p2 {
    color: #fa4b75;
    font-size: 3em;
    font-family: 'TTTtangsbudaejjigaeB';
    line-height: normal;
}

#sec5 .p3 {
    display: block;
    color: #fff;
    font-size: 2.2em;
    margin: 20px 0 10px 0
}

#sec5 .p4 {
    display: block;
    color: #ccc;
    font-size: 1.3em;
    margin-top: 20px;
}

#sec5 .p5 {
    display: block;
    color: #fff;
    font-size: 1.3em;
    margin-top: 20px;
}

#footer {
    text-align: center;
    padding: 30px 0 70px;
    border-top: 1px solid #d3d3d2;
}

#footer .copy {
    margin-top: 30px;
    line-height: 1.5;
}

#footer .copy span {
    display: inline-block;
    color: #333;
    font-size: 1.2em;
    margin-left: 15px;
}

#footer .sns ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#footer .sns {
    margin: 25px 0 50px;
}

#footer .sns li {
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #fff;
}

#footer .sns li a {
    display: block;
    color: #fff;
}

#footer .sns li.blog {
    background-color: #47a944;
}

#footer .sns li.facebook {
    background-color: #395796;
}

#footer .sns li.instagram {
    background-color: #c13584;
}

#sub_bn {
    height: 400px;
    position: relative;

}

#sub_bn .txt {
    position: absolute;
    left: 50%;
    top: calc(50% + 70px);
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

#sub_bn .txt .title {
    position: relative;
    text-align: center;
    padding-bottom: 10px;
    font-size: 2em;
    color: #fff;
}

#sub_bn .txt .title::after {
    display: block;
    content: "";
    width: 65px;
    height: 1px;
    margin: 25px auto 10px;
    background: #aaa;
}

#sub_bn .img {
    width: 100%;
    height: 100%;
}

#sub_bn .img img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

#sub_bn .txt .info {
    display: block;
    margin: 0px 0;
    font-size: 1.2em;
    color: #ccc;
    text-align: center;
    line-height: 1.6;
    word-break: keep-all;
}

.m_menu_btn {
    display: none;
}

.m_phone {
    display: none;
}

.m_header {
    display: none;
}

@media(max-width:1320px) {
    #header .hd_wrap {
        width: 100%;
        padding: 0 20px;
        gap: 40px;
    }

    .content {
        width: 100%;
        padding: 0 20px;
    }

    body {
        font-size: 12px;
    }

    #header #logo img {
        width: 120px;
    }

    #main_bn {
        aspect-ratio: 1 / 0.8;
        width: 100%;
    }

    #main_bn .main_bn_slide {
        width: 100%;
        height: 100%;
    }

    #main_bn .img,
    #main_bn .main_bn_slide>div,
    #main_bn .img .pc_v {
        width: 100%;
        height: 100%;
    }

    #main_bn .img .pc_v img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    #pro_tab .tab li a {
        width: auto;
    }

    #pro_tab .tab li {
        flex: 1;
    }

    #pro_tab .tab {
        padding: 0 20px;
    }

    #pro_tab .pro_list ul {
        gap: 20px;
        padding: 0 20px;
    }

    #pro_tab .pro_list ul li {
        width: 13%;
    }

    #menu a {
        padding: 0 5px;
    }

}

@media(max-width:1024px) {
    #menu {
        display: none;
    }

    #header {
        background-color: #99223f;
        z-index: 7;
    }

    #header #logo img {
        content: url("../img/top_logo_m02.png")
    }

    #header .hd_wrap {
        justify-content: space-between;
        padding: 10px 20px
    }

    .m_phone {
        display: block;
    }

    .m_menu_btn {
        display: block;
        color: #fff;
        border: 0;
        padding: 0;
        background-color: transparent;

    }

    .m_hd_ico {
        font-size: 24px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        color: #fff;
    }

    #main_bn {
        aspect-ratio: 1 / 0.6;
    }

    .m_header_bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        top: 0px;
        background: rgba(0, 0, 0, 0.5);
        z-index: 8;
        display: none;
    }

    .m_header {
        position: fixed;
        left: -250px;
        top: 0;
        height: 100%;
        width: 250px;
        background-color: #fff;
        z-index: 9;

    }

    .m_header .title {
        height: 60px;
        line-height: 60px;
        background-color: #111111;
        color: #fff;
        text-align: center;
        font-size: 1.5em;
        cursor: pointer;
        position: relative;
        text-align: center;
    }

    .m_header .title i {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .m_header li {
        line-height: 40px;
        border-bottom: 1px solid #aaa;
        padding: 0 10px;


    }

    .m_header li a {
        font-size: 1.2em;
        color: #333;
    }
}

@media(max-width:768px) {
    .mo_v {
        display: block !important;
    }

    .pc_v {
        display: none !important;
    }

    .m_header {
        display: block;
    }

    #main_bn {}

    #footer .copy {
        padding: 0 10px;
    }

    #sub_bn {
        height: 300px;
    }

    #sub_bn .txt {
        top: calc(50% + 40px);
    }

    .ft_logo {
        width: 120px;
    }

    #footer {
        padding: 60px 0;
    }

    #main_bn {
        aspect-ratio: 1 / 1.2;
    }

    body {
        font-size: 11px;
    }

    .sub1_list {
        flex-direction: column;
        gap: 1px;
    }

    #sub1 .content {
        padding: 0;
    }

    #main_bn .main_bn_next,
    #main_bn .main_bn_prev {
        display: none !important;
    }

    .main_bn_slide .swiper-slide .txt .title {
        font-size: 3.0em;
    }
    .sec .sec_title p{
        font-size: 2.6em;
    }
    .sub1_list .sub1_li .tit{
        top: 40px;
    }
    .product_btns{
        display: none;
    }
    #pro_tab .tab{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
        margin: 30px 0;
    }
    #pro_tab .pro_list ul{
         display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }
    #pro_tab .pro_list ul li{
        width: 100%;
    }
    .sub1_list .sub1_li img{
        width: 100%;
    }
    .sec{
        margin-top: 50px;
    }
     #main_bn .main_bn_paging{
        gap: 10px;
        align-items:end;
    }
    #main_bn .main_bn_paging span{
        flex:none;
        width:3px;
        height:3px;
        border-radius:50%;
        background-color:#fff;
    }
    #main_bn .main_bn_paging{
        height: auto !important;
        width:auto !important;
        bottom: 25px;
        
    }
    #main_bn .main_bn_paging span.swiper-pagination-bullet-active{
        width:14px;
        height:14px;
        background-color:transparent;
        border:3px solid #fff
    }
    .product_slide .swiper-slide img{
        width: 100%;
    }
    #pro_tab .pro_tit{
        padding: 15px 5px;
        font-size: 1.3em;
    }
    .sec .sec_title p{
        font-size: 2.4em;
    }
}