@charset "utf-8";

/* ------------------------------
    お問い合わせ
--------------------------------- */
.contact {
    padding-top: 40px;
    padding-bottom: 100px;
}
@media (min-width: 768px) {
    .contact {
        padding-top: 60px;
        padding-bottom: 120px;
    }
}

.contact__word {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.contact__form {
    width: 100%;
    max-width: 600px;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 20px;
    background: var(--color-white);
    border-radius: 30px;
}

.contact__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2em;
}

.contact__left,
.contact__right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2em;
}

.contact__item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.5em;


    input {
        background: var(--color-gray);
        border-radius: 10px;
        height: 40px;
        width: 100%;
        padding: 10px 20px;
    }

    select {
        border: 2px solid var(--color-font);
        border-radius: 10px;
        width: 100%;
        padding: 10px 20px;
    }
    .contact__select-arrow {
        position: relative;
    }
    .contact__select-arrow:after {
        content: "";
        width: 12px;
        height: 12px;
        border-bottom: 1px  solid var(--color-font);
        border-right: 1px  solid var(--color-font);
        position: absolute;
        top: 40%;
        transform: rotate(45deg) translateY(-50%);
        right: 20px;
    }

    textarea {
        background: var(--color-gray);
        border-radius: 10px;
        padding: 10px 20px;
        width: 100%;
        height: 300px;
    }
}

.form-submit {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}
.form-submit__btn {
    width: 200px;
    height: 50px;
    background: var(--color-beige);
    border: 2px  solid var(--color-font);
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;

    transition: all 0.5s;
}

@media (min-width: 768px) {
    .contact__word{
        text-align: center;
    }

    .form-submit__btn:hover {
        color: var(--color-white);
        background: var(--color-font);
        border: 2px  solid var(--color-white);
    }
}

@media (min-width: 900px) {
    .contact__form {
        max-width: unset;
        padding: 48px 64px;
    }

    .contact__list {
        flex-direction: row;
        justify-content: unset;
        align-items: start;
        gap: 72px;
    }
    
    .contact__left,
    .contact__right {
        flex: 0 0 calc(50% - 36px);
    }

    .contact__item {
        textarea {
            height: 350px;
        }
    }

    .form-submit {
        margin-top: 60px;
    }
}


/* ------------------------------
    お問い合わせ：送信後
--------------------------------- */

.contact__send-word {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .contact__send-word {
        margin-bottom: 60px;
    }
}







