@charset "UTF-8";

.content__banner-wrap{
	width:100%;	
	background:url(bg.png) no-repeat center/cover;
}

.content__banner{
	padding:160px 0;
}


.content__banner-tit{
	text-align: center;
	color:var(--color-gray-00);
	user-select: none
}


.content__snb-wrap{
	position: relative;
	width:100%;
	box-shadow: inset 0 -2px 0 -1px var(--color-gray-10);
	z-index: 1
}

.content__snb{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
}

.content__snb-item{
	display: flex;
}

.content__snb-li a{
	display: inline-flex;
	align-items: center;
	padding:0 40px;
	height: 80px;
	box-sizing: border-box;
	color:var(--color-gray-70);
	transition: 0.3s;
	user-select: none
}

.content__snb-li.active a{
	position: relative;
	color:var(--color-gray-90)
}

.content__snb-li a:hover{
	color:var(--color-primary-60)
}


.content__snb-li.active a::after{
	content: '';
	position: absolute;
	left: 50%;
	bottom:2px;
	transform: translateX(-50%);
	width: 100%;
	height: 6px;
	border-radius: 10px;
	background-color:var(--color-primary-70) 
}

/**/
.program-list__wrap, .program-view__wrap{
	margin:120px auto
}

.program-list__top{
	display: flex;
	justify-content: space-between;
	align-items: center
}

.program-list__data span{
	color:var(--color-primary-70)
}

.program-list__search{
	position: relative;
	max-width: 400px;
	width: 100%;
}

.program-list__search .btn_submit{
	position: absolute;
	top:50%;
	right: 12px;
	transform: translateY(-50%);
	background: url(../../../img/ico_search.svg) no-repeat center;
	width: 24px;
	height: 24px;
	cursor: pointer;
}

.program-list__grid{
	max-width: var(--width-default);
	margin:20px auto;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap:40px;
}

.program-list__item{
	display: grid;
	grid-template-columns: 1fr 2fr;
	column-gap: 20px;
	width:100%;	
	height: 100%;
	padding:20px;
	box-sizing: border-box;
	box-shadow: inset 0 0 0 1px var(--color-gray-10);
	border-radius: 12px
}

.program-list__grid a{
	border-radius: 12px;
	overflow:hidden;
	transition: 0.3s
}

.program-list__grid a:hover{
	background-color: var(--color-gray-05)
}

.program-list__thumb{
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	border-radius: 8px;
	overflow: hidden
}

.program-list__thumb img{
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	object-fit: cover
}

.program-list__none{
	position: relative;
	width:100%;
	height: 0;
	padding-bottom: 100%;
	background-color: var(--color-gray-05);
	box-shadow: inset 0 0 0 1px var(--color-gray-10)
}

.program-list__none-txt{
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: var(--color-gray-60)
}

.program-list__deadline{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background-color: var(--color-primary-10);
	color: var(--color-primary-70);
	border-radius: 4px;
	transition: 0.3s;
	text-align: center;
	box-sizing: border-box;
	user-select: none
}

.program-list__tit{
	word-break: break-word;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	margin-top: 4px
}

.program-list__content{
	margin: 12px 0 24px;
	min-height: calc(calc(max(1.6rem, min(2.2vw, 1.7rem)) + 8px) * 2);
	word-break: break-word;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	color: var(--color-gray-70)
}

.program-list__date{
	margin-bottom: 8px
}

.program-list__date, .program-list__place{
	word-break: break-word;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	color: var(--color-gray-50)
}


.program-list__date-ico, .program-list__place-ico{
	margin-right: 8px
}

.program-list__date-ico::before{
	content: '접수기간';
	width:24px;
	height:24px;
	padding-left: 28px;
	background: url(../../../img/ico-date.svg) no-repeat center left;
}

.program-list__place-ico::before{
	content: '장소';
	width:24px;
	height:24px;
	padding-left: 28px;
	background: url(../../../img/ico-map.svg) no-repeat center left;
}

.program-list__place-ico{
	margin-right: 8px
}

.program-list__empty{
	position: relative;
	width:100%;
	height: 300px;
}

.program-list__empty-txt{
	position: absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
}

.program-list__edit{
	max-width: var(--width-default);
	margin:0 auto;
}

.program-list__write a{
	float:right;
	margin-top: 20px
}

.program-list__none-write{
	display: block;
	height: 36px
}

.program-list__page{
	display: flex;
	align-items: center;
	justify-content: center;
}

.program-list__page .pg{
	display: flex;
	column-gap: 12px;
	user-select: none;
}

.pg_page, .pg_current{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width:44px;
	height:44px;
	border-radius: 100px;
}

.pg_page{
	background-color: var(--color-gray-00);
	transition: 0.3s
}

.pg_current{
	background-color: var(--color-primary-70);
	color: var(--color-gray-00)
}

.pg_page:hover{
	background-color: var(--color-gray-10)
}

.pg_prev{
	width:44px;
	height: 44px;
	background: url(../../../img/ico-prev.svg) no-repeat center;
}

.pg_next{
	width:44px;
	height: 44px;
	background: url(../../../img/ico-next.svg) no-repeat center;
}


/**/
.program-view__top{
	margin-bottom:20px
}

.program-view__deadline{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background-color: var(--color-primary-10);
	color: var(--color-primary-70);
	border-radius: 4px;
	transition: 0.3s;
	text-align: center;
	box-sizing: border-box;
	user-select: none
}

.program-view__tit{
	margin-top:8px
}

.program-view__grid{
	position: relative;
	height:100%
}

.program-view__left{
	width:calc(60% - 20px);
	float: left
}

.program-view__right{
	position: sticky;
	top:0;
	width:calc(40% - 20px);
	float: right
}

.program-view__thumb{
	position: relative;
	width: 100%;
	height: 0;
	margin-bottom: 24px;
	padding-bottom: 100%;
	border-radius: 8px;
	overflow: hidden
}

.program-view__thumb img{
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.program-view__thumb-none{
	position: relative;
	width:100%;
	height: 0;
	padding-bottom: 100%;
	background-color: var(--color-gray-05)
}

.program-view__thumb-nonetxt{
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: var(--color-gray-60)
}

.program-view__info{
	display: flex;
	flex-direction: column;
	row-gap:20px;
}

.program-view__wr{
	display: grid;
	grid-template-columns: 90px 1fr;
	align-items: start;
	gap:12px;
}

.program-view__ico{
	position: relative;
	padding-left: 28px;
}

.program-view__ico_2::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/ico-date.svg) no-repeat center left;
}

.program-view__ico_3::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/ico-date.svg) no-repeat center left;
}

.program-view__ico_4::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/ico-map.svg) no-repeat center left;
}

.program-view__ico_5::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/ico-people.svg) no-repeat center left;
}

.program-view__ico_6::before{
	content: '';
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:24px;
	height:24px;
	background: url(../../../img/ico-phone.svg) no-repeat center left;
}

.program-view__link a{
	margin-top: 40px;
	width:100%;
}

.program-view__link-ico{
	margin-left: 4px
}

.program-view__edit{
	display: flex;
	column-gap: 12px;
	margin-top: 40px
}

.program-view__text{
	word-break: break-all;
}

.program-view__text p b{
	font-weight: 700
}

.program-view__text p i{
	font-style: italic
}

.program-view__text p s{
	text-decoration: line-through
}

.program-view__text p u{
	text-decoration: underline
}

.program-view__text p a{
	text-decoration: underline
}


/**/

.program-write{
	margin:120px auto;
}

.program-write__wrap{
	max-width: 1080px;
	display: flex;
	flex-direction: column;
	row-gap:40px;
}

.prgr-write__label{
	display: block;
	margin-bottom: 8px
}

.prgr-write__label::after{
	content: '*';
	margin-left: 4px;
	color:var(--color-error);
}

.prgr-write__deadline-label-sub{
	display: block;
	color: var(--color-gray-60);
	margin: 4px 0 0 4px
}

.prgr-write__deadline-input{
	max-width: 200px
}

.prgr-write__btn{
	display: flex;
	justify-content: center;
	column-gap: 20px;
	margin-top: 40px
}

.ui-datepicker{
	width:300px !important;
	font-size: 1.6rem !important;
	line-height: calc(max(1.5rem, min(2vw, 1.6rem)) + 6px);
	letter-spacing: -0.02em;
	background-color: var(--color-gray-00)
}

.ui-datepicker-calendar tr{
	display: grid;
	grid-template-columns: repeat(7, 1fr)
}

.ui-state-default{
	height:30px
}

.ui-datepicker td span, .ui-datepicker td a{
	text-align: center !important;
}

.prgr-write__thumb input[type="file"]::file-selector-button{
	height: 24px;
	font-size: 1.3rem;
	line-height: 1.6rem;
	text-align: center;
	margin:16px 8px 16px 0;
	float: left;
}

.prgr-write__thumb input[type="file"]{
	line-height: 56px
}






.content__banner-wrap{
	opacity: 0;
	transition:1s ease
}

.content__snb-wrap,
.program-list__top,
.program-list__grid,
.program-list__empty,
.program-list__page,
.program-view__top,
.program-view__right,
.program-view__left{
	opacity: 0;
	transform:translateY(80px);
	transition:1s ease
}

.content__snb-mo-tit.mo-only{
	display: none
}

@media all and (max-width:1024px) {
	.content__snb-li a{
		padding:0 20px;
	}

	.program-list__grid{
		grid-template-columns: repeat(1,1fr);
		gap:40px;
	}

	.program-view__left{
		position: sticky;
		top:0;
		width:calc(50% - 20px);
		float: left;
	}

	.program-view__right{
		width:calc(50% - 20px);
		float: right;
	}
}

@media all and (max-width:768px) {

	.content__snb-mo-tit.mo-only{
		display: flex;
	}

	.content__snb-wrap{
		box-shadow: none
	}

	.content__snb-item{
		flex-direction: column;
		width: 100%;
		align-items: center;
		background-color: var(--color-gray-00);
		border-radius: 4px;
		overflow: hidden;
		box-shadow: inset 0 0 0 1px var(--color-gray-10);
		position: absolute;
		top:72px;
		left: 0;
		z-index: 10;
		display: none
	}

	.content__snb-li{
		width: 100%
	}

	.content__snb-li a{
		justify-content: center;
		width: 100%
	}

	.content__snb-li.active a::after{
		display: none
	}

	.content__snb-li a{
		height: 48px;
		color:var(--color-gray-90)
	}

	.content__snb-li a:hover{
		background-color: var(--color-gray-05)
	}

	.content__snb-mo-tit{
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		margin:4px 0;
		height: 56px;
		box-shadow: inset 0 0 0 1px var(--color-gray-10);
		border-radius: 8px;
		background: url(../../../img/ico_select_close.svg) no-repeat center right 16px;
		cursor: pointer;
		z-index: 10;
		user-select: none
	}

	.content__snb-mo-tit.snb-open{
		background: url(../../../img/ico_select_open.svg) no-repeat center right 16px
	}

	.content__snb-bg{
		width: 100%;
		height: 100vh;
		background-color: transparent;
		position: fixed;
		top: 0;
		left: 0;
	}

	.program-list__wrap, .program-view__wrap{
	    margin: 64px auto;
	}

	.program-list__top{
		display: block;
	}

	.program-list__search{
		margin-top: 12px;
		max-width: 100%;
	}

	.program-list__grid{
		gap:20px;
	}
	
	.program-view__left{
		position: static;
		top:0;
		width:100%;
		float: none;
		margin-top: 64px
	}

	.program-view__right{
		position: static;
		width:100%;
		float: none;
	}
}