@charset "UTF-8";
/* CSS Document */

.br_pc { display:block; }
.br_sp { display:none; }
@media (max-width: 680px) {
  .br_pc {display: none;}
  .br_sp{display: block;}
}

.pankuzu{
	font-size: 13px;
	margin: 10px 0 0 10px;
}

.container{
	margin-top:120px!important;
}

@media (max-width: 768px) {
	.container {
		margin-top:105px!important;
	}
}

.lp-cover-block{
  width:100vw;
  margin-right:calc(50% - 50vw);
  margin-left:calc(50% - 50vw);
}

.lp-cover-block-content{
	width: 100%;
	margin:0 auto;
}

.lp-cover-block .wp-block-cover__image-background{
	background-position: 20% 50%!important;
}

@media (max-width: 768px) {
	#overview,#pass-rate,#goal,#why-eiaka,#recommended,#achievements {
		padding:0 10px;
	}
}


	/* ヒーローセクション */
#hero-section {
	position: relative;
	min-height: 765px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: calc(28% - 100px) top;
	background-image:url(https://eiken-ac.h2-server.com/wp-content/uploads/2025/10/mv.png);
}

#hero-section .wp-block-cover__image-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background-size: cover;
	background-position: center center;
}

#hero-section .wp-block-cover__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.95) 60%);
	z-index: 1;
}

#hero-section .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1400px;
	padding: 60px;
}

#hero-section .wp-block-group__inner-container {
	text-align: center;
	width: 100%;
}

#hero-section .wp-block-group__inner-container .wp-block-columns{
	margin-bottom:10px;
}


#hero-section .wp-block-group__inner-container .wp-block-columns:last-of-type{
	margin-bottom:0;
}


/* 上部の小見出し */
#hero-section .has-text-align-center.has-large-font-size {
	font-size: 20px;
	color: #003d82;
	margin-bottom: 25px;
	position: relative;
	display: inline-block;
	padding: 12px 40px;
	font-weight: 500;
}

#hero-section .has-text-align-center.has-large-font-size::before,
#hero-section .has-text-align-center.has-large-font-size::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 3px;
	background-color: #003d82;
}

#hero-section .has-text-align-center.has-large-font-size::before {
	top: 0;
}

#hero-section .has-text-align-center.has-large-font-size::after {
	bottom: 0;
}

/* メイン見出し */
#hero-section p.catch-txt{
	font-size: 56px;
	font-weight: 900;
	color: #003d82;
	line-height: 1.4;
	margin: 35px 0 30px;
	letter-spacing: 0.05em;
	background-image: linear-gradient(90deg, #0051D7,#001230);
}

#hero-section p.catch-txt span{
	font-size: 2.5em;
}

#hero-section p.catch-overview{
	font-weight: 700!important;
	font-size: 1.3em!important;
  -webkit-text-stroke: 5px #fff;
	  text-stroke: 5px  #fff;
	  paint-order: stroke;
}

#hero-section p.catch-overview .has-inline-color{
	font-size: 1.32em!important;
}


.hero-section-table {
	display: flex;
	max-width: 850px;
	width: 100%;
	margin: 50px auto 0;
	border: 4px solid #003d82;
	border-radius: 20px;
	overflow: hidden;
	background: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding:30px 20px;
	justify-content: center;
}

.hero-section-table-heading {
	flex-basis: 22%;
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap:10px;
}

.hero-section-table-heading p {
	font-weight: bold;
	font-size: 17px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 1;
	letter-spacing: 0.05em;
	width:130px;
	padding:3px;
	color:#fff;
	background: #011942;
}

.hero-section-table-heading p:last-child {
	border-bottom: none;
}

.hero-section-table-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	background: white;
}

.hero-section-table-content p {
	padding: 10px 0;
	color: #333;
	border-bottom: 2px solid #e8e8e8;
	display: flex;
	align-items: center;
	flex: 1;
	font-weight: 600!important;
	font-size: 1em!important;
	text-align: left;
}

.hero-section-table-content p:last-child {
	border-bottom: none;
}

/* 表組み */
#overview{
	width: 100%;
}
.overview-table {
	display: flex;
	max-width: 100%;
	margin: 50px auto 0;
	border: 4px solid #003d82;
	border-radius: 20px;
	overflow: hidden;
	background: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding:30px 20px;
	justify-content: center;
}

.overview-table-heading {
	flex-basis: 22%;
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap:10px;
}

.overview-table-grid .overview-table-heading p {
	font-weight: bold;
	font-size: 17px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 1;
	letter-spacing: 0.05em;
	width:130px;
	padding:3px;
	color:#fff;
	background: #011942;
}

.overview-table-grid .overview-table-heading p:last-child {
	border-bottom: none;
}

.overview-table-grid .overview-table-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	background: white;

}

.overview-table-grid .overview-table-content p {
	color: #333;
//	border-bottom: 2px solid #e8e8e8;
	//display: flex;
	align-items: center;
	flex: 1;
	font-weight: 600!important;
	font-size: 1.2em!important;
}

.overview-table-grid .overview-table-content p:last-child {
	//border-bottom: none;
}

.overview-table-grid{
	margin-bottom:0.8rem;
}


/* レスポンシブ対応 */
@media (max-width: 1024px) {
	#hero-section .wp-block-cover__inner-container {
		margin-right: 40px;
		padding-right: 40px;
	}
}

@media (max-width: 768px) {
	#hero-section {
		min-height: 460px!important;
		justify-content: center;
	}
	
	#hero-section .wp-block-cover__image-background{
		//background-image: none!important;
	}
	
	#hero-section {
		//background-image:url(https://eiken-ac.h2-server.com/wp-content/uploads/2025/11/winter-mv-sp.png);
		
		min-height: 0!important;
		aspect-ratio: 333 / 396!important; /* 画像の比率に合わせる */
		background-image: url(https://eiken-ac.h2-server.com/wp-content/uploads/2025/11/winter-mv-sp.png);
		background-position: center center;
		margin-top:-10px;
	}
	

	#hero-section .wp-block-cover__background {
		background: rgba(255, 255, 255, 0.9);
	}

	#hero-section .wp-block-cover__inner-container {
		display: none;
	}

	#hero-section .wp-block-group__inner-container {
		margin-left: auto;
		margin-right: auto;
	}

	#hero-section .wp-block-group__inner-container > p:nth-child(2) {
		font-size: 38px;
	}

	#hero-section .overview-table {
		display: none;
	}

	#hero-section .overview-table-heading {
		display: none;
	}

	#hero-section .overview-table-heading p {
		border-bottom: none;
		border-right: 2px solid rgba(255, 255, 255, 0.2);
		font-size: 14px;
		padding: 15px 10px;
	}

	#hero-section .overview-table-heading p:last-child {
		border-right: none;
	}

	#hero-section .overview-table-content p {
		padding: 15px 20px;
		font-size: 14px;
	}
	
	.overview-table{
		padding: 30px 10px;
	}
	
	.overview-table-grid {
		margin-bottom: 0.4rem;
	}
	
	.overview-table-grid {
		gap:0.7rem;
	}
	
	.overview-table-grid .overview-table-heading{
		flex-basis: 28%!important;
	}
	
	.overview-table-grid .overview-table-heading p{
		font-size: 15px!important;
	}
	
	.overview-table-grid .overview-table-content p{
		font-size: 14px!important;
	}
}

/*!cta*/
.cta-cach-txt{
	text-align: center;
}

.cta-cach-txt-pc {
	display:block;
	margin-bottom:0;
	
 }
.cta-cach-txt-sp { display:none; }
@media (max-width: 680px) {
  .cta-cach-txt-pc {display: none;}
  .cta-cach-txt-sp{
	  display: block;
	  margin-bottom:10px;
  }
}


/*! 共通見出し */
.winter-heading {
	text-align: center;
	margin: 0 0 40px;
}

.winter-heading p {
	font-size: 17px;
	color: #b8d4e8;
	letter-spacing: 0.1em;
	font-weight: 400;
	text-transform: lowercase;
	text-align: center;
}

.winter-heading h2 {
	font-size: 36px;
	color: #003a70;
	font-weight: 700;
	margin: 0;
	letter-spacing: 0.05em;
	position: relative;
	display: inline-block;
	padding:0 90px 5px;
}

.winter-heading h2::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #e8e8e8;
}

.winter-heading h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 2px;
	background-color: #003a70;
}

@media (max-width: 768px) {
	.winter-heading h2{
		font-size: 1.5rem;
		padding: 0 15px 5px;
	}
}

#pass-rate{
	margin-top:4rem;
}

#pass-rate p{
	line-height: 1.7;
}

#pass-rate h2{
	margin-bottom:2rem;
}

#pass-rate h2 + p{
	margin-bottom:1.6rem;
}


#pass-rate table{
	width: 70%;
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 8px 4px;
	font-weight: 700;
}

#pass-rate table td{
	padding: 0.2em;
}

#pass-rate figure{
	margin-bottom:2rem;
}

#pass-rate .wp-block-group__inner-container p:last-child{
	margin:2rem 0 4rem;
}

.pass-rate-ybox{
	background: #FFFAEB;
	padding:2em 3.2em;
	border-radius: 10px;
}

@media (max-width: 768px) {
	#pass-rate h2{
		font-size: 1.5rem!important;
		line-height: 1.5;
	}
	
	#pass-rate .wp-block-group__inner-container p:first-of-type,#pass-rate .wp-block-group__inner-container p:nth-of-type(2) {
		text-align: left;
		font-size: 0.9rem;
	}
	
	#pass-rate table {
		border-spacing: 4px 4px;
	}
	
	.pass-rate-ybox{
		padding: 1.5em 1rem;
	}
	
}

#goal .winter-heading + p{
	font-size:1.5rem;
	margin-bottom:1rem;
}

#goal .wp-block-image{
	margin-bottom:3rem;
}

.goal-grade-group{
	margin-top:1.5em;
}

.goal-grade-group{
	background: #DFEDFD;
	padding:1em 2em;
	border-radius: 10px;
}

.goal-grade-group-heading p{
	background: #093680;
	font-size: 20px;
	font-weight: 600;
	border-radius: 5px;
	padding:0.2em 0.8em;
	color:#fff;
	text-align: center;
}

.goal-grade-group-level p {
	padding-top:0.2em;
	font-size: 20px;
}

.goal-grade-group-txt{
	margin-top:0.8em;
}

@media (max-width: 768px) {
	#goal .winter-heading + p{
		font-size:1.3rem;
	}
	
	.goal-grade-group{
		padding: 1.5em;
	}
	
	.goal-grade-grid{
		gap:1rem;
	}
	
	.goal-grade-group-heading{
		flex-basis: 43%!important;
	}
	
	.goal-grade-group-heading p {
		font-size: 1rem;
		padding: 0.2em 1em;
	}
	
	.goal-grade-group-level p{
		font-size: 1rem;
	}
}

#why-eiaka{
	width: 100%;
}

#why-eiaka h2{
	background-image: linear-gradient(90deg, #093680, #020b1a);
	color:#fff;
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
	padding:1em 0;
	margin:2em 0 1em;
}

.why-eiaka-box{
	border: 4px solid #093680;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding:1.5em 0;
}

.why-eiaka-box .has-inline-color{
	font-size:1.5em;
	font-weight: bold;
	line-height: 1.2;
}

.why-eiaka-grid{
	margin-bottom: 1.5em;
}


/* PC表示: 3列x2行 */
.why-eiaka-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-eiaka-grid .why-eiaka-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-height: 238px;
  justify-content: flex-start;
  padding: 25px 15px;
}

/* WordPressのデフォルトマージンをリセット */
.why-eiaka-grid .wp-block-column {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.why-eiaka-grid .why-eiaka-box figure {
  margin: 0 0 15px 0;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-eiaka-grid .why-eiaka-box img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
}

.why-eiaka-grid .why-eiaka-box p {
  margin: 0;
}

@media (max-width: 768px) {
	#why-eiaka h2 {
		font-size: 1.6rem;
	}
	
	.why-eiaka-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	
	.why-eiaka-grid .why-eiaka-box {
		padding:10px 5px;
	}
	
	.why-eiaka-grid .why-eiaka-box p {
		font-size:14px;
	}
	
	.why-eiaka-box .has-inline-color {
		font-size:18px;
	}
	
	.why-eiaka-grid .why-eiaka-box img {
		width: 95px!important;
	}
	
}

#recommended{
	width: 100%;
	margin-top:3rem;
}

.recommended-grid{
	margin-bottom:1.5em;
}

.recommended-box{
	border: 4px solid #093680;
	border-radius: 15px;
	padding:1.5em;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color:#093680;
}
@media (max-width: 768px) {
	.recommended-box {
		padding: 1rem 0.7rem;
		font-size: 14px;
	}
	
	.recommended-grid{
		gap:1rem;
		margin-bottom:1rem;
	}
}


#achievements{
	width: 100%;
	text-align: center;
	margin-top:3rem;
}

#achievements h3{
	font-size: 1.8em;
	color:#093680;
	font-weight: 600;
	border-left: 10px solid #093680;
	text-align: left;
	padding-left: 1em;
	margin-top:3rem;
}
.achievements-grid{
	background: #E6F0FF;
	padding: 2em;
	border-radius:5px;
	margin-bottom:3em;
}

.achievements-txt{
	text-align: center;
	font-size: 30px;
	line-height: 1.3;
}
.achievements-ratio{
	text-align: center;
	font-size: 70px;
	font-weight: 600;
	line-height: 1.3;
	color:#014BC7;
	background:linear-gradient(transparent 60%, #FEB801 60%);
	display: inline-block;
	padding:0 13px;
}

.achievements-ratio .percent{
	color:#014BC7!important;
	font-size: 0.5em;
}

.achievements-ratio-txt{
	font-size: 1em;
}



/**************/
/* PC表示: 横一列 */
.achievements-grid {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.achievements-grid .wp-block-column {
  margin: 0 !important;
}

/* スマホ表示: 画像を上、その下に2列 */
@media (max-width: 768px) {
  .achievements-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	max-width: 400px;
	margin: 0 auto;
  }
  
  /* 画像を含む最初のカラムを2列分のスペースに配置 */
  .achievements-grid .wp-block-column:first-child {
	grid-column: 1 / 3;
	text-align: center;
  }
  
  .achievements-grid .wp-block-column:first-child figure {
	margin: 0 auto;
	max-width: 150px;
  }
  
  .achievements-grid .wp-block-column:first-child img {
	width: 100%;
	height: auto;
  }
  
  /* 2つ目と3つ目のカラムを横並びに */
  .achievements-grid .wp-block-column:nth-child(2),
  .achievements-grid .wp-block-column:nth-child(3) {
	text-align: center;
  }
}

/* PC表示: 横一列 */
#achievements .achievements-grid {
  display: flex !important;
  align-items: center!important;
  justify-content: center;
  gap: 20px;
}

.achievements-grid .wp-block-column {
  margin: 0 !important;
}

/* スマホ表示: 画像を上、その下に2列 */
@media (max-width: 768px) {
  #achievements .achievements-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	max-width: 400px;
	margin: 0 auto;
  }
  
  /* 画像を含む最初のカラムを2列分のスペースに配置 */
  #achievements .achievements-grid .wp-block-column:first-child {
	grid-column: 1 / 3;
	text-align: center;
  }
  
  #achievements .achievements-grid .wp-block-column:first-child figure {
	margin: 0 auto;
	max-width: 150px;
  }
  
  #achievements .achievements-grid .wp-block-column:first-child img {
	width: 100%;
	height: auto;
  }
  
  /* 2つ目と3つ目のカラムを横並びに */
  #achievements .achievements-grid .wp-block-column:nth-child(2),
  #achievements .achievements-grid .wp-block-column:nth-child(3) {
	text-align: center;
  }
  
  
  /* テキストとパーセンテージのスタイル */
  #achievements .achievements-txt {
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 10px;
  }
  
  #achievements .achievements-ratio {
	font-size: 48px;
	font-weight: bold;
	color: #0066cc;
	margin: 0;
	line-height: 1;
  }
  
  #achievements .achievements-ratio .percent {
	font-size: 24px;
  }
  
  #achievements .achievements-ratio-txt {
	font-size: 12px;
	margin-top: 5px;
  }
  
}

/*************/

/* PC表示: 画像左、吹き出し右 */
.achievements-voice-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.achievements-voice-grid > .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.achievements-voice-grid figure {
  margin: 0;
  flex-shrink: 0;
}

.achievements-voice-grid figure img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

/* 吹き出し全体 */
.achievements-voice-grid .achievements-voice-content {
  flex: 1;
  text-align: left;
}

.achievements-voice-grid .achievements-voice-content > .wp-block-group__inner-container {
  background-color: #DFEDFD;
  padding: 15px 20px;
  border-radius: 8px;
  position: relative;
}

/* 吹き出しの三角形（左側） */
.achievements-voice-grid .achievements-voice-content > .wp-block-group__inner-container::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 20px 0;
  border-color: transparent #DFEDFD transparent transparent;
}

/* タイトル部分 */
.achievements-voice-grid .achievements-voice-heading {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

/* テキスト部分 */
.achievements-voice-grid .achievements-voice-content p:last-child {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* SP表示: 画像左上、見出し右上、テキスト下 */
@media (max-width: 768px) {
  .achievements-voice-grid {
	padding: 15px;
	background-color: #DFEDFD;
	border-radius: 8px;
	margin:1rem 0;
  }
  
  .achievements-voice-grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 100px 1fr;
	grid-template-rows: auto auto;
	gap: 15px;
  }
  
  .achievements-voice-grid figure {
	grid-column: 1;
	grid-row: 1;
  }
  
  .achievements-voice-grid figure img {
	width: 100px;
	height: 100px;
  }
  
  /* display: contents でコンテナを透過 */
  .achievements-voice-grid .achievements-voice-content {
	display: contents;
  }
  
  .achievements-voice-grid .achievements-voice-content > .wp-block-group__inner-container {
	display: contents;
	background-color: transparent;
	padding: 0;
  }
  
  /* 吹き出しの三角形を削除 */
  .achievements-voice-grid .achievements-voice-content > .wp-block-group__inner-container::before {
	display: none;
  }
  
  /* SP時は見出しを右上に配置 */
  .achievements-voice-grid .achievements-voice-heading {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	margin: 0;
	font-size: 15px;
  }
  
  /* テキストは下に配置 */
  .achievements-voice-grid .achievements-voice-content p:last-child {
	grid-column: 1 / 3;
	grid-row: 2;
	font-size: 14px;
	margin: 0;
	padding: 0 1rem;
  }
}

/**************/
/***************/



#price{
	width: 100%;
	margin-top:4rem;
}

#price .winter-heading + p{
	margin-bottom:1rem;
}

#voice{
	widows: 850px;
	margin-top:4rem;
}

.voice-txt{
	font-size: 20px;
	margin: 0;
	font-size: 20px;
	color: #333333;
	background-color: #DFEDFD;
	padding: 25px 30px;
	border-radius: 10px;
	line-height: 1.8;
	position: relative;
	text-align: left;
}

.voice-txt p::before {
	content: '';
	position: absolute;
	left: -20px;
	top: 60px;
	width: 0;
	height: 0;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	border-right: 20px solid #DFEDFD;
}


.parents-voice-grid {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	max-width: 900px;
	margin-bottom:2em;
	padding:20px
}

.parents-voice-img {
	flex-basis: 20%;
	flex-shrink: 0;
	max-width: 150px;
}

.parents-voice-img img {
	width: 100%;
	height: auto;
	display: block;
}

.parents-voice-txt {
	flex: 1;
	position: relative;
}

.parents-voice-txt {
	margin: 0;
	font-size: 20px;
	color: #333333;
	background-color: #DFEDFD;
	padding: 25px 30px;
	border-radius: 10px;
	line-height: 1.8;
	position: relative;
	text-align: left;
}

.parents-voice-txt p::before {
	content: '';
	position: absolute;
	left: -20px;
	width: 0;
	height: 0;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	border-right: 20px solid #DFEDFD;
	top: 50%;
	transform: translateY(-50%);
}

.parents-voice-txt .highlight {
	color: #0066cc;
	font-weight: 600;
}

.parents-voice-heading{
	font-size: 1.2em;
}

#parents .wp-block-group__inner-container > p:last-child {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
	.wp-block-group .parents-voice-grid {
		flex-direction: row;
		align-items: center!important;
		padding:0;
		gap:15px;
	}
	
	.parents-voice-txt p::before {
		content: '';
		position: absolute;
		left: -10px;
		width: 0;
		height: 0;
		border-top: 10px solid transparent;
		border-bottom: 10px solid transparent;
		border-right: 10px solid #DFEDFD;
	}
	
	.parents-voice-img {
		flex-basis: auto;
		max-width: 150px;
	}
	
	.parents-voice-img figure{
		margin:0;
	}
	
	.parents-voice-txt {
		  font-size: 14px;
		  margin:1rem 0;
		  line-height: 1.5;
		  padding:1rem;
	  }

}



/*! faq */
#faq{
	margin-top:4rem;
	padding-top:3rem;
	padding-bottom:5rem;
}
#faq .faq-heading-sub{
	color:#fff;
	text-transform: capitalize;
}
#faq .faq-heading-txt::before{
	background-color: #fff;
}

#faq .faq-heading{
	margin-bottom:3rem;
}


.faq-section {
	padding: 2rem 1rem;
	margin: 0 auto;
	text-align: center;
	background: #DFEDFD;
	font-weight: 600;
}	
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-align: left;
	max-width: 781px;
	margin: 0 auto;
}

.faq-item {
	background: white;
	border-radius: 8px;
	overflow: hidden;
}

/* チェックボックスを非表示 */
.faq-checkbox {
	display: none;
}

.faq-label {
	padding: 1rem 2.5rem 1rem 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	cursor: pointer;
	position: relative;
	font-size: 0.9rem;
	line-height: 1.6;
	font-weight: 600;
}

.question-icon {
	color: #003686;
	font-weight: bold;
	flex-shrink: 0;
	font-size:1.2rem;
}

/*faq*/
.faq-arrow {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 14px solid #000;
	transition: transform 0.3s ease;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 1rem 0 2.5rem;
	font-size: 14px;
	line-height: 1.6;
	transition: all 0.3s ease;
}

/* チェックボックスがチェックされた時の状態 */
.faq-checkbox:checked ~ .faq-answer {
	max-height: 500px;
	padding: 0 1.5rem 1rem 2.5rem;
}

.faq-checkbox:checked ~ .faq-label .arrow {
	transform: translateY(-50%) rotate(180deg);
}

.faq-label:hover {
	background: rgba(0,54,134,0.05);
}

#apply{
	width: 100%;
}

#apply h2{
	background-image: linear-gradient(90deg, #093680, #020b1a);
	color:#fff;
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
	padding:1em 0;
	margin:2em 0 1em;
}

#apply .apply-overview{
	width: 75%;
	margin: 0 auto;
}

#apply .apply-overview p:first-child{
	margin-bottom:1rem;
}

/*! コース一覧用 */

.course-pc-banner{
	display: block;
}

.course-sp-banner{
	display: none;
}

.course-pc-banner img{
	margin-bottom:1rem;
}

.course-list__container{
	width: 100%;
}

.course-list__heading{
	margin:40px auto;
}

.course-list__container h3{
	font-size: 1.5rem;
	color: #093680;
	font-weight: 600;
	border-left: 10px solid #093680;
	text-align: left;
	padding-left: 1rem;
	margin:2rem 0 0.5rem;
}

.course-list__container h4{
	font-size: 1.2rem;
	color: #093680;
	font-weight: 600;
	margin-top:1.5rem;
}

.course-list-heading {
	text-align: center;
	margin: 40px 0;
}

.course-list__heading p {
	font-size: 17px;
	color: #b8d4e8;
	letter-spacing: 0.1em;
	font-weight: 400;
	text-transform: lowercase;
	text-align: center;
}

.course-list__heading h2 {
	font-size: 36px;
	color: #003a70;
	font-weight: 700;
	margin: 0;
	letter-spacing: 0.05em;
	position: relative;
	display: inline-block;
	padding:0 90px 5px;
}

.course-list__heading h2::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #e8e8e8;
}

.course-list__heading h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 2px;
	background-color: #003a70;
}


.course-list__container .is-layout-flex {
	gap:1em;
}


/* ボタンコンテナ */
.course-list__btn {
	display: flex;
	justify-content: center;
	margin: 20px 0;
}

.course-list__btn .wp-block-button {
	width: 100%;
}

/* ボタンリンク */
.course-list__btn .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 15px 10px 15px 15px;
	background-color: #F5F9FF;
	border: 2px solid #002e79;
	border-radius: 12px;
	color: #002e79;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	font-size: 0.84rem;
	
}

/* 右矢印アイコン */
.course-list__btn .wp-block-button__link::after {
	content: '❯';
	font-size: 18px;
	font-weight:300;
	color: #1B3A6D;
	margin-left: 5px;
}

/* ホバーエフェクト */
.course-list__btn .wp-block-button__link:hover {
	background-color: #1B3A6D;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(27, 58, 109, 0.2);
}

.course-list__btn .wp-block-button__link:hover::after {
	color: #ffffff;
}

/* アクティブ状態 */
.course-list__btn .wp-block-button__link:active {
	transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	
	.course-list__heading h2{
		font-size: 1.6rem;
		padding: 0 25px 5px;
	}
	
	.course-list__heading {
		margin: 20px auto 30px;
	}
	
	.course-list__btn{
		margin:10px 0;
	}
	
	.course-list__container .is-layout-flex{
		gap:0;
	}
	
	.course-list__btn .wp-block-button__link {
		padding: 15;
		font-size: 14px;
	}

	.course-list__btn .wp-block-button__link::after {
		font-size: 18px;
	}
	
	.course-pc-banner{
		display: none;
	}
	
	.course-sp-banner{
		display: block;
		padding: 0 0.5rem;
	}
	
	.course-sp-banner img{
		margin-bottom:1rem;
	}
	
	.course-list__container{
		padding:0 0.5em;
	}
	

}

/*! 問い合わせフォーム */
/* 冬期講習フォームのスタイリング */
.winter-form {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 20px;
}

.winter-form form {
  background: #fff;
}

.winter-form table {
  width: 100% !important;
  border-collapse: collapse;
  background: transparent !important;
  border: none !important;
}

.winter-form table tr {
  border: none;
}

.winter-form table td {
  padding: 16px 0 !important;
  background: transparent !important;
  border: none !important;
  vertical-align: middle;
}

.winter-form table td label{
	display:flex;
	align-items: center;
}

/* ラベル部分 */
.winter-form table td[align="center"][width="120"] {
  text-align: left !important;
  padding-right: 20px !important;
  width: 220px !important;
}

.winter-form table td[align="center"][width="120"] font {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #333 !important;
  display: inline-block;
}

.winter-form table td[align="center"][width="120"] b {
  font-weight: 600;
}

/* 必須マーク */
.winter-form table td[align="center"][width="120"] strong {
  display: inline-block;
  background: #d32f2f;
  color: white !important;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px !important;
  margin-left: 8px;
  vertical-align: middle;
}

.winter-form table td[align="center"][width="120"] strong font {
  color: white !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

/* 入力フィールド部分 */
.winter-form table td[width="400"] {
  width: auto !important;
}

.winter-form input[type="text"],
.winter-form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  background: #f5f5f5;
  transition: border-color 0.3s, background-color 0.3s;
  box-sizing: border-box;
}

.winter-form input[type="text"]:focus,
.winter-form input[type="email"]:focus {
  outline: none;
  border-color: #1976d2;
  background: #fff;
}

/* プレースホルダーのスタイル */
.winter-form input[type="text"]::placeholder,
.winter-form input[type="email"]::placeholder {
  color: #999;
  font-size: 14px;
}

/* セレクトボックス */
.winter-form select {
  width: 100%;
  padding: 16px 40px 16px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  background: #f5f5f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.winter-form select:focus {
  outline: none;
  border-color: #1976d2;
  background-color: #fff;
}

/* ヘッダー行（空の場合は非表示） */
.winter-form table tr:first-child {
  //display: none;
}

/* チェックボックス行 */
.winter-form table tr:last-of-type td[bgcolor="#f2f2f2"] {
  vertical-align: middle;
}

.winter-form table tr:last-of-type td[bgcolor="#fafafa"] {
  padding: 20px 0 !important;
}

/* 送信ボタンのテーブル */
.winter-form table:last-of-type {
  margin-top: 20px;
}

.winter-form table:last-of-type td {
  text-align: center;
  padding: 0 !important;
}

.winter-form  input[type="checkbox"] {
	display: inline-block;
	margin-right: 12px;
	width: 20px;
	height: 20px;
	accent-color: #1e4d72;
}

.winter-form input[type="submit"] {
  width: 50%;
  padding: 16px 32px;
  background: #093680;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
}

.winter-form input[type="submit"]:hover {
  background: #0d47a1;
}

.winter-form input[type="submit"]::after {
  content: '›';
  font-size: 24px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.winter-form table tr.pp label{
	justify-content: center;
}

.winter-form table tr.caution td{
	padding:5px 0 16px!important;
}

.winter-form td.submit {
  position: relative;
}

.winter-form td.submit::after {
  content: '›';
  position: absolute;
  right: 27%;
  top: 46%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  pointer-events: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	#apply h2 {
		font-size:2rem;
	}
	
	#apply .apply-overview {
		width: 90%;
	}
	
	.winter-form {
		margin-top:20px;
		padding:5px;
	}
	
	.winter-form table tr td.caution{
		padding:0 0 16px!important;
	}
	
	.winter-form .pp label{
		text-align: left;
		line-height: 1.3;
	}
	
	.winter-form td.submit::after{
		right: 8%;
	}
	
	.winter-form input[type="submit"] {
		width: 100%;
	}
	
  .winter-form table td[align="center"][width="120"],
  .winter-form table td[width="400"] {
	display: block;
	width: 100% !important;
	padding: 0 0 20px!important;
  }
  
  .winter-form table td[align="center"][width="120"] {
	padding-bottom: 4px !important;
  }
  
  .winter-form input[type="text"],
  .winter-form input[type="email"],
  .winter-form select {
	max-width: 100%;
  }
}

.pass-record-grid{
	margin:2rem 0;
}

.pass-record-grid:last-of-type { margin: 1rem 0; }

.pass-record-grid:last-of-type p{
	font-size: 14px;
}

.ribbon15-wrapper {  
  display: block;
  position: relative;
  margin: 15px auto;
  padding: 15px 0;
  width: 300px;
  box-sizing: border-box;
  border:3px solid #DC7900;
  }

.ribbon15 {  
  display: inline-block;
  position: absolute;
  top: -9px;
  left: 17px;
  margin: 0;
  padding: 15px 0;
  z-index: 2;
  width: 70px!important;
  text-align: center;
  color: white;
  font-size: 17px;
  background: linear-gradient(#F09C00 0%, #CC7000 100%);
  border-radius: 2px 0 0 0;
  line-height: 1.3;
  font-weight: 600;
  }

.ribbon15:before {
  position: absolute;
  content: '';
  top: 0;
  left: -5px;
  border: none;
  border-bottom: solid 6px #E1B000;
  border-left: solid 6px transparent;
}
.ribbon15:after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 35px solid #CC7000;
  border-right: 35px solid #CC7000;
  border-bottom: 10px solid transparent;
}

.ribbon15-wrapper p:last-child{
	font-size: 1.2rem;
	padding-left:3.2rem;
	font-weight: 600;
	color:#333;
	line-height: 1.5;
}

.ribbon15-bigtxt{
	font-size: 1.4rem;
}

 @media (max-width: 768px) {
	 .ribbon15 { 
	 left: 13px;
	 }
	 
	 .ribbon15-wrapper p:last-child{
	 font-size: 1rem;
	 padding-left: 3.5rem;
	 text-align: left;
	 margin: 0 auto;
	 width: 70% !important;
	 }
 }