@charset "UTF-8";

/* =======================================================
frontpage
======================================================= */

.btn {
	padding: 0 5%;
}

#frontpage header {
	background: url(../images/top_visual.jpg) no-repeat center 70%;
	background: cover;
	min-height: 550px;
	width: 100%;
	padding: 0 5%;
	box-sizing: border-box;
	position: relative;
}

#frontpage header .maxwidth {
	position: relative;
	text-align: center;
}

#frontpage header::before {
	display: none;
}

#frontpage header h1 {
	padding: 10rem 0 2rem;
	margin: 0;
	line-height: 160%;
	color: #000 !important;
}

#frontpage header p {
	padding: 0;
	margin: 0;
	font-size: 1.25rem;
	line-height: 150%;
	color: #000 !important;
}

#frontpage header p strong {
	font-weight: 400;
	color: #000 !important;
}

#frontpage .point {
	text-align: center;
}

#frontpage .point h1 {
	font-size: 1.75rem;
	font-weight: 500; 
}

#frontpage .point h2 {
	font-size: 1.5rem;
}

#frontpage .point section:nth-of-type(1) {
	padding: 5rem 5% 1rem;
}

#frontpage .point section:nth-of-type(2) {
	padding: 3rem 5% 3rem;
}

#frontpage .point section:nth-of-type(1) h2 {
	font-weight: 400;
}

#frontpage #necessary {
	background: rgba(244,198,166,0.25);
}

#frontpage #necessary section:nth-of-type(even) {
	background: rgba(244,198,166,0.5);
}

#frontpage #necessary section:nth-of-type(2) ul {
	padding: 0;
	margin: 2rem auto;
	max-width: 1100px;
	list-style: none;
	display: flex;
	justify-content: space-between;
}

#frontpage #necessary section:nth-of-type(2) ul li {
	background: #fff;
	text-align: center;
	padding: 0;
	margin: 0;
	width: 22%;
	height: 0;
	padding-top: 22%;
	border-radius: 10rem;
	position: relative;
}

#frontpage #necessary section:nth-of-type(2) ul li span {
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	display: block;
	width: 100%;
}

#frontpage #necessary section:nth-of-type(2) ul li span h3 {
	margin-top: 0;
	font-weight: 400;
}

#frontpage #necessary section:nth-of-type(2) ul li span figure {
	width: 90%;
	margin: 0 auto;
	padding: 0;
	display: block;
	text-align: center;
}

#frontpage #necessary section:nth-of-type(2) ul li span figure img {
	margin: 0 auto;
	width: 60%;
}

#frontpage #necessary section:nth-of-type(2) p {
	text-align: left;
	padding: 0;
	margin: 0 auto;
	max-width: 1000px;
}

#frontpage #cooperate {
	background: rgba(201,229,204,0.25);
}

#frontpage #cooperate section:nth-of-type(even) {
	background: rgba(201,229,204,0.5);
}

#frontpage #cooperate section:nth-of-type(2) h2 {
	padding-bottom: 1rem;
	display: inline-block; 
}

#frontpage #cooperate section:nth-of-type(2) h2::after {
	content: '';
	display: inline-block;
	width: 120%;
	height: 2px;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
	position: absolute;
	background: #707070;
}

#frontpage #cooperate section:nth-of-type(2) ul {
	padding: 0;
	margin: 2rem auto;
	max-width: 1000px;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
}

#frontpage #cooperate section:nth-of-type(2) ul li {
	padding: 0;
	margin: 0;
	width: calc(100% / 3);
}

#frontpage #cooperate section:nth-of-type(2) ul li span {
	padding: 0;
	margin: 0;
	display: block;
}

#frontpage #cooperate section:nth-of-type(2) ul li span h3 {
	margin: 0;
}

#frontpage #cooperate section:nth-of-type(2) ul li span figure {
	min-width: 100px;
	margin: 0 auto;
	padding: 0;
	display: block;
	position: relative;
}

#frontpage #cooperate section:nth-of-type(3) {
	padding: 3rem 5% 4rem;
}

#frontpage #cooperate section:nth-of-type(3) .btn a {
	background: #64A884;
	color: #fff;
	text-decoration: none;
	width: 100%;
	font-size: 1.375rem;
	line-height: 200%;
	max-width: 500px;
	margin: 0 auto;
	padding: 1rem;
	border-radius: 0.3rem;
	display: block;
	box-sizing: border-box;
}

#frontpage #cooperate section:nth-of-type(3) .btn a:visited {
	color: #fff !important;
}

#frontpage #relevance {
	padding: 0 5%;
}

#frontpage #relevance section:nth-of-type(1) {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width: 1100px;
	margin: 0 auto;
	padding: 4rem 0 1rem !important;
}

#frontpage #relevance section h2 {
	width: 100%;
}

#frontpage #relevance section h3 {
	font-size: 1.25rem;
}

#frontpage #relevance section p {
	font-size: 1.25rem;
}

#frontpage #relevance section p a {
	text-decoration: underline;
}

#frontpage #relevance section div {
	width: 45%;
	text-align: left;
}

@media screen and (max-width:768px) {

#frontpage #necessary section:nth-of-type(2) ul {
	flex-wrap: wrap;
	max-width: 80%;
}

#frontpage #necessary section:nth-of-type(2) ul li {
	margin: 0 0 5%;
	width: 47%;
	padding-top: 47%;
}

#frontpage #cooperate section:nth-of-type(2) ul {
	flex-wrap: wrap;
	max-width: 100%;
	margin-top: 0;
}

#frontpage #cooperate section:nth-of-type(2) ul li {
	margin: 3rem 0 0;
	width: 100%;
}

#frontpage #relevance section div {
	width: 100%;
}
	
}

@media screen and (max-width:480px) {

#frontpage #necessary section:nth-of-type(2) ul {
    flex-wrap: wrap;
    max-width: 100%;
}

#frontpage #cooperate section:nth-of-type(2) ul {
	margin-top: 0;
}

}