@charset "utf-8";
/* CSS Document */
:root{
  --ele_main:#78c043;
  --ju_main:#00a0e9;
  --hei_main:#e55560;
}


/*tab*/
.tab_wrap{
	max-width: 960px;
	margin: 0 auto;
}
.tab{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.tab li a{
	display: block;
	margin:0 2px;
	padding:10px;
}

.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fff;
	padding:50px 20px 0;
}
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


.course {
  padding: 60px 20px 0;
}
@media(max-width:1024px){
	.course {
	  padding: 60px 0px 0;
	}
}
@media(max-width:768px){
	.tab {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media(max-width:500px){	
	.area {
		padding: 50px 0px 0;
	}
}
/*course見出し*/
.section-title {
	color: #fff;
	padding: 10px 30px;
	font-size: 24px;
	position: relative;
	font-family: "Noto Sans JP", sans-serif;letter-spacing: .2rem;	
	margin-bottom: 50px;
}
.section-title::before{
	position: absolute;
	width: 45%;
	height:100%;
	content: '';
	background: var(--ele_main);
	top: 0;
	left: -10%;
	z-index: -1;
}


#junior .section-title::before{
	background: var(--ju_main);
}
#high .section-title::before{
	background: var(--hei_main);
}
@media(max-width:759px){
	.section-title::before{
		width:100%;
		max-width: 330px;
	}	
}
.course-top {
	width: 98%;
	max-width: 1100px;
	margin: 40px auto 0;
	display: flex;
	gap: 8%;
	align-items: center;
}

.course-text {
  flex: 5;
}

.course-text h3{
	font-size: clamp(1.25rem, 0.279rem + 1.89vw, 1.7rem);
}
.highlight {
  background: #e9f7dd;
  padding: 10px;
  border-left: 5px solid #7ac943;
  margin: 15px 0;
}
.course-image{
  flex: 3;	
}
.course-image img {
  width: 100%;
  border-radius: 10px;
	object-fit: contain;
}

@media(max-width:759px){
	.course-top {
		flex-direction: column;
	}
	.course-text,
	.course-image{
	  flex: 1;
		margin-bottom: 15px;
	}
}


.support-buttons {
  display: flex;
  gap: 20px;
  margin:clamp(30px,4vw,80px)0;
}

.support-buttons div {
  flex: 1;
  background: #8cc63f;
  color: #fff;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
	font-size: 1.2rem;
}
.support-buttons div span{
	font-size: 1.5rem;
}

@media(max-width:759px){
	.support-buttons {
	  flex-direction: column;
	}	
}
.cycle-title {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: clamp(20px, 3.5vw, 30px);
  padding: 0 3rem 15px;
	margin: 30px auto;
	color: #7ac943;
	font-family: "Noto Sans JP", sans-serif;
}

.cycle-title::before,
.cycle-title::after {
	position: absolute;
	content: "";
	width: 50px;
	height: 5px;
	bottom:52%;
	background: #7ac943;
}

.cycle-title::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

.cycle-title::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.cycle {
	max-width: 1000px; 
	margin: 0 auto;
	padding: 1rem clamp(20px,4vw,60px);
}

.circle {
  width: 180px;
  height: 180px;
  border: 5px solid var(--ele_main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  color: var(--ele_main);
}

.arrow {
  font-size: 30px;
  color: var(--ele_main);
}

.content-box,
.support-box {
	position: relative;
	background: #eeffe1;
	padding: 30px;
	 padding-top: 50px;
	border-radius: 15px;
	margin-top: 50px;
	border: 1px solid #7ac943;
}

.content-box h4,
.support-box h4 {
	font-family: "Noto Sans JP", sans-serif;
	letter-spacing: .2rem;	
	position: absolute;
	display: inline-block;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	padding: 20px 50px;
	/*height: 25px;*/
	line-height: 25px;
	background: var(--ele_main);
	color: #ffffff;
	font-weight: bold;	
	z-index: 2;
	font-size: clamp(1.1rem, 0.918rem + 0.78vw, 1.5rem);
}

.grade {
  display: flex;
  margin: 20px auto 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
	max-width: 960px;
}

.grade-title {
  background: #2f9d4d;
  color: white;
  padding: 15px 20px;
  min-width: 200px;
  font-weight: bold;
	font-size: clamp(1.1rem, 0.918rem + 0.78vw, 1.5rem);
}

.grade-content {
  padding: 15px 20px;
  flex: 1;
  font-weight: bold;
	font-size: clamp(1.1rem, 0.918rem + 0.78vw, 1.5rem);
}

.support-items {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	gap: 3%;
	margin-top: 20px;
	flex-wrap: wrap;	
}

.support-items div {
  flex: 1;
}

@media(max-width:650px){
	.grade {
	  flex-direction: column;
	}
	.grade-title{
		padding-bottom: 10px;	
	}
	.grade-content{
		font-size: clamp(1rem, 0.859rem + 0.59vw, 1.1rem);
	}
	.content-box h4, .support-box h4 {
		padding: 15px 23px;
		white-space: nowrap;
	}
	.support-items {
		grid: 15px;
	}
	.support-items div {
		width: 42%;
		flex: none;
	}	
}

/*年間行事*/
/* 全体 */
.initiative {
  padding: 80px 20px 0;
  text-align: center;
}

/* タイトル */
.initiative-title {
  display: inline-block;
  background: var(--ele_main);
  color: #fff;
  padding: 15px 60px;
  border-radius: 40px;
  font-size: clamp(1.125rem, 1.009rem + 0.49vw, 1.375rem);
  position: relative;
  margin-bottom: 60px;
}

.initiative-title::before,
.initiative-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 150px;
  height: 2px;
  background: var(--ele_main);
}

.initiative-title::before {
  right: 100%;
  margin-right: 20px;
}

.initiative-title::after {
  left: 100%;
  margin-left: 20px;
}

/* タイムライン */
.timeline {
  max-width: 900px;
  margin: auto;
  position: relative;
}

/* 縦ライン */
.timeline::before {
      content: "";
    position: absolute;
    left: 46px;
    top: 10px;
    width: 11px;
    height: 98%;
    background: #39b54a;
}
/* 各行 */
.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}

/* 月丸 */
.month {
	width: 100px;
	height: 100px;
	background: var(--ele_main);
	color: #fff;
	font-weight: bold;
	font-size: clamp(1.125rem, 1.009rem + 0.49vw, 1.375rem);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

/* 吹き出し */
.event {
  background: #fff;
  border: 2px solid var(--ele_main);
  border-radius: 20px;
  padding: 20px 40px;
  margin-left: 4vw;
  font-size: clamp(1.063rem, 0.976rem + 0.37vw, 1.25rem);
	font-weight: 600;
  text-align: left;
  position: relative;
  width: 80%;	
}

/* 吹き出し三角 */
.event::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 50%;
    border-width: 10px 15px 10px 0;
    border-style: solid;
    border-color: transparent var(--ele_main)transparent transparent;
    transform: translateY(-50%);
}

@media(max-width:767px){
	.month {
		width:clamp(3.75rem, 1.302rem + 10.31vw, 6.25rem);
		height:clamp(3.75rem, 1.302rem + 10.31vw, 6.25rem);
	}
	.timeline::before {
		left: 7%;	
	}
}
@media(max-width:500px){
	.initiative-title {
		padding: 15px 45px;
	}
	.event {
		padding: 14px 20px;
	}
}
/*-------中学生--------------------------*/
/* 青帯 */
.blue-band {
  background: var(--ju_main);
  color: #fff000;
  text-align: center;
  padding: 15px;
	font-size: clamp(1.4rem, 1.122rem + 1.17vw, 2rem);
  font-weight: bold;
  margin: 40px 0 20px;
	font-family: "Noto Sans JP", sans-serif;
}

.center-text {
	text-align: center;
	font-weight: 600;
	font-size: clamp(1.3rem, 0.868rem + 0.84vw, 1.5rem);
	line-height: 2;
	margin-bottom: 40px;
	padding: 50px 0;
}

/*trouble*/
.trouble-box{
	max-width: 1200px;
	margin: 0 auto;
	border: 1px solid #3fa9f5;
	box-shadow: 4px 4px 6px #accdfc;
	border-radius: 20px;
	position: relative;
	z-index: 0;
	font-weight: 600;
}
.troubl-cycle{
	position: absolute;
	top: 55%;
	right: -8vw;
	width: 38%;
	transform: translateY(-50%);
}
.trouble-top{
	padding: 3vw 4vw;
}

.trouble-title{
	position: relative;
	margin-bottom: 30px;
	color: #fff;
	font-family: "Noto Sans JP", sans-serif;
	padding: .8rem 0;
	font-size: clamp(1.2rem, 0.768rem + 0.84vw, 1.4rem);
}
.trouble-title::before{
	position: absolute;
	content: '';
	width: 65%;
	height: 100%;
	background: linear-gradient(90deg,#1aa1cd 30%,#fff);
	z-index: -1;
	top: 0;
	left: -4vw;
}

.trouble-list{
	font-size:clamp(1.1rem, 0.961rem + 0.59vw, 1.4rem);
}
.trouble-list li{
	margin-bottom: 12px;
	position: relative;
	padding-left: 3rem;
}
.trouble-list li::before{
	position: absolute;
	content: '';
	width: 2rem;
	height: 2rem;
	left: 0;
	top: 2px;
	background: url("../img/icon_check.png")no-repeat center/contain;
}

.trouble-bottom{
	background:#f0fbff;
	padding: 1vw 4vw 3vw;
	border-radius: 0 0 19px 19px;
}
.red{
	font-size: 120%;
	color: #ed1c24;	
}
.red02{
	font-size: 110%;
	color: #ed1c24;	
}
.arrow-flow{
	padding-top: 20px;
	font-size: 1.2rem;
}
.arrow-flow li{
	padding-bottom: 30px;
	position: relative;
}
.arrow-flow li::before{
	position: absolute;
	content: '\f309';
	font-family: "Font Awesome 6 Free";
	height: 25px;
	width: 15px;
	left:3rem;
	bottom:5px;
}
.arrow-flow li:last-child::before{
	display: none;
}

.secret-box {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  border-radius: 25px;
  position: relative;
	border: 1px solid #3fa9f5;
	box-shadow: 4px 4px 6px #accdfc;
	margin-top: 80px;
}

@media(max-width:1024px){
	.troubl-cycle {
    	right: -4%;
	}
}
@media(max-width:760px){
	.trouble-title::before{
		width: 95%;
	}
	.troubl-cycle {
		top: 68%;
    	right: 2%;
	}	
}
@media(max-width:599px){
	.troubl-cycle{
		position: relative;
		transform: translateY(0);
		margin: 10px auto;
		max-width: 350px;
		width: 80%;
	}
}
/* タイトル */
.secret-title {
  position: absolute;
  top: -20px;
  left: 40px;
  background: linear-gradient(90deg,#2a94b8,#4fb3d8);
  color: #fff;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: bold;
}

/* 内部レイアウト */
.secret-inner {
	padding:clamp(45px, 4vw, 65px) 2vw;
	width: 70%;
}

/* テキスト */
.secret-text {
	position: relative;
	z-index: 1;
}

/* 画像 */
.secret-image {
    position: absolute;
    width: 34%;
    height: 100%;
    top: 0;
    right: 0;
    overflow: hidden; 
	z-index: 0;
}
.secret-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;       
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,1),
        rgba(255,255,255,0)
    );
    z-index: 2;
}
.secret-image img {
 width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 25px 25px 0;
}
.junior-content{
	max-width: 1200px;
	margin: 0 auto;
	padding: 4vw 3vw;
	position: relative;
}
.junior-content::after{
	position: absolute;
	content: '';
    width: clamp(120px,17vw,280px);
    height: clamp(125px,13vw,420px);
	bottom:-60px;
	right: 0;
	background: url("../img/course-junior/present.png")no-repeat center/contain;
}
@media(max-width:767px){
	.secret-inner{
		width: 100%;
		padding-bottom: 0;
	}
	.secret-image{
		position: relative;
		width: 100%;
		margin-top: 15px;
	}
	.secret-image::before{
		display: none;
	}
	.secret-image img {
		border-radius: 25px;
	}
}


/*定期テスト対策授業*/
.regular-box{
	max-width: 1200px;
	margin: 0 auto;
	border: 1px solid #3fa9f5;
	box-shadow: 4px 4px 6px #accdfc;
	border-radius: 20px;
	background: #f0fbff;
	position: relative;
	z-index: 0;
	font-weight: 600;
	padding: 3vw 4vw;
}
.regular-ttl{
	position: relative;
	margin-bottom: 30px;
	color: #fff;
	font-family: "Noto Sans JP", sans-serif;
	padding: .8rem 0;
	font-size: 1.4rem;
}
.regular-ttl::before{
	position: absolute;
	content: '';
	width: 55%;
	height: 100%;
	background: linear-gradient(90deg,#1aa1cd 30%,transparent);
	z-index: -1;
	top: 0;
	left: -4vw;
}
.regular-cycle{
	padding: 15px 0;
	display: flex;
	gap:10px;
}
.regular-cycle p{
	background-image: linear-gradient(30deg,#3fa9f5,#005ef1);
	color: #fff;	
	text-align: center;
	padding: 15px clamp(15px,2vw,30px);
	border-radius: 15px;
	font-size: clamp(1.23rem, 0.152rem + 2.46vw, 2rem);
}
.arrow01{
	content: url("../img/commn/arrow.svg");
	width: 3rem;
}

.regular-text{
	width: 65%;
	padding: 2vw 0;
}
.regular-cycleimg{
	position: absolute;
	width: 43%;
	bottom:-5vw;
	right: -4vw;
}
@media(max-width:699px){
	.regular-ttl::before{
		width: 100%;
	}
	.arrow01{
		width: 1.5rem;
	}	
}


@media(max-width:599px){
	.regular-cycle {
		flex-direction: column;
	}
	.arrow01{
		transform: rotate(90deg);
		margin: 10px auto;
	}

	.regular-text{
		width: 100%;
	}
	.regular-cycleimg{
		position: relative;
		transform: translateY(0);
		margin: 10px auto;
		max-width: 350px;
		width: 80%;
	}
}
/*入試対策*/

.exam-wrap{
	font-weight: 600;
	margin-bottom: 50px;
	display: flex;
	gap:20px;
	align-items: center;
}

.exam-text{
	flex: 2;
	text-align: center;
}
.exam-text span{
	font-size: 115%;
}
.exam-text span.blue{
	color:#00a0e9;
}
.exam-text h3{
	margin-bottom: 20px;
	font-size: clamp(1.15rem, -0.037rem + 2.32vw, 1.7rem);
}
.exam-image{
	flex: 1;
}
br.tab{
	display: none;
}
@media(max-width:819px){
	.exam-wrap{
		display: block;
	}	
	.exam-text,.exam-image{
		width: 100%;
		margin-bottom: 15px;
	}
}
@media(max-width:549px){
	br.tab{
		display: block;
	}
	br.notab{
		display: none;
	}
}
@media(max-width:450px){
	.exam-text p{
		text-align: left;
	}
}


.subject-box{
	max-width: 1200px;
	margin: 0 auto;
	border: 1px solid #3fa9f5;
	box-shadow: 4px 4px 6px #accdfc;
	border-radius: 20px;
	position: relative;
	z-index: 0;
	font-weight: 600;
	padding: 2vw 4vw;
}
.subject-ttl{
	position: relative;
	margin-bottom: 30px;
	color: #fff;
	font-family: "Noto Sans JP", sans-serif;
	padding: .8rem 0;
	font-size: 1.4rem;
}
.subject-ttl::before{
	position: absolute;
	content: '';
	width: 55%;
	height: 100%;
	background: linear-gradient(90deg,#1aa1cd 30%,transparent);
	z-index: -1;
	top: 0;
	left: -4vw;
}
.flow-wrapper{
    display:flex;
    gap:100px;
    align-items: center;
	position: relative;
}
.flow-wrapper::before{
	position: absolute;
	content: '';
	width: 65px;
	height: 65px;
	background: url("../img/commn/plus.svg")no-repeat center/contain;
	top: 50%;
	left: 53%;
	transform: translate(-50%,-50%) rotate(45deg);
}

/* 左 */
.flow-steps{
    flex:4;
}

.flow-step{
    background:#f9fbfc;
    border-radius:20px;
    box-shadow:0 10px 20px rgba(0,0,0,0.08);
    margin-bottom:40px;
    position:relative;
}

.flow-step-header{
    background:linear-gradient(90deg,#1b8dbf,#3da2cc);
    color:#fff;
    padding:15px 25px 15px 70px;
    font-weight:bold;
    font-size:1.3rem;
    position:relative;
    border-radius:20px 20px 0 0;
}

/* 番号丸 */
.flow-step-header span{
    position:absolute;
    left:-10px;
    top:46%;
    transform:translateY(-50%);
    width:65px;
    height:65px;
    border-radius:50%;
    background:#2ba1d4;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    font-size:25px;
	border: 1px solid #fff;
	
}

/* 中身 */
.flow-step-content{
    padding:25px 30px;
    line-height:1.8;
}

/* 矢印 */
.arrow03{
    text-align:center;
    font-size:30px;
    color:#3da2cc;
    margin:-20px 0 20px;
}

/* 右 */
.flow-side{
    flex:3;
    border-radius:20px;
    padding:30px;
    text-align:center;
    border:1px solid #d2e7f2;
    box-shadow:0 0 10px rgba(127, 207, 250,0.18);
	position: relative;
}
.flow-side::before{
	content: '';
    border:1px solid #d2e7f2;
	position: absolute;
	width: 95%;
	height: 95%;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
    box-shadow:0 0 10px rgba(127, 207, 250,0.18);
    border-radius:15px;
	
}
.flow-side img{
    width:100%;
    max-width:200px;
    margin-bottom:20px;
}

.flow-side h3{
    color:#1b8dbf;
    font-size:1.8rem;
    margin:10px 0;
}

.flow-side .plus{
    margin:0 auto;
	width: 40px;
	height: 40px;
}

.flow-side p{
    line-height:1.6;
}

/* 下の三角 */
.bottom-triangle{
    margin:35px auto;
    width: 80%;
	max-width: 600px;
}

/* レスポンシブ */
@media(max-width:900px){
    .flow-wrapper{
        flex-direction:column;
    }
	.flow-steps,
    .flow-side{
        width:100%;
    }
	.flow-wrapper::before {
		top: 62%;
	}
	.subject-ttl::before{
		width: 95%
	}
	
}

/**/
.test-section{
  padding:60px 20px;
  background:#f4f7fa;
}

.test-wrapper{
  max-width:1100px;
  margin:auto;
  display:flex;
  gap:40px;
  justify-content:center;
  flex-wrap:wrap;
}

.test-box{
	flex: 1;
	min-width: 320px;
	background: #fff;
	border-radius: 30px;
	padding: 0 clamp(10px, 1vw, 40px);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 25px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	border: 2px solid #3aa0d8;
}

.test-icon{
  width: 30%;
}

.test-text h3{
  font-size:clamp(1.375rem, 0.836rem + 1.05vw, 1.625rem);
  margin:5px 0;
}

.test-text .small{
  font-size:18px;
  font-weight:bold;
}

.test-text .level{
  font-size:16px;
  color:#444;
}

/*取り組み*/

.timeline-section{
	margin-top: 80px;
	text-align: center;
}  
.timeline-section .initiative-title,
.timeline-section .initiative-title::before,
.timeline-section .initiative-title::after{
	background: var(--ju_main);
}

.timeline-wrapper{
  max-width:1100px;
  margin:auto;
  display:flex;
  gap:60px;
  flex-wrap:wrap;
  align-items: flex-start;
}
.timeline-section .timeline{
	flex: 3;
}
.timeline-section .timeline::before {
	height: 85%;
    background: #1c6cae;
}
.timeline-section .month {
    background: var(--ju_main);
}
.timeline-section .event{
  border-color:  var(--ju_main);
} 
.timeline-section .event::before {
    border-color: transparent var(--ju_main) transparent transparent;
}
.timeline-side{
  flex:2;
  background: radial-gradient(#009be3,#0068bc);
  color:#fff;
  border-radius:30px;
  padding:50px 30px;
  text-align:center;
}

.timeline-side h3{
  font-size:28px;
}

.timeline-side span{
  font-size:48px;
  font-weight:bold;
}

.timeline-side hr{
  border:none;
  height:2px;
  background:#fff;
  margin:25px 0;
}

/* レスポンシブ */
@media(max-width:900px){
  .timeline-wrapper{
    flex-direction:column;
  }
	.timeline-side{
		width: 80%;
		margin: 0 auto;
	}
}

/*高校生*/
/*var(--hei_main)*/
/* 赤帯 */
.red-band {
  background: var(--hei_main);
  color: #fff000;
  text-align: center;
  padding: 15px;
	font-size:clamp(1.4rem, 1.122rem + 1.17vw, 2rem);;
  font-weight: bold;
  margin: 40px 0 20px;
	font-family: "Noto Sans JP", sans-serif;
}

.lead {
    font-size: clamp(1.125rem, 1.068rem + 0.24vw, 1.25rem);
    font-weight: bold;
    margin: 20px 0 30px;
}

.high_cycle{
    background:#fff0f0;
    padding:60px 20px;
    text-align:center;
	margin-bottom: 30px;
}

.cycle_row{
    display:grid;
    align-items:center;
	grid-template-columns: repeat(17, 1fr);
    gap:5px 20px;
}

.box {
    border: 2px solid #222;
    padding: 20px 15px;
    background: #fff;
    font-weight: bold;
    min-width: 220px;
	font-size: clamp(1rem, 0.73rem + 0.53vw, 1.125rem);
}
.box._01{
	grid-column: 2 / 6;
}
.box._02{
	grid-column: 7 / 11;
}
.box._03{
	grid-column: 12 / 16;
}

.arrow._red{
    font-size:28px;
    color:var(--hei_main);
}
.analysis_box{
	grid-column: 11 / 17;
    display:inline-block;
    border:2px solid #222;
    padding:15px 30px;
    background:#fff;
    font-weight:bold;
}

.up_arrow{
    font-size:28px;
    color:var(--hei_main);
    margin-top:5px;
	grid-column: 12 / 16;
}

@media(max-width:970px){
	.box._01,.box._02,.box._03 {
		grid-column: 2 / 8;
	}
	.arrow._red{
		grid-column: 2 / 8;
		transform: rotate(90deg);
	}	
	.up_arrow {
		grid-column: 8 / 9;
		transform: rotate(-90deg);		
	}	
	.analysis_box {
		grid-column: 9 / 17;
	}
}

@media(max-width:734px){
	.box {
		padding:15px 30px;
	}
	.cycle_row{
		display: block;
	}
	.analysis_box{
		display: block;
	}	
	.up_arrow {
		transform: rotate(0);		
	}	
}






.progress_box {
    background: #f4f6fb;
    padding: 30px;
    border-radius: 10px;
}

.progress_box ul li {
    margin-bottom: 15px;
}

.progress_box span {
    color: var(--hei_main);
    font-weight: bold;
}

.progress_flow{
    max-width:1100px;
    margin:50px auto;
}


.step{
    background:#fff0f0;
    padding:30px;
    border-radius:12px;
    margin-bottom:20px;
    border-left:6px solid var(--hei_main);
}

.step_no{
    font-size:14px;
    font-weight:bold;
    color:var(--hei_main);
    margin-bottom:10px;
}

.step h5{
    font-size:20px;
    margin-bottom:15px;
}

.step ul{
    text-align:left;
    display:inline-block;
}

.step ul li{
    margin-bottom:8px;
}

.goal{
    margin-top:15px;
    font-weight:bold;
    color:var(--hei_main);
}

.flow_arrow{
    font-size:28px;
    color:var(--hei_main);
    margin:10px 0;
}
@media (min-width: 900px){

    .progress_flow{
        display:flex;
        justify-content:space-between;
        align-items:stretch;
        gap:30px;
    }

    .step{
        flex:1;
        margin-bottom:0;
    }

    .flow_arrow{
        display:none; /* PCでは矢印消す */
    }
}

/*===========================
	ELST
===========================================*/
.white-box{
	background:#fff;
	padding: clamp(15px, 4vw, 60px);
	border-radius:20px;
	box-shadow:0 20px 50px rgba(0,0,0,0.05);
}
.scroll-margin{
	 scroll-margin-top: 85px;
}

.elst-title{
  text-align:center;
  font-size:32px;
  margin-bottom:40px;
}

.elst-main-img img{
  width:100%;
  border-radius:20px;
  margin-bottom:40px;
}


.section-title-line{
  font-size:26px;
  font-weight:700;
  padding-left:18px;
  border-left:6px solid #00b4e6;
  margin-bottom:20px;
}

.section-title-line span{
  display:block;
  font-size:13px;
  letter-spacing:2px;
  color:#00b4e6;
  margin-top:5px;
}
.elst-lead{
  font-weight:700;
  font-size:18px;
  color:#009ed3;
  margin-bottom:20px;
}

.elst-flex{
  display:flex;
  align-items:center;
  gap:50px;
  margin-bottom:80px;
}

.elst-img img{
  width:100%;
  border-radius:15px;
}

.elst-img{
  flex:1;
}

.elst-content{
  flex:1.2;
}

.elst-flex.reverse{
  flex-direction:row-reverse;
}



@media(max-width:768px){

  .elst-flex{
    flex-direction:column;
    gap:30px;
  }

  .section-title-line{
    font-size:22px;
  }

	.elst-content{
	  width: 100%
	}	

}


/* シリーズカード */
.elst-eiken-wrap{
  display:flex;
  gap:30px;
  margin:40px 0;
}

.elst-eiken-card{
  background:#fff;
  padding:30px;
  border-radius:15px;
  box-shadow:0 15px 35px rgba(0,0,0,0.05);
  flex:1;
}

.elst-eiken-title {
	position: relative;
	margin-bottom: 30px;
	color: #fff;
	font-family: "Noto Sans JP", sans-serif;
	padding: .8rem 0;
	font-size: clamp(1rem, 0.907rem + 0.39vw, 1.2rem);
	z-index: 2;
}
.elst-eiken-title::before{
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, #1aa1cd 30%, #fff);
	z-index: -1;
	top: 0;
	left: -30px;
}

.elst-eiken-grade{
  color:#00b4e6;
  font-weight:700;
  margin-bottom:10px;
}

@media(max-width:500px){
	.elst-eiken-card{
		padding:25px 18px;
		flex:1;
	}
	.elst-eiken-title {
		margin-bottom: 18px;
	}
	.elst-eiken-title::before{
		left: -18px;
		width: 105%;
		background: linear-gradient(90deg, #1aa1cd 55%, #fff);		
	}	
}


/* 収録内容リスト */
.section-subtitle{
  font-size:22px;
  font-weight:700;
  margin-top:60px;
  margin-bottom:25px;
  padding-left:18px;
  border-left:5px solid #00b4e6;
}

.section-subtitle span{
  display:block;
  font-size:12px;
  letter-spacing:2px;
  color:#00b4e6;
  margin-top:5px;
}

/* 収録内容リスト */
.elst-eiken-list{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px 40px;
  margin-bottom:30px;
  padding-left:0;
}

.elst-eiken-list li{
  list-style:none;
  position:relative;
  padding-left:25px;
  line-height:1.8;
}

/* チェック風アイコン */
.elst-eiken-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:#00b4e6;
  font-weight:700;
}

/* バッジ */
.elst-eiken-badge{
  display:inline-block;
  background:linear-gradient(135deg,#ff6b6b,#ff3b3b);
  color:#fff;
  padding:10px 22px;
  border-radius:30px;
  font-size:14px;
  font-weight:700;
  margin:20px 0;
  box-shadow:0 10px 25px rgba(255,0,0,0.2);
}

/* 注釈 */
.elst-eiken-note{
  font-size:12px;
  color:#777;
  margin-top:20px;
  line-height:1.6;
}

/* スマホ */
@media(max-width:768px){
  .elst-eiken-wrap{
    flex-direction:column;
  }
  .elst-eiken-list{
    grid-template-columns:1fr;
  }
}

/*二次試験*/
.highlight-box{
  background:#f0fbff;
  padding:20px;
  border-radius:15px;
  font-weight:600;
  margin:20px 0;
}

@media(max-width:768px){
  .elst-flex.reverse{
    flex-direction:column;
  }
}

/*入試対策*/

.interview-point{
  padding-left:0;
}

.listening-point,
.dictionary-point,
.reading-point{
  padding-left:0;
  margin-top:20px;
}
.interview-point li,
.listening-point li,
.dictionary-point li,
.reading-point li{
  list-style:none;
  position:relative;
  padding-left:28px;
  margin-bottom:14px;
  line-height:1.7;
}
.interview-point li::before,
.listening-point li::before,
.dictionary-point li::before,
.reading-point li::before{
  content:"●";
  position:absolute;
  left:0;
  color:#00b4e6;
  font-size:14px;
}


.elst-cta{
  text-align:center;
  margin-top:100px;
  padding:80px 20px;
  background:linear-gradient(135deg,#f4f7fb,#eef3ff);
  border-radius:24px;
  position:relative;
  overflow:hidden;
}

/* 公式バッジ */
.official-badge{
  display:inline-block;
  margin-bottom:18px;
}

.official-badge span{
  display:inline-block;
  padding:6px 18px;
  font-size:12px;
  letter-spacing:2px;
  background:#2f6df6;
  color:#fff;
  border-radius:50px;
  font-weight:600;
}

/* 見出し */
.elst-cta-title{
  font-size:26px;
  font-weight:700;
  margin-bottom:10px;
  line-height:1.5;
}

.elst-cta-title span{
  display:block;
  font-size:13px;
  letter-spacing:2px;
  color:#2f6df6;
  margin-top:6px;
  font-weight:500;
}

/* 説明文 */
.elst-cta-lead{
  font-size:15px;
  color:#666;
  margin-bottom:35px;
}

/* ロゴ */
.elst-cta-link{
  display:block;
  width:90%;
  max-width:520px;
  margin:0 auto;
  transition:all .3s ease;
}

.elst-cta-link:hover{
  transform:translateY(-6px);
}
/*===========================
	英検対策
===========================================*/
.eiken-section {
  background: #f8fbff;
}

.lead {
  text-align: center;
  margin-bottom: 50px;
  color: #555;
}

.eiken-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
	margin-bottom: 40px;
}

.eiken-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: .3s;
}

.eiken-card:hover {
  transform: translateY(-5px);
}

.card-head {
  padding: 20px;
  color: #fff;
}
@media (min-width: 768px) {
    .col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
	.col-md-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }	
}
.col-md-3, .col-md-6{
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.kubun > div:first-child {
    border: none;
}
.kubun > div {
    border-left: solid 1px #666;
}
@media (max-width: 767px) {
    .kubun > div {
        border: none;
    }
}

.grade-pre1 .card-head ,.grade-pre1 .toggle-btn{ background: #2f6df6; }
.grade-pre2 .card-head,.grade-pre2 .toggle-btn { background: #8b5cf6; }
.grade-2 .card-head,.grade-2 .toggle-btn { background: #22c55e; }
.grade-3 .card-head,.grade-3 .toggle-btn { background: #f97316; }
.grade-4 .card-head,.grade-4 .toggle-btn { background: #0ea5e9; }
.grade-5 .card-head,.grade-5 .toggle-btn  { background: #ec4899; }

.card-head h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.115rem + 0.78vw, 1.7rem);
}

.card-head span {
  font-size: 14px;
  opacity: 0.8;
}

.toggle-btn {
    width: 95%;
    padding: 12px;
    border: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.card-body {
  display: none;
  padding: 20px;
}

.card-body ul {
  padding-left: 20px;
}

/*========================================
	総合選抜
========================================================*/
.flex-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.flex-block .text {
  flex: 2;
}

.flex-block .side-img {
  flex: 1;
}

.flex-block .side-img img {
  width: 100%;
  border-radius: 6px;
}

@media (max-width: 768px){
  .flex-block {
    flex-direction: column;
  }
}

/* 導入ボックス */
.es-title.green {
  border-left:4px solid #78c043;
  padding-left:12px;
  font-size:22px;
  margin-bottom:20px;
}
.es-intro{
    padding:25px;
    margin-bottom:40px;
    line-height:1.8;
}
/* 注意ブロック */
.es-attention{
    margin:25px 0 40px;
    padding:20px 25px;
    background:#f8fff2;
    border:2px solid #78c043;
    border-radius:6px;
    font-weight:500;
    line-height:1.8;
}

.es-attention p{
    margin:0;
}
/* プログラム全体 */
.custom-card {
  border: 1px solid #eee;
  padding: 30px;
  margin-bottom: 40px;
  border-radius: 20px;	
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}
.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.08);
}
/* 上部エリア */
.custom-card-head {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}

/* 丸バッジ */
.custom-badge {
  width: clamp(3.125rem, 2.256rem + 3.66vw, 5rem);
  height: clamp(3.125rem, 2.256rem + 3.66vw, 5rem);
  border: 4px solid var(--ele_main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.625rem, 1.182rem + 1.09vw, 2rem);
  font-weight: bold;
  color: var(--ele_main);
  flex-shrink: 0;
}

/* タイトル */
.custom-main-title {
  font-size:clamp(1.5rem, 0.318rem + 2.91vw, 2.5rem);
  font-weight: bold;
  color: var(--ele_main);
  margin: 0 0 8px 0;
}

/* サブタイトル */
.custom-sub-title {
  font-size: clamp(1rem, 0.907rem + 0.39vw, 1.2rem);
	font-weight: 600;
  color: var(--ele_main);
  margin: 0;
}

/* 本文 */
.custom-card-body p {
  line-height: 1.9;
  color: #333;
  margin: 0;
}

@media(max-width:609px){
	.custom-card-head {
		flex-direction: column;
	}
	.custom-card {
		padding: 30px 15px;
	}
}

/* 小論文全体 */
.essay-block {
  margin-top: 100px;
}

/* タイトル */
.essay-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--ele_main);
  display: inline-block;
}

/* 画像 */
.essay-main-img {
  width: 100%;
  max-width: 700px;
  border-radius: 15px;
  margin: 20px 0 50px;
  display: block;
}

/* リスト全体 */
.essay-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 各項目 */
.essay-item {
  padding: 25px 30px;
  border-left: 5px solid var(--ele_main);
  background: #f9fbf7;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.essay-item:hover {
  background: #f1f7ec;
  transform: translateX(6px);
}

/* 見出し */
.essay-item h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--ele_main);
}

/* 本文 */
.essay-item p {
  margin: 0;
  line-height: 1.9;
  color: #333;
}

@media(max-width:500px){
	.essay-item {
	  padding: 25px 10px 25px 15px;
	}	
}