@charset "utf-8";
/* CSS Document */

header {
	padding: 10px 0;
	/* margin: 10px; */
	text-align: center;
}

header img {
	width: 80%;
	max-width: 700px;
	height: auto;
}
footer {
	background: #1E474B;
	padding: 10px;
	text-align: center;
	clear: both;
	color: #FFF;
	font-size: 1.2rem;
	width: 100%;
}
footer a:link {
	color: #FFF;
}
footer a:visited {
	color: #FFF;
}
footer a:hover {
	color: #CCC;
}
footer a:active {
	color: #CCC;
}
footer hr.hr01 {
	background-color: #1E474B;
	border-top: 1px solid #A19CCA;
	margin: 0.5em;
}
footer address {
	display: flex;
	text-align: left;
}

.bg {
	/* background: #FFF url("../bg.png") bottom center no-repeat; */

	/* 方眼紙模様に必須のスタイル */
	background-image: linear-gradient(0deg, transparent calc(100% - 1px), #fcf3de calc(100% - 1px)),
						linear-gradient(90deg, transparent calc(100% - 1px), #fcf3de calc(100% - 1px));
	background-size: 16px 16px;
	background-repeat: repeat;
	background-position: center center;

	/* 以下任意のスタイル */
	padding: 20px;
}

.contents {
	width: 100%;
	padding: 0;
}
.title {
	color: #FFF;
	font-size:2.4rem;
	padding: 20px 14px;
	background: #1E474B;
	letter-spacing: 1px;
	font-weight: bold;
	margin: 0;
	width: 100%;
	border-radius: 7px;
	margin-bottom:  3px;
}
.bold { font-weight:bold; }

/* 表示領域が991.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 991.98px) {
	header {
		/* padding: 10px; */
		max-width: 991.98px;
	}
	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;
	}
	.contents {
		margin: 0 auto;
	}
	.pcOnly {
	display: none !important;
	}
	.fixed-bottom {
		position: static;
	}
	.title {
		margin-top: 5px;
		padding: 14px 15px 16px;
		border-radius: 0;
		font-size: 2.2rem;
	}
}

/* 表示領域が992px以上の場合に適用するスタイル */
@media screen and (min-width: 992px) {
	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;
	}
	.contents { /* 以上 */
		display: flex;
		justify-content: space-between;
		margin: 0 auto;
	}
	#left-contents,
	#middle-contents {
		margin-bottom: 100px;/* フッタの高さ分、余白を確保 */
	}
  .spOnly {
    display: none !important;
  }
}