@CHARSET "UTF-8";
body{
	color:#333;
}
img{
	width:100%;
	height:auto;
}

#PastEvent>ul>li:nth-child(n+13){
	display: none;
}

#PastEvent>p {
	display:none;
	margin:auto;
}
#PastEvent>p>a,
#PastEvent>p>button {
	display:block;
	position:relative;
	border-radius:50px;
	background:#333;
	color:#FFF;
	padding:10px 30px 10px 50px;
	margin: auto;
	border: none;
	cursor: pointer;
}
#PastEvent>p>a:before,
#PastEvent>p>button:before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 10px;
	margin: auto;
	content: "";
	vertical-align: middle;
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	background:#fff;
	border-radius: 50%;
}
#PastEvent>p>a:after,
#PastEvent>p>button:after {
	position: absolute;
	top:-2px;
	bottom: 0;
	left: 17px;
	margin: auto;
	content: "";
	vertical-align: middle;
	width: 8px;
	height: 8px;
	border-bottom: 2px solid #333;
	border-right: 2px solid #333;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#PastEvent>p>a:hover,
#PastEvent>p>button:hover {
	opacity: 0.7;
}

/** PC ***********************************************************************/
@media screen and (min-width:768px),print{
	h1{
		font-size:28px;
		line-height:1.3;
		margin:50px auto 20px;
		text-align:center;
	}
	body>p{
		width:300px;
		margin:0 auto;
		padding-bottom:30px;
	}
	/***お申し込みはこちらボタン***/
	p.btn>a{
		font-size:22px;
		display:table;
		background:#ec6d34;
		color:#FFF;
		padding:14px 70px 14px 30px;
		margin:40px auto 0;
		border-radius:5px;
		position:relative;
		transition: all .3s;
	}
	p.btn>a:before {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 20px;
		margin: auto;
		content: "";
		vertical-align: middle;
		box-sizing: border-box;
		width: 24px;
		height: 24px;
		background:#fff;
		border-radius: 50%;
	}
	p.btn>a:after {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 29px;
		margin: auto;
		content: "";
		vertical-align: middle;
		width: 8px;
		height: 8px;
		border-top: 2px solid #ec6d34;
		border-right: 2px solid #ec6d34;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	p.btn>a:hover{
		opacity: 0.7;
	}

	/****************************/
	#EventWrap {
		width:100%;
		max-width:950px;
		margin:0 auto 100px;
		padding:0 16px;
	}
	#EventWrap>h2 {
		display:table;
		font-size:40px;
		margin:auto;
		color:#ec6d34;
	}	
	#EventWrap>h2>img {
		width:40px;
		height:auto;
		margin-right:8px;
	}
	
	/*****/	
	.eventBox{
		display:table;
		margin:60px auto 80px;
		line-height:1.3;
	}	
	.eventBox>figure{
		width:552px;
		margin:0 auto 30px;
		box-shadow: 3px 2px 3px rgba(0, 0, 0, .1);
	}
	.eventBox>h3{
		font-size:30px;
		text-align:center;
		margin-bottom:10px;
	}
	.eventBox>p{
		font-size:18px;
		text-align:center;
	}
	
	/*****/
	#EventSchedule{
		display:table;
		margin:0 auto 80px;
	}
	#EventSchedule>div{
		margin-bottom:30px;
	}
	#EventSchedule>div>h3 {
		font-size:22px;
		letter-spacing:1px;
		border-bottom:solid #CCC 3px;
		padding:8px 20px;
	}
	#EventSchedule>div>h3>span {
		font-size:30px;
	}
	#EventSchedule>div>ul>li {
		font-size:20px;
		line-height:1.3;
		border-bottom:solid 1px#CCC;
		padding:12px 20px;
	}
	#EventSchedule>div>ul>li>span {
		display:inline-block;
		margin-right:20px;
	}
	
	/*****/
	#PastEvent {
		margin-bottom:100px;
	}
	#PastEvent>h3 {
		font-size:30px;
		color:#444;
		text-align:center;
		margin-bottom:20px;
	}
	#PastEvent>ul{
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: wrap; 
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	#PastEvent>ul>li {
		width:calc((100% - 60px)/3);
		margin:0 0 30px 30px;
	}
	
	#PastEvent>ul>li>a>img {
		border:1px solid #eee;
	}
	#PastEvent>ul>li:nth-of-type(3n+1){
		margin-left:0;
	}
	
	#PastEvent>p>a,
	#PastEvent>p>button {
		font-size:18px;
	}

	
	/*****/
	#EventMailform #mailformBox{
		width:100%;
		max-width:840px;
	}
	#EventMailform>h3{
		font-size:30px;
		text-align:center;
		margin-bottom:30px;
		padding-top:40px;
	}
	#EventMailform>h3+p{
		font-size:30px;
        line-height: 1.5;
		text-align:center;
		margin:20px 0 30px;
	}


}
/** SMART PHONE **************************************************************/
@media screen and (max-width:767px){
	h1{
		line-height:1.3;
		font-size:20px;
		margin:30px auto 20px;
		text-align:center;
	}
	body>p{
		width:200px;
		margin:0 auto;
		padding-bottom:30px;
	}
	/***お申し込みはこちらボタン***/
	p.btn>a{
		font-size:18px;
		line-height:1.3;
		display:table;
		background:#ec6d34;
		color:#FFF;
		padding:14px 70px 14px 30px;
		margin:40px auto 0;
		border-radius:5px;
		position:relative;
		transition: all .3s;
		text-align:left;
	}
	p.btn>a:before {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 20px;
		margin: auto;
		content: "";
		vertical-align: middle;
		box-sizing: border-box;
		width: 24px;
		height: 24px;
		background:#fff;
		border-radius: 50%;
	}
	p.btn>a:after {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 29px;
		margin: auto;
		content: "";
		vertical-align: middle;
		width: 8px;
		height: 8px;
		border-top: 2px solid #ec6d34;
		border-right: 2px solid #ec6d34;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	p.btn>a:hover{
		opacity: 0.7;
	}

	/****************************/
	#EventWrap {
		width:100%;
		max-width:950px;
		margin:0 auto 50px;
		padding:0 16px;
	}
	#EventWrap>h2 {
		display:table;
		font-size:25px;
		margin:auto;
		color:#ec6d34;
	}	
	#EventWrap>h2>img {
		width:30px;
		height:auto;
		margin-right:8px;
	}
	
	/*****/
	.eventBox{
		display:table;
		margin:30px auto 40px;
		line-height:1.3;
	}	
	.eventBox>figure{
		width:90%;
		margin:0 auto 20px;
		box-shadow: 3px 2px 3px rgba(0, 0, 0, .1);
	}
	.eventBox>h3{
		font-size:20px;
		margin-bottom:2px;
		text-align:center;
	}
	.eventBox>p{
		font-size:16px;
		text-align:center;
	}
	
	/*****/
	#EventSchedule{
		display:table;
		margin:0 auto 30px;
	}
	#EventSchedule>div{
		margin-bottom:30px;
	}
	#EventSchedule>div>h3 {
		font-size:18px;
		letter-spacing:1px;
		border-bottom:solid #CCC 3px;
		padding:8px 20px;
	}
	#EventSchedule>div>h3>span {
		font-size:22px;
	}
	#EventSchedule>div>ul>li {
		font-size:16px;
		line-height:1.5;
		padding:10px;
		border-bottom:solid 1px#CCC;
	}
	#EventSchedule>div>ul>li>span {
		display:block;
	}
	
	/*****/
	#PastEvent {
		margin-bottom:50px;
	}
	#PastEvent>h3 {
		font-size:25px;
		color:#444;
		text-align:center;
		margin-bottom:20px;
	}
	#PastEvent>ul{
		display: -ms-flexbox;
		display: flex;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-flex-wrap: wrap; 
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	#PastEvent>ul>li {
		width:calc((100% - 20px)/2);
		margin:0 20px 20px 0;
	}
	#PastEvent>ul>li:nth-of-type(2n){
		margin-right:0;
	}
	
	#PastEvent>p>a,
	#PastEvent>p>button {
		font-size:16px;
	}

	
	/*****/
	#EventMailform #mailform{
		margin:auto;
	}
	#EventMailform>h3{
		font-size:25px;
		text-align:center;
		padding-top:40px;
	}
	#EventMailform>h3+p{
		font-size:20px;
        line-height: 1.5;
		text-align:center;
		margin:20px 0;
	}
}

/*****************************************************************************/

/*送信完了

/** PC ***********************************************************************/
@media screen and (min-width:768px),print{
	#finish{
		margin:150px auto 120px;
	}
}
/** SMART PHONE **************************************************************/
@media screen and (max-width:767px){
	#finish{
		margin:150px auto 120px;
	}
	#finish>p>a{
		margin-top:40px;
		margin-right:16px;
		margin-left:16px;
	}
	#finish>p>a>i{
		display:none;
	}
}