/*===============================================================
 ヘッダー 
=================================================================*/
header{
	width: 100%;
	position: fixed; /* 上部に固定 */
	top: 0;
	z-index: 100;
}

.header-a{
	width: 100%;
	background: #FFFFFF;
	z-index: 100;
	height: 50px;
}

.header-a-container{
	display: flex;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	max-width: 1300px;
	margin: auto;
}

.header-a h1{
	max-width: 50%;
	display: flex;
	align-items: center;
}

.header-a h1 img{
	width: 100%;
	height: auto;
	max-height: 50px;
	padding: 5px;
	margin-bottom: 5px;
}

.header-a-box{
	display: flex;
	justify-content: space-between;
	width: 100%;
}

/* ナビゲーション */
.noscroll{
  	overflow: hidden;
}

.menu-container{
  	width: 100%;
	height: 100%;
	position: fixed;
	overflow-y: scroll; /* メニュー内でスクロール可に */
	top: 0;
	left: 0;
	transform: translateX(100%);
	transition: transform .3s;
	z-index: 2;
	margin-top: 50px;
}

.menu-nav{
	opacity: 0.95;
	width: 100%;
	background: #333333;
	color: #FFFFFF;
	z-index: 2;
	position: absolute;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding-bottom: 150px;
}

.menu-nav a{
	transition: .3s;
}

.menu-plus{
	position: relative;
}

.menu-plus::before{
	position: absolute;
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: #FFFFFF;
    right: 15px;
    top: 50%;
    transform: translate(0, -50%);
}

.menu-plus::after{
	position: absolute;
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: #FFFFFF;
    right: 15px;
    top: 50%;
    transform: translate(0, -50%) rotate(90deg);
    transition: .3s;
}

.menu-plus.active::after{
	opacity: 0;
}

.menu-list-title{
	height: 60px;
  	font-size: 1.3em;
  	display: flex;
    align-items: center;
    justify-content: center;
    background: #333333; 
    cursor: pointer; /* カーソルが指マークに */
    border-bottom: solid 1px #FFFFFF;
    
}

.menu-list-title a{
	width: 100%;
	height: 100%;
	display: flex;
    align-items: center;
    justify-content: center;
}

.sub-title{
	font-size: 1em;
	background: #555555;
}

.menu-list ul{
	display: none;
}

.series-list{
	height: 50px;
	font-size: 1.5em;
	border-bottom: 1px solid #FFFFFF;
	background: linear-gradient(45deg, #CCCCCC, #333333);
	display: flex;
	justify-content: center;
	text-shadow: 0 0 0.3em #333333;
}

.question-list{
	height: 50px;
	font-size: 1.5em;
	border-bottom: 1px solid #FFFFFF;
	background: #555555;
	padding: auto;
	
}

.menu-list a{
	display: flex;
	width: 100vw;
	height: 100%;
	align-items: center;
    font-size: 0.8em;
    overflow: hidden;
}

.series-a{
	justify-content: space-between;
}

.question-a{
	justify-content: center;
}

.menu-series-title{
	display: flex;
	justify-content: center;
	font-size: 0.8em;
}

.menu-bg{
	width: 20px;
	height: 100%;
}

/* 各シリーズの背景色指定 */
.sa-b-bg{
	background: #617287;
}

.se-bg{
	background: #ec7b48;
}

.sa-bg{
	background: #81c04f;
}
	
.sb-bg{
	background: #3d45d2;
}

.zm-bg{
	background: #329234;
}

.sgrgp-bg{
	background: #872abd;
}

.ak-bg{
	background: #EB312F;
}

.rw-bg{
	background: #556AFB;
}

.rwt-bg{
	background: #27CED4;
}

.rs-bg{
	background: #535B28;
}

.option-bg{
	background: #342E59;
}

.font-red{
	color: #FF5050;
}

.side-bg-header-b{
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 8%;
	height: 100%;
}

.series-list img{
	width: 30vw;
	height: auto;
}

.menu-container.active {
	transform: translateX(0);
}

.menu-button{ /* メニューボタン */
	width: 50px;
	height: 50px;
	background: #FFFFFF;
	z-index: 10;
	position: relative;
}

.menu-button-line{ /* メニューの線(中段) */
	display: block;
	position: absolute;	
	width: 35px;	
	height: 4px;
	background: #333333;
	border-radius: 3px;
	top: 18px;
	right: 8px;
	transition: .2s;
}

.menu-button-line::before, .menu-button-line::after{ /* メニューの線(上下段) */
	content: "";
	position: absolute;	
	width: 35px;	
	height: 4px;
	background: #333333;
	border-radius: 3px;
	right: 0px;
	transition: .3s;
}

.menu-button-line::before{ /* 上段線の位置 */
	transform: translateY(-10px);
}

.menu-button-line::after{ /* 下段線の位置 */
	transform: translateY(10px);
}

.menu-button-text{
	font-size: 0.7em;
	position: absolute;
	bottom: 3px;
	left: 0;
	right: 0;
	margin: auto;
	transition: .3s;
	font-weight: bold;
	text-align: center;
}

.menu-button-line.active, .menu-button-text.active{ /* クリック時 */
	background: transparent;
	color: transparent;
}

.menu-button-line.active::before{
	transform: translateY(6px) rotate(45deg);
}

.menu-button-line.active::after{
	transform: translateY(6px) rotate(-45deg);
}

.header-a-pc, .header-b{
	display: none;
}

.menu-nav a:hover{
	background: #415A80;
}

.menu-plus:hover{
	background: #415A80;
}

.series-a:hover{
	background: #666666!important;
}

.question-a:hover{
	background: #333333!important;
}

/*===================
横幅768px以上でのレイアウト　ヘッダー
===================*/
@media screen and (min-width: 768px){
	.header-a{
		height: 65px;
	}
		
	.header-a h1 img{
		max-height: 65px;
		padding: 10px;
	}
	
	.menu-container{
		margin-top: 65px;
	}
	
	.menu-button{ /* メニューボタン */
		width: 65px;
		height: 65px;
	}
	
	.menu-button-line{ /* メニューの線(中段) */	
		width: 45px;	
		height: 5.2px;
		border-radius: 3px;
		top: 23.4px;
		right: 10.4px;
	}
	
	.menu-button-line::before, .menu-button-line::after{ /* メニューの線(上下段) */
		width: 45px;	
		height: 5.2px;
		border-radius: 3px;
		right: 0px;
	}

	.menu-button-line::before{ /* 上段線の位置 */
		transform: translateY(-13px);
	}

	.menu-button-line::after{ /* 下段線の位置 */
		transform: translateY(13px);
	}

	.menu-button-text{ 
		font-size: 94.3%;
		bottom: 3px;
		left: 0;
		right: 0;
		margin: auto;
		transition: .3s;
	}

	.menu-button-line.active::before{
		transform: translateY(9.6px) rotate(45deg);
	}

	.menu-button-line.active::after{
		transform: translateY(9.6px) rotate(-45deg);
	}
	
	.menu-list-title{
		height: 50px;
	  	font-size: 1.1em;
	}
	
	.series-list{
		height: 50px;
		font-size: 1.3em;
	}
	
	.series-list img{
		width: 20vw;
	}

	.question-list{
		height: 50px;
		font-size: 1.3em;
	}
	
	.menu-series-title{
		font-size: 1em;
	}
}

/*===================
横幅1025px以上でのレイアウト　ヘッダー
===================*/
@media screen and (min-width: 1025px){
	.noscroll{
	  	overflow: visible;
	}

	.menu-button{ /* メニューボタン */
		display: none;
	}
	
	.menu-container{ /* メニュー */
		display: none;
	}
	
	.header-a-box{
		width: 70%;
	}

	.header-a-pc{
		display: flex;
		justify-content: flex-end;
		align-items: center;
		margin-right: 20px;
	}
		
	.header-a-contact{
		width: 200px;
		height: 32px;
		background: #3D63CC;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #FFFFFF;
		/*padding: 0 30px;*/
		border: 1px solid #3D63CC;
		transition: .3s;
	}
		
	.header-a-contact:hover{
		background: #EEEEEE;
		color: #3D63CC;
	}
	
	/* pc header-b =========================*/
	.header-b{
		display: flex;
		width: 100%;
		height: 40px;
		background: #555555;
		border-bottom: 1px solid #EEEEEE;
		justify-content: center;
		position: relative;
	}
	
	.header-b-container{
		width: 100%;
		max-width: 1300px;
		height: 100%;
		color: #FFFFFF;
		display: flex;
		justify-content: center;
		align-items: center;
	}
		
	.header-b-title{
		font-size: 0.8em;
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		border-left: 1px solid #EEEEEE;
		cursor: pointer; /* カーソルが指マークに */
		transition: .3s;
	}

	.header-b-title:last-of-type{
		border-right: 1px solid #EEEEEE;
	}
	
	.header-b-link{
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.header-b-arrow{
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
		transform: translateX(-5px); /* arrow分左に */
	}
	
	.header-b-arrow::before, .header-b-arrow::after{ /* 下向き矢印 */
		content: "";
		position: absolute;
		right: 25px;
		top: -5px;
		bottom: 0;
		margin: auto;
		width: 6px;
		height: 6px;
		border-radius: 2px;
		border-left: 2px solid #FFFFFF;
		border-bottom: 2px solid #FFFFFF;
		transform: rotate(-45deg);
		box-sizing: content-box;
	}
	
	.header-b-title:hover{
		background: #3D63CC;
	}
	
	.header-b-slide{
		position: absolute;
		background: rgba(34, 45, 69, 0.9); /* #F7F7F7 背景のみ透過 */
		font-size: 1em;
		top: 25px;
		left: 0;
		z-index: -1;
		transition: .3s;
		padding: 25px 2vw 15px 2vw;
		width: 100%;
		transform: translateY(-600px);
		display: flex;
		justify-content: center;
	}
	
	.header-b-slide ul{
		width: 1300px;
		max-width: 1300px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	.header-b-slide li{
		margin: 8px 0; /* ★★★ */
		display: flex;
		justify-content: center;
		flex-direction: column;
		height: 140px;
	}
	
	.header-b-slide a, .header-b-slide p{
		color: #333333;
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		font-size: 1.2em;
		color: #3D63CC;
		background: #F7F7F7;
		transition: .3s;
		position: relative;
		overflow: hidden;
		border-radius: 15px;
	}
	
	.header-b-series-a{
		color: #FFFFFF!important;
		background: linear-gradient(45deg, #FFFFFF, #CCCCCC)!important;
	}
	
	.header-b-series-name-box{
		z-index: 2;
		width: 100%;
		padding-left: 11%;
		position: absolute;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	
	.header-b-series-name{
		font-size: 1.2em;
		font-weight: bold;
		text-shadow: 0 0 0.4em #000000;
		display: flex;
		flex-direction: column;
	}
	
	.header-b-series-name-type{
		font-size: 0.8em;
		padding-top: 10px;
	}
	
	.header-b-slide svg{
		width: 50px;
		height: 50px;
		margin-bottom: 10px;
		fill: #3D63CC;
	}
	
	.yamanari-svg svg{
		width: 80px!important;
		height: 50px;
		margin-bottom: 10px;
		fill: #3D63CC;
	}
	
	.header-b-slide img{
		position: absolute;
		top: 0;
		right: 0;
		width: 60%;
		height: 100%;
		object-fit: cover;
		object-position: center bottom;
		transition: .3s;
	}
	
	.header-b-hajimeni li{
		width: 23%;
	}
	
	.header-b-item-type{
		color: #FFFFFF;
		padding-bottom: 7px;
		font-size: 0.9em;
	}
	
	.header-b-item-type span{
		display: inline-block;
	}
	
	.header-b-item-container{
		height: 140px;
	}
	
	.header-b-series li{
		width: 19.2%;
		height: 100px!important;
	}

	.header-b-support li{
		width: 23%;
	}
	
	.header-b-slide a:hover{
		background: #E2E5EE;
	}
	
	.header-b-slide.open{
		transform: translateY(0);
	}
	
	.header-b-series ul::before{
		content: "";
		display: block;
		width: 19%;
		order: 1;
	}
	
	.header-b-series ul::after{
		content: "";
		display: block;
		width: 19%;
	}
}

/*===============================================================
 フッター
=================================================================*/
footer{
	margin-top: 50px;
	padding-top:30px;
	background: #111111;
	color: #FFFFFF;
}

.footer-container{
	padding: 4vw 4vw 10vw 4vw;
	display: flex;
	justify-content: center;
	position: relative;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 100px;
}

.footer-aboutus{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer-mail{
	color: #3D63CC;
	background: #111111;
	border: 1px solid #3D63CC;
	font-weight: bold;
	padding: 8px;
	width: 250px;
	border-radius: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .3s;
}

.footer-mail svg{
	width: 20px;
	margin: 0 0 3px 2px;
	fill: #3D63CC;
}

.footer-text{
	margin-top: 80px;
	display: flex;
	flex-direction: column;
}

.footer-name{
	padding-top: 0;
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 16px;
}

.footer-address{
	padding-top: 16px;
	font-size: 0.8em;
}

.footer-sitemap{
	display: none;
}

.footer-sitemap ul{
	display: flex;
}

.footer-sitemap li{
	display: flex;
	flex-direction: column;
}

.footer-arrow{
	position: absolute;
	bottom: 20px;
	right: 5vw;
	transition: .6s;
	font-size: 0.8em;
	border: 1px solid #3D63CC;
}

.footer-arrow a{
	position: relative;
 	display: block;
	width: 60px;
	height: 70px;
}

.footer-arrow a::before{
    content: "";
	position: absolute;
	right: 0;
	left: 0;
	top: -20px;
	bottom: 0;
	margin: auto;
	width: 24px;
	height: 24px;
	border-radius: 4px;
	border-top: 6px solid #3D63CC;
	border-right: 6px solid #3D63CC;
	transform: rotate(-45deg);
	box-sizing: content-box;
}

.footer-arrow a::after{
	white-space: pre; /* 改行用 */
	content: 'PAGE\ATOP';
	font-size: 13px;
	color: #3D63CC;
	position: absolute;
	bottom: 5px;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}

.footer-arrow.active{
	position: fixed;
	bottom: 160px;
}

.footer-copy{
	padding: 5px;
	background: #888888;
	font-size: 0.7em;
	display: flex;
	justify-content: center;
}

.footer-copy::before{
	content: "\0a9";
}

.footer-mail:hover{
	background: #FFFFFF;
	color: #3D63CC;
}

.footer-sitemap a:hover{
 	text-decoration: underline;
}
	
.footer-arrow:hover{
	transform: translateY(-10px);
}

/*===================
横幅768px以上でのレイアウト　フッター
===================*/
@media screen and (min-width: 768px){
	footer{
		font-size: 1.2em;
	}
		
	.footer-mail{
		font-size: 1.2em;
		width: 320px;
		border-radius: 60px;
	}
		
	.footer-mail svg{
		width: 40px;
		margin: 0 0 6px 4px;
	}
	
	.footer-arrow img{
		width: 70px;
	}
	
}

/*===================
横幅1025px以上でのレイアウト　フッター
===================*/
@media screen and (min-width: 1025px){
	.footer-container{
		justify-content: space-between;
	}
	
	.footer-sitemap{
		display: block; 
		width: 60%;
		font-size: 0.8em;
	}
	
	.footer-sitemap ul{
		display: flex;
		justify-content: space-around;
	}
	
	.footer-sitemap li{
		line-height: 1.7;
	}
		
	.footer-sitemap h3{
		font-weight: bold;
		margin-bottom: 10px;
	}
	
	.footer-sitemap span{
  		margin-top: 10px;
	}

	.footer-sitemap span:first-of-type{
		margin-top: 0;
	}
	
	.footer-sitemap a, .footer-sitemap p{
		color: #CCCCCC;
		position: relative;
  		padding-left: 20px;
	}
	
	.footer-sitemap a::before, .footer-sitemap p::before{
		content: "";
		position: absolute;
		left: 10px;
		top: 0;
		bottom: 0;
		margin: auto;
		width: 6px;
		height: 6px;
		border-radius: 2px;
		border-left: 1px solid #AAAAAA;
		border-bottom: 1px solid #AAAAAA;
		transform: rotate(-135deg);
		box-sizing: content-box;
		transition: 0.6s cubic-bezier;
	}
	
	.footer-aboutus{
		width: 30%;
	}
	
	.footer-mail{
		font-size: 0.8em;
		width: 200px;
		border-radius: 30px;
	}
	
	.footer-mail svg{
		width: 20px;
		margin: 0 0 3px 2px;
	}
	
	.footer-text{
		font-size: 0.8em;
	}
	
	.footer-name{
		font-size: 1.5em;
	}
	
	.footer-address{
		font-size: 1em;
	}
	
	.footer-sitemap a:hover{
		color: #FFFFFF;
 		text-decoration: underline;
	}
}
/*===================
横幅1400px以上でのレイアウト　フッター
===================*/
@media screen and (min-width: 1400px){
	.footer-arrow{
		right: 60px;
	}
	
	.footer-container{
		padding: 50px 50px 100px 50px;
	}
}

/* 下メニュー(スマホ用) */
.bottom-menu{ 
	position:fixed;
	bottom: 0;
	z-index: 5;
	width: 100%;
	transition: .3s;
	box-shadow: 0px -1px 6px #BAC2D0;
	background-color: rgba(255,255,255,0.8);
	height: 125px;
}

.bottom-menu ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}
.bottom-menu li{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 33%;
}

.bottom-menu a{
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 0.6em;
	padding: 5px 0;
	position: relative;
	color: #3D63CC;
	font-weight: bold;
}

.bottom-menu svg{
	width: 36px;
	height: 48px;
	fill: #3D63CC;
}

.bottom-menu.hide{
	transform: translateY(100%);
}

.bottom-menu-text{
	position: absolute;
	bottom: 0;
}

@media screen and (min-width: 1025px){
	.bottom-menu{
		display: none;
	}
}
