@charset "UTF-8";

h3, h3 + p{
    text-align: center;
}
form{
    width: 60%;
    height: auto;
    margin: auto;
}
input{
    border: solid 0.1rem #5E3722;
    border-radius: 0.3rem;
}
textarea{
    border: solid 0.1rem #5E3722;
    border-radius: 0.3rem;
}
.disc{
    list-style: disc;
}
ul + label{
    width: 70%;
    height: auto;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin: auto;
}
input[type="checkbox"]{
    border: solid 0.1rem #5E3722;
    accent-color: #5E3722;
}
button{
    width: 100%;
    height: auto;
    background: none;
    border: none;
    margin: auto;
}
.send_sentence{
    text-align: center;
}
.confirm_link{
    display: block;
    text-align: center;
    margin-top: 10%;
}

/* PC */
@media screen and (min-width:890px){
    .flex_item{
        justify-content: center;
        margin-top: 5rem;
    }
    .flex_item:nth-child(1){
        margin-top: 10rem;
    }
    label{
        width: 30%;
        height: auto;
        text-align: right;
        margin-right: 10%;
    }
    input{
        width: 70%;
        height: auto;
    }
    textarea{
        width: 70%;
        height: 25rem;
    }
    input[type="checkbox"]{
        width: 3rem;
        height: 3rem;
    }
    .confirm_button{
        width: 50%;
        height: auto;
    }
}

/* スマホ */
@media screen and (max-width:889px){
    label, input:not(input[type="checkbox"]){
        width: 100%;
        height: auto;
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    label{
        margin-top: 5rem;
    }
    input:not(input[type="checkbox"]){
        margin-top: 1.5rem;
    }
    textarea{
        width: 100%;
        height: 15rem;
        display: block;
        margin: 1.5rem auto 0 auto;
    }
    .flex_item + .margin_top > p{
        text-align: center;
    }
    ul + label{
        width: 100%;
    }
    input[type="checkbox"]{
        width: 2rem;
        height: 2rem;
        margin: 0;
    }
    .confirm_button{
        width: 100%;
        height: auto;
        margin-top: 10%;
    }
}