@charset "utf-8";


.course_suj {
	background: #f0f0f0;
	padding: 30px;
}
.course_suj dt {
	/*width: 90px;*/
	margin-bottom: 10px;
}
.course_suj dd {
	margin-left: 90px;
	float: none;
	margin-bottom: 15px;
}
.course_suj dd:last-child {
	margin-bottom: 0;
}

.image_box {
	width: 25%;
	float: right;
}
.class_time {
	width: 72%;
	float: left;
	background: #d6f5ee;
	padding: 30px;
}
.class_time dl {
	margin-bottom: 15px;
}
.class_time dl:last-child {
	margin-bottom: 0;
}
.class_time dt {
	width: 220px;
}
.class_time dd {
	display: inline-block;
	margin-right: 2.5em;
}


.other_fee {
	background: #e6e6e6;
	padding: 20px 30px;
    margin-bottom: 1em;
}
.other_fee_table {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 1em;
}
.other_fee dl {
	width: 35%;
	margin-right: 1.5%;
	display: inline;
}
.other_fee dl:last-child {
	flex-grow: 2;
}
.other_fee dt {
	margin-right: 0.5em;
}

.course_summary {
	margin-bottom: 2em;
}
h4 {
	position: relative;
}
h4::before {
	font-family: "Font Awesome 5 Free";
	content: "\f05a";
	font-weight: 900;
	position: absolute;
    left: -30px;
	color: #2f99a2;
}

.course_description h3 {
	font-size: 2.2rem;
}
.course_description p {
	padding: 0 30px 30px;
}
p.note {
	margin: 0 30px;
    padding-left: 1em;
    text-indent: -1em;
    font-size: 90%;
}

@media screen and (max-width: 768px) {
	
	.main_content h4 {
		margin-left: 30px;
	}
	
	.other_fee {
		display: block;
		padding: 20px;
		/*margin-top: -20px;*/
	}
	.other_fee dl {
		margin-bottom: 0.5em;
	}
	.other_fee dl:last-child {
		margin-bottom: 0;
	}
	
} /* end media query */

@media screen and (max-width: 600px) {
	
	.course_suj dt {
		margin-bottom: 0;
	}
	.course_suj dd {
		margin-left: 0;
	}
	
	.image_box {
		display: none;
	}
	.class_time {
		width: 100%;
	}
	.class_time dd {
		margin-right: 1em;
	}
	.other_fee_table {
		flex-direction: column;
	}
	.other_fee_table dl {
		width: 100%;
	}
	.table_style_fl.other_fee dt {
		float: left;
		margin-right: 0.2em;
	}
	.course_description p {
		padding: 0 0 30px;
	}
	p.note {
		margin: 0 1em;
	}

	
} /* end media query */





/*-------------------- tables ---------------------*/

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
	table-layout: fixed;
	margin-bottom: 40px;
}
th, td {
	padding: 15px 10px;
	border-right: 1px solid white;
	text-align: center;
	vertical-align: middle;
}
tr th:last-child,
tr td:last-child {
	border-right: none;
}
thead tr {
	background: #5088ab;
	color: white;
	font-weight: bold;
}
table.row_even tbody tr:nth-child(even) {
	background: #d4eaf7;
}
table.row_odd tbody tr:nth-child(odd) {
	background: #d4eaf7;
}
tbody th[scope="row"] {
	font-weight: bold;
	color: #5088ab;
}

@media screen and (max-width: 600px) {
	
	table {
		margin-bottom: 25px;
	}
	thead {
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
	tr {
		border-bottom: 3px solid #5088ab;
		display: block;
		margin-bottom: 2em;
		background: #d4eaf7;
  	}
	tbody th[scope="row"] {
		display: block;
		text-align: left;
		color: white;
		background: #5088ab;
		padding: 10px 20px;
	}
	td {
		display: block;
		text-align: right;
		padding: 7px 20px;
	}
	table td::before {
		content: attr(data-label);
		float: left;
		font-weight: bold;
		font-size: 14px;
		font-size: 1.4rem;
		color: #333;
	}
	
} /* end media query */


/*--------- 料金　*/
.table_fee caption {
    text-align: left;
}


/*--------- 英会話　*/

.table_english caption {
	font-weight: bold;
	color: #5088ab;
	text-align: left;
	margin-bottom: .3em;
}
.table_english th[scope="row"] dl {
	margin: -15px -10px;
	padding-bottom: 15px;
	background: white;
}
.table_english th[scope="row"] dt {
	background: #5088ab;
	padding: 15px 10px;
	color: white;
	margin-bottom: 10px;
}
.table_english th[scope="row"] dd {
	text-align: left;
	font-weight: normal;
	color: #333;
	padding-left: 1em;
	text-indent: -1em;
	margin: 0 10px;
}



/*--------- 他社比較　*/

table.table_comparison {
	margin-bottom: 1em;
}
.table_comparison tr.our_price td {
	color: #F36;
    font-size: 26px;
    font-weight: bold;
}


@media screen and (max-width: 600px) {
	
	
	/*--------- 英会話　*/
	
	.table_english th[scope="row"] dl {
		margin: 0;
		padding-bottom: 0;
		background: none;
	}
	.table_english th[scope="row"] dt {
		background: none;
		padding: 5px 0;
		color: white;
		margin-bottom: 10px;
		border-bottom: 1px dashed white;	
	}
	.table_english th[scope="row"] dd {
		color: white;
		font-size: 90%;
	}

	/*--------- 他社比較　*/
	
	.table_comparison tr.our_price th {
		background: #fbedcd;
		border-top: 3px solid #5088ab;
		border-bottom: 3px solid #5088ab;
		padding: 10px 20px 2px;
	}
	.table_comparison tr.our_price td::before {
		padding-top: 8px;
	}
	
	
} /* end media query */
