@charset "utf-8";
/*==================================================
	【サブ】ページ固有のスタイル
==================================================*/
#school {
	font-size: 110%;
}
#school .bg::before {
	background: url("../img/bg.jpg") repeat-y center center / 100% auto;
}
#school h4 {
	font-size: 40px;
	margin-bottom: 50px;
}
#school h4 .line {
	background: linear-gradient(transparent 70%, #f1f1f1 30%) ;
}
#school .bg h4 .line {
	background: linear-gradient(transparent 70%, #fff 30%) ;
}
#school .box:not(:last-of-type), #school .box.mb {
	margin-bottom: 80px;
}
#school .box .uls {
	justify-content: flex-start;
}
#school .box .uls ul:first-of-type {
	margin-right: 50px;
}
#school .box ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 10px;
}
#school .box ul li::before {
	content: "●";
	color: var(--color-red);
	position: absolute;
	top: 0;
	left: 0;
}
#school .box .tbl {
	margin-bottom: 80px;
}
#school .box .tbl.nm {
	margin-bottom: 0;
}
#school .box .tbl tr th, #school .box .tbl tr td {
	padding: 30px;
}
#school .box .tbl tr th {
	background: var(--color-primary);
	color: #fff;
	text-align: center;
	width: 165px;
}
#school .btn01 a {
	width: 350px;
}
#school .box .flow dl {
	position: relative;
	background: rgba(255, 255, 255, 0.5);
	width: 245px;
	border-radius: 20px;
	border: 2px solid #fff;
	padding: 10px 0 20px;
}
#school .box .flow dl:not(:last-of-type)::before {
	content: "";
	background: url("../img/school/arrow.png") no-repeat center / cover;
	width: 22px;
	height: 49px;
	position: absolute;
	right: -35px;
	top: 30px;
}
#school .box .flow dl dt {
	font-family: var(--font-sans);
	color: var(--color-red);
	font-size: 28px;
	text-align: center;
	margin-bottom: 5px;
}
#school .box .flow dl dd {
	text-align: center;
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#school h4 {
		font-size: 30px;
		margin-bottom: 30px;
	}
	#school .box:not(:last-of-type), #school .box.mb {
		margin-bottom: 50px;
	}
	#school .box .uls {
		display: block;
	}
	#school .box .uls ul:first-of-type {
		margin-right: 0;
	}
	#school .box .tbl tr th, #school .box .tbl tr td {
		padding: 15px;
	}
	#school .box .flow {
		width: 530px;
		margin: 0 auto;
	}
	#school .box .flow dl {
		margin-bottom: 20px;
	}
	#school .training h3.sub {
		font-size: 60px;
	}
	#school .training .half_box {
		display: block;
	}
	#school .training .half_box .half:not(:last-of-type) {
		margin-bottom: 50px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#school {
		font-size: 100%;
	}
	#school h4 {
		font-size: 20px;
		margin-bottom: 20px;
	}
	#school .box .tbl tr th {
		width: 100%;
	}
	#school .box .flow {
		width: 100%;
		display: block;
	}
	#school .box .flow dl {
		width: 100%;
		margin-bottom: 40px;
	}
	#school .box .flow dl:last-of-type {
		margin-bottom: 0;
	}
	#school .box .flow dl:not(:last-of-type)::before {
		right: auto;
		left: 50%;
		transform: translateX(-50%) rotate(90deg);
		top: auto;
		bottom: -50px;
	}
	#school .training h3.sub {
		font-size: 40px;
	}
	#school .training h3.sub span.jp {
		display: block;
		margin-top: 15px;
		margin-left: 0;
	}
}
@media only screen and (max-width: 320px){ /* スマホ */
	#school .btn01 a {
		width: 280px;
	}
}


#school_agreement .bg::before {
	background: url("../img/bg.jpg") repeat-y center center / 100% auto;
}
#school_agreement .box {
	padding: 15px;
	background: #fefefe;
	border: 2px solid #f4f4f4;
	border-radius: 20px;
}
#school_agreement .box .in {
	background: #f5f5f5;
	border-radius: 20px;
}
#school_agreement .bg .box {
	background: rgba(255,255,255,0.5);
	border-color: #fff;
}
#school_agreement .bg .box .in {
	background: #fff;
}
#school_agreement .box+.box,
#school_agreement .box_flex:has(.box) {
	margin-top: 30px;
}
#school_agreement .box .in p:last-child {
	margin-bottom: 0;
}
/**/
#school_agreement .red_waku {
	margin: 50px 0;
}
#school_agreement .red_waku .red_box {
	width: 340px;
	background: rgba(229, 0, 18, 0.6);
	color: #fff;
	padding: 10px;
	border-radius: 30px;
}
#school_agreement .red_waku .red_box .in {
	border: 1px solid #fff;
	border-radius: 29px;
	background: var(--color-red);
	padding: 15px 0 25px;
}
#school_agreement .red_waku .red_box .in .ttl {
	text-align: center;
	font-weight: bold;
	font-size: 50px;
	line-height: 1.2;
	margin-bottom: 15px;
}
#school_agreement .red_waku .red_box .in .label {
	background: var(--color-font);
	color: #fff;
	text-align: center;
	font-size: 22px;
	padding: 1px 0 3px;
}
/**/
#school_agreement .list_pdf li a {
	padding: 10px 15px;
	background: var(--color-primary);
	border-radius: 10px;
	color: #fff;
	font-size: 110%;
	/* 縦方向中央揃え */
	display: flex;
	align-items: center;
	column-gap: 15px;
}
#school_agreement .list_pdf li a::before {
	content: url("../img/school/pdf.png");
	line-height: 1;
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	#school_agreement .box_flex .box {
		width: 48.5%;
		margin: 0;
	}
	#school_agreement .box .in {
		height: 100%;
	}
	#school_agreement .list_pdf {
		/* フレックス */
		display: flex;
		flex-wrap: wrap;
		gap: 14px;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#school_agreement .red_waku .red_box {
		width: 33%;
	}
	#school_agreement .red_waku .red_box {
		padding: 5px;
	}
	#school_agreement .red_waku .red_box .in .ttl {
		font-size: 25px;
	}
	#school_agreement .red_waku .red_box .in .label {
		font-size: 14px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#school_agreement h3.sub.lft span.jp {
		display: block;
		margin: 14px 0 0;
	}
	#school_agreement .box {
		padding: 8px;
	}
	#school_agreement .box+.box {
		margin-top: 20px;
	}
	#school_agreement .red_waku {
		margin: 30px 0;
	}
	#school_agreement .red_waku .red_box {
		width: 49%;
		margin-bottom: 20px;
	}
	#school_agreement .red_waku .red_box:last-of-type {
		margin: 0 auto;
	}
	#school_agreement .red_waku .red_box .in .ttl {
		font-size: 23px;
	}
	#school_agreement .list_pdf li+li {
		margin-top: 15px;
	}
}
@media only screen and (max-width: 320px){ /* スマホ */
	#school_agreement .red_waku .red_box .in .label {
		font-size: 13px;
	}