    img {
        max-width: 100%;
    }

    @media screen and (max-width: 999px) {
        .inner {
            width: 100%;
        }

        #container .sub {
            width: 22%;
        }

        #container .main {
            width: 76%;
        }

        .main_vis {
            display: none;
        }

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

        .main_vis_sp img {
            vertical-align: bottom;
        }

        header ul li a {
            padding: 0px 10px;
        }
    }

    @media screen and (max-width: 640px) {
        .inner {
            width: 100%;
        }

        section {
            padding: 0 5px;
        }

        #container {
            display: block;
        }

        #container .sub {
            width: 100%;
            padding: 0 20px;
            box-sizing: border-box;
        }

        #container .main {
            width: 100%;
        }

        iframe {
            width: 100%;
            height: auto;
        }

        .logo {
            padding: 20px;
        }

        .spw80 {
            width: 80%;
        }

        .flexw li {
            text-align: center;
            width: 100%;
            box-sizing: border-box;
        }

        ul.profile {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
        }

        ul.profile li {
            text-align: center;
        }

        ul.profile li .pCont {
            text-align: left;
            padding: 2%;
        }

        table.contact th,
        table.contact td {
            display: block;
            width: 100%;
            box-sizing: border-box;
        }

        footer ul {
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
        }

        footer ul li {
            width: 50%;
        }

        #sec3 .flexw {
            flex-wrap: nowrap;
        }


        .contact {
            width: 90%;
        }

        .contact input,
        .contact textarea {
            box-sizing: border-box;
            max-width: 100%;
        }

        footer ul li a {
            text-decoration: none;
            color: #666666;
            font-size: 12px;
        }

    }
