/** @format */

@charset "utf-8";
/*  home.css
---------------------------------------------- */

/*  pc
---------------------------------------------- */

/* mv */
#mv {
	height: calc(100vh - 100px - 65px - 25px);
}

#mv ul li,
.slick-list,
.slick-track {
	width: 100%;
	height: 100%;
}
#mv ul {
	margin: 0 auto;
	width: 95%;
	height: 100%;
	border-radius: 10px;
	overflow: hidden;
}
#mv ul li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* topics */
#topics {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 25px;
	width: 100%;
	height: 65px;
	background-color: #f2f2f2;
}
#topics .inner {
	display: flex;
	align-items: center;
	gap: 35px;
	width: 100%;
	max-width: 1080px;
}
#topics h2 {
	font-size: 2.4rem;
	font-weight: 700;
}
#topics .lists {
	font-size: 1.6rem;
}
#topics .lists a {
	text-decoration: underline;
}
#topics .lists a:hover {
	color: #000;
	opacity: 0.7;
}
#topics .lists .date {
	display: inline-block;
	margin-right: 30px;
	color: #63cfcf;
}

/* greeting */
#greeting {
	padding: 140px 0 100px;
	background: url("../img/home/greeting_bg.png") no-repeat top / contain;
}
#greeting .txt {
	margin-top: 40px;
	font-size: 1.6rem;
	text-align: center;
	line-height: 3.2rem;
}
#greeting .imgs {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-top: 70px;
}
#greeting .imgs .img {
	width: 48%;
	box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);
}
#greeting .imgs .img._02 {
	margin-top: 70px;
}

/* links */
#links {
	margin-top: 125px;
}
#links ul {
	display: flex;
}
#links ul li {
	width: calc(100% / 4);
}
#links ul a:hover {
	color: #000;
}

#links ul .content {
	padding: 0 30px 60px;

	text-align: center;
}
#links ul li:nth-child(odd) .content {
	background-color: #faf8f5;
}
#links ul .img {
	width: 100%;
	height: 230px;
	overflow: hidden;
}
#links ul .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s;
}
#links ul a:hover .img img {
	transform: scale(1.1);
	transition: 0.3s;
}
#links ul .content .icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 90px;
	height: 90px;
	margin: -45px auto 0;
	background-color: #fff;
	border-radius: 45px;
}
#links ul li:nth-child(odd) .content .icon {
	background-color: #faf8f5;
}
#links ul .content h3 {
	margin: 10px 0 20px;
	font-size: 2.4rem;
	color: #63cfcf;
	font-weight: 500;
}
#links ul .content .txt {
	font-size: 1.6rem;
	line-height: 3rem;
	text-align: center;
}

/*  mobile & smart phone
---------------------------------------------- */
@media only screen and (max-width: 959px) {
	/* mv */
	#mv {
		height: calc(100vh - 60px - 120px - 25px);
	}
	#mv ul {
		width: 100%;
		border-radius: 0;
	}

	/* topics */
	#topics {
		display: block;
		height: 120px;
		padding: 25px 30px 30px;
	}
	#topics .inner {
		display: block;
	}
	#topics h2 {
		margin-bottom: 5px;
		text-align: center;
		line-height: 1em;
	}
	#topics .lists {
		line-height: 2.8rem;
	}
	#topics .lists .date {
		margin-right: 10px;
	}

	/* greeting */
	#greeting {
		margin-top: 50px;
		padding: 70px 0 30px;
	}

	#greeting .txt {
		margin: 20px auto 0;
		text-align: left;
	}
	#greeting .imgs {
		margin-top: 40px;
	}
	#greeting .imgs .img._02 {
		margin-top: 40px;
	}

	/* links */
	#links {
		margin-top: 70px;
	}
	#links ul {
		flex-wrap: wrap;
	}
	#links ul li {
		width: 100%;
	}
	#links ul .img {
		height: 200px;
	}
}
