/* -------------------------

class

---------------------------- */
@media screen and (max-width: 768px) {
	.scroll-wrap {
		overflow: scroll;
	}
}

/* -------------------------

.compare-table

---------------------------- */
.compare-table .scroll-wrap {
	position: relative;
}

.compare-table .scroll-wrap .circle {
	position: absolute;
	top: -25px;
	right: 5px;
}

.compare-table .scroll-wrap .circle img {
	width: 320px;
}

.compare-table .required-matter-label {
	position: absolute;
	top: -50px;
	right: 50px;
	color: #dd4e56;
}

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

	.compare-table .required-matter-label {
		position: relative;
		top: 0;
		right: 0;
	}

	.compare-table .scroll-wrap {
		padding-top: 30px;
	}

	.compare-table .scroll-wrap .circle {
		top: 0;
		right: -555px;
	}

	.compare-table .scroll-wrap .circle img {
		width: 325px;
	}
}

/* -------------------------

.schedule-table

---------------------------- */
.schedule-table {
	table-layout: fixed;
	font-size: 1.3rem;
	letter-spacing: 0;
}

.schedule-table table,
.schedule-table th,
.schedule-table td {
	text-align: center;
	border-color: var(--color-blue);
}

.schedule-table tbody th {
	background: var(--color-blue-lightest);
}

.schedule-table thead th span {
	display: block;
	line-height: 1.4;
}

.schedule-table tbody th {
	width: 20%;
	font-size: 1.4rem;
}

.schedule-table tbody th a {
	line-height: 1.2;
}

.schedule-table td span {
	width: 15px;
	height: 15px;
	margin: auto;
	padding: 0;
}

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

	.schedule-table-wrap {
		overflow: scroll;
	}

	.schedule-table thead th:first-child {
		width: 20%;
	}

	.schedule-table-new .schedule-table thead th:first-child {
		width: auto;
	}
}


/* -------------------------

road-map-table

---------------------------- */
#curriculum .road-map-table {
	table-layout: fixed;
}

#curriculum .road-map-table th {
	font-weight: normal;
	background: #dcecd6 !important;
}

#curriculum .road-map-table td {
	vertical-align: top;
	background: #ffffff;
}

#curriculum .road-map-table tr th {
	position: relative;
}

#curriculum .road-map-table tr th:not(:last-child)::before {
	content: "→";
	position: absolute;
	top: 0;
	right: -17px;
	bottom: 0;
	z-index: 10;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin: auto;
	font-size: 2.4rem;
	line-height: 1.4;
	color: #36a059;
	background-size: contain;
}

@media screen and (max-width: 768px) {
	#curriculum .road-map-table {
		width: 800px;
	}
}

/* -------------------------

for-mazgack-item

---------------------------- */
.for-mazgack {
	display: flex;
	flex-wrap: wrap;
	column-gap: 2%;

	row-gap: 50px;
}

.for-mazgack li {
	width: 32%;
	box-shadow: 15px 15px 20px #cccccc;
}

.for-mazgack li .name {
	padding: 0 30px;
	text-align: center;
}

@media screen and (max-width: 768px) {
	.for-mazgack li {
		width: 100%;
	}
}

/* -------------------------

for-mazgack-item

---------------------------- */
.for-mazgack-chu {
	display: flex;
	flex-wrap: wrap;
	column-gap: 2%;

	row-gap: 50px;
}

.for-mazgack-chu li {
	width: 32%;
	box-shadow: 15px 15px 20px #cccccc;
	display: flex;
	justify-content: center;
	align-items: end;
}

.for-mazgack-chu li>a {
	width: 100%;
}

.for-mazgack-chu li .name {
	padding: 0 20px;
	text-align: center;
}

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

	.for-mazgack-chu li {
		width: 100%;
	}
}

/* -------------------------

mazgack の子ページ

---------------------------- */
.parent-pageid-8529 .section-head {
	padding-top: 0;
}

/* -------------------------

mazgack

---------------------------- */
#mazgack .page-wrap {
	padding-top: 90px;
}

#mazgack-intro .section-inner {
	padding-top: 0;
}

#mazgack .section-head {
	padding-top: 0;
}

#mazgack-reason .m-school-exam-container .item-box .info-area {
	display: block;
}

#mazgack-reason .coaching-ai {
	margin-top: 60px;
}

#mazgack-reason .commute-item {
	margin-top: 60px;
}

#mazgack-reason .coaching-man2man {
	margin-top: 90px;
}

#mazgack-reason .coaching-ai .img-wrapper,
#mazgack-reason .coaching-man2man .img-wrapper {
	width: 440px;
}

#mazgack-reason .coaching-ai .txt-wrapper,
#mazgack-reason .coaching-ai .txt-wrapper {
	width: 500px;
}

#mazgack-reason .example-container .txt {
	padding: 15px 30px;
	line-height: 2.2;
	text-align: center;
	background-color: #ffffff;
}

#mazgack #curriculum {
	margin-top: 60px;
}


@media screen and (max-width: 768px) {
	#mazgack-reason .example-container .txt {
		text-align: left;
	}
}


/* -------------------------

module

---------------------------- */

/* m-green-dl-box */
.m-green-dl-box {
	font-size: 1.6rem;
	letter-spacing: 0;
	border-top: 1px solid var(--color-blue);
	border-left: 1px solid var(--color-blue);
}

.m-green-dl-box dl {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}

.m-green-dl-box dt,
.m-green-dl-box dd {
	border-bottom: 1px solid var(--color-blue);
	border-right: 1px solid var(--color-blue);
	padding: 20px;
}

.m-green-dl-box dt {
	width: 30%;
	color: var(--color-blue);
	font-size: 1.6rem;
	box-sizing: border-box;
	font-weight: bold;
	display: flex;
	background: var(--color-blue-lightest);
	justify-content: center;
	align-items: center;
}

.m-green-dl-box dd {
	flex: 1;
	margin-left: 0;
}

@media screen and (max-width: 768px) {
	.m-green-dl-box {
		width: 100%;
	}

	.m-green-dl-box dt,
	.m-green-dl-box dd {
		width: 100%;
	}

	.m-green-dl-box dt {
		font-size: 1.8rem;
	}
}

/* m-teacher-container */
.m-teacher-container .item-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.m-teacher-container .item-box+.item-box {
	margin-top: 90px;
}

.m-teacher-container .item-box .img-area {
	width: 380px;
}

.m-teacher-container .item-box .img-area .ttl {
	margin: 0 0 10px;
	font-size: 2.8rem;
	color: var(--color-blue);
	border-bottom: 1px solid var(--color-blue);
}

.m-teacher-container .item-box .img-area .address {
	padding-left: 25px;
	background: no-repeat left center;
	background-image: url(../images/common/icon_school_02.png);
}

.m-teacher-container .item-box .img-area .access {
	color: #e83820;
}

.m-teacher-container .item-box .img-area iframe {
	width: 100%;
	height: 300px;
}

.m-teacher-container .item-box .txt-area {
	flex: 1;
	padding-left: 30px;
}

.m-teacher-container .item-box .txt-area .name-box {
	margin: 30px 0 0;
	font-weight: 600;
	font-size: 2rem;
	line-height: 1;
	text-align: right;
}

.m-teacher-container .item-box .txt-area .name-box span {
	vertical-align: bottom;
}

.m-teacher-container .item-box .txt-area .name-box .head {
	margin-right: 10px;
	font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
	.m-teacher-container .item-box .img-area {
		width: 100%;
	}

	.m-teacher-container .item-box .txt-area {
		width: 100%;
		margin-top: 20px;
		padding-left: 0;
	}
}

/* m-green-box */
.m-green-box {
	position: relative;
	padding: 30px;
	text-align: center;
	background-color: #f4f8e8;
}

.m-green-box .ttl-box {
	margin-bottom: 20px;
}

.m-green-box .ttl-box .ttl {
	margin: 0;
	font-size: 2.8rem;
}

.m-green-box .ttl-box .lead-txt {
	margin: 10px 0 0 0;
	font-size: 2.2rem;
	color: var(--color-blue);
}

.m-green-box .cont {
	padding: 40px;
	background-color: #ffffff;
}

.m-green-box .cont li {
	margin: auto;
	font-size: 2rem;
	text-align: left;
}

.m-green-box .cont li+li {
	margin-top: 30px;
}

.m-green-box .cont li .txt {
	font-size: 1.5rem;
	line-height: 2;
}

@media screen and (max-width: 768px) {
	.m-green-box .cont {
		padding: 30px;
	}
}

/* .m-img-txt-box */
.m-img-txt-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.m-img-txt-box.reverse {
	flex-direction: row-reverse;
}

.m-img-txt-box .img-area {
	width: 440px;
}

.m-img-txt-box .txt-area {
	width: 500px;
}

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

	.m-img-txt-box .img-area,
	.m-img-txt-box .txt-area {
		width: 100%;
	}
}

/* .m-img-txt-box.form */
.m-img-txt-box.form-intro .txt-area {
	flex: 1;
}

.m-img-txt-box.form-intro .txt-area .ttl {
	font-size: 4rem;
	margin-top: 0;
	font-weight: 400;
}

.m-img-txt-box.form-intro .img-area {
	width: 300px;
}

@media screen and (max-width: 768px) {
	.m-img-txt-box.form-intro .txt-area {
		width: 100%;
	}

	.m-img-txt-box.form-intro .txt-area .ttl {
		font-size: 3rem;
	}

	.m-img-txt-box.form-intro .img-area {
		width: 100%;
		margin-top: 10px;
	}
}

/* .m-num-list */
.m-num-list li {
	position: relative;
	padding-left: 40px;
}

.m-num-list li+li {
	margin-top: 20px;
}

.m-num-list li .num {
	position: absolute;
	top: 3px;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 28px;
	height: 28px;
	margin: 0;
	margin-right: 5px;
	color: #ffffff;
	background-color: var(--color-blue);
	border-radius: 50px;
}

/* m-school-exam-container */
.m-school-exam-container+.m-school-exam-container {
	margin-top: 90px;
}

.m-school-exam-container .ttl-pref {
	font-weight: normal;
	font-weight: 600;
	font-size: 3rem;
	text-align: center;
	color: var(--color-blue);
}

.m-school-exam-container .item-box .name {
	position: relative;
	margin: 0;
	margin-top: 30px;
	padding-bottom: 18px;
	font-weight: normal;
	font-size: 2.4rem;
	line-height: 1;
	text-align: left;
	color: var(--color-blue);
	border-color: var(--color-blue);
	border-bottom: 2px solid var(--color-blue);
	cursor: pointer;
}

.m-school-exam-container .item-box .name::before {
	content: "";
	position: absolute;
	top: 0;
	right: 20px;
	display: block;
	width: 15px;
	height: 15px;
	border-right: 4px solid var(--color-blue);
	border-bottom: 4px solid var(--color-blue);
	transform: rotate(45deg);
	transition: 0.3s all ease-out;
}

.m-school-exam-container .item-box .info-area {
	display: none;
	margin-bottom: 30px;
	padding: 40px;
	background-color: #ffffff;
}

.m-school-exam-container .item-box .info-area .info-item+.info-item {
	margin-top: 50px;
}

.m-school-exam-container .item-box .info-area .info-item .ttl {
	margin: 0 0 20px;
	padding: 8px 15px;
	font-size: 2rem;
	line-height: 1.4;
	background-color: var(--color-blue-lightest);
	border-left: solid 3px var(--color-blue);
}

.m-school-exam-container .item-box .info-area .info-item .sub-ttl {
	position: relative;
	padding-left: 20px;
	font-weight: bold;
	font-size: 1.8rem;
}

.m-school-exam-container .item-box .info-area .info-item .sub-ttl::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 10px;
	height: 3px;
	margin: auto;
	background-color: var(--color-blue);
}

/* niigata */

/* saitama */

@media screen and (max-width: 768px) {
	.m-school-exam-container .item-box .info-area {
		padding: 20px;
	}
}

/* -------------------------

class

---------------------------- */
/* margin */
.mt0 {
	margin-top: 0 !important;
}

/* ttl */
.ttl-m {
	position: relative;
	margin: 0;
	font-weight: normal;
	font-size: 3.2rem;
	line-height: 1.4;
	letter-spacing: 0.1em;
}

.ttl-s {
	font-size: 2.4rem;
}

.font-s {
	font-size: 1.8rem;
}

@media screen and (max-width: 768px) {
	.ttl-m {
		margin-bottom: 20px;
		font-size: 2.8rem;
	}
}