@charset "utf-8";
@import url('//fonts.googleapis.com/css?family=Roboto:400,700');
@import url('../../../nariya/css/g5.css');

/********************************************************
■ Theme Common
********************************************************/
body {background:#000000; color:#000; }
h1, h2, h3, h4, h5, h6, .en { font-family:"Roboto", sans-serif; }

/********************************************************
■ Loader : 페이지 로딩바
********************************************************/
#nt_loader { background: #fff; left: 0; top: 0; width: 100%; height: 100%; display: block; position: fixed; z-index: 100000; }
#nt_loader .loader { margin: -25px 0 0 -25px; left: 50%; top: 50%; width: 50px; height: 50px; line-height:50px; font-size: 45px; position: absolute; z-index: 10001; }

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 필요에 따라 가로 스크롤을 제거할 수 있습니다. */
}

.widget-container {
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0; /* 부모 요소의 패딩을 제거 */
}

@media (min-width: 768px) {
    .widget-container.pc-visible {
        display: flex ; /* PC 화면에서 flex로 설정 */
    }
}

@media (max-width: 767px) {
    .widget-container.mobile-visible {
        display: block ; /* 모바일 화면에서 block으로 설정 */

    }
}

.basic-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0; /* 이미지의 마진을 제거합니다. */
}

.nt-container,
.nt-container-wide {
	margin: 0 auto;
}


.totohot_bn_ca ul {
	display: block;
}

.totohot_bn_ca ul::after {
	content: '';
	display: block;
	clear: both;
}

.totohot_bn_ca ul li {
	float: left;
	width: calc((100% - 12px) / 3);
	margin-left: 6px;
	margin-bottom: 6px;
}

.totohot_bn_ca ul li:nth-child(3n+1) {
	margin-left: 0;
}

.totohot_bn_ca ul li img {
	width: 100%;
}

.totohot_bn_ca ul li {
    float: left;
    width: calc((100% - 6px) / 2); /* PC 화면에서 2개의 요소로 정렬될 수 있도록 설정 */
    margin-left: 3px;
    margin-bottom: 3px;
}

@media (max-width:767px) {
    .totohot_bn_ca ul li {
        width: calc((100% - 6px) / 2); /* 모바일 화면에서 3개의 요소로 설정한 너비로 변경 */
        margin-left: 3px;
        margin-bottom: 3px;
    }
}

@media (max-width:575px) {
    .totohot_bn_ca ul li {
        width: calc((100% - 3px) / 2); /* 모바일 화면에서 2개의 요소로 설정한 너비로 변경 */
        margin-left: 0;
        text-align: center;
    }

    .totohot_bn_ca ul li:nth-child(odd) {
        margin-left: 0;
    }

    .totohot_bn_ca ul li:nth-child(even) {
        margin-left: 3px;
    }
}




.show_box {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 기본 스타일 설정 */
.nt-container {
    box-sizing: border-box;
    max-width: 100%; /* 부모 요소의 크기를 넘지 않도록 설정 */
    overflow: hidden; /* 넘치는 내용을 숨김 */
}

.show_box {
    max-width: 100%; /* 부모 요소의 크기를 넘지 않도록 설정 */
    overflow: hidden; /* 넘치는 내용을 숨김 */
}

/* 이미지의 크기 조정 */
.custom_list img {
    max-width: 100%; /* 이미지가 부모 요소를 넘지 않도록 설정 */
    height: auto; /* 이미지의 비율을 유지하며 크기 조정 */
    display: block; /* 이미지 주위의 여백을 제거 */
}

/* 리스트 아이템 스타일링 */
.custom_list ul li {
    float: left;
    width: calc((100% - 6px) / 1); /* PC 화면에서 2개의 요소로 정렬될 수 있도록 설정 */
    margin-left: 3px;
    margin-bottom: 3px;
}

/* 반응형 디자인 */
@media (max-width: 767px) {
    .custom_list ul li {
        width: calc((100% - 6px) / 1); /* 모바일 화면에서 2개의 요소로 설정한 너비로 변경 */
        margin-left: 3px;
        margin-bottom: 3px;
    }
}

@media (max-width: 575px) {
    .custom_list ul li {
        width: calc((100% - 3px) / 1); /* 모바일 화면에서 2개의 요소로 설정한 너비로 변경 */
        margin-left: 0;
        text-align: center;
    }

    .custom_list ul li:nth-child(odd) {
        margin-left: 0;
    }

    .custom_list ul li:nth-child(even) {
        margin-left: 3px;
    }
}
