@CHARSET "UTF-8";

/********************
 ** 共通 **
 ********************/
html {
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    background-color: #fff;
    color: #333;
    font-size: 1em;
    -webkit-text-size-adjust: 100%;
    line-height: 1.5em;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'YuGothic', 'Yu Gothic', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'Verdana', 'Arial', 'Helvetica', 'ＭＳ Ｐ明朝', 'MS PMincho', 'sans-serif';
}

input,
textarea,
select {
    padding: 0.5em;
    font-size: 1em;
    border-radius: 0.3em;
    border: 1px solid #ccc;
}
input[type="radio"] {
    border: none !important;
}
input[readonly="readonly"] {
    background-color: #eee;
    color: #555;
}
input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    text-align: right;
}
label {
    padding: 0.5em;
    font-size: 1em;
}

/********************
 ** ボタン **
 ********************/
a.button_black {
    display: inline-block;
    padding: 0.5em 2em;
    border-radius: 0.4em;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.85), 0px 0px 5px rgba(0,0,0,1);
    cursor: pointer;
}
a.button_black:hover {
    opacity: 0.8;
}
a.button_black:active {
    opacity: 1;
}
a.button_red {
    display: inline-block;
    padding: 0.5em 2em;
    border-radius: 0.4em;
    background-color: rgba(193,40,46,0.85);
    color: #fff;
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.85), 0px 0px 5px rgba(0,0,0,1);
    border: 1px solid #ddd;
    cursor: pointer;
}
a.button_red:hover {
    opacity: 0.8;
}
a.button_red:active {
    opacity: 1;
}
a.button_gray {
    display: inline-block;
    padding: 0.5em 2em;
    border-radius: 0.4em;
    background-color: rgba(187,187,187,0.85);
    color: #666;
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    border: 1px solid #ddd;
    cursor: pointer;
}
a.button_gray:hover {
    opacity: 0.8;
}
a.button_gray:active {
    opacity: 1;
}
button {
    padding: 0.5em 2em;
    border-radius: 0.4em;
    background: none;
    color: #aaa;
    font-size: 1em;
    text-align: center;
    border: 1px solid #aaa;
    cursor: pointer;
}
button:hover {
    background-color: rgba(187,187,187,0.1);
    opacity: 0.8;
}
button:active {
    background: none;
    opacity: 1;
}
button.nagative {
    background-color: #eee;
    color: #bbb;
    border: 1px solid #bbb;
}
button.nagative:hover {
    background-color: #ddd;
    color: #aaa;
    opacity: 0.8;
}
button.nagative:active {
    background: #ddd;
    color: #aaa;
    opacity: 1;
}

/******************
 ** フォントサイズ **
 ******************/
.min80 {
    font-size: 80%;
}
.min60 {
    font-size: 60%;
}

/******************
 ** 線 **
 ******************/
hr {
    border: 0 none;
    height: 1px;
    color: #ccc;
    background-color: #ccc;
}

/**********
 * 幅
 */
.half {
    width: 48% !important;
}
.half2 {
    width: 24% !important;
}
.half3 {
    width: 12% !important;
}
.em2 {
    width: 2em !important;
}
.em3 {
    width: 3em !important;
}
.em4 {
    width: 4em !important;
}
.em5 {
    width: 5em !important;
}
.em6 {
    width: 6em !important;
}

/**********
 * 配置
 */
.center_text {
    text-align: center;
}
.right_text {
    text-align: right;
}

/**********
 * エラー表示
 */
.error_message {
    color: #f00;
}

/**********
 * 注意事項
 */
.attention {
    color: #c1272d;
}

/********************
 * テーブル */
table {
    width: 100%;
    border: 1px solid #ccc;
    border-spacing: 0;
}
table th {
    padding: 0.5em;
    background-color: #333;
    color: #fff;
    font-weight: normal;
    border: 1px solid #ccc;
}
table th a:link {
    color: #eee;
}
table th a:hover {
    color: #aaa;
}
table td {
    padding: 0.7em;
    border: 1px solid #ccc;
}
table a.button_white {
    padding: 0.5em 1em;
    font-size: 0.8em;
}

/******************
 ** メイン **
 ******************/
div#main {
    width: 100%;
    max-width: 800px;
    margin: 2em auto;
}

/******************
 ** ヘッダー **
 ******************/
div#header {
    width: 100%;
    height: 7em;
    background-color: #333;
    color: #fff;
}
div#header a {
    text-decoration: none;
}
div#header h1 {
    height: 1.5em;
    text-align: center;
    font-size: 2.6em;
    line-height: 1.8em;
    color: #fff;
}
div#header h2 {
    text-align: center;
    font-size: 1.6em;
    line-height: 1.8em;
    color: #fff;
}
div#header_menu {
    position: fixed;
    overflow: scroll;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-color: rgba(255,255,255,0.9);
}
div#header_menu ul {
    width: 100%;
    height: 100%;
    max-width: 800px;
    margin: 0 auto;
    line-height: 8em;
}
div#header_menu ul li {
    margin-left: 0.5em;
    font-size: 4em;
    list-style: none;
}
div#header_menu ul li a {
    display: inline-block;
    width: 100%;
    color: #333;
}

/******************
 ** 左右のラベルとコントロール **
 ******************/
label.left {
    display: inline-block;
    width: 40%;
    margin-bottom: 0.8em;
    text-align: right;
    line-height: 1em;
}
input.right,
select.right {
    display: inline-block;
    width: 50%;
}
p.error_message {
    display: block;
    margin-left: 40%;
}

/******************
 ** SettingIndex **
 ******************/
#SettingIndex div#main button {
    display: block;
    width: 80%;
    margin: 1em auto;
    font-size: 1.4em;
}

/******************
 ** AuthIndex **
 ******************/
#AuthIndex div#main button {
    display: block;
    width: 80%;
    margin: 1em auto;
    font-size: 1.4em;
}

/******************
 ** データ編集画面共通 **
 ******************/
div#button_area {
    width: 100%;
    margin: 0 0 1em;
    text-align: right;
}
div#button_area button {
    display: inline-block;
}
div#search_area {
    background-color: #fff;
    padding: 2em 0;
    border: 1px solid #ccc;
}
div#search_area button {
    display: block;
    width: 80%;
    margin: 0.5em auto 0;
    font-size: 1.2em;
}
div#edit_area {
    width: 90%;
    max-width: 740px;
    background-color: #fff;
    padding: 2em 0;
    border: 1px solid #ccc;
}
div#edit_area form {
    width: 100%;
}
div#edit_area button {
    display: block;
    width: 80%;
    margin: 0.5em auto;
    font-size: 1.2em;
}
table button {
    padding: 0.5em 1em;
    font-size: 0.8em;
}

/******************
 ** RootIndex **
 ******************/
div#export_area {
    background-color: #fff;
    padding: 2em 0;
    border: 1px solid #ccc;
}
div#export_area button {
    display: block;
    width: 80%;
    margin: 0.5em auto 0;
    font-size: 1.2em;
}
div#history_area {
    width: 100%;
    max-width: 800px;
    height: 100%;
    background-color: #fff;
    padding: 1em;
    border: 1px solid #ccc;
}
div#history_button_area {
    width: 100%;
    margin: 0 0 1em;
    text-align: right;
}
div#history_area table button {
    display: block;
    width: 80%;
    margin: 0 auto;
    font-size: 0.8em;
}
div#history_area button.nagative {
    display: block;
    width: 80%;
    margin: 1em auto;
    font-size: 1.2em;
}
