@charset "utf-8";

/* +++++++++++++++++++++++++++++++

 inquiry.css

+++++++++++++++++++++++++++++++ */

/*
見出し
-----------------------------------*/
.headline{
    position: relative;
    margin: 0;
    padding: 20px 0;
    background: #003f65;
    color: #fff;
    font-family: 'Cantarell', "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    font-size: 28px;
    font-weight: normal;
    text-align: center;
    z-index: 2;
}
.headline:after {
    position: absolute;
    bottom: -15px;
    left: calc(50% - 36.5px);
    display: block;
    width: 73px;
    height: 15px;
    background: url(../images/bg_headline01.png) no-repeat left top;
    content: " ";
}

.heading {
    margin: 30px 0;
    color: #003f65;
    font-size: 24px;
    text-align: center;
    line-height: 1.2;
}
.title01 {
    margin: 0 0 30px;
    padding: 10px 20px;
    background: #e6ecf0;
    color: #003f65;
    font-size: 20px;
}
h3 {
    margin: 30px 0;
    padding: 0 20px;
    color: #003f65;
    font-size: 18px;
}

@media screen and (max-width:640px){
    .heading {
        font-size: 20px;
    }
    .title01 {
        font-size: 16px;
    }
    h3 {
        font-size: 14px;
    }
}



/*
レイアウト
-----------------------------------*/
main .box {
    width: 980px;
    margin: 0 auto;
}

@media screen and (max-width:640px){
    body { padding-top: 0; }
    header.global { position: relative; }
    main .box { width: 100%; }
}

main .box p { margin: 0 20px 30px; }

main .box form:first-child { margin-top: 50px; }

em { font-style: normal; }
.txtright { text-align: right; }

/*
フロー
-----------------------------------*/
#flow {
    width: 980px;
    margin: 0 auto 30px;
    padding: 0;
    list-style: none;
}
#flow li {
    position: relative;
    float: left;
    width: 200px;
    padding: 10px 0 9px;
    background: #d3d3d3;
    color: #fff;
    text-align: center;
}
#flow .active { background: #003f65; }
#flow li:not(:last-child) { margin-right: 60px; }
#flow li:not(:last-child):after {
    position: absolute;
    top: 50%;
    right: -34px;
    margin-top: -8px;
    display: block;
    border-color: transparent transparent transparent #003f65;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    content: " ";
}

@media screen and (max-width:640px){
    #flow {
        display: table;
        width: 100%;
    }
    #flow li {
        float: none;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        display: table-cell;
        width: 25%;
        padding: 5px;
        font-size: 11px;
        vertical-align: middle;
    }
    #flow li:not(:last-child) {
        margin-right: 0;
        border-right: 1px solid #fff;
    }
    #flow li:not(:last-child):after {
        right: -4px;
        margin-top: -4px;
        border-width: 4px 0 4px 4px;
        z-index: 2;
    }
}

/*
テーブル
-----------------------------------*/
table {
    width: 100%;
    font-size: 14px;
}
th,
td {
    padding: 20px;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    line-height: 1.8;
}
th {
    width: 160px;
    color: #003f65;
    font-weight: bold;
    text-align: left;
    vertical-align: top;
}

.icon {
    width: 40px;
    vertical-align: top;
}
.icon span {
    display: block;
    width: 40px;
    padding: 2px 0;
    background: #f1832c;
    color: #fff;
    text-align: center;
}

td .item {
    float: left;
    width: 50%;
}
td .item:nth-child(odd) { clear: left; }
td .item:not(:nth-child(-n+2)) { margin-top: 30px; }
td .item label {
    float: none;
    display: block;
    font-weight: bold;
}
td .item  p { margin-bottom: 0; }
main .box td .error {
    margin: 0 0 10px;
    color: #df4439;
}

@media screen and (max-width:640px){
    tr,
    th,
    td {
        display: block;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
     tr { position: relative; }
    th {
        width: 100%;
            padding: 10px;
        border-bottom: none;
    }
    td {
        padding: 10px;
        border-top: none;
    }
    tr:not(:last-child) td { border-bottom: none; }
    .icon {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 0;
    }
    
    td .item {
        float: none;
        width: 100%;
    }
     td .item:nth-child(2) { margin-top: 30px; }
}

/*
パーツ
-----------------------------------*/
input[type=text] {
    width: 400px;
    padding: 3px 10px;
    border: 1px solid #d3d3d3;
}
textarea {
    width: 600px;
    padding: 3px 10px;
    border: 1px solid #d3d3d3;
}
input[type=checkbox],
input[type=radio] {
    margin-right: 5px;
}

input.button { border: none; }

label {
    float: left;
   clear: left;
   margin-top: 5px;
}
label.inline {
    float: none;
    display: inline-block;
    margin: 0 20px 10px 0;
}
label.inline + textarea { margin-top: 10px; }

@media screen and (max-width:640px){
    .box_button { margin: 20px 10px; }
    .box_button.multiple .button {
        width: 45%;
        margin: 0 5px;
    }
    input[type=text],
    textarea {
        display: block;
        width: 95%;
        margin: 0 auto;
        padding: 10px;
    }
    label {
        float: none;
        display: inline-block;
        margin-right: 20px;
    }
}

/*
問い合わせトップ
-----------------------------------*/
.block_items {
    position: relative;
    left: -10px;
    display: table;
    table-layout: fixed;
    width: 1020px;
    margin: 0 auto 20px;
    border-spacing: 20px;
}
.block_items .item {
    display: table-cell;
    width: 50%;
    padding: 20px;
    border: 1px solid #003f65;
}

.block_items .item h3 {
    margin: 0 0 30px;
    color: #003f65;
    text-align: center;
}

.block_items .item p { min-height: 60px; }
.block_items .item .button { width: 100%; }

.block_items .item div {
    margin-top: 10px;
    padding: 10px;
    background: #003f65;
    color: #fff;
    text-align: center;
}
@media screen and (max-width:640px){
    .block_items {
        display: block;
        width: 100%;
        left: 0;
    }
    .block_items .item {
        display: block;
        width: auto;
        margin: 0 10px 20px;
        padding: 10px;
    }
    .block_items .item h3 { font-size: 16px; }
    .block_items .item p { min-height: 10px; }
    .block_items .item div a { color: #fff ; }
}


/*
入力
-----------------------------------*/
.select_service {
    display: table;
    width: 974px;
    margin-bottom: 30px;
    border: 3px solid #f1832c
}
.select_service dt,
.select_service dd {
    display: table-cell;
    padding: 40px 20px;
}
.select_service dt {
    width: 200px;
    background: #fff5e6;
    font-weight: bold;
}
.select_service dd { font-size: 20px; }

@media screen and (max-width:640px){
    .select_service {
        display: block;
        width: auto;
        margin: 10px;
        border: 3px solid #f1832c
    }
    .select_service dt,
    .select_service dd {
        display: block;
        padding: 10px;
    }
    .select_service dt{ width: auto; }
    .select_service dd {
        margin: 0;
        font-size: 16px;
    }
}

/*
完了
-----------------------------------*/
.complete {
    margin: 50px 0;
    text-align: center;
    line-height: 1.7;
}
.complete dl {
    width: 300px;
    margin:  auto;
    padding: 10px 0;
    background: #003f65;
    color: #fff;
    text-align :center;
}
.complete dt {
    display: inline-block;
    font-size: 14px;

}
.complete dd {
    display: inline-block;
    margin: 0;
    font-weight: bold;
}


/*
フッター
-----------------------------------*/
#footer_profile {
    float: none;
    width: 1200px;
    margin: 50px auto 0;
    padding: 30px 0 20px;
    border-top: 1px solid #e9e9e9;
}
#footer_profile .logo { float: left; }
#footer_profile a { float: right; }
#footer_profile a { width: 50px; }


@media screen and (max-width:640px){
    #footer_profile{
        width: auto;
        padding: 10px;
    }
}