body {
    overflow: auto;
}

/* FAサイト CSS オーバライド */
#global_footer {
    margin-top: 1px !important;
    margin-left: -22px !important;
    padding-top: 4px !important;
}

#module_titleArea #stitle {
    float: none !important;
}

/* h1のテンプレートスタイルのフォントサイズ調整用スタイル */
.h1FontSizeTune {
    font-size: 30px !important;
}

/* ツール本体 選定画面 スタイル */
#mainSummary {
    margin: 5px 0 5px 20px !important;
}

#wrap a {
    font-size: 15px;
}

#input a {
    font-size: 13px !important;
    text-decoration: underline;
}

    #input a:visited {
        text-decoration: underline;
    }

#candidate a {
    font-size: 13px !important;
    text-decoration: underline;
}

#datatable a {
    font-size: 13px !important;
    text-decoration: underline;
}

#comment p {
    font-size: 12px !important;
}

#wrap ul {
    list-style-type: disc;
    padding: 5px 0px 10px 15px;
    font-size: 12px !important;
}

#wrap hr {
    height: 1px;
    background-color: #ff0000;
    border-top: 1px dotted #fff;
}

#wrap hr {
    margin-top: 1em;
}

#wrap h2 {
    margin: 0 0 10px 0 !important;
    background-color: #fff !important;
}

#wrap select {
    font-size: 12px;
    color: #000;
    width: 100%;
    height: 35px;
    background: #fafafa;
    border: 1px solid;
    border-radius: 3px;
    cursor: pointer;
    box-sizing: border-box;
}

#wrap input {
    font-size: 13px;
    font-weight: normal;
    width: 100%;
    height: 35px;
    background: right 50% no-repeat, linear-gradient(to bottom, #b4c7db 0%, #b4c7db 50%);
    color: #333;
    box-sizing: border-box;
    border: 1px solid #6c819c;
    border-left: 5px solid #6c819c;
    border-right: 5px solid #6c819c;
    border-radius: 5px;
    cursor: pointer;
}

img.info {
    margin: 3px 0 -3px 0;
}

img.arrowImg {
    margin: 3px 0 -3px 0;
}

#Relation-document {
    font-size: 12px;
    background: #f2f2f2;
    padding: 5px;
    margin: 5px 0px 5px 2px;
    width: 477px;
    height: 35px;
}

#wrap table {
    border-spacing: 2px; /* 新テンプレートのborder-spacingのプロパティを打ち消すために定義*/
    border-collapse: separate; /* 新テンプレートのcollapseのプロパティを打ち消すために定義*/
    display: block;
}

#wrap table,
sub {
    padding: 0px;
    margin: 0px auto;
}

#wrap thead {
    display: block;
}

#wrap tbody {
    display: block;
    overflow-y: auto;
    height: 345px;
}

#wrap th {
    vertical-align: middle; /* 新テンプレートのmiddleのプロパティを打ち消すために定義*/
    box-sizing: content-box; /* 新テンプレートのbox-sizingのプロパティを打ち消すために定義*/
    margin: 0px;
    padding: 0px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background-color: rgba(241, 241, 241, 1);
}

    #wrap th.sub {
        font-size: 12px;
        text-align: center;
        line-height: 1.1em;
        color: #fff;
        margin: 0px;
        height: 28px;
        padding: 5px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 1px solid #999;
        border-radius: 3px;
        background-color: #666 !important;
    }

#wrap td {
    vertical-align: middle; /* 新テンプレートのmiddleのプロパティを打ち消すために定義*/
    box-sizing: content-box; /* 新テンプレートのbox-sizingのプロパティを打ち消すために定義*/
    font-size: 12px;
    text-align: center;
    color: #000;
    margin: 0px;
    height: 28px;
    padding: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #999;
    border-radius: 3px;
    background-size: 20px, 100%;
    background: none;
}

#wrap tr {
    vertical-align: middle; /* 新テンプレートのmiddleのプロパティを打ち消すために定義*/
    box-sizing: content-box; /* 新テンプレートのbox-sizingのプロパティを打ち消すために定義*/
    font-size: 12px;
    text-align: center;
    color: #000;
    border-radius: 5px;
    margin: 0px;
    height: 28px;
    padding: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #999;
    background-size: 20px, 100%;
    background: right 50% no-repeat, linear-gradient(to bottom, #fff 0%, #fff 50%);
}

#wrap thead td {
    background: right 50% no-repeat, linear-gradient(to bottom, #c5bebe 0%, #d5d0d0 50%);
}

.no {
    width: 20px;
}

.unit1 {
    width: 190px;
}

.unit2 {
    width: 150px;
}

.type_name {
    width: 130px;
}

.type_name2 {
    width: 130px;
}

.quantity {
    width: 50px;
}

.quantity2 {
    width: 40px;
}

.more_detail {
    width: 40px;
}

.empty {
    width: 42px;
}

.arrow {
    width: 30px;
}

.candidate {
    width: 150px;
}

.choice {
    width: 80px;
}

.space {
    width: 30px;
}

/*#input tr.odd {*/
/*奇数行*/
/*background: right 50% no-repeat, linear-gradient(to bottom, #c5bebe 0%, #d5d0d0 50%);
}*/

/*#input tr.even {*/
    /*偶数行*/
    /*background: right 50% no-repeat, linear-gradient(to bottom, #979393 0%, #a9a6a6 50%);
}

#reslts tr.odd {*/
    /*奇数行*/
    /*background: right 50% no-repeat, linear-gradient(to bottom, #c5bebe 0%, #d5d0d0 50%);
}

#reslts tr.even {*/
    /*偶数行*/
    /*background: right 50% no-repeat, linear-gradient(to bottom, #979393 0%, #a9a6a6 50%);
}

#candidate tr.odd {*/
    /*奇数行*/
    /*background: right 50% no-repeat, linear-gradient(to bottom, #c5bebe 0%, #d5d0d0 50%);
}

#candidate tr.even {*/
    /*偶数行*/
    /*background: right 50% no-repeat, linear-gradient(to bottom, #979393 0%, #a9a6a6 50%);
}*/


#input tr.odd > td {
    background: linear-gradient(to bottom, #c5bebe 0%, #d5d0d0 50%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#input tr.even > td {
    /*偶数行*/
    background: linear-gradient(to bottom, #979393 0%, #a9a6a6 50%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#reslts tr.odd > td {
    /*奇数行*/
    background: linear-gradient(to bottom, #c5bebe 0%, #d5d0d0 50%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#reslts tr.even > td {
    /*偶数行*/
    background: linear-gradient(to bottom, #979393 0%, #a9a6a6 50%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#candidate tr.odd > td {
    /*奇数行*/
    background: linear-gradient(to bottom, #c5bebe 0%, #d5d0d0 50%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#candidate tr.even > td {
    /*偶数行*/
    background: linear-gradient(to bottom, #979393 0%, #a9a6a6 50%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#popup {
    z-index: 6001;
    border: 3px solid #5a5150;
    background-color: #fafafa !important;
    border-radius: 0.5em;
    margin: 0;
    padding: 1em;
    position: absolute; /* 絶対位置を設定 */
    top: 50%; /* 縦方向の中央 */
    left: 50%; /* 横方向の中央 */
    transform: translate(-50%, -50%); /* 要素の中心を基準に移動 */
}

    #popup tbody {
        height: 150px;
    }

#closePopupBtn {
    margin: 10px 0px 0px 85px;
    padding: 10px 25px 0px 25px;
    font-size: 13px;
    font-weight: normal;
    color: #000;
    width: 40px;
    height: 25px;
    background: right 50% no-repeat, linear-gradient(to bottom, #b4c7db 0%, #b4c7db 50%);
    border: 1px solid #6c819c;
    border-left: 5px solid #6c819c;
    border-right: 5px solid #6c819c;
    border-radius: 5px;
    cursor: pointer;
}

#comment {
    z-index: 6001;
    width: 910px;
    height: 445px;
    border: 3px solid #5a5150;
    background-color: #fafafa !important;
    border-radius: 0.5em;
    padding: 1em;
    position: absolute; /* 絶対位置を設定 */
    top: 50%; /* 縦方向の中央 */
    left: 50%; /* 横方向の中央 */
    transform: translate(-50%, -50%); /* 要素の中心を基準に移動 */
}

#commentText {
    margin: 0 auto;
    padding: 1em;
    font-size: 13px !important;
    width: 97%;
    height: 350px;
    background-color: #eee;
    overflow-y: auto;
}

    #commentText span.red {
        font-size: 14px;
        color: red;
    }

#closeCommentBtn {
    position: absolute; /* 絶対位置を設定 */
    left: 50%; /* 左から50%の位置 */
    transform: translateX(-50%); /* 要素の中心を基準に移動 */
    width: 180px;
    height: 27px;
    margin: 4.5px 0px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: normal;
    color: #000;
    background: right 50% no-repeat, linear-gradient(to bottom, #b4c7db 0%, #b4c7db 50%);
    color: #333;
    border: 1px solid #6c819c;
    border-left: 5px solid #6c819c;
    border-right: 5px solid #6c819c;
    border-radius: 5px;
    cursor: pointer;
}

#arrow {
    margin: 0.5em;
    padding: 0;
    position: relative;
    top: 160px;
    left: 0;
}

#clear {
    margin: -42px 0px 5px 638px;
    padding: 3px;
    width: 130px;
}

#list {
    margin: -46px 19px 5px 779px;
    padding: 3px;
    width: 130px;
}

#wrap section {
}

.button {
    background-color: #333;
    color: #fff;
}

    .button:hover {
        background-color: #59b1eb;
    }

.item {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* テキストを中央に寄せる */
    background: #f2f2f2;
    padding: 10px 10px 10px 10px;
    border: 2px solid #6d6261;
    border-radius: 10px;
    height: 489px;
    width: 960px;
}

@-moz-document url-prefix() {
    .item {
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
        text-align: center; /* テキストを中央に寄せる */
        background: #f2f2f2;
        padding: 10px 5px 7px 5px;
        border: 2px solid #6d6261;
        border-radius: 10px;
        height: 489px;
        width: 940px;
    }
}

#modalWindow {
    border: 1px solid #000000;
    background-color: rgba(0, 0, 0, 0.55) !important;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 126%;
    z-index: 6000;
}

/* 購入リスト */
#datatable {
    z-index: 6001;
    position: absolute; /* 絶対位置を設定 */
    top: 50%; /* 縦方向の中央 */
    left: 50%; /* 横方向の中央 */
    transform: translate(-50%, -50%); /* 要素の中心を基準に移動 */
    width: 960px;
    height: 493px;
    border: 3px solid #5a5150;
    background-color: #fafafa !important;
    border-radius: 0.5em;
    padding: 1em;
}

    #datatable #closeDatatableBtn {
        position: relative;
        left: 50%; /* 横方向の中央 */
        transform: translate(-50%, 0%); /* 中心に移動 */
        margin-top: 3.6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: normal;
        color: #000;
        width: 180px;
        height: 27px;
        background: right 50% no-repeat, linear-gradient(to bottom, #b4c7db 0%, #b4c7db 50%);
        border: 1px solid #6c819c;
        border-left: 5px solid #6c819c;
        border-right: 5px solid #6c819c;
        border-radius: 5px;
        cursor: pointer;
    }

    #datatable .print {
        background: #b4c7db;
        padding: 3px 0px 13px 0px;
        margin: -38px 10px 20px 5px;
        border: 2px solid #6c819c;
        border-radius: 5px;
        width: 115px;
        height: 40px;
    }

    #datatable .clips {
        background: #b4c7db;
        padding: 3px 0px 13px 0px;
        margin: -38px 20px 20px 0px;
        border: 2px solid #6c819c;
        border-radius: 5px;
        width: 220px;
        height: 40px;
    }

.flexbox {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

#datatable .printText {
    margin: -60px 0px 0px 0px;
    font-size: 13px;
}

#datatable a.printText:link {
    background: none;
    padding: 10px 15px 6px 70px;
    color: #333;
    text-decoration: none;
}

#datatable a.printText:visited {
    color: #333;
    text-decoration: none;
}

#datatable .ClipText {
    margin: -50px 0px -45px 0px;
    font-size: 13px;
}

#datatable a.clipText:link {
    background: none;
    padding: 10px 0px 9px 55px;
    color: #333;
    text-decoration: none;
}

#datatable a.clipText:visited {
    color: #555;
    text-decoration: none;
}

#datatable .closeText {
    margin: -51px 0px -45px 40px;
    width: 85px;
}

#datatable a.closeText:link {
    text-decoration: underline;
    color: #555;
    font-weight: bold;
}

#datatable a.closeText:visited {
    text-decoration: underline;
    color: #555;
    font-weight: bold;
}

/* 購入リスト テーブル スタイル */
#ConfigList {
    border: 1px solid #fff !important;
    padding: 0px !important;
    margin: 10px 0 0 0 !important;
}

    #ConfigList #ConfigListBody {
        height: 280px;
    }

        #ConfigList #ConfigListBody tr {
            background-color: #fff;
        }

    #ConfigList #ConfigListHead th {
        font-size: 11px;
        text-align: center;
        line-height: 1.1em;
        color: #fff;
        border-radius: 0;
        margin: 0px;
        height: 28px;
        padding: 5px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 1px solid #999;
        background-color: #666;
    }

    #ConfigList #ConfigListBody td {
        font-size: 11px;
        text-align: center;
        color: #000;
        border-radius: 0;
        margin: 0px;
        height: 100%;
        padding: 5px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 1px solid #ccc;
        background-color: #eee;
    }

    #ConfigList .col-0 {
        width: 25px;
    }

    #ConfigList .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5 {
        width: 85px;
    }

    #ConfigList .col-6 {
        width: 30px;
    }

    #ConfigList .col-7 {
        width: 85px;
    }

    #ConfigList .col-8 {
        width: 215px !important;
    }

    #ConfigList #ConfigListBody .col-8 {
        display: block !important;
        text-align: left !important;
        white-space: normal;
        word-wrap: break-word;
        min-height: 35px !important;
    }

@-moz-document url-prefix() {
    #ConfigList #ConfigListBody .col-8 {
        height: auto !important;
    }
}

#ConfigListBody tr:last-child td {
    color: #fff !important;
    background-color: #888 !important;
}

#ConfigListBody tr.odd td {
    background-color: #fbfbfb !important;
}

#ConfigListBody tr.even td {
    background-color: #e8e8e8 !important;
}

/* ドキュメントリンク用 */
#Relation-document {
    font-size: 12px;
    background: #f2f2f2;
    padding: 5px;
    margin: 5px 0px 5px 2px;
    width: 477px;
    height: 35px;
}

#melfa_main_area h2 span {
    display: block;
    padding: 5px 0 3px 20px;
    background: url(../images/h_type2_col1_top.gif) 0 0 no-repeat;
}

#melfa_main_area h2 {
    margin: 30px 0 0 0;
    padding: 0 0 2px 0;
    font-size: 90%;
    font-weight: bold;
    background: url(../images/h_type2_col1_bottom.gif) 0 100% no-repeat;
}

#PrintDocLinkArea {
}
