.main {
	padding-top: 0;
	padding-bottom: 0;
}
@media screen and (max-width: 1130px) and (min-width: 768px) {
	.main {
		padding: 0 10px 30px;
	}
}
.sec1 ul {
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}
.box_01 {
	width: -webkit-calc(33.333333333% - (40px / 3));
	width: calc(33.333333333% - (40px / 3));
}
.box_01:not(:nth-of-type(3n)) {
	margin-right: 20px;
}
@media screen and (max-width: 767px) {
	.box_01:not(:nth-of-type(3n)) {
		margin-right: 0;
	}
}
.sec1 .box_01 a {
	position: relative;
}
.sec1 .box_01 a::before {
	display: none;
}

/*.sec1 .box_01:nth-of-type(1) a::before {background-image: url(../img/top/sec1_img001.jpg);}
.sec1 .box_01:nth-of-type(2) a::before {background-image: url(../img/top/sec1_img002.jpg);}
.sec1 .box_01:nth-of-type(3) a::before {background-image: url(../img/top/sec1_img003.jpg);}
.sec1 .box_01:nth-of-type(4) a::before {background-image: url(../img/top/sec1_img004.jpg);}
.sec1 .box_01:nth-of-type(5) a::before {background-image: url(../img/top/sec1_img005.jpg);}
.sec1 .box_01:nth-of-type(6) a::before {background-image: url(../img/top/sec1_img006.jpg);}*/

.tab_content:not(:last-child) {
	margin-bottom: 20px;
}
.tab_content:nth-child(1) {
	background-image: url(../img/top/sec2_img001.png);
}
.tab_content:nth-child(2) {
	background-image: url(../img/top/sec2_img002.png);
}
.tab_content:nth-child(3) {
	background-image: url(../img/top/sec2_img003.png);
}

.middle_school .tab_content:nth-child(1) {
	background-image: url(../img/top/sec2_img002.png);
}
.middle_school .tab_content:nth-child(2) {
	background-image: url(../img/top/sec2_img003.png);
}

.tab_content .link_list li:last-of-type {
	margin-left: 32px;
}

.tab_content .link_list02 li:last-of-type {
	margin-left: 0;
}
.tab_content .link_list02 ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	max-width: 660px;
}
.tab_content .link_list02 li:nth-of-type(3n + 1) {
	width: 210px;
}
.tab_content .link_list02 li:nth-of-type(3n + 2) {
	width: 277px;
}

.tab_content .gift {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	-o-justify-content: space-between;
	justify-content: space-between;
	margin-top: 20px;
}
.tab_content .box_02 {
	width: -webkit-calc(33.33333333% - (40px / 3));
	width: calc(33.33333333% - (40px / 3));
}

@media screen and (max-width: 1070px) and (min-width: 1001px) {
	.tab_content .link_list02 li:nth-of-type(3n + 1) {
		width: 195px;
	}
	.tab_content .link_list02 li:nth-of-type(3n + 2) {
		width: 249px;
	}
}

@media screen and (max-width: 767px) {
	.slider {
		margin-top: 60px;
	}
	.sec1 .fade_acd_content {
		display: block;
		height: 940px;
		overflow: hidden;
		position: relative;
		transition: 0.5s height ease;
	}
	.sec1 li:not(:last-of-type) {
		margin-bottom: 3%;
	}
	.sec1 .fade_acd_content.on {
		/*height: 100%;*/
	}
	.fade_acd {
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		background-repeat: no-repeat;
		background-image: url(../img/common/grd.png);
		-webkit-background-size: 100% 100%;
		background-size: 100% 100%;
		background-position: bottom left;
		height: 200px;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-ms-align-items: flex-end;
		align-items: flex-end;
		-webkit-justify-content: center;
		-moz-justify-content: center;
		-ms-justify-content: center;
		-o-justify-content: center;
		justify-content: center;
		font-size: 15vw;
		color: #001f50;
		cursor: pointer;
	}
	.fade_acd:hover::before {
		opacity: 0.8;
	}
	.fade_acd::before {
		content: '\f107';
		font-family: 'Font Awesome 5 Free';
		font-weight: bold;
	}
	.fade_acd_content.on .fade_acd {
		position: static;
		height: auto;
		border: 1px solid #c2c9d5;
		font-size: 3.7vw;
		width: 80%;
		height: 40px;
		margin: 0 auto;
		-ms-align-items: center;
		align-items: center;
	}
	.fade_acd_content.on .fade_acd::before {
		content: '閉じる';
		background-image: none;
	}
	.box_01 {
		width: 100%;
	}
	.tab_ttl {
		display: none;
	}
	.accordion {
		color: #ffffff;
		margin-bottom: 0;
	}
	.tab_content:not(:last-child) {
		padding: 3%;
	}
	.middle_school .tab_content:nth-child(n),
	.tab_content:nth-child(n) {
		background-image: none;
	}
	.tab_content .link_list li:nth-of-type(n) {
		margin: 10px 0 0;
	}
	.tab_content .gift {
		display: block;
	}
	.tab_content .box_02 {
		width: 100%;
	}
	.box_02:not(:last-of-type) {
		margin-bottom: 3%;
	}
	.box_02::after {
		font-size: 3.4rem;
	}
	.tab_content .link_list02 li:nth-of-type(n) {
		width: 100%;
	}
	.tab_content .link_list02 li:not(:last-of-type) {
		margin: 0 0 10px;
	}
	.accordion.sp.bgc06 {
		margin-top: 3%;
	}
}
@media screen and (max-width: 767px) {
	#g_nav_fixed {
		display: block;
		opacity: 1;
		position: static;
		visibility: visible;
		padding: 3%;
		background-color: #001f50;
	}
	#g_nav_fixed li span,
	#g_nav_fixed li:first-of-type {
		display: none;
	}
	#g_nav_fixed .g_nav {
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: space-between;
		-moz-justify-content: space-between;
		-ms-justify-content: space-between;
		-o-justify-content: space-between;
		justify-content: space-between;
	}
	#g_nav_fixed li {
		width: 32.33333333%;
		background-color: #ffffff;
		margin-bottom: 1.5%;
		position: relative;
	}
	#g_nav_fixed li::before {
		content: '';
		position: absolute;
		top: 10%;
		left: 0;
		right: 0;
		margin: auto;
		width: 70%;
		padding-top: 60%;
		display: block;
		background-repeat: no-repeat;
		background-position: top center;
		-webkit-background-size: contain;
		background-size: contain;
	}
	#g_nav_fixed li::after {
		position: absolute;
		width: 100%;
		bottom: 10px;
		left: 0;
		text-align: center;
		color: #001f50;
		font-family: '游明朝体', YuMincho, '游明朝', 'Yu Mincho',
			'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', serif;
		font-size: 3.2vw;
		font-weight: bold;
	}
	#g_nav_fixed a {
		color: #001f50;
		padding-top: 100%;
		display: block;
		overflow: hidden;
		position: relative;
		z-index: 10;
	}
	#g_nav_fixed li > a:hover {
		background-color: transparent;
		position: relative;
		opacity: 0.8;
	}
	#g_nav_fixed li:nth-of-type(2) {
		-webkit-order: 1;
		-moz-order: 1;
		-ms-order: 1;
		-o-order: 1;
		order: 1;
		width: 100%;
	}
	#g_nav_fixed li:nth-of-type(2) a {
		padding-top: -webkit-calc(100% * 0.21);
		padding-top: calc(100% * 0.21);
		display: block;
		overflow: hidden;
	}
	#g_nav_fixed li:nth-of-type(2)::before {
		padding-top: -webkit-calc(90% * 0.21);
		padding-top: calc(90% * 0.21);
		top: 5%;
		bottom: 5%;
		left: 8%;
		margin: 0;
		width: 30%;
		background-position: center right;
		background-image: url(../img/top/menu_07.svg);
	}
	#g_nav_fixed li:nth-of-type(2) a::before,
	#g_nav_fixed li:nth-of-type(2) a::after {
		position: absolute;
		left: 0;
		margin-left: 41%;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-ms-align-items: center;
		align-items: center;
		height: 100%;
		color: #062454;
	}
	#g_nav_fixed li:nth-of-type(2) a::before {
		content: 'ビッグバンとは';
		font-size: 4.5vw;
		top: 0;
		padding-bottom: 7vw;
	}
	#g_nav_fixed li:nth-of-type(2) a::after {
		white-space: pre;
		content: '医学部合格への道を、\A万全の体制で全力でサポート';
		font-size: 2.5vw;
		bottom: 0;
		padding-top: 7vw;
	}
	#g_nav_fixed li:nth-of-type(3)::before {
		background-image: url(../img/top/menu_01.svg);
	}
	#g_nav_fixed li:nth-of-type(4)::before {
		background-image: url(../img/top/menu_02.svg);
	}
	#g_nav_fixed li:nth-of-type(5)::before {
		background-image: url(../img/top/menu_03.svg);
	}
	#g_nav_fixed li:nth-of-type(6)::before {
		background-image: url(../img/top/menu_04.svg);
	}
	#g_nav_fixed li:nth-of-type(7)::before {
		background-image: url(../img/top/menu_05.svg);
	}
	#g_nav_fixed li:nth-of-type(8)::before {
		background-image: url(../img/top/menu_06.svg);
	}

	#g_nav_fixed li:nth-of-type(3)::after {
		content: 'コース案内';
	}
	#g_nav_fixed li:nth-of-type(4)::after {
		content: '講師紹介';
	}
	#g_nav_fixed li:nth-of-type(5)::after {
		content: '合格実績';
	}
	#g_nav_fixed li:nth-of-type(6)::after {
		content: '入塾案内';
	}
	#g_nav_fixed li:nth-of-type(7)::after {
		content: '教室案内';
	}
	#g_nav_fixed li:nth-of-type(8)::after {
		content: 'よくあるご質問';
	}
	.tab_content .link_list02 {
		border: none;
		padding: 0;
	}
}
@media screen and (max-width: 600px) {
	#g_nav_fixed li:nth-of-type(2) a::before {
		/*padding-bottom: 7%;*/
	}
	#g_nav_fixed li:nth-of-type(2) a::after {
		/*padding-top: 7%;*/
	}
}
@media screen and (max-width: 450px) {
	#g_nav_fixed li:nth-of-type(2) a::before {
		/*padding-bottom: 10%;*/
	}
	#g_nav_fixed li:nth-of-type(2) a::after {
		/*padding-top: 10%;*/
	}
}

@media screen and (max-width: 1111px) and (min-width: 1071px) {
	.tab_content .link_list02 li:nth-of-type(3n) {
		width: 179px;
	}
}

@media screen and (max-width: 1054px) and (min-width: 1001px) {
	.tab_content .link_list02 li:nth-of-type(3n) {
		width: 179px;
	}
}

@media screen and (max-width: 787px) and (min-width: 768px) {
	.tab_content .link_list02 li:nth-of-type(3n) {
		width: 179px;
	}
}
@media screen and (max-width: 1119px) and (min-width: 1001px) {
	/*
	.tab_content .link_list li:nth-of-type(3n+1) {
        width: 145px;
    }
    .tab_content .link_list li:nth-of-type(3n+2) {
        width: 185px;
    }
	*/
	.tab_content .list_arrow {
		font-size: 1.4rem;
	}
}
@media screen and (max-width: 1119px) and (min-width: 767px) {
	/*
    .tab_content .link_list li:not(:nth-of-type(3n)) {
        margin-right: 0;
    }
    .tab_content .link_list li:last-of-type {
        margin-left: 0;
    }
	*/
}
@media screen and (max-width: 1000px) and (min-width: 767px) {
	/*
    .tab_content .link_list li:nth-of-type(3n+1) {
        width: 180px;
    }
    .tab_content .link_list li:nth-of-type(3n+2) {
        width: 220px;
    }
	*/
}

@media screen and (max-width: 1100px) and (min-width: 768px) {
	.tab_content {
		-webkit-background-size: 30%;
		background-size: 30%;
	}
	.tab_content .col {
		margin-left: 35%;
	}
	.tab_content .box_02 {
		width: -webkit-calc(33.33333333% - (20px / 3));
		width: calc(33.33333333% - (20px / 3));
	}
}
@media screen and (max-width: 779px) and (min-width: 768px) {
	.tab_content .list_arrow {
		font-size: 1.5rem;
	}
}

@media screen and (max-width: 1100px) {
	.sec2 br.pc {
		display: none;
	}
}

/*edge*/
@media screen and (min-width: 1000px) {
	@supports (-ms-ime-align: auto) {
		.tab_content .link_list02 li:nth-of-type(3n) {
			width: 179px;
		}
	}
}

/* 2020-12-18 ADD */
.course .course_flexd ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.course .course_flexd li {
	width: calc(50% - 5px);
	padding: 20px 15px;
}
.course_flexd dl {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.course_flexd .margin_box_1 {
	margin-bottom: 10px;
	font-size: min(1.4rem, 3.5vw);
}
.course_flexd .margin_box_2 {
	margin-top: auto;
}
.course_flexd .exceed,
.course_flexd .regular {
	border: 2px solid #cfeee8;
	background-color: #eaf8f8;
}
.course_flexd .platinum {
	border: 2px solid #d6d6d6;
	background-color: #fbfbfb;
}
.course_flexd .hybrid {
	border: 2px solid #d2eeff;
	background-color: #e9f5fc;
}
.course_flexd .fullsupport {
	border: 2px solid #e2cfee;
	background-color: #f5eaf8;
}
.course_flexd .freeplan {
    border: 2px solid #dbedff;
    background-color: #eff4fb;
}
.course_flexd .future {
    border: 2px solid #f7c9dd;
    background-color: #fef7fa;
}
.course_flexd .center_color {
	text-align: center;
	display: block;
	line-height: 1.4;
	margin-bottom: 5px;
}
.course_flexd .course_font_2 {
	font-size: min(2.4rem, 6vw);
}
.regular .center_color,
.exceed .center_color {
	color: #05820b;
}
.platinum .center_color {
	color: #9a9a9a;
}
.hybrid .center_color {
	color: #0081cc;
}
.fullsupport .center_color {
	color: #5d0582;
}
.freeplan .center_color {
	color: #001f50;
}
.future .center_color {
	color: #ee87b4;
}
.course .course_flexd a {
	display: block;
}
@media screen and (max-width: 767px) {
	.course .course_flexd li {
		width: 100%;
	}
	.course .course_flexd .future,
	.course .course_flexd .platinum {
		margin-bottom: 10px;
	}
	.course_flexd .course_font {
		font-size: min(4vw, 1.6rem);
	}
}

.course .course_flexd li {
	position: relative;
}
.course_flexd .limited {
    background-color: #d71e1e;
    color: #fff;
    padding: 5px 7px;
    display: inline-block;
    font-size: min(3.5vw, 13px);
    position: absolute;
    left: -2px;
    top: -2px;
	line-height: 1;
}
@media screen and (max-width: 767px) {
	.course_flexd .limited {
		padding: 5px;
	}
}