
/* 画面共通部分 */

html {
    height: 100%;
}

body {
    height: 100%;
    width: 100%;
}

.wrapper {
    position: relative;
    top: 0px;
    height: 100%;
    overflow-x: auto;
}

.clearfix {
    display: block;
}

p {
    clear: none;
}

a {
    text-decoration: none;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

.containerInner {
    width: 1070px;
    margin: 0 auto;
}

h1 {
    font-size: 16px;
}

ul {
    padding: 0;
}

li {
    list-style-type: none;
}

.position {
    position: relative;
}

.underline {
    text-decoration: underline;
}

.inline > p {
    display: inline-block;
}

.txt_c {
    text-align: center;
}

.txt_r {
    text-align: right;
}

.txt_l {
    text-align: left;
}

.left_box {
    float: left;
}

.right_box {
    float: right;
}

label {
    font-size: 15px;
    margin: 5px 0 0 0;
}

.sub_title {
    background: #0b3992;
    color: #fff;
    padding: 3px 15px;
    text-align: center;
    width:180px;
}

select {
    display: inline-block;
    height: 25px;
}


/* header */
header {
    border-bottom: 5px solid #af0379;
    margin: 10px auto;
}

header > p.logout {
    color: #af0379;
    font-weight: bold;
    margin-top: 10px;
}

header > div > .logo_img {
    display: inline-block;
}

header > div > .logo_title {
    display: inline-block;
    line-height: 1em;
    margin-left: 5px;
    vertical-align: middle;
}

header > div > .logo_title > p {
    color: #af0379;
    font-weight: bold;
    margin: 0;
}

header > div > .logo_title > p:first-child {
    font-size: 12px;
}

header > div > .logo_title > p:last-child {
    font-size: 15px;
}

.head_content {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    background: white;
    z-index: 999;
    padding: 0 16px;
}

/* secoud_header */



.second_header > .pan_nav {
    display: inline-block;
}

.second_header > .pan_nav li {
    display: inline-block;
    list-style-type: none;
}

.second_header > .page_title {
    float: right;
    padding-right: 40px;
}

.second_header > .logout {
    float: right;
    padding-right: 40px;
    text-decoration: none;
}


.navbar .navbar-btn {
    padding: 0;
    width: 150px;
}

/* footer */

.footer1 {
    position: absolute;
    bottom: 0;
    width: 100%;
}

footer {
    border-top: 5px solid #af0379;
    margin: 20px 0 0;
    text-align: right;
}

footer > p {
    display: inline-block;
    margin: 10px;
}

footer > p.copyright {
    vertical-align: bottom;
}


/* margin-top */

.mt010 {
    margin-top: 10px !important;
}

.mt015 {
    margin-top: 15px !important;
}

.mt020 {
    margin-top: 20px !important;
}

.mt025 {
    margin-top: 25px !important;
}

.mt030 {
    margin-top: 30px !important;
}

.mt035 {
    margin-top: 35px !important;
}

.mt040 {
    margin-top: 40px !important;
}

.mt135 {
    margin-top: 135px !important;
}

.mt170 {
    margin-top: 170px !important;
}
/* ボタン */

.btn_w100 {
    display: inline-block;
    width: 100px;
    margin: 5px 0;
}

.btn_w150 {
    display: inline-block;
    width: 150px;
    margin: 5px 0;
}

.block_btn > p {
    display: inline-block;
}

.block_btn > .p_center {
    position: absolute;
    left: calc(100% - 55%);
    top: 10px;
}

.block_btn > div > p {
    display: inline-block;
}

.block_btn > ul {
    margin: 0;
    padding: 0;
}

.block_btn > ul > li {
    background: #e6e6e6;
    border: 1px solid #d2cccc;
    color: #000;
    display: inline-block;
    margin: 5px 5px;
    padding: 4px 10px;
    text-align: center;
    text-decoration: none;
    width: 400px;
}

.block_btn > ul > .update_time {
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    vertical-align: middle;
    padding: 0;
}

.block_btn > ul > li > a {
    display: block;
    height: auto;
    width: 100%;
}

.link_btn a {
    cursor: pointer;
}

.link_btn > a {
    background: #e6e6e6;
    border: 1px solid #d2cccc;
    color: #000;
    padding: 6px 20px;
    text-align: center;
    text-decoration: none;
}

.link_btn > a:hover,
.link_btn > li:hover{
    color: #000;
    opacity: 0.7;
    text-decoration: none;
}

.link_btn > a:link,
.link_btn > li > a:link{
    color: #000;
    text-decoration: none;
}

.link_btn > a:visited,
.link_btn > li > a:visited{
    color: #000;
    text-decoration: none;
}

.link_btn > input[type="submit"]:hover {
    color: #000;
    opacity: 0.7;
    text-decoration: none;
}

.link_btn > input[type="submit"]:link {
    color: #000;
    text-decoration: none;
}

.link_btn > input[type="submit"]:visited {
    color: #000;
    text-decoration: none;
}


/* テーブル表示(search_display) */

table tr,
table th,
table td{
    border: 1px solid #999;
}

table th {
    background: #33529c;
    border-right: 1px solid #999;
    color: #ffffff;
    font: 12px/18px Arial,Sans-serif;
    font-weight: 700;
}

.block_list {
    margin-top: 10px;
    margin-bottom: 10px;
}

.block_list > p {
    text-align: right;
}

.list_table {
    overflow: scroll;
    border: 1px solid #000;
/* 2017/12/21 修正依頼により変更
    height: 250px;
 */
    height: 500px;
}

.list_table {
    overflow-x: auto;
}

.list_table > table {
    border-collapse: collapse;
    width: 100%;
}

.list_table > table.product_list_table {
    border-collapse: collapse;
    width: 2000px;
}

/* .list_table > table > thead {
    //display: block;
}
 */
.list_table > table > thead > tr > th {
    padding: 0 10px;
    text-align: center;
    white-space: nowrap;
}

/* .list_table > table > tbody {
    //display: block;
    //overflow-y: auto;
} */

.list_table > table > tbody > tr > td {
    min-width: 30px;
}

.list_table > table > tbody > tr > td > input[type="checkbox"] {
    text-align: center;
}

.list_table .check {
    width: 50px;
}

.list_table .button {
    width: 80px;
}

.list_table .td_btn {
    height: 35px;
}

.list_table .td_btn > a {
    display: inline-block;
    min-width: 60px;
    margin: 2px;
}

.list_table .th_btn_sort {
    background: #e6e6e6;
    border: 1px solid #d2cccc;
    color: #000;
    padding: 2px 4px;
    text-align: center;
    text-decoration: none;
}

.list_table a {
    background: #e6e6e6;
    border: 1px solid #d2cccc;
    color: #000;
    padding: 7px 10px;
    text-align: center;
    text-decoration: none;
}

.list_table a:hover {
    color: #000;
    opacity: 0.7;
    text-decoration: none;
}

.list_table a:link {
    color: #000;
    text-decoration: none;
}

.list_table a:visited {
    color: #000;
    text-decoration: none;
}



/* フォーム */

.input_form {
    margin-top: 20px;
}


.input_form > div {
    margin: 10px 0;
}

.input_form p {
    margin: 0;
}

.input_form > form > div {
    margin: 5px 0;
}
.input_form > form > div > p,
.input_form > form > div > label {
    display: inline-block;
}

.input_form > div > p,
.input_form > div > label {
    display: inline-block;
}

.input_form input[type="search"] {
    -webkit-appearance: textfield;
}

input[type="checkbox"] {
    height: 17px;
    width: 17px;
    vertical-align: text-bottom;
}


/* お知らせ表示 */
.information_box div.information_body_main {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: light-dark !important;
    overflow: auto;
    height: 100px;
    white-space: pre-wrap;
    background-color: white;
    margin-top: 5px;
    padding: 2px;
}

.information_btn {
    margin: 10px 0;
    text-align: right;
}

.information_btn > p {
    display: inline-block;
    margin: 0 0 0 30px;
}

.information_btn > p > button {
    width: 100px;
}

.mail_subject > p {
    display: inline-block;
}

.mail_subject > p > input[type="text"] {
    width: 600px;
}

/* ログイン画面 */

.login_form {
    position: absolute;
    left:30%;
    /*top: 50%;*/
    top: 0;
}

.login_form label,
.login_form p {
    display: inline-block;
}

.login_form input[type="submit"] {
    background: #e6e6e6;
    border: 1px solid #d2cccc;
    color: #000;
    padding: 6px 20px;
    text-align: center;
    text-decoration: none;
}


.user_login p,
.user_password p{
    margin-left: 10px;
}

.user_login > p > input[type="text"],
.user_password > p > input[type="password"] {
    width: 300px;
}

.btn_submit {
    margin-top: 15px;
}

.login_btn {
    float: right;
}

.login_btn > input[type="submit"] {
    width: 100px;
}

#block_main > div.position {
    height: 200px;
}


/* メニュー画面 */

.business > .containerInner {
    margin-top: 10px;
}

.business > .containerInner > .link_btn > a {
    display: inline-block;
    margin: 5px 5px;
    width: 500px;
}

.information > div > p {
    display: inline-block;
}

.year_box > label {
    display: inline-block;
}

.plan_box > label {
    display: inline-block;
}

.menu-main-affix {
    top: 0;
 }

.affix {
    left: 0;
    padding: 8px 16px 8px 16px;
}

/* 商品登録画面 */

.product_form > div {
    display: inline-block;
    margin: 0 15px 0 0;
}

.product_form > div > select {
    height: 25px;
    width: 200px;
}

.product_form > p {
    text-align: right;
}

.product_form > p > input[type="submit"] {
    width: 100px;
}

.product_form > div > p {
    display: inline-block;
}



.total_box {
    margin-top: 5px;
}

.total_box > div {
    display: inline-block;
    margin: 0 10px 0 0;
}

.total_box > div > p {
    display: inline-block;
}

.total_box > div > .total {
    border: 1px solid #000;
    font-size:16px;
    height: 26px;
    padding: 0 2px;
    text-align: right;
    width: 80px;
}

.total_box > div > dl > .total {
    border: 1px solid #000;
    font-size:16px;
    height: 26px;
    padding: 0 2px;
    text-align: right;
    width: 80px;
}

.total_box > div > dl > dt,
.total_box > div > dl > dd {
    display: inline-block;
}


/* 商品詳細画面 */

.droppable {
    margin: 30px 0;
    width: 350px;
}

.droppable > img {
    width: 350px;
    height: 150px;
}

.block_product_detail > p > input[type="text"] {
    width: 600px;
}

/* 商品印刷プレビュー */


.prev_product {
    border: 1px solid #e2e2e2;
    display: inline-block;
    height: 500px;
    margin: 3px 0;
    padding: 5px;
    vertical-align: top;
    width: 550px;
}


.prev_image {
    height: 300px;
}


.block_price > p {
    display: inline-block;
}

.prev_product > div > dl {
    display: inline-block;
    margin: 0 10px;
    vertical-align: top;
}

.prev_product > div > dl > dd {
    height: 20px;
}

.prev_product > .pull-left > ul {
    padding: 0;
}

.prev_product > .pull-left > ul > li {
    list-style-type: none;
}

.prev_product > .pull-left > ul > .prev_image {
    border: none;
    margin: 5px 0;
    height: 100px;
    width: 145px;
}

.prev_product > .pull-left > ul > .prev_image > img {
    height: 100%;
    width: 100%;
}

.prev_product > .pull-right > ul > li {
    display: inline-block;
    margin: 0 5px;
}

.prev_product > .pull-right > p {
    border: 1px solid #000;
    height: 200px;
    line-height: 120%;
    margin: 5px 0;
    width: 380px;
}

.prev_product_btn > form {
    display: inline-block;
}

.prev_product_btn > form:last-child {
    float: right;
}

.prev_product_past h1 {
    background: #ff5243;
    color: #fff;
    font-weight: bold;
    margin: 10px 0 20px 0;
    padding: 10px;
    text-align: center;
    width: 120px;
}

.prev_product_past dt {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 0;
    width: 250px;
}

.prev_product_past dd {
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    margin: 0 0 0 15px;
    width: 280px;
}

.product_print_btn {
    margin: 20px 0 0;
}

.product_print_btn > form,
.product_print_btn > p {
    display: inline-block;
}

.prev_product .prev_thumbnail
{
    margin: 4px 4px;
    padding: auto auto;
    border: 0px solid #000;

    width: 120px;
    height: 120px;

    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/*  印刷用CSS  */
@media print{

    .container {
        width: 100%;
        margin: 10px 0;
    }

    .prev_product {
        border: 1px solid #e2e2e2;
        display: inline-block;
        margin: 3px 0;
        padding: 5px;

        height: 450px;
        width: 48%;
    }

    .prev_image {
        height: 300px;
    }

    .block_price > p {
        display: inline-block;
    }

    .prev_product > div > dl {
        display: inline-block;
        margin: 0 10px;
    }

    .prev_product > .pull-left > ul {
        padding: 0;
    }

    .prev_product > .pull-left > ul > li {
        list-style-type: none;
    }

/*
    .prev_product > .pull-left > ul > .prev_image {
        border: none;
        margin: 5px 0;
        height: 130px;
        width: 180px;
    }

    .prev_product > .pull-left > ul > .prev_image > img {
        height: 100%;
        width: 100%;
    }
 */

    .prev_product .prev_thumbnail
    {
        margin: 4px 4px;
        padding: auto auto;
        border: 0px solid #000;

        width: 110px;
        height: 110px;

        background-image: none;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .prev_product > .pull-right > ul > li {
        display: inline-block;
        margin: 0 5px;
    }

    .prev_product > .pull-right > p {
        border: 1px solid #000;
        height: 180px;
        margin: 5px auto;
        width: 530px;
    }

    p button.event-setPage {
        display: none;
    }

    .txt_r {
        display: none;
    }

    /* 省略 */
    a[href]:after {
        content: "";
    }
    abbr[title]:after {
        content: "";
    }
    /* 省略 */

}

/* 商品詳細プレビュー */

.prev_product_detail {
    border: 1px solid #e2e2e2;
    display: inline-block;
    margin: 5px;
    padding: 5px;
    height: auto;
    width: auto;
}

.prev_product_detail > div > dl {
    display: inline-block;
    margin: 0;
}

.prev_product_detail > .pull-left,
.prev_product_detail > .pull-right {
    padding: 0 5px;
}

.prev_product_detail > .pull-left > ul {
    padding: 0;
}

.prev_product_detail > .pull-left > ul > li {
    list-style-type: none;
}

.prev_product_detail > .pull-left > ul > .prev_image {
    margin: 4px 4px;
    text-align: center;

    height: 120px;
    width: 120px;
}


.prev_product_detail > .pull-left > ul > .prev_image > img {
    height: 90px;
    max-width: inherit;
}

.prev_product_detail > .pull-right > ul > li {
    display: inline-block;
    margin: 0 5px;
}

.prev_product_detail > .pull-right > p {
    border: 1px solid #000;
    height: 200px;
    margin-top: 0.5em;
    width: 380px;
}
/* 紙面PDF照会画面 */

.block_pdf > label,
.block_pdf > p {
    display: inline-block;
}


/* 紙面PDF管理 */

.block_comment > label,
.block_comment > p {
    display: inline-block;
}

.block_comment > p > input[type="text"] {
    width: 700px;
}

tr.pdf_row td:not(.pdf_comment) {
    text-align: center;
}


/* チェックボックス位置調整 */

.check_valid {
    float: left;
    margin-top:10px;
}

.check_labels {
    display: inline-block;
    margin-left: 5px;
    width: 80%;
}

.checkbox-inline+.checkbox-inline {
    margin: 0;
}


/* 共通フッター */

#submit-auth {
    background-color: #af0379;
    bottom: 0px;
    padding: 2px 4px 0px 4px;
    position: fixed;
    width: 80%;
    z-index: 10; /* 写真のinput箇所が2のため多めに確保する */
}

/* お知らせ強調 */
.information_box div.body-content-editable {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: light-dark !important;
    overflow: auto;
    height: 100px;
    white-space: pre-wrap;
    background-color: white;
    margin-top: 5px;
    padding: 2px;
}

div.open-content-editable[contenteditable="false"],
div.close-content-editable[contenteditable="false"] {
    background-color: #eee;
}

div.open-content-editable,
div.close-content-editable {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #ccc !important;
    overflow: auto;
    white-space: pre-wrap;
    background-color: white;
    margin-top: 5px;
    padding: 2px;
    background-color: white;
    border-radius: 4px;
}

.information_box .toolbar {
    margin-top: 10px;
    float: left;
}

.open_information_toolbar,
.close_information_toolbar {
    margin-top: 5px;
    float: left;
}

.toolbar button,
.open_information_toolbar button,
.close_information_toolbar button {
    margin-right: 5px;
    padding: 5px 10px;
}

.toolbar button#applyAll,
.open_information_toolbar button#applyAll,
.close_information_toolbar button#applyAll {
    width: 100px;
}
