@charset "UTF-8";

.course-inner{
	max-width: 130rem;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: stretch;
	margin-top:8rem;
}
#course-ttl{
	font-size: 2.4rem;
	padding: 1.5rem;
	border: 1px solid #ddd;
	background: #fafafa;
	line-height: 1.4;
	width: 100%;
	margin-bottom: 4rem;
}
.course-left{
	width: calc(60% - 2rem);
}
.course-right{
	width: calc(40% - 2rem);
	//height: 100%;
}
#sample-movie{
	width: 100%;
	height: 100%;
}
.movie-ttl{
	font-size: 2rem;
	margin-bottom: 2rem;
	padding: 1.5rem 0;
	border-top: 2px solid #ddd;
	border-bottom: 2px solid #ddd;
}
.movie{
	margin-bottom: 3rem;
}
.unit-list{
	border-top: 1px solid #ddd;
}
.unit-list li{
	padding: 2rem 1.5rem;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
	transition: .3s all ease;
}
.unit-list li:hover{
	background: #fafafa;
}
.unit-ttl{
	font-size: 1.6rem;
	font-weight: 500;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/*
.toggle-btn{
	flex-shrink: 0;
	display: block;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #ddd;
	color: #ddd;
}
.toggle-btn:before{
	content: "";
	display: block;
	width: .4rem;
	height: .4rem;
	border-top: 2px solid #ddd;
	border-right: 2px solid #ddd;
	transform: rotate(135deg);
}
.opened .toggle-btn:before{
	transform: rotate(-45deg);
}
*/
.unit-description{
	line-height: 1.8;
	font-size: 1.444rem;
	margin-top: 1.5rem;
	display: none;
}
.unit-description a{
	margin-top: 1em;
	display: block;
	font-weight: 600;
	text-decoration: underline;
	font-size: 110%;
	color: #005db3;
}
.unit-description a:hover{
	text-decoration: none;
}
.unit-description a:after{
	content: ">";
	display: inline;
}
#course-description{
	margin-top: 3rem;
}
.course-sub-ttl{
	font-size: 1.7rem;
	padding: .8rem;
	border-left: 5px solid #005db3;
	margin-bottom: 1.5rem;
}
.course-sub-ttl02{
	font-size: 1.5rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #ddd;
	padding-bottom: 1.5rem;
}
.price-area{
	margin-top: 4rem;
	padding: 1.5rem;
	background: #fafafa;
	border: 1px solid #ddd;
	position: sticky;
	top: 0;
}
.through{
	font-weight: 500 !important;
	font-size: 80% !important;
	padding-left: 1em !important;
	text-decoration: line-through !important;
}
#course-price strong{
	color: #d5002d !important;
}
#course-price{
	font-weight: 600;
	font-size: 2.4rem;
	//margin-top: 2rem;
}
#course-price .small{
	font-size: 75%;
}
#cart-btn{
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	background: #005db3;
	border-radius: 2px;
	font-weight: 600;
	font-size: 1.5rem;
	padding: 1.5rem 0;
	width: 100%;
	margin-top: 3rem;
	appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	border: none;
	cursor: pointer;
	transition: .3s all ease;
}
#cart-btn:hover{
	opacity: .7;
	filter: alpha(opacity=70);
}
.caution{
	color: #f00;
	background: #fff;
	border: 1px solid #f00;
	padding: 1rem;
	margin-top: 1.5rem;
}
#comment-area{
	//margin-top: 6rem;
}
#comment{
	line-height: 2;
}
#comment table{
	table-layout: fixed;
	border-top: 1px solid #ddd;
}
#comment tr{
	border-bottom: 1px solid #ddd;
}
#comment th{
	text-align: left;
	padding: 1em;
	background: #fafafa;
	vertical-align: top;
	font-weight: 400;
	width: 40%;
}
#comment td{
	width: 60%;
	padding: 1em;
}
.course-left img{
	max-width: 100%;
	height: auto;
}

@media screen and (max-width: 768px){

	#course-ttl{
		font-size: 2rem;
		padding: 1rem;
		margin-bottom: 3rem;
		display: block;
	}
	.course-left{
		width: 100%;
	}

	.course-right{
		width: 100%;
		margin-top: 3rem;
	}
	.movie-ttl{
		font-size: 1.7rem;
		margin-bottom: 1.5rem;
		padding: 1rem 0;
	}

	.movie{
		margin-bottom: 3rem;
	}
	.unit-list li{
		padding: 2rem 1rem;
		line-height: 1.5;
	}
	.unit-ttl{
		font-size: 1.5rem;
	}
	.toggle-btn{
		width: 2rem;
		height: 2rem;
	}

	.unit-description{
		font-size: 1.2rem;
		margin-top: 1.5rem;
	}
	#course-description{
		margin-top: 2rem;
	}
	.course-sub-ttl{
		font-size: 1.5rem;
		margin-bottom: 1.5rem;
	}
	.course-sub-ttl02{
		font-size: 1.555rem;
		margin-bottom: 1.5rem;
		padding-bottom: 1.5rem;
	}
	.price-area{
		margin-top: 3rem;
		padding: 2rem 1rem;
	}
	#course-price{
		font-size: 2rem;
		//margin-top: 2rem;
	}

	#cart-btn{
		border-radius: 2px;
		font-size: 1.555rem;
		padding: 1.2rem 0;
		margin-top: 3rem;
	}
	.caution{
		color: #f00;
		background: #fff;
		border: 1px solid #f00;
		padding: 1rem;
		margin-top: 1rem;
	}
	#comment-area{
		//margin-top: 4rem;
	}

	#comment table,
	#comment tbody,
	#comment tr,
	#comment th,
	#comment td{
		display: block;
	}
	#comment th{
		width: 100%;
	}
	#comment td{
		width: 100%;
	}
}