body {
	-webkit-tap-highlight-color: transparent;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    /* Smooth Scroll */
	overflow: hidden;
	overscroll-behavior: none !important;
	background-color: black;
	font-size: 1.6em;
	line-height: 24px;
    /* cursor: none; */
	font-family: 微軟正黑體, sans-serif;
}

select,
button,
input {
}

img {
	max-width: 100%;
}

#toplogo {
	position: absolute;
	top: 35px;
	z-index: 20;
	width: 280px;
	left: 35px;
}

#toplogo img {
}

#btnlogo {
	position: absolute;
	right: 35px;
	z-index: 20;
	bottom: 15px;
	width: 386px;
}

#btnlogo img {
}

#load {
	position: absolute;
	z-index: 80;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.76);
}

section {
	position: relative;
	width: 100%;
	max-width: 1920px;
	height: 100vh;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	max-height: 1080px;
	margin: 0 auto;
}

#music_tip {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgb(0 0 0 / 71%);
	z-index: 50;
	left: 50%;
	top: 0%;
	transform: translate(-50%, -0%);
}

#music_tip .tip {
	background: rgb(255 255 255);
	position: absolute;
	width: 32%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

#music_tip .tip img {
	width: 100%;
}

#music_tip .tip .botton {
	position: absolute;
	width: 37%;
	height: 26%;
	display: block;
	top: 44%;
	cursor: pointer;
	background-color: rgb(255 255 255);
	opacity: .5;
	transition: all .3s ease;
}

#music_tip .tip .open {
	right: 50%;
}

#music_tip .tip .close {
	left: 50%;
}

/*game_first*/
#game_first {
	position: relative;
	background-image: url(../images/bg01.png);
	display: none;
	height: 100vh;
    /*給 Safari 以外的瀏覽器讀取*/
    /*  */
}

#game_first.hide {
	opacity: 0;
	pointer-events: none;
	transition: all .5s ease;
}

#game_first .main {
	width: 44%;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -3%;
	z-index: 3;
}

#game_first .botton {
	position: absolute;
	z-index: 10;
	bottom: 9%;
	width: 19%;
	left: 50%;
	transform: translateX(-50%) scale(1);
	cursor: pointer;
	transition: all .3s ease;
}

#game_first .man {
	position: absolute;
	width: 37%;
	z-index: 5;
	bottom: 5%;
	left: -4%;
	animation: move_up 1.2s linear infinite alternate;
}

#game_first .star {
	position: absolute;
	left: 50%;
	z-index: 4;
	width: 50px;
	top: 0;
}

#game_first .star.star01 {
	left: 30%;
	top: -1%;
	animation: shine_ .6s linear infinite alternate;
}

#game_first .star.star02 {
	left: 82%;
	top: 19%;
	animation: shine_ .5s linear infinite alternate 1s;
}

#game_first .star.star03 {
	right: 1%;
	top: 37%;
	left: auto;
	width: 37px;
	animation: shine_ .5s linear infinite alternate .3s;
}

#game_first .star.star04 {
	right: 17%;
	top: 63%;
	left: auto;
	width: 35px;
	animation: shine_ .5s linear infinite alternate .5s;
}

#game_first .star.star05 {
	top: 53%;
	left: 30%;
	width: 46px;
	animation: shine_ .5s linear infinite alternate .7s;
}

@keyframes shine_ {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	80%,
    100% {
		transform: scale(.5);
		opacity: 0;
	}
}


/* game_memo */
#game_memo {
	position: absolute;
	background-image: url(../images/bg02.png);
	display: none;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	z-index: 22;
}

#game_memo .man {
	width: 43%;
	position: absolute;
	left: 50%;
	bottom: 7%;
	z-index: 2;
	animation: move_up 1.2s linear infinite alternate;
}

#game_memo .star {
	position: absolute;
	z-index: 3;
	width: 154px;
	right: 16%;
	top: -75px;
	animation: shine_ 1s linear infinite alternate;
}

#game_memo .star.star02 {
	width: 78px;
	right: 8%;
	top: 34px;
	animation: shine_ 1s linear infinite alternate .5s;
}

#game_memo .botton {
	width: 207px;
	margin-top: 35px;
	display: block;
	margin-right: 10%;
	margin-left: auto;
	cursor: pointer;
}

#game_memo .textbox {
	background-color: rgb(255 255 255 / 95%);
	border-radius: 50px;
	width: 48%;
	position: absolute;
	height: 19vw;
	top: 23%;
	left: 5%;
	border: 10px solid rgb(126 171 194 / 51%);
	box-shadow: 2px 1px 16px #ffffffb0;
}

#game_memo .text {
	font-size: 2vw;
	line-height: 1.6;
	font-weight: bold;
	position: relative;
	padding: 9%;
	padding-bottom: 0;
}

#game_memo .text::before {
	content: '';
	background-image: url(../images/dot.png);
	WIDTH: 3vw;
	height: 3vw;
	position: absolute;
	left: 2.8vw;
	background-size: contain;
	top: 3.4vw;
	background-repeat: no-repeat;
	animation: shine_2 1s linear infinite alternate;
}

@keyframes shine_2 {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	100% {
		transform: scale(.8);
		opacity: .1;
	}
}


/* game_tip */
#game_tip {
	position: absolute;
	background-image: url(../images/tip2.png);
	z-index: 22;
	display: none;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

#game_tip .botton {
	display: block;
	margin-left: auto;
	cursor: pointer;
	position: absolute;
	bottom: 20%;
	left: 40%;
	max-width: 210px;
	width: 11vw;
}


/*video_block*/
#video_block {
	position: absolute;
	display: none;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

#video_block video {
	object-fit: cover;
	width: 100%;
	height: 100%;
}



/* gamebox */
#gamebox {
	position: absolute;
	background-image: url(../images/gamebg.png);
	visibility: hidden;
	pointer-events: none;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: all .5s ease;
}

#gamebox.show {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

#gamebox::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 5;
	background-color: black;
	left: 0;
	top: 0;
	pointer-events: none;
	transition: all .5s ease;
	opacity: 0;
}

#gamebox.dark::after {
	opacity: .55;
}

.shadow {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 21;
	background-color: black;
	left: 0;
	top: 0;
	pointer-events: none;
	transition: all .5s ease;
	opacity: .55;
	display: none;
}

#master {
	position: absolute;
	width: 230px;
	bottom: -28px;
	left: calc(50% - 115px);
	z-index: 10;
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
}

#gamebox .all_times {
	position: absolute;
	color: rgb(255 255 255);
	bottom: 51px;
	font-weight: bold;
	left: 50px;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}

#gamebox .qtitle {
	color: rgb(255 255 255);
	position: absolute;
	width: 100%;
	padding: 0 16vw;
	margin: 0 auto;
	top: 4.5vw;
	font-size: 1.8vw;
	text-align: center;
	box-sizing: border-box;
	line-height: 1.2;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
	font-weight: bold;
	z-index: 22;
}

#gamebox .bullets {
	background-image: url(../images/b.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 30px;
	height: 35px;
	position: absolute;
	bottom: 248px;
	opacity: .9;
	left: 22px;
	z-index: 11;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}

#count-down-timer {
	background-size: contain;
	background-image: url(../images/time.png);
	color: white;
	font-size: 2.8rem;
	width: 120px;
	height: 144px;
	position: absolute;
	right: 3%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-repeat: no-repeat;
	font-weight: bold;
	top: 4%;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}

.balloon_line {
	position: absolute;
	display: flex;
	top: 12vw;
	z-index: 10;
	pointer-events: none;
	right: 100%;
}

.balloon_line.balloon_line2 {
	left: 100%;
	right: auto;
}

.balloon_line.balloon_line2 {
	margin-top: 15vw;
}

.balloon_line .balloon_box {
	background-image: url(../images/ball_ok.png);
	width: 9vw;
	height: 16vw;
	background-size: contain;
	background-repeat: no-repeat;
	max-width: 210px;
	font-size: 1.7vw;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
	pointer-events: none;
	margin-left: 3vw;
	margin-right: 3vw;
	animation: move_up 1.2s linear infinite alternate;
}

.balloon_line .balloon_box:nth-child(2n) {
	animation: move_up 1.2s linear infinite alternate .4s;
}

.balloon_line .balloon_box:nth-child(3n) {
	animation: move_up 1.2s linear infinite alternate .8s;
}

.balloon_line .balloon_box span {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 10vw;
	max-height: 210px;
	width: 100%;
	-webkit-user-select: none;
	user-select: none;
}

.balloon_line .balloon_box.black {
	background-image: url(../images/ball_bad.png);
}

.balloon_line {
}

.balloon_line .balloon_box.push {
	background-image: none;
	color: transparent;
}

.balloon_line .balloon_box .ani {
}

.balloon_line .ani {
	width: 560px;
	height: 640px;
	background-image: url(../images/yy.png);
	position: absolute;
	top: 0;
	transform: translateX(-50%) translateY(-211px) scale(.7);
	left: 50%;
	opacity: 0;
	margin-left: 11px;
	background-repeat: no-repeat;
}

.balloon_line .balloon_box.black .ani {
	background-image: url(../images/bb.png);
}

.balloon_line .balloon_box.push .ani {
	opacity: 1;
	animation: play .5s steps(5) forwards;
}

.result_box {
	position: absolute;
	width: 100%;
	top: 9vw;
	padding: 0 8vw;
	box-sizing: border-box;
	z-index: 25;
	display: none;
}

.result_box .ju {
	display: flex;
	position: relative;
	justify-content: center;
	flex-wrap: wrap;
}

.result_box .ju_box {
	background-size: contain;
	background-image: url(../images/gold.png);
	background-repeat: no-repeat;
	width: 15%;
	padding-top: 0;
	height: 11vw;
	max-width: 250px;
	max-height: 230px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.9vw;
	font-weight: bold;
	line-height: 1.1;
	background-position: center;
	transition: all .8s ease;
	transform: scale(.6);
	user-select: none;
}

.result_box.open .ju_box {
	transform: scale(1);
	filter: grayscale(1) brightness(0.5);
	transform: scale(.8);
}

.result_box.open .ju_box.yyy {
	filter: grayscale(0) brightness(1);
	transform: scale(1);
}

.result_box .ju_box span {
}

.result_box .link {
	position: absolute;
	color: #ffee00;
	font-size: 1vw;
	text-decoration: none;
	right: 4vw;
	font-weight: 500;
}

.result_box .link::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: .4vw 0 .4vw .7vw;
	border-color: rgb(0 0 0 / 0%) rgb(0 0 0 / 0%) rgb(0 0 0 / 0%) rgb(255 238 0);
	display: block;
	position: absolute;
	right: -1.5vw;
	top: .3vw;
}

.result_box .link::before {
	content: '';
	background-color: #ffee00;
	position: absolute;
	bottom: 2px;
	width: 100%;
	height: 1px;
	left: 0;
}

.result_box .text {
	background-color: #285a7feb;
	color: white;
	padding: 2vw;
	border-radius: 30px;
	padding-bottom: 3vw;
	position: relative;
	box-sizing: border-box;
	width: 81%;
	margin: 1vw auto 0;
}

.result_box .text div {
	font-size: 1.2vw;
	line-height: 1.6;
	letter-spacing: 2px;
}

.result_box .btn {
	display: flex;
	position: relative;
	justify-content: center;
}

.result_box .btn .button {
	width: 250px;
	margin-top: 15px;
	margin-left: 0;
	margin-right: 0;
	position: relative;
	cursor: pointer;
}

.result_box .btn .button img {
	display: block;
	width: 100%;
}

@keyframes play {
	from {
		background-position: 0px;
	}

	to {
		background-position: -2800px;
	}
}

@keyframes move_up {
	0% {
		transform: translateY(-30px);
	}

	100% {
		transform: translateY(30px);
	}
}

@media only screen and (min-width: 1930px) {
	body {
		overflow-y: visible;
	}

	section {
		max-width: 1920px;
		height: 55vw;
		max-height: 1080px;
	}

	#game_memo .text {
		font-size: 2.0vw;
	}

	#game_memo .textbox {
		height: 350px;
	}

	#game_memo .text::before {
		WIDTH: 60px;
		height: 60px;
		left: 54px;
		top: 64px;
	}

	.result_box .link::after {
		right: -31px;
		top: 14px;
	}

	#toplogo {
		left: 50%;
		margin-left: -905px;
	}

	#btnlogo {
		right: 50%;
		margin-right: -905px;
		top: 963px;
		bottom: 0;
	}

	#gamebox .qtitle {
		font-size: 3.5vw;
	}

	.balloon_line {
		top: 190px;
	}

	.balloon_line.balloon_line2 {
		margin-top: 255px;
	}

	.balloon_line .balloon_box {
		font-size: 4.0em;
		padding-top: 9px;
	}

	.result_box .ju_box {
		width: 15%;
		padding-top: 5px;
		height: 200px;
		max-width: 250px;
		max-height: 230px;
		font-size: 3.0em;
	}

	.result_box {
		width: 1600px;
		top: 212px;
		padding: 0;
		left: 50%;
		margin-left: -800px;
	}

	.result_box .text {
		padding: 50px 50px 90px 50px;
		font-size: 2.1em;
	}

	.result_box .text div {
		font-size: 2.0vw;
	}

	.result_box .link {
		font-size: 2.0em;
		right: 62px;
		bottom: 25px;
		line-height: 48px;
	}

	.balloon_line .ani {
		transform: translateX(-50%) translateY(-211px) scale(.85);
	}
}

@media only screen and (max-width: 1750px) {
	#toplogo {
		position: absolute;
		top: 12px;
		z-index: 20;
		width: 230px;
		left: 35px;
	}

	.result_box {
		padding: 0;
		width: 1200px;
		margin: 0 auto;
		left: 50%;
		transform: translateX(-50%);
	}

	.result_box .ju_box {
		height: 9vw;
		font-size: 1.5vw;
	}

	.result_box .text {
		padding: 1.5vw;
		padding-bottom: 55px;
	}

	.result_box .text div {
		font-size: 1.2vw;
		letter-spacing: 2px;
	}

	.result_box .btn .button {
		width: 185px;
	}

	#master {
		width: 200px;
	}

	#gamebox .bullets {
		bottom: 237px;
		left: 15px;
	}

	#count-down-timer {
		transform: scale(.8);
	}
}

@media only screen and (min-width: 1200px) and (max-height:920px) {
    /* body{
        position: relative;
    width: 80%;
    margin: 0 auto;

    } */

	#toplogo {
		position: absolute;
		top: 12px;
		z-index: 20;
		width: 230px;
		left: 35px;
	}

	#btnlogo {
		width: 310px;
	}

	.balloon_line {
		top: 154px;
	}

	.balloon_line.balloon_line2 {
		margin-top: 12vw;
	}

	#master {
		width: 160px;
	}

	#gamebox .bullets {
		bottom: 179px;
		left: 10px;
	}

	.result_box {
		padding: 0;
		width: 1200px;
		margin: 0 auto;
		left: 50%;
		transform: translateX(-50%);
	}

	.result_box .ju_box {
		height: 8.5vw;
		font-size: 1.5vw;
	}

	.result_box .text {
		padding: 1.5vw;
		padding-bottom: 55px;
	}

	.result_box .text div {
		font-size: 1.2vw;
		letter-spacing: 2px;
	}

	.result_box .btn .button {
		width: 185px;
	}

	#count-down-timer {
		transform: scale(.8);
	}
}

#error {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #000000e6;
	z-index: 55;
	left: 0;
	top: 0;
	color: white;
	font-size: 3.5vw;
	line-height: 1.4;
}

#error .w_h,
#error .mobile_small {
	display: none;
}

#error div {
	position: absolute;
	left: 8%;
	width: 88%;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
}

@media only screen and (min-width: 1200px) and (max-height:600px) {

	#error,
    #error .w_h {
		display: block;
	}
}

@media only screen and (max-width: 1500px) {
	.balloon_line .balloon_box {
		width: 150px;
		height: 300px;
		margin-left: 20px;
		margin-right: 20px;
		font-size: 2.5em;
	}

	#game_memo .botton {
		width: 12vw;
		margin-top: 2vw;
	}

	#game_memo .star {
		width: 10vw;
		top: -5vw;
	}

	#game_memo .star.star02 {
		width: 4vw;
		top: 2vw;
	}

	.result_box.open .ju_box.black {
		transform: scale(.9);
	}

	.balloon_line .balloon_box span {
		height: 160px;
	}

	#gamebox .qtitle {
		font-size: 2.2vw;
	}

	.balloon_line.balloon_line2 {
		margin-top: 200px;
	}

	#count-down-timer {
		top: 20px;
	}

	.result_box {
		top: 140px;
	}

	.result_box .ju_box {
		height: 130px;
		font-size: 2.2em;
		padding-top: 7px;
	}

	.result_box .text {
		padding: 30px;
		padding-bottom: 55px;
	}

	.result_box .text div {
		font-size: 0.063em;
		letter-spacing: 2px;
	}

	.result_box .link {
		font-size: 1.7em;
	}

	.result_box .link::after {
		top: 10px;
	}

	#master {
		width: 150px;
		bottom: -20px;
	}

	#gamebox .bullets {
		bottom: 181px;
		left: 9px;
	}

	#count-down-timer {
		transform: scale(.66);
	}

	#game_first .main {
		width: 50%;
		top: 0%;
	}
}

@media only screen and (max-width: 1300px) {
}

@media only screen and (min-width: 1200px) and (max-height:780px) {

	.balloon_line.balloon_line2 {
		margin-top: 136px;
	}

	.result_box .text div {
		font-size: 1.5vw;
	}

	.balloon_line {
		top: 125px;
	}

	#toplogo {
		width: 170px;
	}

	.result_box {
		top: 82px;
	}

	#gamebox .qtitle {
		font-size:1.8vw;
		top: 40px;
	}

	.result_box .btn .button {
		width: 146px;
	}

	#btnlogo {
		width: 250px;
		bottom: 5px;
	}

	#gamebox .all_times {
		bottom: 24px;
	}
}

@media only screen and (min-width: 1200px) {

	.result_box .btn .button,
    #game_memo .botton,
    #game_tip .botton {
		transition: all .5s ease;
	}

	.result_box .btn .button:hover,
    #game_memo .botton:hover,
    #game_tip .botton:hover {
		transform: scale(1.1);
	}

	#game_first .botton:hover {
		transform: translateX(-50%) scale(1.1);
	}

	#music_tip .tip .botton:hover {
		opacity: 0;
	}
}

@media only screen and (max-width: 1200px) {
	section {
		max-height: 56vw;
	}

	#game_first,section {
		height: 100vh;
		height: calc(var(--vh, 1vh) * 100);
	}

	#btnlogo {
		position: absolute;
		right: 25px;
		z-index: 20;
		bottom: auto;
		width: 270px;
		top: 49vw;
	}

	#toplogo {
		width: 190px;
	}

	#error {
		font-size: 5.5vw;
	}

    @	keyframes move_up {
		0% {
            transform: translateY(-10px);
	}

	100% {
		transform: translateY(10px);
	}
}

.balloon_line .balloon_box {
	width: 100px;
	height: 176px;
	margin-left: 20px;
	margin-right: 20px;
	font-size: 2.0em;
}

.result_box.open .ju_box.black {
	transform: scale(.9);
}

.balloon_line .balloon_box span {
	height: 112px;
}

#gamebox .qtitle {
	font-size: 2.5vw;
}

.balloon_line.balloon_line2 {
	margin-top: 130px;
}

#master {
	width: 115px;
}

#gamebox .bullets {
	bottom: 132px;
	opacity: .9;
	left: 5px;
}

.balloon_line .ani {
	transform: translateX(-50%) translateY(-238px) scale(.4);
}

.result_box {
	top: 9vw;
	width: 100%;
}

.result_box .ju_box {
	height: 11vw;
	font-size: 2.4vw;
	padding-top: 1vw;
	background-size: 100%;
}

.result_box .text {
	padding: 1.5vw 2vw;
	padding-bottom: 4vw;
	border-radius: 2vw;
	line-height: 1.5;
}

.result_box .text div {
	font-size: 1.5vw;
	letter-spacing: 2px;
}

#gamebox .all_times {
	bottom: 2vw;
	left: 2vw;
}

.result_box .btn .button {
	width: 13vw;
	max-width: 180px;
}
}

@media only screen and (max-width: 1000px) {

	#toplogo {
		width: 135px;
		left: 20px;
		top: 5px;
	}

	#game_first .man {
		bottom: 0;
		width: 34%;
	}

	#game_first .star,
    #game_first .star.star05 {
		width: 30px;
	}

	#game_first .star.star03,
    #game_first .star.star04 {
		width: 20px;
	}

	#game_first .star.star05 {
		top: 57%;
		left: 22%;
	}

	#game_first .main {
		width: 39%;
		top: -1vw;
	}

	#btnlogo {
		position: absolute;
		right: 15px;
		z-index: 20;
		bottom: 0;
		width: 220px;
	}

	#btnlogo {
		top: auto;
	}

	section {
	}

	.balloon_line {
		top: 11vw;
	}

	.balloon_line .balloon_box {
		width: 9vw;
		height: 16vw;
		margin-left: 3vw;
		margin-right: 3vw;
		font-size: 2vw;
	}
    @	keyframes move_up {
		0% {
            transform: translateY(-5px);
	}

	100% {
		transform: translateY(5px);
	}
}

.balloon_line .balloon_box span {
	height: 10vw;
}

#master {
	width: 8vw;
	bottom: -2vw;
}

#gamebox,
    #video_block,
    #game_memo,
    #game_tip,
    #music_tip {
	position: fixed;
}

section {
	height: 100%;
}

#gamebox .bullets {
	opacity: .9;
	left: 0vw;
	bottom: 7vw;
	margin-left: -20px;
	width: 15px;
	height: 20px;
}

.result_box .link {
	font-size: 2vw;
}

.result_box .link::after {
	top: .8vw;
	border-width: .8vw 0 .8vw 1.3vw;
	right: -2.3vw;
}

.balloon_line.balloon_line2 {
	margin-top: 14vw;
}

#toplogo,
    #btnlogo,
    #master {
	position: fixed;
}




}

@media only screen and (max-width: 1000px) and (max-height: 490px) {
	.balloon_line.balloon_line2 {
		margin-top: 12vw;
	}

	#count-down-timer {
		top: 1vw;
		width: 10vw;
		font-size: 4vw;
		height: 12vw;
	}

	.result_box {
		top: 9vw;
		width: 80%;
	}

	.result_box .ju_box {
		height: 8vw;
		font-size: 2vw;
		padding-top: 1vw;
	}

	.result_box .text {
		padding: 2vw 3vw;
		padding-bottom: 2vw;
		border-radius: 2vw;
		line-height: 1.5;
		width: 90%;
	}

	.result_box .text div {
		font-size: 1.2vw;
		letter-spacing: 2px;
	}

	.result_box .link {
		font-size: 2vw;
		transform: scale(.8);
		transform-origin: right;
		BOTTOM: 1VW;
	}

	.result_box .btn .button {
		width: 12vw;
		max-width: 180px;
		margin-top: 1vw;
	}

	#gamebox .all_times {
		font-size: 1.5vw;
	}

	.balloon_line .ani {
		transform: translateX(-50%) translateY(-238px) scale(.3);
	}
}

@media only screen and (max-width: 1000px) and (max-height: 400px) {
	.balloon_line.balloon_line2 {
		margin-top: 10vw;
	}

    /* #btnlogo{
        top: 47vw;
    } */
	#toplogo {
		width: 112px;
	}

	#game_memo .man {
		width: 38%;
		left: 53%;
	}
}

@media only screen and (max-width: 1000px) and (max-height: 370px) {
	.balloon_line {
		top: 9vw;
	}

	.result_box .ju_box {
		height: 6vw;
		background-size: contain;
		width: 15%;
		font-size: 1.5vw;
		padding-top: 1vw;
	}

	.result_box .text div {
		font-size: 0.375em;
		letter-spacing: 1px;
	}

	.result_box .text {
		padding: 12px;
		padding-bottom: 17px;
		border-radius: 1vw;
		line-height: 1.5;
		width: 90%;
	}

	.result_box .link {
		font-size: 2vw;
		transform: scale(.65);
		transform-origin: right;
		bottom: 3px;
	}

	.result_box .btn .button {
		width: 9vw;
		margin-top: 3px;
	}

	.balloon_line .ani {
		transform: translateX(-50%) translateY(-268px) scale(.3);
	}

	.result_box .ju {
		width: 65vw;
		margin: 0 auto;
	}

	.result_box {
		top: 8vw;
		width: 88%;
	}

	#game_first .botton {
		width: 16%;
		bottom: 13%;
	}

	#game_tip .botton {
		bottom: auto;
		top: 71%;
		width: 10vw;
	}
}

@media only screen and (max-width: 760px) {
	.result_box {
		top: 10vw;
		width: 88%;
	}
}

@media only screen and (max-width: 1000px) and (max-height: 300px) {
	#game_first .main {
		width: 30%;
		top: -1vw;
	}

	#game_first .man {
		bottom: 0;
		width: 25%;
		LEFT: 0;
	}

	#game_first .botton {
		width: 13%;
		bottom: 13%;
	}

	#game_memo .star {
		width: 7vw;
		top: -3vw;
	}

	#game_memo .star.star02 {
		width: 3vw;
	}

	.balloon_line {
		top: 7vw;
	}

	.balloon_line.balloon_line2 {
		margin-top: 9vw;
	}

	.result_box {
		top: 6vw;
		width: 88%;
		transform: scale(.8) translateX(-62%);
		left: 50%;
	}

	#game_memo .text {
		font-size: 1.5vw;
	}

	#btnlogo {
		width: 176px;
	}

	#game_memo .man {
		width: 33%;
		left: 55%;
		bottom: 0;
	}

	#game_memo .textbox {
		border: 6px solid rgb(126 171 194 / 51%);
		border-radius: 27px;
		height: 120px;
	}

	#game_memo .text {
		padding: 25px;
	}

	#game_memo .text::before {
		left: 12px;
		top: 15px;
	}

	#game_tip {
		background-position: 50% 65%;
	}

	#game_tip .botton {
		top: auto;
		bottom: 10%;
	}

	#game_memo .botton {
		width: 12vw;
		margin-top: -15px;
	}
}

@media only screen and (max-width: 700px) {
	.result_box {
		top: 8vw;
	}
	#btnlogo {
		width: 22VW;
	}
}

@media only screen and (max-width: 550px) {
	#error,
    #error .mobile_small {
		display: block;
	}
}