.teacher {
    width: 15%;
}

.term {
    width: 15%;
    text-align: center;
}

h2 {
    font-size: 2.4rem;
    margin-bottom: 1em;
}

.classname {
    width: 40%;
    padding-left: 1em;
}
.btnarea button{
	display:block;
	font-size:200%;
	padding:0.5em 1em;
	border-radius:0.3em;
	color:#FFF;
	background-color:blue;
	border-none;
	margin:1em auto;
}
.mt30 {
    margin-top: 30px;
}
@media (max-width:768px){
	.formarea h2{
		font-size:40px;
		line-height:1.2em;
		padding-bottom:20px;
	}
	.formrow{
		padding:1em;
		border-bottom:1px dotted #CCC;
		font-size:18px;
	}
	.formrow input, .formrow select{
		font-size:18px;
	}
	.formrow::after{
		display:block;
		content:"";
		clear:both;
	}
	.elemlabel{
		box-sizing: border-box;
		width:40%;
		float:left;
		text-align:right;
		padding-right:1em;
	}
	.elemobj{
		box-sizing: border-box;
		width:60%;
		float:left;
	}
	.elemobj input[type=text]{
		border:1px solid #CCC;
		border-radius:8px;
		width:100%;
	}
	.elemobj input.birthy[type=text]{
		width:5em;
	}
	.elemobj input.zip1[type=text]{
		width:4em;
	}
	.elemobj input.zip2[type=text]{
		width:5em;
	}
	.elemobj input.tel[type=text]{
		width:100%;
	}
	.formarea input[type=submit]{
		display: block;
    font-size: 2.5rem;
    border: 1px solid #FFF;
    color: #FFF;
    text-decoration: none;
    padding: 0.3em;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
    min-width: 100px;
		max-width:90%;
    text-align: center;
    margin: 1rem auto;
		background-color:#0009F6;
	}
	.formaresa input[type="submit"]::after{
		content: "";
    display: inline-block;
    vertical-align: baseline;
    width: 0;
    height: 0;
    border-left: 0.6em solid #FFF;
    border-top: 0.4em solid #CCC;
    border-bottom: 0.4em solid #CCC;
    border-right: none;
    margin-left: 0.3em;
	}
	.buttonform{
		float:none;
		width:auto;
	}
	.buttonform a{
		display:block;
		font-size:1.4rem;
		padding:0.4em;
		width:90%;
		border-radius:8px;
		background-color:#E20407;
		margin:1em auto 0 auto;
		color:#FFF;
		text-align:center;
	}
	.classline{
		display:block;
		clear:both;
		width:100%;
		box-sizing:border-box;
		padding:0.5em 1em;
	}
	.classline:after{
		content:"";
		display:block;
		clear:both;
	}
		.gakunen{
			width:100%;
		}

.formarea p {
    margin: 0;
    padding: 0 1em;
}
.formarea .classline{
display:block;
}
.formarea .classname {
    width: 100%;
    box-sizing: border-box;
}

.formarea .gakunen {
    width: 100%;
    box-sizing: border-box;
}

.formarea .term {
    width: 100%;
    box-sizing: border-box;
}
	h2 {
    margin-top: 1em;
    font-size: 1.8rem;
    text-align: center;
}
	.classname{
		width:100%;
		padding-left:0;
	}
.classlist div.hanrei {
    display: none;
}
	.time{
		width:70%;
		float:left;
	}

.classlist .term {
    width: 30%;
    float: left;
}

.classlist .teacher {
    width: 100%;
    text-align: right;
	float:none;
}
	.code{
		width:100%;
	}
.code::before {content: "講座コード：";}

	.formarea h2{
		font-size:1.8rem;
	}
	.formarea h3{
		text-align: center;
	}
}