/* Home */

.section {
	margin-bottom: 5.8em;
}
h3.title {
	padding-left: 0;
	font-size: 1.67em;
	color: #333 !important;
}
h3.title::before{
	display: none;
}

/* Hero */

#home_hero {
	position: relative;
	margin-bottom: 3.63em;
}
#home_hero .inner {
	padding-right: 0;
	padding-left: 92px;
	max-width: 100%;
}
#home_hero_wrapper {
	position: relative;
}
#home_hero_video,
#home_hero_slides {
	border-radius: 40px 0 0 40px;
	max-height: 650px;
	overflow: hidden;
}
#home_hero_video {
	position: relative;
	height: 650px;
}
#home_hero_video::before {
	position: absolute;
	left: 0;
	top: 0;
	content: '';
	height: 100%;
	width: 100%;
	background: rgba(0,0,0,0.25);
	z-index: 1;
}
#home_hero_video video {
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.home_hero_slide {
	position: relative;
	aspect-ratio: 1800 / 977;
	max-height: 530px;
	max-height: 650px;
	background: #ccc;
}
.home_hero_slide::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
	background: rgba(0, 0, 0, 0.13);
}
.home_hero_slide h4 {
	position: absolute;
	right: 81px;
	right: 121px;
	bottom: 30px;
	padding: 0.5em 2em;
	min-width: 141px;
	font-size: 0.67em;
	color: #fff;
	background: rgba(0, 0, 0, 0.85);
	border-radius: 200px;
	text-align: center;
	overflow: hidden;
}
#home_hero h2 {
    position: absolute;
    font-size: 1.6em;
    font-size: 1.55em;
    font-size: 1.4em;
    color: #fff;
    letter-spacing: 0.2em;
    line-height: 1em;
}
#home_hero_copy_v {
    left: 40px;
    bottom: 20px;
    bottom: 30px;
	bottom: auto;
	top: 80px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    z-index: 2;
}
#home_hero_copy_v .adjust_comma {
	letter-spacing: -0.3em;
}
#home_hero_copy_h {
	left: 40px;
    bottom: 40px;
	bottom: auto;
	top: 35px;
	font-size: 2.5em !important;
	font-size: 2.2em !important;
	letter-spacing: 0.25em !important;
	z-index: 2;
}
#home_hero_course {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
		-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	text-orientation: sideways;
	z-index: 2;
}
#home_hero_course li {
	float: left;
	height: 33.33%;
}
#home_hero_course li:nth-of-type(3n + 1) {
	clear: both;
}
#home_hero_course li a {
	display: block;
	padding: 1em;
	font-size: 0.76em;
	line-height: 1.2em;
	color: #fff !important;
	background: #000;
	text-align: center;
	text-decoration: none;
	transition: all 360ms ease-in-out;
	text-indent: 1000%;
	white-space: nowrap;
	overflow: hidden;
}
#home_hero_course li a:hover {
	filter: brightness(1.1);
	transition: all 260ms ease-in-out;
}
#home_hero_course li.course_v a {
	background: var(--v);
	background: var(--v) url(../images/common/course_v_title_v_ja.png) no-repeat center center / 40%;
}
#home_hero_course li.course_p a {
	background: var(--p);
	background: var(--p) url(../images/common/course_p_title_v_ja.png) no-repeat center center / 40%;
}
#home_hero_course li.course_pd a {
	background: var(--pd);
	background: var(--pd) url(../images/common/course_pd_title_v_ja.png) no-repeat center center / 40%;
}
#home_hero_course li.course_i a {
	background: var(--i);
	background: var(--i) url(../images/common/course_i_title_v_ja.png) no-repeat center center / 40%;
}
#home_hero_course li.course_ad a {
	background: var(--ad);
	background: var(--ad) url(../images/common/course_ad_title_v_ja.png) no-repeat center center / 40%;
}
#home_hero_course li.course_f a {
	background: var(--f);
	background: var(--f) url(../images/common/course_f_title_v_ja.png) no-repeat center center / 40%;
}

/* Topics */

#home_topics {
	margin-bottom: 8.8em;
}
#home_topics_slides {
	padding: 0 117px;
}

/* School */

#home_school .inner {
	padding-bottom: 5.23em;
}
#home_school_slides_pc {
	float: left;
	width: 40%;
	border-radius: 20px;
	overflow: hidden;
}
._home_school_slide {
	border-radius: 20px;
	overflow: hidden;
}
/* ページネーション全体の位置 */
#home_school .splide__pagination {
	width: max-content;
	justify-content: flex-start;
	left: 20px;
    bottom: 20px; /* スライドの下に配置、必要に応じて調整 */
    gap: 6px;
}
#home_school .splide__pagination__page {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: 1;
    margin: 0;
    transition: all 300ms ease-in-out;
}
#home_school .splide__pagination__page.is-active {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background: var(--main);
    transform: none;
}
#home_school_text {
	float: right;
	padding-top: 3em;
	width: 52%;
}
#home_school_text h4 {
	margin-bottom: 1.7em;
	font-size: 1.6em;
	font-size: 1.8em;
	font-weight: 500;
	line-height: 1.46em;
	line-height: 1.55em;
	letter-spacing: 0.07em;
}
#home_school_desc p:not(:last-of-type) {
	margin-bottom: 2em;
}
#home_school_text .button.above {
	margin-top: 3rem;
}

/* Exam */

#home_exam .inner {
	padding-bottom: 6.6em;
}
#home_exam .heading {
	margin-bottom: 3.3em;
}
#home_exam_flyer {
	float: left;
	aspect-ratio: 500 / 707;
	width: 26%;
	overflow: hidden;
}
#home_exam_flyer a {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 20px;
	border: 1px solid #eee;
}
#home_exam_event {
	float: right;
	width: 68%;
}
#home_exam_event .event_pane {
	float: left;
	width: 48.3%;
}
#home_exam_event .event_pane:nth-last-of-type(n + 3) {
	margin-bottom: 1.87em;
	margin-bottom: 1.6em;
}
#home_exam_event .event_pane:nth-of-type(even) {
	float: right;
}
#home_exam_event .event_pane:nth-of-type(2n + 1) {
	clear: both;
}

/* Course */

#home_course .inner {
	padding-bottom: 6.2em;
}
#home_course .heading {
	margin-bottom: 4.5em;
}
#home_course .heading .more a {
	word-break: keep-all;
}
#home_course_slides {
	/* padding-right: 407px; */
}
.home_course_slide a {
	position: relative;
	display: block;
	text-decoration: none;
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
}
.home_course_image {
	position: absolute;
	top: 0;
	left: 0;
	width: 200px;
	height: 100%;
	background: #ccc;
}
.home_course_text {
	float: right;
	padding: 2.5em 1.8em 1.7em 2.3em;
	width: calc(100% - 200px);
}
.home_course_text h4,
.home_course_text p,
.home_course_text h5,
.home_course_text ul {
	position: relative;
	z-index: 10;
}
.home_course_text h6 {
	position: absolute;
	top: 10px;
	right: 22px;
	font-size: 8.13em;
	line-height: 1em;
	letter-spacing: -0.05em;
	color: #ccc;
	opacity: 0.18;
	z-index: 1;
}
.home_course_v .home_course_text h6 {
	color: var(--v);
}
.home_course_p .home_course_text h6 {
	color: var(--p);
}
.home_course_pd .home_course_text h6 {
	color: var(--pd);
}
.home_course_i .home_course_text h6 {
	right: 40px;
	color: var(--i);
}
.home_course_ad .home_course_text h6 {
	color: var(--ad);
}
.home_course_f .home_course_text h6 {
	color: var(--f);
}
.home_course_text h4 {
	margin-bottom: 0.2em;
	font-weight: 500;
}
.home_course_text p {
	font-size: 0.8em;
	line-height: 1.42em;
}
.home_course_text h5 {
	padding-top: 0.5rem;
	margin-top: 0.8rem;
	border-top: 1px solid #eaeaea;
	margin-bottom: 0.5em;
	font-size: 0.73em;
	font-weight: 500;
}
.home_course_text li {
	float: left;
	padding: 0.2em 0.5em;
	margin-right: 0.35em;
	margin-bottom: 0.45em;
	font-size: 0.67em;
	line-height: 1.2em;
	color: #fff;
	background: #ccc;
	border-radius: 200px;
}
.home_course_v .home_course_text li {
	background: var(--v);
}
.home_course_p .home_course_text li {
	background: var(--p);
}
.home_course_pd .home_course_text li {
	background: var(--pd);
}
.home_course_i .home_course_text li {
	background: var(--i);
}
.home_course_ad .home_course_text li {
	background: var(--ad);
}
.home_course_f .home_course_text li {
	background: var(--f);
}
/* ulの高さ制限 */
.home_course_text ul {
    /* liのfont-size: 0.67em、line-height: 1.2em、margin-bottom: 0.45em から逆算 */
    /* 3行分の高さを固定 */
    max-height: calc((1.2em + 0.45em) * 3);
    overflow: hidden;
}
/* 「...」タグのスタイル */
.home_course_text li.jobs_more {
    float: left;
    padding: 0;
    margin-right: 0;
    margin-bottom: 0;
    font-size: 0.6em;
    line-height: 1.2em;
	color: #333;
	background: none;
}

/* News */

#home_news .heading {
	margin-bottom: 4.1em;
}
/*
.news_list .content .tab_contents li {
	position: relative;
	padding: 1.5em 0 1.25em 0;
	border-bottom: 1px solid #e7e2cd;
}
.news_list .content .tab_contents li:last-of-type {
	padding-bottom: 0;
	border-bottom: none;
}
.news_list_data {
	float: left;
	margin-right: 25px;
	margin-right: 2rem;
}
.news_list_data p {
	float: left;
	margin-bottom: 0 !important;
}
.news_list_date {
	width: 85px;
}
.news_list_title {
	float: left;
	margin-top: 3px;
	margin-top: 0;
	width: calc(100% - 257px);
	line-height: 1.9rem;
}
.news_list .content li h4 {
	font-size: 0.93em;
}
.news_list .content li a {
	text-decoration: none;
}
.news_list_color {
	display: inline-block;
	margin-top: 10px;
	margin-right: 1.5rem;
	content: '';
	width: 9px;
	height: 9px;
	background: #ccc;
	border-radius: 50%;
}
*/
.news_list_students .news_list_color {
	background: var(--students);
}
.news_list_graduates .news_list_color {
	background: var(--graduates);
}
.news_list_exam .news_list_color {
	background: var(--exam);
}
.news_list_general .news_list_color {
	background: var(--sub);
}
.news_list_all .news_list_color {
	background: #dedede;
}
#home_news .content li h4 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
}
.info_list_date {
	position: relative;
	margin-top: 0;
	margin-right: 1rem;
	width: 6em;
	font-size: 0.93em;
	line-height: 1.9rem;
}

@media screen and (max-width: 1180px) and (min-width: 750px) {
	
	#home_hero .inner {
		padding-left: 70px;
	}
	#home_school_text {
		padding-top: 0;
	}
}
@media screen and (min-width: 1600px) {
	
	#home_hero_video,
	#home_hero_slides {
		max-height: 750px;
	}
	#home_hero_video {
		height: 750px;
	}
	
}
@media screen and (min-width: 1800px) {
	
	#home_hero_video,
	#home_hero_slides {
		max-height: 850px;
	}
	#home_hero_video {
		height: 850px;
	}
	
}
