#mainImg{
    background-image: url(../img/contact_mainimg01.jpg);
    background-position: top;
}

#sec01{
    width: 945px;
    margin: 0 auto;
}

#sec01 #step{
    border: 2px solid #efebe5;
    border-radius: 28px;
    height: 52px;
    display: block;
    width: 100%;
    overflow: hidden;
    color: #623700;
    margin-top: 30px;
    margin-bottom: 55px;
}

#sec01 #step li{
    float: left;
    width: 33.3333%;
    text-align: center;
    line-height: 52px;
    position: relative;
}

#sec01 #step li.active{
    background: #623700;
    color: #fff;
}

#sec01 #step li:before{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 28px 0 28px 22px;
    border-color: transparent transparent transparent #efebe5;
    position: absolute;
    right: -21px;
    top: -2px;
    z-index: 2;
}

#sec01 #step li:after{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 28px 0 28px 22px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    right: -19px;
    top: -2px;
    z-index: 2;
}

#sec01 #step li.active:before{
    display: none;
}

#sec01 #step li.active:after{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 28px 0 28px 22px;
    border-color: transparent transparent transparent #623800;
    position: absolute;
    right: -21px;
    top: -2px;
    z-index: 2;
}

#sec01 #step li:last-child:before,
#sec01 #step li:last-child:after{
    display: none;
}

#sec01 #requireTxt{
    font-size: 16px;
    margin-bottom: 5px;
}

#sec01 form > table{
    font-size: 16px;
    width: 100%;
}

#sec01 form > table > tbody > tr > td,
#sec01 form > table > tbody > tr > th{
    text-align: left;
    border: 2px solid #fff;
    padding: 8px 30px;
    vertical-align: top;
}

#sec01 form > table > tbody > tr > td{
    border-right: none;
    background: #faf9f7;
}

#sec01 form > table > tbody > tr > th{
    width: 150px;
    border-left: none;
    background: #efebe5;
    color: #623700;
}

#sec01 form > table table td,
#sec01 form > table table th{
    text-align: left;
    padding: 5px 0px;
}

#sec01 form > table table th{
    width: 140px;
}

#sec01 form > table input[type="text"]{
    width: 430px;
    height: 36px;
    padding: 0px 10px;
    box-sizing: border-box;
}

#sec01 form > table textarea{
    width: 430px;
    height: 200px;
    padding: 10px;
    box-sizing: border-box;
    resize: vertical;
    font-family: arial;
}

#sec01 form > table input[name="family-name"],
#sec01 form > table input[name="given-name"],
#sec01 form > table input[name="family-name-kana"],
#sec01 form > table input[name="given-name-kana"]{
    width: 200px;
}

#sec01 form > table input[name="postal-code1"],
#sec01 form > table input[name="postal-code2"],
#sec01 form > table input[name="phone-number1"],
#sec01 form > table input[name="phone-number2"],
#sec01 form > table input[name="phone-number3"]{
    width: 100px;
}

#sec01 form > table input[name="family-name"],
#sec01 form > table input[name="family-name-kana"]{
    margin-right: 20px;
}

#sec01 form > table .format{
    padding-left: 20px;
    font-size: 14px;
    color: #999;
}

#sec01 form > table select{
    height: 30px;
}

#sec01 form > table button{
    cursor: pointer;
}

#sec01 .require,
#sec01 .error{
    color: #e47b56;
}

#sec01 #agree{
    font-size: 16px;
    border: 1px solid #623700;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

#sec01 #agree p{
    margin-bottom: 15px;
}

#sec01 #agree p a{
    text-decoration: underline;
}

#sec01 label,
#sec01 label input{
    cursor: pointer;
}

#sec01 #btnWrap{
    text-align: center;
    margin-top: 30px;
}

#sec01 #btnWrap .btn01,
#sec01 #btnWrap .btn02{
    width: 236px;
    height: 51px;
    line-height: 51px;
    margin: 0px 10px;
    font-size: 22px;
    float: none;
    display: inline-block;
}

#sec01 #btnWrap .btn01:after,
#sec01 #btnWrap .btn02:after{
    width: 230px;
    height: 45px;
}

@media screen and (max-width: 600px) {
    #mainImg{
        background-image: url(../img/contact_mainimg01_sp.jpg);
    }

    #sec01{
        width: 300px;
    }

    #sec01 #step{
        border: 1px solid #efebe5;
        margin-top: 10px;
        margin-bottom: 10px;
        height: 26px;
        border-radius: 14px;
    }

    #sec01 #step li{
        font-size: 10px;
        line-height: 26px;
    }

    #sec01 #step li:before{
        border-width: 14px 0 14px 11px;
        right: -10px;
        top: -1px;
    }
    
    #sec01 #step li:after{
        border-width: 14px 0 14px 11px;
        right: -9px;
        top: -1px;
    }
    
    #sec01 #step li.active:after{
        border-width: 14px 0 14px 11px;
        right: -10px;
        top: -1px;
    }

    #sec01 #requireTxt{
        font-size: 10px;
    }

    #sec01 form > table{
        font-size: 12px;
        width: 320px;
        margin-left: -10px;
    }

    #sec01 form > table > tbody > tr > td,
    #sec01 form > table > tbody > tr > th{
        border: none;
        padding: 8px 10px;
    }

    #sec01 form > table > tbody > tr > th{
        width: auto;
    }

    #sec01 form > table td,
    #sec01 form > table th{
        display: block;
    }

    #sec01 form > table input[type="text"]{
        width: 300px;
        height: 30px;
        border: 1px solid #efebe5;
        border-radius: 0px;
        -webkit-appearance: none;
        appearance: none;
    }

    #sec01 form > table textarea{
        width: 300px;
        height: 100px;
        border: 1px solid #efebe5;
        border-radius: 0px;
        -webkit-appearance: none;
        appearance: none;
    }

    #sec01 form > table input[name="family-name"],
    #sec01 form > table input[name="given-name"],
    #sec01 form > table input[name="family-name-kana"],
    #sec01 form > table input[name="given-name-kana"]{
        width: 110px;
    }
    
    #sec01 form > table input[name="postal-code1"],
    #sec01 form > table input[name="postal-code2"],
    #sec01 form > table input[name="phone-number1"],
    #sec01 form > table input[name="phone-number2"],
    #sec01 form > table input[name="phone-number3"]{
        width: 55px;
    }

    #sec01 form > table input[name="family-name"],
    #sec01 form > table input[name="family-name-kana"]{
        margin-right: 10px;
    }

    #sec01 form > table table td, #sec01 form > table table th{
        padding: 2px 0px;
    }

    #sec01 form > table .format{
        padding-left: 0px;
        font-size: 12px;
    }

    #sec01 #agree{
        font-size: 10px;
        padding: 5px;
        padding-bottom: 15px;
        margin-top: 20px;
    }

    #sec01 #btnWrap{
        margin-top: 20px;
    }

    #sec01 #btnWrap .btn01,
    #sec01 #btnWrap .btn02{
        width: 300px;
        height: 46px;
        line-height: 46px;
        margin: 0px;
        font-size: 16px;
    }

    #sec01 #btnWrap .btn01:after,
    #sec01 #btnWrap .btn02:after{
        width: 294px;
        height: 40px;
    }

    #sec01 #btnWrap .btn02{
        margin-bottom: 10px;
    }
}