@charset "utf-8";
/* CSS Document */
#eye_catch {
    background: url(../images/main01/CONTACT.jpg) center / cover;
}

article {
    padding: 50px 0;
}

main {
    background-color:#FFF;
}

.lead {
    margin:0 0 50px;
}

@media (min-width: 768px){
    .lead {
        text-align: center;
    }
}

@media (min-width: 992px){
    .lead {
        margin: 0 auto 50px;
        width: 60%;
    }
}

.lead h2 {
    text-align: center;
}

.content {
    background-color:#fff;
    padding: 5px;
}

.form {
    padding: 40px 3px 50px;
}

@media (min-width: 992px){
    .form {
        padding: 40px 182.5px 50px;
    }
}

table {
    width: 100%;
}

tr {
    width: 750px;
    border-top: 1px solid #aaaaaa;
}

tr:last-child {
    border-bottom: 1px solid #aaaaaa
}

th,
td {
    padding: 10px;
}

th {
    position: relative;
    font-size: 1rem;
    width: 240px;
}

@media (min-width: 768px){
    th {
        width: 200px;
    }
}

@media (min-width: 992px) {
    th {
        position: relative;
        /*font-size: 1rem;*/
        width: 240px;
    }
}

tr:nth-child(4) th {
    padding-top: 18px;
    vertical-align: top;
}

td p {
    margin-bottom: 0;
    font-size: 12px;
}

@media only screen and (max-width: 767px) {
    th {
        display: block;
        padding: 10px;
        width: 100%;
    }
    td {
        display: block;
        padding: 10px;
        width: 100%;
    }

}

.required::after {
    content: '必須';
    width: 40px;
    position: absolute;
    font-size: 12px;
    background-color: #ffffff;
    color: #ff0000;
    border: 1.5px solid #ff0000;
    border-radius: 5px;
    text-align: center;
    right: 10px;
}

@media (min-width: 992px) {
    .required::after {
        content: '必須';
        width: 40px;
        position: absolute;
        font-size: 12px;
        background-color: #ffffff;
        color: #ff0000;
        border: 1.5px solid #ff0000;
        border-radius: 5px;
        text-align: center;
        right: 30px;
    }
}

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"] {
    border: 1px solid #bbbbbb;
    font-size: 1rem;
    outline: none;
    padding: 10px 15px;
}

.form input[type="checkbox"],
.form input[type="radio"] {
    position: relative;
    top: 2px;
    margin-right: 10px;
    transform: scale(1.5);
}

.form textarea {
    border: 1px solid #bbbbbb;
    font-size: .9rem;
    outline: none;
    font-family: inherit;
    line-height: 1.5;
    padding: 5px;
    width: 100%;
    height: 250px;
}

@media (min-width: 768px){
    .form textarea {
        width: 100%;
        height: 200px;
    }
}

.flex {
    display: flex;
    justify-content: space-between;
}

.form .check-label {
    display: inline-block;
}

.form .check-label:first-child {
    margin-right: 40px;
}

.form .label-text {
    font-size: 1rem;
    letter-spacing: 2px;
}

.form input[type="text"].input-name-text-l {
    margin-right: 10px;
}

.form input[type="text"].input-name-text-l,
.form input[type="text"].input-name-text-r {
    width: 50%;
}

@media (min-width: 992px){
    .form input[type="text"].input-name-text-l,
    .form input[type="text"].input-name-text-r {
        width: 50%;
    }
}

.form input[type="tel"].input-tel-text,
.form input[type="email"].input-email-text {
    width: 100%;
}

@media (min-width: 992px){
    .form input[type="tel"].input-tel-text,
    .form input[type="email"].input-email-text {
        width: 65%;
    }
}

.form input[type="email"].input-email-text:first-child {
    margin-bottom: 10px;
}

.form .timezone-radio-label {
    display: inline-block;
    margin-bottom: 10px;
}

.form .timezone-radio-label:last-child {
    margin-bottom: 0px;
}

/*.form .input[type="checkbox"] span {
    font-size: 4px;
}*/

.form button {
    display: block;
    /*width: 190px;*/
    /*height: 40px;*/
    padding: 10px 50px;
    margin: 30px auto 0;
    font-size: 1rem;
    letter-spacing: 1px;
    background-color: #BBB;
    color: #ffffff;
    border: 2px solid #BBB;
    border-radius: 5px;
    cursor: pointer;
}

.form button:hover {
    transition: 100ms ease-out;
    background-color: #ffffff;
    color:  #BBB;
}
