@import url("common.css");

#plan{
	padding: 0 20px;
}
.midashi{
text-align: center;
font-weight: bold;
margin:80px 0;
font-size: 18px;
}
.plan-text{
	text-align: center;
	line-height: 2;
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
}
.plan-text p{
	margin-bottom: 20px;
}

#course{
	padding: 0 20px;
	max-width: 1100px;
	width: 100%;
	text-align: center;
	margin: 100px auto;
}
#course h2{
font-size: 40px;
font-family: 'KudryashevDisplaySans', sans-serif;
}
#course h3{
	font-size: 18px;
}
.plan-contents{
	display: flex;
	justify-content: space-between;
	margin: 100px 0 50px;
}
.plan{
	background-image: url(/image/plan/plan_waku.svg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 30%;
	height: 420px;
	line-height: 1.8;
	padding: 40px 30px;
	position: relative;
}
.plan p{
	color: #4A4A4A;
}
.plan .e-t{
	color: #9B9B9B;
	margin-bottom: 0px;
}
#course .plan h3{
	font-size: 24px;
	border-bottom: solid #ccc 1px;
	padding-bottom: 10px;
	margin-bottom: 10px;
}
.plan .detail{
	margin: 30px 0 0 0;
	text-align: left;
}
.plan .price{
	    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
}
.plan .price em{
	font-weight: normal;
	font-size: 14px;
}
.common{
	text-align: center;
	background-color: #FCF3F3;
	padding: 30px 100px;
	max-width: 800px;
	width: 100%;
	line-height: 2;
	margin: 0 auto 80px;
	border-radius: 10px;
}
.free-contents{
	width: 100%;
	max-width: 1100px;
	margin: 100px auto 50px;
}
#free{
	background-color: #FDF0E7;
	padding: 80px 20px;
}
#free h2{
text-align: center;
position: relative;
padding: 50px 0;
font-size: 28px;
margin: 0 0 40px;
}
#free h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 真ん中に寄せる */
    width: 500px;  /* 画像の幅に合わせて調整 */
    height: 40px;  /* 画像の高さに合わせて調整 */
    background: url('/image/top/free_up.svg') no-repeat center center / contain;
}

/* 下の飾り */
#free h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 40px;
    background: url('/image/top/free_bottom.svg') no-repeat center center / contain;
}
#free h3{
text-align: center;
font-size: 18px;
line-height: 1.4;
}
#free .free-item{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 0 20px;
}
#free .free-item li{
background-color: #fff;
    width: 33%;
    text-align: center;
    padding: 28px 0;
    border-radius: 10px;
    margin: 0 0 6px;
}
#free .free-contents p{
	line-height: 1.8;
	margin-bottom: 16px;
}
.memo-contents{
	width: 100%;
	max-width: 1100px;
	margin: 100px auto;
	padding: 0 20px 100px;
	display: flex;
	justify-content: space-between;
}
.memo-l,.memo-r{
	width: 49%;
	background-color:#FCF3F3 ;
	border-radius: 10px;
	padding: 50px;
	line-height: 2;
}
.memo-l h3,.memo-r h3{
	text-align: center;
	font-size: 20px;
	background-image: url(../image/common/title_bg.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    padding: 0 0 20px 0;
    margin: 0 0 50px;
}
.memo-l p,.memo-r p{
	margin-bottom: 20px;
}
.course{
	background-size: 100% 100% !important;
}
.course-price em{
	font-size: 14px;
}
@media screen and (max-width: 820px){
	.plan{
		width: 33%;
		padding: 34px 18px;
	}
}
@media screen and (max-width: 469px){
	.memo-contents{
	display: block;
}
	.memo-l, .memo-r {
    width: 100%;
    margin-bottom: 20px;
    padding: 24px;
}
#free h2{
	font-size: 20px;
}
#free h2::before,#free h2::after,#free .free-item li{
	width: 100%;
}
.plan-contents{
	display: block;
}
.plan{
	width: 100%;
	margin: 0 0 20px;
}
.common{
	padding: 30px;
}
}