@charset "UTF-8";
/* 2023.9.10 */

/******************** font ********************/

@font-face {
	font-family: "Poppins";
	font-style: Regular;
	font-weight: 400;
	src: url('poppins/Poppins-Regular_91.woff2') format('woff2'),
	     url('poppins/Poppins-Regular_91.woff') format('woff');
}

/*
@font-face {
	font-family: "Poppins";
	font-style: Regular;
	font-weight: 400;
	src: local('Poppins-Regular'),
	     local('Poppins Regular');
}
*/

/******************** Config ********************/

html {
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: auto;
}

body {
	/*font-family: sans-serif, "Hiragino Kaku Gothic StdN";*/
	font-family: sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1em;
	color: #333;
	width: 100%;
	height: 100%;
	background: #f5f5f6;
	margin: 0;
	padding: 0;
}

a						{color: #bbb;}
a:link, a:visited		{text-decoration: none;}
a:hover				{text-decoration: none;}
a:active				{text-decoration: none; background-color: none;}

@media (max-width: 567px), (max-height: 567px) {
body {
	color: #000;
}
}

* { outline: none; }
* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	tap-highlight-color: rgba(0,0,0,0);
}

img { 
	border: none;
}


/******************** Animation ********************/

#dragswipe {
 	position: absolute;
	width: 110px;
	height: 110px;
	background: url(../img/swipetext_w.png);
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
 	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	animation: drag 2.5s ease-in-out .7s 1;
	display: none;
}
@media (hover: hover) {
#dragswipe {
	background: url(../img/dragtext_w.png);
	background-repeat: no-repeat;
	background-size: contain;
}
}

@keyframes drag {
	20% { transform: translate(-10%, -50%); opacity: 1; }
	48% { transform: translate(-90%, -50%); opacity: 1; }
	70% { transform: translate(-50%, -50%); opacity: 1; }
}


/******************** Buttons ********************/
/*
	border: 1px solid #00ccff;
*/


#modal {
	z-index: 40;
	position: fixed;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fdfdfd center fixed no-repeat url(../img/loading.png);
}
@media (min-width: 1025px) and (min-height: 769px) {
	#modal {
		width: 1024px;
		height: 768px;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		margin: auto;
		border-radius: 6px;
		box-shadow: 0px 3px 3px 2px rgba(0,0,0,0.08);
		overflow: hidden;
	}
}

#container {
	width: 100%;
	height: 100%;
}
@media (orientation: portrait) and (max-width: 767px) {
	#container {
		width: 130%;
		margin: 0 -15%;
	}
}
@media (orientation: portrait) and (max-height: 550px) {
	#container {
		width: 110%;
		margin: 0 -5%;
	}
}


#controller {
	z-index: 5001;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto 5%;
	width: 80px;
	height: 60%;
	overflow: hidden;
	pointer-events: none;
	opacity: 0.2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
input[type="range"] {
	transform: rotate(-90deg);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	outline: none;
	box-sizing: border-box;
	width: 260px;
	height: 26px;
	border-radius: 13px;
	border: solid 5px transparent;
	background:
		-moz-linear-gradient(top right, #999, #ccc) padding-box,
		-moz-linear-gradient(top right, #ccc, #fff) border-box;
	background:
		-webkit-linear-gradient(top right, #999, #ccc) padding-box,
		-webkit-linear-gradient(top right, #ccc, #fff) border-box;
	background:
		linear-gradient(to bottom left, #999, #ccc) padding-box,
		linear-gradient(to bottom left, #ccc, #fff) border-box;
}
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	box-sizing: border-box;
	width: 65px;
	height: 65px;
	border-radius: 50%;
	border: 0;
	transform: rotate(90deg);
	box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
}
input[type="range"]::-moz-range-thumb {
	box-sizing: border-box;
	width: 65px;
	height: 65px;
	border-radius: 50%;
	border: 0;
	transform: rotate(90deg);
	box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
}
input[type="range"]::-ms-tooltip {
	display: none;
}
input[type="range"]::-moz-focus-outer {
	border: 0;
}


#back {
	z-index: 5001;
	position: absolute;
	top: 40px;
	right: 40px;
	width: 44px;
	height: 44px;
	cursor: pointer;
	display: none;
	transition: all 0.1s 0s ease-out;
}
#back span {
	position: absolute;
	right: 0;
	width: 61px;
	height: 2px;
	background-color: rgb(128,128,128);
}
#back:hover {
	color: rgb(0,0,0);
}
#back:hover span {
	background-color: rgb(0,0,0);
}
#back span:nth-child(1) {
	top: 0;
	transform: translate(8px,21px) rotate(-45deg);
}
#back span:nth-child(2) {
	bottom: 0;
	transform: translate(8px,-21px) rotate(45deg);
}
#link {
	z-index: 5001;
	position: absolute;
	top: 30px;
	right: 30px;
	display: none;
	transition: all 0.1s 0s ease-out;
	opacity: 0.2;
}
#link:hover {
	opacity: 0.5;
}
#link img {
	width: 110px;
}

.ja,
.en {
	display: none;
}
#label {
	z-index: 5001;
	position: absolute;
	width: 67%;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
}
#label h3 {
	font-family: "Noto Serif", serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 1em;
	font-feature-settings: "palt";
	text-align: center;	
	margin: 0;
}
#label .diameter {
	font-family: "Poppins";
	font-weight: 400;
	font-size: 16px;
	line-height: 1em;
	white-space: nowrap;
	letter-spacing: 0.1em;
	margin: 13px 0 0;
}
#label .artist {
	font-family: "Poppins";
	font-weight: 400;
	font-size: 14px;
	line-height: 1em;
	white-space: nowrap;
	letter-spacing: 0.08em;
	margin: 6px 0 0;
}
#credit {
	z-index: 5001;
	position: absolute;
	top: 15px;
	left: 20px;
	font-family: "Poppins";
	font-weight: 400;
	font-size: 13px;
	line-height: 1em;
	white-space: nowrap;
}



/******************** Media queries ********************/


@media (min-height: 901px) and (min-width: 568px) and (max-width: 1023px) {
#controller {
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	margin: 3% auto;
	flex-direction: row-reverse;
}

input[type="range"] {
	transform: none;
	background:
		-moz-linear-gradient(top, #999, #ccc) padding-box,
		-moz-linear-gradient(top, #ccc, #fff) border-box;
	background:
		-webkit-linear-gradient(top, #999, #ccc) padding-box,
		-webkit-linear-gradient(top, #ccc, #fff) border-box;
	background:
		linear-gradient(to bottom, #999, #ccc) padding-box,
		linear-gradient(to bottom, #ccc, #fff) border-box;
}
input[type="range"]::-webkit-slider-thumb {
	transform: none;
	box-shadow: 0px 4px 2px rgba(0,0,0,0.3);
}
input[type="range"]::-moz-range-thumb {
	transform: none;
	box-shadow: 0px 4px 2px rgba(0,0,0,0.3);
}
#label {
	top: 80px;
	bottom: auto;
}
#link {
	top: 25px;
	right: 20px;
}
#link img {
	width: 13vw;
}
}


@media (max-height: 900px) and (min-width: 568px) and (max-width: 1023px) {
#controller {
	width: 80px;
	height: 100%;
}
input[type="range"] {
	width: 220px;
}
input[type="range"]::-webkit-slider-thumb {
	width: 55px;
	height: 55px;
	box-shadow: 1px 3px 2px rgba(0,0,0,0.3);
}
input[type="range"]::-moz-range-thumb {
	width: 55px;
	height: 55px;
	box-shadow: 1px 3px 2px rgba(0,0,0,0.3);
}
#back {
	top: 25px;
	right: 25px;
	width: 28px;
	height: 28px;
}
#back span {
	right: 0;
	width: 39px;
	height: 2px;
}
#back span:nth-child(1) {
	top: 0;
	transform: translate(6px,13px) rotate(-45deg);
}
#back span:nth-child(2) {
	bottom: 0;
	transform: translate(6px,-13px) rotate(45deg);
}
#label {
	bottom: 12px;
}
#label h3 {
	font-size: 19px;
}
#label .diameter {
	font-size: 12px;
	margin: 10px 0 0;
}
#label .artist {
	font-size: 10px;
	margin: 5px 0 0;
}
#link {
	top: 15px;
	right: 20px;
}
#link img {
	width: 17vh;
}
#credit {
	top: 10px;
	left: 15px;
	font-size: 11px;
}
}


@media (max-width: 567px) {
#controller {
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px;
	margin: 5% auto;
	flex-direction: row-reverse;
}
input[type="range"] {
	transform: none;
	width: 220px;
	background:
		-moz-linear-gradient(top, #999, #ccc) padding-box,
		-moz-linear-gradient(top, #ccc, #fff) border-box;
	background:
		-webkit-linear-gradient(top, #999, #ccc) padding-box,
		-webkit-linear-gradient(top, #ccc, #fff) border-box;
	background:
		linear-gradient(to bottom, #999, #ccc) padding-box,
		linear-gradient(to bottom, #ccc, #fff) border-box;
}
input[type="range"]::-webkit-slider-thumb {
	width: 55px;
	height: 55px;
	transform: none;
	box-shadow: 0px 3px 2px rgba(0,0,0,0.3);
}
input[type="range"]::-moz-range-thumb {
	width: 55px;
	height: 55px;
	transform: none;
	box-shadow: 0px 3px 2px rgba(0,0,0,0.3);
}
#back {
	top: 25px;
	right: 25px;
	width: 28px;
	height: 28px;
}
#back span {
	right: 0;
	width: 39px;
	height: 2px;
}
#back span:nth-child(1) {
	top: 0;
	transform: translate(6px,13px) rotate(-45deg);
}
#back span:nth-child(2) {
	bottom: 0;
	transform: translate(6px,-13px) rotate(45deg);
}
#label {
	width: 60%;
	top: 8%;
	bottom: auto;
}
#label h3 {
	font-size: 19px;
}
#label .diameter {
	font-size: 12px;
	margin: 11px 0 0;
}
#label .artist {
	font-size: 10px;
	margin: 5px 0 0;
}
#link {
	top: 15px;
	right: 10px;
}
#link img {
	width: 17vw;
}
#credit {
	top: 10px;
	left: 15px;
	font-size: 11px;
}
}


/****************************************/
