@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl,
#top_ttl picture,
#top_ttl img {
	display: block;
	width: 100%;
}
#top_ttl {
	line-height: 0;
}
/* 大河内塾について */
#top_about {
	position: relative;
	z-index: 0;
}
#top_about::before, #top_about::after {
	position: absolute;
	bottom: -40px;
	left: -250px;
	width: 387px;
	height: 331px;
	background: url("../img/top/bg01.png") no-repeat center / contain;
	content: "";
	z-index: -1;
}
#top_about::after {
	background-image: url("../img/top/bg02.png");
	width: 294px;
	height: 184px;
	left: auto;
	right: -190px;
	bottom: auto;
	top: 300px;
}
#top_about .info {
	width: 530px;
}
#top_about .map {
	width: 530px;
}
#top_about .map iframe {
	width: 100%;
	height: 410px;
	border: 2px solid #fff !important;
	border-radius: 20px;
	display: block;
}
#top_about table {
	width: 100%;
	margin-bottom: 40px;
	border-collapse: collapse;
	color: #1e4168;
	font-size: 110%;
}
#top_about table tr {
	border-top: 1px solid #dfe4ea;
}
#top_about table tr:last-of-type {
	border-bottom: 1px solid #dfe4ea;
}
#top_about table th,
#top_about table td {
	padding: 13px 0;
	vertical-align: top;
}
#top_about table th {
	width: 128px;
	padding-left: 30px;
	font-weight: bold;
}
#top_about table td a {
	color: var(--color-secondary);
	text-decoration: underline;
}
#top_about .about {
	align-items: center;
	column-gap: 24px;
}
#top_about .about .img {
	overflow: hidden;
	width: 200px;
}
#top_about .about .img img {
	border-radius: 20px;
}
#top_about .about .txt {
	width: calc(100% - 224px);
	color: #1e4168;
	font-size: 110%;
	line-height: 1.9;
}
/* コース案内 */
#top_course {
	position: relative;
	z-index: 0;
}
#top_course::before {
	position: absolute;
	right: -180px;
	bottom: 60px;
	width: 382px;
	height: 208px;
	background: url("../img/top/bg03.png") no-repeat center / contain;
	content: "";
	z-index: -1;
}
#top_course h3.sub::after {
	position: absolute;
	right: 85px;
	bottom: 8px;
	width: 170px;
	height: 115px;
	background: url("../img/top/course-h3-ico.png") no-repeat center / contain;
	content: "";
}
#top_course .list {
	margin-top: 150px;
}
#top_course .list > .box {
	width: 340px;
	padding: 180px 25px 20px;
	background: #fff;
	border-radius: 20px;
	position: relative;
}
#top_course .list > .box .img {
	position: absolute;
	width: 290px;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 0;
}
#top_course .list > .box .img img {
	border-radius: 20px;
}
#top_course .ttl {
	margin-bottom: 10px;
	font-size: 40px;
	line-height: 1.25;
	font-weight: 500;
}
#top_course .label {
	display: table;
	min-width: 155px;
	margin: 0 auto 24px;
	padding: 3px 30px 5px;
	border: 2px solid var(--color-green);
	color: var(--color-primary);
	font-size: 22px;
	font-weight: bold;
	line-height: 1.25;
}
#top_course .content dl {
	display: flex;
	align-items: flex-start;
	margin-top: 13px;
	color: #1e4168;
	font-size: 110%;
	line-height: 1.75;
}
#top_course .content dt {
	width: 80px;
	margin-right: 12px;
	padding: 4px 0 5px;
	background: #EFF1F4;
	border-radius: 10px;
	line-height: 1.4;
	text-align: center;
	flex-shrink: 0;
	font-weight: bold;
}
#top_course .content dd {
	width: calc(100% - 92px);
}
#top_course .content .full {
	display: block;
	margin-top: 18px;
}
#top_course .content .full dt {
	width: 100%;
	margin: 0 0 12px;
}
#top_course .content .full dd {
	width: 100%;
}
#top_course .other {
	align-items: center;
	margin-top: 62px;
}
#top_course .other .ico {
	width: 182px;
}
#top_course .other .info {
	width: 850px;
}
#top_course .other dl {
	display: flex;
	align-items: center;
	padding: 15px 36px;
	background: #fff;
	border-radius: 22px;
}
#top_course .other dt {
	width: 105px;
	color: var(--color-secondary);
	font-size: 25px;
	font-weight: 500;
	position: relative;
}
#top_course .other dt::before {
	content: "";
	position: absolute;
	right: 0;
	top: -15px;
	width: 1px;
	height: calc(100% + 30px);
	background: #eff1f4;
}
#top_course .other dd {
	width: calc(100% - 105px);
	padding-left: 20px;
	font-size: 110%;
}
#top_course .other .all {
	margin: 50px 0 0;
	color: #68d391;
	font-size: 22px;
}
/* 講師プロフィール */
#top_prf {
	position: relative;
	padding-bottom: 140px;
}
#top_prf .list {
	align-items: flex-start;
}
#top_prf .box {
	align-items: flex-start;
}
#top_prf .box:nth-of-type(1) {
	width: 650px;
}
#top_prf .box:nth-of-type(2) {
	width: 350px;
	padding-top: 10px;
}
#top_prf .img {
	flex-shrink: 0;
}
#top_prf .img img {
	border-radius: 60%;
}
#top_prf .box:nth-of-type(1) .info {
	width: 450px;
}
#top_prf .box:nth-of-type(2) .info {
	width: 240px;
}
#top_prf .box dl {
	display: flex;
	align-items: baseline;
	margin-bottom: 20px;
	color: var(--color-primary);
	font-weight: 500;
	line-height: 1.5;
	border-bottom: 2px solid #fff;
	font-size: 25px;
}
#top_prf .box:nth-of-type(2) dl {
	font-size: 20px;
}
#top_prf .box dt {
	width: 100px;
	height: 45px;
	background: #fff;
	border-radius : 10px 0px 0px 0px;
	margin-right: 15px;
	white-space: nowrap;
	text-align: center;
	padding-top: 5px;
}
#top_prf .box:nth-of-type(2) dt {
	width: 100px;
}
#top_prf .box dd .fs {
	font-size: 16px;
	font-family: var(--font-sans);
}
#top_prf .box .txt {
	color: #1e4168;
	font-size: 110%;
	line-height: 1.9;
}
#top_prf .ico {
	position: absolute;
	bottom: -40px;
	right: 0;
	z-index: 2;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#top_about {
		padding-top: 82px;
	}
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_about .info,
	#top_about .map {
		width: 100%;
	}
	#top_about .map {
		margin-top: 30px;
	}
	#top_about .map iframe {
		height: 250px;
	}
	#top_course h3.sub::after {
		right: 0;
		width: 90px;
		height: 60px;
	}
	#top_course .list {
		margin-top: 100px;
	}
	#top_course .list > .box {
		width: 32%;
		padding: 14px;
	}
	#top_course .list > .box .img {
		width: 90%;
	}
	#top_course .ttl {
		font-size: 21px;
	}
	#top_course .label {
		min-width: 120px;
		font-size: 13px;
	}
	#top_course .content dl {
		display: block;
	}
	#top_course .content dt,
	#top_course .content dd {
		width: 100%;
	}
	#top_course .content dt {
		margin: 0 0 6px;
	}
	#top_course .other {
		margin-top: 42px;
	}
	#top_course .other dt {
		font-size: 20px;
		width: 90px;
	}
	#top_course .other .ico {
		width: 120px;
		margin-left: 0;
	}
	#top_course .other .info {
		width: calc(100% - 145px);
	}
	#top_course .other dl {
		padding: 13px 22px;
	}
	#top_course .other .all {
		margin-top: 15px;
		font-size: 20px;
	}
	#top_prf .box:nth-of-type(1),
	#top_prf .box:nth-of-type(2) {
		width: 100%;
	}
	#top_prf .box:nth-of-type(2) {
		margin-top: 32px;
		padding-top: 0;
	}
	#top_prf .box:nth-of-type(1) .info {
		width: calc(100% - 170px);
	}
	#top_prf .box:nth-of-type(2) .info {
		width: calc(100% - 120px);
	}
	#top_prf .box dl {
		font-size: 20px;
		margin-bottom: 15px;
	}
	#top_prf .ico {
		width: 120px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_about::before {
		display: none;
	}
	#top_about::after {
		width: 200px;
		height: 150px;
		right: -150px;
	}
	#top_about table {
		margin-bottom: 24px;
	}
	#top_about table tr {
		display: block;
		padding: 8px 0;
	}
	#top_about table th,
	#top_about table td {
		display: block;
		width: 100%;
		padding: 0;
	}
	#top_about table th {
		margin-bottom: 4px;
	}
	#top_about .about .img,
	#top_about .about .txt {
		width: 100%;
	}
	#top_about .about .img {
		margin-bottom: 18px;
		text-align: center;
	}
	#top_about .about .img img {
		width: 80%;
	}
	#top_about .map iframe {
		height: 240px;
	}
	#top_course::before {
		display: none;
	}
	#top_course h3.sub::before {
		display: none;
	}
	#top_course .list {
		display: block;
		margin-top: 70px;
	}
	#top_course .list > .box {
		width: 100%;
		padding: 160px 15px 15px;
		margin-bottom: 60px;
	}
	#top_course .list > .box:last-of-type {
		margin-bottom: 0;
	}
	#top_course .list > .box .img {
		width: 270px;
	}
	#top_course .ttl {
		font-size: 25px;
	}
	#top_course .label {
		min-width: 140px;
		font-size: 16px;
	}
	#top_course .content dl {
		font-size: 100%;
	}
	#top_course .other {
		display: block;
		margin-top: 30px;
	}
	#top_course .other .ico {
		width: 110px;
		margin: 0 auto 20px;
	}
	#top_course .other .info {
		width: 100%;
	}
	#top_course .other dl {
		display: block;
		padding: 15px;
		border-radius: 8px;
	}
	#top_course .other dt,
	#top_course .other dd {
		width: 100%;
	}
	#top_course .other dt {
		margin-bottom: 6px;
	}
	#top_course .other dt::before {
		display: none;
	}
	#top_course .other dd {
		padding-left: 0;
		font-size: 100%;
	}
	#top_course .other .all {
		font-size: 17px;
		text-align: left;
	}
	#top_prf .box {
		display: block;
	}
	#top_prf .box:nth-of-type(1) .img,
	#top_prf .box:nth-of-type(2) .img {
		width: 112px;
		margin: 0 auto 18px;
	}
	#top_prf .box:nth-of-type(1) .info,
	#top_prf .box:nth-of-type(2) .info {
		width: 100%;
	}
	#top_prf .box dl {
		display: block;
		text-align: center;
	}
	#top_prf .box dt {
		margin-right: 0;
		border-radius: 10px 10px 0px 0px;
	}
	#top_prf .box dd {
		text-align: left;
		padding: 10px;
	}
	#top_prf .ico {
		width: 80px;
	}
}
