.contents{
    width: 90%;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    padding: 3.5rem;
}
@media screen and (max-width: 500px){
    .contents{
        width: 100%;
        padding: 0;
    }
}

.txt{
    font-size: 1.6rem;
}
@media screen and (max-width: 500px){
    .txt{
        font-size: 1rem;
    }
}
.contact_form{
    margin-top: 1em;
}
.sets{
    display: grid;
    grid-template-columns: 1fr 80%;
    margin-top: 3rem;
}
@media screen and (max-width: 500px){
    .sets{
        grid-template-columns: 1fr;
    }
}
.sets.subject{
    width: 100%;
    background-color: #ededed;
    padding: 13px 20px;
    border-radius: 5px;
    margin-top: 0;
    display: block;
}
.sets.subject select{
    background-color: transparent;
    border: none;
    width: 100%;
}

.sets_title{
    font-size: 1.6rem;
    font-weight: bold;
    display: flex;
    padding: 1rem;
    height: fit-content;
    margin: auto 0;
}
@media screen and (max-width: 500px){
    .sets_title{
        padding: 0;
        margin-bottom: 5px;
    }
}
.sets_title p {
    line-height: 1.3;
    display: flex;
    align-items: center;
}
.sets_title span.required{
    color: #fff;
    background-color: #ee0101;
    margin-left: 1rem;
    font-size: 1.3rem;
    position: relative;
    /* top: 3px; */
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    font-weight: normal;
}
.sets_detail input, .sets_detail textarea, .sets_detail p {
    width: 100%;
    font-size: 1.6rem;
    padding: 1rem;
    border: 1px solid #dbdbdb;
    display: block;
    min-height: 3.6rem;
}

.sets_detail input:focus, .sets_detail textarea:focus, select:focus{
    outline: none;
}

.sets_detail > em{
    /* background-color: #AE0004;
    color: #fff; */
    color: red;
    font-size: 15px;
    line-height: 20px;
    /* font-size: 1.1rem; */
    padding: 0.5rem;
    margin-bottom: 2px;
    display: block;
    /* font-weight: bold; */
}

.contents form .btn{
    width: fit-content;
    margin: 2rem auto;
    display: block;
    padding: 1rem 1.5rem;
    background-color: rgba(49, 169, 184, 1);
    color: #fff;
    cursor: pointer;
    border: transparent;
    font-size: 1.6rem;
    border-radius: 10px;
}
.contents  form .btn:hover{
    background-color: #f2c931;
    color: #333;
}

.c-result {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.8;
    width: 80%;
    margin: 0 auto;
    border: 1px solid #dbdbdb;
    padding: 5rem;
    background-color: #fff;
}
/* result画面の設定*/
.result{
    padding: 50px;
    border: 1px solid #dbdbdb;
    text-align: center;
    font-size: 1.6rem;
}

.return-top{
    display: block;
    position: static;
    margin: 30px auto;
    width: fit-content;
    background-color: rgba(49, 169, 184, 1);
    padding: 1rem 2rem;
    border-radius: 10px;
    color: #fff;
}

.contents form .operation{
    display: flex;
    width: fit-content;
    margin: 0 auto;
}

.contents form .operation > button{
    margin-left: 3rem;
    display: block;
}