/***********************************/
/** 共通アウトラインスタイル */
/***********************************/
header, nav, main, footer {
    display: block;
}

body {
    min-width: 320px;
    word-wrap: break-word;
    background-color: #f2f2f2;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: 100%;
}

/***************/
/* ヘッダー */
/***************/
header {
    background-color: #FBF8CB;
    border-bottom: solid #F93 2px;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
}

header #header_area {
    max-width: 1100px;
    height: 30px;
    padding: 10px 0;
    margin: auto;
    position: relative;
}

header #header_logo {
    height: 25px;
}

header #right_box {
    margin-left: auto;
    float: right;
    text-align: center;
}

header #head_staff_name {
    float: right;
    padding-top: 4px;
    margin-right: 5px;
    font-weight: bold;
}

header.local_header_color {
    background-color: #71d37f;
}

header.staging_header_color {
    background-color: #83C8F8;
}

/***************/
/* メインエリア */
/***************/
#main-content-area {
    min-width: 100%;
    margin: 20px auto;
    text-align: center;
}


/* ログアウトボタン */
.logout_button {
    -moz-box-shadow: 0 1px 0 0 #fff6af;
    -webkit-box-shadow: 0 1px 0 0 #fff6af;
    box-shadow: 0 1px 0 0 #fff6af;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
    background: -moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: -webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: -o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: -ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23', GradientType=0);
    background-color: #ffec64;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #ffaa22;
    display: inline-block;
    cursor: pointer;
    color: #333333;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    padding: 4px 16px;
    text-decoration: none;
    text-shadow: 0 1px 0 #ffee66;
}

.logout_button:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64));
    background: -moz-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background: -webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background: -o-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background: -ms-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background: linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64', GradientType=0);
    background-color: #ffab23;
}

/***************/
/* メニューバー */
/***************/
nav {
    background-color: #F9E8C9;
    border-bottom: solid #F93 2px;
    min-width: 100%;
    padding: 0;
    height: 35px;
}

#menu {
    list-style-type: none;
    max-width: 1100px;
    height: 35px;
    margin: auto;
    position: relative;
    display: flex;
}

#menu li {
    width: 100px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    position: relative;
    border-right: solid #F93 2px;
    display: inline-block;
}

#menu li:first-child {
    border-left: solid #F93 2px;
}

#menu li a {
    width: auto;
    height: 35px;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    vertical-align: middle;
    display: block;
    text-decoration: none;
    color: #000;
}

#menu li:hover > a {
    background: #FBF8CB;
    color: #000;
    border-bottom: solid #F93 2px;
}

#menu li ul {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    z-index: 2;
}

#menu li ul li {
    overflow: hidden;
    width: 230px;
    line-height: 30px;
    height: 0;
    border-left: solid #F93 2px;
    display: block;
}

#menu li ul li a {
    display: block;
    padding-left: 8px;
    height: 30px;
    background: #F9E8C9;
    border: none;
    text-align: left;
    font-size: 12px;
    font-weight: normal;
}

#menu li:hover ul li {
    overflow: auto;
    height: 30px;
}

#menu li:hover ul li:first-child {
    border-top: 0;
}

#menu li:hover ul li:last-child {
    border-bottom: 0;
}

#menu li:hover ul li:last-child a {
    border-radius: 0;
}

#menu .menu-item-new:after {
    content: 'NEW!';
    position: absolute;
    display: block;
    padding: 2px;
    border-radius: 2px;
    line-height: 100%;
    top: -8px;
    right: 0;
    background-color: #FF0000;
    color: #FFFFFF;
    font-size: 60%;
}

/***********************************/
/** 目的別エリア共通スタイル */
/***********************************/

/***************/
/* メインのテーブル */
/***************/
.select01, .stripe01, .user_input01 {
    border: solid #F93 1px;
    border-collapse: separate;
    border-spacing: 0;
    width: 1050px;
    position: relative;
    margin: auto;
}

.select01 th, .stripe01 th, .user_input01 th {
    border: solid #F93 1px;
    background-color: #F9E8C9;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 0;
}

.select01 td {
    border: solid #F93 1px;
    font-size: 12px;
    background-color: #FFF;
    padding: 3px 0;
    text-align: left;
}

.select01 th, .select01 td {
    padding: 5px;
}

.stripe01 tr:nth-child(2n+1) td, .stripe02 tr:nth-child(2n+1) td, .contract_confirm_status tr:nth-child(2n+1) td {
    background: #dcdcdc;
}

.stripe01 tr td input[type="text"] {
    width: 80%;
    margin: 0 auto;
}

.stripe01 th.name, .stripe01 td.name {
    padding: 3px 12px;
    text-align: left;
}

.select01 td, .stripe01 td, .stripe02 td {
    border: solid #F93 1px;
    font-size: 12px;
    background-color: #FFF;
    padding: 3px 5px;
}
.stripe01 .table-colspan-adjust td {
    border: solid #fff 0px;
    padding: 0px;
}
.user_input01 th {
    width: 200px;
    padding: 10px 5px;
    margin-right: auto;
    text-align: left;
}

.user_input01 td {
    border: solid #F93 1px;
    background-color: #FFF;
    padding: 5px 5px;
    margin-right: auto;
    text-align: left;
}

/***************/
/* 必須項目の設定 */
/***************/
th.required:before {
    content: '※';
    color: #FF0000;
}

/***********************************/
/** 目的別エリア共通スタイル */
/***********************************/
.error_message_area,
.error,
.warning-str,
.red-bold {
    color: #ff0000;
    font-weight: bold;
}
.red-text {
    color: #ff0000;
}
/* 半透明 */
.opacity50 {
    opacity: 0.5;
}

/* 強調文字 */
.bold {
    font-weight: bold;
}

/***********************************/
/** ボタンエリアの共通スタイル */
/***********************************/
.submit-button-area,
.delete-button-area {
    margin-top: 20px;
}

.submit-button-area button[type="submit"],
.delete-button-area button[type="submit"] {
    margin-right: 20px;
}

.myButton01 {
    -moz-box-shadow: 0 1px 0 0 #fff6af;
    -webkit-box-shadow: 0 1px 0 0 #fff6af;
    box-shadow: 0 1px 0 0 #fff6af;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
    background: -moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: -webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: -o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: -ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23', GradientType=0);
    background-color: #ffec64;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #ffaa22;
    display: inline-block;
    cursor: pointer;
    color: #333333;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    padding: 4px 16px;
    text-decoration: none;
    text-shadow: 0 1px 0 #ffee66;
}

.myButton01:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64));
    background: -moz-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background: -webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background: -o-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background: -ms-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background: linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64', GradientType=0);
    background-color: #ffab23;
}

.myButton01:active {
    position: relative;
    top: 1px;
}

.myButton01:disabled {
    opacity: 0.5;
}

.myButton01-disabled {
    -moz-box-shadow: 0 1px 0 0 #999999;
    -webkit-box-shadow: 0 1px 0 0 #999999;
    box-shadow: 0 1px 0 0 #999999;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #999999), color-stop(1, #bbbbbb));
    background: -moz-linear-gradient(top, #999999 5%, #bbbbbb 100%);
    background: -webkit-linear-gradient(top, #999999 5%, #bbbbbb 100%);
    background: -o-linear-gradient(top, #999999 5%, #bbbbbb 100%);
    background: -ms-linear-gradient(top, #999999 5%, #bbbbbb 100%);
    background: linear-gradient(to bottom, #999999 5%, #bbbbbb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23', GradientType=0);
    background-color: #aaaaaa;
    border: 1px solid #999999;
    text-shadow: 0 1px 0 #999999;
}

/***************/
/* パンくずリストエリアの設定 */
/***************/
.breadcrumbs-area {
    width: 100%;
}

.breadcrumbs-area div {
    margin: auto;
}

.breadcrumbs-area div span.hit {
    font-weight: bold;
    font-size: large;
}

.breadcrumbs-area div span.non-hit {
    font-size: small;
}

.breadcrumbs-area .message {
    color: #ff0000;
    font-weight: bold;
    font-size: small;
}

/***************/
/* サブミットエリアの設定 */
/***************/
#submits {
    text-align: center;
}


