
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    min-width: 0;
    word-break: break-word;
    word-wrap: break-word;
}


ul,
dl,
dd,
dt,
h1,
h2,
h3,
h4,
h5,
h6,
form {
    padding: 0;
    margin: 0;
}

ul,
li {
    list-style: none;
}

img {
    border: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.5s;
}

a:hover {
    text-decoration: none;
}

p {
    word-spacing: -1.5px;
    padding: 0;
    margin: 0;
}

i {
    font-style: normal;
}

section,
main {
    width: 100%;
}

main {
    min-height: calc(var(--vh, 1vh) * 100);
    flex: 1;
}


input {
    border: 0;
    outline: none;
}
.img_box{max-width:100%;max-height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.img_box img{max-width:100%;max-height:100%}
.img_box1{max-width:100%;overflow:hidden}
.img_box1 img{max-width:100%}
.img_100{display:flex;overflow:hidden}
.img_100 img{width:100%;height:100%;object-fit:cover}

body{
    width: 100vw;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.pc,
.mobile{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
}
.mobile{
    display: none;
}
 #app {
     left: 50%;
        /*top: 95%;*/
        transform: translate(-50%, 0%);
        transform: translateX(-50%);
   bottom: 0;
   padding-bottom: 3vh;
     position: absolute;
     z-index: 5;
            width: 500px;
            max-width: 60%;
            margin: 0 auto;
        }
        
        .progress-container {
            position: relative;
            width: 100%;
            height: 10px;
            background: rgba(253, 244, 211, 0.5);
            
            border-radius: 5px;
            overflow: visible;
            margin: 20px 0;
        }
        
        .progress-bar {
            height: 100%;
    
            background-image: url(../images/bg.png);
            border-radius: 5px;
            transition: width 0.3s ease;
        }
        
        .progress-animal {
            position: absolute;
            width: 36px;
            height: 36px;
           bottom: 0;
            left: 0;
            transform: translateX(-50%);
            transition: left 0.3s ease;
            z-index: 2;
        }
        
        .progress-animal img {
            position: absolute;
            width: 4em;
            bottom: 0;
        }
        
        .time-display {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: rgba(255, 246, 209, 1);
           
        }
        
        .controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
        }
        
        .control-btn {
          
        }
        
        .control-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }
        
        .play-btn {
            width: 5em;
            position: relative;
            aspect-ratio: 1/1;
            cursor: pointer;
            background: initial;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            border-radius: 50%;
            
        }
           .play-btn  .img1{
               display: none;
           }
           .play-btn.active  .img2{
               display: none;
           }
        
          .play-btn.active  .img1{
               display: block;
           }
        
      
        
        .speed-btn {
            position: relative;
            font-size: 18px;
            color: #764ba2;
            font-weight: bold;
        }
        
@media only screen and (max-width: 768px) {
    .m_h{
        position: fixed;
        z-index: 999;
        bottom: 0;
        left: 50%;
        width: 100%;
        max-width: 100%;
        height: auto !important;
        transform: translateX(-50%);
    }
    .progress-animal img{
        width: 3em;
    }
    .pc{
        display: none;
        
    }
    .mobile{
        display: block;
        
    }
    #app{
        
         padding-bottom: calc( env(safe-area-inset-bottom) + 25px);
    }
	p{font-size: 9px !important;}
    #app .play-btn{
        width: 4em;
    }
}