@charset "utf-8";
@media screen and (min-width:800px) and (min-height:600px) {
	header{
		position: fixed;
		background: rgba(0,0,0, 0.2);
	}
}
.home-image {
	height: 50vw;
	width: 100%;
}
.home-image .swiper-slide span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 40px;
	right: 40px;
	margin: auto;
	height: 60px;
	line-height: 60px;
	text-align: center;
	font-size: 40px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #FFF;
	text-shadow: 
	-0.1em 0.1em 0.1em #000,
	0.1em -0.1em 0.1em #000,
	-0.1em -0.1em 0.1em #000,
	0.1em 0.1em 0.1em #000;
}


@media screen and (max-width:1600px) {
	.home-image .swiper-slide span {
		font-size: 32px;
	}
}
@media screen and (max-width:1280px) {
	.home-image .swiper-slide span {
		font-size: 28px;
	}
}
@media screen and (max-width:1024px) {
	.home-image .swiper-slide span {
		font-size: 24px;
	}
}
@media screen and (max-width:880px) {
	.home-image .swiper-slide span {
		font-size: 20px;
	}
}
@media screen and (max-width:640px) {
	.swiper-slide span {
		font-size: 16px;
	}
}
@media screen and (max-width:360px) {
	.home-image .swiper-slide span {
		font-size: 12px;
	}
}

.home-image .swiper-slide img {
	width: 100%;
	height: 48vw;
}









.hot-news {
	background-color: brown; 
	width: 70%;
	height: 300px;
	margin: auto;
	margin-top: -50px;
	margin-bottom: 10px;
	position: relative;
	z-index: 10;
	border-radius: 5px;
	box-shadow: 0px 5px 40px 0px grey;
	overflow: hidden;
	max-width: 800px;
	min-width: 320px;
}

.hot-news li {
	height: 50px;
	padding: 0 10px;
	line-height: 50px;
	transition: font-size .5s;
	width: 50%;
	box-sizing: border-box;
	min-width: 240px;
	background-image: linear-gradient(90deg, #FFF 50%, transparent);

	transition:  .5s;
}
.hot-news li:hover {
	font-size: 1.1em;
	width: 70%;
}
.hot-news span {
	height: 100%;
	width: 100%;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.hot-news :hover span {
	color: #FFF;
	text-shadow: 
	-1px 1px 1px #000,
	1px -1px 1px #000,
	-1px -1px 1px #000,
	1px 1px 1px #000;
}

.hot-news div {
	z-index: -20;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-position:center;
	background-size:cover;
	
	transition:  z-index .5s;
}
.hot-news li:first-child div {
	z-index: -19;
}

.hot-news :hover div {
	z-index: -1;
}






.news-title{
    text-align: center;
    font-size: 24px;
    line-height: 24px;
    vertical-align: bottom;
    margin: 20px 0 10px;
}

.news-title::before,.news-title::after {
    content: '';
    border: 1px solid;
    display: inline-block;
    width: 80px;
    margin: 10px 20px;
}


.news-list {
    display: flex;
    flex-wrap: wrap;
	justify-content: space-around;
	letter-spacing: 1px;
}

.news-list>*{
    max-width: 320px;
    width: 320px;
    margin: 20px 5px;
}

.news-list .day {
    font-size: 40px;
}

.news-list .month {
    font-size: 20px;
}

.news-list h1 {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
	white-space: nowrap;
	margin: 5px 0 2px;
}

.news-list p {
	text-indent: 2em;
	font-size: 12px;
	line-height: 1.5;
}





.subject-title{
    text-align: center;
    font-size: 24px;
    line-height: 24px;
    vertical-align: bottom;
    margin: 20px 0 10px;
}

.subject-title::before,.subject-title::after {
    content: '';
    border: 1px solid;
    display: inline-block;
    width: 80px;
    margin: 10px 20px;
}


.subject-list {
    display: flex;
    flex-wrap: wrap;
	justify-content: space-around;
}

.subject-list>*{
    max-width: 320px;
    width: 320px;
    margin: 20px 5px;
}
.subject-list img {
	width: 100%;
}

@media screen and (min-width:1000px) {
	.subject > *{
		width: 600px;
		height: 240px;
	}
	.subject > *:hover{
		min-width: 600px;
	}
}
