@charset "UTF-8";
/* CSS Document */


#top_img {
	height: 817px;
	overflow: hidden;
	background-image: url("/agrimar/japan/gakka/img/mimg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
#contents h1 {
	font-size: 25px;
	font-weight: 200;
	line-height: 1.6;
	height: 270px;
	text-align: center;
	color: #FFF;
	background-color: #c0b7a0;
}
#contents h1 img {
	width: auto;
	height: 58px;
	margin: 60px 0 30px;
}
#contents h1 + .container {
	padding-top: 80px;
}
#contents h2 {
	font-size: 50px;
	line-height: 1.57;
	font-weight: 700;
	color: #000;
	text-align: left;
	font-feature-settings: "palt";
}
#contents h2 + p {
	font-size: 18px;
	line-height: 1.76;
	color: #333;
	text-align: justify;
	font-feature-settings: "palt";
	padding-top: 50px;
}
#contents h4 {
	margin: 0 auto;
	padding: 0 0 65px;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 8px;
	text-align: center;
	font-weight: normal;
	color: #666;
}
#contents h4 span {
	font-family: 'Noto Serif JP';
}

#about {
	padding: 90px 0 165px;
}
#about h3 {
	text-align: center;
	height: 38px;
}
#about h3 img {
	width: auto;
	height: 100%;
}
#about .fblk {
	flex-wrap: wrap;
}
#about .fblk > div {
	width: 400px;
	margin-top: 60px;
}
#about .fblk .img {
	text-align: center;
}
#about .fblk .img img {
	width: auto;
	height: 360px;
}
#about .fblk .ym {
	text-align: center;
	font-size: 0;
	padding: 14px 0;
}
#about .fblk .ym img {
	width: 36px;
	height: auto;
}
#about .fblk .link {
	position: relative;
	width: 296px;
	font-size: 0;
	margin: 0 auto;
}
#about .fblk .link img {
	width: 100%;
	height: auto;
}
#about .fblk .link a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
}
#about .fblk .link a.h1 {
	width: 50%;
}
#about .fblk .link a.h2 {
	width: 50%;
	right: 0;
	left: auto;
}
#about .fblk .link a:hover {
	background-color: rgba(255,255,255,0.30);
}

#course {
	padding: 85px 0 0;
}
#course > div {
	width: 582px;
}
#course strong {
	display: block;
	font-size: 40px;
	line-height: 1;
	font-weight: 200;
	color: #000;
	letter-spacing: 5px;
	padding-bottom: 22px;
}
#course a {
	display: block;
	height: 121px;
	position: relative;
	margin-bottom: 10px;
	overflow: hidden;
	text-align: right;
}
#course a span {
	display: block;
	position: absolute;
	z-index: 1;
	left: 48px;
	bottom: 12px;
	font-size: 27px;
	line-height: 1;
	color: #FFF;
	font-weight: 200;
}
#course a::before {
	content: '';
	display: block;
	width: 19px;
	height: 121px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
#course a.dp1::before {
	background-color: #8ec41e;
}
#course a.dp2::before {
	background-color: #f39800;
}
#course a.dp3::before {
	background-color: #1eb9c0;
}
#course a.dp4::before {
	background-color: #0778c0;
}
#course a.dp5::before {
	background-color: #4058b6;
}
#course a img {
	width: auto;
	height: 121px;
	transition: 0.4s all;
}
#course a:hover img {
	transform: scale(1.1,1.1);
}


#backnumber {
	padding: 60px 0 60px;
	border-top: 1px solid #999;
}
#backnumber h4 {
	padding-bottom: 55px;
}
#backnumber h4 b {
	font-weight: normal;
}
#backnumber h4 + .fblk {
	justify-content: center;
}
#backnumber h4 + .fblk > div {
	width: 415px;
}
#backnumber h4 + .fblk > div:last-child {
	padding-left: 36px;
}
#backnumber h5 {
	font-size: 25px;
	color: #333;
	padding-bottom: 30px;
	font-weight: normal;
	letter-spacing: 1px;
}
#backnumber h4 + .fblk .fblk > div {
	width: 198px;
	font-size: 18px;
	line-height: 1.94;
	color: #333;
}
#backnumber h4 + .fblk .fblk > div a {
	display: block;
	color: #333;
	text-decoration: none;
	transition-duration: 0.3s;
}
#backnumber h4 + .fblk .fblk > div a:hover {
	opacity: 0.7;
}
#backnumber h4 + .fblk .fblk > div a span {
	color: #c0b7a0;
	padding-right: 3px;
}


#message {
	padding: 60px 0 165px;
	border-top: 1px solid #999;
}
#message .fblk > div:first-child {
	width: 555px;
}
#message .fblk > div:last-child {
	width: 584px;
}
#message .fblk > div:last-child img {
	width: 100%;
	height: auto;
}
#message .prof {
	padding: 45px 0 35px;
}
#message .prof span {
	font-size: 15px;
	line-height: 1;
	color: #8ac015;
}
#message .prof strong {
	display: block;
	font-size: 25px;
	line-height: 1.5;
	color: #333;
}
#message .prof p {
	font-size: 15px;
	line-height: 1.533;
	color: #333;
}
#message .prof + p {
	font-size: 18px;
	line-height: 1.76;
	color: #333;
	text-align: justify;
	font-feature-settings: "palt";
}

@media screen and (max-width: 1199px) {
	body {
		padding: 116px 0 0 0;
	}
	#top_img {
		height: 358px;
		background-image: url("/agrimar/japan/gakka/img/mimg_sp.jpg");
	}
	#contents h1 {
		height: auto;
		font-size: 16px;
		font-feature-settings: "palt";
		padding-bottom: 27px;
	}
	#contents h1 img {
		height: 25px;
		margin: 30px 0 15px;
	}
	#contents h1 + .container {
		padding: 40px 25px 0;
	}
	#contents h2 {
		font-size: 29px;
		line-height: 1.33;
	}
	#contents h2 + p {
		font-size: 14px;
		line-height: 1.714;
		padding-top: 30px;
	}
	#contents h4 {
		font-size: 16px;
		letter-spacing: 4px;
		padding: 0 0 35px;
	}

	#course {
		padding: 50px 0 0;
	}
	#course strong {
		font-size: 16px;
		padding-bottom: 13px;
	}
	#course > div {
		width: 325px;
		margin: 0 auto;
	}
	#course > div:first-child {
		padding-bottom: 26px;
	}
	#course a {
		height: 67px;
	}
	#course a img {
		height: 67px;
	}
	#course a::before {
		width: 13px;
		height: 67px;
	}
	#course a span {
		left: 32px;
		font-size: 15px;
	}

	#about {
		padding: 60px 25px 50px;
	}
	#about h3 {
		height: auto;
	}
	#about h3 img {
		width: 100%;
		height: auto;
	}
	#about .fblk {
		width: 100%;
		flex-direction: row;
		align-items: flex-end;
	}
	#about .fblk > div {
		width: 100%;
		max-width: 325px;
		margin: 30px auto 0;
	}
	#about .fblk .img img {
		width: 100%;
		height: auto;
	}
	#about .fblk .ym img {
		width: 30px;
	}
	#about .fblk .link {
		width: 245px;
	}
	#backnumber {
		padding: 50px 0 10px;
	}
	#backnumber h4 b {
		line-height: 1.5;
	}
	#backnumber h5 {
		text-align: center;
		padding-bottom: 25px;
	}
	#backnumber h4 + .fblk > div {
		width: calc(100% - 50px);
		margin: 0 auto;
	}
	#backnumber h4 + .fblk .fblk {
		flex-direction: row;
		flex-wrap: nowrap;
		padding-bottom: 30px;
	}
	#backnumber h4 + .fblk .fblk > div {
		width: 50%;
		font-size: 15px;
	}
	#message {
		padding: 50px 0 35px;
	}
	#message .container {
		padding: 0 25px;
	}
	#message .fblk > div:first-child {
		width: 100%;
	}
	#message .fblk > div:last-child {
		display: none;
	}
	#message .prof {
		padding: 30px 0 20px;
	}
	#message .prof strong {
		font-size: 30px;
	}
	#message .prof p {
		font-size: 14px;
		padding-bottom: 30px;
	}
	#message .prof img {
		width: 100%;
		height: auto;
	}
	#message .prof + p {
		font-size: 14px;
	}
}