@charset "UTF-8";

/* reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: #333;
	background: #fff;
	-webkit-text-size-adjust: 100%;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

a {
	color: inherit;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* FV */
#fv {
	position: relative;
	background: #e60012;
}

#fv .fv_img {
	width: 100%;
}

/* PC：FV は画面幅に合わせて拡大縮小（width:100%）。
   その下の 1920px 基準の画像ブロックは、1920px 未満の画面では縮小せず 1920px のまま中央表示（左右のはみ出しは隠す）。
   1920px 以上では画面幅いっぱいに拡大 */
@media (min-width: 881px) {
	#contents {
		overflow-x: hidden;
		overflow-x: clip;
	}

	.lp_img,
	.honcourse,
	#s15 .voice_head {
		width: max(100%, 1920px);
		margin-left: min(0px, calc(50% - 960px));
	}
}

#fv .fv_btn {
	position: absolute;
	left: 50%;
	bottom: 31%;
	width: 32%;
	transform: translateX(-50%);
}

@media (max-width: 880px) {
	/* 吹き出し内「ロボット×プログラミング×STEAM教育」の下の空き（fv_sp.jpg 750×1350 基準） */
	#fv .fv_btn {
		top: 49.5%;
		bottom: auto;
		width: 56%;
	}
}

#fv .fv_btn a {
	display: block;
	transition: opacity .2s;
}

#fv .fv_btn a:hover {
	opacity: .8;
}

#fv .fv_btn img {
	width: 100%;
}

/* コースアコーディオン */
#course {
	position: relative;
	background: #fceaea;
	padding: 0 16px 60px;
	/* s03 画像下部のピンクの余白（約6vw）に食い込ませて1ブロックに見せる。
	   s03 は 1920px 未満では縮小しないので、重ね幅も 1920px 時の 57.6px を下限にする */
	margin-top: calc(-1 * max(3vw, 57.6px));
}

#course .inner {
	max-width: 780px;
	margin: 0 auto;
}

/* 重なり順：#course の背景 → s03 の画像（ロボットが切れないように） → コースのボタン */
#s03 {
	z-index: 1;
}

#course .course_item {
	position: relative;
	z-index: 2;
}

#course .course_item + .course_item {
	margin-top: 24px;
}

#course summary {
	display: block;
	list-style: none;
	cursor: pointer;
}

#course summary::-webkit-details-marker {
	display: none;
}

#course summary img,
#course .course_detail img {
	width: 100%;
}

#course .course_detail {
	margin-top: -16px;
}

@media (max-width: 880px) {
	#course {
		padding: 0 16px 40px;
		margin-top: 0;
		overflow: hidden; /* 拡大した _detail_sp の透明部分で横スクロールが出ないように */
	}

	#course .course_detail {
		margin-top: -10%;
	}

	#course .course_detail img {
		width: var(--sp-detail-w, 100%);
		max-width: none;
	}

	#course .course_item + .course_item {
		margin-top: 16px;
	}
}

/* 生徒・保護者様の声（s15） */
#s15 {
	background: #ffef97; /* crefus_lp_15.jpg の背景色。スライダーが画像より高くなった分もこの色で伸びる */
	padding-bottom: 40px;
}

#s15 .voice_head {
	margin-top: 0;
	margin-bottom: 0;
}

#s15 .voice_head img {
	width: 100%;
}

/* 見出し画像の下の空き（1920px幅で y=210〜672）に食い込ませる：-(672-210)/1920。
   PC は見出し画像が 1920px 未満で縮小しないので 462px を下限にする */
#s15 .voice_slider {
	position: relative;
	width: calc(100% - 160px);
	max-width: 1280px;
	margin: calc(-1 * max(24.06vw, 462px)) auto 0;
}

#s15 .swiper-slide {
	display: flex;
	flex-direction: column;
	height: auto;
}

#s15 .swiper-slide img {
	width: 100%;
}

#s15 .swiper-slide h3 {
	margin: 14px 0 10px;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.45;
	color: #000;
}

#s15 .swiper-slide p {
	margin: 0 0 30px;
	font-size: 14px;
}

#s15 .voice_open {
	display: block;
	width: 160px;
	margin: auto auto 0;
	padding: 10px 0;
	background: #e71f19;
	border: 0;
	color: #fff;
	font-size: 16px;
	font-family: inherit;
	cursor: pointer;
}

#s15 .voice_open:hover {
	opacity: .8;
}

/* 矢印（グレーの丸＋白い〈 〉）。top は写真の縦中央に JS で合わせる */
#s15 .voice_nav {
	position: absolute;
	top: 125px;
	z-index: 2;
	width: 60px;
	height: 60px;
	margin-top: -30px;
	padding: 0;
	background: #bababa;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

#s15 .voice_prev {
	left: -42px;
}

#s15 .voice_next {
	right: -42px;
}

#s15 .voice_nav::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translate(-70%, -50%) scaleY(1.4) rotate(45deg);
}

#s15 .voice_prev::after {
	transform: translate(-30%, -50%) scaleY(1.4) rotate(-135deg);
}

#s15 .voice_nav:hover {
	background: #a0a0a0;
}

/* 詳細ポップアップ */
.voice_modal {
	width: 90%;
	max-width: 800px;
	max-height: 80vh;
	padding: 25px;
	border: 0;
	border-radius: 6px;
	overflow: auto;
}

.voice_modal::backdrop {
	background: rgba(0, 0, 0, .45);
}

/* 画像に重ならないよう独立した行に置き、スクロールしても上端に残す */
.voice_close {
	position: sticky;
	top: 0;
	display: block;
	margin: -12px -10px 8px auto;
	padding: 0 4px;
	background: none;
	border: 0;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.voice_modal picture {
	display: block;
}

.voice_modal img {
	width: 100%;
	margin-bottom: 10px;
}

.voice_modal dl {
	margin: 0;
}

.voice_modal dt {
	color: #3e9315;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.5;
}

.voice_modal dd {
	margin: 0;
	padding: 1.2rem 0 1.8rem;
	font-size: 15px;
	line-height: 1.8;
}

.voice_modal .em {
	color: #e71f19;
}

@media (max-width: 880px) {
	/* crefus_lp_15_sp.jpg（750×1041）の見出し下（y≒290〜）に食い込ませる：-(1041-290)/750 */
	#s15 .voice_slider {
		width: 100%;
		margin-top: -100vw;
	}

	#s15 .swiper-slide h3 {
		font-size: 17px;
	}

	#s15 .swiper-slide p {
		font-size: 12px;
		margin-bottom: 20px;
	}

	#s15 .voice_open {
		width: 140px;
		font-size: 14px;
	}

	#s15 .voice_nav {
		width: 40px;
		height: 40px;
		margin-top: -20px;
	}

	#s15 .voice_prev {
		left: 4px;
	}

	#s15 .voice_next {
		right: 4px;
	}

	#s15 .voice_nav::after {
		width: 9px;
		height: 9px;
	}

	.voice_modal {
		width: 88%;
		padding: 20px;
	}

	.voice_modal dt {
		font-size: 15px;
	}

	.voice_modal dd {
		font-size: 13px;
		padding: .8rem 0 1.4rem;
	}
}

/* ご入会までの流れ（s16。crefus_P の s5 から移管） */
#s16 {
	background: url(../img/bg_flow.png) 50% 50% / cover no-repeat;
	padding: 50px 16px 60px;
	font-size: 16px;
	letter-spacing: 0.08em;
}

#s16 .flow_head {
	margin: 0;
}

/* カンプの比率（見出し幅 ≒ パネル幅 816px の 57%）に合わせる */
#s16 .flow_head img {
	width: 466px;
	max-width: 100%;
	margin: 0 auto;
}

#s16 .flow_box {
	width: 850px;
	max-width: 100%;
	margin: 50px auto 0;
	text-align: center;
	line-height: 2em;
}

#s16 .flow_tabs {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 50px;
	width: 750px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

#s16 .flow_tabs a {
	display: block;
}

#s16 .flow_tabs img {
	width: 151px;
}

#s16 .flow_panel {
	width: 816px;
	max-width: 100%;
	margin: 30px auto 0;
	padding: 30px;
	background: #fff;
	border: solid 3px #000;
	border-radius: 30px;
}

#s16 .flow_panel[hidden] {
	display: none;
}

#s16 .flow_panel h3 {
	margin: 0 0 1em;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.5;
	color: #f81c4b;
}

#s16 .flow_panel p {
	margin: 0 0 1.5em;
}

#s16 .flow_panel a {
	display: block;
	width: fit-content;
	margin: 0 auto 1em;
}

#s16 .flow_panel a:hover {
	opacity: .8;
}

#s16 .flow_panel img {
	margin: 0 auto;
}

/* 1つ目のタブは右側にイラストの背景を敷く */
#s16 #tab-01 {
	background: #fff url(../img/pc_img_5_1_bg.png) center / cover no-repeat;
	padding: 40px 20px;
	min-height: 400px;
}

@media (max-width: 880px) {
	#s16 {
		background-image: url(../img/bg_flow_sp.png);
		background-position: top;
		padding: 40px 3% 30px;
		font-size: 14px;
	}

	#s16 .flow_head img {
		width: 70%;
	}

	#s16 .flow_box {
		margin-top: 30px;
	}

	#s16 .flow_tabs {
		gap: 5%;
	}

	#s16 .flow_tabs li {
		width: 26%;
	}

	#s16 .flow_tabs img {
		width: 100%;
	}

	#s16 .flow_panel {
		margin-top: 20px;
		padding: 20px;
		text-align: left;
	}

	#s16 .flow_panel h3 {
		font-size: 22px;
	}

	#s16 #tab-01 {
		background-image: none;
		padding: 20px 16px;
		min-height: 0;
	}

	#s16 .flow_sp_img {
		width: 100%;
		margin: 10px 0 1.5em;
	}

	#s16 .flow_panel a,
	#s16 .flow_panel a img {
		width: 100%;
	}
}

/* 本コースのご紹介（s12） */
/* 余白・幅は1920px幅の画像基準の％指定で、上下の枠画像と一緒に伸縮させる */
.honcourse_head {
	margin: 0;
}

.honcourse img {
	width: 100%;
}

.honcourse_body {
	background: #fceaea;
	padding: 1.3% 0 0;
}

.honcourse_h3 {
	width: 28.125%;
	margin: 0 auto;
}

.honcourse_list {
	width: 58.6%;
	margin: 4.8% auto 0;
	padding: 0;
	list-style: none;
}

/* liの％はul幅（1125px）基準 */
.honcourse_list li + li {
	margin-top: 2.3%;
}

.honcourse_list + .honcourse_h3 {
	margin-top: 4.4%;
}

.honcourse_list summary {
	position: relative;
	display: block;
	list-style: none;
	cursor: pointer;
}

.honcourse_list summary::-webkit-details-marker {
	display: none;
}

/* ＋／－アイコン（位置・サイズはボタン画像1125×245基準） */
.honcourse_icon {
	position: absolute;
	top: 48%;
	right: 4.2%;
	width: 2.8%;
	aspect-ratio: 1;
	transform: translateY(-50%);
}

.honcourse_icon::before,
.honcourse_icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 20%;
	background: #333;
	border-radius: 1px;
	transform: translateY(-50%);
	transition: transform .3s;
}

.honcourse_icon::after {
	transform: translateY(-50%) rotate(90deg);
}

.honcourse_list details[open] .honcourse_icon::after {
	transform: translateY(-50%) rotate(0);
}

/* ボタン画像の下枠（10px / 1125px）に重ねて1枚のカードにつなげる */
.honcourse_detail {
	position: relative;
	margin-top: -2.8%;
}

@media (max-width: 880px) {
	.honcourse_body {
		padding: 30px 0;
	}

	/* course_*_h3_sp.png（670px）はボタン（675px）とほぼ同幅なので、リストと同じ幅に */
	.honcourse_h3 {
		width: 88%;
	}

	.honcourse_list {
		width: 88%;
		margin-top: 16px;
	}

	.honcourse_list li + li {
		margin-top: 10px;
	}

	.honcourse_list + .honcourse_h3 {
		margin-top: 32px;
	}

	/* SPは＋／－をボタン下部の中央へ（course_*_sp.png 675×245 の下枠の上、y≒212px） */
	.honcourse_icon {
		top: 86.5%;
		right: auto;
		left: 50%;
		width: 4%;
		transform: translate(-50%, -50%);
	}
}

/* よくあるご質問（crefus_P の s9 / faq から移管。他ブロックに影響しないよう #s17 配下に限定） */
#s17 {
	font-size: 16px;
	font-feature-settings: "palt";
	letter-spacing: 0.08em;
	line-height: 1.66em;
	padding-bottom: 70px;
}

#s17 p {
	margin: 0;
}

#s17 .content {
	max-width: 1100px;
	margin: 0 auto;
	padding-top: 70px;
}

#s17 .title {
	position: relative;
	text-align: center;
}

#s17 .title img {
	display: inline-block;
}

#s17 .title h2 {
	margin: 0;
	padding-top: 10px;
	font-size: 26px;
	color: #000;
	font-weight: 900;
	line-height: 1;
	text-align: center;
}

#s17 .inner {
	padding: 0 50px;
	margin: 0 auto;
}

#s17 .accordion_area {
	padding: 30px 0;
	text-align: center;
	margin: 0 auto;
}

#s17 .accordion_one {
	background-color: #ccedc4;
	border-radius: 10px;
	text-align: left;
	margin-bottom: 1.0em;
}

#s17 .accordion_one .ac_header {
	background-color: #ccedc4;
	border-radius: 10px;
	padding: 1.5rem 4rem 1.5rem 2rem;
	position: relative;
	z-index: 1;
	cursor: pointer;
	transition: .2s;
}

#s17 .accordion_one .ac_header:not(.open):hover {
	background-color: #dff5da;
}

#s17 .accordion_one .ac_header .i_box {
	position: absolute;
	top: 50%;
	right: 2rem;
	width: 20px;
	height: 20px;
	margin-top: -10px;
}

/* ＋／－アイコン（本コースのアコーディオンと同じ動き：縦線が回転して－になる） */
#s17 .accordion_one .ac_header .i_box::before,
#s17 .accordion_one .ac_header .i_box::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	background: #47b26e;
	border-radius: 1px;
	transform: translateY(-50%);
	transition: transform .3s;
}

#s17 .accordion_one .ac_header .i_box::after {
	transform: translateY(-50%) rotate(90deg);
}

#s17 .accordion_one .ac_header.open .i_box::after {
	transform: translateY(-50%) rotate(0);
}

#s17 .accordion_one .ac_inner {
	display: none;
	overflow: hidden;
	transition: height .4s;
}

/* 開閉アニメーションで高さが飛ばないよう、余白は ac_inner ではなく中身側に持たせる */
/* 区切り線も中身側に持たせ、左右をテキストと同じ余白で切る */
#s17 .accordion_one .ac_inner .p-faq__bodyinner {
	margin: 0 2rem 1.5rem;
	padding-top: 1.5rem;
	border-top: solid 1px #fff;
}

/* Q・区切り線・A の左端を揃えるため、アイコン（30px）は左端 0 に置く */
#s17 .p-faq__headinner,
#s17 .p-faq__bodyinner {
	display: block;
	padding-left: 45px;
	position: relative;
	line-height: 1.5;
}

#s17 .p-faq__q-txt {
	font-weight: bold;
}

#s17 .p-faq__headinner::before {
	position: absolute;
	left: 0;
	content: url(../img/img_q.png);
}

#s17 .p-faq__bodyinner::before {
	position: absolute;
	left: 0;
	content: url(../img/img_a.png);
}

@media (max-width: 880px) {
	#s17 {
		font-size: 14px;
		padding-bottom: 40px;
	}

	#s17 p {
		font-size: 14px;
		line-height: 1.76;
	}

	#s17 .content {
		padding-top: 40px;
	}

	#s17 .title h2 {
		font-size: 24px;
		line-height: 1.5em;
		padding-top: 15px;
	}

	#s17 .inner {
		padding: 0;
	}

	#s17 .accordion_area {
		width: 94%;
		padding: 20px 0 0;
	}

	#s17 .accordion_one .ac_header {
		padding: 1.5rem 2rem 1.5rem 1rem;
	}

	#s17 .accordion_one .ac_header .i_box {
		right: 0.8rem;
		width: 15px;
		height: 15px;
		margin-top: -7px;
	}

	/* 見出しの左余白（1rem）と揃える */
	#s17 .accordion_one .ac_inner .p-faq__bodyinner {
		margin: 0 1rem 1.5rem;
	}

	#s17 .p-faq__headinner {
		padding-left: 38px;
		padding-right: 25px;
	}

	#s17 .p-faq__bodyinner {
		padding-left: 38px;
	}
}

/* 教室一覧（crefus_P の s10 から移管。PCは都県ごとに3列、SPは都県ごとのアコーディオン） */
#s18 {
	font-size: 16px;
	font-feature-settings: "palt";
	letter-spacing: 0.08em;
	line-height: 1.66em;
	padding-bottom: 40px;
}

#s18 p {
	margin: 0;
	text-align: left;
}

#s18 a {
	text-decoration: none;
}

#s18 .content {
	max-width: 1100px;
	margin: 0 auto;
	padding-top: 70px;
}

#s18 .title {
	text-align: center;
}

#s18 .title img {
	display: inline-block;
}

#s18 .title h2 {
	margin: 0;
	padding-top: 10px;
	font-size: 26px;
	color: #000;
	font-weight: 900;
	line-height: 1;
}

#s18 .pref_nav ul {
	display: flex;
	width: 950px;
	max-width: calc(100% - 32px);
	margin: 2em auto 0;
	padding: 0;
	list-style: none;
}

#s18 .pref_nav li {
	flex: 1;
	background: #57d23a;
	border-right: solid 1px #fff;
	text-align: center;
}

#s18 .pref_nav li:last-child {
	border-right: 0;
}

#s18 .pref_nav a {
	position: relative;
	display: block;
	padding: 10px 0;
	color: #fff;
	font-weight: bold;
}

/* 右端の「〉」：回転後に縦へ伸ばして、細めで鋭い角度にする */
#s18 .pref_nav a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 22px;
	width: 7px;
	height: 7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translateY(-50%) scaleY(1.4) rotate(45deg);
}

#s18 .pref_nav a:hover {
	background: #6bde95;
}

#s18 .inner {
	padding: 30px 16px;
}

#s18 .accordion_one + .accordion_one {
	margin-top: 1em;
}

/* 教室一覧の下：e-crefus（オンライン教室）への誘導バナー（Bパターン） */
#s18 .ecrefus_btn {
	max-width: 800px;
	margin: 10px auto 0;
	padding: 0 16px;
}

#s18 .ecrefus_btn a {
	display: block;
	transition: opacity .2s;
}

#s18 .ecrefus_btn a:hover {
	opacity: .8;
}

#s18 .ecrefus_btn img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 880px) {
	#s18 .ecrefus_btn {
		max-width: 480px;
		margin-top: 20px;
		padding: 0 5%;
	}
}

#s18 .ac_header {
	position: relative;
	text-align: center;
}

#s18 h3 {
	display: inline-block;
	min-width: 190px;
	margin: 0;
	padding: 2px 60px;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.5;
	color: #000;
	text-align: center;
	background: #57d23a;
	border: solid 3px #000;
	border-radius: 50px;
}

#s18 .i_box {
	display: none;
}

#s18 .item-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 3.5%;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

#s18 .item-list img {
	margin: 0 auto;
}

#s18 h4 {
	margin: .5em 0;
	color: #000;
	font-size: 150%;
	font-weight: 900;
	letter-spacing: 2px;
	line-height: 1.75;
	text-align: left;
}

/* 教室情報：TEL・住所は見出しの右に続け、住所2行目（ビル名）は住所の頭に揃える。アクセスは見出しの下に全幅で折り返す */
#s18 .info {
	margin: 0;
	text-align: left;
}

#s18 .info div {
	display: flex;
}

#s18 .info dt {
	flex-shrink: 0;
}

#s18 .info dd {
	margin: 0;
}

#s18 .info .access {
	display: block;
}

#s18 p.map {
	text-align: center;
	margin: .5em 0 1.5em;
}

#s18 p.map a {
	color: #0066cc;
}

@media (max-width: 880px) {
	#s18 {
		font-size: 14px;
	}

	#s18 p,
	#s18 .info {
		font-size: 12px;
		line-height: 1.76;
	}

	#s18 .content {
		padding-top: 40px;
	}

	#s18 .title h2 {
		font-size: 24px;
		line-height: 1.5em;
		padding-top: 15px;
	}

	#s18 .pref_nav {
		display: none;
	}

	#s18 .inner {
		padding: 20px 3%;
	}

	#s18 .accordion_one {
		background: #fff;
	}

	#s18 .ac_header {
		background: #57d23a;
		padding: 1rem 0;
		cursor: pointer;
	}

	#s18 h3 {
		display: block;
		min-width: 0;
		padding: 0 0 0 20px;
		font-size: 18px;
		color: #fff;
		text-align: left;
		background: none;
		border: 0;
		border-radius: 0;
	}

	/* ＋／－（よくあるご質問と同じ動き） */
	#s18 .i_box {
		display: block;
		position: absolute;
		top: 50%;
		right: 0.8rem;
		width: 15px;
		height: 15px;
		margin-top: -7px;
	}

	#s18 .i_box::before,
	#s18 .i_box::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		width: 100%;
		height: 2px;
		background: #fff;
		border-radius: 1px;
		transform: translateY(-50%);
		transition: transform .3s;
	}

	#s18 .i_box::after {
		transform: translateY(-50%) rotate(90deg);
	}

	#s18 .ac_header.open .i_box::after {
		transform: translateY(-50%) rotate(0);
	}

	#s18 .ac_inner {
		display: none;
		overflow: hidden;
		transition: height .4s;
	}

	#s18 .item-list {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 2%;
		margin: 1em 0;
	}

	#s18 h4 {
		font-size: 150%;
		letter-spacing: 0.08em;
	}
}

/* CTA（crefus_P の #btn から移管） */
#s19 {
	background: url(../img/bg_btn2.png) 50% 50% / cover no-repeat;
	padding: 50px 16px;
}

#s19 .image {
	position: relative;
	max-width: 740px;
	margin: 0 auto;
}

#s19 .image picture {
	display: block;
}

/* btn.png 下部の空きスペースの中央に重ねる */
#s19 .lp_btn {
	top: 68.6%;
	width: 88%;
}

@media (max-width: 880px) {
	#s19 {
		padding: 35px 3%;
	}

	#s19 {
		background-image: url(../img/bg_btn2_sp.png);
	}

	/* btn_sp.png（681×659）の下の空き（y448〜644）に置き、
	   幅は上のタブレット〜ロボット画像の左右端（x36〜632）に揃える（s07/s11 と同じ考え方） */
	#s19 .lp_btn {
		top: 75.4%;
		left: 49.05%;
		width: 87.7%;
	}
}

/* フッター（crefus_P から移管） */
.site_footer ul {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 0;
	padding: 1em 16px;
	list-style: none;
	font-size: 14px;
	font-weight: bold;
}

.site_footer li:not(:last-child)::after {
	content: "　｜　";
}

.site_footer a {
	color: #000;
	text-decoration: none;
}

.site_footer a:hover {
	opacity: .7;
}

.copyright {
	background: #e71f19;
	text-align: center;
	color: #fff;
	font-size: 12px;
	padding: 1.5em 0;
}

.copyright img {
	margin: 0 auto;
	padding-bottom: 0.5em;
}

/* SP：左右に余白を取った枠付きの2列グリッド（1つ目「上記以外の教室〜」だけ全幅）。
   罫線は背景色（緑）を gap 1px で見せて、どこも同じ太さにする */
@media (max-width: 880px) {
	.site_footer {
		padding: 11px 8px 10px;
	}

	.site_footer ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1px;
		padding: 0;
		background: #28c000;
		border: 1px solid #28c000;
		font-size: 12px;
		font-weight: normal;
	}

	.site_footer li {
		background: #e9f9e5;
		text-align: center;
	}

	.site_footer li:first-child {
		grid-column: 1 / -1;
	}

	.site_footer li:not(:last-child)::after {
		content: none;
	}

	.site_footer a {
		display: block;
		padding: 14px 0;
	}
}

/* 離脱防止ポップアップ（crefus_P から移管。参考LPで何度も上書きされていた指定のうち、最終的に効いていた見た目に整理） */
.lp-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
}

.lp-popup[aria-hidden="false"] {
	display: block;
}

.lp-popup__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.lp-popup__dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 90%;
	max-width: 520px;
	text-align: center;
	transform: translate(-50%, -50%);
	animation: lp-pop-in 240ms ease-out forwards;
}

.lp-popup__link {
	display: block;
}

.lp-popup__img {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
	transition: transform 0.25s ease;
}

.lp-popup__img:hover {
	transform: scale(1.02);
}

.lp-popup__close {
	position: absolute;
	top: -35px;
	right: -10px;
	z-index: 1;
	padding: 0;
	background: transparent;
	border: none;
	font-size: 36px;
	line-height: 1;
	color: #fff;
	cursor: pointer;
}

@keyframes lp-pop-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* 追尾ボタン（crefus_P の #fixBottom から移管） */
html {
	scroll-behavior: smooth;
}

#fixBottom {
	position: fixed;
	bottom: 0;
	left: 50%;
	z-index: 100;
	width: 880px;
	max-width: 100%;
	background: #fff;
	border-radius: 20px 20px 0 0;
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s, visibility .4s;
}

#fixBottom.is-show {
	opacity: 1;
	visibility: visible;
}

#fixBottom ul {
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 10px 0;
	list-style: none;
}

#fixBottom li + li {
	margin-left: 0.5em;
}

#fixBottom a {
	display: block;
}

#fixBottom a:hover {
	opacity: .8;
}

/* 追尾ボタンに隠れないよう、ページ末尾に高さ分の余白（赤帯を伸ばす） */
.copyright {
	padding-bottom: 105px;
}

@media (max-width: 880px) {
	/* SP：フッターのリンク一覧と同じ左右余白で、白い角丸パネルに入れる */
	#fixBottom {
		width: calc(100% - 16px);
		background: #fff;
		border-radius: 12px 12px 0 0;
	}

	#fixBottom ul {
		padding: 5px 10px 8px;
	}

	/* 画像の幅比（225:305:120）のまま画面幅に収める */
	#fixBottom .fix_classroom { flex: 225 1 0; }
	#fixBottom .fix_appli { flex: 305 1 0; }
	#fixBottom .fix_pagetop { flex: 120 1 0; }

	#fixBottom li + li {
		margin-left: 6px;
	}

	#fixBottom img {
		width: 100%;
	}

	.copyright {
		padding-bottom: calc(1.5em + 80px);
	}
}

/* 連番画像 */
.lp_img {
	position: relative;
}

.lp_img img {
	width: 100%;
}

/* PC/SPで枚数が違うブロック用 */
.sp_only {
	display: none !important;
}

@media (max-width: 880px) {
	.pc_only {
		display: none !important;
	}

	.sp_only {
		display: block !important;
	}
}

/* 画像上に重ねるgif（上下左右均等の枠＋角丸） */
.lp_gif {
	position: absolute;
	border: 3px solid #333;
	border-radius: 16px;
	overflow: hidden; /* 角丸で gif も切り抜く */
}

/* s01：写真4枚の間の空き（crefus_lp_01.jpg 1920×1082 基準） */
#s01 .lp_gif {
	left: 32.4%;
	top: 48%;
	width: 35.4%;
}

@media (max-width: 880px) {
	.lp_gif {
		border-width: 2px;
		border-radius: 10px;
	}

	/* crefus_lp_sp_01.jpg 750×1650 基準：上の写真2枚と下の写真の間 */
	#s01 .lp_gif {
		left: 50%;
		top: 51.5%;
		width: 93%;
		transform: translateX(-50%);
	}
}

/* 画像上に重ねるボタン */
.lp_btn {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.lp_btn a {
	display: block;
}

#s07 .lp_btn {
	top: 61%;
	width: 44%;
}

#s11 .lp_btn {
	top: 57%;
	width: 44%;
}

/* SP：黄色い枠の下の空き（07_sp: y558-754、11_sp: y448-644）に置き、
   幅は上のタブレット〜ロボット画像の左右端（07_sp: x76-672、11_sp: x70-666 ≒ 80%）に揃える */
@media (max-width: 880px) {
	#s07 .lp_btn {
		top: 73.6%;
		left: 49.9%;
		width: 80%;
	}

	#s11 .lp_btn {
		top: 65.4%;
		left: 49.1%;
		width: 80%;
	}
}

/* お近くの教室を探す（FV直下） */
#area_search {
	padding: 30px 16px 36px;
	background: #e71f19;
	text-align: center;
}

#area_search .area_search_title {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	margin: 0;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.4;
	color: #fff;
}

/* 地図ピンのアイコン（白。中央の穴は背景色で抜く） */
#area_search .area_search_title::before {
	content: "";
	width: .8em;
	height: .8em;
	background: #fff;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: inset 0 0 0 .25em #fff, inset 0 0 0 1em #e71f19;
}

#area_search .area_search_tabs {
	display: flex;
	width: 950px;
	max-width: 100%;
	margin: 18px auto 0;
	padding: 0;
	list-style: none;
}

#area_search .area_search_tabs li {
	flex: 1;
	background: #fff;
	border-right: solid 1px #e71f19;
}

#area_search .area_search_tabs li:last-child {
	border-right: 0;
}

#area_search .area_search_tabs a {
	position: relative;
	display: block;
	padding: 14px 0;
	color: #000;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
}

#area_search .area_search_tabs a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 22px;
	width: 7px;
	height: 7px;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	transform: translateY(-70%) scaleX(1.4) rotate(45deg);
}

#area_search .area_search_tabs a:hover {
	background: #ffe5e3;
}

/* 教室カードの「この教室で申し込む」（無料体験CTAと同じ配色）。行内でボタンの高さが揃うよう、カード下端に寄せる */
#s18 .item-list > li {
	display: flex;
	flex-direction: column;
}

#s18 p.apply_btn {
	margin: auto 0 2em;
	text-align: center;
}

#s18 p.apply_btn a {
	display: block;
	max-width: 300px;
	margin: 0 auto;
	padding: .7em 1em;
	background: linear-gradient(90deg, #62f0e6, #45e08c);
	border: 2px solid #000;
	border-radius: 50px;
	box-shadow: 0 4px 0 #000;
	color: #fff35a;
	font-size: 17px;
	font-weight: 900;
	letter-spacing: .06em;
	line-height: 1.4;
	text-shadow: 0 0 2px #1d4a2c, 1px 1px 0 #1d4a2c, -1px -1px 0 #1d4a2c, 1px -1px 0 #1d4a2c, -1px 1px 0 #1d4a2c;
	transition: transform .15s, box-shadow .15s;
}

#s18 p.apply_btn a:hover {
	transform: translateY(2px);
	box-shadow: 0 2px 0 #000;
}

#s18 p.map {
	margin-bottom: .8em;
}

@media (max-width: 880px) {
	#area_search {
		padding: 22px 3% 26px;
	}

	#area_search .area_search_title {
		font-size: 20px;
	}

	#area_search .area_search_tabs {
		flex-wrap: wrap;
		gap: 6px;
		margin-top: 14px;
	}

	#area_search .area_search_tabs li {
		flex: 0 0 calc(50% - 3px);
		border-right: 0;
		border-radius: 6px;
	}

	#area_search .area_search_tabs a {
		padding: 12px 0;
		font-size: 16px;
	}

	#area_search .area_search_tabs a::after {
		right: 14px;
	}

	#s18 p.apply_btn {
		margin-bottom: 1.4em;
	}

	#s18 p.apply_btn a {
		padding: .65em .4em;
		font-size: 13px;
		letter-spacing: 0;
		box-shadow: 0 3px 0 #000;
	}
}


/* =========================
   ハンバーガーメニュー（PC/SP共通。crefus_P_summer と同じ仕様）
========================= */
.hm-btn {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 1000; /* 追尾ボタン(#fixBottom: 100)より上、離脱ポップアップより下 */
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 48px;
	height: 48px;
	padding: 0;
	background: #f62b2e;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	/* FVでは出さない（フェード用） */
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}

.hm-btn__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	transition: transform .2s ease, opacity .2s ease;
}

.hm-show .hm-btn {
	opacity: 1;
	pointer-events: auto;
}

/* 開いているときは × 表示 */
.hm-open .hm-btn__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hm-open .hm-btn__bar:nth-child(2) { opacity: 0; }
.hm-open .hm-btn__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hm-nav {
	position: fixed;
	inset: 0;
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.hm-open .hm-nav {
	opacity: 1;
	pointer-events: auto;
}

.hm-nav__overlay {
	position: absolute;
	inset: 0;
	padding: 0;
	background: rgba(0, 0, 0, .45);
	border: 0;
	cursor: pointer;
}

.hm-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(320px, 86vw);
	height: 100%;
	padding: 20px 18px;
	overflow: auto;
	background: #fff;
	transform: translateX(100%);
	transition: transform .25s ease;
}

.hm-open .hm-nav__panel {
	transform: translateX(0);
}

.hm-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-nav__list a {
	display: block;
	padding: 20px 8px;
	border-bottom: 1px solid #eee;
	color: #111;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.hm-nav__list a:active {
	opacity: .7;
}

/* メニュー表示中は背面スクロールを止める */
.hm-open {
	overflow: hidden;
}

@media (max-width: 880px) {
	.hm-nav__list a {
		padding: 14px 6px;
		font-size: 16px;
	}
}
