/*------------------------------------
汎用
------------------------------------*/
html {min-width: 980px;}

body {
	min-width: 980px;
	min-height: 100%;
	background: url(../img/bg.png) #0075b6;
}

img {
	display: block;
	margin: 0 auto 40px;
	width: auto;
}

/*コンティナ*/
.container {
	display: block;
	width: 900px;
	margin: 0 auto 80px;
}

/*汎用flex*/
.flex-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/*------------------------------------
ヘッダー
------------------------------------*/
header {margin: 0 auto 80px;}
header h1 {margin: 40px auto}
/*------------------------------------
中身
------------------------------------*/
.course {}
.course h2{margin-bottom: 40px;}
.course .flex-box img{
	width: 48%;
	margin: 0;
}
.price {margin: 100px auto;}
.flow h2{margin-bottom: 40px;}
.flow img {margin: 0 auto 20px;}
.flow a{
	display: block;
	width: 600px;
	height: 60px;
	margin: 80px auto;
	background: url(../img/flow/contact.png) #fff center no-repeat;
	transition: 0.3s;
}
.flow a:hover {background: url(../img/flow/contact_h.png) #004ea1 center no-repeat;}

/*------------------------------------
フッター
------------------------------------*/
footer {background: #004ea1;}
footer .flex-box {
	justify-content: center;
	margin: auto 0;
	padding: 20px 0;
}
footer img{margin: 0 20px;}
footer p{color: #fff;}
/*------------------------------------
スクロール
------------------------------------*/
.scrollup{
	display: flex;
	align-items: center;
	position: fixed;
	background: #fff;
	right: 28px;
	bottom: 48px;
	width: 60px;
	height: 60px;
	border-radius: 100%;
	opacity: 1;
	transition: 0.3s;
	z-index: 9000;
}
.scrollup img{
	display: block;
	width: 36px;
	height: 19px;
	margin: -6px auto 0;
}
.scrollup:hover{opacity: 0.7;}

@media(max-width: 768px) and (min-width: 641px) {
	html {min-width: 100%;}

	body {min-width: 100%;}

	img {
		display: block;
		margin: 0 auto 20px;
		width: auto;
	}

	/*コンティナ*/
	.container {
		display: block;
		width: 90%;
		margin: 0 auto 80px;
	}
	/*------------------------------------
	ヘッダー
	------------------------------------*/
	header {margin: 0 auto 40px;}
	header .container {margin: 0 auto 40px;}
	header h1 {margin: 40px auto 0;}
	header h1 img {width: 398px;}
	header .flex-box {width: 100%;}
	header .flex-box div:nth-child(1) {width: 60%;}
	header .flex-box div:nth-child(2) {width: 40%;}
	/*------------------------------------
	中身
	------------------------------------*/
	.course h2 img {height: 101px;}
	.course .flex-box img{
		width: 48%;
		margin: 0;
	}
	.price {margin: 100px auto;}
	.flow h2{margin-bottom: 20px;}
	.flow h2 img{width: 272px;}
	.flow img {margin: 0 auto 10px;}
	.flow a{
		width: 500px;
		height: 60px;
		margin: 80px auto;
		background: url(../img/flow/contact.png) #fff center no-repeat;
	}
	.flow a:hover {background: url(../img/flow/contact_h.png) #004ea1 center no-repeat;}
	/*------------------------------------
	フッター
	------------------------------------*/
	footer {background: #004ea1;}
	footer .flex-box {
		justify-content: center;
		margin: auto 0;
		padding: 20px 0;
	}
	footer img{margin: 0 20px;}
	footer p{color: #fff;}
	/*------------------------------------
	スクロール
	------------------------------------*/
	.scrollup{
		right: 24px;
		bottom: 42px;
		width: 56px;
		height: 56px;
	}
	.scrollup img{
		display: block;
		width: 32px;
		height: 17px;
		margin: -6px auto 0;
	}
}

@media screen and (max-width: 640px) {
	html {min-width: 100%;}

	body {min-width: 100%;}

	img {
		margin: 0 auto 20px;
		width: auto;
	}

	/*コンティナ*/
	.container {
		width: 92%;
		margin: 0 auto 40px;
	}
	/*------------------------------------
	ヘッダー
	------------------------------------*/
	header {margin: 0 auto 20px;}
	header .container {margin: 0 auto 30px;}
	header h1 {margin: 30px auto 0;}
	header h1 img {width: 75%;}
	header .flex-box {width: 100%;}
	header .flex-box div:nth-child(1) {width: 60%;}
	header .flex-box div:nth-child(2) {width: 40%;}
	/*------------------------------------
	中身
	------------------------------------*/
	.course h2 {margin-bottom: 20px;}
	.course h2 img {
		width: 50%;
		height: auto;
	}
	.course .flex-box img{
		width: 48%;
		margin: 0;
	}
	.price {margin: 50px auto;}
	.flow h2{margin-bottom: 20px;}
	.flow h2 img{width: 50%;}
	.flow img {margin: 0 auto 10px;}
	.flow a{
		width: 100%;
		height: 40px;
		margin: 40px auto;
		background: url(../img/flow/contact.png) #fff center/auto 50% no-repeat;
	}
	.flow a:hover {background: url(../img/flow/contact_h.png) #004ea1 center/auto 50% no-repeat;}
	/*------------------------------------
	フッター
	------------------------------------*/
	footer .flex-box {
		flex-direction: column;
		justify-content: center;
		margin: auto 0;
		padding: 20px 0;
	}
	footer img{
		width: 50px;
		height: 50px;
		margin: 0 auto 10px;
	}
	footer p{font-size: 12px;}
	/*------------------------------------
	スクロール
	------------------------------------*/
	.scrollup{
		right: 18px;
		bottom: 28px;
		width: 40px;
		height: 40px;
	}
	.scrollup img{
		display: block;
		width: 24px;
		height: 13px;
		margin: -6px auto 0;
	}
}

