@charset "UTF-8";

.news h2,
.pickup h2,
.service h2 {
	margin: 0 auto;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 3px;
	line-height: 40px;
}
.news h2 span,
.pickup h2 span,
.service h2 span {
	font-size: 14px;
	letter-spacing: 2px;
}
@media only screen and (max-width: 499px) {
	.news h2,
	.pickup h2,
	.service h2 {
		width: 250px;
		font-size: 18px;
		line-height: 30px;
	}
	.news h2 span,
	.pickup h2 span,
	.service h2 span {
		font-size: 12px;
	}
}

/*--------------------------------
　背景
---------------------------------*/
.hex {
	background-size: 100%;
	background-repeat: no-repeat;
	transition-delay: 0.5s;
	z-index: -1;
	pointer-events: none;
}
.hex1 {
	width: 45%;
	height: auto;
	transform: rotate(10deg);
	animation: 30s linear infinite rotation1;
	position: absolute;
	top: 130px;
	right: -80px;
}
@keyframes rotation1 {
	0% {
		transform: rotate(10deg);
	}
	50% {
		transform: rotate(30deg);
	}
	100% {
		transform: rotate(10deg);
	}
}
.hex2 {
	width: 45%;
	height: auto;
	transform: rotate(100deg);
	animation: 30s linear infinite rotation2;
	position: absolute;
	top: 400px;
	right: 20px;
}
@keyframes rotation2 {
	0% {
		transform: rotate(100deg);
	}
	50% {
		transform: rotate(70deg);
	}
	100% {
		transform: rotate(100deg);
	}
}
.hex3 {
	width: 45%;
	height: auto;
	transform: rotate(60deg);
	animation: 30s linear infinite rotation3;
	position: absolute;
	top: 200px;
	left: -200px;
}
@keyframes rotation3 {
	0% {
		transform: rotate(50deg);
	}
	50% {
		transform: rotate(40deg);
	}
	100% {
		transform: rotate(50deg);
	}
}
.hex4 {
	width: 3%;
	min-width: 80px;
	height: auto;
	transform: rotate(-20deg);
	animation: 20s linear infinite rotation4;
	position: absolute;
	top: 100px;
	left: 30%;
}
@keyframes rotation4 {
	0% {
		transform: rotate(-20deg);
	}
	50% {
		transform: rotate(30deg);
	}
	100% {
		transform: rotate(-20deg);
	}
}
.hex5 {
	width: 32%;
	height: auto;
	transform: rotate(22deg);
	animation: 20s linear infinite rotation5;
	position: absolute;
	top: -510px;
	left: -110px;
}
@keyframes rotation5 {
	0% {
		transform: rotate(22deg);
	}
	50% {
		transform: rotate(30deg);
	}
	100% {
		transform: rotate(22deg);
	}
}
@media (min-width: 2000px) {
	.hex4 {
		left: 33%;
	}
}
@media (min-width: 1400px) and (max-width: 1500px) {
	.hex4 {
		left: 22%;
	}
}
@media (min-width: 500px) and (max-width: 1400px) {
	.hex4 {
		left: 20%;
	}
}
@media only screen and (max-width: 499px) {
	.hex1 {
		width: 65%;
		top: 10px;
		right: -120px;
	}
	.hex2 {
		width: 60%;
		top: 120px;
		right: -80px;
	}
	.hex3 {
		width: 70%;
		top: 180px;
		left: -130px;
	}
	.hex4 {
		min-width: 50px;
		top: 50px;
		left: 10%;
	}
	.hex5 {
		display: none;
	}
}

/*--------------------------------
　新入生向けお知らせ
---------------------------------*/
.freshman-top {
	width: 210px;
}
.freshman-top a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #121212;
	background: url("images/freshman-top.svg"), #ffecec;
	background-size: auto 75%;
	background-repeat: no-repeat;
	background-position: left 10px bottom 5px;
	border: 3px solid #121212;
	box-shadow: 0 5px 0 #ffc8c8;
	font-size: 19px;
	font-weight: 700;
	line-height: 2;
	position: relative;
	display: inline-block;
	padding: 0px 20px 15px;
	cursor: pointer;
	user-select: none;
	text-align: center;
	vertical-align: middle;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
}
.freshman-top a span {
	position: absolute;
	top: -1.7rem;
	left: calc(50% - 200px);
	display: block;
	width: 400px;
	padding: 8px 0;
	font-size: 17px;
	color: #121212;
	border: 2px solid #121212;
	border-radius: 100vh;
	background: #ffffff;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
.freshman-top a span:before,
.freshman-top a span:after {
	position: absolute;
	left: calc(50% - 10px);
	content: "";
}
.freshman-top a span:before {
	bottom: -10px;
	border-width: 10px 10px 0 10px;
	border-style: solid;
	border-color: #121212 transparent transparent transparent;
}
.freshman-top a span:after {
	bottom: -7px;
	border-width: 10px 10px 0 10px;
	border-style: solid;
	border-color: #fff transparent transparent transparent;
}
.freshman-top a i {
	color: #d11c1c;
	margin-left: 5px;
}
.freshman-top a:hover {
	transform: translate(0, 3px);
	background-color: #ffffff;
	box-shadow: 0 0px 0 #e6c220;
}
@media print, screen and (min-width: 500px) {
	.freshman-top {
		width: 500px;
		margin: -50px auto 10px;
	}
}
@media only screen and (max-width: 499px) {
	.freshman-top {
		width: 85%;
		margin: 50px auto;
	}
	.freshman-top a {
		font-size: 16px;
		padding: 0px 5px 15px;
		background: url("images/freshman-top.svg"), #ffecec;
		background-size: auto 50%;
		background-repeat: no-repeat;
		background-position: left 5px top 15px;
	}
	.freshman-top a span {
		position: absolute;
		top: -1.4rem;
		left: calc(50% - 45%);
		width: 90%;
		padding: 5px 0;
		font-size: 15px;
	}
	.freshman-top a i {
		margin-left: 3px;
	}
}
@media print, screen and (min-width: 370px) {
	.freshman-top a br.freshman-br {
		display: none;
	}
}

/*--------------------------------
　お知らせ
---------------------------------*/
.news h2 {
	width: 530px;
	position: relative;
}
.news h2 p span {
	font-size: 90%;
	margin-right: 3px;
}
.news h2 img {
	position: absolute;
	top: -70px;
	left: 0px;
}
.news ul {
	width: 790px;
	margin: 0 auto;
}
.news ul li {
	width: 100%;
	background: #ffffff;
	border: 2px solid #121212;
}
.news-date {
	flex-basis: 110px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
}
.news-text {
	flex: 1;
}
.news-title {
	display: flex;
	justify-content: left;
	align-items: center;
	gap: 13px;
}
.news-title i {
	color: #d11c1c;
}
.news-title a,
.news-title p {
	font-weight: 700;
}
.news-title a span {
	text-decoration: underline;
}
.news-title a:hover {
	opacity: 0.5;
}
.news-title a i {
	margin-left: 10px;
	color: #121212;
	font-size: 14px;
}
.news-title a[data-fancybox] i {
	padding-top: 3px;
	font-size: 15px;
}
.news-gaiyou {
	padding-top: 15px;
	line-height: 2;
}
.news-item {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
.news-item.visible {
	opacity: 1;
}

#load-more {
	display: block;
	width: 250px;
	margin: 20px auto 0;
	cursor: pointer;
	color: #121212;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: 1px;
	background: #f2f2f2;
	border: 2px solid #121212;
	padding: 15px;
	transition: all 0.3s ease;
}
#load-more:hover {
	opacity: 0.5;
}
#load-more i {
	color: #d11c1c;
	margin-left: 7px;
}
@media print, screen and (min-width: 500px) {
	.news {
		/* padding: 0 0 50px; 通常*/
		padding: 100px 0 50px;
	}
	ul#news-list li {
		margin: 20px auto;
		padding: 20px 30px;
		border-radius: 20px;
		display: flex;
		justify-content: left;
		align-items: center;
		gap: 30px;
	}
}
@media only screen and (max-width: 499px) {
	.news {
		padding: 30px 0 40px;
	}
	.news h2 {
		width: 300px;
	}
	.news h2 img {
		width: 50px;
		position: absolute;
		top: -55px;
		left: 0px;
	}
	.news ul {
		width: 100%;
		padding: 0 20px;
	}
	.news ul li {
		margin: 20px auto;
		padding: 10px 15px;
		border-radius: 10px;
	}
	.news ul li:last-child {
		margin-bottom: 0;
	}
}
@media only screen and (max-width: 299px) {
	.news h2 {
		width: 100%;
		font-size: 15px;
	}
	.news h2 img {
		width: 50px;
		position: absolute;
		top: -55px;
		left: 30px;
	}
}

/*--------------------------------
　ピックアップ
---------------------------------*/
.slick-track {
	display: flex !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
}
.slick-slide {
	display: flex !important;
	flex-wrap: wrap !important;
	flex-grow: 1 !important;
	height: auto !important;
	align-items: flex-start;
}
.pickup {
	margin: 10px auto;
}
.pickup ul {
	width: 790px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	overflow: hidden;
}
.pickup ul li {
	position: relative;
	transition: all 0.5s ease;
	background: #ffffff;
	border: none;
	border-bottom: 2px solid #cccccc;
	border-radius: 20px;
	font-size: 13px;
	margin: 0 20px;
	padding: 0;
	box-sizing: border-box;
}
.pickup ul li:hover {
	opacity: 0.7;
}
.pickup img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}
.pickup ul li p {
	padding: 10px 15px;
	overflow-wrap: break-word;
	word-break: normal;
	line-break: strict;
	line-height: 1.8;
}
.pickup ul li a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: all 0.4s ease;
}

@media only screen and (max-width: 499px) {
	.pickup {
		padding: 0 15px;
	}
	.pickup ul {
		width: 100%;
		margin: 0 auto;
	}
	.pickup ul li {
		width: auto;
		margin: 0 10px;
		font-size: 11px;
	}
	.pickup ul li p {
		padding: 5px 15px;
		word-break: keep-all;
		font-size: 11px;

		display: -webkit-box;
		-webkit-box-orient: vertical;
		line-clamp: 2;
		-webkit-line-clamp: 2; /* ここで2行に制限 */
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

/*--------------------------------
　サービス
---------------------------------*/
.service {
	background: #fff9e5;
	border-top: 2px solid #121212;
}
.service ul {
	background: #fff9e5;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.service ul li {
	position: relative;
	transition: all 0.5s ease;
	text-decoration: none;
	border: 2px solid #121212;
	font-weight: 700;
	text-align: center;
	overflow: hidden;
}
.service ul li a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}
.service ul li p {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
}
.service ul li p::before {
	content: "";
	display: inline-block;
	background: url(images/list.svg) no-repeat;
	background-size: contain;
	margin-right: 8px;
}

.service ul li:nth-child(1) {
	background: url(images/service1.svg) no-repeat, #ffffff;
}
.service ul li:nth-child(2) {
	background: url(images/service2.svg) no-repeat, #ffffff;
}
.service ul li:nth-child(3) {
	background: url(images/service3.svg) no-repeat, #ffffff;
}
.service ul li:nth-child(4) {
	background: url(images/service4.svg) no-repeat, #ffffff;
}
.service ul li:nth-child(5) {
	background: url(images/service5.svg) no-repeat, #ffffff;
}
.service ul li:nth-child(6) {
	background: url(images/service6.svg) no-repeat, #ffffff;
}
.service ul li:hover {
	background-color: #fff0c0;
}
@media print, screen and (min-width: 500px) {
	.service {
		padding: 50px 0 70px;
	}
	.service ul {
		width: 980px;
		gap: 20px;
		margin: 50px auto 0;
	}
	.service ul li {
		padding-top: 210px;
		width: calc(33.333% - 20px);
		background-size: 100px auto !important;
		background-position: top 30px center !important;
	}
	.service ul li p {
		margin: 0 auto 22px;
	}
	.service ul li p::before {
		width: 18px;
		height: 18px;
		transform: translate(0px, 4px);
	}
}
@media only screen and (max-width: 499px) {
	.service {
		padding: 30px 0 40px;
	}
	.service ul {
		width: 100%;
		margin: 30px auto 0;
		padding: 0 20px;
		gap: 20px;
	}
	.service ul li {
		width: calc(50% - 10px);
		background-size: 45% auto !important;
		background-position: top 30% center !important;
	}
	.service ul li::before {
		content: "";
		padding-top: 100%;
		display: block;
	}
	.service ul li p {
		margin: 0 auto 10%;
	}
	.service ul li p::before {
		width: 14px;
		height: 14px;
		transform: translate(0px, 1px);
	}
}
