@charset "utf-8";

@font-face {
    font-family: 'Noto Sans KR';
    src: url(../font/NotoSansKR-Regular.ttf) format("truetype");
}

@font-face {
    font-family: '비앤빛 라식체';
    src: url(../font/BnviitLasik.ttf) format('truetype');
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR';
}

ul {
    list-style: none;
}

a:any-link {
    text-decoration: none;
    color: #fff;
}

.hidden {
    position: absolute;
    left: -9999px;
}

html,
body {
    height: auto;
    min-height: 100%;
}

#wrap {
    min-width: 1280px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}



header {
    background-color: #d71514;
}

.header {
    width: 1280px;
    margin: 0 auto;
    height: 200px;
    overflow: hidden;
    background-image: url(../img/header.png);
    background-repeat: no-repeat;
}

h1 {
    margin: 50px 0px 50px 0;
}

h1 img {
    width: 100px;
    height: 100px;
    cursor: pointer;
}

h1 img:hover {
    opacity: 80%
}


#contents {
    width: 100%;
    padding-bottom: 100px;
    background-image: url(../img/back-01.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-attachment: fixed;
    background-position: center top;
    margin-top: -100px;
}


.jcb {
    width: 130px;
    height: 20px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 50%;
    transform: translate(560px, 300px)
}






#lnb2 {
    width: 1280px;
    height: 200px;
    margin: 0 auto;
}

#lnb2 ul li {
    float: left;
    padding: 130px 25px 25px;

}

#lnb2 ul li img {
    width: 200px;
    height: 75px;
}

#lnb2 ul li:first-child {
    padding-left: 5px;
}





#lnb2 ul li:last-child {
    padding-right: 0;
}

.dice:hover {
    content: url(../img/dice_next.svg);

}

.role:hover {
    content: url(../img/role_next.svg);

}

.deduction:hover {
    content: url(../img/deduction_next.svg);

}

.party:hover {
    content: url(../img/party_next.svg);

}





.product > li > a {
    display: block;
    height: 100%;
}

.photo {
    display: block;
    height: 350px;
    overflow: hidden;
}



.product {
    width: 1280px;
    display: block;
    list-style: none;
    overflow: hidden;
    margin: 0 auto;
    padding-top: 50px;

}



.product li {
    position: relative;
    display: block;
    width: 250px;
    height: 400px;
    border-radius: 12px;
    float: left;
    left: 50px;
    margin: 0 60px 40px 0;
    overflow: hidden;
    text-align: center;
}

.product li a {
    font-size: 18px;
    color: #fff;
    line-height: 45px
}

.name {
    font-family: '비앤빛 라식체';
}

.product li:nth-child(4n) {
    margin-right: 0;
}


.photo img {
    width: 100%;
    height: 100%;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    vertical-align: top;

}


.photo img:hover {
    opacity: 85%
}




#bts {
    width: 1280px;
    height: 50px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}


.more {
    width: 250px;
    margin: 20px auto;
    font-weight: bold;
    font-size: 120%;
    line-height: 50px;
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    background-color: #d71514;

}


.more:hover {
    color: #aaa;
}

footer {
    margin-top: 100px;
    background-color: #fff;
}


.search {
    width: 250px;
    height: 130px;
    margin: 0 auto;
    position: relative;
    padding-top: 50px;
}

.search img {
    width: 400px;
    height: 115px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 50%);
}



.text {
    float: left;
    width: 250px;
    height: 60px;
    padding: 0 10px;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid #fff;
    box-sizing: border-box;
    z-index: 2;
    position: absolute;
    left: 30%;
    bottom: 0%;
    transform: translate(-50%, -60%);

}

.text:focus {
    outline: inherit;
}

.btn {
    float: left;
    width: 80px;
    height: 50px;
    background-image: url(../img/ti-01.svg);
    background-repeat: repeat-y;
    background-color: #fff7de;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate(80%, -80%)
}



.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.custom-popup {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 800px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    -ms-overflow-style: none;
}

.custom-popup::-webkit-scrollbar {
    display: none;
}


.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #444;

}

.popup-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 20px;
}

.popup-text {
    font-size: 12px;
    color: #333;
    line-height: 1.6;

}


.accordion {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}


.accordion-header {
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    color: #d71514;
}


.accordion-header span::after {
    content: '';
}

.accordion-body {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    color: #444;
    padding-left: 10px;

}


.no-scroll {
    overflow: hidden;
}





.pv-box {
    padding: 10px;
    width: 200px;
    height: 250px;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-850px, 150%);
    overflow: hidden;
}



.pv-box img {
    width: 200px;
    height: auto;
}

.pv-box .fade-wrap {
    transition: 3s;
    opacity: 0;
    position: relative;
    left: -50px;
}

.pv-box .fade-wrap.fade-in {
    opacity: 1;
    left: 0;
}


.bv-box {
    padding: 10px;
    width: 200px;
    height: 250px;
    z-index: 1;
    position: absolute;
    bottom: 0;
    right: 50%;
    overflow: hidden;
    transform: translate(900px, -90%)
}


.bv-box img {
    width: 200px;
    height: auto;
}

.bv-box .fade-wrap {
    transition: 3s;
    opacity: 0;
    position: relative;
    right: -50px;
}

.bv-box .fade-wrap.fade-in {
    opacity: 1;
    right: 0;
}
