@CHARSET "UTF-8";

@font-face {
	font-family: 'Makinas5';
	src: url('../../font/Makinas-Scrap-5.otf') format('opentype');
}

@font-face {
	font-family: 'GnKillGothic';
	src: url('../../font/GN-KillGothic-U-KanaNA.otf') format('opentype');
}

.chibiPartsBtnR {
	fill: #888;
}

.chibiPartsBtn {
	fill: white;
	opacity: 0;
	cursor: pointer;
}

.chibiPartsBtnR.selected {
	fill: #CCFF00;
}

.chibiCategoryBtnR {
	fill: #3F3F3F;
}

.chibiCategoryBtn {
	fill: white;
	opacity: 0;
	cursor: pointer;
}

.chibiCategoryBtnR.selected {
	/*	fill: #AFAFAF;	*/
}

g.menubutton {
	cursor: pointer;
}

g.resultbutton {
	cursor: pointer;
}

g.movebutton {
	cursor: pointer;
}

svg#chaSvgColor rect {
	cursor: pointer;
}

circle.ccolorbtn {
	cursor: pointer;
}

svg#chaSvgSave {
	overflow: visible;
}

#chaMakeResultLoad {
	height: inherit;
	width: inherit;
	position: fixed;
	z-index: 9999;
	background-color: rgba(0, 0, 0, 0.6);
	display: none;
}

#chaMakeResultLoad .loader {
	width: 60px;
	height: 60px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#chaMakeResultLoad .loader-text {
	color: #FFF;
	font-size: .9rem;
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translateX(-50%);
}

#chaMakeResultLoad .loader div {
	width: 20px;
	height: 20px;
	float: left;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	position: relative;
}

#chaMakeResultLoad .loader span {
	position: absolute;
	display: block;
	border-radius: 3px;
	animation: anim 1.2s infinite;
	animation-timing-function: linear;
}

@keyframes anim {
	0% {
		width: 0px;
		height: 0px;
		background: #18FFFF
	}

	40% {
		width: 15px;
		height: 15px;
		background: #D500F9
	}

	80% {
		width: 0px;
		height: 0px;
		background: #18FFFF
	}
}

#chaMakeResultLoad .loader div:nth-child(2) span,
#chaMakeResultLoad .loader div:nth-child(4) span {
	animation-delay: 0.15s;
}

#chaMakeResultLoad .loader div:nth-child(3) span,
#chaMakeResultLoad .loader div:nth-child(5) span,
#chaMakeResultLoad .loader div:nth-child(7) span {
	animation-delay: 0.30s;
}

#chaMakeResultLoad .loader div:nth-child(6) span,
#chaMakeResultLoad .loader div:nth-child(8) span {
	animation-delay: 0.45s;
}

#chaMakeResultLoad .loader div:nth-child(9) span {
	animation-delay: 0.60s;
}

/* キラキラ用 */

.card_holo {
	/* box-shadow: -3px -3px 3px 0 rgba(38, 230, 247, 0.6), 3px 3px 3px 0 rgba(247, 89, 228, 0.6), 0 0 6px 2px rgba(255, 231, 89, 0.6), 0 35px 25px -15px rgba(0, 0, 0, 0.5); */
	background-image: url("../../img/effect/holo01.svg");
}

.card_holo:before, .card_holo:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	background-image: linear-gradient(115deg, transparent 0%, #00e7ff 30%, #ff00e7 70%, transparent 100%);
	background-position: 0% 0%;
	background-repeat: no-repeat;
	background-size: 250% 250%;
	mix-blend-mode: color-dodge;
	opacity: 0.2;
	z-index: 1;
}

.card_holo:before {
	animation: reflection 3s linear infinite;
}

.card_holo:after {
	background-image: url("../../img/effect/sparkles.gif");
	background-position: center;
	background-size: 200%;
	mix-blend-mode: color-dodge;
	opacity: 1;
	z-index: 2;
}

.card_holo.active:before {
	opacity: 1;
	animation: none;
	transition: none;
	background-image: linear-gradient(115deg, transparent 0%, transparent 25%, rgba(0, 231, 255, 0.7) 45%, rgba(255, 0, 231, 0.7) 55%, transparent 70%, transparent 100%);
	background-position: 85% 95%;
}

@keyframes holoSparkle {
	0% {
		opacity: 0;
	}

	12% {
		opacity: 1;
	}

	70% {
		opacity: 0.5;
	}

	95% {
		opacity: 0.2;
	}
}

@keyframes holoGradient {
	3% {
		opacity: 0;
	}

	5% {
		background-position: 0% 0%;
	}

	7% {
		opacity: 0.5;
	}

	9% {
		background-position: 100% 100%;
	}

	11% {
		opacity: 0;
	}

	50% {
		opacity: 0;
		background-position: 100% 100%;
	}

	55% {
		opacity: 0.3;
	}

	70% {
		opacity: 0;
		background-position: 0% 0%;
	}
}

@keyframes reflection {
	0% {
		background-position: 100% 100%;
		opacity: 0;
	}

	5% {
		background-position: 75% 75%;
		opacity: 1;
	}

	20% {
		background-position: 0% 0%;
		opacity: 0;
	}

	100% {
		background-position: 0% 0%;
		opacity: 0;
	}
}

.pleasetap p {
	font-size: 0.75rem;
	text-align: center;
	margin: 0;
}

/* kawaii固有: iconmodeなので完成画像を小さく */
div#chaMakeResultImage {
	width: 300px !important;
	height: 300px !important;
	margin-bottom: 1rem;
}

#chaMakeResultImageView {
	width: 300px !important;
	height: 300px !important;
}
