@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@font-face {
    font-family: 'NotoSansKR';
    src: url('../fonts/NotoSansKR-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansKR';
    src: url('../fonts/NotoSansKR-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansKR';
    src: url('../fonts/NotoSansKR-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansKR';
    src: url('../fonts/NotoSansKR-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansKR';
    src: url('../fonts/NotoSansKR-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansKR';
    src: url('../fonts/NotoSansKR-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansKR';
    src: url('../fonts/NotoSansKR-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansKR';
    src: url('../fonts/NotoSansKR-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansKR';
    src: url('../fonts/NotoSansKR-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

* {
	padding:0;
	margin:0;
	box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
ul,li,dl,dt,dd,ol{
	list-style:none;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-family: inherit;
}
body {
    /* font-family: 'NotoSansKR', sans-serif; */
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #0F0F0F;
    letter-spacing: -0.05em;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    border: 0;
    vertical-align: top;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
input,textarea{outline:0;border:0;box-shadow: none !important;}
button {outline:0;border:0;cursor:pointer;background-color: #FBFBFB;
    border: 1px solid #C7C7C7;
    border-radius: 5px;}
input,input[type="submit"]{
   appearance: none;
   border-radius: 0;
   -webkit-appearance: none;
   -webkit-border-radius: 0;
}
input[type="radio"],
input[type="checkbox"]{
	appearance: auto;
	-webkit-appearance: auto;
}
a:focus,
input:focus,
textarea:focus,
select:focus,
button:focus{ outline: none; box-shadow: none;}
button,label{ cursor:pointer}
b{font-weight:600;}
table {
    border-collapse: collapse;
}

select {
appearance: none;         /* 크롬, 사파리 등 */
-moz-appearance: none;    /* 파이어폭스 */
-webkit-appearance: none; /* 오래된 웹킷 브라우저 */
background-size: 14px;
background-image: url(../main_img/angle_down.svg);
background-repeat: no-repeat;
background-position: right center;
background-position: right 10px center;
}
#wrapper, #container_wr {
    width: 100%;
}
#hd, #wrapper, #ft {
    min-width: unset;
}
#ft {
    display: none !important;
}
#container {
  all: unset;
  display: block;
}
#con_provision .header_wrap,
#con_provision #footer_wrap {
    display: none;
}

:root {
    --main-color:#FF0033;
    --sub-color: #767676;
    --border-color: #D3D3D3;
    --sub-bg-color: #FBFBFB;
    --box-shadow: 0 2px 10px #D0D0D0;
}
.main_color {
    color: var(--main-color);
}
.sub_color {
    color:var(--sub-color);
}
.mb, .mb_br {display: none;}

.inner_wrap {
    max-width: 1110px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: content-box;
    overflow: hidden;
}
.home-wrapper, .sub-wrapper, .login-wrapper {padding: 48px 0;}

/***********************************/
.header_wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background: #fff;
  z-index: 5;
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
}
.header .menu_logo_wrap {
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.header .menu_logo_wrap .menu_btn_wrap {
    font-size: 28px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s ease;
    overflow: hidden;
}
.header .menu_logo_wrap .menu_btn_wrap .menu-btn {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header .menu_logo_wrap .menu_btn_wrap:hover {
    background-color: #F2F2F2;
}
.addressdown {
    flex: 1;
}
.addressdown form {
    display: flex;
    align-items: center;
    justify-content: center;
}
.addressdown .input_wrap {
    border: 1px solid var(--border-color);
    border-radius: 50px 0 0 50px;
    /* min-width: 578px; */
    padding: 0 10px 0 16px;
    display: flex;
    align-items: center;
    height: 40px;
    width: 100%;    
    background-color: #fff;
    overflow: hidden;
}
.addressdown .input_wrap input {
    flex: 1;
    height: 100%;
    min-width: 0;
}
.addressdown .input_wrap input:focus {
    border: 0 !important;
}
.addressdown .input_wrap .btn_clear {
    background: none;
    padding: 0 8px;
    height: 100%;
    border: 0;
}
.addressdown .btn_download {
    padding: 0 20px;
    border: 1px solid var(--border-color);
    border-left: 0;
    border-radius: 0 50px 50px 0;
    font-size: 24px;
    height: 40px;
    background-color: var(--sub-bg-color);
}

/**헤더 부분**/
.hd_addressdown {
    max-width: 578px;
    margin: 0 auto;
}

.hd_gnb_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.hd_gnb_wrap .hd_gnb {
    display: flex;
    align-items: center;
    gap: 10px
}
.hd_gnb_wrap .hd_gnb li a {}
.hd_gnb_wrap .hd_gnb .login_li {    }
.hd_gnb_wrap .hd_gnb .login_li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background-color: #fff;
    color: #065FD4;
    cursor: pointer;
    line-height: 1;
    height: 34px;
}

.lang_dropdown { 
    position: relative; 
    display: inline-block; 
}
.lang_dropdown .lang_trigger {
  display: inline-flex; 
  align-items: center; 
  gap: 5px;
  padding: 0 16px; 
  border: 1px solid var(--border-color); 
  border-radius: 50px;
  background-color:#fff; 
  color: var(--sub-color);
  cursor:pointer; 
  line-height: 1;
  height: 34px;
}
.lang_dropdown.open .chevron { transform: rotate(180deg); }

.lang_menu {
  position: absolute; 
  left: 0; 
  right: 0; 
  margin-top: 6px;
  background-color:#fff; 
  border:1px solid var(--sub-color);
  border-radius: 10px; 
  padding:6px 0;
  display:none; 
  z-index: 2;
}
.lang_dropdown.open .lang_menu { display: block; }

.lang_menu li {
  padding:8px 14px; 
  cursor:pointer; 
  color:#333; 
  white-space: nowrap;
}
.lang_menu li[aria-selected="true"] { background:#f6f7f8; font-weight: 600; }
.lang_menu li:hover { background:#f0f2f4; }

#left_menu {
    width: 240px;
    height: calc(-56px + 100dvh);
    position: fixed;
    top: 56px;
    background-color: #fff;
    overflow-y: auto;
    z-index: 4;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    transform: translateX(0);
    transition: transform .3s ease-in-out;
}

.menu_list_wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.menu_list_wrap ul {
    padding: 12px;
    border-bottom: 1px solid;
    border-bottom: 1px solid var(--border-color);
}
.menu_list_wrap ul li {}
.menu_list_wrap ul li a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
}
.menu_list_wrap ul li a span {
    display: inline-block;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu_list_wrap ul li:hover a,
.menu_list_wrap .menu_main li.active a {
    background-color: #F2F2F2;
}
.menu_list_wrap ul.menu_move li:first-child {
    padding: 6px 12px;
}

.menu_list_wrap .copyright {
    font-size: 14px;
    padding: 16px 0 8px 24px;
    margin-top: auto;
    color: #909090;
    border-top: 1px solid var(--border-color);
}

#wrapper, #container_wr {
    width: 100%;
}
#container_wr {
    padding-left: 240px;
    padding-top: 56px;
    transition: width 0.3s ease-in-out;
}

#left_menu:not(.active) {
  transform: translateX(-100%);
}
#left_menu ~ #container_wr {
  padding-left: 240px;
  padding-top: 56px;
  transition: padding-left .3s ease-in-out;
}
#left_menu:not(.active) ~ #container_wr {
  padding-left: 0;
}

.menu_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.menu_overlay.active {
  display: block; /* active 클래스가 붙으면 보이게 */
}

/**모바일 헤더**/
.fixed_hd {
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: var(--box-shadow);
    z-index: 2;
    padding: 0 1rem;
    border-radius: 15px 15px 0 0;
    transform: translateY(100%);
    transition: transform .35s ease;
    will-change: transform;
    display: none;
    background-color: #fff;
}
.fixed_hd.is-visible {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fixed_hd { transition: none; }
}

.fixed_hd .hd_menu_wrap {}
.fixed_hd .hd_menu_wrap .hd_gnb {
    display: flex;
    justify-content: space-between;
    padding: 8px 0 4px;
    background-color: #fff;
    position: relative;
}
.fixed_hd .hd_menu_wrap .hd_gnb li {
    flex: 1;
}
.fixed_hd .hd_menu_wrap .hd_gnb li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.fixed_hd .hd_menu_wrap .hd_gnb li a span {
    font-size: 14px;
}
.fixed_hd .hd_menu_wrap .hd_gnb li.down_mb a {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -28px);
    width: 56px; 
    height: 56px; 
    border-radius: 50%;
    background: var(--main-color);
    color: #fff; 
    border: 2px solid #fff;
    transition: transform .25s ease;
}
.fixed_hd .hd_menu_wrap .hd_gnb li.down_mb a i {}
.fixed_hd .hd_menu_wrap .hd_gnb li.down_mb a::before {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.fixed_hd .hd_menu_wrap .hd_gnb li.down_mb a i {
    animation: bounceHead 3s cubic-bezier(.3, 1.06, .81, 1.11) infinite;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@keyframes bounceHead {
    0%, 10% {
        transform: translate(-50%, -50%);
    }
    15% {
        transform: translate(-50%, -60%);
    }
    20% {
        transform: translate(-50%, -50%);
    }
    25% {
        transform: translate(-50%, -60%);
    }
    30%, 100% {
        transform: translate(-50%, -50%);
    }
}
.fixed_hd:not(.is-visible) .hd_menu_wrap .hd_gnb li.down_mb a{
  transform: translate(-50%, 80px);  /* 충분히 아래로 */
  pointer-events: none;              /* 숨김 중 클릭 방지(선택) */
  opacity: 0;                        /* 살짝 페이드(선택) */
  transition: transform .25s ease, opacity .2s ease;
}
/****/


.section_wrap {}
.gap {
    margin-bottom: 80px;
}
.down_tit {
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.title {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.title_txt {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    word-break: keep-all;
}
.title .num_box {
    display: block;
    font-family: GMarketSans;
    font-size: 76px;
    color: var(--border-color);
    line-height: 1;
    padding-top: 8px;
}
.title .main_tit {
    display: flex;
    flex-direction: column;
    font-size: 28px;
}
.title .main_tit .imgbox, 
.title .sub_tit .imgbox {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    /* justify-content: center; */
}
.title .main_tit .sub_color,
.title .sub_tit .sub_color{
    font-weight: 500;
}

.title .sub_tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
}


/**최근 다운로드 동영상**/
.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.download_list_content {}
.download_list_content .list_con_wrap {}
.download_list_content .list_con_wrap .list_con {
    display: block;
    padding: 10px;
    border-radius: 10px;
    transition: background-color ease-in-out 0.4s;
}
.download_list_content .list_con_wrap .list_con:hover {
    background-color: rgba(232,232,232);
}
.download_list_content .list_con_wrap .list_con .imgbox {
    border-radius: 10px;
    overflow: hidden;
}
.download_list_content .list_con_wrap .list_con .imgbox img {
    width: 100%;
}

.channel_info_wrap {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}
.channel_info_wrap .profile_imgbox {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
}
.channel_info_wrap .profile_imgbox img {}

.info_txt_wrap {
    flex: 1;
}
.info_txt_wrap .tit_name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
    word-break: break-word;
    font-weight: 500;
}
.info_txt_wrap .channel_info_con {
    font-size: 14px;
    color: #606060;
}
.info_txt_wrap .channel_info span:first-child::after {
    content: '·';
}

.download_list_content .list_con_wrap {
    display: none;
}
.more_btn_wrap {
    text-align: center;
    margin-top: 40px;
    display: none;
}
.more_btn {
    background-color: rgb(242, 242, 242);
    border: 0px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}


/**모달**/
.modal_bg {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100;
}
.modalbox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    overflow: hidden;
    width: calc(100% - 30px);
    max-width: 500px;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    z-index: 100;
    background-color: #fff;
    padding: 15px 20px;
}
.modal_logo_box {
    text-align: center;
}
.modalbox .close {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* --- Modal Contents 전체 레이아웃 --- */
.modal_cotents_down {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 35px;
}

.product-image {
    width: 150px;
    margin-bottom: 20px;
}
.product-image img {
    width: 100%;
    height: auto;
}

.title-section {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* --- 구독 기간 선택 UI --- */
.plan_selector {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}
.plan_selector::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 50%;
    width: 97%;
    height: 1px;
    background-color: var(--main-color);
    z-index: 1;
    transform: translateX(-50%);
}

.plan_selector .plan_option {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}
.plan_selector .plan_option input[type="radio"] {
    display: none; 
}
.plan_selector .plan_option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.plan_selector .plan_option .step_dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--main-color);
    margin-bottom: 10px;
    position: relative;
}
.plan_selector .plan_option .step_label {
    font-weight: 500;
}

.plan_selector .plan_option input[type="radio"]:checked + label .step_dot {
    border-color: #FF416C;
}
.plan_selector .plan_option input[type="radio"]:checked + label .step_dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #FF416C;
}


/* --- 구독 버튼 --- */
.subscribe-button {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-radius: 5px;
    background: linear-gradient(90deg, #FF416C, #FF4B2B);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 20px;
}

/* --- 마이페이지 --- */
.img_title {
    text-align: center;
    padding: 0 0 50px;
}
.img_title h2 {
    font-size: 36px;
    font-weight: 600;
    padding: 0 20px 8px;
    border-bottom: 2px solid var(--main-color);
    display: inline-block;
    margin-bottom: 14px;
}
.img_title h5 {
    font-weight: 500;
    word-break: keep-all;
}

.sub_menu {
    margin: 30px 0;
    border-radius: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sub_menu::-webkit-scrollbar {
    display: none;
}
.sub_menu ul {
    display: flex;
}
.sub_menu ul li {
    flex: 1;
    position: relative;
}
.sub_menu ul li a {
    display: block;
    text-align: center;
    padding: 15px 0;
    white-space: nowrap;
    min-width: 100px;
    position: relative;
    height: 100%;
    line-height: 1;
}
.sub_menu ul li::after {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background-color: var(--border-color);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.sub_menu ul li:last-child::after {
    display: none;
}
.sub_menu ul li a::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--main-color);
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0); 
    transform-origin: center;
    transition: transform 0.3s ease-out;
}
.sub_menu ul li a:hover::after {
    transform: scaleX(1);
}
.sub_menu ul li a.on::after {
    transform: scaleX(1);
}

.item_group {
    margin-bottom: 30px;
}
.item_group .sub_tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.item_group .sub_tit {
    margin-bottom: 20px;
}
.item_group .sub_tit h4 {
    font-size: 24px;
    font-weight: 500;
}
.item_group .sub_tit .link_btn {
    color: var(--sub-color);
    transition: color 0.3s ease-in-out;
}
.item_group .sub_tit .link_btn:hover {
    color: var(--main-color);
}

.table_wrap {
    border-top: 2px solid #0f0f0f;
    width: 100%;
    overflow-x: auto;
}
.table_wrap table {
    width: 100%;
    table-layout: fixed;
    min-width: 950px;
}
.table_wrap table thead {
    background-color: #F6F6F6;
    border-bottom: 1px solid var(--border-color);
}
.table_wrap table th {
    height: 50px;
    font-weight: 600;
    padding: 4px;
}
.table_wrap table tbody tr {
    border-bottom: 1px solid var(--border-color);
}
.table_wrap table tbody tr:nth-child(even) {
    background-color: #FCFCFC;
}
.table_wrap table tr td {
    height: 50px;
    padding: 4px;
    text-align: center;
}
.function_btn {
    color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 5px;
    background-color: #fff;
    padding: 4px 8px;
    transition: all 0.3s ease;
}
.table_wrap table tr td .function_btn:hover {
    color: #fff;
    background-color: var(--main-color);
}