header {position: fixed;top:0;}
section.contact h1 {
    position: relative;
    width: 100%;
    margin: 7.2rem 0 2em 0;
    padding: 2em 0 0 0;
    font: normal 2.3em "Helvetica,sans-serif";
    letter-spacing: 3px;
    text-align: center;
}

ol.guide {
    margin: 0 auto 32px auto;
    padding: 0 70px 0 0;
}
ol.guide li{display: none;}
ol.guide li.active{
    text-indent: -100%;
    display: block;
    height: 59px;
    min-width: 934px;
}
ol.guide.index li.active,
ol.guide.input li.active{background: #fff url("../img/contact_guide_input.png") no-repeat center top;}
ol.guide.check li.active,
ol.guide.confirm li.active{background: #fff url("../img/contact_guide_confirm.png") no-repeat center top;}
ol.guide.thanks li.active{background: #fff url("../img/contact_guide_thanks.png") no-repeat center top;}

section.contact form {
    max-width: 782px;
    margin: 0 auto;
    padding: 0 2em;
    font-size: 24px;
}
section.contact input[type="text"],
section.contact input[type="tel"],
section.contact textarea {
    margin: 1em 0 0 0;
    padding: 0;
    text-indent: 1em;
    font-size: 24px;
}
section.contact input[type="text"],
section.contact input[type="text"]{
        width: 100%;
    height: 70px;
    border: solid 1px #717171;
    border-radius: 6px;
}
section.contact input[type="tel"]{
    width: 125px;
    height: 70px;
    border: solid 1px #717171;
    border-radius: 6px;
}
section.contact textarea {
    width: 100%;
    height: 280px;
    text-indent: 0;
    border: solid 1px #717171;
    border-radius: 6px;
}
section.contact textarea::placeholder {padding: 1em 0 0 1em;}

section.contact input[name="action_form_contactus_check"],
section.contact input[name="submit[confirm]"]{
    display: block;
    margin: 62px auto;
}
section.contact input[type="button"][name="submit[back]"],
section.contact input[type="submit"]{
    cursor: pointer;
}
section.contact input[type="submit"][name="submit[complete]"],
section.contact input[type="submit"][name="submit[thanks]"]{
    background-color: #2c68f6;
    color: #ffffff;
}

section.contact input[type="button"][name="submit[back]"],
section.contact input[type="submit"]{
    width: 224px;
    height: 68px;
    border: solid 1px #2c68f6;
    border-radius: 6px;
    background-color: #ffffff;
    font: normal 22px "HiraginoSans-W6";
    color: #2c68f6;
}
section.contact dl {
    margin: 0 auto;
    margin: 60px 0 0 0;
}
section.contact dl.confirm {
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
}
section.contact dl.confirm  dt,
section.contact dl.confirm  dd {
    min-height: 1em;
    margin: 0 0 10px 0;
    padding: 50px 0 10px 0;
    border-bottom: 1px solid #cfcfcf;
}
section.contact dl.confirm dt {
    width: 30%;
}
section.contact dl.confirm dd {
    width: 70%;
}
section.thanks {
    width: 100%;
    text-align: center;
    line-height: 33px;
    padding: 0 0 100px 0;
}
section.thanks img {
    width: unset;
    margin: 70px 0;
}
section.thanks h2 {
    font: bold 33px "Helvetica,sans-serif";
    letter-spacing: 3px;
}
section.contact .btn {
    text-align: center;
    margin: 62px auto;
}

@media(min-width:1px)and (max-width:750px) {
    section.contact h1 {
        margin: 7.2rem 0 2em 0;
    }
    ol.guide {
        padding: 7.2rem 0 0 0;
    }
    ol.guide li.active {
        height: 15px;
        min-width: 375px;
    }
    ol.guide.index li.active,
    ol.guide.input li.active{background: #fff url("../img/contact_guide_input_m.png") no-repeat center top;}
    ol.guide.check li.active,
    ol.guide.confirm li.active{background: #fff url("../img/contact_guide_confirm_m.png") no-repeat center top;}
    ol.guide.thanks li.active{background: #fff url("../img/contact_guide_thanks_m.png") no-repeat center top;}    

    section.contact dl.check,
    section.contact dl.confirm {
        display: block;
    }
    section.contact dl.check dt,
    section.contact dl.confirm dt {
        width: 100%;
        border: none;
    }
    section.contact dl.check dd,
    section.contact dl.confirm dd {
        width: 100%;
        padding: 0 0 10px 0;
    }
    
    section.contact input[type="submit"]{
        width: 164px;
        height: 50px;
        border: solid 1px #2c68f6;
        border-radius: 6px;
        background-color: #ffffff;
        font: normal 16px "HiraginoSans-W6";
        color: #2c68f6;
    }
    
}

