@charset "UTF-8";

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	font-size: 62.5%;
}

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

body {
	position: relative;
	height: 100%;
	background: #fff;
	color: #333;
	margin: 0;
	word-wrap: break-word;
	letter-spacing: 0.1em;
	font-weight: 400;
	font-size: 1.4rem;
	font-family: "Zen Kaku Gothic New", sans-serif;
	line-height: 1.5;
	overflow-wrap: break-word;
	-webkit-text-size-adjust: 100%;
}

section {
	position: relative;
	z-index: 2;
	background-color: #FDF9F6;
}

a {
	color: #333;
	text-decoration: none;
}

ul, li {
	list-style: none;
}

img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* フェードインアニメーション */
.fade_in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade_in.is-show {
	opacity: 1;
	transform: translateY(0);
}

/* ヘッダー */
.header {
	margin: 0 auto;
	padding: 16px;
	background-color: #fff;
	box-sizing: border-box;
}

.header img {
	width: 70%;
	height: auto;
	display: block;
}

/* PC背景 */
.lp_bg {
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url("../img/bg.png");
}

.lp_bg_layer::before {
	content: '';
	position: fixed;
	top: 10%;
	left: 0;
	transform: translateY(-50%);
	width: 300px;
	height: 200px;
	background-image: url("../img/bg_left.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left center;
	pointer-events: none;
}

.lp_bg_layer::after {
	content: '';
	position: fixed;
	top: 10%;
	right: 0;
	transform: translateY(-50%);
	width: 300px;
	height: 200px;
	background-image: url("../img/bg_right.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: right center;
	pointer-events: none;
}

/* コンテンツ中身 */
.design_lp {
	max-width: 480px;
	margin: 0 auto;
	background: #FDF9F6;
	box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

@media screen and (max-width: 767px) {
	.design_lp {
		width: auto;
	}
}

.inner {
	padding: 0 24px 48px;
	border-radius: 10px;
	display: grid;
	gap: 24px;
}

h1.lpimg {
	margin: 0;
	padding: 0;
	line-height: 1;
	font-size: 0;
	width: 100%;
}

h2 {
	margin: 0;
	padding: 0 0 24px;
}

h2 img {
	width: 100%;
	display: block;
	margin: 0 auto;
}

.pd-top {
	padding-top: 48px;
}

.txt_bold {
	font-weight: 700;
}

.br_pc {
	display: block;
}

.br_sp {
	display: none;
}

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

.deco_divider {
	position: relative;
	z-index: 2;
}

/* ファーストビュー */
.mv_area {
	position: relative;
	z-index: 2;
}

.mv_area .mv_btn_area {
	width: 96%;
	margin: 0 auto;
	padding: 0 16px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 8%;
}

.mv_area .mv_btn_area a {
	display: block;
}

.mv_area .mv_btn_area a img {
	position: relative;
	top: 0;
	width: 100%;
	filter: drop-shadow(0px 6px 0px #ffffff);
	transition: top 0.2s ease, filter 0.2s ease;
}

.mv_area .mv_btn_area a:hover img {
	top: 6px;
	filter: drop-shadow(0px 0px 0px #ffffff);
}

/* サイドメニュー */
.side_area {
	position: fixed;
	top: 50%;
	left: calc((100vw - 480px) / 4);
	transform: translate(-50%, -50%);
	width: calc((100vw - 480px) / 2 * 0.8);
	max-width: 320px;
	min-width: 180px;
	z-index: 100;
	box-sizing: border-box;
	background-color: transparent;
}

.side_logo {
	width: 90%;
	margin-bottom: 24px;
}

.side_btn {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.side_btn li a {
	display: block;
	border-radius: 8px;
	box-shadow: 0 4px 0 0 #E2DDD4;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.side_btn li a:hover {
	transform: translateY(2px);
	box-shadow: 0 0 0 0 #E2DDD4;
}

.side_btn img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: inherit;
}

@media screen and (max-width: 900px) {
	.side_area {
		display: none;
	}
}

.side_nav_box {
	margin-top: 24px;
	padding: 24px;
	background-color: #FFF3C6;
	border-radius: 20px;
	box-sizing: border-box;
}

.side_nav_list {
	display: grid;
	gap: 10px;
}

.side_nav_list a {
	display: flex;
	align-items: center;
	font-weight: 700;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.side_nav_list a::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 2px; 
	background-color: currentColor;
	margin-right: 8px;
	flex-shrink: 0;
}

.side_nav_list a:hover {
	opacity: 1;
}

.side_nav_list a:hover::before {
	width: 14px;
	transition: width 0.2s ease;
}

/* 3つの理由 */
.sec_reason h2,
.sec_reason .reason_area {
	position: relative;
	z-index: 2;
}

.deco_pattern {
	position: absolute;
	pointer-events: none;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 1;
}

.pattern_01 {
	width: 180px;
	height: 135px;
	background-image: url("../img/bg_pattern01.png");
	top: 0;
	left: 0;
}

.pattern_02 {
	width: 150px;
	height: 200px;
	background-image: url("../img/bg_pattern02.png");
	top: 10%;
	right: 0;
}

.pattern_03 {
	width: 180px;
	height: 240px;
	background-image: url("../img/bg_pattern03.png");
	top: 45%;
	left: 0;
}

.pattern_04 {
	width: 150px;
	height: 200px;
	background-image: url("../img/bg_pattern04.png");
	top: 75%;
	right: 0;
}

.pattern_05 {
	width: 180px;
	height: 135px;
	background-image: url("../img/bg_pattern05.png");
	top: 90%;
	left: 25%;
}

.reason_box {
	display: grid;
	gap: 24px;
}

.reason_item {
	position: relative;
	display: grid;
	gap: 16px;
	width: 100%;
	padding: 16px;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.10);
}

.point-icon_01 {
	width: 90px;
	height: 91px;
	background-image: url("../img/icon_point01.png");
	top: 2%;
	left: 2%;
}

.point-icon_02 {
	width: 90px;
	height: 91px;
	background-image: url("../img/icon_point02.png");
	top: 2%;
	left: 2%;
}

.point-icon_03 {
	width: 90px;
	height: 91px;
	background-image: url("../img/icon_point03.png");
	top: 2%;
	left: 2%;
}

.reason_img img {
	border-radius: 4px;
}

.reason_txt {
	display: grid;
	gap: 8px;
}

.reason_ttl {
	text-align: center;
	font-size: 2rem;
	font-weight: 700;
}

.txt_blue { color: #4188BA; }
.txt_pink { color: #DB7E8B; }
.txt_orange { color: #EAA71F; }

/* サポート詳細 アコーディオン */
.support-accordion {
	border: 1px solid #4188BA;
	border-radius: 8px;
}

.accordion-header {
	padding: 12px 16px;
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	user-select: none;
}

.accordion-header::-webkit-details-marker {
	display: none;
}

.accordion-header::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #666;
	transition: transform 0.2s ease;
}

.support-accordion[open] .accordion-header::after {
	transform: rotate(180deg);
}

.accordion-content {
	display: grid;
	gap: 16px;
	padding: 16px;
	border-top: 1px solid #e0e0e0;
}

.point-label {
	display: inline-block;
	background-color: #4188BA;
	color: #fff;
	margin-bottom: 4px;
	padding: 4px 8px;
	border-radius: 4px;
}

/* CVボタン */
.cv_area {
	width: 100%;
	margin: 0 auto;
	padding: 16px 0 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 12px;
}

.cv_area a {
	position: relative;
	top: 0;
	display: block;
	filter: drop-shadow(0 6px 0 #E2DDD4);
	transition: top 0.2s ease, filter 0.2s ease;
}

.cv_area a:hover {
	top: 6px;
	filter: drop-shadow(0px 0px 0px #E2DDD4);
}

.cv_area .cv_btn--full {
	grid-column: 1 / -1;
}

.sec_oc .inner .cv_area a {
	filter: drop-shadow(0 6px 0 #EAD7B0);
}

.sec_oc .inner .cv_area a:hover {
	filter: drop-shadow(0 0px 0 #EAD7B0);
}

footer .inner .cv_area a {
	filter: drop-shadow(0 6px 0 #C3CCD6);
}

footer .inner .cv_area a:hover {
	filter: drop-shadow(0 0px 0 #C3CCD6);
}

/* マルチカリキュラム制度 */
.sec_mulch-curriculum {
	background-color: #DBE7F4;
	z-index: 3;
}

.illust_dogcat {
	width: 80px;
	height: 80px;
	background-image: url("../img/img_illust-dogcat.png");
	right: 5%;
	bottom: -5%;
	z-index: 3;
}

/* +αの学びも充実 */
.sec_manabi .inner {
	padding-bottom: 16px;
}

.slick-container {
	width: 100%;
	overflow: hidden;
	padding: 20px 0 8px;
	box-sizing: border-box;
}

.custom-slider .slick-list {
	overflow: visible !important;
}

.custom-slider .slide-item {
	padding: 0 8px;
	box-sizing: border-box;
}

.custom-slider .slide-inner {
	display: flex;
	flex-direction: column;
}

.custom-slider .slide-img img {
	width: 80%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.custom-slider .slide-content {
	padding: 0 8px;
}

.custom-slider .slide-title {
	margin: -24px 0 8px 12px;
	position: relative;
	z-index: 2;
	font-size: 18px;
	font-weight: bold;
	color: #333333;
	line-height: 1.3;
	text-shadow: 2px 2px 0 #FDF9F6, -2px 2px 0 #FDF9F6, 2px -2px 0 #FDF9F6, -2px -2px 0 #FDF9F6, 0px 2px 0 #FDF9F6, 0px -2px 0 #FDF9F6, 2px 0px 0 #FDF9F6, -2px 0px 0 #FDF9F6;
}

/* Slick 左右矢印ボタン（外枠の丸） */
.custom-slider .slick-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 40px !important;
	height: 40px !important;
	background-color: rgba(255, 255, 255, 0.9) !important;
	border-radius: 50% !important;
	border: none !important;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: opacity 0.2s ease, background-color 0.2s ease;
	padding: 0 !important;
	font-size: 0 !important;
}

.custom-slider .slick-arrow:hover {
	background-color: #ffffff !important;
}

/* 不要なデフォルト擬似要素を完全に非表示 */
.custom-slider .slick-arrow::before {
	display: none !important;
	content: "" !important;
}

/* 自作の矢印（.arrow-icon） */
.custom-slider .arrow-icon {
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 8px;     /* ここで確実にサイズ調整が可能 */
	height: 8px;    /* ここで確実にサイズ調整が可能 */
	border-top: 2px solid #166A99;
	border-right: 2px solid #166A99;
}

/* 左ボタンの位置と角度 */
.custom-slider .slick-prev {
	left: 15px;
}
.custom-slider .slick-prev .arrow-icon {
	transform: rotate(-135deg);
	margin-left: 17px; /* 中央補正 */
}

/* 右ボタンの位置と角度 */
.custom-slider .slick-next {
	right: 15px;
}
.custom-slider .slick-next .arrow-icon {
	transform: rotate(45deg);
	margin-left: 13px; /* 中央補正 */
}

/* スマホ幅（480px以下）での調整 */
@media screen and (max-width: 480px) {
	.custom-slider .slick-arrow {
		width: 38px !important;
		height: 38px !important;
	}
	.custom-slider .slick-prev {
		left: 8px;
	}
	.custom-slider .slick-prev .arrow-icon {
		margin-left: 16px;
	}
	.custom-slider .slick-next {
		right: 8px;
	}
	.custom-slider .slick-next .arrow-icon {
		margin-left: 12px;
	}
}

/* slick ページャー（ドット）のカスタム仕様 */
.custom-slider.slick-dotted.slick-slider {
	margin-bottom: 30px;
}

.custom-slider .slick-dots {
	bottom: -32px;
}

.custom-slider .slick-dots li {
	margin: 0 2px;
}

.custom-slider .slick-dots li button:before {
	font-size: 10px;
	color: #AECBDC;
	opacity: 1;
}

.custom-slider .slick-dots li.slick-active button:before {
	color: #166A99;
	opacity: 1;
}

/* 在校生たちのリアルボイス */
.sec_real-voice {
	background-color: #DBE7F4;
}

.sec_real-voice .inner {
	padding-bottom: 16px;
}

.sec_real-voice h2 {
	padding-top: 16px;
}

.real-voice_profile {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.real-voice_thumb {
	width: 100px;
	height: 100px;
	flex-shrink: 0;
}

.real-voice_catch img {
	max-width: 100%;
	height: auto;
}

.real-voice_name {
	font-weight: bold;
	color: #166A99;
	margin: 8px 0 0 0;
}

.comment_wrap {
	position: relative;
}

.text {
	height: 120px;
	overflow: hidden;
	margin: 0;
	line-height: 1.6;
}

.comment_wrap:not(.is-open)::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background: linear-gradient(180deg, rgba(219, 231, 244, 0) 0%, rgba(219, 231, 244, 1) 70%);
	pointer-events: none;
	z-index: 1;
}

.show_more {
	position: relative;
	z-index: 2;
	display: block;
	width: 160px;
	margin: 12px auto 0;
	padding: 8px 16px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #166A99;
	background-color: #ffffff;
	border: 1px solid #333;
	border-radius: 4px;
	cursor: pointer;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

.show_more.active {
	position: relative;
	bottom: auto;
	left: auto;
	height: auto;
	padding-top: 12px;
	background: none;
}

/* オープンキャンパス */
.sec_oc {
	background-color: #FFF3C6;
}

.sec_oc .pd-top {
	padding-top: 24px;
}

.program_column {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	padding-top: 8px;
}

.program_card {
	background-color: #FFF9E5;
	border-radius: 4px;
	overflow: hidden;
}

.program_card figure img {
	width: 100%;
	height: auto;
	display: block;
}

.program_txt {
	padding: 8px;
	font-size: 1.2rem;
}

/* よくある質問 */
.sec_faq {
	background-color: #fff;
}

.sec_faq .pd-top {
	padding-top: 24px;
}

.faq_list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq_item {
	background-color: #DBE7F4;
	border-radius: 8px;
	overflow: hidden;
}

.faq_q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
	cursor: pointer;
	margin: 0;
}

.faq_q_txt {
	position: relative;
	padding-left: 32px;
	font-weight: 700;
	text-align: left;
	font-size: 1.6rem;
}

.faq_q_txt::before {
	content: "";
	position: absolute;
	top: calc((1.6rem * 1.5 - 23px) / 2);
	left: 0;
	width: 23px;
	height: 23px;
	background: url("../img/icon_Q.svg") no-repeat center / contain;
}

.faq_icon {
	position: relative;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-left: 12px;
}

.faq_icon::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #166A99;
	transform: translateY(-50%);
}

.faq_icon::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	background-color: #166A99;
	transform: translateX(-50%);
	transition: transform 0.3s ease;
}

.faq_item.is-open .faq_icon::after {
	transform: translateX(-50%) rotate(90deg);
	opacity: 0;
}

.faq_a {
	display: none;
	padding: 0 16px 16px;
	margin: 0;
}

.faq_a_txt {
	position: relative;
	padding-left: 32px;
	margin: 0;
}

.faq_a_txt::before {
	content: "";
	position: absolute;
	top: calc((1.4rem * 1.5 - 23px) / 2 + 4px);
	left: 0;
	width: 23px;
	height: 23px;
	background: url("../img/icon_A.svg") no-repeat center / contain;
}

/* フッター */
footer {
	background-color: #DBE7F4;
	padding-bottom: 56px;
}

.footer_logo {
	padding: 32px 24px 0;
}

/* 固定CVボタン */
.sp_fix_cv {
	display: none;
}

@media screen and (max-width: 768px) {
	.sp_fix_cv {
		display: flex;
		position: fixed;
		bottom: -60px;
		left: 0;
		width: 100%;
		height: 56px;
		z-index: 9999;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
		transition: bottom 0.3s ease;
	}

	.sp_fix_cv.is-active {
		bottom: 0;
	}

	.sp_fix_cv_item {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		text-decoration: none;
		color: #fff!important;
		font-weight: 700;
		font-size: 1.6rem;
		line-height: 1.2;
		padding: 0 8px;
		box-sizing: border-box;
	}

	.sp_fix_cv_item--dl {
		background-color: #036DA8;
	}

	.sp_fix_cv_item--oc {
		background-color: #F76890;
	}

	.sp_fix_cv_icon {
		width: 20px;
		height: 20px;
		margin-right: 6px;
		flex-shrink: 0;
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
	}

	.sp_fix_cv_item--dl .sp_fix_cv_icon {
		background-image: url("../img/icon_sp_dl.svg");
	}

	.sp_fix_cv_item--oc .sp_fix_cv_icon {
		background-image: url("../img/icon_sp_oc.svg");
	}
}