@charset "utf-8";
/* CSS Document */

header {
	padding: 20px;
	margin: 0;
	text-align: center;
}

header img {
	width: 100%;
	max-width: 950px;
	height: auto;
}

footer {
	background: #B1C6E7;
	padding: 15px 10px 10px;
	text-align: center;
	clear: both;
	font-size: 1.2rem;
	width: 100%;
	border-top: 1px solid #DEE6EC;
}

footer address {
	display: flex;
	text-align: left;
}

#contents {
	width: 100%;
	padding: 0;
}

/* 表示領域が991.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 991.98px) {
	#contents {
		margin: 0 auto;/* フッタの高さ分、余白を確保 */
	}

	footer address {
		flex-direction: column;
		text-align: center;
	}
	footer address div:first-of-type {
		padding-bottom: 5px;
	}
	footer address div:nth-of-type(2) {
		border-left: none;
	}
  .pcOnly {
    display: none !important;
  }
	.fixed-bottom {
		position: static;
	}
}

/* 表示領域が992px以上の場合に適用するスタイル */
@media screen and (min-width: 992px) {
	#contents { /* 以上 */
		display: flex;
		justify-content: space-between;
	}

	footer {
		width: 100%;
	}
	footer address {
		flex-wrap: wrap;
		justify-content: center;
	}
	footer address div:nth-of-type(2) {
		border-left: 1px solid #CCC;
		padding: 0 10px;
		margin-left: 10px;
	}
	footer address div:nth-of-type(3) {
		margin-left: 100px;
	}
  .spOnly {
    display: none !important;
  }
}