@charset "utf-8"; 
  
/* fonts  */
@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 800;
	src: url('font/Pretendard-ExtraBold.woff2') format('woff2'),
		 url('font/Pretendard-ExtraBold.woff') format('woff');
}
@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 700;
	src: url('font/Pretendard-Bold.woff2') format('woff2'),
		 url('font/Pretendard-Bold.woff') format('woff');
}
@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 500;
	src: url('font/Pretendard-Medium.woff2') format('woff2'),
		 url('font/Pretendard-Medium.woff') format('woff');
}
@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 400;
	src: url('font/Pretendard-Regular.woff2') format('woff2'),
		 url('font/Pretendard-Regular.woff') format('woff');
}

:root {
    --pc-width: 430px;
    --pc-margin: 60px;
    --primary-color: #ef3b24;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, button, select, input, textarea {
    margin:0;
    padding:0;
    border:0;
    font-size:100%;
    vertical-align: baseline;
    font-family:'Pretendard';
    letter-spacing: 0;
    box-sizing: border-box;
    font-weight:400;
    font-size:0.875rem;
    line-height:18px;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display:block;
}
html {font-size:100%;}
body {font-size:16px; color:#222;}
html, body {height:100%;}
ol, ul {list-style: none;}
blockquote, q {quotes:none;}
blockquote:before,blockquote:after,q:before,q:after {content:'';content:none;}
table {width:100%; border-spacing: 0;border-collapse: collapse;}
caption {visibility: hidden; overflow:hidden; width:0; height:0; font-size:0; line-height:0;}
fieldset {margin:0; padding:0; border:none;}
legend {visibility: hidden; overflow:hidden; width:0; height:0; font-size:0; line-height:0;}
a {text-decoration: none; color:#000;}
button {background-color:transparent; cursor: pointer;}
strong {font-weight:700;}
h1, h2, h3, h4, h5, h6 {font-size:100%;}
i {font-style: normal;}
.hidden {display:inline-block; width:1px; height:1px; font-size:1px; line-height:0; clip:rect(1px 1px 1px 1px); position:absolute; top:0; left:0;}
.hide {display:none !important;}
.tal {text-align:left !important;}
.tac {text-align:center !important;}
.tar {text-align:right !important;}
.fc_red {color:#ef3b24 !important;}
.fc_black {color:#000 !important; }
.fc_666 {color:#666 !important;}

input::placeholder {color:#666; -webkit-text-fill-color: #333; font-size:1rem; font-weight:400; opacity:1;}

body {
    display:flex;
    justify-content: center;
    margin:0;
    background-color:#fff;
    overflow:hidden;
    min-width:320px;
}
#wrap {
    display:flex;
    flex-direction: column;
    width:100%;
    position:relative;
    overflow:hidden;
    background:#fff;
}
#wrap.intro {
    background:linear-gradient(135deg, #d8dcff 0%, #e9f7ff 50%);
}
#wrap.intro #scroll-outer {border-radius:24px 24px 0 0;}
#wrap.intro .main-content {padding-top:40px; padding-bottom:32px;}
#wrap.intro .fake-scrollbar {top:10px;}

header {position:relative; height:56px; border-bottom:1px solid #eee; background-color:#fff;}
.logo {padding:13px 24px; font-weight: bold; font-size:1.2rem;}
.logo span {color:#ef4436; font-weight:700;}
.logo img {height:27px;}
.heading_tit {padding:17px 56px;}
.heading_tit h1 {font-size:18px; line-height:22px; font-weight:700;}
header .back {position:absolute; left:16px; top:calc(50% - 12px); width:24px; height:24px;}
header .back::before {content:''; display:block; width:100%; height:100%; background:blue; background-size:100%;}
header.has_tab {height:auto;}
header.has_tab .logo {border-bottom:1px solid #eee;}

.top_area {
    flex:1;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:27px 24px;
    text-align: center;
    background-color: transparent;
    border:0;
    height:auto;
}
.top_area img {width:100%; max-width:327px;}

main {
    flex:1;
    background-color: #fff;
    position: relative;
    overflow:hidden;
}
.scroll-inner {
    width:100%;
    height:100%;
    overflow-y:scroll;
    overflow-x:hidden;
    box-sizing: content-box;
}

.main-content {
    width:100%;
    padding:24px;
    background-color:#fff;
    box-sizing: border-box;
}
.fake-scrollbar {
    position:absolute;
    top:5px; right:6px;
    width:6px; height:calc(100% - 10px);
    z-index:100;
    display:none;
}
.fake-thumb {
    width:100%; background:rgba(0,0,0,0.2);
    border-radius:3px; position:absolute; cursor: pointer;
}
.fake-thumb.active {background:rgba(0,0,0,0.5);}

.greeting {margin-bottom:40px;}
.greeting_tit {font-size:1.625rem; line-height:32px; font-weight:700;}
.greeting_txt {margin-top:16px; font-size:0.9375rem; line-height:24px;}

.tabs {display:flex; padding:0 24px;}
.tab {display:flex; align-items: center; justify-content: center; flex:1; text-align:center; color:#888; font-weight:400; cursor: pointer; height:56px; font-size:1rem; line-height:20px;}
.tab.active {color:#222; border-bottom:2px solid #333; font-weight:700;}

/* 2분할영역 */
.card_grid {display:grid; grid-template-columns: 1fr 1fr; gap:24px 7px;}
.card_grid.details {grid-template-columns: 1fr; margin:-24px -24px 16px;}
.card_grid.details .card_thumb {border-radius:0;}
.card_grid.details .card_title {margin:16px 0 8px; padding:0 24px; font-size:1.25rem; line-height:26px; max-height:inherit; display:block; -webkit-line-clamp: inherit; text-overflow: inherit; overflow:initial; font-weight:700; max-width:100%;}
.card_grid.details .cardinfo {display:flex; padding:0 24px; gap:17px;}
.card_grid.details .cardinfo__item {position:relative;}
.card_grid.details .cardinfo__item:not(:first-child)::before {content:''; display:block; width:1px; height:8px; background-color:#ccc; position:absolute; top:calc(50% - 3px); left:-8px;}
.card_grid.details .cardinfo__item span:first-child {color:#888; font-weight:500;}
.card_grid.details .cardinfo__item span {font-size:0.75rem; line-height:16px; color:#333;}
.card_grid.details .play_button {width:48px;height:48px;}

/* 내부 스크롤영역 */
.card_desc.scrolled {position:relative; margin:8px 24px 0; padding:16px; background-color:#f9f9f9; border-radius: 8px; overflow:hidden;}
.scrolled_outer {width:100%; height:100%; max-height:66px; overflow-y:scroll; overflow-x:hidden; padding-right:30px; box-sizing: content-box;}
.scrolled_outer::-webkit-scrollbar {display:none; width:0;}
.card_desc.scrolled p {line-height:22px; font-size:0.875rem; color:#666;}
.scrolled_fakebar {position:absolute; top:8px; bottom:8px; right:6px; width:4px; background:rgba(0,0,0,0.05);border-radius:10px; z-index:10; display:none;}
.scrolled_fakethumb {width:100%; background:rgba(0,0,0,0.2); border-radius:10px; position:absolute; cursor: pointer;}
.no-select {user-select:none;}

/* 영상 영역 */
.card_thumb {aspect-ratio: 16 / 9; background-color:#ccc; border-radius: 4px; position: relative; overflow:hidden;}
.card_thumb .time {position:absolute; right:6px; bottom:6px; background:rgba(0,0,0,0.6); border-radius: 2px; height:14px; padding:0 4px;color:#fff; font-size:0.625rem; line-height:14px;}
.card_thumb iframe,
.card_thumb video,
.card_thumb img {position:absolute; width:100%; height:100%; object-fit: cover;}
.card_title {margin:8px 0 4px; font-weight:500; max-width:90%; max-height:36px; text-overflow: ellipsis; display:-webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-wrap:break-word;}
.card_info {font-size:0.75rem; line-height:16px; color:#666;}
.more_btn {font-size:12px; color:#666; border:1px solid #eee; padding:0 8px; height:25px; line-height:25px; border-radius:56px; text-decoration: none;}
.play_overlay {position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.1); display:flex; align-items: center; justify-content: center; cursor: pointer;}
.play_button {width:32px; height:32px; border-radius: 50%; display:flex; align-items: center; justify-content: center;}
.play_button::after {content:''; display:block; width:100%; height:100%; background:green; background-size:100%;}


/* 섹션 */
.section:not(:first-child) {margin-top:24px;}
.section.last {margin-top:0;}
.section_header {display:flex; justify-content: space-between; align-items: center; margin-bottom:8px;}
.section_title {font-size:1rem; line-height:20px; font-weight:700;}

.floating {position:relative; height:90px; pointer-events: none;}
.floating_inner {position:fixed; display:flex; justify-content: space-between; bottom:0; left:0; right:0; padding:15px 24px; background:#fff; pointer-events: all; z-index:10;}
.floating_inner .btn {height:60px; font-size:1.25rem; line-height: 24px; font-weight:700;}

.bottom_area {
    width:100%;
    box-sizing: border-box;
    padding:15px 24px;
    background-color:#fff;
    z-index:100;
}
.btn {
    width:100%;
    padding:16px;
    color:#fff;
    border-radius:50px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
}
.btn.primary {background-color: #f44336; color:#fff;}
.btn.secondary {background-color: #222; color:#fff;}
.btn.tertiary {background-color:#ebebeb; color:#666;}


/* 레이어팝업 */
.popup {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    z-index:1000;
    justify-content: center;
    align-items: center;
}
.popup.open {
    display:flex;
}
.dim {position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6);} /* 20260330 수정 */
.popup_container {
    position: relative;
    width:calc(100% - 48px);
    background:#fff;
    border-radius: 15px;
    overflow:hidden;
    animation: fadeIn 0.2s ease-out;
}
.popup_body {padding:30px 24px;}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.popup_footer .btn_wrap {display: flex; gap:9px; padding:20px 23px 16px;}
.popup_footer .btn_wrap.half .btn {flex:1;}

/* form */
.form_row + .form_row {margin-top:24px;}
.form_row > label {margin-bottom:8px; display:block; color:#666;}
.form_cell {display:flex; align-items: center;}
.form_col {display:flex; gap:15px;}
.form_col > * {flex:1;}
.input_txt {width:100%; position:relative; border:1px solid #ddd; border-radius: 8px; overflow:hidden;}
.input_txt > input {width:100%; height:56px; padding:0 16px; font-size:15px; outline:0;}
.input_txt:focus-within {box-shadow:0 0 0 2px; border-color:transparent;}
.txt_error {display:none; margin-top:8px; font-size:0.75rem; line-height: 16px; color:var(--primary-color);}
.form_row.error .txt_error {display:block;}
.form_row.error .input_txt {box-shadow:0 0 0 2px rgba(217,73,22,1); border:0;}

/* accordion */
.accordion {margin:0 -24px; padding:0 24px; border-top:8px solid #f9f9f9;}
.accordion_head {display:flex; align-items: center; padding:18px 0; cursor: pointer;}
.accordion_head .tit {position: relative; font-size:1.125rem; line-height:22px; padding-left:28px;}
.accordion_head .tit::before {content:''; display:block; width:24px; height:24px; background:pink; background-size: 100%; position:absolute; left:0; top:calc(50% - 12px);}
.accordion_head .tit.clip::before {background:purple;}
.accordion_head .tit i {font-size:1.125rem; line-height:22px; font-weight:700; color:#2261ff;}
.accordion_head .opener {position:relative; margin-left:auto; width:20px; height:20px; transition:transform 0.3s ease; transform: rotate(180deg);}
.accordion_head .opener::before {content:''; display:block; width:100%; height:100%; background:skyblue; background-size: 100%; position:absolute; left:calc(50% - 10px); top:calc(50% - 10px);}
.accordion_body {max-height:0; overflow: hidden; transition:all 0.3s ease-out;}
.accordion_body .card_grid {padding-top:16px;}
.accordion.active .opener {transform:rotate(0);}

.file_list {display:flex; flex-direction: column; gap:8px; padding:16px 0 24px;}
.file_list li a {display:block; color:#666; position:relative; padding-left:26px;}
.file_list li a::before {content:''; display:inline-block; width:24px; height:24px; background:lime; background-size:100%; position:absolute; top:-4px; left:0;}


/* [PC 모드]*/
body.desktop {background-color:#f0f1fc;}
.desktop #wrap {
    max-width: 430px;
    transform: translateZ(0);
}
.desktop .scroll-inner::-webkit-scrollbar {display:none; width:0;}

/* [MO 모드]*/
body.mobile {overflow:auto;}
body.mobile #wrap {overflow:auto; padding-top:56px;}
body.mobile #wrap:has(.has_tab) {padding-top:114px;}
body.mobile header {position: fixed; top:0; left:0; width:100%; background:#fff; z-index:11;}
body.mobile header.top_area {background:transparent; position:static;}
body.mobile main {overflow:auto;}
body.mobile header.top_area ~ main {overflow-x:hidden; overflow-y:auto;}
body.mobile .scroll-inner {overflow:initial;}

/* 20260330 삭제 */
/* body.mobile .card_desc.scrolled {overflow:hidden; padding:0;}
body.mobile .scrolled_outer {overflow:hidden; max-height:initial; padding:0;}
body.mobile .scrolled_outer::-webkit-scrollbar {display:block; width:auto;}
body.mobile .scrolled_inner {padding:16px; overflow-y: auto; max-height:98px;}
body.mobile .scrolled_inner::-webkit-scrollbar-thumb {background:rgba(0,0,0,0.2);border-radius:3px;} */

body.mobile .bottom_area {position:fixed; bottom:0; left:0; width:100%;}
body.mobile #wrap.intro {padding-top:0;}
/* body.mobile #wrap.intro .scroll-inner {padding-top:10px;} 20260330 삭제 */
body.mobile #wrap.intro .main-content {padding-top:40px; border-radius:24px 24px 0 0;} /* 20260330 수정 */
body.mobile #wrap.intro .bottom_area {position:static;}
body.mobile .fake-scrollbar {display: none !important;}

/* 20260330 추가 */
#wrap.intro #scroll-outer {border-radius:0;}
#wrap.intro #scroll-outer2 {border-radius:24px 24px 0 0;}
#wrap.intro #scroll-outer2 .scroll-inner {overflow-y:scroll; overflow-x:hidden;}
#wrap.intro #scroll-outer2 .scroll-inner::-webkit-scrollbar {display:none; width:0;}
#wrap.intro #scroll-outer2 .main-content {border-radius:0;}
#wrap.intro #scroll-outer2 .fake-scrollbar {display:block !important;}


