﻿/*
    base Stylesheet
*/
html {
    overflow-y: scroll;
}
html, body {
    font-size: 62.5%;
    height: 100%;
}
body {
    font-family: YuGothic, "游ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", 'MS PGothic', sans-serif;
    line-height: 1.4;
    color: #333;
    background: #fff;
    font-size: 1.4rem;
    min-width: 1180px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    text-rendering: auto;
}
body > form {
    height: 100%;
}

/* Link */
a, a:link {
    color: #0000ff;
    text-decoration: underline;
}
a:hover {
    text-decoration: underline;
}
a:visited {
    color: #551a8b;
}

/* Clear */
.no-mgn {
  margin: 0 !important;
}
.no-pad {
    padding: 0 !important;
}
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

/* Font weight */
.fw-normal {
    font-weight: normal;
}
.fw-bold {
    font-weight: bold;
}

/* Text align */
.ta-left {
    text-align: left;
}
.ta-center {
    text-align: center;
}
.ta-right {
    text-align: right;
}

/* Vertical align */
.va-top {
    vertical-align: top;
}
.va-middle {
    vertical-align: middle;
}
.va-bottom {
    vertical-align: bottom;
}

/* Float */
.f-left {
    float: left;
}
.f-right {
    float: right;
}
.f-clear {
    clear: both;
}

/* Display */
.block {
    display: block;
}
.in-block {
    display: inline-block;
}
.flex {
    display: flex;
}
.none {
    display: none;
}

/* Position */
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}

/* Underline */
.u-line {
    text-decoration: underline;
}

/* Font size */
.px8 {
    font-size: 8px;
}
.px10 {
    font-size: 10px;
}
.px12 {
    font-size: 12px;
}
.px14 {
    font-size: 14px;
}
.px16 {
    font-size: 16px;
}
.px18 {
    font-size: 18px;
}
.px20 {
    font-size: 20px;
}

/* Margin */
.mt5 {
    margin-top: 5px;
}
.mt10 {
    margin-top: 10px;
}
.mt15 {
    margin-top: 15px;
}
.mt20 {
    margin-top: 20px;
}
.mt25 {
    margin-top: 25px;
}
.mt30 {
    margin-top: 30px;
}
.ml5 {
    margin-left: 5px;
}
.ml10 {
    margin-left: 10px;
}
.ml15 {
    margin-left: 15px;
}
.ml20 {
    margin-left: 20px;
}
.ml25 {
    margin-left: 25px;
}
.ml30 {
    margin-left: 30px;
}
.mr5 {
    margin-right: 5px;
}
.mr10 {
    margin-right: 10px;
}
.mr15 {
    margin-right: 15px;
}
.mr20 {
    margin-right: 20px;
}
.mr25 {
    margin-right: 25px;
}
.mr30 {
    margin-right: 30px;
}
.mb5 {
    margin-bottom: 5px;
}
.mb10 {
    margin-bottom: 10px;
}
.mb15 {
    margin-bottom: 15px;
}
.mb20 {
    margin-bottom: 20px;
}
.mb25 {
    margin-bottom: 25px;
}
.mb30 {
    margin-bottom: 30px;
}

/* Input */
input,
select,
textarea,
button {
    font-family: YuGothic, "游ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", 'MS PGothic', sans-serif;
}
input[type="text"],
input[type="password"],
input[type="number"],
input[type="time"],
select {
    box-sizing: border-box;
    padding: 4px;
}
input[type="radio"] {
    margin: 4px;
}
input[type="checkbox"] {
    margin: 4px;
}
input[type="time"] {
    min-width: 70px;
}
select {
    min-width: 140px;
}

/* Button */
.btn {
    background: #007230;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    width: auto;
    min-width: 120px;
    line-height: 1.4;
    padding: 8px;
    border: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: .4s;
    -moz-transition: .4s;
    transition: .4s;
}
.btn.cancel {
    background: #fff !important;
    color: #007230;
    padding: 7px 8px;
    border: 1px solid #007230 !important;
}
.btn.delete {
    background: #fff;
    color: #D02E38;
    padding: 7px 8px;
    border: 1px solid #D02E38;
}
.btn.sys {
    border: 1px solid #b3b3b3;
    color: #4d4d4d;
    background: #b7b7b8;
    background: -moz-linear-gradient(top, #f0f1f1 0%, #bdbdbe 100%);
    background: -webkit-linear-gradient(top, #f0f1f1 0%,#bdbdbe 100%);
    background: linear-gradient(to bottom, #f0f1f1 0%,#bdbdbe 100%);
    min-width: 120px;
    padding: 12px 8px;
}
.btn.sw {
    min-width: 60px;
    padding: 5px;
}
.btn.aspNetDisabled {
    cursor: auto;
    background-color: #ACAEB1;
    border: none;
    color: #fff;
}
.btn:hover, .btn:active,
.btn-edit:hover, .btn-edit:active {
    opacity: 0.8;
}
a.btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}
.btn-edit {
    background: url(../images/icon/ico_edit.svg) no-repeat;
    background-position: center;
    border: none;
    height: 27px;
    padding: 0 !important;
    cursor: pointer;
}
.btn-csv {
    background: url(../images/icon/ico_csv.svg) no-repeat;
    background-position: center;
    border: none;
    height: 27px;
    padding: 0 !important;
    cursor: pointer;
}
.btn-setting {
    background: url(../images/icon/ico-setting.svg) no-repeat;
    background-position: center;
    border: none;
    height: 27px;
    padding: 0 !important;
    cursor: pointer;
}

/* Error */
.err {
    background: #ffe6e6;
    color: #e3324a;
    display: block;
    padding: 8px;
    text-align: center;
}
.err-fix {
    color: #e3324a;
    display: block;
    text-align: center;
    padding: 8px;
    min-height: 40px;
}
.is-error {
    color: #e3324a;
    display: block;
    padding: 0 10px;
    margin: 30px 0;
}

/* required */
.required:after {
    content: "*";
    display: inline-block;
    position: absolute;
    color: #e3324a;
    font-size: 17px;
    padding-left: 5px;
}
.required-txt {
    display: block;
    font-size: 0.9em;
    color: #095696;
}
.note-required {
    color: #e3324a;
    font-size: 0.9em;
    margin: 0 0 20px;
}

/* dummy */
.dummy {
    display: none;
    width: 0px;
    height: 0px;
    background: none;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}