@charset"utf-8";

.fees_area {
	padding: 0 0 10vw;
	background: #fff url(../img/top/fees_bg.webp) left top;
	background-size: 80%;
	position: relative;
}

.fees_area .page-title {
	padding: 5vw 0;
	margin-bottom: 15vw;
	background: #FFDA00;
	position: relative;
}
.fees_area .page-title h2 {
	font-size: 1.25rem;
}
.fees_area .page-title strong {
	font-size: 1.5rem;
}
.fees_area .page-title:after {
	display: block;
	content: "";
	width: 100%;
	height: 2.5vw;
	border-radius:0 0 50% 50% /0 0 100% 100%;
	background: #FFDA00;
	position: absolute; z-index: 0;
bottom: -2.5vw; left: 0; right: 0; margin: auto;
}

.fees_area h3 {
	margin: 5vw auto;
	font-size: 1.5rem;
}
.fees_area h3 span {
	font-size: 2rem;
	background: #ffda00;
	margin: 0 0.2rem;
	padding: 0 0.2rem;
	position: relative;
}
.fees_area h3 span::before {
position: absolute;
content: "";
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background-color: #333;
top: -0.75rem;
left: 50%;
transform: translate(-50%, 0);
}
.fees_area p.notes {
	margin-bottom: 10vw;
	font-size: 0.9rem;
}

.fees_area .pagemenu {
	margin: 5vw auto 10vw;
	display: flex;
	text-align: center;
	justify-content: space-around;
}
.fees_area .pagemenu a {
	color: #333;
	font-weight: bold;
	font-size: 1.1rem;
	background:linear-gradient(transparent 70%, #ffda00 70%);
}

.fees_area .pagemenu a:before {
	display: inline-block;
	margin-right: 4px;
	font-weight: 700;
	content: "\f0d7";
	font-family: "Font Awesome 5 Pro";
}

.fees-box h2 {
	margin: 5vw auto;
	padding: 0.5rem;
	color: #fff;
	background: #005DAB;
}
.fees-box h2 ~ p {
	margin-bottom: 5vw;
}


.fees-box .fees,
.fees-box .middleschool-added {
	display: flex;
	flex-wrap: wrap;
}
.fees-box .fees li,
.fees-box .middleschool-added dl {
	flex-basis: 100%;
	margin-bottom: 2rem;
	border: 1px solid #333;
	background: #fff;
}
.fees-box .fees dt,
.fees-box .middleschool-added dt {
	font-size: 1.25rem; font-weight: bold;
	background: #ffda00;
	padding: 0.5rem 0;
	border-bottom: 1px solid #333;
}
.fees-box .fees dt span,
.fees-box .middleschool-added dt span {
	font-size: 1rem;
}
.fees-box .fees dt strong {
	position: relative;
}
.fees-box .fees li dt strong:before,
.fees-box .fees li dt strong:after {
	display: inline; 
	width: 2rem; height: 100%;
	content: "";
	position: absolute;
	 top: 0; bottom: 0; margin: auto;
}
.fees-box .fees li.elementary dt strong:before {
	left: -3rem;
	background:  url(../common/img/icon_elementary_g.svg) center center no-repeat;
	background-size: contain;
}
.fees-box .fees li.elementary dt strong:after {
	right: -3rem;
	background:  url(../common/img/icon_elementary_b.svg) center center no-repeat;
	background-size: contain;
}
.fees-box .fees li.middleschool dt strong:before {
	left: -3rem;
	background:  url(../common/img/icon_middleschool_g.svg) center center no-repeat;
	background-size: contain;
}
.fees-box .fees li.middleschool dt strong:after {
	right: -3rem;
	background:  url(../common/img/icon_middleschool_b.svg) center center no-repeat;
	background-size: contain;
}
.fees-box .fees li.highschool dt strong:before {
	left: -3rem;
	background:  url(../common/img/icon_highschool_g.svg) center center no-repeat;
	background-size: contain;
}
.fees-box .fees li.highschool dt strong:after {
	right: -3rem;
	background:  url(../common/img/icon_highschool_b.svg) center center no-repeat;
	background-size: contain;
}
.fees-box .fees dd,
.fees-box .middleschool-added dd {
	padding: 1rem;
	font-size: 1.5rem;
	line-height: 1.4;
}
.fees-box .fees dd span,
.fees-box .middleschool-added dd span {
	font-size: 1rem;
}
.fees-box .fees dd:not(:last-child) {
	border-bottom: 1px solid #333;
}
.fees-box .fees .price,
.fees-box .middleschool-added .price {
	font-size: 1.25rem;
}
.fees-box .fees dd strong,
.fees-box .middleschool-added dd strong {
	font-size: 2rem;
}

.fees-box .fees .price strong,
.fees-box .middleschool-added .price strong {
	color: #FA4A12;
	font-size: 2.5rem;
}
.fees-box .fees .subscription .option {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	margin: 5vw auto;
}
.fees-box .fees .subscription .option span {
	display: inline-block;
	border: 1px solid #333;
	background: #f4f4f4;
	padding: 2rem 1rem;
	font-size: 1.25rem;
}

@media screen and (min-width: 900px) {
.fees_area {
	padding: 0 0 10%;
	background: #fff url(../img/top/fees_bg.webp) left top;
	background-size: auto;
}
.fees_area .page-title:before {
	display: block;
	content: "";
	width: 100%;
	height: 1rem;
	border-radius:0 0 50% 50% /0 0 100% 100%;
	background: #FA4A12;
	position: absolute;
top: -0.5rem; left: 0; right: 0; margin: auto;
}
.fees_area .page-title {
	padding: 50px 0;
	margin-bottom: 10%;
	background: #FFDA00;
}
.fees_area .page-title:after {
	height: 2rem; bottom: -2rem; 
}
.fees_area .page-title h2 {
	font-size: 1.75rem;
}
.fees_area .page-title strong {
	font-size: 2.5rem;
}


.fees_area h3 {
	margin: 5% auto 2.5%;
	font-size: 2rem;
}
.fees_area h3 span {
	font-size: 3rem;
}
.fees_area p.notes {
	margin-bottom: 5%;
}

.fees_area .pagemenu {
	margin: 5% auto 10%;
	justify-content: space-evenly;
	width: 80%;
}
.fees_area .pagemenu a {
	font-size: 1.25rem;
}

.fees-box .fees {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.fees-box .fees li {
	
}
#elementary-fees .fees li {
	flex-basis: 49.5%;
}
#middleschool-fees .fees li,
#highschool-fees .fees li {
	flex-basis: 49.5%;
}
.fees-box .fees dt {
	font-size: 2rem;
	padding: 0.75rem 0;
}
.fees-box .fees .subscription dt span {
	font-size: 1rem;
}
.fees-box .fees dd {
	padding: 1rem;
	font-size: 1.5rem;
}
.fees-box .fees .price {
	font-size: 1.5rem;
}
.fees-box .fees dd strong {
	font-size: 2.5rem;
}
.fees-box .fees .price strong {
	font-size: 3rem;
}

.fees-box .fees .kidsclass dd {
	display: inline-block;
	width: 47.5%;
	border-bottom: none;
	vertical-align: top;
}
.fees-box .fees .highschool dd {
	vertical-align: top;
}
.fees-box .fees .subscription .option {
	margin: 20px auto;
}

.fees-box .fees .kidsclass dd:first-of-type {
	border-right: 1px solid #333;
}
.fees-box .fees .kidsclass dd:last-of-type {
	border-right: none;
}

}
