@media (max-width:798px) {

    /* dots */

    .slick-dots {
        width: 85%;
        top: 106%;
    }

    /* header */
    .header-sp {
        display: flex;
        position: absolute;
        z-index: 9999;
        position: fixed;
        width: 100%;
        background-color: #fcfcfc;
        justify-content: space-between;
        padding-bottom: 10px;
    }
    

    .header-sp ul {
        display: flex;
        width: 100%;
    }

    .header-sp li {
        font-size: 5rem;
        padding-bottom: 1%;
        padding-left: 25px;
    }

    .header-sp a {
        color: #8c8c8c;
        margin-right: 20px;
    }

    #btn {
        margin-left: auto;
    }

    .header-sp #btn a {
        background-color: black;
        color: #fcfcfc;
        padding: 1rem 3rem;
    }
    /* 基本設定 */

    header {
        display: none;
    }

    .scrollfade {
        animation: fade-in-bottom ease both;
        animation-timeline: view();
        animation-range: entry 20% cover 30%;
    }

    * {
        font-size: 40%;
    }

    .mainimg {
        display: none;
    }
    
    .color-v {
        margin-right: 12%;
    }

    .top-context {
        width: 100%;
    }

    .title {
        margin-right: 0;
        margin-top: 15%;
        text-align: center;
        font-size: 4rem;
    }

    .toptext img {
        width: 90%;
        padding: 0;
    }

    .main-top h1 {
        font-size: 4rem;
    }

    .main-top-content h3 {
        font-size: 2rem;
        word-break: keep-all;
        color: #505050;
    }

    .main-top-content p {
        width: 90%;
        padding-bottom: 10%;
    }

    .main-top-content {
        width: 90%;
    }

    .main-top {
        padding: 10%;
        margin-top: 30%;
    }

    .content-five {
        display: block;
    }

    .five-l {
        max-width: 100%;
    }

    .five-l p {
        width: 80%;
        padding-left: 20px;
    }

    .five-l h3 {
        width: 100%;
        padding-top: 10px;
        font-size: 3rem;
        padding-left: 1rem;
    }

    .five-r {
        width: 100%;
        padding-top: 50px;
    }

    .content-six {
        display: block;
    }

    .six-r,
    .six-l {
        width: 100%;
    }

    .six-r {
        padding-bottom: 10%;
    }

    .six-r h3 {
        padding-top: 10px;
        font-size: 3rem;
    }

    .six-r p {
        width: 90%;
    }


    .back-to-top {
        display: none;
    }

    .content-two {
        width: 100%;
    }

    .content-two ul {
        display: block;
    }

    .content-two img {
        width: 80%;
    }

    .content-two li span {
        font-size: 2rem;
        padding-bottom: 10%;
        display: block;
    }

    .content-two {
        padding: 20% 0;
    }
   
    .content-two ul {
        padding: 5%;
    }

    #aboutbtn a {
        font-size: 2rem;
        padding: 2rem 4rem;
    }

    #aboutbtn {
        padding-top: 5%;
    }

    .content-three {
        display: block;
        width: 100%;
        margin: 0;
    }

    #under {
        padding-bottom: 10%;
    }

    .under-border {
        padding-top: 30px;
    }

    .three-l {
        width: 100%;
    }

    footer ul {
        width: 100%;
    }

    .three-r img {
        width: 100%;
    }

    .three-r {
        width: 100%;
    }

    .three-box {
        width: 100%;
        padding-top: 0px;
    }

    .three-box h3 {
        padding-left: 10%;
        font-size: 3rem;
    }


    .three-box p {
        margin-left: 10%;
        padding-bottom: 10%;
        font-size: 1.5rem;
    }



    #gara {
        width: 95%;
    }

    .end-contnet {
        margin-top: 0;
    }

    .end-contnet ul {
        width: 80%;
        padding-bottom: 15%;
    }

    .recommend {
        width: 100%;
    }

    .recommend h3 {
        width: 80%;
        margin: 0 auto;
    }

    .recommend ul {
        display: flex;
        flex-wrap: wrap;
        margin-top: 5%;
    }

    .recommend li {
        width: 50%;
        padding: 3% 10px;
    }

    .recommend {
        padding-bottom: 10%;
    }

    .recommend li {
        font-size: 1.8rem;
    }

    .recommend li span {
        font-size: 1.8rem;
    }

    .aboutbox {
        display: block;
        width: 100%;
    }

    .aboutbox ul li {
        width: 100%;
        font-size: 1.8rem;
        letter-spacing: 2px;
        font-weight: 300;
    }

    .aboutbox li span {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .about h3 {
        font-size: 4rem;
    }

    .about {
        width: 80%;
    }

    .about img {
        width: 100%;
    }

    .aboutr,
    .aboutl {
        width: 100%;
    }

    #none {
        display: none;
    }
    

    .end-contnet ul {
        display: block;
        margin-top: 10%;
    }

    .end-contnet ul li {
        margin: 0 auto;
        width: 100%;
    }

    .app-content {
        display: block;
    }


    .app-r {
        width: 100%;
    }

    .app-l {
        width: 100%;
    }

    .app-r :nth-child(4) {
        padding-top: 5%;
    }

    .app-r h3 {
        padding-top: 10px;
    }

    .app-r img {
        display: none;
    }

    .app-content h3{ 
        background-color: #505050;
        color: #fcfcfc;
        padding: 1rem 0;
        width: 40%;
        margin: 0 auto;
    }

    
    .app-content h4 {
        font-size: 4rem;
        border-bottom: 0px;
    }

    .content-two li {
        margin: 0 auto;
    }
    
    .app-r :nth-child(5) {
        width: 80%;
        margin: 0 auto;
        line-height: 2rem;
    }

    .app-r  {
        padding: 10% 0;
    }

    .app-r :nth-child(4) {
        font-size: 2.3rem;
        line-height: 4rem;
        padding-bottom: ;
    }


    footer li a {
        font-size: 1.8rem;

}

.ne  {
    display: block;
}


.app-r p {
    font-size: 3rem;
    line-height: 6rem;
    font-weight: 400;
    color: #222222;
    width: 80%;
    margin: 0 auto;
    padding-top: 3%;
}

.app-r :nth-child(5) {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    line-height: 3rem;
    width: 80%;
}

.app-r :nth-child(4) {
    text-align: center;
    padding-top: 5%;
}

.open ul {
    display: block;
}

.open li {
   width: 90%;
   padding: 5% 0;
}

.open li span {
    padding-top: 10%;
}

.content-two {
    padding-bottom: 5%;
}

}