.tred{
    color:red;
}
.mt30{
    margin-top:30px;
}

    .teacher {
    width: 15%;
}

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

.classname {
    width: 45%;
    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;
}
.price {
    border: 1px solid #CCC;
    border-radius: 8px;
    text-align: center;
    font-size: 28px;
    line-height:1.2em;
    color: red;
    padding: 0.2em;
    background-color: #FFFAFA;
    margin-top: 30px;
    margin-bottom:30px;
    display:flex;
}
.price .pricelead {
    width: 35%;
    padding: 1.8em 0 0 0;
    line-height: 1em;
    background-color: #F00;
    border-radius: 8px;
    color: #FFF;
    margin-bottom: 0;
    padding-bottom: 0;
    /* height: auto; */    font-size: 24px;
    font-weight: bold;
    
}
.price dl{
	width:100%;
	display:flex;
	flex-wrap:wrap;
	margin-bottom:0;
}
.price dt{
	width:50%;
	padding-right:1em;
	text-align:right;
	box-sizing:border-box;
	font-weight:normal;
	font-size:22px;
}
.price dd{
	width:50%;
	text-align:left;
	font-size:22px;
}	
.price .caution {
    font-size: 18px;
    color: #333;
}
.caution {
    margin-top: 30px;
    color:red;
}

	.classline{
	    font-size:15px;
	   }
	   .classname{
	       width:35%;
	      }
	      h2{
	          margin:2em 0 0.5em 0;
	          
	        }
	        .time{width:25%;}
h1{
    text-align: center;
    margin-top: 1em;
    border-bottom: 1px solid #CCC;
}
button.next {
    padding: 0.5em 1em;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
}
.backbutton a {
    display: inline-block;
    background-color: green;
    padding: 1em;
    color: #FFF;
    border-radius: 8px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}
.caution {
    margin-top: 30px;
    border: 1px solid #CCC;
    background-color: #FFFF99;
    padding: 1em;
    border-radius: 8px;
}

.caution h3.mt30 {
    margin-top: 0;
    text-align: center;
}

@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%;
        width:10em;
		float:left;
	}

.classlist .term {
    width: 10em;
    text-align:left;
    float: left;
}

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

	.formarea h2{
		font-size:1.8rem;
	}
	.formarea h3{
		text-align: center;
	}
	
	.price{
	    margin:0.5em;
	    line-height:1.2em;
	    display:block;
	  }
	  .price .pricelead {
    width: 100%;
    padding: 0.2em;
    margin-bottom:0.2em;
    }
	  .price p{
	      margin:0;
	      padding:0;
	     }
	.price p.sublead{
	    font-size:1.5rem;
	   }
	.price p.mainlead{
	    font-size:2.4rem;
	   }
	.price p.tright{
	    font-size:1.4rem;
	   }
	   .price .caution ul{
	       width:100%;
	      }
	      .price .caution ul li{
	          font-size:1.4rem;
	         }
	         
.s

}