/* Keep all desktop styles intact: these rules only apply to mobile widths. */
@media screen and (max-width: 768px) {
    html,
    body {
        height: auto !important;
        overflow: visible !important;
    }

    #fullpage {
        height: auto;
        touch-action: auto;
    }

    #fullpage *,
    #fullpage *::before,
    #fullpage *::after {
        box-sizing: border-box;
    }

    .menu {
        position: relative;
        height: auto;
        line-height: normal;
        padding: 18px 20px 8px;
        background: #241139;
    }

    .menu_center {
        width: 100%;
        max-width: 520px;
        height: auto;
    }

    .sitename {
        float: none;
        width: 100%;
        font-size: 20px;
        line-height: 1.6;
        letter-spacing: 1px;
        overflow-wrap: break-word;
    }

    .menu_right {
        float: none;
        margin: 8px 0 0;
    }

    .menu_right ul {
        display: flex;
        gap: 12px;
    }

    .menu li {
        float: none;
        height: auto;
        line-height: normal;
    }

    .menu li a {
        width: auto;
        height: auto;
        min-height: 44px;
        padding: 0 12px;
        font-size: 16px;
        line-height: 44px;
        text-align: center;
    }

    .section1,
    .section2 {
        height: auto;
        padding: 28px 20px 48px;
    }

    .section_center {
        width: 100%;
        max-width: 520px;
        height: auto;
    }

    .section1 .section_center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section1_left,
    .section1_right {
        float: none;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .section1_right {
        order: 1;
    }

    .section1_left {
        order: 2;
        padding-top: 28px;
    }

    .section1_left img {
        width: 75%;
        max-width: 280px;
        height: auto;
    }

    .logo_img img {
        width: 75%;
        max-width: 240px;
        height: auto;
    }

    .desc_img {
        margin-top: 16px;
    }

    .desc_img img {
        max-width: 360px;
    }

    .download {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-top: 24px;
    }

    .download .ewm_area {
        float: none;
        flex: 1;
        min-width: 0;
        max-width: 160px;
        width: auto;
        margin: 0;
    }

    .download .ewm_area.fr {
        flex: 0 0 120px;
        max-width: 120px;
    }

    .download .ewm_area .ewm_img {
        height: auto;
        padding: 0;
    }

    .download .ewm_area .ewm_img img {
        display: block;
        height: auto;
    }

    .download .ios,
    .download .android {
        height: 44px;
        margin: 0;
        background-position: center;
        background-size: contain;
    }

    .download .android {
        margin-top: 12px;
    }

    .section2 .section2_left,
    .section2 .section2_right {
        float: none;
        width: 100%;
        height: auto;
    }

    .section2 .section2_left .company_name {
        height: auto;
        margin-top: 0;
        font-size: 24px;
        line-height: 1.5;
        overflow: visible;
        overflow-wrap: break-word;
    }

    .section2 .section2_left .company_desc {
        width: 100%;
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.8;
        overflow-wrap: break-word;
    }

    .section2 .section2_right {
        margin-top: 24px;
        text-align: center;
    }

    .section2 .section2_right img {
        position: static;
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .section2 .copyright {
        position: static;
        height: auto;
        margin-top: 24px;
        font-size: 12px;
        line-height: 1.8;
        overflow-wrap: break-word;
    }
}
