* {
	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;
}

.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;
}

/*!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;
	box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
}

.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;
}

/*!レベル別勉強法*/
.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: 16px;
	font-weight: 600;
	padding:2rem;
	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%;
}

/*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;
	}
	
	


}
