.btn_contact a{
    padding: 0;
    margin: 0 250px;
    text-align: center;
    color: #fff;
    font-size: 3.2rem;
    width: 500px;
    line-height: 90px;
    font-weight: 700;
    position: relative;
    background: #353384; /* fallback */
        background:
            -webkit-linear-gradient(45deg,  transparent 5px, #353384 5px),
            -webkit-linear-gradient(135deg, transparent 5px, #353384 5px),
            -webkit-linear-gradient(225deg, transparent 5px, #353384 5px),
            -webkit-linear-gradient(315deg, transparent 5px, #353384 5px);
        background:
            -ms-linear-gradient(45deg,  transparent 5px, #353384 5px),
            -ms-linear-gradient(135deg, transparent 5px, #353384 5px),
            -ms-linear-gradient(225deg, transparent 5px, #353384 5px),
            -ms-linear-gradient(315deg, transparent 5px, #353384 5px);
    background-position: bottom left, bottom right, top right, top left;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    display: block;
}
.btn_contact a.back{
    background: #817fc7;
    background:
            -webkit-linear-gradient(45deg,  transparent 5px,  #817fc7 5px),
            -webkit-linear-gradient(135deg, transparent 5px,  #817fc7 5px),
            -webkit-linear-gradient(225deg, transparent 5px,  #817fc7 5px),
            -webkit-linear-gradient(315deg, transparent 5px,  #817fc7 5px);
        background:
            -ms-linear-gradient(45deg,  transparent 5px,  #817fc7 5px),
            -ms-linear-gradient(135deg, transparent 5px,  #817fc7 5px),
            -ms-linear-gradient(225deg, transparent 5px,  #817fc7 5px),
            -ms-linear-gradient(315deg, transparent 5px,  #817fc7 5px);
    background-position: bottom left, bottom right, top right, top left;
    background-size: 50% 50%;
    background-repeat: no-repeat;
}
.btn_contact a:before{
    content: "";
    display: block;
    position: absolute;
    background: #353384;
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: -2;
}
.btn_contact a.back:before{
    content: "";
    display: block;
    position: absolute;
    background: #817fc7;
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: -2;
}
.btn_contact a:after{
    content: "";
    display: block;
    position: absolute;
    background: #353384;
    width: 10px;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    margin-top: 0;
    z-index: -2;
}
.btn_contact a.back:after{
    content: "";
    display: block;
    position: absolute;
    background: #817fc7;
    width: 10px;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    margin-top: 0;
    z-index: -2;
}

p.form-error{
    text-align: center;
    margin-bottom: 10px;
    color: red;
}
.layer-confirm,
.layer-thanks{
    margin-top: 100px;
}
h4.ttl{
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 30px;
}
article{
    overflow: hidden;
}

.layer-confirm .flex{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.layer-confirm .form .contact td input::placeholder, .layer_confirm .form .contact td select::placeholder{
  color: #cbcbcb;
}

.layer-confirm .form .contact td label [type="checkbox"] {
  width: auto;
}


.layer-confirm .form .contact td > .shimei > li {
  width: 48%;
}

.layer-confirm .form .contact td > .mail_txt {
  line-height: 1.2;
  padding: 15px 0;
}

.layer-confirm .form .contact td .conf_t {
  width: 100%;
  height: 60px;
  background: #eee;
  border: none;
  padding: 0 10px;
  font-size: 16px;
  border-radius: 4px;
  border: none;
  line-height: 60px;
    color: #999;
}

@media screen and (min-width: 769px) {

    .layer-confirm .flex_ct{
        margin: 25px 0 0;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }    
    .layer-confirm .flex_ct li{
        width: 48%;
    }
    .layer-confirm .flex_ct li a{
        margin: auto;
        width: auto;
    }
}

@media screen and (max-width: 768px) {
    .btn_contact{
        text-align: center;
    }
    .btn_contact li{
        margin: 15px 0 0;
    }
    .btn_contact a{
        margin: 0 auto;
        font-size: 1.6rem;
        width: 80%;
        line-height: 50px;
    }
    h4.ttl{
        text-align: center;
        font-size: 16px;
        margin: 0 0 20px;
    }
    .layer-confirm,
    .layer-thanks{
        margin-top: 0px;
    }
    
    .layer-confirm .form .contact td .conf_t {
        font-size: 1.2rem;
        padding: 8px;
        width: 100%;
        line-height: 1.4;
        height: auto;
    }
        
    .flex_ct{
        display: block;
    }
}