/* style */
h2{
	margin:2em 0 1em 0;
	font-size:2rem;
}
.pricebox {
    display: flex;
    justify-content: space-between;
}
.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;
}
span.small {
    font-size: 50%;
    line-height: 1.2em;
    display: block;
    padding-top: 1em;
}
.pricetable {
    width: 50%;
}
.pricetable table {
    width: 100%;
    margin-top: 2em;
    border-collapse: collapse;
}

.pricetable th {
    border: 1px solid #CCC;
    padding: 3px;
    background-color: #F3F3F3;
}

.pricetable td {
    border: 1px solid #CCC;
    text-align: center;
    padding: 3px;
}
.pricebox > .caution {
    width: 70%;
    margin: 2em auto 0 auto;
}
.caution {}

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

.caution ul {
    padding: 0.5em;
}

.caution li {
    margin-top: 0.5em;
    color: #ab1717;
    padding-left: 1em;
    text-indent: -1em;
}

.caution li:before {content: "※";}

/* フォーム */
.formarea h3 {
    margin-top: 3em;
    text-align: center;
}.classlist h2{
    margin-top:2em;
    text-align:center;
}
.classline {
	display:flex;
	width:100%;
	border-bottom:1px dotted #CCC;
	padding:0.3em 0;
	margin:0 auto;
	font-size:14px;
	flex-wrap:wrap;
}
.classname{
	width:30%;
	font-weight:bold;
	padding:0;
	padding-left:1em;
	text-indent:-1em;
	box-sizing:border-box;
}
.teacher{
	width:10%;
}
.time{
	width:15%
}
.level {
    width: 14%;
    text-align: center;
}
.level img{
    max-width:100%;
    height:auto;
}
.level span.target{
    font-weight: bold;
    color:#f24e4e;
}
.day {
    width: 20%;
    text-align:center;
}

.detail {
    width: 11%;
    text-align:right;
}

.detailinfo {
    width: !00%;
    font-size: 14px;
    padding: 0.5em;
    border-radius: 5px;
    background-color: #F4F4F4;
    margin-top:5px;
    display:none;
}
.detailinfo .sub{
font-weight:bold;
display:block;
}
.hanrei{
	display:flex;
	padding:0.3em 0;
	margin:0 auto;
	background-color:#F3F3F3;
}
a.detailbutton {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: blue;
    color: #FFF;
}
a.closebutton {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: red;
    color: #FFF;
    display:none;
}
.classlist h3{
    margin-top:1em;
}
@media (max-width:768px){
h2{
padding-left:0.5em;
}
.price {
    margin: 1em;
    font-size: 2rem;
}
.price span.small{
text-align:left;
font-size:60%;
}
.pricebox {
    display: block;
    padding: 1em;
}
.pricetable {
    width: 100%;
}
.pricetable table{
    margin-top:0;
}
.pricebox > .caution {
    width: 100%;
}
.formarea h2 {
    font-size: 1.9rem;
    line-height: 1.2em;
    padding: 0.5em;
}
.hanrei{
    display:none;
}
.elemobj input[type=text] {
    border: 1px solid #CCC;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}


    .classlist{
        padding:0.5em;
    }
	.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%;
		}
	.time{
		width:100%;
	}
	.formarea h2{
	    font-size:18px;
	   }
	   
.formarea .term{
    display:block;
}
.formarea .time {
    display:block;
    padding-left:1em;
}
.classname {
    width: 100%;
}

.teacher {
    width: 100%;
}

.level {
    width: 100%;
    text-align: left;
}

.day {
    width: 100%;
    text-align: left;
}

.time {
    width: 100%;
}

.detail {
    width: 100%;
}
}
/*
<style>

h2{
font-size:200%;
border-bottom:2px solid #CCC;
margin:2em 0;
	padding-bottom:0.3em;
}
.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;
}
	.lead {
    font-size: 30px;
    line-height: 1.5em;
}
	.reguluarclass {
    border: 1px solid #CCC;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}
	.reguluarclass h2 {
    text-align: center;
    color: #FFF;
    margin: 0;
    line-height: 1.8em;
    padding-bottom: 5px;
    background-color: green;
}
	.tred {
    color: red;
}
.reguluarclass p {
    padding: 1em;
    background-color: #FFF;
    margin-top: 0;
    margin-bottom: 0;
    width: 600px;
    font-size: 18px;
    line-height: 1.5em;
}
	.reguluarclass ul {
    background-color: #FFF;
    margin-top: 0;
    display: block;
    height: 150px;
}
.reguluarclass ul li {
    font-size: 18px;
    line-height: 1.5em;
    padding-left: 1em;
}
.qrcode {
    position: absolute;
    right: 10px;
    top: 70px;
    width: 180px;
    text-align: center;
}
.qrcode img {
    width: 150px;
    height: auto;
}
@media (max-width:768px){
		.contentsbox .reguluarclass h2{
			margin-top:0;
			text-align: left;
			padding:0.5em;
		}
		.contentsbox .reguluarclass h2 span{
			display: inline;
		}
	.contentsbox h2{
		font-size:3rem;
		margin-top:1em;
		line-height:1.2em;
	}
	.contentsbox h2 span{
		color:red;
		display:block;
		text-align: center;
	}
	.contentsbox .target, 
	.contentsbox .date,
	.contentsbox .message,
	.contentsbox .caution{
		float:none;
		width:100%;
	}
		.contentsbox .target dl{
			width:100%;
		}
		.contentsbox .target dt,
		.contentsbox .target dd{
			width:100%;
			float:none;
			text-align: cneter;
		}
	.contentsbox .imgphoto{
		float:none;
		text-align: center;
		padding:1em;
	}
	.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%;
		}
	.classname{
		float:left;
		width:70%;
		padding-left:0;
	}
	.teacher{
		width:30%;
		float:right;
		text-align:right;
	}
	.classlevel{
		width:50%;
		float:left;
	}
	.classlevel img{
		width:100%;
	}

	.weekday{
		width:10%;
		float:left;
	}
		
	.time{
		width:40%;
		float:left;
	}
	.hanrei{
		width:100%;
		display:none;
	}
	.qrcode {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    text-align: center;
		box-sizing: border-box;
		padding:1em;
	}
}
*/