@charset 'utf-8';

/* ------------------------------
 お見積もり・お問い合わせ
------------------------------ */


/* 汎用 */

.mt10 {
    margin-top: 10px;
}

.mt40 {
    margin-top: 40px;
}

.mt50 {
    margin-top: 50px;
}

.mt110 {
    margin-top: 110px;
}

.flex {
    display: flex;
    justify-content: space-between;
}


/* ヘッダ */

header {
    border-bottom: 1px solid #ddd;
}

#header .box {
    margin: 0;
}

#hd_nav {
    width: 220px;
    margin-left: auto;
}


/* フッタ */

footer {
    margin-top: 0;
}

#copyright {
    margin-top: 0;
}


/* コンテナ */

.container {
    padding: 34px 0 140px;
    background-color: #f7f7f7;
}

.box {
    width: 960px;
    margin: 0 auto;
}

.contact_section {
    position: relative;
    padding: 40px 40px 45px;
    background-color: #fff;
    border-top: 5px solid #0098e6;
}

.contact_section:not(:last-child)::after {
    position: absolute;
    bottom: -80px;
    left: 50%;
    width: 0;
    height: 0;
    margin-right: auto;
    margin-left: auto;
    margin-left: -70px;
    border-top: 40px solid #cecece;
    border-right: 70px solid transparent;
    border-left: 70px solid transparent;
    content: '';
}


/* フロー */

.flow {
    width: 600px;
    overflow: hidden;
    border-radius: 4px;
}

.flow li {
    position: relative;
    float: left;
    color: #999;
    font-weight: bold;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    text-indent: -0.5em;
    list-style-position: inside;
    list-style-type: decimal;
}

#flow_2_1 li,
#flow_2_2 li {
    width: 50%;
}


/* 最後以外のフロー */

#flow_2_1 li:nth-child(1)::before,
#flow_2_2 li:nth-child(1)::before {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    content: '';
}


/* 現在のフロー */

#flow_2_1 li:nth-child(1),
#flow_2_2 li:nth-child(2) {
    color: #fff;
    background-color: #04679a;
}

#flow_2_1 li:nth-child(1)::before {
    border-top: 25px solid #efefef;
    border-bottom: 25px solid #efefef;
    border-left: 25px solid #04679a;
}


/* 通る前のフローA */

#flow_2_1 li:nth-child(2) {
    color: #999;
    background-color: #efefef;
}


/* 通ったフロー */

#flow_2_2 li:nth-child(1) {
    color: #fff;
    background-color: #c6c6c6;
}

#flow_2_2 li:nth-child(1)::before {
    border-top: 25px solid #04679a;
    border-bottom: 25px solid #04679a;
    border-left: 25px solid #c6c6c6;
}


/* SSL */

.ssl {
    width: 310px;
}

.ssl div {
    width: 86px;
    margin-right: 10px;
}

.ssl div img {
    width: 86px;
    height: auto;
}

.ssl p {
    flex: 1;
    color: #555;
    font-size: 10px;
    line-height: 1.4;
}


/* 見出し */

.tm_box {
    display: flex;
    align-items: center;
    padding-bottom: 4px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAMAAAB1GNVPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhQTFRF5OTk6Ojo6+vr9fX10tLS3d3dy8vL////ji/7fgAAACNJREFUeNpiYGdiYgcCBkY2NgYQzcrGxgqimVlYmIE0QIABAAlaAJitFlqlAAAAAElFTkSuQmCC) repeat-x left bottom;
}

.tm {
    margin-right: 40px;
    padding: 10px 10px 10px 45px;
    color: #333;
    font-weight: bold;
    font-size: 28px;
    line-height: 1;
}

.tm_1 {
    background: url(../img/contact/tm_ico_1.png) no-repeat 6px 2px;
}

.tm_2 {
    background: url(../img/contact/tm_ico_2.png) no-repeat 7px 2px;
}

.tm_txt {
    color: #333;
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
}


/* フォーム部品 */

.form {
    width: 100%;
    margin-top: 36px;
    border-collapse: collapse;
}

.form th,
.form td {
    font-size: 18px;
    line-height: 1.2;
    border: 1px solid #a5a5a5;
}

.form th {
    width: 200px;
    padding: 20px 15px 20px 20px;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    background-color: #c1eaff;
}

.form tr:nth-child(even) th {
    background-color: #d9f2ff;
}

.form td {
    padding: 20px;
    background-color: #fff;
}

.notice {
    color: #d20000;
}

.marker {
    background-color: #fffcc6;
}

.important,
.optional {
    display: inline-block;
    margin: 0 5px;
    padding: 0 5px;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    vertical-align: bottom;
    border-radius: 3px;
}

.important {
    background-color: #d20000;
}

.optional {
    background-color: #a3a3a3;
}

.contact_ex {
    margin-left: 1em;
    color: #888;
    font-size: 12px;
    line-height: 20px;
    text-indent: -1em;
}

.flex_2 {
    display: flex;
    align-items: center;
}


/* フォーム部品 */

.text,
.textarea,
.select {
    box-sizing: border-box;
    width: 400px;
    margin-right: 10px;
    padding: 10px;
    color: #000;
    font-size: 18px;
    line-height: 20px;
    background-color: #ebf8ff;
    border: 1px solid #cdcdcd;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select::-ms-expand {
    display: none;
}

.check_txt {
    color: #888;
    font-size: 12px;
    line-height: 1.2;
}

.check {
    display: flex;
    flex-wrap: wrap;
    width: 600px;
}

.check li {
    margin: 10px 0;
}

.check_1 {
    flex-basis: 200px;
}

.check input[type='radio'],
.check input[type='checkbox'] {
    display: inline-block;
    margin-right: 6px;
}

.check input[type='radio']+label,
.check input[type='checkbox']+label {
    position: relative;
    display: inline-block;
    font-size: 18px;
    line-height: 20px;
    cursor: pointer;
}

@media (min-width: 1px) {
    .check input[type='radio'],
    .check input[type='checkbox'] {
        display: none;
        margin: 0;
    }
    .check input[type='radio']+label,
    .check input[type='checkbox']+label {
        padding-left: 30px;
    }
    .check input[type='radio']+label::before,
    .check input[type='checkbox']+label::before {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 24px;
        height: 24px;
        margin-top: -12px;
        background: #cdcdcd;
        content: '';
    }
    .check input[type='radio']+label::before,
    .check input[type='checkbox']+label::before {
        border: 2px solid #cdcdcd;
        border-radius: 5px;
    }
    .check input[type='radio']:checked+label::after,
    .check input[type='checkbox']:checked+label::after {
        position: absolute;
        top: 50%;
        display: block;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        content: '';
    }
    .check input[type='radio']:checked+label::before,
    .check input[type='checkbox']:checked+label::before {
        background-color: #04679a;
        border: 2px solid #04679a;
    }
    .check input[type='radio']:checked+label::after {
        left: 10px;
        width: 16px;
        height: 16px;
        margin-top: -8px;
        background: #fff;
        border-radius: 16px;
    }
    .check input[type='checkbox']:checked+label::after {
        left: 5px;
        width: 15px;
        height: 10px;
        margin-top: -7px;
        border-bottom: 3px solid #fff;
        border-left: 3px solid #fff;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}

.select {
    height: 40px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAMBAMAAACZySCyAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAeUExURQAAAEBAQD8/Pz8/P0FBQUFBQUBAQDw8PEVFRUFBQddoJSAAAAAJdFJOUwDpVBSnq6kVFu2DwOoAAABCSURBVAjXY/CcCQZTGAwhDGEGJghDgYEBLDeNgQEiJwxkMEFlGBgyZ86cCqJBcsJgBhNUhoEhEiLDwFAoAWUwgWQAo64bCrAxisoAAAAASUVORK5CYII=) no-repeat right 15px center;
}

.select_small {
    width: 150px;
}

.select_small:not(:last-of-type) {
    margin-right: 0;
}

.textarea {
    width: 100%;
    height: 200px;
    margin-top: 10px;
}

:placeholder-shown {
    color: #888;
    font-size: 18px;
}


/* Google Chrome, Safari, Opera 15+, Android, iOS */

::-webkit-input-placeholder {
    color: #888;
    font-size: 18px;
}


/* Firefox 18- */

:-moz-placeholder {
    color: #888;
    font-size: 18px;
}


/* Firefox 19+ */

::-moz-placeholder {
    color: #888;
    font-size: 18px;
}


/* IE 10+ */

:-ms-input-placeholder {
    color: #888;
    font-size: 18px;
}

#aefo {
    height: auto !important;
    margin-top: 0 !important;
}

#aefo_mes {
    margin: 0 !important;
    padding: 10px !important;
    font-size: 16px !important;
}

.focus_balloon::after,
.error_balloon::after {
    left: 20px !important;
    border-width: 6px !important;
}


/* ボタンセット */

.form_btn {
    padding-bottom: 6px;
}

.form_btn a,
.form_btn input {
    width: 435px;
    margin: 0 auto;
    padding: 15px 0;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    background-color: #616161;
    border: none;
    border-radius: 8px;
    box-shadow: 0 6px 0 rgba(56, 56, 56, 1);
    cursor: pointer;
}

.form_btn_input input,
.form_btn_input a {
    background: url(../img/contact/form_btn_input.png) no-repeat right 27px center, linear-gradient(#f88f49 50%, #f6731b 50%);
    background: url(../img/contact/form_btn_input.png) no-repeat right 27px center, -webkit-linear-gradient(#f88f49 50%, #f6731b 50%);
    box-shadow: 0 6px 0 #c85a10;
}

.form_btn_input a {
    display: inline-block;
}

.form_btn_input input:hover,
.form_btn_input a:hover {
    position: relative;
    top: 2px;
    box-shadow: 0 4px 0 #c85a10;
}


/* 完了文言 */

#thanks_txt {
    padding: 20px;
    color: #215176;
    font-weight: bold;
    font-size: 23px;
    line-height: 40px;
    text-align: center;
    background-color: #eff8ff;
    border-top: 2px solid #d9e2e9;
    border-bottom: 2px solid #d9e2e9;
}


/* エラー文言 */

.js_error_message {
    left: 50% !important;
    width: 300px !important;
    max-height: none !important;
    margin-left: -150px !important;
    padding: 10px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
}

.js_error_message {
    display: block !important;
    text-align: center !important;
}


/* 注釈 */

.lead {
    color: #363636;
    font-size: 18px;
    line-height: 1.2;
}


/* 備考欄開閉 */

.toggle_link {
    color: #2201e9;
    font-size: 15px;
    line-height: 1.5;
}


/* laravelバリデーション用エラーメッセージcss */

.error {
    text-align: center;
}

.error_message {
    background: #fcecec;
    border: solid 1px #da0000;
    color: #da0000;
    padding: 10px;
    display: inline-block;
    text-align: left;
    font-size: 21px;
}


/*
--------------------------------------------------------------------------------
 END OF CSS
--------------------------------------------------------------------------------
*/