@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css');@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css');

* {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
::-moz-selection {background: #000000; /*메인색*/ color: #e6e6e6;text-shadow: none;}
::selection {background: #000000; color: #e6e6e6; text-shadow: none;}
html, body { font-size: 62.5%; font-family: 'Pretendard' !important; overflow-x: hidden; }
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 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img { width: 100%; }
button { border: 0; font-family: 'Pretendard'; background: transparent; }
a { text-decoration: none; }

.pc_none {display: none;}
.pc_none_flex {display: none;}
.mo_none {display: block;}
.mo_none_flex {display: flex;}
.bg_none {background: none !important;}


.story_main {
    width: 100%;
    height: 100%;
    background: #24CCC2;

}

.main_txt {
    color: #FFF;
    font-family: 'Leferi Base Type', sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 60px */
    display: flex;
    align-items: center;
    justify-content: center; /* 중앙 정렬 */
    padding-top: 68px;

}

.square {
    width: 23px;
    height: 23px;
    background-color: #FF9270;
    margin: 0 21px; /* 원하는 간격으로 변경하세요 */
}

.input_wrap {
    width: 100%;
    max-width: 1920px; /* 원하는 최대 너비로 조절하세요 */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.karaplay_list {
    list-style: none;
    padding: 68px 40px 84px 40px;
    display: grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    justify-items:stretch;
}



.info_bx {
    background-color: #FFF;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
}

.img_bx {
    overflow: hidden;
    height: 312px;
}

.img_bx img {
    width: 100%;
    height: 312px;
    object-fit: cover;
}


.info_txt {
display: flex;
padding: 20px 20px 30px 20px;
flex-direction: column;
justify-content: flex-start;
height: 216px;
}

.input_title{
    width: 420px;
    color: #000;
    font-family: Pretendard;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 155%; /* 37.2px */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    
}

.input_title_sub {
    color: #000;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 155%; /* 24.8px */
    margin-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 표시할 줄 수 지정 */
    -webkit-box-orient: vertical;
}

.input_title_day {
    color: #000;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    margin-top: 28px;
}
  
.write_button {
    font-size: 18px;
    background-color: #FF9270;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.write_button:hover {
    background-color: #db7272;
}


.loadMore {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: url('images/plus_icon.png') no-repeat center;
    background-size: 35px 35px;
}


/* detail page */
.detail_main {
    width: 100%;
    height: 100%;
    background: #ffffff;
}
.detail_section img {
    width: 100%;
    max-height: 644px;
    height: auto;
}

.detail_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 910px;
    margin: 0 auto;
    padding-top: 50px;
}
.detail_day {
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 160%; 
text-align: center;
padding-top: 54px;
}
.detail_title {
    color: #000;
font-family: Pretendard;
font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: 145%; 
text-align: center;
}

.detail_title_sub {
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 180%;
margin-top: 20px;
}

.detail_image {
    display: flex;
    justify-content: center;
}

.detail_image img {
padding-top: 54px;
max-width: 910px;
width: 100%;
padding-left: 20px;
padding-right: 20px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 상하 여백을 15%로 설정 */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* 너비를 80%로 설정 */
    max-width: 800px; /* 최대 너비를 800px로 설정 */
    height: auto; /* 높이를 자동으로 설정 */
    border-radius: 30px;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-content input[type="text"],
.modal-content textarea {
    width: 100%; /* 입력 필드 너비를 100%로 설정 */
    box-sizing: border-box; /* padding과 border가 너비에 포함되도록 설정 */
    margin-bottom: 10px; /* 각 입력 필드 아래에 여백 추가 */
}
.modal-content textarea {
    height: 500px;
}

.modal-content button {
    width: 100%; /* 버튼 너비를 100%로 설정 */
    padding: 10px; /* 버튼 내부에 패딩 추가 */
    margin-top: 10px; /* 버튼 위에 여백 추가 */
}



.button_detail {
    padding: 0px 0px 0px 450px;
}

.custom-button {
    display: flex;
    justify-content: center;
}

.updateBtn {
    padding: 10px 20px;
    color: #fff; /* 버튼 텍스트 색상 */
    background-color: #24CCC2; /* for example */
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-right: 7px;
    font-size: 16px;

}
.deleteBtn {
    padding: 10px 20px;
    color: #fff; /* 버튼 텍스트 색상 */
    background-color: #24CCC2; /* for example */
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;

}
