:root {
    --cl-yellow: rgb(245,194,81);
}

.cl-yellow {
    color: var(--cl-yellow)
}

/* 問い合わせ画面 */

.contact {
    max-width: 850px;
}

.contact table {
    background: none !important;
    border-collapse: collapse;
}

.contact table td {
    padding: 15px 0 !important;
    line-height: 35px;
}

.contact table td:first-of-type {
    width: 30%;
}

.contact tr {
    border-bottom: 1px solid rgb(223,230,230);
}

input {
    padding: 10px !important;
    background: rgb(223,230,230);
    border: none;
    border-radius: 2px;
}

input[type="text"] {
    width: 100%;
}

.check-label {
    float: left;
    margin-right: 20px;
}

textarea {
    width: 100%;
    padding: 10px !important;
    background: rgb(223,230,230) !important;
    border: none;
    border-radius: 2px !important;
    resize: vertical;
}

input[type="submit"] {
    cursor: pointer;
    background-color: rgb(51,68,71);
    color: #fff;
    transition: 0.2s;
    width: 150px;
    letter-spacing: 0.1em;
}

input[type="submit"]:hover {
    background-color: rgba(51,68,71,0.6);
}

@media (max-width: 540px) {
    .contact table td {
        display: block;
        width: 100% !important;
        padding: 0 !important;
    }
    .contact table td:first-of-type {
        margin-top: 10px !important;
    }
    .contact table td:nth-of-type(2) {
        margin-bottom: 10px !important;
    }
}

/* サンクス画面 */

.thanks {
    text-align: center;
    max-width: 1000px;
}

.thanks h2 {
    color: var(--cl-yellow);
    font-size: 18px;
    margin-bottom: 20px;
}

.thanks h3 {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 20px;
}

.thanks p {
    line-height: 1.8;
}
