@charset "UTF-8";

.news-list,.news-write{
	width:100%;
	margin: 100px auto
}

.news-list__banner-wrap{
	position: relative;
	width:100%;
	z-index: 10
}

.news-list__banner{
	width:100%;
	max-width: var(--width-default);
	margin:0 auto;
	margin-bottom: 80px;
	padding:80px 0;
	box-sizing: border-box;
	border-radius: 12px;
	background: url(bg_04.png) no-repeat center/cover;
}

.news-list__title{
	margin-bottom: 8px;
	text-align: center;
	color: var(--color-gray-00);
	padding: 0 20px;
	word-break: keep-all;
	box-sizing: border-box
}

.news-list__breadcrumb{
	display: flex;
	justify-content: center;
	column-gap: 12px;
	margin-bottom: 40px;
	color: var(--color-gray-40);
	padding: 0 20px;
	box-sizing: border-box
}

.news-list__link-wrap{
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 0 20px;
	box-sizing: border-box
}

.news-list__link-pc .news-list__link-btn{
	padding:4px;
	background-color: var(--color-gray-00);
	border-radius: 100px;
	box-sizing: border-box;
}

.news-list__link-pc .news-list__link-default a{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	height: 40px;
	padding: 0 40px;
	box-sizing: border-box;
	transition: 0.3s;
	border-radius: 100px
}

.news-list__link-pc .news-list__link-default a:hover{
	background-color: var(--color-gray-10);
}

.news-list__link-pc .news-list__link-on a{
	background-color: var(--color-primary-70);
	color: var(--color-gray-00);
}

.news-list__link-pc .news-list__link-on a:hover{
	background-color: var(--color-primary-80);
	color: var(--color-gray-00);
}

.news-list__link-mo{
	display: none
}

.news-list__data{
	width:100%;
	max-width: var(--width-default);
	margin:0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 20px;
}

.news-list__total-color{
	color: var(--color-primary-70)
}

.news-list__search{
	position: relative;
	width: 100%;
	max-width: 400px;
	height: 48px;
	background-color: var(--color-gray-10);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: none;
}

.news-list__search input[type="text"]{
	width:100%;
	height: 48px;
}

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

.news-gallery, .news-view{
	max-width: var(--width-default);
	margin:0 auto;
}

.news-gallery{
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap:40px;
}

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

.news-gallery__thumb img{
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s
}

.news-gallery__thumb img:hover{
	transform:  translate(-50%,-50%) scale(1.1)
}

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

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

.news-gallery__title{
	word-break: break-word;
	min-height: 5.6rem;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-top: 20px;
}
.news-gallery__date{
	margin-top: 12px;
	color:var(--color-gray-50);
}

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

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

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

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

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

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

.news-list__page .pg{
	display: flex;
	column-gap: 12px
}

.pg_page, .pg_current{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width:40px;
	height:40px;
	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-05)
}

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

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

.news-view__title{
	margin-bottom: 12px
}

.news-view__user{
	display: flex;
	align-items: center;
	column-gap: 12px;
	margin-bottom: 20px;
	color:var(--color-gray-60);
}

.news-view__line{
	width: 1px;
	height: 12px;
	background-color: var(--color-gray-20)
}

.news-view__content{
	padding:40px 0;
	border-top:1px solid var(--color-gray-20);
}

.news-view__content img{
	max-width:100%
}

.news-view__content>p>span{
	all: unset
}

.news-view__content p b{
	font-weight: 700
}

.news-view__content p i{
	font-style: italic
}

.news-view__content p s{
	text-decoration: line-through
}

.news-view__content p u{
	text-decoration: underline
}

.news-view__content p a{
	text-decoration: underline	
}

.news-view__file{
	display: grid;
	grid-template-columns: 120px 1fr;
	padding:20px;
	box-sizing: border-box;
	border-top:1px solid var(--color-gray-20);
	background-color: var(--color-gray-05)
}

.news-view__file-data{
	display: flex;
	flex-direction: column;
	row-gap:8px;
}

.news-view__file-label{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	padding:0 12px;
	background-color: var(--color-gray-20);
	color: var(--color-gray-60);
	border-radius: 4px;
	margin-left: 12px;
}

.news-view__file-data a{
	transition: 0.3s	
}

.news-view__file-data a:hover{
	color: var(--color-primary-70)
}

.news-view__edit{
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 20px;
	margin-top: 60px
}

.news-write__wrap{
	max-width: 1080px;
	display: flex;
	flex-direction: column;
	row-gap:40px;
}
.news-write__label, .news-write__file-label{
	display: block;
	margin-bottom: 8px
}

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

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

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

.news-write__file 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;
}

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

.news-write__file-del{
	margin-top: 12px;
}

.news-write__file-del span{
	color: var(--color-gray-40)
}

.news-write__file-del input[type="checkbox"] + label{
	padding-left: 28px;
	line-height: 24px;	
	height: 24px
}

.news-list__banner,
.news-list__data,
.news-gallery__item,
.news-view,
.news-list__empty{
	opacity: 0;
	transform:translateY(40px);
	transition:1.5s ease-out
}



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


	.news-list__link-pc{
		display: none
	}

	.news-list__link-mo{
		position: relative;
		display: block;
		width:100%;
		max-width: 400px;
	}

	.news-list__link-bg{
		width:100%;
		height: 100%;
		background-color: transparent;
		position: fixed;
		top:0;
		left: 0;
		z-index: 5;
	}

	.news-list__link-mo .news-list__link-btn{
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
		height: 48px;
		background-color:;
		border-radius: 100px;
		cursor: pointer;
		z-index: 10;
		background: var(--color-gray-00) url(../../../img/images/ico_select_close.svg) no-repeat right 16px center;
	}

	.news-list__link-mo .news-list__link-btn.link-open{
		background: var(--color-gray-00) url(../../../img/images/ico_select_open.svg) no-repeat right 16px center;
	}

	.news-list__link-mo .news-list__link-ul{
		width:100%;
		max-width: 392px;
		position: absolute;
		top:56px;
		left:50%;
		transform: translateX(-50%);
		border-radius:24px;
		background-color: var(--color-gray-00);
		box-shadow: inset 0 0 0 1px var(--color-gray-10);
		overflow: hidden;
		z-index: 10;
	}

	.news-list__link-mo .news-list__link-li{
		display: block;
		width:100%;
		padding:4px;
		box-sizing: border-box
	}

	.news-list__link-mo .news-list__link-li a{
		display: flex;
		height: 48px;
		align-items: center;
		justify-content: center;
		border-radius: 100px;
		transition: 0.3s
	}

	.news-list__link-mo .news-list__link-li a:hover{
		background-color: var(--color-gray-10);
		color: var(--color-gray-90);
	}
}

@media all and (max-width:1200px) {
	.news-list__grid{
		gap:20px;
	}
}

@media all and (max-width:1024px) {
	.news-list__grid{
		grid-template-columns: repeat(1,1fr);
	}

	.news-gallery{
		gap:20px;
	}
}

@media all and (max-width:768px) {
	
	.news-tr{
		grid-template-columns: 80px 1fr 120px;
	}

	.news-list__data{
		flex-direction: column;
		align-items: flex-start;
		gap:20px;
	}

	.news-gallery{
		grid-template-columns: repeat(2,1fr);
	}
}

@media all and (max-width:500px) {
	.news-list,.news-write{
		width:100%;
		margin: 80px auto
	}

	.news-list__banner{
		border-radius: 0
	}

	.news-list__banner-wrap.calc40{
		width: calc(100% - 0px);
		margin: 0 auto;
	}

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

@media all and (max-width:460px) {
	.news-view__file{
		display: block;
	}
}