main{
  background-color: #f6f6f6;
  width: 100%;
  min-width: 1349px;
  min-height: calc(100vh - 75px);
  height: auto;
  margin: auto;
}

*{
  color: #333;
  font-family: 'メイリオ', 'ＭＳ ゴシック', sans-serif;
}

body{
  position: relative;
  background-color: #f6f6f6;
}

.icon{
  display: block;
  user-select:none;
  -webkit-user-select:none;
  -moz-user-select:none;
  -khtml-user-select:none;
  -webkit-user-drag:none;
  -khtml-user-drag:none;
}

h1, h2, h3, h4, h5{
  font-weight: normal;
}

/* プルダウンメニュー（select） */
.pulldown{
  border: solid 1px #999;
  background-color: #fff;
  height: 24px;
  font-size: 14px;
  position: relative;
}
.pulldown:before{
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 5px;
  bottom: 0;
  border-top: solid 10px #333333;
  border-left: solid 5px transparent;
  border-right: solid 5px transparent;
  z-index: 2;
}
.pulldown select{
  padding: 3px 18px 3px 3px;
  position: relative;
  z-index: 5;
  cursor: pointer;
  width: 100%;
  height: 100%;
  line-height: 18px;
}
.pulldown select:disabled{
  background-color: #ddd;
  color: #999;
  cursor: default;
  z-index: 0;
}
/* edge用 start */
@supports (-ms-ime-align:auto) {
  .pulldown select{
    padding-left: 0 !important;
  }
  input[type="text"]{
    padding-left: 0 !important;
  }
}
/* edge用 end */

#setting_backscreen{
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  background-color: rgba( 0, 0, 0, .4);
}
#setting_backscreen.setting_on{
  display: block;
}

/* ボタン共通 */
.button_gray{
  height: 24px;
  border: solid 1px #474747;
  border-radius: 5px;
  background: linear-gradient(to bottom, #c0c0c0 2% , #999 6%, #777 50%,#474747 50%, #474747);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.button_red{
  height: 24px;
  border: solid 1px #bf354a;
  border-radius: 5px;
  background: linear-gradient(to bottom, #e6b6bf 2% ,#e2778d 6%, #e5516e 50%,#bf354a 50%, #bf354a);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.button_blue{
  height: 24px;
  border: solid 1px #425b77;
  border-radius: 5px;
  background: linear-gradient(to bottom, #afc8e0 2%, #86acd1 6%, #628ab2 50%,#446285 50%, #446285);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.button_green{
  height: 24px;
  border: solid 1px #226b44;
  border-radius: 5px;
  background: linear-gradient(to bottom, #a1dfc1 2%, #68c597 6%, #359b68 50%,#226b44 50%, #226b44);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.button_gold{
  height: 24px;
  border: solid 1px #b96f33;
  border-radius: 5px;
  background: linear-gradient(to bottom, #ffddb6 2%, #ffae52 6%, #f3a948 50%,#d47222 50%, #d47222);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.button_lightgray:not(.check_button){
  height: 24px;
  border: solid 1px #aaa;
  border-radius: 5px;
  background: linear-gradient(to bottom, #fff 2%, #fdfdfd 6%, #ddd 50%,#bbbccc 50%, #bbbccc);
  color: #333333;
  font-size: 14px;
  line-height: 20px;
  padding: 0 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.check_button.button_lightgray > span{
  height: 24px;
  border: solid 1px #aaa;
  border-radius: 5px;
  background: linear-gradient(to bottom, #fff 2%, #fdfdfd 6%, #ddd 50%,#bbbccc 50%, #bbbccc);
  color: #333333;
  font-size: 14px;
  line-height: 20px;
  padding: 0 4px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.check_button.button_lightgray > input:checked ~ span{
  border: solid 1px #446285;
  background: linear-gradient(to bottom, #afc8e0 2%, #86acd1 6%, #628ab2 50%,#446285 50%, #446285);
  color: #fff;
}
.check_button.button_lightgray.check_red > input:checked ~ span{
  border: solid 1px #bf354a;
  background: linear-gradient(to bottom, #e6b6bf 2% ,#e2778d 6%, #e5516e 50%,#bf354a 50%, #bf354a);
  color: #fff;
}
.check_button.tag_blue > span{
  height: 20px;
  border-radius: 5px;
  background: #cccccc;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 3px;
  cursor: pointer;
}
.check_button.tag_blue > input:checked ~ span{
  background: #628ab2;
}
.check_button.tag_red > span{
  height: 20px;
  border-radius: 5px;
  background: #cccccc;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 3px;
  cursor: pointer;
}
.check_button.tag_red > input:checked ~ span{
  background: #e5516e;
}
.check_button > span{
  display: block;
}
button .button_icon{
  max-width: 14px;
  max-height: 14px;
  width: 100%;
  height: auto;
}

.button_gray:hover:not(:disabled),
.button_red:hover:not(:disabled),
.button_blue:hover:not(:disabled),
.button_green:hover:not(:disabled),
.button_lightgray:not(:disabled):hover,
.button_gold:not(:disabled):hover,
.check_button:hover:not(:disabled),
input[type="submit"]:hover,
input[type="reset"]:hover,
#logout > button:hover{
  opacity: 0.7;
}

button:disabled{
  background: linear-gradient(to bottom, #fff 2%, #fdfdfd 6%, #ddd 50%,#bbbccc 50%, #bbbccc);
  box-shadow: none;
  color: #999;
  border-color: #aaa;
}

button, label, a{
  outline: none;
}

/* 入力欄共通 */
input::-ms-clear {
  display: none;
}
input[type="radio"],
input[type="checkbox"]{
  display: none;
}
input[type="text"]{
  border: solid 1px #999;
  background-color: #fff;
  height: 24px;
  font-size: 14px;
  padding: 3px;
}
input[type="submit"]{
  height: 26px;
  border: solid 1px #b28522;
  border-radius: 5px;
  background: linear-gradient(to bottom,#ebc975,#e0b64c 50%,#b28522 50%, #b28522);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
input[type="reset"]{
  height: 26px;
  border: solid 1px #474747;
  border-radius: 5px;
  background: linear-gradient(to bottom,#999,#777 50%,#474747 50%, #474747);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
input:disabled{
  background-color: #ddd;
}
input[readonly]{
  background-color: #ddd;
}
input.year{
  width: 50px;
}
input.month, input.day{
  width: 34px;
  margin-left: -1px;
}
textarea{
  border: solid 1px #999;
  background-color: #fff;
  resize: none;
}
textarea:disabled{
  background-color: #ddd;
}

label.check_box{
  cursor: pointer;
}
label.check_box > input[type="checkbox"]{
  display: none;
}
label.check_box > span{
  padding-left: 22px;
  position: relative;
}
label.check_box > span:before{
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  border: solid 1px #999;
  background-color: #fff;
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
label.check_box > input[type="checkbox"]:checked ~ span:after{
  content: "";
  display: block;
  width: 8px;
  height: 6px;
  border-bottom: solid 2px #446285;
  border-left: solid 2px #446285;
  position: absolute;
  left: 6.5px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  transform: rotate(-45deg)
}

label.radio_button{
  cursor: pointer;
}
label.radio_button > input[type="radio"]{
  display: none;
}
label.radio_button > span{
  padding-left: 22px;
  position: relative;
}
label.radio_button > span:before{
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 6.5px;
  border: solid 1px #999;
  background-color: #fff;
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
label.radio_button > input[type="radio"]:checked ~ span:before{
  border: solid 1px #446285;
  background-color: #fff;
}
label.radio_button > input[type="radio"]:checked ~ span:after{
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 6.5px;
  background-color: #628ab2;
  position: absolute;
  left: 5.5px;
  top: 0;
  bottom: 0;
  margin: auto 0;
}