@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400..600&display=swap');

:root{
	--white:#ffffff;
	--text:#000000;
	--gray:#808080;
	--bggray:#E6E6E6;
	--blue:#12339a;
	--red:#960000;
	--purple:#6c3fbc;
}

body,
button,
input,
select {
	padding: 0;
	margin: 0;
	background: var(--white);
	font-family: "Noto Sans JP", "游ゴシック体", YuGothic,"Yu Gothic", "游ゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", Osaka, sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	color: var(--text);
}

body{
	font-size: 16px;
	background-color: #f3f3f3;
}
ul,li{
	margin: 0;
	padding:0;
	list-style: none;
}
img{
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

a{
	color: #444;
	opacity: 1;
	transition: all .3s ease-in-out;
}
a:hover{
	color: #444;
	opacity: .7;
	text-decoration: none;
}

/* header
-------------------------------------------------------------- */
header{
	background-color: var(--red);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1999;
	margin: 0 auto;
	padding: 15px 0;
}
.logo{
	vertical-align: bottom;
	line-height: 1;
	margin: 0;
}
#menu-global,
#menu-global-sp{
	display: flex;
	gap: 5px;
}

@media only screen and (min-width: 768px) {
	header{
		padding: 20px 0;
	}
	header .container{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.logo img{
		margin: 0 15px;
		width: 100%;
	}
	.logo .logo-img{
		width: 262px;
	}
	#menu-global{
		gap: 20px;
	}
	#menu-global img{
		width: auto;
		height: 40px;
	}
}

@media only screen and (max-width: 767px) {
	.logo{
		margin: 0;
		box-sizing: border-box;
	}
	.logo-img{
		max-width: 163px;
	}
	.menu-global-container.sp{
		position: fixed;
		left: 0;
		bottom: 0;
		width: 100%;
		background-color: var(--red);
		padding: 13px 15px;
		box-sizing: border-box;
		z-index: 1999;
	}
	#menu-global-sp{
		justify-content: space-between;
		gap: 8px;
	}
	#menu-global-sp img{
		width: 100%;
		height: auto;
	}
	#menu-global-sp .nav-item{
		flex: 1;
	}
}

/* footer
-------------------------------------------------------------- */
footer{
	position: relative;
	width: 100%;
	background-color: var(--red);
	padding: 50px 0 45px;
	overflow: hidden;
}
.footer-title{
	text-align: center;
	max-width: 262px;
	margin: 0 auto;
}
.footer-content.container{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 40px;
}
.footer-content.container li{
	margin: 0;
}

@media only screen and (max-width: 911px) {
	footer{
		padding: 40px 0 51px;
		margin-bottom: 74px;
	}
	.footer-content.container{
		flex-wrap: wrap;
		gap: 20px;
		justify-content: flex-start;
		margin: 0 35px 40px;
		width: calc(100% - 70px);
	}
	.footer-content.container li{
		width: calc(50% - 10px);
		margin: 0;
	}
	.footer-title img{
		max-width: 196px;
		margin: 0 auto;
	}
}

/* layout
-------------------------------------------------------------- */
main{
	overflow: hidden;
}
.container{
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	box-sizing: border-box;
}

@media only screen and (min-width: 767px) {
	main{
		margin-top: 95px;
	}
}
@media only screen and (max-width: 768px) {
	main{
		margin-top: 64px;
		padding-bottom: 0px;
	}
	.container{
		margin: 0 20px;
		width: calc(100% - 40px);
	}
}

@media only screen and (min-width: 769px) {
	.sp,
	.sp-only{
		display: none !important;
	}
}
@media only screen and (max-width: 768px) {
	.pc,
	.pc-only{
		display: none !important;
	}
}

/* sections
-------------------------------------------------------------- */
.mv{
	position: relative;
	line-height: 0;
}
.mv img,
.section-img img,
.ways-col > img,
.ways-card img{
	width: 100%;
	height: auto;
}

.bg-main{
	width: 1100px;
	max-width: 100%;
	margin: 0 auto;
	border-left: 1px solid var(--gray);
	border-right: 1px solid var(--gray);
	box-sizing: border-box;
	background-color: #f3f3f3;
}

.home-schedule{
	padding: 40px 0 0;
	box-sizing: border-box;
	background-color: #f3f3f3;
}
.home-title{
	line-height: 1;
	margin: 0 auto;
	padding: 0 18px;
	text-align: center;
}
.home-title img{
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	display: block;
}

/* 白背景の日程エリア + 上下の横線（総合型の full-bleed 罫線と同じ考え方） */
.home-schedule_panel{
	position: relative;
	margin-top: 30px;
	padding: 0 0 40px;
	background-color: #ffffff;
	box-sizing: border-box;
}
.home-schedule_panel::before,
.home-schedule_panel::after{
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 1px;
	background-color: var(--gray);
	z-index: 1;
}
.home-schedule_panel::before{
	top: 0;
}
.home-schedule_panel::after{
	bottom: 0;
}

.home-schedule_heading{
	margin: 0;
	padding: 55px 55px 15px;
	text-align: left;
	line-height: 0;
}
.home-schedule_heading img{
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0;
	display: block;
}
.home-schedule_chart{
	margin: 25px auto 0;
	padding: 0 18px;
	text-align: center;
	line-height: 0;
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}
.home-schedule_chart img{
	width: 100%;
	height: auto;
	display: block;
}

.home-ways,
.home-payment{
	background-color: #f3f3f3;
}

.section-img{
	max-width: 1100px;
	margin: 0 auto;
	line-height: 0;
}

@media only screen and (min-width: 768px) {
	.home-schedule{
		padding-top: 50px;
	}
	.home-title{
		padding: 0 40px;
	}
	.home-title img{
		height: 80px;
		width: auto;
	}
	.home-schedule_panel{
		margin-top: 36px;
		padding-bottom: 50px;
	}
	.home-schedule_heading img{
		height: 43px;
		width: auto;
	}
	.home-schedule_chart{
		padding: 0 60px;
	}
}

@media only screen and (max-width: 768px) {
	.bg-main{
		margin: 0 20px;
		width: calc(100% - 40px);
	}
	.home-schedule{
		padding-top: 30px;
	}
	.home-title{
		padding: 0 12px;
	}
	/* イラレSP: タイトル左右 roughly 60px / 375 ≈ 16% */
	.home-schedule_title{
		padding: 0 56px;
	}
	.home-schedule_panel{
		margin-top: 24px;
		padding-bottom: 30px;
	}
	.home-schedule_heading{
		text-align: center;
		padding: 25px;
	}
	.home-schedule_heading img{
		margin: 0 auto;
	}
	.home-schedule_chart{
		margin-top: 18px;
		padding: 15px 30px;
		max-width: 100%;
	}
}

.ways-grid{
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 0px;
	display: flex;
	flex-direction: column;
	gap: 60px;
	box-sizing: border-box;
	border-left: 1px solid var(--gray);
	border-right: 1px solid var(--gray);
}
/* PC: ブロック上下のブラウザ幅いっぱい横棒 */
@media only screen and (min-width: 768px) {
	.ways-card--shitei .ways-card_banner{
		letter-spacing: -0.03em;
		white-space: nowrap;
	}
	.ways-grid::before{
		content: '';
		position: absolute;
		left: 50%;
		top: 59px;
		transform: translateX(-50%);
		width: 100vw;
		height: 1px;
		background-color: var(--gray);
		z-index: 1;
	}
	.ways-grid::after{
		content: '';
		position: absolute;
		left: 50%;
		bottom: 59px;
		transform: translateX(-50%);
		width: 100vw;
		height: 1px;
		background-color: var(--gray);
		z-index: 1;
	}
	.ways-col + .ways-col::before{
		content: '';
		position: absolute;
		left: 50%;
		top: 0;
		transform: translateX(-50%);
		width: 100vw;
		height: 1px;
		background-color: var(--gray);
		z-index: 1;
	}
	.ways-col--pair::after,
	.ways-col--shitei::after{
		content: '';
		position: absolute;
		left: 50%;
		bottom: -1px;
		transform: translateX(-50%);
		width: 100vw;
		height: 1px;
		background-color: var(--gray);
		z-index: 1;
	}
}
.ways-col{
	position: relative;
	background: transparent;
	line-height: 0;
}
.ways-col--payment{
	overflow: visible;
}
.ways-pair_head{
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}
.ways-pair_col{
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.ways-pair_col .ways-card_banner{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 78px;
	white-space: normal;
}
.ways-pair_col .ways-card_title{
	margin: 18px 16px 18px;
}
.ways-pair_note{
	margin: 8px auto 16px;
	padding: 0;
	text-align: center;
	line-height: 0;
}
.ways-pair_note picture{
	display: inline-block;
	line-height: 0;
}
.ways-pair_note img{
	width: 514px;
	max-width: 100%;
	height: auto;
	display: block;
}

/* payment: 全幅の箱。CHECKは上辺からはみ出す */
.ways-payment{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	overflow: visible;
}
.ways-payment_box{
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
	overflow: visible;
}
.ways-payment_check{
	position: absolute;
	top: 0;
	z-index: 2;
	pointer-events: none;
	height: auto;
	display: none;
}
.ways-payment_guide{
	position: absolute;
	left: 50%;
	bottom: 4.8%;
	/* イラレ：入試ガイド約223 / 全幅箱1100 */
	width: 20.3%;
	transform: translateX(-50%);
	z-index: 2;
	line-height: 0;
	opacity: 1;
	transition: opacity .3s ease-in-out;
}
.ways-payment_guide:hover{
	opacity: .7;
}
.ways-payment_guide img{
	width: 100%;
	height: auto;
	display: block;
}
.ways-payment_box > picture img,
.ways-payment_img img{
	width: 100%;
	height: auto;
	display: block;
}
.ways-payment_img{
	display: none;
	margin: 0;
	padding: 0;
	line-height: 0;
}

/* section02 cards: image slices + HTML text, CSS border
   帯=総合型 .home-about_item h4 / 内側= .home-about_itemContent 参考 */
.ways-card{
	position: relative;
	background: var(--white);
	box-sizing: border-box;
	overflow: hidden;
	line-height: 1.6;
	padding: 55px;
}
.ways-card_banner{
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	margin: 0 auto;
	padding: 15px 12px;
	background-color: var(--blue);
	color: var(--white);
	line-height: 1.5;
	box-sizing: border-box;
}
.ways-card--koubo .ways-card_banner{
	margin: 0 5px 0 0;
}
.ways-card--shitei .ways-card_banner{
	margin: 0;
	background-color: var(--red);
}
.ways-card--doso .ways-card_banner{
	margin: 0 0 0 5px;
	background-color: var(--purple);
}
.ways-card_content{
	margin-left: 0;
	margin-right: 0;
	padding: 32px 0 50px;
	box-sizing: border-box;
}
.ways-card_title{
	margin: 0 0 18px;
	padding: 0;
	text-align: center;
	line-height: 0;
}
.ways-card_title img{
	width: auto;
	max-width: 100%;
	height: 34px;
	margin: 0 auto;
	display: inline-block;
}
.ways-card_title--koubo img,
.ways-card_title--doso img{
	height: 34px;
}	
.ways-card_media{
	margin: 8px 0;
	line-height: 0;
}
.ways-card_media picture,
.ways-card_title picture,
.ways-payment_box picture,
.ways-payment_img picture{
	display: block;
	line-height: 0;
}
.ways-card_media img{
	width: 100%;
	height: auto;
	display: block;
}
.ways-card_heading{
	font-size: 18px;
	font-weight: 600;
	margin: 20px 0 5px;
	line-height: 1.4;
	color: #000000;
}
.ways-card_heading:first-of-type{
	margin-top: 0;
}
.ways-card--pair .ways-card_heading::first-letter{
	color: var(--blue);
}
.ways-card--shitei .ways-card_heading::first-letter{
	color: var(--red);
}
.ways-card_lead{
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}
.ways-card_value{
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}
.ways-card_note{
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;
}
.ways-card_meta{
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px 40px;
	margin-top: 28px;
}
.ways-card_metaItem{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.ways-card_meta .ways-card_heading,
.ways-card_meta .ways-card_value{
	margin: 0;
}
.ways-card_btnList{
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: stretch;
	gap: 12px;
	margin: 10px 0 0 auto;
	padding: 0;
	list-style: none;
}
.ways-card_btnItem{
	width: 210px;
	margin: 0;
	line-height: 0;
}
.ways-card_btnItem a{
	display: block;
	opacity: 1;
	transition: opacity .3s ease-in-out;
}
.ways-card_btnItem a:hover{
	opacity: .7;
}
.ways-card_btnItem img{
	width: 100%;
	height: auto;
	display: block;
}
@media only screen and (max-width: 768px) {
	.ways-grid{
		gap: 40px;
		padding: 60px 0 50px;
		margin: 0 20px;
		width: calc(100% - 40px);
		max-width: none;
		border-left: 1px solid var(--gray);
		border-right: 1px solid var(--gray);
	}
	.ways-pair_head{
		grid-template-columns: 1fr;
	}
	.ways-pair_col .ways-card_banner{
		min-height: 0;
	}
	.ways-pair_note img{
		width: 230px;
	}
	.ways-col{
		position: relative;
	}
	/* SP: 各ブロック上下のブラウザ幅いっぱい横棒 */
	.ways-col::before,
	.ways-col::after{
		content: '';
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width: 100vw;
		height: 1px;
		background-color: var(--gray);
		z-index: 1;
	}
	.ways-col::before{
		top: 0;
	}
	.ways-col::after{
		bottom: 0;
	}
	.ways-card{
		padding: 20px 20px 26px;
	}
	.ways-card_banner{
		font-size: 13px;
		padding: 12px 10px;
		line-height: 1.45;
	}
	.ways-card--koubo .ways-card_banner{
		padding: 14px 12px;
	}
	.ways-card--doso .ways-card_banner{
		padding: 12px 10px;
	}
	.ways-card--shitei .ways-card_banner{
		padding: 14px 12px;
	}
	.ways-card_content{
		margin-left: 0;
		margin-right: 0;
		padding: 20px 0 24px;
	}
	.ways-card_title{
		margin-bottom: 14px;
	}
	.ways-card_title img{
		height: 24px;
	}
	.ways-card_title--koubo img,
	.ways-card_title--doso img{
		height: 23px;
	}
	.ways-card_heading{
		font-size: 16px;
		margin: 16px 0 6px;
	}
	.ways-card_lead{
		font-size: 13px;
		line-height: 1.55;
	}
	.ways-card_value{
		font-size: 14px;
	}
	.ways-card_note{
		font-size: 11px;
		line-height: 1.5;
	}
	.ways-card_meta{
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 16px 28px;
		margin-top: 20px;
	}
	.ways-card_btnList{
		flex-direction: column;
		justify-content: stretch;
		gap: 12px;
		width: calc(100% - 70px);
		margin: 16px 35px 8px;
		align-self: center;
	}
	.ways-card_btnItem{
		width: 100%;
	}
	.ways-payment{
		top: 0;
		align-items: stretch;
	}
	.ways-payment_box{
		width: 100vw;
		margin-left: calc(50% - 50vw);
	}
	.ways-payment_check{
		display: block;
		left: 50%;
		/* イラレSP：CHECK 147 / 支払い箱 375、上へ約38% */
		width: 39.2%;
		transform: translate(-50%, -38%);
	}
	.ways-payment_guide{
		width: 64%;
		bottom: 4.5%;
	}
	.ways-payment_box::after{
		content: '';
		position: absolute;
		left: 50%;
		bottom: 0;
		transform: translateX(-50%);
		width: 100vw;
		height: 1px;
		background-color: var(--gray);
		z-index: 1;
	}
	.ways-payment_img{
		display: block;
		margin-top: 28px;
		width: 100%;
		align-self: center;
	}
}
