.bread_crumb ul {
    padding: 10px 0;
    display: flex;
    display: -webkit-flex;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
}

.bread_crumb ul li a {
    color: #000;
}

.bread_crumb ul li a::after {
    margin: 0 5px;
    content: ">";
}

.bread_crumb ul li a:hover {
    opacity: 0.7;
    text-decoration: none;
}

#u_layer .contact_line {
    background: url("../img/contact_headlinebg.png") no-repeat center center;
    background-size: cover;
}

#u_layer .contact_line div h2.contact_title:after {
    position: absolute;
    top: -45%;
    left: 0;
    display: inline-block;
    height: 35px;
    width: 37px;
    background: url("../img/contact_icon01.png") no-repeat center;
    background-size: contain;
    content: '';
}

l-contact-detail-content {
    display:block;
    width:100%;
    padding:0;
    background-color:#f3f3f3;
}

.l-contact-detail-step {
    display:block;
    width:100%;
    margin:0 auto;
    padding:61px 0 42px;
}

.contact-step,.contact-step-item {
    display:-webkit-box;
    display:-webkit-flex;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -webkit-align-items:center;
    -ms-flex-align:center;
    align-items:center;
    -webkit-box-pack:center;
    -webkit-justify-content:center;
    -ms-flex-pack:center;
    justify-content:center;
}

.contact-step {
    list-style:none;
}

.contact-step-item {
    max-width:290px;
    -webkit-flex-basis:290px;
    -ms-flex-preferred-size:290px;
    flex-basis:290px;
    margin:0 24px;
    padding:15px 30px;
    text-align:center;
    border:1px solid #ddd;
    background-color:#fff;
}

.contact-step-text {
    display:inline-block;
    font-size:14px;
    letter-spacing:.05rem;
}

.contact-step-item.is-current {
    border:2px solid #181818;
}

.contact-content {
    padding:30px 30px 10px;
    background: #eee;
    margin-bottom: 30px;
}

.contact-step-item.is-current {
    border:2px solid #181818;
}

.contact-step-heading {
    display:inline-block;
    margin:0 22px 0 4px;
    font-size:16px;
    font-weight:700;
    letter-spacing:.06rem;
}

.contact-step-arrow {
    display:inline-block;
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
}

.l-contact-detail-form {
    padding:0 60px 50px;
    background-color:#fff;
}

.contact-content-item {
    display:-webkit-box;
    display:-webkit-flex;
    display:-ms-flexbox;
    display:flex;
    margin-bottom: 40px;
}

.contact-content-item:last-child {
    margin-bottom: 55px;
}

.contact-content-item-header .contact-content-detail {
    padding:0 0 10px;
}

.contact-content-item-conf .contact-content-heading {
    max-width:181px;
    -webkit-flex-basis:181px;
    -ms-flex-preferred-size:181px;
    flex-basis:181px;
    padding-right:55px;

}

.contact-content-item-conf .contact-content-item-header .contact-content-detail {
    padding:0 0 38px;
}

.contact-content-item-conf .contact-content-detail {
    padding:0 140px 40px 0;
    word-break:break-all;
}

.contact-content-item-conf .contact-content-detail-text {
    font-size:16px;
    margin:5px 0;
}

.contact-content-item-conf .contact-content-list-item {
    margin:0 0 10px;
}

.contact-content-item-conf .contact-content-list-item-heading {
    font-weight:700;
}

.contact-content-item-conf .contact-content-list-separator-icon {
    margin:0 9px 0 12px;
}

.contact-content-heading {
    display:block;
    max-width:241px;
    -webkit-flex-basis:241px;
    -ms-flex-preferred-size:241px;
    flex-basis:241px;
    font-size:12px;
    line-height:1.6;
    letter-spacing:.05rem;
    padding-left:30px;
    text-align: left;
}

.contact-content-heading-text {
    position:relative;
    font-weight:700;
    margin:8px 0 0;
    padding:0 0 0 72px;
}

.contact-content-heading-text:first-of-type {
    margin-top:0;
}

.contact-content-heading-text a {
    display:inline;
    color:#33bad2;
    -webkit-transition:color .25s ease;
    transition:color .25s ease;
}

.contact-content-heading-text a:before {
    content:"\e90d";
    display:inline-block;
    margin-right:11px;
    font-family:'lig-icon';
    font-size:16px;
    font-weight:400;
}

.contact-content-heading-text a:hover,.contact-submit-text a:hover {
    color:#6bddf2;
}

.contact-content-heading-text .contact-content-label {
    position:absolute;
    top:4px;
    left:0;
}

.contact-content-label {
    display:inline-block;
    margin:0 12px 0 0;
    padding:3px 14px;
    font-size:12px;
    font-weight:700;
    color:#666;
    line-height:1;
    background-color:#eaeaea;
    border-radius:3px;
}

.contact-content-label {
    padding:4px 10px 2px;
    font-size:10px;
    border-radius:2px;
}

.contact-content-label-required {
    color:#fff;
    background-color:#d40000;
}

.contact-content-detail select {
    background: #eee;
    width: 40%;
    height: 30px;
}

.contact-content-detail input, .contact-content-detail textarea {
    padding: 10px;
    width: 100%;
    background: #eee;
    font-size: 12px;
}

.contact-content-item .contact-content-detail {
    width: 60%;
}

.contact-agreement-text {
    height: 200px;
    padding: 30px 30px;
    background: #FFF;
    margin-top: 25px;
}

.contact-agreement-text p {
    overflow-y: auto;
    height: 150px;
    line-height: 1.7;
    font-size: 12px;
}

.contact-input {
    padding: 10px;
}

.contact-content-message {
    margin: 20px 0;
}

.contact_label {
    text-align: center;

}

.submitBtn {
    display: block;
    margin: 30px auto;
    padding: 15px;
    width: 200px;
    background: #064788;
    color: #FFF;
    border-radius: 4px;
    font-size: 18px;
    letter-spacing: 3px;
}

input[type="submit"] {
    -webkit-appearance: none;
}

.form_item {
    text-align: center;
    padding: 25px 0 0;
}

.form_item label {
    margin-left: 5px;
}

.vali-req {
    margin-right: 5px;
}

.text-any {
    display:inline-block;
    margin:0 12px 0 0;
    padding:3px 14px;
    font-size:12px;
    font-weight:700;
    color:#666;
    line-height:1;
    border-radius:3px; 
}

.contact-content .inquiry {
    width: 100%;
}

.inquiry .contact-content-td {
    width: 20%;
}

.form_item_btn {
    margin: 10px 0 30px;
}

.form_item_btn input {
    cursor: pointer;
    margin-top: 10px;
}

.form_item_btn .wpcf7-form-control {
    padding: 13px 15px;
    width: 220px;
    background: #027ebf;
    color: #FFF;
    border-radius: 5px;
    font-size: 16px;
    letter-spacing: 3px;
}

.inquiry {
    background: #fff;
    padding-top: 30px;
}

.contact-item-top {
    margin-top: 30px;
}

.contact-content-detail textarea {
    padding: 10px;
    font-size: 100%;
}

.contact-content02 p {
    font-weight: bold;
}

.contact-content02_box {
    text-align: center;
    padding: 30px 100px;
    border: 1px solid;
    margin: 30px 0 25px;
}

.contact-content02_box p {
    line-height: 1.8;
}

.contact_content02_tel {
    font-size: 30px;
    font-weight: bold;
    position: relative;
}

.contact_content02_tel a {
    color: #000;
    text-decoration: none;

}

.contact_content02_tel a::before {
    position: absolute;
    left: -40px;
    display: inline-block;
    height: 50px;
    width: 30px;
    background: url("../img/common/icon_tel02.png") no-repeat center;
    background-size: contain;
    content: '';
}

.contact_content02_tel a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.contact_kome {
    font-size: 11px;
}

.contact_top {
    padding: 40px 20px;
    background: #eee;
}

.contact_top ul {
    display: table;
    width: 100%;
}

.contact_top li {
    display: table-cell ;
}

.contact_top_item {
    padding: 10px 20px;
    border: 1px solid;
    text-align: center;
    width: 25%;
    background: #fff;
}

.contact_top_img {
    width: 8%;
    padding: 2%;
    vertical-align:middle;
}
.contact_top_item.first, .custom-wpcf7c-confirmed .contact_top_item.second{
    background-color:#000;
    color:#fff;
}
.custom-wpcf7c-confirmed .contact_top_item.first{
    background-color:#fff;
    color:#000;
}

@media screen and (max-width: 767px) and (min-width: 500px) {
    
    .contact_content02_tel a {
        font-size: 100% !important;
    }
    
    .contact_content02_tel a::before {
        left: 20% !important;
    }
    
}

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

    #u_layer .u_layer_content_wrap .u_layer_main {
        width: 100%;
        float: none;
    }

    #u_layer .u_layer_content_wrap .u_layer_side {
        display: none;
    }

    #u_layer .contact_line {
        background: url("../img/schedule_headlinebg_sp.png") repeat center center;
        background-size: contain;
        height: 65px;
        border-bottom: none;
        padding-left: 5%;
    }

    .sp_main_image {
        border-bottom: 20px solid #eeeeee;
    }

    #u_layer .contact_line div h2.contact_title::after {
        height: 30px;
        width: 30px;
        margin-top: 5px;
    }

    #u_layer .headline div {
        height: 50px;
    }

    #u_layer .headline div h2 {
        font-size: 180%;
        padding-left: 40px;
    }

    .contact-content02_box {
        padding: 30px 20px;
        margin: 30px 0 50px;
    }
    
    .contact_content02_tel a {
        position: relative;
        display: flex;
        justify-content: center;
        -webkit-justify-content: center;
        align-items: center;
        -webkit-align-items: center;
        background: #fff100;
        border-radius: 15px;
        margin-top: 20px;
        font-size: 60%;
        padding: 20px 15px;
        text-align: center;
        color: #000;
    }

    .contact_content02_tel a::before {
        width: 20px;
        height: 20px;
        left: 10%;
    }
    
    .contact-content {
        padding-top: 50px;
        margin-bottom: 0;
    }

    .contact-content02_box .contact_content02_tel a::after {
        position: absolute;
        right: 5%;
        font-weight: normal;
        content: ">";
    }

    .contact-content02_box .contact_content02_tel a:hover {
        background: #000;
        color: #FFF;
        text-decoration: none;
    }


    .contact-content02_box p {
        line-height: 1.1;
    }

    .contact-content-item {
        display: table;
        text-align: left;
        width: 90%;
        margin: 30px auto;
    }

    .contact-content-heading {
        display: table-row;
        text-align: left;
    }

    .contact-content-detail {
        display: table-row;
    }

    .contact-content-detail select {
        width: 50%;
        background-color: #eee;
        margin-top: 10px;
    }

    .contact-content-detail input, .contact-content-detail textarea {
        background-color: #eee;
        margin-top: 10px;
    }

    div.wpcf7 .ajax-loader {
        display: none;
    }

    .contact_top{
        display:none;
    }
    
    .form_item {
        padding: 30px 0 0;
    }
    
    .contact-agreement-text {
        padding: 20px 20px;
    }
    
    .contact-agreement-text p {
        height: 160px;
    }
    
    .wpcf7-form br:last-child {
        display: none;
    }

}