@charset "UTF-8";

#wrapper {
	position: fixed;
	display: flex;
	top: 0;
	left: 0;
	height: 100dvh;
}
#heading {
	padding: 0;
}
header .page {
	pointer-events: none;
}
#heading h1 {
	position: relative;
	display: inline-block;
	margin: 0;
	min-width: 45dvw;
	background-color: #fff;
	font-size: clamp(1.1em, 5vw, 2em);
}
#heading h1 span {
	padding: 5px 20px;
	white-space: nowrap;
}
#heading h1::after {
	position: absolute;
	top: 0;
	right: -30px;
	display: inline-block;
	content: "";
	width: 30px;
	height: 100%;
	background-color: #fff;
	clip-path: polygon(0 0, 0 100%, 100% 0);
}
@media (max-width: 767px) {
	#heading {
		padding: 0 0 5px;
	}
}
main {
	height: 100%;
}
#release {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0 20px;
	font-size: .9em;
}
#variation {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px 20px 0;
}
#variation a {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 40px;
	box-shadow: 2px 2px 5px #aaa;
}
@media (max-width: 767px) {
	#release {
		gap: 5px;
		padding: 0 10px;
		font-size: .7em;
	}
	#variation {
		gap: 5px;
		padding: 5px 10px 0;
	}
	#variation a {
		font-size: .6em;
	}
}
#image {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 70px;
	padding-bottom: 20px;
	max-width: 100dvw;
}
#image .inner {
	position: absolute;
	top: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 0 0 10px 0;
	height: 100%;
	opacity: 0;
	pointer-events: none;
}
#image .inner.active {
	opacity: 1;
	pointer-events: initial;
}
#image .inner img {
	width: 50%;
	height: 100%;
	max-width: 50%;
	max-height: 100%;
	pointer-events: none;
}
@media (max-width: 850px) {
	#image .inner {
		flex-direction: column;
	}
	#image .inner img {
		width: 100%;
		height: 50%;
		max-width: 100%;
		max-height: 50%;
	}
}
@media (orientation: landscape) {
	#image .inner {
		flex-direction: row;
	}
	#image .inner img {
		width: 50%;
		height: 100%;
		max-width: 50%;
		max-height: 100%;
	}
}
#model {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 100dvw;
}
#model .close {
	position: absolute;
	right: 0;
	width: 40px;
	height: 30px;
	transform: translateY(-30px);
	opacity: 0;
	pointer-events: none;
	z-index: 12;
}
#model .close.active {
	opacity: 1;
	pointer-events: all;
}
#model .close.active a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background-color: #f00;
	color: #fff;
	text-decoration: none;
}
#model .tab {
	position: relative;
	font-size: 0;
	z-index: 10;
}
#model .tab ul {
	display: inline-flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 0 5px;
	width: calc(100dvw - 60px);
	list-style: none;
}
#model .tab ul li {
	position: relative;
	flex: 1;
	max-width: 180px;
	background-color: #fff;
	border-radius: 10px 10px 0 0;
	font-size: 0;
}
#model .tab ul li a {
	display: inline-block;
	padding: 10px;
	border-bottom: 5px solid transparent;
}
#model .tab ul li a.active {
	border-color: #f00;
	/* pointer-events: none; */
}
#model .tab ul li a * {
	pointer-events: none;
}
#model .model_wrapper {
	height: 0;
}
#model .model_wrapper.active {
	height: auto;
}
#model .model_type {
	position: relative;
	display: none;
	justify-content: space-around;
	align-items: center;
	padding: 10px 20px;
	min-height: 120px;
	overflow: scroll;
	background-color: #fff;
	background-image: url(../images/model_back.png);
	background-repeat: no-repeat;
	background-size: cover;
	font-size: .9em;
	z-index: 10;
    overflow: hidden;

}
#model .model_wrapper.active .model_type {
	display: flex;
}
#model .model_inner {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	gap: 5px;
	width: 100%;
}
#model .model_item {
	display: none;
	justify-content: space-around;
	gap: 10px;
}
#model .model_item.active {
	display: flex;
}
#model .model_item .name {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 280px;
	text-align: left;
}
#model .model_item .type {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 100%;
}
#model .model_item .type a {
	display: none;
	justify-content: center;
	align-items: center;
	height: 100%;
	line-height: 1.4em;
	flex: 1;
}
#model .model_item .type a.show {
	display: inline-flex;
}
#model .color {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-direction: column;
	width: 200px;
	height: 100%;
}
#model .color p {
	margin-bottom: 5px;
	white-space: nowrap;
}
#model .color .color_circle {
	display: inline-flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
#model .color .color_circle .circle {
	display: none;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid #aaa;
	background-color: #fff;
}
#model .color .color_circle .circle.active {
	display: flex;
}
#model .color .color_circle a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background-color: #ccc;
	border: 5px solid #fff;
	border-radius: 50%;
}
#model .color .color_circle a:not(.active) i {
	display: none;
}
#model .color .color_circle a i {
	position: relative;
	top: -10%;
	display: inline-block;
	content: "";
	width: 40%;
	height: 60%;
	border-width: 5px;
	border-style: solid;
	border-top: none;
	border-left: none;
	transform: rotate(45deg);
}
@media (max-width: 767px) {
	#model .model_type {
		align-items: flex-start;
		gap: 10px;
		padding: 10px;
		max-width: 100dvw;
		min-height: 310px;
		font-size: .9em;
	}
	#model .model_inner {
		gap: 20px;
	}
	#model .color {
		width: auto;
	}
	#model .model_item {
		flex-direction: column;
		gap: 5px;
	}
	#model .model_item .name {
		width: auto;
	}
	#model .model_item .type {
		flex-direction: column;
	}
	#model .model_item .type a {
		width: 100%;
		height: 3em;
		flex: initial;
	}
	#model .color .color_circle {
		flex-direction: column;
	}
}