#form_wrap .check input,
#form_wrap .radio input {
    margin-right: 5px;
}
input::placeholder,
textarea::placeholder {
  color: #bfbfbf;
}


#contact .content {
    max-width: 830px;
    padding-top: 110px;
}
#contact .content .cnt-title {
    font-size: 1.2rem;
    color: #0d2c22;
    font-weight: 500;
    text-align: center;
}
#contact .content .cnt-title .sub-ttl {
    font-size: 1.6rem;
    margin-bottom: 10px;
}
#contact .content .cnt-title h2 {
    display: flex;
    justify-content: center;
    align-items: center;
}
#contact .content .cnt-title h2 span {
    display: inline-block;
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    line-height: 70px;
    color: #fff;
    border-radius: 50%;
    margin-right: 15px;
    background-color: #0d2c22;
}
.form {
    margin: 0 auto;
}
.form form {
}
.form .input-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.form .input-wrap:nth-of-type(3),
.form .input-wrap:nth-of-type(5),
.form .input-wrap:last-of-type {
    margin-bottom: 0;
}
.form .input-wrap .ttl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    font-size: 1.3rem;
    color: #0d2c22;
    font-weight: 500;
    padding-top: 60px;
    margin: 60px 0;
    border-top: 1px solid #bfbfbf;
}
.form .input-wrap .ttl p:first-child {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1;
    text-align: center;
    width: 110px;
    border-radius: 30px;
    padding: 15px;
    margin-right: 20px;
    background-color: #0d2c22;
}
.form .input-wrap .ttl p span {
    font-size: 0.9rem;
}
.form .input-wrap label {
    display: flex;
    align-items: center;
    text-align: justify;
    width: 200px;
    padding: 0 20px;
    box-sizing: border-box;
}
.form .input-wrap div.input {
    display: flex;
    flex: 1;
    box-sizing: border-box;
}
.form .input-wrap div.input input::placeholder {
    font-size: 1rem;
}
.form .input-wrap div.input > input,
.form .input-wrap div.input > textarea {
    width: 100%;
    min-height: 75px;
    font-family: "Shippori Mincho", serif;
    font-size: 1rem;
    border-radius: 0;
    border: 1px solid #bfbfbf;
    padding: 20px;
    box-sizing: border-box;
}
.form .input-wrap div.input div {
    display: flex;
    width: 33.33%;
}
.form .input-wrap.radio_wrap div.input {
    display: block;
}
.form .input-wrap.radio_wrap div.input div {
    display: flex;
    align-items: center;
    width: auto !important;
    margin-bottom: 10px;
}
.form .input-wrap.radio_wrap div.input div label {
    padding: 0;
    margin-bottom: 0;
}
.form .privacy .input-wrap div.input div {
    width: 100%;
    justify-content: center;
    align-items: center;
}
.form .input-wrap div.input select {
    width: 33.33%;
    font-size: 1rem;
    padding: 20px;
    box-sizing: border-box;
}
.form .input-wrap div.input select.time_select {
    width: 100%;
}
.form .input-wrap div.input select option {
    padding: 3px 7px;
}
.form div.form-submit_button {
    margin-top: 60px;
}
.form .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 75px;
    font-family: "Shippori Mincho", serif;
    font-size: 1rem;
    color: #fff;
    border-radius: 40px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #0d2c22;
    background-color: #0d2c22;
    transition: all 0.5s ease;
}
.form .button:hover {
    color: #0d2c22;
    border: 1px solid #0d2c22;
    background-color: #fff;
    cursor: pointer;
}

.form dl.confirm {
    display: flex;
    flex-wrap: wrap;
    padding-top: 50px;
    margin: 50px 0 60px;
    border-top: 1px solid #bfbfbf;
}
.form dl.confirm dt:not(:last-of-type),
.form dl.confirm dd:not(:last-of-type) {
    margin-bottom: 30px;
}
.form dl.confirm dt {
    display: flex;
    align-items: center;
    text-align: justify;
    width: 200px;
    padding: 0 20px;
    box-sizing: border-box;
}
.form dl.confirm dd {
    width: calc(100% - 200px);
    min-height: 75px;
    font-size: 1rem;
    padding: 20px;
    border: 1px solid #bfbfbf;
    background-color: #fff;
    box-sizing: border-box;
}
.form .form-submit_button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.form .return_button {
    margin-top: 50px;
}
.form .return_button a {
    color: #fff;
}

input[type="submit"] {
    border: 0;
    box-shadow: 0;
}
input[type="button"] {
    border: 0;
    box-shadow: 0;
}
.form div.validation-error {
    display: block;
    color: #d00303;
    text-align: justify;
    padding-left: 10px;
}
.form .error-message {
    background-color: #efefef;
    color: #d00303;
}

.complete #form_wrap {
    padding-top: 50px;
    margin: 50px 0 0;
    border-top: 1px solid #bfbfbf;
}
.complete #form_wrap h3 {
    text-align: center;
}
#form_wrap .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 75px;
    font-family: "Shippori Mincho", serif;
    font-size: 1rem;
    color: #fff;
    border-radius: 40px;
    margin: 60px auto 0;
    border: 1px solid #0d2c22;
    background-color: #0d2c22;
    transition: all 0.5s ease;
}
#form_wrap .btn:hover {
    color: #0d2c22;
    border: 1px solid #0d2c22;
    background-color: #fff;
    cursor: pointer;
}
#header_contact {
    text-align: center;
    padding: 30px;
    margin: 0 20px;
    background-color: #fff;
}
#header_contact h1 {
    line-height: 0;
    margin: 0;
}

.privacy {
    text-align: justify;
    padding-bottom: 60px;
}
.privacy .pp-cont {
    display: inline-block!important;
    width: 100%;
    height: 260px;
    border: 1px solid #bfbfbf;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    box-sizing: border-box;
    overflow-y: scroll;
}
.privacy .pp-cont h3 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 20px;
}
.privacy .pp-cont p {
    margin-bottom: 20px;
}
.form .privacy .input-wrap div.input {
    display: inline-block;
}

.error-message {
    list-style: none;
    padding: 1rem;
}
.contact_wrap {
    position: relative;
    padding: 20px;
    z-index: 1;
}
.contact_wrap .inner {
    border: 2px solid var(--mainColor);
    padding: 50px 20px;
    z-index: 1;
}
.privacy_checkbox {
    margin-right: 8px;
}
#footer {
    font-size: 0.8rem;
    color: #fff;
    text-align: center;
    background-color: #0d2c22;
}


/* media query : mobile
---------------------------------------------*/
@media screen and (max-width: 768px) {
    #contact {
        padding-bottom: 0;
    }
    #contact .content {
        padding: 60px 20px;
    }
    #contact .content .cnt-title .sub-ttl {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    #contact .content .cnt-title p:last-of-type {
        font-size: 1rem;
    }
    #contact .content .cnt-title h2 {
        font-size: 1.45rem;
    }
    #contact .content .cnt-title h2 span {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        line-height: 50px;
        margin-right: 10px;
    }
    .form .input-wrap {
        margin-bottom: 15px;
    }
    .form .input-wrap .ttl p:first-child {
        font-size: 1rem;
        width: 90px;
        padding: 8px;
        margin-right: 10px;
    }
    .form .input-wrap .ttl {
        font-size: 1.1rem;
        padding-top: 40px;
        margin: 40px 0 20px;
        border-top: 1px solid #bfbfbf;
    }
    .form .input-wrap .ttl p:first-of-type {
        margin-bottom: 10px;
    }
    .form .input-wrap label {
        width: 100%;
        padding: 0;
        margin-bottom: 5px;
    }
    .form .input-wrap div.input > input,
    .form .input-wrap div.input > textarea {
        min-height: 60px;
    }
    .privacy {
        padding-bottom: 40px!important;
    }
    .form .button {
        width: 220px;
        height: 60px;
    }

    .form dl.confirm {
        padding-top: 40px;
        margin: 40px 0 50px;
    }
    .form dl.confirm dt {
        width: 100%;
        padding: 0;
    }
    .form dl.confirm dt:not(:last-of-type) {
        margin-bottom: 5px;
    }
    .form dl.confirm dd:not(:last-of-type) {
        margin-bottom: 10px;
    }
    .form dl.confirm dd {
        width: 100%;
        line-height: 1.45rem;
        min-height: 60px;
    }

    .confirm .form .button {
        width: calc(50% - 10px);
        height: 60px;
    }

    #form_wrap .btn {
        width: 220px;
        height: 60px;
        margin: 50px auto 0;
    }
}


@media screen and (max-width: 768px) {
    .contact_wrap {
        padding: 5px;
    }
    .contact_wrap .inner {
        padding: 20px;
    }
}

select.is_empty {
    color: gray;
}