
@media screen and (max-width: 900px) {
    .sp {display: block}
    .pc {display: none !important}
    img, canvas, iframe, video, svg {
        max-width: 100%;
    }
    img {
        border-width: 0;
        box-sizing: border-box;
        vertical-align: bottom;
    }
    #contents {
        width: auto;
        margin: 0 auto;
        padding: 0 10px;
    }
    #entry-top {
        display: none;
    }
    .middle {
        width: auto;
    }
    .middle #fd {
        padding: 20px 10px;
        background-color: #ececec;
        text-align: center;
        font-weight: 700;
    }
    .middle #fd .fd-button {
        height: 80px;
        margin-top: 8px;
        background-color: #214b9f;
        border: 1px solid #395ca1;
        -webkit-box-shadow: 0 5px 0 #092d75;
        -moz-box-shadow: 0 5px 0 #092d75;
        box-shadow: 0 5px 0 #092d75;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        border-radius: 5px;
        color: #00a51b;
        background-size: 100% auto;
        background-size: 280px 80px;
    }
    .middle .next {
        text-align: center;
        font-weight: 400;
        margin: 0 0 10px;
        line-height: 2;
    }
    .middle #fd .fd-text {
        display: inline-block;
        margin: auto;
        background: url(../img/custom-img/tel-icon.png) no-repeat;
        background-size: 13px 17px;
        padding-left: 3px;
        font-size: 129%;
        line-height: 1;
        color: #0845a6;
    }
    .middle #fd .tel-icon {
        display: inline-block;
        position: relative;
        top: -2px;
        width: 10px;
        height: 14px;
        margin-right: 5px;
        vertical-align: middle;
    }
    .middle #fd .fd-button-number {
        height: 52px;
        width: 255px;
        margin: auto;
        margin-top: 13px;
        text-indent: -9999px;
        background: url(../img/custom-img/tel-btn-text.png) 0 0 no-repeat;
        background-size: 255px 52px;
    }
    .middle #fd .fd-text2 {
        margin: 12px 0 0;
        font-size: 129%;
        color: #0845a6;
    }
    .middle #fd .time-icon {
        display: inline-block;
        position: relative;
        top: -2px;
        width: 18px;
        height: 18px;
        margin-right: 5px;
        background: url(../img/custom-img/time-icon.png) 0 0 no-repeat;
        background-size: 18px 18px;
        vertical-align: middle;
    }
    input[type=text], input[type=url], input[type=password], input[type=email], input[type=search], input[type=tel], textarea {
        background-color: #f9f9f9;
        background-image: none;
        border: 1px solid #eee;
        border-radius: 4px;
        font-size: 16px;
        line-height: 1.42857;
        padding: 6px 12px;
        transition: border-color .15s ease-in-out 0s,box-shadow .15s ease-in-out 0s;
        width: 100%;
        box-sizing: border-box;
    }

    .form input, .form textarea {
        border: 1px solid #ccc;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        border-radius: 3px;
        padding: 4px;
    }

    .main {
        width: auto;
        box-sizing: border-box;
        padding: 10px 0;
    }
    .form input, .form textarea {
        border: 1px solid #ccc;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        border-radius: 3px;
        padding: 4px;
    }

    .main .form th, .main .form td, .main .form .is-input-text, .main .form textarea, .main .form #efo, .main .form .submit {
        width: 100%;
        box-sizing: border-box;
    }
    .form .submit {
        text-align: center;
    }
    dd {
        margin-bottom: 5px;
    }
    .main .form th, .main .form td {
        padding: 10px;
    }
    .main .form th, .main .form td {
        display: block;
        box-sizing: border-box;
    }
    .main .form th, .main .form td {
        padding: 10px;
    }

    .main .name dt {
        height: 30px;
        line-height: 30px;
        float: left;
        font-size: 12px;
        color: #000;
        margin-right: 1em;
        vertical-align: top;
        white-space: nowrap;
    }
    .main .name dd {
        height: 35px;
        line-height: 35px;
        /*vertical-align: top;
        overflow: hidden;*/
        margin-left: 40px;
    }

    .main label {
        margin-right: 0;
    }
    .main .ssl p {
        margin-left: 10%;
    }
}
@media screen and (max-width: 480px) {
    .main .ssl p {
        height: 60px;
        margin: 4px 10px 0 0;
    }
}
@media screen and (max-width:768px) {    
    .main .form .submit{
        margin: 20px 0;
    }
    input[type=radio]{
    	border-radius: 100% !important;
    }
    .main .form table tbody tr > td.price > label{
    	margin-right: 5px;
    }
}