﻿

.main {
	max-width: 768px;
	min-height: 100vh;
	margin: 0 auto;
}

.back_box {
	margin: 0 auto;
	margin-bottom: 1.25rem;
	max-width: 768px;
}

.back {
	color: inherit;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}

.thumbnails_box {
	width: 100%;
	margin-bottom: 40px;
}

.thumbnails {
	width: 100%;
	height: auto;
}

.prize_boxs {
/*	width: */
}

.prize_box {
	margin-bottom: 32px;
}

.prize {
	width: 260px;
	height: 58px;
	margin: auto;
	margin-bottom: 22px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #CCCCCC;
	border-radius: 10px;
	box-shadow: 3px 5px #CDD1D3;
}

.S {
	background: #ffff003b;
}

.A {
	background: #ff7b7b2b;
}

.B {
	background: #50ff501c;
}

.C {
	background: #5e5eff17;
}

.D {
	background: #00ffff0d;
}

.item_list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0px, 1fr));
	width: 100%;
	padding-inline: 0px;
}

.item_list_sub {
	grid-template-columns: repeat(4, minmax(0px, 1fr));
}

.item {
	max-height: 250px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;
	gap: 0.5rem;
	z-index: 1;

	padding-top: 8px;
	padding-inline: 8px;
	padding-bottom: 0px;
}

.item_photo {
	width: 100%;
	height: 100%;
	object-fit: contain;
}


.bottom_btn_box {
/*	width: 100%;*/
	display: flex;
	position: sticky;
	box-shadow: rgba(0, 0, 0, 0.1) 0px -2px 10px 0px;
	bottom: 0px;
	z-index: 101;
	background: #FFFFFF;
	padding-inline-start: 1rem;
	padding-inline-end: 1rem;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	border-radius: 20px 20px 0px 0px;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.pack_count_bigbox {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.pack_count_box {
	width: 100%;
	margin: 10px auto;
	text-align: center;

	display: flex;
	align-items: center;
}

.pack_count {
	width: 50%;
}

.one_money {
	font-size: 25px;
	font-weight: bold;
}

.pack_count_rest {
	
}

.pack_progress_bar {
	margin: auto;
	width: 80%;
	margin-bottom: 20px;
}

.progress {
	width: 100%;
	-webkit-appearance: none;
	vertical-align: baseline;
	border-radius: 15px;
	border-color: #E2E8F0;
}

.progress::-webkit-progress-bar {
	border-radius: 15px;
	background-color: #E0E0E0;
}

.progress::-webkit-progress-value {
	border-radius: 15px;
	background-color: #89B929;
}

.progress.yellow::-webkit-progress-value {
	background-color: #FFE050;
}

.bottom_btn_boxline {
/*	width: 100%;*/
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 0.75rem;
}

.bottom_btn_boxs {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 0.5rem;
}

.bottom_btn_wide_boxs {
	display: flex;
	-webkit-box-align: start;
	align-items: start;
	flex-direction: row;
	gap: 0.5rem;
	width: 100%;
}

.button {
	width: 168px;
	height: 44px;
	display: inline-flex;
	appearance: none;
	align-items: center;
	justify-content: center;
	user-select: none;
	position: relative;
	border-radius: 40px;

	color: #E2E8F0;
	font-size: 1rem;
	font-weight: bold;
	border-radius: 10px;
	border: none;
}

.button:before {
	margin-right: 0.5rem;
	content: "";
	background-image: url(/img/gatya_img.png);
	background-size: contain;
	background-repeat: no-repeat;
	width: 28px;
	height: 28px;
	display: inline-block;
}

.one_btn {
	background: #000000;
	box-shadow: 0px 0px 20px inset;
}

.ten_btn {
	font-weight: bold;
	color: #212121;
	background-image: linear-gradient(to right, #F8C215, #FFE357);
}

.ten_btn:before {
	
}

.one_hundred_btn {
	width: 100%;
	background-color: rgb(234, 69, 60);
}

.sold_out {
	color: #E53E3E;
}


@media screen and (max-width: 767px) {

	.button {
		font-size: 15px;
	}
}