@charset "UTF-8";

html { scroll-behavior: smooth;}

/* curriculum
---------------------------------------------------------------------------- */

.renew.sub .curriculum.top .cmn-mv-type01{
	background: url("/images/202604_1440400_5.jpg") center center/cover no-repeat;
	margin-bottom: 0;
}
.renew.sub .curriculum.top .cmn-mv-type01 h1{
	background-image: none;
	padding-top: 20px;
color:#fff;
}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .cmn-mv-type01{
			background: url("/images/202604_750500_5_10.jpg") center center/cover no-repeat;
		}
		.renew.sub .curriculum.top .cmn-mv-type01 h1{
			background-image: none;
			padding-top: 0;
		}
	}

.renew.sub .curriculum.top .block01.outer-wrap{
	background: -moz-linear-gradient(transparent 170px, #f7f8fa 0);
	background: -webkit-linear-gradient(transparent 170px, #f7f8fa 0);
	background: linear-gradient(transparent 170px, #f7f8fa 0);
}
	@media screen and (max-width:1360px) {
		.renew.sub .curriculum.top .block01.outer-wrap{
			background: -moz-linear-gradient(transparent 12.5vw, #f7f8fa 0);
			background: -webkit-linear-gradient(transparent 12.5vw, #f7f8fa 0);
			background: linear-gradient(transparent 12.5vw, #f7f8fa 0);
		}
	}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01.outer-wrap{
			background: -moz-linear-gradient(transparent 41.73vw, #f7f8fa 0);
			background: -webkit-linear-gradient(transparent 41.73vw, #f7f8fa 0);
			background: linear-gradient(transparent 41.73vw, #f7f8fa 0);
			margin-top: -8vw;
		}
	}

.renew.sub .curriculum.top .block01.outer-wrap .sec-dir-inner{
	margin: -6px auto 140px;
}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01.outer-wrap .sec-dir-inner{
			margin: calc(-8vw - 1.6vw) auto 140px;
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-bottom: 20px;
}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col{
			flex-direction: column;
			justify-content: center;
			margin-bottom: 26.66vw;
			padding: 0 13.33vw calc(16vw - 1.6vw);
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner{
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 44px;
	position: relative;
	width: calc(100% / 4 - 30px);
	max-width: 100%;
}
	@media screen and (max-width:1360px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner{
			width: calc(100% / 4 - 2.2vw);
		}
	}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner{
			margin-bottom: 13.33vw;
			width: auto;
		}
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner:last-child{
			margin-bottom: 0;
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner::after{
	background: url("/images/cmn_icon_arr-down.png") center center /20px auto no-repeat;
	content: "";
	display: block;
	height: 40px;
	right: -40px;
	top: 97px;
	position: absolute;
	transform: rotate(-90deg);
	width: 40px;
}
	@media screen and (max-width:1360px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner::after{
			height: 2.94vw;
			right: -2.94vw;
			top: 7.13vw;
			transform: rotate(-90deg);
			width: 2.64vw;
		}
	}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner::after{
			background: url("/images/cmn_icon_arr-down.png") center center /5.86vw auto no-repeat;
			height: 13.33vw;
			right: calc(50% - 6.66vw);
			top: auto;
			bottom: -11.73vw;
			position: absolute;
			transform: rotate(0);
			width: 13.33vw;
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner:nth-child(4n)::after{
	content: none;
}
.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner figure{
	border-radius: 30px;
	overflow: hidden;
	width: 100%;
}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner figure{
			border-radius: 8vw;
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3{
	align-items: center;
	display: flex;
	font-size: 18px;
	justify-content: center;
	line-height: 1.2;
	height: 80px;
	margin: 0 auto 0;
	text-align: center;
	width: 100%;
}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3{
			font-size: 4.8vw;
			height: auto;
			min-height: 21.33vw;
			padding: 0;
			text-align: center;
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3 span{
	display: inline-block;
	position: relative;
}
.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3 span br{
	display: none;
}
	@media screen and (max-width:1060px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3 span br{
			display: block;
		}
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num01 span,
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num02 span{
			text-align: left;
		}
	}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3 span br{
			display: none;
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num01 span::before,
.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num02 span::before,
.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num03 span::before,
.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num04 span::before{
	content: "";
	display: inline-block;
	height: 80px;
	position: absolute;
}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num01 span::before{
	background: url("/images/com_sub_num01.png") right top /contain no-repeat;
	left: -32px;
	top: -16px;
	width: 22px;
}
	@media screen and (max-width:1060px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num01 span::before{
			top: 0;
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num02 span::before{
	background: url("/images/com_sub_num02.png") right top /contain no-repeat;
	left: -38px;
	top: -10px;
	width: 28px;
}
	@media screen and (max-width:1060px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num02 span::before{
			top: 0;
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num03 span::before{
	background: url("/images/com_sub_num03.png") right top /contain no-repeat;
	left: -36px;
	top: -10px;
	width: 26px;
}
.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num04 span::before{
	background: url("/images/com_sub_num04.png") right top /contain no-repeat;
	left: -32px;
	top: -14px;
	width: 22px;
}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num01 span::before,
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num02 span::before,
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num03 span::before,
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num04 span::before{
			margin-right: 0;
			height: auto;
			min-height: 21.33vw;
		}
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num01 span::before{
			left: -9.19vw;
			top: -2.66vw;
			width: 5.86vw;
		}
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num02 span::before{
			left: -10.79vw;
			top: -3vw;
			width: 7.46vw;
		}
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num03 span::before{
			left: -10.26vw;
			top: -3vw;
			width: 6.93vw;
		}
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner h3.num04 span::before{
			left: -9.19vw;
			top: -3.66vw;
			width: 5.86vw;
		}
	}

.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner p{
	margin-top: -8px;
	width: 100%;
}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block01 .flow-row-4col .cont-inner p{
			margin-top: -8px;
			padding: 0;
		}
	}

.renew.sub .curriculum.top .block02.cmn-3col-box{
	padding-bottom: 20px;
}
.renew.sub .curriculum.top .block02.cmn-3col-box .cont-img-box{
	margin-bottom: 54px;
}
	@media screen and (max-width:767px) {
		.renew.sub .curriculum.top .block02.cmn-3col-box .cont-img-box{
			margin-bottom: calc(12vw - 1.6vw);
		}
	}

.renew.sub .curriculum.top .block02.cmn-3col-box .cont-img-box a h3{
	bottom: calc(40px - .3em);
}

.renew.sub .curriculum.top .block03.cmn-4col-box{
	padding-bottom: 40px;
}



  /*インフォメーション記事*/

  .renew.sub .curriculum .blog-wrap{
    display: flex;
    justify-content: space-between;
    max-width: 1080px;
    margin:4rem auto 0;
    width: 100%;
  }
    @media screen and (max-width:767px) {
      .renew.sub .curriculum .blog-wrap{
        display: block;
        margin: 4vw auto 0;
        padding: 0 6.66vw;
        width: 100%;
      }
    }

  .renew.sub .curriculum .blog-wrap .cont-box{
    margin-bottom: 38px;
    width: 30.03%;
  }
    @media screen and (max-width:767px) {
      .renew.sub .curriculum .blog-wrap .cont-box{
        margin-bottom: 12vw;
        width: auto;
      }
    }

  .renew.sub .curriculum .blog-wrap .cont-box figure{
    height: auto;
    overflow: hidden;
    width: 100%;
  }

/*追加*/
@media screen and (max-width:1340px) {
	.renew.sub .curriculum .blog-wrap .cont-box figure{
		height: 16.65vw;
		width: 23.13vw;
	}
}
@media screen and (max-width:767px) {
	.renew.sub .curriculum .blog-wrap .cont-box figure{
		height: 61.86vw;
		width: 100%;
	}
}

.renew.sub .curriculum .blog-wrap .cont-box figure img{
object-fit: cover;
height: 100%;
transition: .3s ease;
width: 100%;
}


@media screen and (min-width:768px) {
	.renew.sub .curriculum .blog-wrap .cont-box:hover figure img{
		transform: scale(1.05);
	}
}
/*追加*/
	
  .renew.sub .curriculum .blog-wrap .cont-box a figure img{
    transform: scale(1);
    transition: .3s ease;
    width:100%;
    height:180px;
  }
	@media screen and (max-width:767px) {
		.renew.sub .curriculum .blog-wrap .cont-box a figure img{
			transform: scale(1);
	    transition: .3s ease;
	    width:100%;
	    height:270px;
		}
	}

	
  .renew.sub .curriculum .blog-wrap .cont-box a:hover figure img{
    transform: scale(1.05);
    overflow: hidden;
    position: relative;
  }
  .renew.sub .curriculum .blog-wrap .cont-box .date{
    color: #0071be;
    font-size: 14px;
    line-height: 1;
    margin: 18px 0 0;
  }
    @media screen and (max-width:767px) {
      .renew.sub .curriculum .blog-wrap .cont-box .date{
        font-size: 3.73vw;
        margin: 6.13vw 0 0;
        padding: 0;
      }
    }

  .renew.sub .curriculum .blog-wrap .cont-box h3{
    font-size: 18px;
    margin: 9.6px 0 14.4px;
    width: 100%;
  }
    @media screen and (max-width:767px) {
      .renew.sub .curriculum .blog-wrap .cont-box h3{
        font-size: 4.8vw;
        margin: 2.56vw 0 3.84vw;
        padding: 0;
        width: 100%;
      }
    }

  .renew.sub .curriculum .blog-wrap .cont-box .school-name{
    color: #aaa;
    font-size: 13px;
    line-height: 1;
  }
    @media screen and (max-width:767px) {
      .renew.sub .curriculum .blog-wrap .cont-box .school-name{
        font-size: 3.46vw;
        margin-bottom: 5.46vw;
        padding: 0;
      }
    }

  .renew.sub .curriculum .blog-wrap .cont-box .limit-2col-clamp{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0;
  }
    @media screen and (max-width:767px) {
      .renew.sub .curriculum .blog-wrap .cont-box .limit-2col-clamp{
        margin-bottom: 6.66vw;
      }
    }

  @media all and (-ms-high-contrast: none) {
    *::-ms-backdrop, .renew.sub .curriculum .blog-wrap .cont-box .limit-2col-clamp{
  	height: 3.6em;
  	position: relative;
    overflow: hidden;
  }
  	  *::-ms-backdrop, .renew.sub .curriculum .blog-wrap .cont-box .limit-2col-clamp::before{
  	background: #f7f8fa;
  	content: "...";
  	position: absolute;
  	top: 1.8em;
  	text-align: center;
  	right: 0;
  	width: 1.35em;
  }
  		  *::-ms-backdrop, .renew.sub .curriculum .blog-wrap .cont-box .limit-2col-clamp::after{
  	background: #f7f8fa;
  	content: "";
  	position: absolute;
  	height: 100%;
  	width: 100%;
  }
  }
  .renew.sub .curriculum .blog-wrap .cont-box .link-arr{
    margin-right: -5px;
    text-align: right;
  }
    @media screen and (max-width:767px) {
      .renew.sub .curriculum .blog-wrap .cont-box .link-arr{
        margin-right: 0;
        text-align: right;
      }
    }

/*あみか部*/
.renew.sub .yt-wrap{
  display: flex;
  justify-content: space-between;
}
  @media screen and (max-width:767px) {
    .renew.sub .yt-wrap{
      display: block;
    }
  }

.renew.sub .yt-box{
  width: 32.34%;
}
  @media screen and (max-width:767px) {
    .renew.sub .yt-wrap .yt-box{
      margin-bottom: 6.66vw;
      width: auto;
    }
  }

.renew.sub .yt-wrap .yt-box.modal-movie a::after {
  height: 60px;
  left: calc(50% - 30px);
  top: calc(50% - 30px);
  width: 60px;
}
  @media screen and (max-width:767px) {
    .renew.sub .yt-wrap .yt-box.modal-movie a::after {
      height: 10.66vw;
      left: calc(50% - 5.33vw);
      top: calc(50% - 5.33vw);
      width: 10.66vw;
    }
  }

/*横3つYouTube用*/
.renew.sub .yt-wrap{
  display: flex;
  justify-content: space-between;
}
  @media screen and (max-width:767px) {
    .renew.sub .yt-wrap{
      display: block;
    }
  }

.renew.sub .yt-box{
  width: 32.34%;
}
  @media screen and (max-width:767px) {
    .renew.sub .yt-wrap .yt-box{
      margin-bottom: 6.66vw;
      width: auto;
    }
  }

.renew.sub .yt-wrap .yt-box.modal-movie a::after {
  height: 60px;
  left: calc(50% - 30px);
  top: calc(50% - 30px);
  width: 60px;
}
  @media screen and (max-width:767px) {
    .renew.sub .yt-wrap .yt-box.modal-movie a::after {
      height: 10.66vw;
      left: calc(50% - 5.33vw);
      top: calc(50% - 5.33vw);
      width: 10.66vw;
    }
  }

.w80ma{
width:80%;margin:0 auto;
}

/* オプションコース部分　20240329 edd
---------------------------------------------------------------------------- */
.bgc_ao{background-color: #07A7DC}
.bgc_midori{background-color: #44BC7D;}
.bgc_aka{background-color: #F8639B;}
.cmn-grey-box .optionWrapper{display: flex;flex-wrap: wrap;justify-content: space-between;}
.cmn-grey-box .option{width:50%;}
.cmn-grey-box .option li{margin:0 0.5rem 1rem 0.5rem;padding:1rem;}

.cmn-grey-box .option dl{color: #ffffff;line-height: 1.5;text-align:center;}
.cmn-grey-box .option dl dt{font-size: 1.3em;font-weight: bold;}
.cmn-grey-box .option dl dd{margin-top: 0.5em;}

.WCourse{height: 163px;}
.WCourse dl{height:100%;}
.WCourse dl dt{margin-top: 7rem;}

.WCourse.test{height: 200px;}
.WCourse.test dl dt{margin-top: 1.5rem;}

@media screen and (max-width: 767px){
.cmn-grey-box .optionWrapper{ flex-direction: column;}
.cmn-grey-box .option{width:100%;}
.cmn-grey-box .option dl{height:8em;}
.cmn-grey-box .option dt{padding-top: 0.8em;}
.smtr1 dt{margin-top:1rem;}
.WCourse{height:auto;}
.WCourse dl{height:8em;}
.WCourse dl dt{margin-top:0.2em;}
.yoani dl{height:10em!important;}

.WCourse.test{height:auto;}
.WCourse.test dl dt{margin-top:0.2em;}
.programming dl{height:10em!important;}

}

/* eスポリライト用　20240112 edd
---------------------------------------------------------------------------- */
/* 調整 */
.renew .Cesports .cmn-3col-box .cont-img-box figure{margin-bottom: 10px;}
/* twitterボタン */
.SNSbtn{cursor: pointer;height: 25px;width: 25px;position: relative;margin: auto 10px auto auto;}
.SNSbtn img{height: auto;left: 0;position: absolute;width: 100%;}
.SNSbtn img:last-of-type {opacity: 0;transition: opacity .5s;}
.SNSbtn:hover img {opacity: 1;}
@media screen and (max-width: 767px){
.SNSbtn{height: 30px;width: 30px;}
.SNSbtn img::first-of-type {opacity: 0;}
.SNSbtn img:last-of-type {opacity: 1;}
}

/* 会計プロ用　20240215 edd
---------------------------------------------------------------------------- */
/* 調整 */
.renew .accounting .cont-img-box a:hover{opacity: 35%;}
.renew.sub .accounting figcaption {margin: 24px -3px;}
.renew.sub .accounting h5 {padding: 0 0vw;}

.accounting .contents_voice li .flexL{display: flex;}
.accounting .contents_voice li .flexL figure{border-radius: 50%;overflow: hidden;max-width: 180px;max-height: 180px;width: 100%;position: relative;z-index: 1;}
.accounting .contents_voice li .flexL dl{width:90%;margin:0 1rem;padding:1rem;}
.accounting .contents_voice li .flexL dl dt{font-weight:bold;font-size:1.5em;line-height:1.8;margin-bottom:1rem;padding-bottom:5px;border-bottom:1px solid #0071be;}
.accounting .contents_voice li .flexL dl dd{margin-bottom:0.8rem;}
.accounting .contents_voice li .flexL dl dd.CV_name{font-size:1.3em;}
.renew .accounting .contents_voice li .flexL dl dd .cmn-table table th{padding:0.5rem;}
.renew .accounting .contents_voice li .flexL dl dd .cmn-table table td{padding:0.5rem;line-height: 1.5;}
@media screen and (max-width: 767px){
.accounting .contents_voice li .flexL{display: flex;  flex-direction: column;}
.accounting .contents_voice li .flexL figure{margin: 0 auto;}
}

/* 質問回り */
.renew .accounting .trd-dir-cont-wrap section.question{margin-bottom:2rem;}
.voice .question dt,.voice .question dd{padding:0 1rem;}
.voice .question .query{color: #0071be;font-size:1.4em;line-height:1.4;position: relative;padding:0;margin-left:1em;margin-top:1rem;}
.voice .question .query::before{content: "―";position: absolute;top:0;left:-1em;}
.voice .question dd{line-height: 1.5;margin-top:1rem;}
@media screen and (max-width: 767px){
.accounting .voice .question dt,.voice .question dd{padding: 0 6.66vw;margin-left: 0.5em;}
.accounting .voice .question .query{padding: 0 6.66vw 0 3.66vw;font-size:1.4em;}
.accounting .voice .question .query::before{top:0;left:-2.5vw;}
.renew .accounting .voice .cmn-table.type-2col{padding:0;}
}


/* ---------------------------------------------------
3つの特徴カード
---------------------------------------------------- */

.school-banner .stats-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
margin-bottom: 32px;
}

.school-banner .stat-card {
background: #ffffff;
padding: 20px 16px;
border-radius: 3px;
border: 1px solid #444;
text-align: center;
}

.school-banner .stat-value {
font-size: 1.3rem;
font-weight: bold;
margin-bottom: 8px;
}

.school-banner .stat-label {
font-size: 0.85rem;
margin-top:10px;
}

/* ---------------------------------------------------
卒業に必要な学習
---------------------------------------------------- */

/* セクション全体のラッパー */
.graduation-section {
max-width: 800px;
margin: 60px auto;
padding: 0 20px 30px 0;
/*background:#f4f2fa;*/
}

.section-title {
font-size: 1rem;
margin-bottom: 50px;
font-weight: normal;
}

/* ステップ部分のコンテナ (PC) */
.steps-container {
display: flex;
justify-content: space-between;
position: relative;
margin-bottom: 50px;
}

/* PC表示時のステップ間を繋ぐ横線 */
.steps-container::before {
content: '';
position: absolute;
top: 50px;
left: 15%;
right: 15%;
height: 2px;
background-color: #8f8cd5;
z-index: 1;
}

/* 各ステップのブロック (PC) */
.step-item {
flex: 1;
text-align: center;
position: relative;
z-index: 2;
padding: 0 10px;
}

/* アイコンの丸い枠 (PC) */
.step-icon-wrapper {
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #fff;
border: 1px solid #8f8cd5;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
}

.step-icon-wrapper i {
font-size: 30px;
color: #6a66c7;
}

/* テキスト部分 */
.renew.sub .step-content p{
padding:0;
}

.renew.sub .step-content h3{
padding:0;
}

.step-title {
font-size: 1.1rem;
font-weight: bold;
margin: 0 0 8px 0px;
letter-spacing: 0.05em;

}



.renew.sub h3.step-title {
margin-bottom: 0;
}

.step-desc {
margin: 0 0 20px;
color:#413d9e;
}



/* 「詳しく」ボタン */
.btn-detail {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 24px;
margin-right:20px;
border: 1px solid #0071be;
border-radius: 20px;
color: #0071be;
text-decoration: none;
font-size: 0.85rem;
background-color: #fff;
transition: all 0.3s ease;
}

.btn-detail i {
margin-left: 6px;
font-size: 0.8em;
transition: transform 0.3s ease;
}

.btn-detail:hover {
background-color: var(--primary-color);
color: var(--bg-white);
}

.btn-detail:hover i {
transform: translateX(3px);
}


/* ---------------------------------------------------
コースの選び方
---------------------------------------------------- */

.course-section {
max-width: 1100px; 
margin: 0 auto;
}

.section-title {
font-size: 0.95rem;
color: #666;
margin-bottom: 12px;
}

/* --- 通信コース（ベース） --- */
.base-course-card {
background-color: #ffffff;
border: 2px solid #0071be;
border-radius: 0px;
padding: 24px;
margin-bottom: 24px;
}

.base-header {
display: flex;
align-items: center;
margin-bottom: 16px;
justify-content: center;
}
.renew.sub h3.base-title {
margin-bottom:0;
}
.base-icon {
width: 60px;
height: 60px;
background-color: #f0effc;
color: #5850a6;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
margin-right: 16px;
flex-shrink: 0;
}

.base-title {
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 4px;
}

.base-subtitle {
font-size: 0.85rem;
color: #555;
}

.base-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 20px;
justify-content: center;
}

.base-tag {
display: inline-flex;
align-items: center;
border: 1px solid #666;
padding: 6px 12px;
border-radius: 20px;
font-size: 0.8rem;
}

.base-tag-icon {
margin-right: 4px;
}

.base-info {
background-color: #f7f6f1;
padding: 16px;
border-radius: 10px;
line-height: 1.6;
}

/* --- 区切り線と追加アイコン --- */
.divider-wrap {
display: flex;
align-items: center;
text-align: center;
margin: 32px 0;
font-weight:bold;
}

.divider-wrap::before,
.divider-wrap::after {
content: '';
flex: 1;
border-bottom: 1px solid #ccc;
}

.divider-content {
display: flex;
align-items: center;
padding: 0 16px;
}

.plus-icon {
width: 40px;
height: 40px;
border: 1px solid #333;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin-right: 12px;
color: #333;
font-weight: bold;
background: #fff;
font-size:18px;
}

/* --- 通学コース（オプション） --- */
.optional-section-title {
font-size: 1rem;
font-weight: bold;
margin-bottom: 16px;
}

/* ★ここがポイント：PCでは4列指定 */
.optional-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
margin-bottom: 16px;
}


/* オプション紹介 */
.optional-card {
background-color: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 0 0 32px 0; 
display: flex;
flex-direction: column;
justify-content: flex-start;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}

a:hover .optional-card {
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
transform: translateY(-2px);
}

.optional-card::after {
content: '\2192';
position: absolute;
bottom: 12px;
right: 16px;
font-size: 1.2rem;
color: #999;
font-weight: bold;
transition: transform 0.3s ease, color 0.3s ease;
}

a:hover .optional-card::after {
color: #0071be;
transform: translateX(4px);
}
.optional-card .optionimg {
width: 100%;
margin-bottom: 12px;
}
.optional-card .optionimg img {
width: 100%;
aspect-ratio: 3 / 2; 
object-fit: cover; 
display: block;
}
.optional-card .optionimg img.top {
object-position: top;
}

.optional-card .badge {
display: inline-block;
align-self: flex-start;
margin: 0 16px 8px 16px; 
padding: 4px 8px;
border-radius: 12px;
font-size: 0.7rem;
font-weight: bold;
}

.optional-card .badge-campus {
background-color: #fdf2ea;
color: #b36b30;
}

.optional-card .badge-online {
background-color: #eaf5f0;
color: #408b76;
}

.renew.sub h4.optional-title {
font-size: 1rem;
font-weight: bold;
margin-bottom: 6px;
line-height: 1.3;
padding: 0 16px; /* 左右の余白 */
}

.optional-card .optional-desc {
font-size: 0.8rem;
color: #444;
line-height: 1.4;
padding: 0 16px;
}

.card-more {
background-color: transparent;
border: 1px dashed #b0b0b0;
align-items: center;
text-align: center;
text-decoration: none;
color: #555;
font-size: 0.95rem;
transition: background-color 0.2s;
}

.card-more:hover {
background-color: #f0f0f0;
}

.footer-note {
font-size: 0.85rem;
color: #777;
line-height: 1.5;
}



/* ---------------------------------------------------
生徒の声
---------------------------------------------------- */
.voice-section {
max-width: 1100px; 
margin: 0 auto;
}

.voice-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
margin-bottom: 16px;
}


/* オプション紹介 */
.voice-card {
background-color: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 3px;
padding: 0 0 32px 0; 
display: flex;
flex-direction: column;
justify-content: flex-start;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}

a:hover .voice-card {
box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 影をつけて浮き上がらせる */
transform: translateY(-2px); /* 少しだけ上に動かす */
}

.voice-card::after {
content: '\2192';
position: absolute;
bottom: 12px;
right: 16px;
font-size: 1.2rem;
color: #999;
font-weight: bold;
transition: transform 0.3s ease, color 0.3s ease;
}

a:hover .voice-card::after {
color: #0071be;
transform: translateX(4px);
}
.voice-card .optionimg {
width: 100%;
margin-bottom: 12px;
}
.voice-card .optionimg img {
width: 100%;
aspect-ratio: 3 / 2; 
object-fit: cover; 
display: block;
}
.voice-card .optionimg img.top {
object-position: top;
}


.voice-card .badge {
display: inline-block;
align-self: flex-start;
margin: 0 16px 8px 16px; 
padding: 4px 8px;
border-radius: 12px;
font-size: 0.7rem;
font-weight: bold;
}

.voice-card .badge-campus {
background-color: #fdf2ea;
color: #b36b30;
}

.voice-card .badge-online {
background-color: #eaf5f0;
color: #408b76;
}

.renew.sub h4.optional-title {
font-size: 1rem;
font-weight: bold;
margin-bottom: 6px;
line-height: 1.3;
padding: 0 16px; /* 左右の余白 */
}

.voice-card .optional-desc {
font-size: 0.8rem;
color: #444;
line-height: 1.4;
padding: 0 16px;
}

/* ---------------------------------------------------
よくある質問
---------------------------------------------------- */

/* FAQ(トグル形式) */
.faq-qa-group { margin-bottom: 38px; }
.renew.sub h3.faq-qa-cat {
  font-weight: bold;
  margin: 0 0 15px 0;
  padding-bottom: 3px;
  font-size: 1.2rem;
  border-left: 4px solid #0071be; padding-left: 10px;
}

.faq-qa-wrap {
  background: #fff;
  border: 1px solid #1375ba;
  border-radius: 8px 8px 8px 8px;
  overflow: hidden;
}
.faq-qa-details {
  border-top: 1px solid #eee;
}
.faq-qa-details:first-child { border-top: none; }
.faq-qa-summary {
  padding: 20px 50px 20px 56px;
  background: #fff;
  cursor: pointer;
  position: relative;
  user-select: none;
  list-style: none;
  color: #0071be;
  font-weight: bold;
}
.faq-qa-summary::-webkit-details-marker { display: none; }
.faq-qa-summary::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #1375ba;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.faq-qa-summary::after {
  content: "▼";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #1375ba;
  transition: transform 0.3s ease;
}
.faq-qa-details[open] > .faq-qa-summary::after {
  content: "▲";
}
.faq-qa-body {
  padding: 18px 20px 22px 56px;
  background: #f7fafd;
  position: relative;
  border-top: 1px dashed #d9e4ee;
}
.faq-qa-body::before {
  content: "A";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 28px;
  height: 28px;
  background: #f7a800;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.renew.sub .faq-section p{padding:0;}
.faq-qa-body p { margin: 0; line-height: 1.8; }
.faq-qa-body p + p { margin-top: 10px; }
.faq-qa-body a { color: #1375ba; text-decoration: underline; }

.faq-qa-summary:focus-visible {
  background:#E0F7FA;
}




/* ━━━━━━━━━━━━━━━━━━━━━━━━
スマートフォン向け
━━━━━━━━━━━━━━━━━━━━━━━━ */

@media screen and (max-width:767px) {

/* ---------------------------------------------------
SP 3つの特徴カード
---------------------------------------------------- */

.school-banner .stats-container {
grid-template-columns: 1fr; /* スマホでは縦1列に */
gap: 12px;
}

.school-banner .stat-card {
padding: 10px;
/*display: flex;*/
align-items: baseline;
justify-content: flex-start;
gap: 16px;
text-align: left;
}

.school-banner .stat-value {
margin-bottom: 0;
min-width: 80px;
font-size: 1.2rem;
text-align:center;
}

.school-banner .stat-label {
text-align:center;
margin-top: 10px;
}

/* ---------------------------------------------------
SP 卒業に必要な学習
---------------------------------------------------- */

.section-title {
text-align: center;
margin-bottom: 40px;
}

.graduation-section{
padding: 0 6.66vw;
}

.steps-container {
flex-direction: column;
gap: 0;
}

.steps-container::before {
display: none;
}

.step-item {
display: flex;
text-align: left;
padding: 0 0 40px 0;
}

.step-item:last-child {
padding-bottom: 0;
}

.steps-container a:not(:last-child) .step-item::after {
content: '';
position: absolute;
top: 60px;
left: 30px;
bottom: 0;
width: 3px;
background-color: #8f8cd5;
z-index: 1;
}

.step-icon-wrapper {
width: 60px;
height: 60px;
margin: 0 20px 0 0;
flex-shrink: 0;
z-index: 2;
}

.step-icon-wrapper i {
font-size: 24px;
}

.step-content {
padding-top: 5px;
}

.step-title {
font-size: 1.05rem;
}

.step-desc {
margin-bottom: 15px;
}

/* ---------------------------------------------------
SP コースの選び方
---------------------------------------------------- */
    .base-course-card {
      padding: 16px;
    }

    .base-header {
      align-items: flex-start;
    }
    
    .base-icon {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }

    .base-title {
      font-size: 1.1rem;
    }

    .divider-wrap {
      margin: 24px 0;
    }

    .divider-content {
      font-size: 0.85rem;
      padding: 0 8px;
    }


/*SPコース紹介*/
.course-section{
padding: 0 6.66vw;
}

.renew.sub .course-section p{
padding:0;
}

  .optional-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }

  /* カード内を横並びに（左：画像、右：テキスト） */
  .optional-card {
    display: grid;
    grid-template-columns: 32% 1fr;
    grid-template-rows: auto auto auto;
    align-content: center;
    column-gap: 12px;
    padding: 0;
  }

  /* --- 左側：画像エリア --- */
  .optional-card .optionimg {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    margin-bottom: 0;
    height: 100%;
  }
  
  .optional-card .optionimg picture {
    display: block;
    height: 100%;
  }

  .optional-card .optionimg img {
    width: 100%;
    height: 100%;
    aspect-ratio: unset; 
    object-fit: cover;
  }

  /* --- 右側：バッジ --- */
  .optional-card .badge {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: start;
    margin: 12px 0 4px 0;
  }

  /* --- 右側：タイトル --- */
  .renew.sub h4.optional-title {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    padding: 0 32px 0 0;
    font-size: 0.95rem;
    text-align: left;
  }

  /* --- 右側：説明文 --- */
  .renew.sub .optional-card .optional-desc {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    padding: 0 32px 12px 0;
    text-align: left;
  }

  /* --- 矢印アイコン --- */
  .optional-card::after {
    right: 12px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  a:hover .optional-card::after {
    transform: translate(4px, -50%);
  }


/* ---------------------------------------------------
SP 生徒の声
---------------------------------------------------- */

.voice-section{
padding: 0 6.66vw;

}


  .voice-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }

  /* カード内を横並びに（左：画像、右：テキスト） */
  .voice-card {
    display: grid;
    grid-template-columns: 32% 1fr;
    grid-template-rows: auto auto auto;
    align-content: center;
    column-gap: 12px;
    padding: 0;
  }

  /* --- 左側：画像エリア --- */
  .voice-card .optionimg {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    margin-bottom: 0;
    height: 100%;
  }
  
  .voice-card .optionimg picture {
    display: block;
    height: 100%;
  }

  .voice-card .optionimg img {
    width: 100%;
    height: 100%;
    aspect-ratio: unset; 
    object-fit: cover;
  }

  /* --- 右側：バッジ --- */
  .voice-card .badge {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: start;
    margin: 12px 0 4px 0;
  }

  /* --- 右側：タイトル --- */
  .renew.sub h4.optional-title {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    padding: 0 32px 0 0;
    font-size: 0.95rem;
    text-align: left;
  }

  /* --- 右側：説明文 --- */
  .renew.sub .voice-card .optional-desc {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    padding: 0 32px 12px 0;
    text-align: left;
    line-height:1.5;
  }

  /* --- 矢印アイコン --- */
  .voice-card::after {
    right: 12px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  a:hover .voice-card::after {
    transform: translate(4px, -50%);
  }

}



@media screen and (max-width:767px) {

.school-banner{
padding: 0 6.66vw;
}

}