body {
    margin: 0;
    padding: 0;
    font-family: Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color:#20313b;
}

a {
    color: #993D1E;
}

.error {
    color: #ff0000;
}
.notice {
    color: #64a2e0;
}
.zero {
    opacity: 0.3;
}

.validation_errors {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #ff0000;
    background-color: #fff9f9;
    border: 1px solid #ffcccc;
    font-size: 90%;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 28px;
}


/********* alignment **************************************************/
.left {
    text-align: left;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
.small {
    font-size: small;
}


/********* page_layout **************************************************/
#page_container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-height: 100vh;
}
#page_body {
    flex-grow: 1;
    padding-top: 1em;
}

/*-------- header --------*/
header {
    display: flex;
    justify-content: space-between;
    padding: 5px;
}
header img {
    height: 26px;
    float: left;
}
header .header_title {
    color:#FFFFFF;
    font-size: 120%;
    padding-left: 10px;
}

/*-------- footer --------*/
footer {
    font-size: 80%;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 3px;
    text-align: center;
}

/********* container **************************************************/
.round_rect {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 10px;
    border: 1px solid #99BFCC;
    background-color:#FFFFFF;
}

.container_fill {
    margin: auto;
    margin-bottom: 1em;
}

.container_800 {
    width: 800px;
    margin: auto;
    margin-bottom: 1em;
}


/********* right_menu **************************************************/
.right_menu_container {
    display: flex;
    width: 1000px;
    margin: auto;
    margin-top: 1em;
}
.right_menu_menu {
    align-self: flex-start;
    flex-basis: 200px;
}
.right_menu_body {
    align-self: flex-start;
    flex-grow: 1;
    padding-right: 10px;
}


/********* button_area **************************************************/
.button_area button[type="submit"],
.button_area .submit,
.button_area a
{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    width: 120px;
    height: 40px;
}

.button_area button[type="submit"]
,.button_area .submit {
    background-color:#1E7A99;
    color:#FFFFFF;
}

.button_area a {
    background-color: #F2FBFF;
    color:#1E5B99;
    border: 1px solid #1E7A99;
    cursor: pointer;
    font-size: 90%;
    text-decoration: none;
}

/********* input **************************************************/
input[type="text"],
input[type="password"] {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: 1px solid #99BFCC;
    padding: 5px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    background-color: #ffffcc;
    outline: 0;
    border-color: orange;
}


/********* header **************************************************/
/*-------- navi --------*/
ul.navi {
    list-style-type: none;
    margin: 0px;
    padding: 2px 5px 2px 5px;
}
ul.navi li {
    display: inline;
    padding: 0px;
}
ul.navi li:before {
    content: ">";
}


/********* body **************************************************/
/*-------- page_body--------*/
#page_body {
    padding: 10px;
}


/********* table **************************************************/
table.stripe {
    font-size: 90%;
}
table.stripe tbody tr:nth-child(odd) {
    background-color: #ffffff;
}
table.stripe tbody tr:nth-child(even) {
    background-color: #e9ffe9;
}
table.hover tbody tr:hover {
    background-color: #ffff99;
}

table.col_basic {
    background-color:#FFFFFF;
    border-collapse: collapse;
}
table.col_basic th {
    background-color:#63BFDD;
    color:#FFFFFF;
}
table.col_basic th, table.col_basic td {
    border: solid #1E7A99 1px;
}

table.list {
    margin: auto;
}
table.list th, table.list td {
    padding: 5px 12px 5px 12px;
    white-space: nowrap;
    font-weight: normal;
    font-size: 90%;
}


/********* menu **************************************************/
dl.menu {
    margin: 0;
}
dl.menu dt {
    border-bottom: 1px dotted #1E7A99;
    margin-bottom: 3px;
    color: #1E7A99;
}
dl.menu dd {
    font-size: 90%;
    margin-bottom: 1em;
}
dl.menu dd ul {
    margin: 0;
    padding: 0;
}


/********* pagination **************************************************/
.pagination {
    display: -webkit-flex;
    display: flex;
    
    -webkit-justify-content: space-between; /* Safari */
    justify-content:         space-between;
    
    width: 600px;
    margin: auto;
    padding-bottom: 10px;
}


/********* ul.list **************************************************/
ul.list {
    list-style-type: none;
    margin: 4px;
    padding: 2px 5px 2px 5px;
}
ul.list li {
    display: inline;
    margin: 0px 5px 0px 0px;
    font-size: 80%;
    white-space: nowrap;
}
ul.list li label {
    padding: 4px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    cursor: pointer;
}
ul.list li input[type=radio]:checked + label {
    background-color:#64a2e0; 
    color:#FFFFFF;
}


/********* prev_next **************************************************/
.prev_next {
    display: flex;
    justify-content: space-between;
}
.prev_next div.this {
    text-align: center;
    font-weight: bold;
    font-size: 110%;
    color: #1E7A99;
}
.prev_next div.prev,
.prev_next div.next {
    text-align: right;
    font-size: 90%;
}
.prev_next div.prev a,
.prev_next div.next a {
    text-decoration: none;
}


/********* segment **************************************************/
ul.segment {
    list-style-type: none;
    margin: 3px;
    padding: 2px 5px 2px 5px;
}
ul.segment li {
    display: inline;
    margin: 0px 5px 0px 0px;
    font-size: 80%;
}
ul.segment li label {
    padding: 4px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    cursor: pointer;
}
ul.segment input[type=radio]:checked + label,
ul.segment input[type=checkbox]:checked + label {
    background-color: #1E5B99;
    color: #ffffff;
}


/********* mp_order_status_code **************************************************/
.mp_order_status_code_0 {
    color: #B21D00; /* 10,100,60*/
    background-color: #FFE9E5; /* 10, 10,100*/
}
.mp_order_status_code_1 {
    color: #94B200; /* 70,100,60*/
    background-color: #FAFFE5; /* 70, 10,100*/
}
.mp_order_status_code_2 {
    color: #007F99; /*190,100,60*/
    background-color: #E5FAFF; /*130, 10,100*/
}
.mp_order_status_code_8,
.mp_order_status_code_9 {
    color: #666666;
    background-color: #FFFFFF;
}

/********* order_state_code **************************************************/
.order_state_code_1 {
    color: #007F99; /*190,100,60*/
    background-color: #E5FAFF; /*130, 10,100*/
}
.order_state_code_2 {
    color: #666666;
    background-color: #FFFFFF;
}
.order_state_code_3 {
    color: #B21D00; /* 10,100,60*/
    background-color: #FFE9E5; /* 10, 10,100*/
}
.order_state_code_0 {
    color: #666666;
    background-color: #FFFFFF;
}
