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

    .teacher {
    width: 13%;
}

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

.classname {
    width: 37%;
    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;
    color: red;
    padding: 0.5em;
    background-color: #FFFAFA;
    margin-top: 30px;
    margin-bottom:30px;
}

.price .caution {
    font-size: 18px;
    color: #333;
}

.springcampaign {
    border: 1px solid green;
    border-radius: 8px;
    margin-top: 30px;
    position: relative;
}

.springcampaign h2 {
    margin-top: 0;
    text-align: center;
    background-color: green;
    color: #FFF;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.springcampaign p {
    padding: 1em;
    margin: 0;
    width: 75%;
}

.springcampaign ul {
    padding: 0 1em;
}

.springcampaign .caution {
    padding: 1em;
    color: red;
}

.qrcode {
    position: absolute;
    right: 10px;
    top: 70px;
    width: 180px;
    text-align: center;
}
.qrcode img {
    width: 150px;
    height: auto;
}
.caution {
    margin-top: 30px;
    color:red;
}

@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: 100%;
    float: left;
	text-align: 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;
	}
	
	.price{
	    margin:0.5em;
	  }
	  .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;
	         }
	         
.springcampaign {
    overflow: hidden;
    margin: 0 auto;
    width: 95%;
}

.springcampaign p {
    width: 100%;
    box-sizing: border-box;
}
.springcampaign .qrcode{
font-size:12px;
line-height:1.1em;
}
	.qrcode {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    text-align: center;
		box-sizing: border-box;
		padding:1em;
	}

}