@charset "utf-8";

.margin {
    margin: 0 30px 70px 30px;

}

main {
    margin: 0 auto 60px auto;
    padding: 20px 30px;
    background-color: #fff;
    box-shadow: 5px 5px 5px gray;
    max-width: 736px;
    border-radius: 10px;
    line-height: 1.7;
    display: grid;
    justify-content: center;
}
.main_title {
    width: 224px;
}

.sub_pic {
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 450px;
}

.introduction p {
    font-size: 10px;
    padding: 20px;
    text-align: left;
    justify-content: center;
    display: grid;
}

.content_title {
    width: 165px;
}

.content {
    padding-bottom: 20px;
    justify-content: center;
}

.content ul {
    list-style-type: disc;
    text-align: left;
    justify-content: center;
    display: grid;
    margin: 0 auto;
}

.info {
    background-color: #c3f2ff;
    border-radius: 10px;
}

table {
    display: grid;
    justify-content: center;
}

table td,
table th {
    text-align: left;
    padding: 5px;
    font-size: 10px;
}

div h3 {
    font-size: 24px;
    font-weight: bold;
}

div h4 {
    font-size: 18px;
    font-weight: bold;
}

form {
    padding: 40px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.9;

}

form div {
    text-align: left;
    display: grid;
    justify-content: center;
}

form div img {
    width: 28px;
    margin: 0 0 4px 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    background-color: #fff;
    width: 224px;
    height: 20px;
    margin-bottom: 20px;
}

select {
    background: #fff url(../images/arrow.png) no-repeat 98% 50%/10px;
    width: 224px;
    height: 20px;
    margin-bottom: 20px;
}


textarea {
    background-color: #fff;
    width: 224px;
    height: 148px;
    margin-bottom: 20px;
}

input[type="image"] {
    width: 60px;
    text-align: center;

}

.btn:hover {
    scale: 1.2;
}

.come {
    font-size: 8px;
}



.copyright {
    background-color: #998675;
    text-align: center;
    padding: 10px 0;
    color: #fff;
}

@media (min-width:550px) {
    .logo {
        width: 140px;
        height: 140px;
    }

    nav ul {
        font-size: 20px;
        padding: 8px 0px;
        gap: 2rem;
        border-top: 3px solid #6e5064;
        border-bottom: 3px solid #6e5064;
    }

    .main_title {
        width: 400px;
    }
    .main_pic {
    max-width: 550px;
}

    .introduction p {
        font-size: 20px;
        padding: 30px;
    }

    .content {
        margin-bottom: 20px;
    }

    .content_title {
        width: 300px;
        margin-bottom: 20px;
    }

    .content p,
    .content ul {
        font-size: 15px;
    }

    .info {
        border-radius: 20px;
    }

    table td,
    table th {
        text-align: left;
        padding: 10px;
        font-size: 15px;
    }


    div h3 {
        font-size: 40px;
    }

    div h4 {
        font-size: 30px;
    }

    form {
        font-size: 26px;
        line-height: 1.9;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        width: 400px;
        height: 50px;
    }

    select {
        width: 400px;
        height: 50px;
    }

    textarea {
        width: 400px;

    }

    input[type="image"] {
        width: 80px;
    }

    .btn:hover {
        scale: 1.2;
    }

    .come {
        font-size: 11px;
    }

}