body {
    background: #F7F3E7;
    min-width: 375px;
}

h1 {
    margin-top: 1vw;
}

.explanation {
    margin-top: 80px;
    font-size: 300%;
    font-weight: bold;
}

.form-wrap {
    position: relative;
    padding: 80px 40px;
    background: #fff;
    text-align: center;
    margin-top: 80px;
}

.balloon {
    position: absolute;
    top: -150px;
    right: 20px;
    width: 240px;
    height: auto;
}

.form {
    width: 100%;
    margin: 0 auto 24px;
    max-width: 600px;
}

.form span {
    display: inline-block;
    width: 178px;
    margin-right: 16px;
}

.submit {
    text-align: center;
}

input[type="text"] {
    width: calc(100% - 200px);
    padding: 8px;
    font-size: 16px;
}

input[type="submit"] {
    margin-top: 40px;
    max-width: 320px;
    width: 90%;
    border: none;
    border-radius: 50vw;
    background: #DE5411;
    color: #fff;
    line-height: 60px;
    transition: 0.3s;
}

input[type="submit"]:hover {
    opacity: 0.7;
    cursor: pointer;
}

.privacy {
    margin-top: 40px;
}

.domain {
    margin-top: 40px;
    text-align: left;
    font-size: 14px;
    background: #e3e9ff;
    padding: 16px;
}

.kaiyaku {
    margin-top: 40px;
    text-align: center;
}

.sns-title {
    margin-top: 80px;
    margin-bottom: 24px;
    text-align: center;
}

.sns {
    padding: 0;
    text-align: center;
}

.sns li {
    display: inline-block;
    padding: 16px;
    list-style: none;
}

.sns li a {
    transition: 0.3s;
}

.sns li a:hover {
    opacity: 0.7;
    cursor: pointer;
}

.sns img {
    width: 50px;
    height: auto;
}

.neesan {
    margin-bottom: -74px;
    text-align: right;
}

.neesan img {
    width: 500px;
    height: auto;
}

footer {
    padding: 180px 0 100px;
    background-color: #DE5411;
    color: #fff;
    -webkit-clip-path: polygon(0 0, 100% 25%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 25%, 100% 100%, 0 100%);
}

footer img {
    margin-right: 16px;
    width: 24px;
    height: auto;
}

.copyright {
    text-align: right;
    font-size: 80%;
}


@media (max-width: 992px) {
    h1 {
        margin-top: 40px;
    }
    .explanation {
        font-size: 200%;
    }
    .balloon {
        top: -130px;
        right: 20px;
        width: 200px;
    }
    .neesan {
        margin-bottom: -50px;
    }
    .neesan img {
        width: 400px;
    }
    footer {
        -webkit-clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%);
    }
}

@media (max-width: 768px) {
    .explanation {
        font-size: 150%;
    }
    .balloon {
        top: -110px;
        right: 0px;
        width: 180px;
    }
    .form-wrap {
        text-align: left;
    }
    .form span {
        display: block;
        margin-right: 0;
        margin-bottom: 16px;
    }
    input[type="text"] {
        width: 100%;
    }
    .neesan {
        margin-bottom: -38px;
    }
    footer {
        -webkit-clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
    }
}

@media (max-width: 575px) {
    .explanation {
        margin-top: 40px;
        font-size: 130%;
    }
    .balloon {
        top: -90px;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
    }
    .form-wrap {
        padding: 120px 24px 40px;
        margin-top: 120px;
    }
    .sns-title {
        font-size: 150%;
    }
    .neesan {
        margin-bottom: -30px;
    }
    .neesan img {
        width: 280px;
    }
    footer {
        padding: 120px 0 80px;
        -webkit-clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%);
    }
}