* {
  font-family: arial, Microsoft JhengHei !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

body, html {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: #663399; /* purple background */
  overflow: hidden; /* ❗ prevent scroll */
  display: flex;
  justify-content: center;
  align-items: center;
}


.all {
  position: relative;
  background: #663399;
  
  /* core behavior */
  height: 100vh;
  aspect-ratio: 9 / 16;

  /* center on desktop */
  max-width: 300vw;
}

/* MAIN BUTTON */

.main-btn {
  position: absolute;
  top: 62%;           /* position relative to BG */
  left: 50%;
  transform: translateX(-50%);

  width: 46%;         /* ✅ proportional to frame */
   max-width: 200px;

  z-index: 10;
}




#fk-bottom-ad {
  position: absolute;
  bottom: 12.7%;        /* relative to BG */
  left: 50%;
  transform: translateX(-50%);

  width: 61%;         /* match design proportion */
  max-width: 266px;

  z-index: 5;
}

/* CLEAN SWIPER */
.slideshow-container {
  width: 100%;
}

/* IMAGE FIT */
.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}



/* DOWNLOAD BANNER */
.bottom-banner {
  position: absolute;   /* ✅ inside .all */
  bottom: 0;            /* stick to bottom of frame */
  left: 50%;
  transform: translateX(-50%);

  width: 66%;          /* full width of frame */
  max-width: 286px;
 

  z-index: 20;
}

.bottom-banner img {
  width: 100%;
  height: auto;
  display: block;
}



@media (min-aspect-ratio: 9/16) {
  .all {
    height: 100vh;
    width: calc(100vh * 9 / 16);
  }
}

@media (max-aspect-ratio: 9/16) {
  .all {
    width: 100vw;
    height: calc(100vw * 16 / 9);
  }
}

  .all img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




.top {
  position: fixed;
  width: 100%;
  z-index: 999;
  /*background: rgba(0,0,0,0.2);*/
  margin: 0 auto;
  min-width: 320px;
  max-width: 750px; }

.hasBtn{
  background: url(../img/img_02.jpg) top no-repeat;
  width: 100%;
  position: relative;
  padding-bottom: 56.3%;
  -webkit-background-size: 100%;
       -o-background-size: 100%;
          background-size: 100%;
}
.hasBtn a{
  position: absolute;
  bottom: -3%;
  right: 5.8%;
  width: 50%;
}
.contactBtn{
  position: absolute;
    width: 32.7%;
    right: 1.45%;
    top: 10%;

}
.mb-3{
  margin-bottom: -5px;
}
.btns {
  z-index: 10;
  position: relative;
  margin-top: -8%; }
  .btns a {
    width: calc(50% - 10px);
    display: inline-block; }
    .btns a.ios_tutor {
      width: 100%;
      display: block;
      margin: 0;
      margin-top: 0px;
      margin-bottom: -3px; }
      .btns a.ios_tutor img {
        margin: 0; }

.downloadNum {
  font-size: 24px;
  color: #FFF;
  position: absolute;
  bottom: 60px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%); }



.pore {
  position: relative;
  z-index: 10; }



h2{
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  line-height: 1.6;
}
ol{
  list-style: decimal;
    padding: 0 20px;
    padding-right: 10px;
}
li{
  text-align: left;
  line-height: 1.4;
  font-weight: bold;
}

#weixin-tip{
  position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    display: none;  
}