
/* 特大デバイス（ワイド・デスクトップ, 1200px 以上）
==============================================*/
@media screen and (min-width: 1200px) {
	#footer #footer-contents > div {
		border-left: 1px solid #5a6a6f;
		border-right: 1px solid #5a6a6f;
		border-collaps: collapse;
	}
	#footer #footer-contents > div:last-child {
		border-right: 1px solid #5a6a6f;
	}
	#footer img {
		width: 200px; /*100%*/
	}
	#footer #footer-logo {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-pack: center;
		justify-content: center;
		padding-bottom: 0; /*20px*/
	}
}/* END */

/* 大デバイス（デスクトップ, 1200px 未満）
==============================================*/
@media screen and (max-width: 1199.98px) {
	/* トップページ：各セクション */
	#sec2 .row {
		background-size: auto 550px;
	}
}/* END */

/* 中デバイス（タブレット, 992px 未満）
==============================================*/
@media screen and (max-width: 991.98px) {
	#footer #footer-contents > div{
		border-bottom: 1px solid #5a6a6f;
		border-left: none;
		border-right: none;
		padding-bottom: 1rem;
	}
	#footer img {
		width: 50%; /*100%*/
		max-width: 748px;
		margin: 0 auto;
	}
	/* トップページ：各セクション */
	#sec2 img {
		width: 100%;
		height: 100%;
	}
}/* END */

/* 小デバイス（横向きモバイル, 768px 未満）
==============================================*/
@media screen and (max-width: 767.98px) {
	h1 {
		font-size: 2rem;
	}
	main .btn {
		font-size: 0.95rem;
	}
	#footer #footer-contents > div:first-child {
		border-right: none !important;
	}
	#footer .container {
		padding-top: 0px;
	}
	#footer .container .row {
		margin-bottom: 0;
	}
	#footer #copyright {
		font-size: 0.8rem;
	}
	#footer h2 {
		margin: 2rem 0;
	}

	/* トップページ：各セクション */
	#page-top h1 + small {
		font-size: 1.5rem;
	}
	#page-top .jumbotron-fluid {
		height: 320px;
	}
	#page-top section {
		padding-top: 20px;
	}
	#page-top section#sec2 {
		padding-top: 100px;
		padding-bottom: 100px;
	}
	#page-top section .container > h2 {
		margin-bottom: 15px; /*20px*/
		font-size: 1.5rem;
	}
	#page-top section .container > h2 + p {
		margin-bottom: 40px;
	}
	#page-top section .container h3 {
		font-size: 1.1rem; /*1.2rem*/
	}
	#sec2 .row {
		background-size: auto 400px;
	}
	#sec4 .card-body .card-subtitle {
		font-size: 0.75rem;
	}
	
	/* 下層ページ */
	#page section {
		padding: 3rem 0 0;
	}
}/* END */


/* ==============================================*/

@media screen and (max-width: 640px) {
	#page-top section .container > h2 {
		font-size: 1.6rem; /*2.5rem*/
		font-weight: bold; /*bolder*/
		margin-bottom: 10px; /*15px*/
	}
}

/* 極小デバイス（縦向きモバイル, 576px 未満）
==============================================*/
@media screen and (max-width: 575.98px) {
	.navbar-collapse .btn {
		margin: 10px auto;
	}
	/* トップページ：各セクション */
	#sec2 .row {
		background-size: auto 300px;
	}
	/* 下層ページ */
	#page section {
		padding: 2rem 0 0;
	}
}/* END */

/*==============================================*/
@media screen and (max-width: 375px) {
	#footer img {
		width: 50%; /*80px*/
	}
	#footer #footer-logo {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-pack: center;
		justify-content: center;
		padding-bottom: 0; /*20px*/
	}
}/* END */
