@media screen and (max-width: 900px) {

    /* ----------------------------*/
    /*   common                    */
    /*---------------------------- */
    /* header -------------------- */
    header .header-inner .logo {
        max-width: 180px;
    }

    header .header-inner .wrapper {
        padding: 0px 0 0 10px;
    }

    header .header-inner .pc-menu nav ul li {
        margin: 0 8px;
    }
}

@media screen and (max-width: 768px) {

    /* ----------------------------*/
    /*   common                    */
    /*---------------------------- */
    .tb-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .main-content {
        margin-top: -70px;
    }

    .Bg-white {
        padding: 40px 20px;
        border-radius: 15px;
    }

    #PAGES .page::after {
        display: none;
    }

    /* h2:title  ----------------- */
    .title {
        font-size: 20px;
        margin-bottom: 60px;
    }

    .title span {
        font-size: 16px;
        letter-spacing: 0.15em;
    }

    .obi-title {
        height: 130px;
        top: 40px;
        margin-bottom: 100px;
    }

    .obi-title .img {
        max-width: 110px;
        top: -50px;
        margin-right: 20px;
    }

    .story-title {
        font-size: 20px;
        top: 30px;
    }

    #PAGES .stories .sub-title {
        font-size: 22px;
    }

    /* Btn  ---------------------- */
    .BuyBtn {
        margin-bottom: 30px;
        width: 280px;
    }

    .top {
        right: 20px;
        bottom: 20px;
    }

    .top img {
        max-width: 120px;
    }

    .OtherInfo ul {
        justify-content: space-between;
    }

    .OtherInfo ul li {
        width: 49%;
        height: 110px;
    }

    .OtherInfo ul li a {
        padding: 15px 55px 15px 15px;
    }

    /* header -------------------- */
    #TOP main {
        margin-top: 80px;
    }

    #TOP .page::after {
        height: 80px;
    }

    header .header-inner .pc-menu {
        display: none;
    }

    header .header-inner .wrapper {
        display: none;
    }

    header .header-inner.sp-menu {
        background: #fff;
        padding: 0px 0 0 10px;
        position: fixed;
        z-index: 100;
        justify-content: space-between;
        display: flex;
        align-items: center;
        top: 0px;
        width: 100%;
        height: 65px;
    }

    header .header-inner.sp-menu .contact li {
        background-color: #414141;
        display: block;
        padding: 13px;
        width: 65px;
        margin: 0;
    }

    #TOP .content .MV {
        display: block;
    }

    #TOP .content .MV .MV-wrapper {
        margin-top: 0;
    }

    /* footer -------------------- */
    footer {
        padding: 40px 0px 10px;
    }

    footer .footer-inner h2 {
        font-size: 20px;
    }

    footer .footer-inner h2>span {
        font-size: 25px;
    }

    footer .footer-inner h3,
    footer .footer-inner .sitemap ul li {
        font-size: 16px;
    }


    /* ----------------------------*/
    /*   TOP                       */
    /*---------------------------- */
    #TOP .MV-content {
        height: 630px;
    }

    #TOP  .MV .MV-content {
        display: block;
        position: relative;
    }

    #TOP  .MV .MV-content .image {
        width: 100%;
        max-width: 420px;
        margin: auto;
        padding-top: 175px;
    }

    #TOP  .MV .MV-left {
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        padding: 0 10px;
    }

    #TOP .MV .MV-left .copy {
        width: 100%;
        max-width: 460px;
        margin: auto;
    }

    #TOP .MV .MV-left .btn {
        width: 100%;
        margin: auto;
        max-width: 465px;
    }

    #TOP .MV .MV-left .MVBtn {
        top: 330px;      
    }

    /* service -------------------- */
    #TOP .service .wrapper {
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
        padding: 10px 20px;
    }

    #TOP .service a {
        width: 45%;
    }

    #TOP .service .card h3 {
        font-size: 22px;
    }

    #TOP .service .card span {
        top: -50px;
        left: 36%;
        padding: 12px 17px;
        font-size: 30px;
        width: 55px;
        height: 55px;
    }

    /* ------------------------------*/
    /*        PAGES                  */
    /*-------------------------------*/
    /* first  ----------------------- */
    #PAGES .first-content {
        display: block;
    }

    #PAGES .first-content .article {
        width: 100%;
        margin-bottom: 10px;
    }

    #PAGES .first-content .image {
        margin: auto;
    }

    /* aboutus  ----------------------- */
    #PAGES .aboutus table tr th,
    #PAGES .aboutus table tr td {
        display: block;
        width: 100%;
    }

    #PAGES .aboutus table tr th {
        padding: 10px 0px 3px 0px;
    }

    #PAGES .aboutus table tr td {
        padding: 3px 0px 10px 0px;
    }

    #PAGES .aboutus .history table th {
        font-size: 20px;
    }

    #PAGES .aboutus .history table th::after {
        top: 15px;
        padding-left: 10px;
        content: "";
    }

    #PAGES .aboutus .history table th .Num-En {
        font-size: 30px;
    }

    /* ERROR ---------------------------- */

    .scroll-infinity__item {
        width: calc(100vw / 1);
    }
}


@media screen and (max-width: 479px) {

    /* ----------------------------*/
    /*   common                    */
    /*---------------------------- */
    .W960 {
        padding: 80px 20px;
    }

    .W700 {
        padding: 10px 20px;
    }

    .sp-only {
        display: block;
    }

    /* Anchor link */
    .AnchorLink {
        margin-top: -30px;
        padding-top: 110px;
    }

    /* Btn  ---------------------- */
    .ArrowBtn.wrapper {
        font-size: 16px;
    }

    .ArrowBtn .Pre a {
        background-size: 20px;
        background-position: 0 50%;
        padding: 10px 0px 10px 30px;
    }

    .ArrowBtn .Next a {
        background-size: 20px;
        background-position: 100% 50%;
        padding: 10px 30px 10px 0px;
    }

    .top {
        right: 10%;
        bottom: 150px;
    }

    .top img {
        max-width: 80px;
    }

    .OtherInfo ul li {
        width: 100%;
        margin: 0 auto 20px;
        height: 90px;
    }

    .OtherInfo ul li a {
        padding: 15px 55px 15px 15px;
    }

    /* h2:title  ----------------- */
    .title span {
        margin-top: 8px;
    }

    .sub-title {
        font-size: 18px;
        color: #EC459F;
    }

    #PAGES .stories .sub-title {
        font-size: 20px;
    }

    /* img  ---------------------- */
    .img-right {
        float: none;
        margin: 10px auto;
        width: 80%;
        display: block;
    }

    .img-left {
        float: none;
        margin: 10px auto;
        width: 80%;
        display: block;
    }

    /* header -------------------- */
    header .header-inner.sp-menu {
        height: 80px;
    }

    header .header-inner.sp-menu .contact li {
        padding: 10px;
        width: 55px;
    }

    /* footer -------------------- */
    footer {
        padding-bottom: 2px;
        padding-top: 15px;
    }

    footer .footer-inner h2 {
        font-size: 23px;
    }

    footer .footer-inner h2>span {
        font-size: 30px;
    }

    footer .footer-inner .wrapper {
        display: block;
    }

    footer .footer-inner .wrapper .office {
        margin-bottom: 20px;
    }

    footer .footer-inner .wrapper .RoundBtn {
        margin-bottom: 16px;
    }

    footer .footer-inner .wrapper .sitemap {
        display: none;
    }



    /* ----------------------------*/
    /*   TOP                       */
    /*---------------------------- */
    /* MV ------------------------ */
    #TOP .content .MV .copy p {
        font-size: 20px;
        font-weight: 900;
    }

    /* service -------------------- */
    #TOP .service a {
        width: 100%;
        margin: 0 auto 80px;
    }

    #TOP .service .card span {
        top: -50px;
        left: 40%;
        padding: 12px 17px;
        font-size: 30px;
        width: 55px;
        height: 55px;
    }

    /* service7 */
    #TOP .service a:last-of-type .card .wrapper {
        flex-wrap: wrap;
    }

    /* service7 */
    #TOP .service a:last-of-type .card .wrapper .img {
        margin: 0 auto;
    }

    /* service7 */
    #TOP .service a:last-of-type .card .wrapper .inner h3 {
        text-align: center;
    }

    /* service7 */
    #TOP .service a:last-of-type .card span {
        left: 40%;
    }

    /* about ---------------------- */
    #TOP .about .img span {
        background-position: 98% 50%;
        font-size: 15px;
    }


    /* ------------------------------*/
    /*        PAGES:                 */
    /*-------------------------------*/

    /* ERROR ---------------------------- */
    #ERROR .error .img {
        max-width: 200px;
        margin: 0 auto 20px;
    }


}