* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", sans-serif;
	line-height: 1.6;
	color: #333;
	background: #fff;
}

.br-pc {
	display: block;
}

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

.br-sp{
	display: block;
}
}

.main-title {
  font-family: "BIZ UDMincho", serif;
  font-weight: 700;
  font-style: normal;
}

.menu-button {
	width: 24px;
	height: 18px;
	background: none;
	border: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0;
	cursor: pointer;
}

.menu-button span {
	width: 100%;
	height: 2px;
	background-color: #333;
	border-radius: 1px;
}

	.hero {
	position: relative;
	background-color: #fffef5;
	background-image:linear-gradient(90deg, rgba(255, 255, 236, 0.6), rgba(255, 255, 255, 0)), url("https://rwd.eiken-academy.h2-server.com/rwd-top/img/ac_mv.png");
	background-repeat: no-repeat;
	overflow: hidden;
	background-position: 20% 0;
	background-size: auto 430px;
	margin-top:80px
}

.hero__cta__pc{
	display: none;
}

.hero__cta__sp{
	display: flex;
	flex-direction: column;
	align-items: center;
	padding:1rem;
}

.hero__cta__sp > .mv-3circle{
	width: 100%;
}

.main-content {
	padding: 2.5rem .8rem;
	max-width: 600px;
	margin: 0 auto;
}

.main-title {
	color:#222222;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.8;
	margin-bottom: 2rem;
	letter-spacing: 0.2em;
	margin-top:15%;
	padding-left: 5%;
}
.main-title_l{
	font-size: 36px;
}

.subtitle {
	color: #DE0009;
	font-size: 20px;
	text-align: center;
	line-height: 1.6;
	margin: 2rem 0 2.5rem;
	font-weight: 600;
	letter-spacing: 0.15em;
}

.subtitle_s{
	font-size: 15px;
	color: #222222;
}

.stats-container {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 auto 2.5rem;
	max-width: 400px;
}

.stat-item {
	background: #003686;
	color: white;
	border-radius: 50%;
	width: 105px;
	height: 105px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.5rem;
	font-size: 14px;
	border: 2px solid #ffd700;
	line-height: 1.3;
}

.stat-item .number {
	color: #ffd700;
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
	margin: 2px 0;
}

.main-bottom-text {
	text-align: center;
	margin: 2rem 0;
	font-size: 13px;
	color: #003C84;
	font-weight: 700;
}

.main-bottom-text_l{
	font-size: 16px;
}

.cta-wrap {
	display: flex;
	align-items: center;
	max-width: 500px;
	margin: 0 auto;
	padding: 0 10px;
	position: relative;
}

.quick-label {
	background: #FFF500;
	border-radius: 50%;
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #DE0009;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.2;
	border: 19px solid #DE0009;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.quick-label .seconds {
	font-size: 25px;
	font-weight: bold;
}

.cta-button {
	background: #e60012;
	color: white;
	text-decoration: none;
	padding: 16px 20px 16px 75px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 18px;
	font-weight: bold;
	flex-grow: 1;
	box-shadow: 0 3px 6px rgba(0,0,0,0.1);
	margin-left: 40px;
}

.arrow-circle {
	background: white;
	color: #e60012;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	margin-left: 10px;
	flex-shrink: 0;
}

/*!コース一覧 */
.course-wrapper {
	background: #003686;
	width: 100%;
	padding: 2rem 1rem;
}

.course-group{
	text-align: left;
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.course-section {
	background: #003686;
	padding: 2rem 1rem;
	max-width: 830px;  /* コンテンツの最大幅を830pxに */
	margin: 0 auto;    /* 中央揃え */
}

.course-title {
	color: white;
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
}

.title-decoration {
	display: inline-block;
	width: 50px;
	height: 4px;
	background: #ffd700;
}

.group-title {
	color: white;
	font-size: 18px;
	margin-bottom: 1rem;
	font-weight: 500;
}

.course-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.course-button {
	background: white;
	color: #2F2F2F;
	text-decoration: none;
	padding: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 500;
}

.course-button>.arrow{
	color:#4B4B4B;
}

.arrow {
	color: #003686;
	font-size: 12px;
	flex-shrink: 0;
}

/*!教室を探す*/
.location-wrapper {
	width: 100%;
	background: #fff;
	padding: 2rem 1rem;
}

.location-section {
	background: #fff;
	text-align: center;
	max-width: 1200px;
	margin: 0 auto;
}

.location-title,.topics-title,.news-title,.faq-title {
	color:#003C84;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 2rem;
	position: relative;
	display: inline-block;
	padding: 0 20px 4px;
	z-index: 1;
}

.title-decoration-yellow {
	position: absolute;
	left: 0;
	bottom: 3px;
	width: 100%;
	height: 17px;
	background: #FFC800;
	z-index: -1;
	transform: skewX(-45deg);
}

.area-groups-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
}

.area-group {
	text-align: left;
	margin-bottom: 2rem;
	flex: 0 1 100%;
}

.area-group h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #333;
}

.prefecture-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	width: 100%;
}

.prefecture-list .arrow{
	color:#fff;
}

.prefecture-btn {
	background: #f0f8ff;
	color: #0000ff;
	text-decoration: none;
	padding: 0.7rem;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 15px;
	flex: 0 1 auto;
	min-width: 80px;
}

.prefecture-btn>.arrow {
	color: #003C84;
	font-size: 12px;
	flex-shrink: 0;
}
.flow-section {
	background: #003686;
	padding: 2rem 1rem 3rem;
	margin-bottom:2em;
}

.flow-title {
	color: white;
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}
	
.flow-steps {
	max-width: 600px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.step-box {
	background: #f0f8ff;
	border-radius: 5px;
	padding: 2rem;
	position: relative;
	max-width: 600px;
	margin: 0.8rem auto;
	background: #DFEDFD;
}

.step-box:not(:last-child)::after {
	content: "▼";
	position: absolute;
	bottom: -38px;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 16px;
}

.step-label {
	position: absolute;
	top: -25px;
	left: 5px;
	color: #003686;
	padding: 4px 15px;
	font-weight: bold;
	font-size: 16px;
	/* 白い縁取り効果 */
	text-shadow: 
		2px 2px 0 #fff,
		-2px 2px 0 #fff,
		2px -2px 0 #fff,
		-2px -2px 0 #fff,
		2px 0 0 #fff,
		-2px 0 0 #fff,
		0 2px 0 #fff,
		0 -2px 0 #fff;
}

.step-label_l{
	font-size:24px;
	margin-left: 2px;
}

.step-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.step-text {
	flex-grow: 1;
	font-size: 17px;
	line-height: 1.5;
}

.step-head {
	font-size: 20px;
	font-weight: 600;
	display: block;
	margin-bottom: 0.3rem;
}

.step-icon {
	width: 130px!important;
	height: 100px;
	flex-shrink: 0;
	object-fit: contain;
}

.step-image {
	width: 100px;
	height: 100px;
	flex-shrink: 0;
}
.step-content_sp{
	display: flex;
	flex-direction: column;
}

.flow-section .view-all-button{
	margin:2em auto 0;
}


/*!CTA*/
.cta-section {
	background: #003686;
	padding: 2rem .5rem;
	text-align: center;
}

.cta-section:last-child{
	margin-bottom:30px;
}

.cta-text {
	color: #ffffff;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 1.5rem;
	text-shadow:
		2px 2px 0 #fff,
		-2px 2px 0 #fff,
		2px -2px 0 #fff,
		-2px -2px 0 #fff,
		2px 0 0 #fff,
		-2px 0 0 #fff,
		0 2px 0 #fff,
		0 -2px 0 #fff;
	color: #003686;
}

.cta-wrap {
	display: flex;
	align-items: center;
	max-width: 500px;
	margin: 0 auto;
	position: relative;
}

.quick-label {
	background: #FFF500;
	border-radius: 50%;
	width: 85px;
	height: 85px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #DE0009;
	font-size: 19px;
	font-weight: bold;
	line-height: 1.2;
	border: 5px solid #DE0009;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.quick-label .seconds {
	font-size: 25px;
	font-weight: bold;
}

.cta-button {
	background: #e60012;
	color: white;
	text-decoration: none;
	padding: 15px 15px 15px 40px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 19px;
	font-weight: bold;
	flex-grow: 1;
	box-shadow: 0 3px 6px rgba(0,0,0,0.1);
	margin-left: 40px;
}

.arrow-circle {
	background: white;
	color: #e60012;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 21px;
	padding-left: 3px;
	flex-shrink: 0;
}

/*! 項目別対策 */
.topics-section {
	padding: 2rem 1rem;
	max-width: 400px;
	margin: 0 auto;
	text-align: center;
}

	
.topic-item {
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
}

.topic-item a:hover{
	opacity: 0.7;
}

.topics-eiken{
	box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.1);
}

.topics-eiken a{
	text-decoration: none;
}

.topics-eiken:hover{
	opacity: 0.7;
}
.topics-eiken .topic-item{
	flex-direction: column;
	width: 100%;
}

.topics-eiken .topic-title{
	color:#BA0008;
	font-size:1.5em;
}

.topics-eiken .topic-button {
	background: #BA0008;
}

.topic-image {
	max-width: 400px;
	width: 100%;
	background: #f0f0f0;
}

.topic-content {
	text-align: center;
	padding:1em;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.topic-title {
	font-size: 20px;
	font-weight: 600;
	color: #003C84;
	margin-bottom: 0.5rem;
	text-align: left;
}

.topic-text {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
	margin-bottom: 1rem;
	text-align: left;
}

.topic-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	background: #003686;
	color: white;
	text-decoration: none;
	padding: 0.8rem;
	border-radius: 26px;
	font-size: 11px;
	font-weight: bold;
	margin-top: auto;
	margin-inline: auto;
	width:205px;
	height: 42px;
	line-height: 1.2;
}

/* 追加: テキスト用のスタイル */
.topic-button__text {
	flex: 1;
	text-align: center;
	font-size:11px;
}

/* 追加: 矢印用のスタイル */
.topic-button__arrow {
	flex-shrink: 0;
	font-size: 12px;
}

.topic-button > br{
	display: none;
}

/* !新デザイン2025-10-09 */
.topics-container {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

.topic-item {
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
}

.topics-eiken .topic-item {
	margin-bottom:2em;
}

.topic-image {
	max-width: 400px;
	width: 100%;
	background: #f0f0f0;
}

.topic-content {
	text-align: center;
	padding: 1em;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* タブレット以上 (769px以上) */
@media screen and (min-width: 769px) {
	.topics-container {
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}
	
	/* PC表示では4番目の要素から2カラムレイアウトに */
	.topic-item:nth-child(4) {
		grid-column: 1;
	}
	
	.topic-item:nth-child(5) {
		grid-column: 2;
	}
	
}

/* デスクトップ (960px以上) */
@media screen and (min-width: 960px) {
	.topics-container {
		gap: 40px;
	}
	
	.topic-item {
		width: 100%!important;
	}
}





/*!レベル別勉強法*/
.level-section {
	background: #003686;
	padding: 2rem 1rem 3rem 1rem;
}

.level-title {
	color: #fff;
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.level-title-text {
	display: inline-block;
	text-align: center;
	line-height: 1.4;
}
.level-title-text_s {
	font-size: 14px;
	display: inline-block;
}

.title-decoration {
	width: 50px;
	height: 4px;
	background: #ffd700;
	position: relative;
	transform: skewX(-15deg);
}

.level-list {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 15px 40px;
}

.level-button {
	background: white;
	color: #333;
	text-decoration: none;
	padding: 1rem;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 500;
	font-size: 16px;
	width: 390px;
}

.level-button .arrow {
	color: #4B4B4B;
	font-size: 12px;
}
/*!4つの理由*/
.reasons-section {
	padding: 2rem 0;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.reasons-title {
	color:#003C84;
	font-size: 24px;
	font-weight: 600;
	position: relative;
	display: inline-block;
	align-items: center;
	justify-content: center;
	z-index: 1;
	gap: 1rem;
	margin-bottom: 2rem;
}

.reasons-title-text {
	display: inline-block;
	text-align: center;
	line-height: 1.4;
}
.reasons-title-text_s {
	font-size: 14px;
	display: inline-block;
}

.reasons-title>.title-decoration-yellow{
	bottom:0;
}

.reason-item {
	margin-bottom: 3rem;
	color: white;
	position: relative;
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.reason-item::before {
	position: absolute;
	content:"";
	background: #003686;
	width:100%;
	height: 90%;
	z-index: 0;
}

.reason-image{
	width: 90%;
	max-width: 550px;
	z-index: 1;
}

.reason-image > img{
	width: 100%;
}

.reason-header {
	padding: 1rem 1rem 0.5rem;
}

.reason-label {
	display: inline-block;
	background: #FFC800;
	padding: 0.1rem 10rem 0.1em 2.7rem;
	margin:.8rem 0 2rem;
	color: #003686;
	font-weight: bold;
	font-size: 16px;
	position: relative;
	clip-path: polygon(25px 0, calc(100% - 0px) 0, calc(100% - 25px) 100%, 0 100%);
}

.reason-title {
	font-size: 24px;
	font-weight: 600;
	padding-left: 0.2rem;
}

.reason-content {
	padding: 0 1.5rem 1.5rem 1.5rem;
	font-size: 14px;
	line-height: 1.8;
	z-index: 1;
}

.reason-content p {
	margin-bottom: 1rem;
}

.reason-content p:last-child {
	margin-bottom: 0;
}

.features-section,.checklist-section{
	padding: 2rem 0;
	margin: 0 auto;
	text-align: center;
}

.features-section h2.topics-title{
	line-height: 1.3;
}

.features-image{
	padding:0 1rem;
}

.features-image > img,.checklist-image > img{
	width: 100%;
	max-width: 930px;
	margin-bottom:2rem;
}

/*!お悩みチェックシート*/
.check-title {
	color: #fff;
	text-align: center;
	font-size: 23px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.check-title-text {
	display: inline-block;
	text-align: center;
	line-height: 1.4;
}
.check-title-text_s {
	font-size: 16px;
	display: inline-block;
}

.checklist-image{
	padding:1rem;
}

/*!英検合格実績*/
.results-header {
	background: #003686;
	padding: 2rem 1rem;
}

.results-header-txt {
	background: #fff;
	color:#000;
}

.results-section {
	max-width: 600px;
	margin: 0 auto;
}

.results-title {
	color: white;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.title-decoration {
	width: 42px;
	height: 15px;
	background: #FFC800;
	transform: skewX(-45deg);
}

.results-subtitle {
	text-align: center;
	font-size: 1.3em;
	font-weight: 600;
	padding:2rem 2rem 1rem;
	margin-bottom: 0;
}

.result-section {
	background: #fff;
}

.result-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;
	max-width: 600px;
	margin: 0 auto;
}

.result-card {
	background: white;
	padding:  1rem 1rem 1.5rem 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
}

.result-image {
	width: 120px!important;
	height: 120px;
	background: #f0f0f0;
	flex-shrink: 0;
}

.result-content {
	margin-top: auto;
}

.result-content_title{
	font-size:20px;
	font-weight: 600;
	flex-grow: 1;
}

.result-text {
	font-size: 20px;
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.result-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #003686;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	border: 2px solid #003686;
	padding: 0.5rem;
	border-radius: 100px;
	width: 100%;
}

.result-button::after {
	content: "▶";
	margin-left: 0.5rem;
	font-size: 10px;
}

.pic-content{
	display: flex;
	max-width: 1200px;
	margin: 0 auto;
	gap: 3rem;
	padding: 3rem;
	flex-direction: column-reverse;
}

/*!傾向と対策 */
.tendency-section {
	padding: 2rem 1rem 3rem 1rem;
	text-align: center;
}

.tendency-title {
	color: #fff;
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.tendency-title-text {
	display: inline-block;
	text-align: center;
	line-height: 1.4; /* 行間を調整 */
}
.tendency-title-text_s {
	font-size: 14px;
	display: inline-block;
}

.tendency-list {
	max-width: 600px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tendency-button {
	background: #003686;
	color: #fff;
	text-decoration: none;
	padding: 1rem;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 500;
	font-size: 16px;
}

.tendency-button .arrow {
	color: #fff;
	font-size: 12px;
}

.tendency-section_desc{
	margin-bottom:2em;
}


/*!新着情報*/
.news-section {
	padding: 2rem 1rem;
	margin: 0 auto;
	text-align: center;
	background: #DFEDFD;
}

.news-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	text-align: left;
	max-width: 1000px;
	margin: 0 auto;
}

.news-item {
	background: white;
	border-radius: 8px;
	padding: 1.2rem;
}

.news-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.news-date {
	color: #666;
	font-size: 14px;
}

.news-category {
	color: #666;
	font-size: 14px;
	background: #DFEDFD;
	padding:3px 5px;
}

.news-text {
	font-size: 14px;
	line-height: 1.4;
	color:#4857FB;
	text-decoration:underline solid #4857FB;
}

.view-all-button {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #003686;
	background: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	border: 2px solid #003686;
	padding: 0.5rem;
	border-radius: 100px;
	max-width: 300px;
	margin: 2em auto;
	width: 80%;
}

.view-all-button::after {
	content: "▶";
	margin-left: 0.5rem;
	font-size: 10px;
}
/*faq*/
.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: 1000px;
	margin: 0 auto;
}

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

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

.faq-label {
	padding: 1rem;
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
	position: relative;
	font-size: 14px;
	line-height: 1.6;
}

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

/*faq*/
.faq-arrow {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 8px solid #003686;
	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 1rem 1rem 2.5rem;
}

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

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

/*!youtube動画レスポンシブ対応*/
/*.yt-video {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.yt-video iframe {
  width: 100%;
  height: 100%;
}

*/
.yt-video {
  width: 95%;
  aspect-ratio: 16 / 9;
  max-width: 870px;
  margin:0 auto;
  padding:0 10px;
}
.yt-video iframe {
  width: 100%;
  height: 100%;
}

/*CTA*/
.cta-image{
	width: 100%;
	max-width: 500px;
}

.mv-cta-txt{
	width: 100%;
	margin:2rem 0 0.5rem;
	max-width: 500px;
}


.mv-3circle{
	width: 120%;
	max-width: 500px;
}

.mv-cta{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mv-catch-txt_pc{
	width: 100%;
	max-width: 600px;
	margin-bottom:1rem;
}

.br_pc { display:none; }
.br_sp { display:inline; }

.cta-pc{
	display: none;
}
.cta-btn_sp{
	width: 95%!important;
}

.cta-txt_sp{
	width: 60%!important;
	margin-bottom: 1rem;
}

.cta-sp{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.online-video video{
	width: 90%;
}

/*!タブレット*/
@media screen and (min-width: 769px) {
	.hero{
		background-size: auto;
	}
	
	.main-title{
		padding-left:0;
		max-width: 600px;
		margin: 0 auto;
	}
	
	.cta-txt_sp{
		width: 50%!important;
		margin-bottom: 1rem;
	}
	
	.topics-section {
		max-width: 100%;
		padding: 2rem 1.5rem;
	}
	
	.topics-col{
		display: flex;
		gap:10px;
		//justify-content: space-between;
	}
	
	.topic-item{
		width: 30%;
	}
	
	.topics-eiken .topic-item{
		flex-direction: row;
	}
	
}

/*! PC表示用のスタイル - 画面幅が768px以上の場合に適用 */
@media screen and (min-width: 960px) {
	
	
	/* セクション全体のスタイル調整 */
	.course-section {
		padding: 2rem;
		margin: 0 auto;     /* 中央寄せ */
	}

	/* コースグループのコンテナ - 2カラムレイアウト用 */
	.course-groups-container {
		display: flex;      /* フレックスボックスで横並び */
		gap: 2rem;         /* グループ間の間隔 */
	}

	/* 各コースグループ */
	.course-group {
		flex: 1;           /* 均等に幅を分配 */
	}

	/* グループタイトル（学校別コース、その他） */
	.group-title {
		margin-bottom: 1rem;
	}

	/* コースリストのマージン調整 */
	.course-list {
		margin-bottom: 0;  /* モバイル用の下マージンを解除 */
	}

	/* コースボタンのフォントサイズ調整 */
	.course-button {
		font-size: 16px;   /* PC表示用に文字サイズを大きく */
	}
	/*エリアグループ*/
	.location-wrapper {
		padding: 2rem;
	}
	
	.area-groups-container {
		gap: .5rem;
		justify-content: space-between;
	}
	
	.area-group {
		flex: 0 1 calc(33.333% - 0.5rem);  /* PCでは3カラム */
	}
	
	/*!教室を探す*/
	.flow-steps {
		max-width: 1200px;
		flex-direction: row;
	}
	
	.step-content{
		flex-direction: column;
		height: 100%;
		gap:0;
	}
	
	.step-content_sp .step-head{
		text-align: center;
	}
	
	.step-box{
		width: 23%;
	}
	
	.step-head{
		min-height: 70px;
	}
	
	.step-icon{
		margin-top: auto;
	}
	
	.step-box:not(:last-child)::after {
		content: "▶";
		position: absolute;
		bottom: 50%;
		left: 106%;
		transform: translateX(-50%);
		color: white;
		font-size: 16px;
	}
	.topics-section{
		max-width: 1050px;
	}
	
	.topic-text{
		font-size: 14px;
	}
	
	.topics-col{
		display: flex;
		gap: 40px;
	}
	
	.topics-col > .topic-item{
		//width: 325px;
		height: 560px;
	}
	
	.topics-row > .topic-item{
		display: flex;
		flex-direction: row-reverse;
	}
	
	.topics-eiken .topic-image{
		max-width: 538px;
	}
	
	
	.reason-content{
		width: 100%;
		padding: 0 1.5rem 1.5rem 1.5rem;
		z-index: 1;
	}
	
	.reason-item{
		max-width:1200px;
		background: none;
		padding-bottom:1.5rem;
	}
	.reason-item::before{
		position: absolute;
		content:"";
		background: #003686;
		width:85%;
		height: 100%;
		z-index: 0;
	}
	
	.reason-image{
		width: 100%;
		max-width: 550px;
		z-index: 1;
	}
	
	.reason-image > img{
		width: 100%;
	}
	
	.reason-item--right-image{
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	
	.reason-item--left-image{
		display: flex;
		flex-direction: row-reverse;
		align-items: center;
	}
	
	.tendency-list{
		max-width: 790px;
		flex-direction: row;
		flex-wrap: wrap;
		gap:1rem 1.75rem;
	}
	
	.tendency-button{
		width: 380px;
	}
	
	.result-list{
		max-width: 1200px;
		flex-direction: row;
		justify-content: center;
	}
	
	.result-card{
		height: 490px;
		flex-direction: column;
		width: 25%;
	}
	
	.result-image {
		width: 100%!important;
		height: auto;
	}

	.topic-button > br{
		display: block;
	}
	
	.br_pc { display:inline; }
	.br_sp { display:none; }
		
	.pic-content{
		flex-direction: row;
		padding:3rem 0;
	}
	
	.pic-txt{
		width: 50%;
	}
	
	.pic-content > .yt-video{
		width: 50%;
	}
	
	/* ヒーローセクション */
	
	.hero {
		background-image: none;
		margin-top: 80px;
		background-size: auto;
	}

	.hero::after {
		content: '';
		position: absolute;
		right: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-image: linear-gradient(90deg, rgba(255, 255, 236, 0.6), rgba(255, 255, 255, 0)), url("https://rwd.eiken-academy.h2-server.com/rwd-top/img/ac_mv.png");
		background-repeat: no-repeat;
		background-size: cover;
		z-index: 1;
		background-position: center center;
		transform: translateX(25%);
	}

	.hero__container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 4rem 2rem;
		position: relative;
		display: flex;
		min-height: 600px;
	}
	
	.hero__content {
		width: 55%;
		position: relative;
		z-index: 2;
	}
	
	/* キャッチコピー */
	.hero__catch {
		margin-bottom: 2rem;
	}
	
	.catch-main {
		background: #003686;
		color: white;
		font-weight: bold;
		font-size: 24px;
		padding: 0.5rem 2rem;
		margin-bottom: 0.5rem;
		display: inline-block;
	}
	
	.catch-sub {
		background: #003686;
		color: #ffd700;
		font-weight: bold;
		font-size: 32px;
		padding: 0.5rem 2rem;
		display: inline-block;
	}
	
	
	/* CTA */
	.hero__cta {
		max-width: 650px;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding:1rem;
	}
	
	.cta__text {
		text-align: center;
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 1rem;
	}
	
	.cta__button {
		/* 既存のボタンスタイル */
	}
	.hero__container {
		min-height: auto;
	}

	.hero__content {
		max-width: 650px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hero__stats {
		justify-content: center;
		flex-wrap: wrap;
	}
	
	.main-title {
		color:#222222;
		font-size: 53px;
		font-weight: 700;
		line-height: 1.3;
		margin-bottom: 2rem;
		letter-spacing: 0.2em;
		margin-top:0;
		padding-left: 0%;
	}
	
	.main-title_l{
		font-size: 76px;
	}
	
	/*!sp/pc切り替え*/
	.hero__cta__sp{
		display: none;
	}
	
	.hero__cta__pc{
		display: block;
	}
	
	.cta-pc{
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.cta-btn_pc{
		width: 120%;
		max-width: 500px;
	}
	
	.cta-txt_pc{
		width: 100%;
		max-width: 600px;
		margin-bottom: 1rem;
	}
	
	.cta-sp{
		display: none;
	}
	
	.title-decoration{
		width: 165px;
	}
		
	.reasons-title{
		margin-bottom: 2rem;
	}
	
	.online-video video{
		width: 960px;
		margin:30px 0;
	}

}

/*!トップページ比較表*/
.ct-wrapper {
	max-width: 1200px;
	margin: 0 auto 3em;
	background: white;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	position: relative;
}

.ct-title-section {
	background: #4a5568;
	color: white;
	padding: 30px;
	text-align: center;
}

.ct-title-section h1 {
	font-size: 2rem;
	margin-bottom: 10px;
	font-weight: 700;
}

.ct-title-section p {
	opacity: 0.9;
	font-size: 1.1rem;
}

.ct-scroll-area {
	overflow-x: auto;
	padding: 0;
	position: relative;
}

.ct-scroll-message {
	display: none;
	background: #e3f2fd;
	color: #1976d2;
	padding: 8px 15px;
	text-align: center;
	font-size: 0.9rem;
	border-bottom: 1px solid #bbdefb;
}

.ct-comparison-table {
	width: 100%;
	min-width: 800px;
	border-collapse: collapse;
	font-size: 14px;
	position: relative;
}

.ct-table-head {
	background: #003686;
	color: white;
	padding: 20px 15px;
	text-align: center;
	font-weight: 600;
	font-size: 0.95rem;
	position: sticky;
	top: 0;
	z-index: 10;
	white-space: nowrap;
	border-right: 1px solid #ddd;
}

.ct-fixed-header {
	position: sticky;
	left: 0;
	top: 0;
	z-index: 30;
	width: 126px;
	min-width: 126px;
	box-shadow: 6px 0 8px rgba(0,0,0,0.1);
	background: #003686 !important;
	border-right: 1px solid #ddd;
	margin-right: -3px;
	padding-right: 18px;
}

.ct-featured-header {
	background: #f44336 !important;
	position: sticky;
	top: 0;
	z-index: 15;
}

.ct-table-cell {
	padding: 20px 15px;
	text-align: center;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	transition: all 0.3s ease;
	min-width: 150px;
}

.ct-table-row:hover .ct-table-cell {
	background-color: #f8f9ff;
}

.ct-table-row:hover .ct-fixed-cell {
	background-color: #d1ecf1 !important;
}

.ct-table-row:hover .ct-featured-cell {
	background-color: #f8d7da;
}

.ct-fixed-cell {
	background: #e3f2fd !important;
	font-weight: 600;
	color: #003686;
	text-align: center;
	white-space: nowrap;
	width: 126px;
	min-width: 126px;
	position: sticky;
	left: 0;
	z-index: 15;
	box-shadow: 6px 0 8px rgba(0,0,0,0.1);
	border-right: 1px solid #bbdefb;
	margin-right: -3px;
	padding-right: 18px;
	border-bottom: 1px solid #ddd;
}

.ct-featured-cell {
	background: #ffebee;
	font-weight: 600;
}

.ct-symbol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	font-weight: bold;
	font-size: 1.6rem;
	margin-bottom: 8px;
}

.ct-featured-cell .ct-symbol{
	font-size: 1.8rem;
	color: #f44336;
}

.ct-excellent {
	color: #f44336;
}

.ct-good {
	color: #2196f3;
}

.ct-average {
	color: #ff9800;
}

.ct-poor {
	color: #888;
	font-weight:300;
}

.ct-detail-text {
	font-size: 0.85rem;
	color: #111;
	line-height: 1.4;
	margin-top: 5px;
}

.ct-featured-cell .ct-detail-text {
	color: #c62828;
	font-weight: 500;
}

.ct-footer-note {
	padding: 20px 30px;
	background: #f8f9fa;
	color: #333;
	font-size: 0.9rem;
	text-align: center;
	border-top: 1px solid #e9ecef;
}

/* 固定ヘッダーのコンテナ */
.ct-fixed-thead-container {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 900; /* グローバルナビより低く設定 */
	visibility: hidden;
	pointer-events: none;
	background: transparent;
}

.ct-fixed-thead-wrapper {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.ct-fixed-thead-scroll {
	overflow: hidden;
	background: white;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ct-fixed-table {
	min-width: 800px;
	width: 100%;
	border-collapse: collapse;
}

@media (max-width: 768px) {	
	.ct-wrapper {
		margin: 0;
		border-radius: 12px;
		padding: 10px;
	}
	
	.ct-title-section {
		padding: 20px;
	}
	
	.ct-title-section h1 {
		font-size: 1.5rem;
	}
	
	.ct-scroll-message {
		display: block !important;
	}
	
	.ct-scroll-area {
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
	}
	
	.ct-scroll-area::-webkit-scrollbar {
		height: 8px;
	}
	
	.ct-scroll-area::-webkit-scrollbar-track {
		background: #f1f1f1;
		border-radius: 10px;
	}
	
	.ct-scroll-area::-webkit-scrollbar-thumb {
		background: #888;
		border-radius: 10px;
	}
	
	.ct-scroll-area::-webkit-scrollbar-thumb:hover {
		background: #555;
	}
	
	.ct-table-head {
		padding: 12px 8px;
		font-size: 0.8rem;
		position: sticky;
		top: 0;
		z-index: 10;
		background: #003686 !important;
	}
	
	.ct-table-cell {
		padding: 12px 8px;
		font-size: 0.8rem;
	}
	
	.ct-symbol {
		width: 25px;
		height: 25px;
		font-size: 1.4rem;
	}
	
	.ct-featured-cell .ct-symbol {
		font-size: 1.6rem;
	}
	
	.ct-fixed-header {
		width: 106px;
		min-width: 106px;
		left: 0;
		top: 0;
		z-index: 30;
		background: #003686 !important;
		box-shadow: 6px 0 8px rgba(0,0,0,0.1);
		border-right: 1px solid #ddd;
		margin-right: -3px;
		padding-right: 15px;
	}
	
	.ct-featured-header {
		width: auto;
		min-width: 120px;
		background:#f44336 !important
	}
	
	.ct-fixed-cell {
		width: 106px;
		min-width: 106px;
		left: 0;
		z-index: 15;
		background: #e3f2fd !important;
		box-shadow: 6px 0 8px rgba(0,0,0,0.1);
		border-right: 1px solid #ddd;
		margin-right: -3px;
		padding-right: 15px;
	}
	
	.ct-featured-cell {
		width: auto;
		min-width: 120px;
	}
	
	.ct-table-cell:not(.ct-fixed-cell):not(.ct-featured-cell) {
		min-width: 120px;
	}

	.ct-fixed-thead-wrapper {
		padding: 0 10px;
	}
}




/*! 項目別対策見出し新デザイン */ 
 .topics-eiken {
	  margin-bottom: 70px;
 }
 .prep-heading {
	 position: relative;
	 text-align: center;
	 margin: 40px auto;
 }
 
 .prep-heading--eiken::before {
	 content: "人気No.1";
	 position: absolute;
	 top: -30px;
	 left: 50%;
	 transform: translateX(-50%);
	 font-size: 14px;
	 color: #26528A;
	 white-space: nowrap;
	 letter-spacing: 1px;
 }
 
 .prep-heading__text {
	 display: inline-flex;
	 gap: 10px;
	 padding-bottom: 15px;
 }
 
 .prep-heading__char {
	 display: inline-block;
	 width: 40px;
	 height: 40px;
	 background-color: #2B5BA5;
	 color: white;
	 font-size: 26px;
	 font-weight: 500;
	 display: flex;
	 align-items: center;
	 justify-content: center;
 }
 
 .prep-heading__char--outline {
	 background-color: white;
	 color: #2B5BA5;
	 border: 2px solid #2B5BA5;
 }
 
 .prep-heading__decoration {
	 position: absolute;
	 bottom: -5px;
	 left: 50%;
	 transform: translateX(-50%) skewX(-10deg);
	 width: 80px;
	 height: 6px;
	 background: linear-gradient(to right, #FFD700, rgba(255, 215, 0, 1), rgba(255, 215, 0, 0));
	 border-radius: 2px;
	 clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
 }
 
 /* その他の項目別対策用 */
 .prep-heading--other::before {
	 content: "英検対策以外の";
	 position: absolute;
	 top: -30px;
	 left: 50%;
	 transform: translateX(-50%);
	 font-size: 14px;
	 color: #26528A;
	 white-space: nowrap;
	 letter-spacing: 1px;
 }
 
 
 @media (max-width: 768px) {
	 .topics-eiken, .topic-item--accordion {
		 margin-bottom: 20px !important;
	 }
 }
 
 
 
 /*! 冬期講習バナー */
 .winter-banner{
	 text-align: center;
	 padding:2rem 1rem;
 }
 
 .winter-banner a:hover{
	 opacity:0.8;
 }
 
 .pc-banner { display:none; }
 .sp-banner { display:inline; }
 
 @media screen and (min-width: 960px) {
 
 .pc-banner { display:inline; }
 .sp-banner { display:none; }
 }
 
 
 /*! 新FAQ */
	  .new-faq {
		max-width: 1000px;
		margin: 0 auto;
	  }
  
	  .new-faq__category {
		margin-bottom: 20px;
		border: 1px solid #ddd;
		border-radius: 8px;
		overflow: hidden;
		background-color: #fff;
	  }
  
	  /* チェックボックスを非表示 */
	  .new-faq__toggle {
		display: none;
	  }
  
	  /* カテゴリータイトル */
	  .new-faq__category-title {
		display: block;
		margin: 0;
		padding: 10px;
		background-color: #003686;
		cursor: pointer;
		position: relative;
		transition: background-color 0.3s ease;
		font-size: 18px!important;
		font-weight: 600;
		color:#fff;
	  }
 
  
	  /* アコーディオンの開閉アイコン */
	  .new-faq__category-title::after {
		content: '+';
		position: absolute;
		right: 20px;
		top: 45%;
		transform: translateY(-50%);
		font-size: 28px;
		font-weight: 500;
		transition: transform 0.3s ease;
		color: #fff;
	  }
  
	  /* チェックボックスがチェックされた時のアイコン */
	  .new-faq__toggle:checked + .new-faq__category-title::after {
		content: '−';
	  }
  
	  /* コンテンツエリア */
	  .new-faq__category-content {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.15s ease-out;
	  }
  
	  /* チェックボックスがチェックされた時にコンテンツを表示 */
	  .new-faq__toggle:checked ~ .new-faq__category-content {
		max-height: 3000px;
	  }
  
	  .new-faq__item {
		padding: 20px 40px;
		//border-top: 1px solid #eee;
		text-align: left;
	  }
  
	  .new-faq__item:first-child {
		border-top: none;
	  }
  
	  .new-faq__question {
		margin: 0 0 10px 0;
		font-weight: 700;
		font-size: 16px!important;
		border-bottom: 2px dotted #003686;
		padding-bottom: 5px;
	  }
  
	  .new-faq__answer {
		margin: 0;
		line-height: 1.8;
		color: #555;
		font-weight: normal;
		font-size: 15px!important;
	  }
  
	  /* ユーティリティクラス */
	  .new-faq .f22 {
		font-size: 22px;
	  }
  
	  .new-faq .f18 {
		font-size: 18px;
	  }
  
	  .new-faq .blue {
		color: #003686;
	  }