@media screen and (max-width: 768px){
  header,.header__inner {
    height:0 !important;
  }
  body main {
    padding-top: 60px !important;
  }
  body.has-header-appbox main {
    padding-top: 92px !important;
  }
}

main {
  min-height:auto;
}

.pc {
    display: block;
}
.sp {
    display: none;
}


@media screen and (max-width: 768px){
    #contents {
        margin: 0 -18px;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }

}

.loginContainer {
    width: 100vw;
    background-color: #f85858;
    background-image: url(/img/nextlevel-mark-white-trans10.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size:cover;
}

.loginContainer__inner {
    width: 100%;
    height: 100%;
    position: relative;
}



.loginContainer__lead {
    width: 600px;
    max-width: 100%;
    height: auto;
    margin: 0px auto;
    padding: 80px 0;
    text-align: center;
}

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

.loginBtnArea {
    position: absolute;
    top: 400px;
    width: 520px;
    text-align: center;
    display: flex;
    justify-content:flex-start;
    align-items: center;
    flex-direction: row;
    z-index: 2;
    z-index: 2;
    right: 410px;
    left: 0;
    margin: 0 auto;
    flex-wrap: wrap;
}
.loginBtnArea__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.loginBtnArea__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 240px;
    max-height: 44px;
    width: 240px;
    height: 44px;
    border-radius: 22px;
    background-color: #fff;
    color: #333333;
    font-size: 15px;
    text-align: center;
    padding: 4px;
    line-height: 2.5;
    text-decoration: underline;
    margin: 10px 6px;
}



/* ボタンが三つあるときのcss（アプリ内表示用） */
.loginBtnArea__inner_app {
    display: inline-block;
    overflow: hidden;
}
.loginBtnArea__btn_app {
    display: block;
    float: left;
    width: 388px;
    line-height: 96px;
    border-radius: 16px;
    color: #fff;
    font-size: 2.6rem;
    text-align: left;
    max-width: 48%;
    max-height: 48%;
}
.loginBtnArea__btn_app:nth-of-type(2) {
    margin-left: 25px;
}
.loginBtnArea__btn_app.is_entry {
    background-color: #adc646;
    padding-left: 56px;
}
.loginBtnArea__btn_app.is_login {
    background-color: #e71e19;
    padding-left: 90px;
}
.loginBtnArea__btn_app span {
    display: inline-block;
    padding-left: 88px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 50px auto;
}
.loginBtnArea__btn_app.is_entry span {
    background-image: url(/img/icon_entry.png);
}
.loginBtnArea__btn_app.is_login span {
    background-image: url(/img/icon_login.png);
}

.select-action-main {
    width: 100%;
    max-width:100%;
    position: relative;
}
.loginBtnArea__btn.btn-login {
    background-color: #FFE3E3;
    border: 2px solid #FFF;
}

.isSp {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    margin-top: 4px;
    gap: 12px;
    margin-bottom: 20px;
}

.isSp a {
    display: flex;
    justify-content: center;
    align-items: center;/* 高さを統一 */
}

.isSp img {
    width: 100%;
    height: auto;
    max-height: 52px;
    justify-content: flex-start;
}

/* MV
================================================ */
.mv {
    height: auto;
    background-image: none;
    position: relative;
    z-index: 1;
}
.mv:before,
.mv:after {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
}
.mv:before {
    background-color: #EA2719;
    left: 0;
}
.mv:after {
    background-color: #FF4141;
    right: 0;
}
.mv__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.mv__pic img {
    width: 100%;
    height: auto;
}


@media (max-width: 1280px) and (min-width: 769px) {
    .loginBtnArea {
        position: absolute;
        top: 31.25vw;
        right: 21.25vw;
    }
    .loginBtnArea__btn {
        max-width: 200px;
        width: 200px;
        height: 40px;
        font-size: 14px;
        margin: 8px 4px;
    }
    .isSp {
        justify-self:unset;
        margin-bottom: 20px;
        width: auto;
    }
    .isSp img {
        max-height: 52px;
    }

}

@media (max-width: 768px) {
    .select-action-main {

    }
    .loginContainer {
        width: 100vw;
        height:auto;
        background-position: center;
        background-size:contain;
        background-color: #f85858;
    }
    .loginContainer__inner {
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .loginContainer__lead {
        width: 90%;
        padding-top: 0;
    }
    .loginBtnArea {
        flex-direction: column;
        width: 100%;
        bottom:16px;
        top:auto;
    }
    .loginBtnArea__btn {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        margin-top:16px;
    }



    .footer__logo {
        display:block;
        margin-top: 30px;
    }
    .footer__logo img {
        max-width: 250px;
    }


    .isSp {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: calc(100% - 32px);
        margin-top: 4px;
        gap: 12px;
        margin-bottom: 8px;
    }
    
    .isSp a {
        display: flex;
        justify-content: center;
        align-items: center;/* 高さを統一 */
    }
    
    .isSp img {
        width: 100%;
        height: auto;
        max-height: 52px;
        justify-content: flex-start;
    }
    
}

@media (max-width: 480px) {
    .loginContainer__lead_app {
        top: 54%;
    }
    .loginBtnArea__btn_app span {
        padding-left: 26px;
        background-size: 20px auto;
        font-size: 1.4rem;
    }
}

@media (max-height: 700px) {
    .loginBtnArea {
        bottom: 2%;
    }
}

  
  .about-manual__container {
    max-width: 1200px;
    width: 93%;
    margin-inline: auto;
    margin-bottom: 45px;
  }
  
  .about-manual__inner {
    padding-block: 48px;
    border-top: 0.25px solid rgba(184, 184, 184, 0.5);
    border-bottom: 0.25px solid rgba(184, 184, 184, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
  }
  
  .about-manual__link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  
  @media screen and (max-width: 500px) {
    main {
      padding-top: 0 !important;
    }
  }
  
  @media screen and (max-width: 500px) {
    .header__page-top {
      display: none;
    }
  }
  
  .header__logo {
    display: flex;
  }

  .appBox_text {
    color:#fff;
  }

  .appBox_text_container {
    width: 510px;
    margin:30px auto;
  }
  .appBox__btns {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    gap: 16px;
  }

  .appBox__qr {
    margin: 30px auto;
    width: 150px;
    height: auto;
    border: 4px solid #fff;
  }


  @media screen and (max-width: 500px) {
    .appBox_text {
        font-size: 12px;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
    .appBox_text_container {
        width: 100%;
    }
    .appBox_title {
        margin-top: 110px;
    }
    .appBox__qr {
        display: none;
    }
    .appBox__btns {
        width: 280px;
        height: auto;
    }
  }