@charset "utf-8";

.carousel div.carouselImg01 {
    height: 310px;
    background-image: url(../my-imges/recipe/recipe-bg-main01.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel div.carouselImg02 {
    height: 310px;
    background-image: url(../my-imges/recipe/recipe-bg-main02.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel div.carouselImg03 {
    height: 310px;
    background-image: url(../my-imges/recipe/recipe-bg-main03.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}


.title h1 {
    font-size: 30px;
    margin-top: 50px;
    text-align: center;
}

.title p {
    font-size: 20px;
    margin-top: 20px;
}

.contact {
    width: 930px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.form-area {
    background-color: beige;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
}

.form-area dt {
    width: 200px;
    padding: 20px 0;
    font-size: 20px;
    line-height: 1.5;
}

.form-area dd {
    width: calc(100% - 200px);
    padding: 20px 20px;
}

.form-area dt .required::after {
    content: '必須';
    font-size: 15px;
    color: brown;
    margin-left: 10px;
}

.input-text {
    width: 100%;
    max-width: 300px;
    height: 30px;
    padding-left: 10px;
    padding-right: 10px;
}

.select-box {
    width: 300px;
    height: 30px;
    font-family: "Zen Old Mincho", serif;
    font-size: 15px;
}

.radio-button {
    font-size: 20px;
    padding: 10px;
}

.message {
    width: 100%;
    height: 250px;
    padding: 10px;
    line-height: 1.5;
}

.submit-button {
    display: block;
    background-color: #5DAC81;
    color: #fff;
    min-width: 100px;
    line-height: 30px;
    border-radius: 10px;
    font-family: "Zen Old Mincho", serif;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    width: 30%;
    border: none;
}

.submit-button:hover {
    background-color: #B5CAA0;
}



@media (max-width: 800px) {
    .contact {
        width: 500px;
        margin-top: 20px;
    }

    .form-area dt,
    .form-area dd {
        width: 100%;
        padding: 5px;
    }

    .submit-button {
        width: 50%;
    }
}