@charset "utf-8";

body {
	background: #0f2247;
	color: #0f1f3f;
}

/*==============================================================================

	Link
	
==============================================================================*/

a:link {
	color: #0052b2;
}

a:visited {
	color: #0052b2;
}

a:hover {
	color: #0052b2;
	text-decoration: underline;
}

a:active {
	color: #0052b2;
}

/*==============================================================================

	Layout
	
==============================================================================*/

#wrap {
	display: block;
	position: relative;
	width: auto;
	margin: 0 auto;
	overflow: hidden;
}

#main {
	margin: 0 auto;
}

.pcNone {
	display: none;
}

@media screen and (min-width: 768px) {
	#wrap {
		width: 640px;
		margin: 0 auto;
	}
}

@media only screen and (max-width: 767px) {
	.spNone {
		display: none;
	}

	.pcNone {
		display: block;
	}
}

/*------------------------------------------------------------------------------
	header
------------------------------------------------------------------------------*/

#header {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	background: #000000;
	z-index: 9999;
}

#header .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 10px 14px 10px 10px;
}


#header img {
	vertical-align: top;
}

#header h1,
#header ul {
	margin: 0;
	padding: 0;
}

#header #logo {
	order: 1;
	margin: 0;
	padding: 0;
	width: 25vw;
	transition: all 0.2s ease-in-out;
}

#header #logo a {
	text-decoration: none;
}

#header #logo img {
	width: 100%;
	height: auto;
	vertical-align: top;
}

#header #regist_bnr {
	order: 2;
	width: 50vw;
	text-align: right;
}

#header #regist_bnr a {
	display: inline-block;
}

#header #regist_bnr img {
	width: 100%;
	height: auto;
}

#header #hamburger {
	order: 3;
}

@media screen and (min-width: 768px) {
	#header {
		height: auto;
	}

	#header .inner {
		height: auto;
		padding: 12px 34px 12px 14px;
	}

	#header #logo {
		margin: 0;
		width: 200px;
	}

	#header #regist_bnr img {
		width: auto;
		height: 60px;
		margin-right: 35px;
	}
}

/* ------------------------------ */
/* ナビゲーション
----------------------------------*/
.hamburger {
	margin-top: 5px;
	width: 36px;
	height: 36px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	cursor: pointer;
}

.hamburger .bar {
	width: 26px;
	height: 3px;
	background: #ffffff;
	border-radius: 2px;
	display: block;
	position: absolute;
	transition: all 0.3s;
}

.hamburger .bar-top {
	transform: translate(0, -8px);
}

.hamburger .bar-bottom {
	transform: translate(0, 8px);
}

.hamburger.close .bar-middle {
	opacity: 0;
}

.hamburger.close .bar-top {
	transform: translate(0, 0) rotate(45deg);
}

.hamburger.close .bar-bottom {
	transform: translate(0, 0) rotate(-45deg);
}

.nav-menu {
	margin: auto;
	visibility: hidden;
	position: fixed;
	max-width: 768px;
	width: 100%;
	height: 100%;
	padding-bottom: 66px;
	background: #ffffff;
	opacity: 0;

	overflow: scroll;
	z-index: 9999;
}

.nav-menu .member-nav {
	padding: 0.8em 1em;
	background: #0077cc;
	color: #ffffff;
	text-align: right;
	font-size: 1.6rem;
	line-height: 1.2;
}

.nav-menu .member-nav img {
	width: auto;
	height: 1.8rem;
	padding-right: 10px;
	vertical-align: bottom;
}

.nav-menu ul {
	margin: 0;
	padding: 0;
}

.nav-menu li {
	margin: 0;
	padding: 0;
	font-size: 1.6rem;
	line-height: 1.2;
}

.nav-menu a {
	display: block;
	padding: 0.6em 0.8em;
	border-bottom: 1px solid #d6d6dc;
}

.nav-menu a img {
	width: auto;
	height: 1.8rem;
	padding-left: 15px;
	vertical-align: bottom;
}

.nav-menu.close {
	visibility: visible;
	opacity: 1;
}

@media screen and (min-width: 768px) {

	/* ------------------------------ */
	/* ナビゲーション
----------------------------------*/
	.hamburger {
		margin-top: 5px;
		width: 36px;
		height: 36px;
	}

	.hamburger .bar {
		width: 26px;
		height: 3px;
	}

	.nav-menu {
		max-width: 640px;
		width: 100%;
	}
}

/* ------------------------------ */
/* モーダルウィンドウ
----------------------------------*/
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0, 0, 0, 60%);
	padding: 50px 0;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
	box-sizing: border-box;
}

/*モーダル本体の擬似要素の指定*/
.modal-container:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active {
	opacity: 1;
	visibility: visible;
	z-index: 9999;
}

/*モーダル枠の指定*/
.modal-body {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 500px;
	width: 86%;
}

/*モーダルを閉じるボタンの指定*/
.modal-close {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	top: -45px;
	right: -15px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}

/*モーダル内のコンテンツの指定*/
.modal-content {
	position: relative;
	background: #fff;
	text-align: left;
	padding: 2.4rem 2.2rem 2.8rem 2.2rem;
}

.modal-content .modal-title {
	position: relative;
	margin: 3.4rem 0 1.4rem 0;
	padding: 1.8rem 2rem;
	background: rgb(0, 144, 225);
	background: linear-gradient(90deg, rgba(0, 144, 225, 0.9) 0%, rgba(0, 212, 72, 0.9) 100%);
	font-size: 1.8rem;
	font-weight: 900;
	color: #ffffff;
	line-height: 1.2;
	text-align: left;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
	transform: skewX(-8deg);
}

.modal-content .modal-title:first-of-type {
	margin-top: 0;
}

.modal-content .modal-title::before {
	display: none;
}

.modal-content p {
	margin: 0 2.4rem;
	font-size: 1.4rem;
	line-height: 1.4;
	color: #0f1f3f;
}

/*------------------------------------------------------------------------------
	pagetop
------------------------------------------------------------------------------*/

#pagetop {
	position: fixed;
	bottom: 50px;
	right: 50px;
	z-index: 100;
}

#pagetop a {
	display: block;
	padding: 8px 15px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.5);
	font-size: 2.2rem;
	color: #ffffff;
}

#pagetop a:hover {
	animation: goback 0.2s ease-out 0s;
}

@keyframes goback {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.3);
	}

	100% {
		transform: scale(1);
	}
}

@media only screen and (max-width: 767px) {
	#pagetop {
		bottom: 10px;
		right: 10px;
	}

	#pagetop a {
		display: block;
		padding: 4px 8px;
		background: rgba(0, 0, 0, 0.5);
		font-size: 2rem;
		color: #ffffff;
	}
}

/*------------------------------------------------------------------------------
	footer
------------------------------------------------------------------------------*/

#footer {
	margin: 0;
	padding: 3rem 0 3rem 0;
	background: #000000;
	font-size: 1.4rem;
	line-height: 1.4;
}

#footer .inner {
	width: auto;
	margin: 0 4rem;
	text-align: center;
}

#footer p {
	color: #ffffff;
	font-size: 1.4rem;
	line-height: 1.2;
}

@media screen and (min-width: 768px) {
	#footer {
		padding: 5rem 0 5rem 0;
		font-size: 1.4rem;
		line-height: 1.4;
	}

	#footer .inner {
		margin: 0 4rem;
	}

	#footer p {
		font-size: 2rem;
		line-height: 1.2;
	}
}