@charset "utf-8";

html {
  font-size: 15px;
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0px;
  background-color: #D5FDE8;
  line-height: 30px;
}
#wrapper {
  min-width: 450px;
  width: 55%;
  margin: 0 auto;
  
}

header img {
	width: 100%;
}

.nav {
	font-family: "WDXL Lubrifont JP N", sans-serif;
	font-weight: 400;
	font-style: normal;
	background-color: green;
	border-radius: 20px;
	color: #fff;
	font-size: 2.0rem;
	margin: 0 auto;
	max-width: 100%;
	
}

.nav ul {
	display: flex;
	align-items: center;
	justify-content:center; 
	margin: 0px;
	padding: 0px;
	
}

.nav li {
	padding: 20px;
	list-style: none;
}

.nav a {
	color: #fff;
	text-decoration: none;
}

.nav a:hover {
	color: #D4D4D4;
	font-size: 2.5rem;
	font-weight: bold;
}

.sec {
	padding: 20px;
	margin-top: 20px;
	border-radius: 10px;
	background-color: #fff;
}

.contain {
	display: flex;
	max-width: 100%;
	align-items: flex-start;
	justify-content: center;
	padding: 10px;
}

.content-a {
	margin-right: 20%;
}

h1 {
	width: 100px;
	font-size: 2.0rem;
	font-family: "WDXL Lubrifont JP N", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	margin: 0 auto 10px;
	position: relative;
    padding: 1rem .5rem;
}

h1:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  content: '';
  border-radius: 3px;
  background-image: linear-gradient(91deg,rgba(0, 238, 255, 1) 20%, rgba(0, 255, 0, 1) 50%, rgba(255, 166, 0, 1) 80%);

}


.box h3 {
	text-align: center;
	margin-bottom: 15px;
	position: relative;
	padding: 0.5rem 0.5rem;
	color: #fff;
	border-radius: 10px;
}

.box h3:after {
  position: absolute;
  bottom: -9px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 10px 10px 0 10px;
  border-style: solid;
}

.box a {
	color: #000;
	text-decoration: none;
}

.box a:hover {
	color: #D4D4D4;
}

.sec-w .box h3 {
	background: #00bfff;
}
.sec-w .box h3:after {
	border-color: #00bfff transparent transparent transparent;
}

.sec-e .box h3 {
	background: #32cd32;
}
.sec-e .box h3:after {
	border-color: #32cd32 transparent transparent transparent;
}

.sec-p .box h3 {
	background: #ff8c00;
}
.sec-p .box h3:after {
	border-color: #ff8c00 transparent transparent transparent;
}

footer {
	border-radius: 20px;
	color: #fff;
	background-color: green;
	text-align: center;
	
}

@media screen and (max-width: 900px) {
	.contain {
		display: block;
	}
	.content-a {
		margin-right: 0px;
	}
}
