@charset "UTF-8";

/*--------------------------- 
　　　基本設定
--------------------------- */

html {
	font-size: 62.5%;
	line-height: 1;
	-webkit-text-size-adjust: 100%;
}
html.stop {overflow: hidden;}
body {
	margin: 0;
	padding: 0;
	font-family: 'ヒラギノ角ゴシック','Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, 'sans-serif';
	font-size: 1.6em;
	letter-spacing: 0.1em;
	line-height: 1.5;
	background: #b9d9e9;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
h1,h2,h3,h4,h5,h6,p {
	padding: 0;
	margin: 0;
}
a {
	text-decoration: none;
	color: #000;
	transition: .3s ease;
}
a:hover {
	cursor: pointer;
}
ul,ol {
	margin: 0;
	padding: 0;
}
li {
	list-style: none;
	padding: 0;
}
.container {
	width: 90%;
	max-width: 1050px;
	margin: 0 auto;
}

.pc {display: block!important;}
.sp {display: none!important;}
@media (max-width: 840px){
	.pc {display: none!important;}
	.sp {display: block!important;}

}


/*--------------------------- 
　　　ヘッダー
--------------------------- */
header {
	position: fixed;
	display: table;
	top: 0;
	height: 120px;
	padding-top: 15px;
	box-sizing: border-box;
	width: 100vw;
	z-index: 999;
	background-color: #3a4666;
	border-bottom: solid 3px #1793ba;
}
.headA {
	position: relative;
	margin: auto;
	padding: 0 30px;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	box-sizing: border-box;
	z-index: 20;
	transition: all 0.5s ease;
}
.headA .box {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.headA .box .sub_menu {
	display: flex;
}
.headA .box .sub_menu li {
	margin-left: 20px;
}
.headA .box .sub_menu li img {
	width: 16px;
	margin: 0 3px 4px 0;
}
.headA .box .sub_menu li a {
	font-size: 1.4rem;
	color: #fff;
}
.headA .box .sub_menu li a:hover {
	opacity: .6;
}
.headA .logo {
	width: 340px;
}
.headA .logo a:hover {
	opacity: .6;
}
.menu_pc {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto 0;
}
.menu_pc nav {
	display: flex;
	padding-top: 10px;
}
.menu_pc .menu {
	width: 16%;
}
.menu_pc .menu li {
	position: relative;
	padding: 0 5px 0 3px;
	box-sizing: border-box;
}
.menu_pc .menu a{
	display: block;
	font-size: 1.6rem;
	padding: 15px 10px;
	box-sizing: border-box;
	color: #fff;
	text-align: center;
	border-radius: 10px 10px 0 0;
}
.menu_pc .menu a:hover {
	color: #fff;
	background-color: #1793ba;
}
.menu_pc .menu1:hover a,
.menu_pc .menu2:hover a,
.menu_pc .menu3:hover a,
.menu_pc .menu4:hover a,
.menu_pc .menu5:hover a,
.menu_pc .menu6:hover a{
	color: #fff;
	background-color: #1793ba;
}
.menu_pc .menu1,
.menu_pc .menu2,
.menu_pc .menu3,
.menu_pc .menu4,
.menu_pc .menu5,
.menu_pc .menu6{
	position: relative;
}
.menu_pc .menu1::after,
.menu_pc .menu2::after,
.menu_pc .menu3::after,
.menu_pc .menu4::after,
.menu_pc .menu5::after,
.menu_pc .menu6::after{
	content: "";
	position: absolute;
	right: 0;
	bottom: 15px;
	width: 2px;
	height: 22px;
	background-color: #ddd;
	
}

.menu_pc .menu-list {
	display: flex;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	justify-content: space-between;
	text-align: center;
	flex-wrap: wrap;
}
/*3カラムの最後の行を左寄せ*/
.menu_pc .menu-list::after {
	content: "";
	display: block;
	width: 33%;
}
.menu_pc .menu-list li {
	width: 33%;
	margin-bottom: 10px;
}
.menu-list-pc-1,
.menu-list-pc-2,
.menu-list-pc-3,
.menu-list-pc-4,
.menu-list-pc-5,
.menu-list-pc-6{
	position: fixed;
	top: 120px;
	left: 0;
	width: 100%;
	height: auto;
	padding: 10px 0 0;
	background-color: rgba(23,147,186,0.8);
	display: none;
}

.menu_pc .menu-list a{
	position: relative;
	display: block;
	color: #fff;
	width: 100%;
	padding: 15px;
	box-sizing: border-box;
	text-align: center;	
	border-radius: 0;
	border: solid 1px #fff;
}
.menu_pc .menu-list a:hover {
	background-color: #3a4666;
	color: #fff;
}
.menu_pc .menu-list a::after {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	right: 20px;
	bottom: 23px;
	border-top: solid 1px #fff;
	border-right: solid 1px #fff;
	transform: rotate(45deg);
	-webkit- transform: rotate(45deg);
}

.headB {
	position: fixed;
	top: 0;
	right: 0;
	display: block;
	z-index: 600;
	width: 60px;
	height: 60px;
	background-color: #1793ba;
}
.headC {
	position: fixed;
	top: 0;
	z-index: 100;
	transform: translateX(100%);
	transition: all 0.4s;
}
.menu_sp {
	display: block;
	width: 100vw;
	height: 100vh;
	z-index: 500;
	background: #1793ba;
	padding: 80px 20px 60px;
	box-sizing: border-box;
	overflow-y: scroll;	
}
.menu_sp .menu {
	margin: 0;
}

.menu_sp .link {
	padding: 40px 0 80px;
} 
.menu_sp .link a {
	display: flex;
	margin-bottom: 20px;
	padding: 0 10px;
	box-sizing: border-box;
	color: #b9d9e9;
	align-items: center;
	font-size: 1.8rem;
}
.menu_sp .link a img {
	margin-right: 10px;
}
.headC.open {
  transform: translateX(0);
}
#headC .bg_mg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	z-index: 60;
	background: #1793ba;
	border-bottom: solid 3px #fff;
}

#headC .menu dt {
	position: relative;
	border-bottom: solid 1px #fff;
}
#headC .menu dt a{
	position: relative;
	display: block;
	padding: 20px 10px;
	font-size: 1.8rem;
	color: #fff;
}
#headC .menu dd {
	margin-inline-start: 0px;
	display: none;
	
}

#headC .menu dd a {
	display: block;
	width: 100%;
	padding: 20px 10px;
	border-bottom: solid 1px #fff;
	font-size: 1.4rem;
	color: #fff;
	box-sizing: border-box;
}
	
	#headC .arrow1,
	#headC .arrow2,
	#headC .arrow3,
	#headC .arrow4,
	#headC .arrow5,
	#headC .arrow6{
		position: absolute;
		top: 5px;
		right: 0px;
		padding: 18px 20px;
		z-index: 100;
	}
	#headC .arrow {
		width: 10px;
		height: 10px;
		border-right: solid 1px #fff;
		border-bottom: solid 1px #fff;
		transform: rotate(45deg);
	}
	#headC .arrow:hover {
		cursor: pointer;
	}
	#headC .arrow1.open,
	#headC .arrow2.open,
	#headC .arrow3.open,
	#headC .arrow4.open,
	#headC .arrow5.open,
	#headC .arrow6.open{
		top: 10px;
		transform: rotate(180deg);
	}
#headC .sub-menu_sp {
	margin-top: 25px;
}
#headC .sub-menu_sp li{
	margin-top: 10px;
}
#headC .sub-menu_sp li a {
	display: block;
	padding: 15px 15px;
	box-sizing: border-box;
	background-color: #fff;
	color: #3a4666;
}
#headC .sub-menu_sp img {
	width: 20px;
	margin-bottom: 2px;
}

@media (max-width: 1115px){
	
}
@media (max-width: 840px){
	header {
		height: 60px;
		padding-top: 5px;
	}
	
	.headA {
		padding: 0 20px;
	}
	.headA .logo {
		display: block;
		width: 230px;
	}
	
	.headC {
		display: flex;
	}
	.menu {
		display: block;
	}
	.menu_pc {
		display: none!important;
	}
	.headA .box .sub_menu{
		display: none!important;
	}
}
@media (min-width: 840px){
	.headC {
		display:none;
	}
	.headB {
		display: none!important;
	}
}

/*--------------------------- 
　　　フッター
--------------------------- */
footer {
	text-align: center;
	margin-top: 70px;
	padding: 60px 0;
	background-color: #3a4666;
}
footer .pc img {
	max-width: 400px;
}
footer a {
	color: #fff;
	font-size: 1.6rem;
}
footer a:hover {
	opacity: .6;
}
footer .address {
	margin-top: 5px;
	margin-bottom: 20px;
	font-size: 1.2rem;
	color: #fff;	
}
footer .link {
	margin-bottom: 20px;
	padding: 15px 0;
}
footer .link a img {
	width: 20px;
	margin-right: 10px;
}
footer .link a {
	color: #b4d4e4;
	font-size: 1.4rem;
}
#footA .menu {
	margin: 0;
}
#footA .menu dd {
	margin-left: 0;
}


/*バナー*/
#banner {
	position: fixed;
	right: 0px;
	bottom: 0px;
	width: 100%;
	max-width: 500px;
	z-index: 600;
}

.fixed_banner .img_link {
	width: 100%;
	max-width: 500px;
}
.fixed_banner .img_link a {
	display: block;
}
.fixed_banner .img_link a img {
	width: 100%;
	max-width: 500px;
	height: auto;
}
.fixed_banner .text_link {
	background-color: #fff;
	padding: 5px 7px 7px;
	box-sizing: border-box;
	width: 100%;
	max-width: 670px;
	font-size: 1.4rem;
    text-align: center;
}
.fixed_banner .text_link .sp {
	display: none!important;
}
.fixed_banner .text_link .pc {
	display: inline-block!important;
}
.fixed_banner .text_link a {
	text-decoration: underline;
	color: #000;
	font-size: 1.4rem;
}
.fixed_banner .text_link a:hover {
	text-decoration: none;
	opacity: .6;
}
#banner_sp{
	width: 90%;
	position: fixed;
	bottom: 0px;
	left: 50%;
	transform: translateX(-50%);
	max-width: 500px;
	z-index: 600;
	transition: 0.5s ease;
}
.fixed_banner_scroll{
	width: 100%;
}
.main-visual-wrapper{
	position: relative;
}
#banner_firstview{
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 500px;
	z-index: 600;
}
.copyright {
	font-size: 1.0rem;
	color: #fff;
	padding: 10px 0;
}
.footB {
	padding: 20px;
}

.top_return {
	position: fixed;
	right: 20px;
	bottom: 110px;
	width: 40px;
	height: 40px;
	cursor: pointer;
	z-index: 9999;
}
.contact {
	position: fixed;
	right: 0;
	bottom: 30%;
	width: 50px;
	transition: .6s ease;
	cursor: pointer;
	z-index: 20;
}
.contact:hover {
	opacity: .6;
}

@media (max-width: 840px){
	footer {
		margin-top: 50px;
		padding: 0 0 150px 0;
	}
	footer .logo {
		max-width: 400px;
		margin: 0 auto;
		margin-top: 40px;
	}
	footer .address {
		font-size: 1.0rem;
	}
	footer .instagram {
		display: inline-block;
		margin: 30px 0 20px;
	}
	footer .link {
		width: 240px;
		margin: 0 auto;
	}
	footer .link a {
		display: block;
		text-align: left;
		margin-bottom: 20px;
	}
	.fixed_banner {
		top: auto;
		right: 60px;
		bottom: 10px;
	}
	
	#footA {
		position: relative;
		font-size: 1.3rem;
		background-color: #178db4;
	}
	
	#footA .menu dt {
		position: relative;
		border-bottom: solid 2px #fff;
	}
	#footA .menu dt a{
		position: relative;
		display: block;
		padding: 15px 0;
	}
	#footA .menu dd {
		display: none;
	}
	#footA .menu dd span {
		display: none;
	}
	#footA .menu dd a {
		display: block;
		padding: 15px 0;
		border-bottom: solid 2px #fff;
		background-color: #3a4666;
	}
	
	#footA .arrow1,
	#footA .arrow2,
	#footA .arrow3,
	#footA .arrow4,
	#footA .arrow5,
	#footA .arrow6{
		position: absolute;
		top: 0px;
		right: 0px;
		padding: 18px 20px;
		z-index: 50;
	}
	#footA .arrow {
		width: 10px;
		height: 10px;
		border-right: solid 1px #fff;
		border-bottom: solid 1px #fff;
		transform: rotate(45deg);
	}
	#footA .arrow:hover {
		opacity: .6;
		cursor: pointer;
	}
	#footA .arrow1.open,
	#footA .arrow2.open,
	#footA .arrow3.open,
	#footA .arrow4.open,
	#footA .arrow5.open,
	#footA .arrow6.open{
		top: 5px;
		transform: rotate(180deg);
	}
	.contact {
		display: none;
	}
	.top_return {
		right: 10px;
		bottom: 90px;
	}
}
@media (max-width: 640px){
	.fixed_banner {
		right: 0;
		bottom: 0px;
		width: 100%;
		max-width: 840px;
	}
	.fixed_banner .text_link .sp{
		display: inline-block!important;
	}
	.fixed_banner .text_link .pc{
		display: none!important;
	}
	.fixed_banner .text_link a {
		display: block;
	}
}
@media (min-width: 840px){
	footer .link {
		border-top: solid 1px #b4d4e4;
		border-bottom: solid 1px #b4d4e4;
	}
	footer .link a:nth-child(1){
		margin-right: 20px;
	}
	footer .link a:nth-child(2){
		margin-right: 20px;
	}
	#footA nav {
		display: flex;
		text-align: left;
		justify-content: space-between;
		width: 90%;
		max-width: 950px;
		margin: 0 auto;
	}
	#footA {
		margin: 30px 0 20px;
	}
	#footA .menu-list1,
	#footA .menu-list2,
	#footA .menu-list3,
	#footA .menu-list4,
	#footA .menu-list5,
	#footA .menu-list6{
		display: block!important;
	}
	#footA .menu dt {
		margin-bottom: 12px;
	}
	#footA .menu dt a {
		font-size: 1.6rem;
		
	}
	#footA .menu dd a {
		display: block;
		margin-bottom: 8px;
	}
	#footA .w-bg {
		display: block;
		padding: 8px 10px;
		box-sizing: border-box;
		background-color: #fff;
		color: #3a4666;
		font-weight: 500;
		text-align: center;
	}
	
	#footA .sub_menu {
		margin-top: 20px;
	}
	#footA .sub_menu .menu {
		width: 32%;
	}
}

/* 点滅 */

.blinking{
    -webkit-animation:blink 1.5s ease-in-out infinite alternate;
    -moz-animation:blink 1.5s ease-in-out infinite alternate;
    animation:blink 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}

@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}

@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}


/*=============================
.btn-trigger
=============================*/
.btn-trigger {
  position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  width: 25px;
  height: 22px;
  cursor: pointer;
}
.btn-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
.btn-trigger, .btn-trigger span {
  display: inline-block;
  transition: all .5s;
  box-sizing: border-box;
}
.btn-trigger span:nth-of-type(1) {
  top: 0;
}
.btn-trigger span:nth-of-type(2) {
  top: 10px;
}
.btn-trigger span:nth-of-type(3) {
  bottom: 0;
}

/*=============================
#btn01
=============================*/
#btn01.active span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(-45deg);
  transform: translateY(10px) rotate(-45deg);
}
#btn01.active span:nth-of-type(2) {
  opacity: 0;
}
#btn01.active span:nth-of-type(3) {
  -webkit-transform: translateY(-10px) rotate(45deg);
  transform: translateY(-10px) rotate(45deg);
}




/*SNS*/
.sns{
	right: 0px;
	bottom: 0px;
	width: 100%;
	max-height: 20px;
}

/*--------------------------- 
　　　学校長写真サイズ
--------------------------- */
.principal-image{
	width: 300px;
	float: left;
	padding-right: 20px;
}
@media (max-width: 840px) {
	.principal-image{
		width: 100%;
		max-width: 300px;
		clear:both;
		margin: 0 auto;
	}
}