@charset "UTF-8";
/* --------------------
Foundation
---------------------*/
/*----------------------------------------

	Layout

-----------------------------------------*/
/*------------------------
	ヘッダー
------------------------*/
.header {
	position: relative;
	width: 100%;
	height: 80px;
	z-index: 100;
	background: #fff;
}

@media (min-width: 768px) {
	.header {
		height: 107px;
	}
}

.institute-header {
	width: 100%;
	max-width: 1000px;
	height: 100%;
	margin: 0px auto;
	padding: 15px 20px;
	text-align: left;
	z-index: 1;
	display: flex;
	justify-content: space-between;
}

@media (min-width: 768px) {
	.institute-header {
		position: relative;
	}
}

#megsnow-logo {
	width: 175px;
}

#megsnow-logo a {
	display: block;
}

#megsnow-logo a img {
	display: block;
	transition: none;
}

/* --------------------------------------

		グローバルナビ_SP

---------------------------------------- */
.wrp-menu-btn {
	float: right;
	width: 64px;
	height: 48px;
	box-sizing: border-box;
	text-align: center;
	background: #00b4f5;
	border-radius: 20px;
}

.btn-header-menu {
	position: relative;
	width: 20px;
	height: 100%;
	margin-right: auto;
	margin-left: auto;
	padding: 14px 0;
	box-sizing: border-box;
}

.btn-header-menu-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.btn-header-menu-inner span {
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.3s;
	box-sizing: border-box;
}

.btn-header-menu-inner span:nth-of-type(1) {
	top: 0;
}

.btn-header-menu-inner span:nth-of-type(2) {
	top: 9px;
}

.btn-header-menu-inner span:nth-of-type(3) {
	top: 18px;
}

.wrp-menu-btn.is-opened .btn-header-menu-inner span:nth-of-type(1) {
	-webkit-transform: translateY(9px) rotate(-45deg);
	transform: translateY(9px) rotate(-45deg);
}

.wrp-menu-btn.is-opened .btn-header-menu-inner span:nth-of-type(2) {
	width: 0;
	left: 50%;
}

.wrp-menu-btn.is-opened .btn-header-menu-inner span:nth-of-type(3) {
	-webkit-transform: translateY(-9px) rotate(45deg);
	transform: translateY(-9px) rotate(45deg);
}

@media (min-width: 768px) {
	.wrp-menu-btn {
		display: none;
	}
}

/* --------------------------------------

		グローバルナビ_SP

---------------------------------------- */
body.is-fixed {
	overflow: hidden;
}

.wrp-header-menu-lists {
	display: none;
	position: absolute;
	left: 0;
	top: 80px;
	width: 100%;
	background-color: #fff;
	z-index: 1000;
	overflow-x: hidden;
}

.header-menu-lists {
	width: 100%;
	padding: 30px 20px 50px;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	height: calc(100% + 100px);
}

.header-menu-lists::after {
	content: "";
	position: absolute;
	display: block;
	width: 126px;
	height: 517px;
	right: -5px;
	top: 64px;
	background: url(../../img/top/bg_logo.png) no-repeat center;
	background-size: contain;
	z-index: 1;
}

.header-menu-list {
	position: relative;
	z-index: 2;
}

.nav-title {
	position: relative;
	font-size: 20px;
	font-size: 2rem;
	line-height: 1.6;
	font-weight: bold;
	margin-top: 32px;
	font-family: "M PLUS Rounded 1c";
	transform: rotate(0.03deg);
}

.nav-title.nav-title-icon {
	margin-top: 0;
}

.nav-title i {
	margin-right: 8px;
	font-size: 16px;
}

.float-nav {
	margin-top: 10px;
}

.float-nav_lists {
	padding-left: 20px;
}

.float-nav_text {
	position: relative;
	padding-left: 1.6em;
	margin-bottom: 5px;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.625;
	font-weight: bold;
}

.float-nav_text i {
	position: absolute;
	border-radius: 50%;
	margin-right: 8px;
	top: 0.2em;
	left: 0;
}

/* --------------------------------------

		グローバルナビ_PC

---------------------------------------- */
@media (min-width: 768px) {
	.wrp-gnav {
		display: block;
		position: relative;
	}

	.wrp-header-menu-lists {
		display: block;
		position: relative;
		width: 510px;
		height: 56px;
		background-color: #00b4f5;
		border-radius: 32px;
		left: auto;
		right: 0;
		top: 36px;
		overflow: visible;
	}
	.header-menu-lists {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		height: 100%;
		padding: 0 40px;
		border-radius: 32px;
		overflow: visible;
	}

	.header-menu-lists::after {
		display: none;
	}
	.header-menu-list {
		overflow: hidden;
	}
	.header-menu-list.open {
		overflow: visible;
	}
	.header-menu-list .nav-title {
		cursor: pointer;
	}
	.header-menu-list .nav-title a {
		color: #fff;
		opacity: 1;
		transition: 0.4s;
	}
	.header-menu-list .nav-title a:hover {
		opacity: 0.8;
	}
	.nav-wrap {
		position: relative;
	}
	.nav-title {
		font-size: 16px;
		font-size: 1.6rem;
		line-height: 1.375;
		height: 56px;
		line-height: 56px;
		color: #fff;
		font-weight: bold;
		padding: 0;
		margin: 0;
	}
	.nav-title.nav-title-icon {
		padding: 0;
	}
	.float-nav {
		position: absolute;
		transition: 0.4s;
		opacity: 0;
		margin-top: 0;
	}
	.float-nav_lists {
		margin-top: 13px;
		padding: 24px 32px 23px;
		border-radius: 20px;
		background-color: #fff;
	}
	.float-nav_list:not(:last-child) {
		margin-bottom: 8px;
	}

	.float-nav_text {
		font-size: 14px;
		font-size: 1.4rem;
		line-height: 1.64286;
	}
	.float-nav_text a {
		transition: 0.4s;
	}
	.float-nav_text a span {
		white-space: nowrap;
	}
	.float-nav_text:hover a {
		color: #00b4f5;
	}
	.header-menu-list.open .float-nav {
		opacity: 1;
	}
	.header-menu-list:nth-of-type(3) .float-nav {
		right: -40px;
	}
}

/*--------------------------------------------------------------------------------
	footer
--------------------------------------------------------------------------------*/
.footer {
	position: relative;
	background-size: cover;
}

.footer::before {
	content: "";
	display: block;
	position: absolute;
	right: 0;
	width: 100vw;
	height: 100%;
	background-color: #00B4F5;
	border-radius: 0 60px 0 0;
	z-index: 2;
}

.footer::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	background-color: #E2F3FF;
	width: 93.33333%;
	height: 107.33696%;
	z-index: 1;
	border-radius: 60px 0 0 0;
}

@media (min-width: 768px) {
	.footer {
		background-size: auto auto;
		padding-right: 40px;
	}
	.footer::before {
		right: 50%;
	}
	.footer::after {
		left: initial;
		right: 0;
		width: calc(50vw + 620px);
		height: 116.27907%;
		border-radius: 60px 0 0 0;
	}
}

/*--------------------------------------------------------------------------------
	back to top
--------------------------------------------------------------------------------*/
.institute-pagetop {
	/* padding: 0 20px; */
	position: absolute;
	bottom: 24px;
	right: 20px;
	/* width: 100%; */
	/* height: 56px; */
	/* max-width: 1440px; */
	z-index: 10;
}

@media (min-width: 1350px) {
	.institute-pagetop {
		right: 32px;
	}
}

@media (min-width: 768px) {
	.institute-pagetop {
		bottom: 27px;
	}
}

/* .institute-pagetop > p {
	margin: auto;
	text-align: right;
	max-width: 1440px;
} */

.institute-pagetop a {
	position: relative;
	z-index: 1;
	display: inline-block;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #1546A9;
	background-size: 16px auto;
	transition: -webkit-transform .3s;
	transition: transform .3s;
	transition: transform .3s, -webkit-transform .3s;
}

.institute-pagetop a i {
	display: block;
	font-size: 2.8rem;
	line-height: 56px;
	text-align: center;
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

@media (min-width: 768px) {
	.institute-pagetop a:hover {
		-webkit-transform: scale(1.1);
		transform: scale(1.1);
	}
}

/*--------------------------------------------------------------------------------
	institute-footer
--------------------------------------------------------------------------------*/
.institute-footer {
	position: relative;
	width: 100%;
	max-width: 1180px;
	height: 100%;
	margin: 0 auto;
	padding: 46px 20px 0;
	z-index: 3;
}

@media (min-width: 768px) {
	.institute-footer {
		padding: 64px 20px 40px 60px;
		background-color: #00B4F5;
		border-radius: 0 60px 0 0;
		left: 0;
	}
}


.footer-nav .footer-nav-list {
	margin-bottom: 32px;
}

.footer-nav .nav-title {
	position: relative;
	font-size: 20px;
	font-size: 2rem;
	line-height: 1.6;
	font-weight: bold;
	font-family: "M PLUS Rounded 1c";
	transform: rotate(0.03deg);
	color: #fff;
	margin-bottom: 10px;
}

.footer-nav .nav-title a {
	color: #fff;
}

.footer-nav .nav-title.nav-title-icon i {
	position: relative;
	margin-right: 8px;
	top: 0.1em;
}

.footer-nav .nav_lists {
	margin-left: 20px;
}

.footer-nav .nav_text {
	position: relative;
	margin-bottom: 10px;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.625;
	font-weight: bold;
}

.footer-nav .nav_text a {
	color: #fff;
}

.footer-nav .nav_text a i {
	margin-right: 8px;
}

.footer-nav .nav_text a i.icon-blank::before {
	color: #fff;
}

@media (min-width: 768px) {
	.footer-nav-lists {
		display: flex;
		justify-content: flex-start;
		max-width: 960px;
		margin: 0 auto 80px;
	}
	.footer-nav-list {
		margin-bottom: 0;
		width: 33.33333%;
	}
	.footer-nav .nav_lists {
		margin-left: 0;
	}
	.footer-nav .nav-title {
		font-size: 18px;
		font-size: 1.8rem;
		line-height: 1.44444;
		margin-bottom: 0;
	}
	.footer-nav .nav_text {
		margin-bottom: 10px;
		font-size: 14px;
		font-size: 1.4rem;
		line-height: 1.64286;
	}
	.footer-nav a span {
		opacity: 1;
		transition: 0.4s;
	}
	.footer-nav a span:hover {
		opacity: 0.8;
	}
}

.copyright {
	position: relative;
	color: #fff;
	z-index: 3;
	font-size: 10px;
	font-size: 1rem;
	line-height: 1.6;
	margin: 40px auto 32px;
	font-family: "M PLUS Rounded 1c";
	transform: rotate(0.03deg);
}

@media (min-width: 768px) {
	.copyright {
		font-size: 11px;
		font-size: 1.1rem;
		line-height: 1.27273;
		text-align: center;
		margin: 0 auto;
	}
}

.footer-logo {
	position: relative;
	background-color: #fff;
	width: 74.66667%;
	z-index: 3;
	padding: 15px 0;
	border-radius: 0 30px 0 0;
}

.footer-logo a {
	display: block;
}

.footer-logo a img {
	transition: none;
}

.footer-logo img {
	display: block;
	margin-left: 20px;
	width: 57.85714%;
}

@media (min-width: 768px) {
	.footer-logo {
		position: absolute;
		width: calc(50vw - 250px);
		min-width: 270px;
		height: 102px;
		bottom: 0;
		left: 0;
		display: flex;
		align-items: center;
	}
	.footer-logo p {
		margin-left: auto;
	}
	.footer-logo a {
		text-align: right;
		display: block;
	}
	.footer-logo img {
		display: block;
		width: 162px;
		margin-right: 88px;
	}
}
