﻿@media screen and (max-width: 1024px) {		
	body {
        background: url(/img/20250930Event/challenge/bg_m.jpg) no-repeat 10% 0%;
        background-size: cover;
    }
	.logo {
		left: 0;
		position: relative;
	}
	nav, .left_menu {
		display: none;
	}	
	nav.open .left_menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }	
	 /*----mobile menu----*/
    nav.open .nav_bg {
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        background: rgba(0, 0, 0, .8);
        backdrop-filter: blur(3px);
        position: absolute;
    }	
	.open_menu {
		left: 0;
        border-radius: 0 50% 50% 0;
        display: inline-block;
        margin: 25px;
        margin-right: -3px;
        width: 56px;
        height: 49px;
        transform: rotate(0deg) scale(1.5);
        transition: .5s ease-in-out;
        z-index: 9;
        position: fixed;
    }	
    nav.open li:hover {
    }
    span.btn {
        display: block;
        position: relative;
        margin-top: 13px;
        margin-left: -4px;
        transform: scale(.5);
    }
    .open_menu .btn span {
        display: block;
        position: absolute;
        height: 8px;
        width: 100%;
        background: #FFF;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .5s ease-in-out;
    }
    .open_menu .btn span:nth-child(1) {
        top: 0px;
        transform-origin: left center;
    }
    .open_menu .btn span:nth-child(2) {
        top: 18px;
        transform-origin: left center;
    }
    .open_menu .btn span:nth-child(3) {
        top: 36px;
        transform-origin: left center;
    }
    .open_menu.close .btn span:nth-child(1) {
        top: -3px;
        left: 8px;
        transform: rotate(45deg);
    }
    .open_menu.close .btn span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }
    .open_menu.close .btn span:nth-child(3) {
        top: 39px;
        left: 8px;
        transform: rotate(-45deg);
    }
    /*----nav----*/
    nav {
        left: -100%;
        width: 100%;
        height: 100%;
        transform: none;
        overflow-y: hidden;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    nav.open {
        left: 0;
        top: 0;
        height: 100vh;
        position: fixed;
    }
	.left_menu {
		background: none;
	}
	.menu {
		width: 50%;
	}
	.menu li.menuBtn.active, .menu li.active a::after {
		background: none;
	}
	.menu li.popBtn a {
		font-size: unset;
		border: 0px;
		padding: 0;
	}
	img {
			max-width: 100%;
	}
	.btn_record {
		display: none;
	}
	.main_content {
        width: 100%;
        height: auto;
        max-width: 1100px;
    }
	.user_info {
		left: 0;
	}

	li.menuBtn.active {
		background: rgba(61, 107, 157, .6);
	}
	p.update {
		right: 10px;
	}
	.btn_record {
        right: 10px;
        top: -100px;
    }
	.task_container {
		transform: scale(0.95);
		transform-origin: top;
	}
	.popBtn a {
		font-size: 1.2em;
		color: #FFF;
		/* background: rgb(36 67 107 / 70%); */
		border: 1px solid #FFF;
		padding: 10px 30px;
	}
	
	.footerbox {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-evenly;
	}
	.footerbox > div {
		margin: 5px;
	}
	.copyright {
	    text-align: center;
	}
	.copyright p {
		text-align: left;
	}
		
}
@media screen and (max-width: 820px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }  
		
	.section {
		/*min-height: 100vh;*/
	}
	.user_info {
		margin-bottom: 10px;
		position: relative;
	}
	p.update {
        width: 100%;
        text-align: right;
        padding: 0 20px 10px 0;
        right: 0;
        top: 0px;
        position: relative;
    }	
	.main_content {
		padding-top: 0;
	}
	.task_content {
        width: 100%;
        max-width: 1043px;
        height: 150px;
        background: url(/img/20250930Event/challenge/task_bg01_m.png) no-repeat center top;
        background-size: 100%;
    }
	.special {
		background: url(/img/20250930Event/challenge/task_bg02_m.png) no-repeat center top;
		background-size: 100%;
	}
	.task_container {
        width: 100%;
        transform: scale(1);
        transform-origin: top;
    }
	.task_daily {
		width: 99%;
        height: 620px;
		max-width: 1055px;
	}
	.task_daily:last-child {
		height: 150px;
	}
	.item {
		width: 24%;
	}
	.task_info {
        width: 51%;
        padding: 0 2%;
    }
	.status {
		width: 21%;
	}
	.progress {
		width: 98%;
		max-width: 560px;
	}
	.pop {
        width: 90%;
        max-width: 720px;
        height: 640px;
        background: rgb(21 33 69 / 70%);
    }
	.content_wrap {
        font-size: 1.3em;
        height: 620px;
        width: 90%;
        max-width: 900px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative; 
    }
    .popBtns {
        position: absolute;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .popMsgTitle {
        width: 80%;
        line-height: 1.5;
        font-size: 24px;
        text-align: center;
        margin: 0 auto;
    }
	.popContent h2 {
        font-size: 2.3em;
        padding-top: 0;
    }
	.table {
		width: 100%;
		max-width: 860px;
		text-align: center;
	}
    
	.copyright {
		max-width: 560px;
	}
    .copyright a, .copyright p, .grade li {
		font-size: 1.2rem;
		line-height: 1.5;
	}
	.grade {
		max-width: 560px;
	}
	.grade img {
		
	}
	

    /*----footer----*/
	footer {
		margin-top: 40px;
	}
    footer .store {
        margin: 0 auto 30px;
    }
}
@media screen and (max-width: 780px) {
	.slogan img {
        width: 95%;
    }
	/*.wing_img {
        display: flex;
        flex-direction: column;
        align-items: center;
    }	*/
	
}
@media screen and (max-width: 540px) {
    .slogan img {
        width: 95%;
    }
	
}
@media screen and (max-width: 480px) {

    /*----footer----*/
    footer {
        padding: 30px 15px 20px;
    }
}
