/* izimodal */
html.iziModal-isAttached,
html.iziModal-isOverflow {
	overflow: unset;
}

/* swiper */
.home-mainVisual .swiper-pagination-fraction,
.home-mainVisual .swiper-pagination-custom,
.home-mainVisual .swiper-container-horizontal > .swiper-pagination-bullets {
	bottom: 90px;
}

@media (max-width: 767px) {

	.home-mainVisual .swiper-pagination-fraction,
	.home-mainVisual .swiper-pagination-custom,
	.home-mainVisual .swiper-container-horizontal > .swiper-pagination-bullets {
		bottom: 105px;
	}
}

.home-pagination .swiper-pagination-bullet {
	width: 30px;
	height: 2px;
	background: #f5f5f5;
	opacity: 1;
	border-radius: 0;
}

.home-pagination .swiper-pagination-bullet-active {
	background: #e70012;
}

.home-MainVisual_swiperItem {
	text-align: center;
}

.home-MainVisual_swiperImg {
	width: 100%;
	height: auto;
}

@media (max-width: 767px) {}

/* link hub */
.home-hubSec {
	z-index: 1;
	position: relative;
	margin: -70px 0;
}

.home-hub {
	position: relative;
}

.home-hubWrap {
	display: flex;
	justify-content: space-between;
}

.home-hubWrap.-bottom {
	align-items: flex-end;
}

.home-hubWrap.-top {
	align-items: flex-start;
}

.home-hubItem {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 570px;
	height: 60px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-size: 24px;
	color: #fff;
	background: #a0a0a0;
	transition: .3s;
	cursor: pointer;
}

.home-hubItem.is-active {
	height: 70px;
	color: #333;
	background: #f9f9f9;
}

.home-hubItem.-bottom {
	box-shadow: -1px -5px 5px rgba(51, 51, 51, 0.1);
}

.home-hubItem.-top {
	box-shadow: -1px 5px 5px rgba(51, 51, 51, 0.1);
}

.home-hubItem.-bottom::before {
	content: '';
	z-index: 0;
	position: absolute;
	right: 0;
	bottom: -10px;
	left: 0;
	width: 1px;
	height: 20px;
	margin: auto;
	background: #fff;
}

.home-hubItem.-bottom.is-active::before {
	bottom: -35px;
	height: 50px;
	background: #e1dfdc;
}

.home-hubItem.-bottom.is-active::after {
	content: '';
	z-index: 1;
	position: absolute;
	right: 0;
	bottom: -10px;
	left: 0;
	width: 1px;
	height: 25px;
	margin: auto;
	background: #e70012;
}

.home-hubText {
	position: relative;
}

.home-hubText::before {
	content: '\f002';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -40px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Font Awesome 5 Pro';
	font-weight: 400;
	font-size: 24px;
	color: #fff;
	line-height: 60px;
}

.is-active .home-hubText::before {
	color: #a0a0a0;
}

.home-hubContent {
	display: none;
	background: #f9f9f9;
	box-shadow: 0px 0px 30px rgb(51 51 51 / 0.2);
}

.home-hubContent.is-active {
	display: block;
}

.home-hubContentWrap {
	padding: 60px 0 80px;
}

@media (max-width: 767px) {
	.home-hubSec {
		margin: -90px 0;
	}

	.home-hubItem {
		width: calc((100% - 15px) / 2);
		height: 80px;
		font-size: 1.4rem;
	}

	.home-hubItem.is-active {
		height: 90px;
	}

	.home-hubText {
		padding-left: 30px;
	}

	.home-hubText::before {
		left: 0;
		font-size: 18px;
	}
}

.home-hubIntroduction {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	text-align: center;
	line-height: 2;
}

.home-areaList {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.home-areaListItem {
	width: calc((100% - 90px) / 3);
	margin: 15px;
	padding: 20px;
	background: #fff;
	box-shadow: 0px 0px 20px rgba(51, 51, 51, 0.2);
}

.home-areaListItem.is-active {
	min-height: 210px;
}

.home-areaListItem.-short.is-active {
	min-height: 120px;
}

.home-areaHead {
	position: relative;
	cursor: pointer;
}

.home-areaHead::before,
.home-areaHead::after {
	content: '';
	position: absolute;
	top: 10px;
	right: 0;
	width: 19px;
	height: 1px;
	margin: auto;
	background: #a0a0a0;
	transition: .3s;
}

.home-areaHead::after {
	transform: rotate(90deg);
}

.home-areaListItem.is-active .home-areaHead::after {
	transform: rotate(0deg);
}

.home-areaHeadText {
	position: relative;
	display: block;
	padding-bottom: 20px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #333;
}

.home-areaHeadText::before,
.home-areaHeadText::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
}

.home-areaHeadText::before {
	width: 100%;
	height: 1px;
	background: #e1dfdc;
}

.home-areaHeadText::after {
	width: 30px;
	height: 1px;
	background: #e70012;
}

.home-areaHead + .home-areaContent {
	margin-top: 20px;
}

.home-areaLink {
	display: block;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-size: 1.6rem;
	color: #333;
}

.home-areaLink:hover {
	color: #cf0010;
}

.home-areaLink + .home-areaLink {
	margin-top: 5px;
}

@media (max-width: 767px) {
	.home-areaList {
		flex-direction: column;
		margin: 0;
	}

	.home-areaListItem {
		width: 100%;
		margin: 15px 0;
	}
}

.home-typeList {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.home-typeListItem {
	position: relative;
	width: calc((100% - 120px) / 4);
	margin: 15px;
	box-shadow: 0px 0px 20px rgba(51, 51, 51, 0.2);
	transition: all .2s;
	cursor: pointer;
}

.home-typeListItem::before,
.home-typeListItem::after {
	content: '';
	z-index: 2;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 0;
	height: 0;
	border: 1px solid transparent;
	box-sizing: content-box;
}

.home-typeListItem:hover::before,
.home-typeListItem:hover::after {
	width: 100%;
	height: 100%;
}

.home-typeListItem:hover::before {
	border-top-color: #e70012;
	border-right-color: #e70012;
	transition: width .1s, height .1s .1s;
}

.home-typeListItem:hover::after {
	border-bottom-color: #e70012;
	border-left-color: #e70012;
	transition: height .1s, width .1s .1s;
}

.home-typeListItem.is-active::before,
.home-typeListItem.is-active::after {
	width: 100%;
	height: 100%;
	border-color: #e70012;
}

.home-typeWrap {
	position: relative;
}

.home-typeWrap::before {
	content: '';
	position: absolute;
	right: 0;
	bottom: -21px;
	left: 0;
	width: 1px;
	height: 0;
	margin: auto;
	background: #e70012;
	transition: height .2s;
}

.home-typeListItem.is-active .home-typeWrap::before {
	height: 20px;
}

.home-typeText {
	position: relative;
	display: block;
	width: 100%;
	padding: 15px 20px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 1.6rem;
	color: #333;
	background: #fff;
}

.home-typeText::before,
.home-typeText::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1px;
}

.home-typeText::before {
	z-index: 0;
	height: 100%;
	background: #e1dfdc;
}

.home-typeText::after {
	z-index: 1;
	height: 19px;
	margin: auto;
	background: #e70012;
}

.home-typeSchool {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
	padding: 15px;
	border-top: 1px solid #e70012;
	background: #fff;
	box-shadow: 0px 0px 20px rgba(51, 51, 51, 0.2);
}

.home-typeSchoolLink {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc((100% - 90px) / 3);
	height: 46px;
	margin: 15px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-size: 1.6rem;
	color: #333;
	border: 1px solid #e1dfdc;
	transition: .3s;
}

.home-typeSchoolLink::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -1px;
	width: 1px;
	height: 16px;
	margin: auto;
	background: #e70012;
}

.home-typeSchoolLink::after {
	content: '';
	position: absolute;
	top: 0;
	right: -10px;
	bottom: 0;
	width: 20px;
	height: 6px;
	margin: auto;
	background: url(../../images/icon/arrow_gray.svg) top right no-repeat;
	transition: .3s;
}

.home-typeSchoolLink:hover {
	background: #e1dfdc;
}

.home-typeSchoolLink:hover::after {
	right: -20px;
}

.iziModal-content {
	position: relative;
}

@media (max-width: 767px) {
	.home-typeList {
		margin: 0 -10px;
	}

	.home-typeListItem {
		width: calc((100% - 40px) / 2);
		margin: 10px;
	}

	.home-typeImg {
		width: 100%;
		height: auto;
	}

	.home-typeText {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		min-height: 52px;
		padding: 10px 15px;
		font-size: 1.4rem;
		line-height: 1.2;
	}

	.home-typeSchoolLink {
		width: calc((100% - 60px) / 2);
	}
}

/* banner */
.home-bannerSec {
	padding: 153px 0 80px;
}

.home-bannerSwiper {
	position: relative;
}

.home-banner_swiperLink {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

.home-banner_swiperLink::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: .3s;
}

.home-banner_swiperLink:hover::before {
	background: rgba(0, 0, 0, 0.2);
}

.home-bannerSwiper .swiper-button-prev,
.home-bannerSwiper .swiper-button-next {
	display: none;
}

@media (max-width: 767px) {

	.home-bannerSwiper .swiper-button-prev,
	.home-bannerSwiper .swiper-button-next {
		display: block;
		top: 0;
		bottom: 0;
		margin: auto;
		outline: 0;
	}

	.home-bannerSwiper .swiper-button-prev,
	.home-bannerSwiper .swiper-container-rtl .swiper-button-next {
		background: url(../../images/top/i_swiper_arrow.png) no-repeat center / contain;
		width: 40px;
		height: 80px;
		left: 0;
		transform: scale(-1, 1);
	}

	.home-bannerSwiper .swiper-button-next,
	.home-bannerSwiper .swiper-container-rtl .swiper-button-prev {
		background: url(../../images/top/i_swiper_arrow.png) no-repeat center / contain;
		width: 40px;
		height: 80px;
		right: 0;
	}

	.home-bannerSwiper .swiper-pagination {
		width: 100%;
		bottom: -30px;
	}

	.home-bannerSwiper .swiper-pagination-bullet {
		margin: 5px;
		border: 1px solid #e70012;
		background: #fff;
		opacity: 1;
	}

	.home-bannerSwiper .swiper-pagination-bullet-active {
		background: #e70012;
	}

	.home-bannerSwiper {
		margin: 0 -15px;
	}

	.home-banner_swiperImg {
		width: 100%;
		height: auto;
	}
}

/* lower nav */
.home-lowerNavList {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: -15px;
}

.home-lowerNavItem {
	width: calc((100% - 60px) / 2);
	margin: 15px;
}

.home-lowerNavLink {
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.home-lowerNavSec {
	padding: 80px 0;
	background: #f9f9f9;
}

.home-lowerNavText {
	z-index: 1;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 300px;
	height: 120px;
	margin: auto;
	padding: 30px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-size: 26px;
	color: #333;
	background: #fff;
	box-shadow: -1px 0px 5px rgba(51, 51, 51, 0.1);
	transition: .3s;
}

.home-lowerNavText::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 1px;
	height: 40px;
	margin: auto;
	background: #e70012;
}

.home-lowerNavText::after {
	content: '';
	position: absolute;
	top: 0;
	right: -10px;
	bottom: 0;
	width: 45px;
	height: 6px;
	margin: auto;
	background: url(../../images/icon/arrow_gray.svg) top right no-repeat;
	transition: .3s;
}

.home-lowerNavLink:hover .home-lowerNavText {
	background: #e1dfdc;
}

.home-lowerNavLink:hover .home-lowerNavText::after {
	right: -20px;
}

.home-lowerNavSubText {
	display: block;
	font-family: 'Barlow', sans-serif;
	font-weight: 400;
	font-size: 14px;
}

.home-lowerNavImgWrap {
	z-index: 0;
	position: relative;
	width: 470px;
	height: 180px;
	overflow: hidden;
}

.home-lowerNavImg {
	width: 100%;
	height: auto;
	transition: .3s;
}

.home-lowerNavLink:hover .home-lowerNavImg {
	transform: scale(1.1);
}

@media (max-width: 767px) {
	.home-lowerNavList {
		flex-direction: column;
		margin: 0;
	}

	.home-lowerNavItem {
		width: 100%;
		margin: 20px 0;
	}

	.home-lowerNavText {
		top: -20px;
		bottom: unset;
		width: 210px;
		height: 85px;
		padding: 14px 20px;
		font-size: 24px;
	}

	.home-lowerNavImgWrap {
		width: 276px;
		height: 105px;
	}
}

/* メニューのスクロール */
.Home_menu .mCSB_scrollTools .mCSB_draggerContainer {
	padding-bottom: 20px;
}
