@charset "UTF-8";

body {
    font-size: 21px;
}

h2 span {
    color: #fff;
    text-align: center;
}

#news {
    margin-top: 100px;
}


.contact_wrapper {
    padding: 3% 0%;
    background-color: rgba(255, 255, 255, 0.6);
    max-width: 1200px;
    margin: auto;
}

.cd-fixed-bg.cd-bg-2 {
    background-image: url(../img/contact/contact_top.jpg);
    height: 400px;
}

.cd-fixed-bg.cd-bg-2::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: black;
    opacity: 0.4;
}

.contact_info {
    /* max-width: 1000px; */
    margin: 50px auto;
    padding: 20px 100px;
    /* background-color: #fcf5ef; */
}

.contactinfo {
    /* margin: 100px 0 30px 0; */
    margin: 100px 0 50px 0;
}

.contactinfo img {
    max-width: 500px;
}

h4 {
    font-size: 25px;
    color: #333;
    border-bottom: 3px solid #8093e5;
    padding-bottom: 5px;
    width: 100%;
}

.textr {
    text-align: right;
    font-size: 18px;
}

.text {
    padding-bottom: 30px;
    padding-top: 20px;
}

.textimg {
    text-align: center;
}

.tablenews td {
    text-align: left;
    width: 60%;
    padding: 30px 10px;
    font-size: 18px;
}

a:hover {
    color: #777777;
}

li {
    list-style: none;
}

form#mailformpro dl dd {

    font-size: 20px;
    padding: 20px 10px 40px 400px;
    background-color: #FFF;
}

form#mailformpro dl dt {
    float: left;
    clear: both;
    padding: 10px 0px;
    text-align: right;
    border-top: solid 1px #CCC;
    margin: 0px;
    font-size: 20px;
    width: auto;
    background-color: #FFF;
}

.must {
    display: block;
    background-color: #C00;
    border: solid 2px #C00;
    text-shadow: 0px 1px 2px #933;
    padding: 2px 5px;
    font-size: 10px;
    color: #FFF;
    float: left;
    margin: 0px 5px;
    border-radius: 4px;
    box-shadow: 0px 0px 5px #CCC;
    background-size: 100% 100%;
    background-image: url(_images/mfp_error.gif);
}

.mfp input,
.mfp textarea {
    padding: 8px 10px;
    border: none;
    background: #eff1f5;
    font-size: 1em;
    line-height: 1.5;
    border-radius: 0;
    box-shadow: none;
}

form#mailformpro label {
    display: inline-flex;
    align-items: center;
    position: relative;
    white-space: normal;
}

.selectbox::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox select {
    appearance: none;
    /* min-width: 230px; */
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #eff1f5;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
    margin: 0 0 0 20px;
}

select {
    background-color: #eff1f5;
    padding: 10px 10px;
}

.adress {
    margin: 8px 10px;
}

.text-center {
    margin: 12px;
}

.mfp_element_all {
    max-width: 90%;
}

/* button[type="submit"] {
    -webkit-appearance: none;
} */

.mfp_element_submit {
    color: #333;
}

button[type="submit"],
button[type="reset"] {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 250px;
    margin: 0 auto;
    padding: .9em 2em;
    border: none;
    /* border-bottom: solid 5px #0059a0; */
    border-radius: 5px;
    background-color: #CCC;
    /* color: #fff; */
    /* font-weight: 600; */
    transition: .5s ease;
    color: #333;
}


button[type="submit"]:hover,
button[type="reset"]:hover {
    transform: translateY(3px);
    border-bottom-width: 2px;

}

.mfp_buttons {
    text-align: center;
    display: flex;
}

.mb20 {
    margin-bottom: 20px;
}

.mb10 {
    margin-bottom: 10px;
}

.mainform {
    background-color: #eff2fc;
    padding: 30px;
}

#ThanksComment {
    padding-bottom: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 1.8rem;
}

.mfp_buttons {
    padding-top: 20px;
    padding-bottom: 20px;
}

#mailformpro {
    margin-bottom: 130px;
}

div.mfp_err {
    font-size: 20px;
}



/* スマホ */

@media screen and (max-width:1137px) {
    form#mailformpro dl dt {
        float: none;
        width: auto;
        font-size: 18px;
        /* padding: 5px; */
        text-align: left;
    }

    .mfp input,
    .mfp textarea {
        max-width: 90%;
    }


    .text,
    p,
    th,
    td,
    li {
        font-size: 18px;
    }

    /* form#mailformpro dl dd {
        margin: 0px;
        padding: 10px 0px 20px 0px;
    } */

    form#mailformpro dl dd {
        clear: both;
        border-top: none;
        padding: 5px 15px;
        line-height: 1.5em;
    }

    form#mailformpro dl dd ol li {
        margin-bottom: 10px;
    }

}

@media screen and (max-width:766px) {

    form#mailformpro dl dt {
        font-size: 12px;
    }

    .contact_wrapper {
        padding: 3% 20px;

    }

    h4 {
        font-size: 20px;
    }

    .contact_info {
        padding: 0px 20px;
    }



    li {
        font-size: 12px;
    }

    #subnavi li {
        font-size: 18px;
    }

    .mailform {
        max-width: 1000px;
    }

    .mfp input,
    .mfp textarea {
        width: auto;
        font-size: 12px;
    }

    div.mfp_err {
        font-size: 12px;
    }

    button[type="submit"],
    button[type="reset"] {
        padding: .5em 1em;
        font-size: 18px;
    }

}