@charset "utf-8";

body {
	margin: 0;
}

#rightPage,
#leftPage {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top right;
	width: 48%;
	max-height: 100vh;
	min-height: 90vh;
}
#centerPage {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top center;
	width: 100%;
	max-height: 100vh;
	min-height: 90vh;
}
#rightPage {
	background-position: top left;	
}
.catalog--wrap {
	max-height: 100vh;
	min-height: 90vh;

	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 10px;
}
}
.catalog--wrap img {
	width: 100%
}
.hard {
	background-size: contain;
	float: left;
	background-repeat: no-repeat;
}
.odd {
	background-position: top left;
}
.even {
	background-position: top right;
}

.button--wrap button {
	width: 30%;
	margin: 2%;
}

.catalog_title {
	margin-top: 60px;
	text-align: center;
	padding: 10px;
	background: #393939;
	color: #fff;
	font-weight: bold;
}

#catalog_container {
  transition: transform 0.3s ease-in-out; /* スムーズな拡大・縮小のためのアニメーション */
}

.header_button {
	padding: 10px 0;
	z-index: 10;
	background: #676767;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	position: absolute;
	width: 100%;
	top: 0;
}

.header_button button {
	width: auto;
	font-size: 13px;
	padding: 0px 10px;
	margin: 0px 5px;
}

#print_button {
	margin-left: 15px;
}

.pagecount--wrap {
	display: flex;
	align-items: center;
	background: #fff;
	padding: 8px;
	margin: 0;
}

.pagecount--wrap p {
	padding: 0px 15px;
	margin: 0;
}

#now_page_count {

}

.prev_button {
	position: absolute;
	left: 1%;
	top: 57%;
	height: 80%;
	transform: translateY(-50%);
	-webkit- transform: translateY(-50%);
}

.next_button {
	position: absolute;
	right: 1%;
	top: 57%;
	height: 80%;
	transform: translateY(-50%);
	-webkit- transform: translateY(-50%);
}

.prev_button,
.next_button {
	background: #fff;
	border: 1px solid #a3a3a3;
}

.prev_button:hover,
.next_button:hover {
	cursor: pointer;
	opacity: .6;
	background: #333;
}

@media screen and (max-width:648px) {
	.header_button button {
		display: none;
	}
	.prev_button, .next_button {
		background: transparent;
		border: none;
	}
	.header_button {
		justify-content: center;
	}
}

/* 印刷時の設定 */
@media print {
	@media screen and (max-width:950px) {
	  @page {
	    size: landscape;
	  }
	}

	@media screen and (min-width:950px) {
	  @page {
	    size: portrait;
	  }
	}
	.catalog--wrap {
		display: block;
		margin: auto;
		text-align: center;
	}
	#printpage {
		width: 48%;
	}
}