@import url("fonts/pre/pretendard-dynamic-subset.css");

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    color: #525252;
    font-size:18px;
    line-height:160%;
}
img, video {
    max-width: 100%;
    height: auto;
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
button, input, textarea {
    font-family: inherit;
}

ul, ol, li, dl, dt, dd {margin: 0; padding: 0; list-style: none;}

:root {
    --primary : #2A135F;
    --black : #191919;
}

.container {
    width:100%; 
}

/*메인*/
.main {width:100%; height:100%; padding-bottom:20px;}
.main .container {padding-left:15px; padding-right:15px;}
.main_logo img {width:150px; margin-top:200px;}
.main_btn {
    display:flex; 
    flex-wrap:wrap;
    justify-content:center; 
    margin-top:10px;
    gap:6px;
}
.main_btn li {width:20%; flex:1;
    display:flex; 
    flex-direction:column; 
    align-items: center;
    padding:15px; 
    padding-bottom:10px;
    /*background:url('images/main_btn1.png') no-repeat;*/
    background-size:100% 100%;
    color:#fff; font-weight: 700;
    cursor:pointer; 
    word-break: keep-all;
    line-height:130%;
    font-size:18px;
    border:1px solid rgba(255, 255, 255, 0.75);
    border-radius:20px;    
    box-shadow: 6px 6px 10px rgba(0,0,0,.5), inset 0 0 10px rgba(255, 255, 255, .6);
}
.main_btn li:first-child,
.main_btn li:nth-child(odd) {
    border-top-right-radius:0;
}
.main_btn li:nth-child(even) {
    border-bottom-left-radius:0;
}
.main_btn li img {height:22px; margin-bottom:6px;}
footer {
    margin-top: 40px;
    padding:20px 20px; 
    background:#f6f6f6;
    text-align: center;
}
.main footer {
    margin-top:0;
    padding:40px 0 0;
    background: none;
    color:#fff;
}

.main footer p {border-radius: 50px;  padding: 10px 20px;  background:rgba(255, 255, 255, 0.2);}

.ft_link {margin-bottom:10px;}
.sub .ft_link a {color:#191919;}

.main .slideshow-container {height:100vh;}
.main .mySlides {height:100%;}
.main .slide_nav {position:absolute;right:15px; top:15px; }
.main .prev {left:0;}
.main .btm_wrap {position:fixed; width:100%; top:62.5%; left:0; padding:0 15px;}

/*서브*/
input:not([type='checkbox'], [type='radio']) {
    border:1px solid #ddd;
    border-radius:5px;
    width:100%;
    height:40px;
    padding:5px 15px;
}
textarea {
    border:1px solid #ddd;
    border-radius:5px;
    width:100%;
    padding:5px 15px;
}
.btn_wrap {
    margin-top:20px; 
    padding:0 15px;
    text-align: center;
}
.btn {
    display:inline-block; 
    height:50px;
    padding:5px 15px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    font-size: inherit;
}
.btn_primary {
    background:var(--primary);
    border:1px solid var(--primary);
    color:#fff;
}

.btn_outline {
    background:#fff;
    border:1px solid var(--primary);
    color:var(--primary);
}

.header {
    position: relative;
    background:#fff;
}
.header .btn_back {
    position: absolute;
    left:15px;
    top:50%;
    transform: translateY(-50%);
}
.header .btn_back img {
    height: 22px;
}
.header .logo {
    display:flex;
    align-items: center;
    justify-content: center;
    width:100%; 
    height:60px; 
    padding:15px;
}
.header .logo img {height:48px;}

.tabs {
    display:flex; 
    width:100%;
    background: #DFDEE2;
}
.tabs li {
    flex: 1;
    padding: 10px 5px;
    color: #8B8B8B;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center; /* 가로 중앙 정렬 */
}
.tabs .active {
    background: var(--primary);
    color:#fff;
}

/*리스트*/
.list,
.view {
    margin-top: 10px;
}
.list li,
.view dt {
    display:flex;
    gap:20px;
    padding:10px 15px;
    border-bottom:1px solid #ddd;
    line-height:130%;
}
.list a,
.view dt > div {
    flex:1;
}
.list strong,
.view dt strong  {
    display:block; 
    width:100%;
    margin-bottom:4px;
    color:#191919;
    font-weight: 700;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-word;    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}
.list span,
.view dt span {
    color:#787878;
	font-size:0.888rem;
}
.btn_mp3 {
    display:flex;
    align-items: center;
    justify-content: center;
    width:40px;
    height: 40px;
    background:#fff;
    border:1px solid var(--primary);
    border-radius: 50px;
}

.btn_mp3 img {
    height:16px;
}

.pagenation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:10px;
	font-size:0.888rem;
}

.pagenation a {
    display:flex;
    align-items: center;
    justify-content: center;
    width:40px; 
    height:40px;
    color:#666;
}
.pagenation a.active {
    background:var(--primary);
    border-radius: 10px;
    color:#fff;
}
.pagenation .pre img,
.pagenation .next img {
    height:12px;
}
.pagenation .next img {transform: rotate(180deg);}

.bo_list .btn_wrap {margin-top:30px;}
.bo_list .btn_wrap .btn,
.bo_write .btn_wrap .btn {width:100%;}

/*뷰*/
.view dd {padding:10px 15px;}
.bo_view .btn_wrap {
    display:flex;
    gap:5px;
    margin-top:40px;
    padding:0 20px;
}
.bo_view .btn {
    flex:1;
    margin:0;
}

/*쓰기*/
.write_form {margin-top:20px;}
.write_form li {
    display:flex;
    flex-direction: column;
    gap:0;
    padding:6px 15px;
}
.write_form label {
    margin-left:3px;
    color:var(--black);
    font-weight:700;
    font-size:0.888rem;
}

/*서브공통*/
.page .container {padding:10px 15px;}

/*규칙*/
.terms li ol {padding-left:22px;}


@media (max-width:320px) {
	.main .btm_wrap {top:auto; bottom:20px;}
}