﻿html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
	transition: transform 0.3s ease-in-out;
	user-select: none;
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}

body.js-zoom {
  transform: scale(2);
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 2px 6px;
  border-radius: 5px;
  display: none;
  pointer-events: none;
  font-size: 12px;
  z-index: 10;
}

.pamphlet {
	position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
	cursor: pointer;
}
.pamphlet__main {
	position: relative;
}

.pamphlet__turn {
  position: relative;
}

.pamphlet__page {
  width: 100%;
  height: 100%;
}

.pamphlet__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
	cursor: zoom-in;
}
.js-zoom .pamphlet__image {
	cursor: zoom-out;	
}

.pamphlet__button {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ccc;
	width: 30px;
	height: 100vh;
	cursor: pointer;
	transition: opacity .3s;
}

.pamphlet__button:hover {
	opacity: .8;
}

.pamphlet__bottom {
	position: absolute;
	bottom: -20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #666;
	color: #fff;
	width: 100%;
	height: 20px;
	z-index: 1;
}

.float {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 100px;
	cursor: auto;
	z-index: 100;
}

.float__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	background-color: #eee6;
}

.button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.button__item {
	display: block;
	list-style: none;
	width: 50px;
	height: 50px;
	border-radius: 25px;
	cursor: pointer;
	transition: opacity .3s;
}

.button__item:hover {
	opacity: .8;
}

.button__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	width: 50px;
	height: 50px;
	border-radius: 25px;
}

.cta {
	position: absolute;
	left: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #c80000;
	color: #fff;
	width: 140px;
	height: 50px;
	text-decoration: none;
	font-weight: bold;
	border-radius: 25px;
	transition: opacity .3s;
}

.cta:hover {
	opacity: .8;
}

@media screen and (max-width: 600px) {
	.pamphlet {
		align-items: flex-start;
	}
	.float__inner {
		justify-content: space-between;
	}
	.button {
		gap: 10px;
		height: 50px;
	}
	.float {
		height: 50px;
	}
	.button__item {
		width: 36px;
		height: 36px;
	}
	.button__icon {
		width: 36px;
		height: 36px;
		img {
			width: 36px;
			height: 36px;
		}
	}
  .pamphlet__button {
		display: none;
	}
	.cta {
		position: relative;
		left: 10px;
		width: 100px;
		height: 36px;
		font-size: 14px;
		border-radius: 18px;
	}
}