/* ----- 主要ブラウザサイズ ----- */
.container.main {
    margin: 0px auto;
    max-width: 900px;
}

.title {
    margin: 0px 0px 20px;
    text-align:center;
    font-size: 24pt;
}
.subtitle {
    margin: 0px 0px 10px;
    text-align:center;
    font-size: 18pt;
}
.discription {
    margin: 0px auto 15px;
    padding: 0px 15px;
    max-width: 800px;
    text-align:left;
}
.intern {
    margin: 0px 0px 10px;
    text-align:center;
    font-size: 20pt;
}
.interndiscription {
    margin: 0px auto 30px;
    padding: 0px 0px 30px;
    max-width: 700px;
    text-align: left;
}
.strong{color: #c00000;}
.bold{font-weight: bold;}

/* 問い合わせフロー部分 */
.flow {
    margin: 0px 0px 20px;
    padding: 0px 30px;
    text-align:center;
}
.flow .now {
    display: inline-block;
    position: relative;
    margin: 5px 10px;
    padding: 8px 10px;
    width: 225px;
    background: #31859b;
    border: 3px solid #31859b;
    border-radius: 3px;
    vertical-align:middle;
    color:white;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
}
.flow .other {
    display: inline-block;
    position: relative;
    margin: 5px 10px;
    padding: 8px 10px;
    width: 225px;
    background: #a5a5a5;
    border: 3px solid #a5a5a5;
    border-radius: 3px;
    vertical-align:middle;
    color:white;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
}
.flow .p1{margin: 0;}
.flow .one:after, .flow .ones:after, .flow .twos:after  {
    display: inline-block;
    position: absolute;
    top: 15px;
    right: -30px;
    border-top: 5px solid transparent;
    border-left: 8px solid #a5a5a5;
    border-right: 0 solid transparent;
    border-bottom: 5px solid transparent;
    content: "";
}
.flow .two, .flow .twos, .flow .threes{margin-left: 32px;}
.flow .ones, .flow .twos, .flow .threes{width: 150px;}

/* フォーム部分 */
label{margin:0;}
label.check {font-weight: normal;}
.focus {background: #ffffe0;}
input[type=text], input[type=url], input[type=email], input[type=tel], textarea{
    padding: 100px auto;
    width: 98%;
    border: 1px solid #ccc;
}
.hasDatepicker{
    padding: 100px auto;
    width: 150px;
    height: 35px;
    border: 1px solid #ccc;
}
textarea {
    height: 80px;
    resize: vertical;
}

/* 完了画面 */
.complete.text{
    margin: 20px auto;
    padding: 0px 50px 20px;
    text-align:left;
}
.complete.button{
    margin: 40px auto;
    text-align:center;
}

.submitbtn, a.backbtn {
    -webkit-appearance: none;
    display: inline-block;
    position: relative;
    margin: 0 auto;
    padding: 10px;
    width: 250px;
    border: 3px solid #e36c09;
    border-radius: 3px;
    background: #e36c09;
    color:white;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
}
.submitbtn:hover, .submitbtn:focus, a.backbtn:hover, a.backbtn:focus {
    -webkit-appearance: none;
    border: 3px solid #e57a21;
    background: #e57a21;
}
.backToFormBtn {
    -webkit-appearance: none;
    display: inline-block;
    position: relative;
    margin: 0 auto;
    padding: 10px;
    width: 250px;
    border: 3px solid gray;
    border-radius: 3px;
    background: gray;
    color:white;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
}
.backToFormBtn:hover, .backToFormBtn:focus {
    -webkit-appearance: none;
    border: 3px solid #a5a5a5;
    background: #a5a5a5;
}
.backToTopBtn {
    -webkit-appearance: none;
    display: inline-block;
    position: relative;
    margin: 0 auto;
    padding: 10px;
    width: 250px;
    border: 3px solid #31859b;
    border-radius: 3px;
    background: #31859b;
    color:white !important;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
}
.backToTopBtn:hover, .backToTopBtn:focus {
    -webkit-appearance: none;
    border: 3px solid #3da9c4;
    background: #3da9c4;
}
#sendingComplete p {
    margin: 5px 0;
}
input[type=submit]{cursor: pointer;}

/* Validate用 */
input[type=text].error, input[type=url].error, input[type=email].error, input[type=tel].error, input[name=policy].error, textarea.error, .hasDatepicker.error {border: 2px solid #da0000;}
label.error, #checkboxerr, #policyerr, .err{
    color: #da0000;
    font-weight: bold;
}

/* ----- スマートフォンサイズ ----- */
@media screen and (max-width : 655px) {
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }
    html, body{width: 100%;}
    .container.main {
        margin: 0px auto;
        width:100%;
    }
    .title {font-size: 16pt;}
    .subtitle {font-size: 15px;}
    /* 問い合わせフロー部分 */
    .flow{padding:0;}
    .flow .now, .flow .other {
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        -o-box-sizing: content-box;
        -ms-box-sizing: content-box;
        box-sizing: content-box;
    }
    .flow .one, .flow .two{
        width: 105px;
        height: 35px;
        font-size: 15px;
    }
    .flow .ones, .flow .twos, .flow .threes{
        width: 50px;
        height: 35px;
        font-size: 13px;
    }
    .flow .two, .flow .twos, .flow .threes {margin: 8px 10px;}
    .flow .p1{margin-top: 0.6em;}
    .flow .one:after, .flow .ones:after, .flow .twos:after {
        top: 20px;
        right: -20px;
    }
    .br1:before {
        content: "\A";
        white-space: pre;
    }

    /* フォーム部分 */
    input[type=text], input[type=url], input[type=email], input[type=tel], textarea{width: 98%;}
    .policyContent {margin: 8px;}
    #confirmBack, #confirmbtn{width: 125px;}

    /* 完了画面 */
    .complete.text{
        margin: 40px 10px 25px;
        padding: 0;
        text-align:left;
    }
}
