@charset "utf-8";
/* CSS Document */

header {
	padding: 10px 0 20px;
	margin: 0 auto;
	text-align: center;
	background: #FFF;
	max-width: 900px;
}

header img {
	width: 100%;
	max-width: 900px;
	height: auto;
}

footer {
	background: #C8E7ED;
	padding: 15px;
	text-align: center;
	clear: both;
	font-size: 1.5rem;
	width: 100%;
}

footer hr.hr01 {
	background-color: #A9DBE4;
	border-top: 2px solid #A9DBE4;
	margin: 0.5em;
}

footer address {
	display: flex;
	text-align: left;
}
footer address span {
	font-weight: 700;
}

/* 表示領域が991.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 991.98px) {
	header {
		padding: 10px;
	}
	#contents { /* 以下 */
		margin: 0 auto 20px;
	}

	.fixed-bottom {
		position: static;
	}
	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;
  }
}

/* 表示領域が992px以上の場合に適用するスタイル */
@media screen and (min-width: 992px) {
	#contents { /* 以上 */
		margin: 0 auto;
		display: flex;
		justify-content: space-between;
		max-width: 1070px; /* メイン部分の最大幅 */
	}
	footer {
		width: 100%;
	}
	footer address {
		flex-wrap: wrap;
		justify-content: center;
	}
	footer address div:nth-of-type(2) {
		border-left: 1px solid #343435;
		padding: 0 10px;
		margin-left: 10px;
	}
  .spOnly {
    display: none !important;
  }
}