@charset "utf-8";
/* CSS Document */

header {
	max-width: 1200px;
}

header img {
	width: 100%;
	max-width: 730px;
	height: auto;
}

.footerFixed {
  display: grid;
  grid-template-rows: 1fr min-content;
  grid-template-columns: 100%;
  min-height: 100vh;
}

footer {
	background: #E5EDC5;
	padding: 10px;
	clear: both;
	font-size: 1.4rem;
}

footer hr.hr01 {
	background-color: #A19CCA;
	border-top: 1px solid #A19CCA;
	margin: 0.5em;
}

footer .top,
footer address {
	display: flex;
	text-align: left;
}
footer .top {
	justify-content: center;
	align-items: center;
	font-weight: 700;
}

footer .top > div:nth-of-type(2) {
	margin-left: 10px;
}

.pagetop {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 15px;
}
.pagetop a {
	display: block;
	background: #A9D8DD;
	text-align: center;
  color: #fff;
  font-size: 30px;
	text-decoration: none;
	padding: 10px 15px;
	filter:alpha(opacity=90);
	-moz-opacity: 0.9;
  opacity: 0.9;
  border-radius: 9999px;
  transition: all .5s ease;
  line-height: 1;
  z-index: 99;
}
.pagetop a:hover {
	display: block;
	background: #A9D8DD;
	text-align: center;
	text-decoration: none;
	filter:alpha(opacity=70);
	-moz-opacity: 0.7;
  opacity: 0.7;
}

#contents {
	margin: 0 auto;
	width: 100%;
	overflow:hidden;
	box-shadow: 0px 0px 5px #CCC;
}

/* 表示領域が991.98px以下の場合に適用するスタイル */
@media print, screen and (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;
	}
	.fixed-bottom {
		position: static;
	}
	header {
		text-align: center;
	}
}

/* 表示領域が767.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 767.98px) {
	footer .top {
		flex-direction: column;
	}
	footer .top img {
		max-width: 30px;
		height: auto;
	}
	footer .top > div:nth-of-type(1) {
		text-align: center;
	}
	footer .top > div:nth-of-type(2) {
		margin-left: 0;
		margin-top: 5px;
	}
}

/* 表示領域が992px以上の場合に適用するスタイル */
@media screen and (min-width: 992px) {
	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;
	}
}