﻿@charset "UTF-8";
/**********************/
/***　  共通エリア 　***/
/**********************/
/* ヘッダー */
header {
  background: #4682B4;
  width: 100%;
  padding: 1rem 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  height: 40px;
  min-width: 1200px;
  z-index: 999;
  box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.2); }
  header > div {
    align-items: center; }
    header > div:last-child {
      color: #ffffff; }
    header > div:first-child {
      white-space: nowrap;
      overflow: hidden; }
  header img {
    width: 180px;
    height: 21px; }
  header h1 {
    color: #ffffff;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #ffffff; }
  header span {
    color: #ffffff;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #ffffff; }
  header .user {
    padding-left: 10px;
    color: #ffffff;
    white-space: nowrap;
    width: 216px;
    overflow: hidden;
    font-size: 11px; }
  header .menu {
    margin-left: 10px;
    background-color: lavender;
    padding: 2px 3px;
    border-radius: 3px; }
    header .menu .checkbox {
      margin-right: 3px;
      position: relative; }
      header .menu .checkbox:hover::before {
        content: "";
        position: absolute;
        top: 13px;
        width: 0px;
        height: 10px;
        border-right: 5px solid transparent;
        border-bottom: 13px solid #999999;
        border-left: 5px solid transparent;
        left: 7px; }
      header .menu .checkbox:hover::after {
        content: "チェックを付けると、移動ボタンをクリック時にポップアップが表示されなくなります。";
        position: absolute;
        font-size: 10px;
        width: max-content;
        height: 14px;
        top: 34px;
        left: -5px;
        background-color: #999999;
        padding: 4px 5px;
        color: #ffffff;
        border-radius: 3px;
        box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2); }
    header .menu button {
      height: 31px;
      min-width: unset;
      padding: 0.2rem 1.4rem;
      margin-left: 6px;
      white-space: nowrap; }

/* ラッパー */
#wrapper {
  position: relative;
  width: 100%;
  min-width: 1100px;
  min-height: 100vh;
  background-color: #f1f1ec;
  padding-bottom: 1px; }

/* main */
main {
  display: block;
  position: relative;
  width: 96%;
  margin: 0 auto;
  padding-top: 60px; }

/* カード */
.box {
  width: 1210px;
  background: #ffffff;
  box-shadow: 0px 3px 10px -2px rgba(10, 10, 10, 0.102), 3px -5px 7px 1px rgba(10, 10, 10, 0.02);
  padding: 1.5rem;
  margin: 0 auto 1.5rem; }

/* サブカード */
.sub_box {
  padding: 13px 20px 15px;
  border: 1px solid #808080;
  width: 100%;
  margin-bottom: 1.5rem; }
  .sub_box > span:first-child {
    position: relative;
    display: inline-block;
    margin: -5px 0 0.5rem -31px;
    padding: 0.5rem 2rem;
    font-weight: bold;
    color: #ffffff;
    border-radius: 0 3px 3px 0;
    background: #0075a9;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); }
    .sub_box > span:first-child::before {
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 0;
      height: 0;
      content: '';
      border-top: 10px solid #005276;
      border-left: 10px solid transparent; }

/* カード内フッター */
.foot {
  margin-top: 20px; }
  .foot > div .btn {
    margin-right: 10px; }
  .foot > div .btn:last-child {
    margin-right: 0; }

.err_msg {
  background: #f0c8c8;
  border: 2px solid #af0404;
  text-align: center;
  margin-bottom: 2rem;
  transition: .3s;
  padding: 1rem;
  color: #af0404;
  display: none;
  line-height: 1.7; }
  .err_msg p {
    color: #af0404; }

.info_msg {
  background-color: #a4f5c8;
  border: #08cc22 solid 2px;
  text-align: center;
  margin-bottom: 2rem;
  transition: .3s;
  padding: 1rem; }
  .info_msg p {
    color: #45ad09; }

/**********************/
/*** 各要素の基本CSS ***/
/**********************/
/* table */
table.table {
  font-weight: bold;
  /* 背景色：薄グレー */ }
  table.table td,
  table.table th {
    border: 1px solid #b7b7b7;
    word-wrap: break-word;
    padding: 3px;
    text-align: center;
    font-size: .8rem; }
  table.table th {
    background-color: #979797;
    color: #ffffff; }
  table.table .bgc_light_gray {
    background-color: #f2f2f2; }
    table.table .bgc_light_gray td,
    table.table .bgc_light_gray th {
      background-color: #c7c7c7; }

/* table(border:separate) */
table.separate {
  border-collapse: separate;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid #b7b7b7;
  border-left: 1px solid #b7b7b7; }
  table.separate > thead > tr > td, table.separate > thead > tr > th, table.separate > tbody > tr > td, table.separate > tbody > tr > th {
    border-top: 1px solid #b7b7b7;
    border-right: 1px solid #b7b7b7;
    border-bottom: none;
    border-left: none; }

/* button */
button.btn, a.btn {
  color: #555555;
  border-top: 3px solid #C6C6C6;
  border-right: 3px solid #4B4B4B;
  border-bottom: 3px solid #5D5D5D;
  border-left: 3px solid #b3b3b3;
  background: linear-gradient(-25deg, #ededed 50%, #ffffff 100%);
  padding: 0.6rem 1rem 0.4rem;
  border-radius: 6px;
  min-width: 100px;
  text-decoration: none; }
  button.btn:disabled, a.btn:disabled {
    opacity: 0.6;
    cursor: default;
    border: 3px inset; }
  button.btn:hover:not(:disabled), a.btn:hover:not(:disabled) {
    color: #ffffff;
    background: #696969; }
  button.btn.bg, a.btn.bg {
    color: #ffffff;
    background: #72726e; }
    button.btn.bg:disabled, a.btn.bg:disabled {
      opacity: 0.5;
      cursor: default;
      border-bottom: 3px solid #313130;
      border-right: 3px solid #72726e;
      color: #000000; }
    button.btn.bg:hover:not(:disabled), a.btn.bg:hover:not(:disabled) {
      background: #696969; }
    button.btn.bg.exis, a.btn.bg.exis {
      background: #46ac46;
      border-top: 3px solid #88d955;
      border-right: 3px solid #288311;
      border-bottom: 3px solid #1d7707;
      border-left: 3px solid #6ad54f; }
      button.btn.bg.exis:hover, a.btn.bg.exis:hover {
        background: #96d396;
        border-top: 3px dotted #5fbb25;
        border-right: 3px dotted #288311;
        border-bottom: 3px dotted #1d7707;
        border-left: 3px dotted #5fbb25; }

/* input[type="text"] */
input[type="text"] {
  display: inline-block;
  border: 1px solid #a7a7a7;
  padding: 0.4rem 0.5rem;
  border-radius: 2px;
  font-weight: bold; }
  input[type="text"]:disabled {
    background-color: #e0e0e0; }
  input[type="text"]::placeholder {
    color: #d5d0d0; }

/* テキストエリア */
textarea {
  border: 1px solid #a7a7a7;
  padding: 0.4rem 0.5rem;
  border-radius: 2px;
  font-weight: bold; }
  textarea::placeholder {
    color: #d5d0d0; }

/* select */
label.select {
  position: relative;
  display: inline-block; }
  label.select > select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0.4rem 2.2rem 0.4rem 0.5rem;
    cursor: pointer;
    border: 1px solid #a7a7a7;
    border-radius: 2px;
    min-width: 8em;
    background: #ffffff;
    display: inline-block;
    font-weight: bold; }
    label.select > select + ::after {
      display: none; }
  label.select::after {
    position: absolute;
    display: block;
    top: 50%;
    right: 15px;
    width: .5em;
    height: .5em;
    content: "";
    pointer-events: none;
    cursor: pointer;
    transform: rotate(45deg) translateY(-100%);
    border: 3px solid #999999;
    border-radius: 2px;
    border-top: 0;
    border-left: 0;
    z-index: 2; }
  label.select.disabled {
    cursor: default; }
    label.select.disabled > select:disabled {
      background-color: #e0e0e0;
      opacity: 1;
      cursor: default; }
    label.select.disabled::after {
      display: none; }

/* checkbox */
label.checkbox {
  display: flex;
  cursor: pointer;
  align-items: center; }
  label.checkbox input[type="checkbox"] {
    display: inline-block;
    position: relative;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid #999999;
    border-radius: 3px;
    cursor: pointer;
    background-color: #ffffff; }
    label.checkbox input[type="checkbox"]::after {
      content: "";
      display: block;
      position: absolute;
      left: 5px;
      bottom: 3px;
      width: 6px;
      height: 13px;
      border: solid #FFFFFF;
      border-width: 0 4px 4px 0;
      transform: rotate(46deg);
      opacity: 0;
      z-index: 2;
      transition: 0.2s; }
    label.checkbox input[type="checkbox"]:checked {
      border-color: #4682B4;
      background-color: #4682B4; }
      label.checkbox input[type="checkbox"]:checked::after {
        opacity: 1; }
  label.checkbox.disabled {
    cursor: default; }
    label.checkbox.disabled input[type="checkbox"]:disabled {
      border-color: #8c8c8c;
      background-color: #8c8c8c;
      cursor: default; }
      label.checkbox.disabled input[type="checkbox"]:disabled::after {
        background-color: #8c8c8c; }
  label.checkbox > span {
    display: inline-block;
    margin-left: 7px; }
  table label.checkbox {
    width: 22px;
    margin: 0 auto; }

/* radio */
label.radio {
  display: flex;
  cursor: pointer;
  align-items: center; }
  label.radio input[type="radio"] {
    display: inline-block;
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    padding: 0;
    border: 1px solid #4682B4;
    cursor: pointer;
    background-color: #ffffff; }
    label.radio input[type="radio"]::after {
      content: "";
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      transform-origin: center;
      width: 14px;
      height: 14px;
      background: #4682B4;
      border-radius: 50%;
      opacity: 0;
      transition: 0.2s; }
    label.radio input[type="radio"]:checked::after {
      opacity: 1; }
  label.radio.disabled {
    cursor: default; }
    label.radio.disabled input[type="radio"]:disabled {
      border-color: #8c8c8c;
      cursor: default; }
      label.radio.disabled input[type="radio"]:disabled::after {
        background: #8c8c8c; }
  label.radio > span {
    display: inline-block;
    margin-left: 7px; }
  table label.radio {
    width: 22px;
    margin: 0 auto; }

/* input[type="file"]（ファイルアップロード） */
label.upload_btn {
  position: relative;
  width: fit-content;
  display: flex;
  align-items: center;
  border-top: 3px solid #C6C6C6;
  border-right: 3px solid #4B4B4B;
  border-bottom: 3px solid #5D5D5D;
  border-left: 3px solid #b3b3b3;
  background: #72726e;
  padding: 0.6rem 1rem 0.4rem;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  min-width: 100px;
  text-align: center;
  /* WF画面 */ }
  label.upload_btn:disabled {
    background-color: #72726e; }
  label.upload_btn:hover:not(.disabled), label.upload_btn.draggable {
    color: #ffffff;
    background-color: aliceblue;
    border-style: dotted; }
    label.upload_btn:hover:not(.disabled)::before, label.upload_btn.draggable::before {
      content: "ドラッグ＆ドロップ可";
      color: #999999;
      font-size: 17px;
      position: absolute;
      top: 0;
      left: 0;
      transform: scale(0.5) translate(-50%, -50%);
      width: 200%;
      height: 200%;
      display: grid;
      align-items: center;
      border-radius: 6px;
      background-color: aliceblue; }
  label.upload_btn.change {
    animation: blinkBorder 0.5s ease infinite alternate; }

@keyframes blinkBorder {
  0% {
    background: #bdbcbc;
    border: 3px solid #bdbcbc; } }
  label.upload_btn.exis {
    background: #46ac46;
    border-top: 3px solid #88d955;
    border-right: 3px solid #288311;
    border-bottom: 3px solid #1d7707;
    border-left: 3px solid #6ad54f; }
  label.upload_btn.wf {
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    border-radius: 4px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
    font-weight: bold;
    height: 24px;
    width: 90%;
    background: #4a9bde;
    border: solid 3px #4787c6;
    padding: 0;
    font-size: 10px;
    display: grid;
    margin: 0 auto; }
    label.upload_btn.wf::after {
      content: "アップロード"; }
    label.upload_btn.wf.shokeihi::after {
      content: "格納"; }
    label.upload_btn.wf:hover:not(.disabled) {
      background: #acd2e7;
      border: solid 3px #a7c6e2; }
    label.upload_btn.wf.change {
      animation: blinkBorder_wf 0.5s ease infinite alternate; }

@keyframes blinkBorder_wf {
  0% {
    background: #bed5e4;
    border: 3px solid #bed5e4; } }
      label.upload_btn.wf.change::after {
        content: "保存前"; }
    label.upload_btn.wf.exis {
      background: #42af42;
      border: 3px solid #1a7f01; }
      label.upload_btn.wf.exis::after {
        content: "変更"; }
  label.upload_btn input[type="file"] {
    width: 270%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: unset;
    opacity: 0;
    cursor: pointer;
    transform: rotate(0.5turn); }
  label.upload_btn span {
    color: #ffffff; }
  label.upload_btn.disabled {
    opacity: 0.5;
    cursor: default;
    border-bottom: 3px solid #2f2f2f; }
    label.upload_btn.disabled input[type="file"] {
      cursor: default; }
    label.upload_btn.disabled span {
      color: #000000;
      opacity: 0.6; }

button.confirm_btn {
  color: #FFF;
  border-radius: 4px;
  border: 3px solid #1a7f01;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  font-weight: bold;
  height: 24px;
  width: 90%;
  font-size: 10px;
  margin: 0 auto;
  background: #42af42; }
  button.confirm_btn:hover {
    background: #96d396;
    border: solid 3px #81aa77; }
  button.confirm_btn:disabled {
    background-color: #c5c5c5;
    border: 3px solid #9d9d9d; }

/**********************/
/***      特殊      ***/
/**********************/
/* タブ切替え */
.tab {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 25px;
  /* tab見出し */
  /* 本文 */
  /* 表示時 */ }
  .tab > input[type="radio"] {
    display: none; }
  .tab > label {
    margin-right: 6px;
    padding: 7px 12px 6px;
    order: -1;
    border-radius: 5px 5px 0 0;
    background: #c6e5ff;
    border: 1px solid #808080;
    border-bottom: none;
    transition: 0.2s;
    cursor: pointer;
    width: 160px;
    text-align: center;
    position: relative; }
  .tab .tab_content {
    padding: 15px 20px 15px;
    border: 1px solid #808080;
    width: 100%;
    display: none;
    box-shadow: 5px 5px 5px 0px rgba(63, 61, 61, 0.2); }
  .tab input:checked + label {
    background: #ffffff; }
    .tab input:checked + label::after {
      position: absolute;
      bottom: -1px;
      right: 0;
      width: 100%;
      height: 1px;
      content: "";
      display: block;
      background: #ffffff; }
    .tab input:checked + label + .tab_content {
      display: block;
      transition: 0.2s opacity; }

/* 入力項目羅列 */
.input_enum {
  display: flex;
  flex-wrap: wrap;
  align-items: center; }
  .input_enum > div {
    margin: 5px 30px 10px 5px; }
    .input_enum > div > span {
      display: inline-block;
      min-width: 5rem;
      text-align-last: justify;
      margin-right: 1rem; }
    .input_enum > div:last-of-type {
      margin-right: 0; }

/* カレンダー機能 */
label.calendar, label.ym_calendar, label.clock {
  display: inline-block;
  position: relative; }
  label.calendar input[type="text"], label.ym_calendar input[type="text"], label.clock input[type="text"] {
    width: 138px;
    padding-right: 25px; }
    label.calendar input[type="text"]:disabled + button, label.ym_calendar input[type="text"]:disabled + button, label.clock input[type="text"]:disabled + button {
      cursor: default; }
      label.calendar input[type="text"]:disabled + button i, label.ym_calendar input[type="text"]:disabled + button i, label.clock input[type="text"]:disabled + button i {
        color: #8c8c8c; }
  label.calendar button, label.ym_calendar button, label.clock button {
    position: absolute;
    right: 4px;
    width: 21px;
    height: 30px;
    top: 1px; }
    label.calendar button i, label.ym_calendar button i, label.clock button i {
      font-size: 1.1rem;
      color: #4682B4; }

label.ym_calendar input[type="text"] {
  width: 110px; }

/* カレンダー本体 */
.flatpickr-calendar {
  -webkit-box-shadow: 1px 0 0 #959595, -1px 0 0 #959595, 0 1px 0 #959595, 0 -1px 0 #959595, 0 3px 13px rgba(0, 0, 0, 0.08) !important;
  box-shadow: 1px 0 0 #959595, -1px 0 0 #959595, 0 1px 0 #959595, 0 -1px 0 #959595, 0 3px 13px rgba(0, 0, 0, 0.08) !important;
  /* ヘッダーエリア */
  /* 年月エリア */
  /* 曜日エリア */ }
  .flatpickr-calendar.arrowTop {
    margin-top: 1px; }
    .flatpickr-calendar.arrowTop::before {
      border-bottom-color: #959595 !important; }
    .flatpickr-calendar.arrowTop::after {
      border-bottom-color: #a7d5fc !important; }
  .flatpickr-calendar.arrowBottom {
    margin-bottom: 1px; }
    .flatpickr-calendar.arrowBottom::before {
      border-top-color: #959595 !important; }
  .flatpickr-calendar .flatpickr-months {
    background-color: #a7d5fc;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px; }
    .flatpickr-calendar .flatpickr-months .flatpickr-month {
      height: 37px; }
    .flatpickr-calendar .flatpickr-months .flatpickr-next-month:hover svg {
      fill: #0075a9; }
  .flatpickr-calendar .flatpickr-current-month {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: unset;
    height: 37px;
    flex-direction: row-reverse; }
    .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
      background: #ffffff;
      border: 1px solid #a7a7a7;
      border-radius: 2px;
      font-size: 1rem;
      padding: 2px 5px;
      margin: 0; }
      .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
        background: #ffffff; }
    .flatpickr-calendar .flatpickr-current-month .numInputWrapper {
      width: 10ch; }
      .flatpickr-calendar .flatpickr-current-month .numInputWrapper span {
        opacity: 1;
        cursor: pointer; }
      .flatpickr-calendar .flatpickr-current-month .numInputWrapper::before {
        content: "年";
        position: absolute;
        right: 22px;
        top: 9px;
        font-size: 0.9em; }
      .flatpickr-calendar .flatpickr-current-month .numInputWrapper input[type="number"].numInput.cur-year {
        cursor: text;
        background: #ffffff;
        display: inline-block;
        border: 1px solid #a7a7a7;
        padding: 0.2rem 0.5rem;
        border-radius: 2px;
        font-size: 1rem; }
  .flatpickr-calendar .flatpickr-weekdays {
    background-color: #e1f0fc; }
    .flatpickr-calendar .flatpickr-weekdays .flatpickr-weekdaycontainer {
      padding-top: 3px; }

.loader {
  color: #4682B4;
  font-size: 20px;
  margin: 100px auto;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0); }

@-webkit-keyframes load4 {
  0%, 100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em; }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em; }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em; }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0; }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em; } }

@keyframes load4 {
  0%, 100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em; }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em; }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em; }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0; }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em; } }

/* ページリンク */
.nav_links {
  display: flex;
  justify-content: right;
  margin-top: 15px;
  margin-right: 5px;
  cursor: default; }
  .nav_links a,
  .nav_links span {
    font-size: 1em;
    margin: 0 3px;
    width: 33px;
    height: 33px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    transition: 0.1s;
    line-height: 33px; }
  .nav_links a {
    text-decoration: none; }
    .nav_links a:hover {
      text-decoration: underline;
      background-color: #ceebeb;
      box-shadow: 0 0 3px 1px #ceebeb; }
  .nav_links .current {
    background: rgba(40, 67, 219, 0.3); }

/**********************/
/***    個別定義    ***/
/**********************/
.color_red {
  color: #ff0000 !important; }

.tx_c {
  text-align: center !important; }

.tx_r {
  text-align: right !important; }

.tx_l {
  text-align: left !important; }

.fx {
  display: flex; }

.fx_c, .foot > div {
  display: flex;
  align-items: center;
  justify-content: center; }

.fx_b, .foot {
  display: flex;
  align-items: center;
  justify-content: space-between; }

.fx_a {
  display: flex;
  align-items: center;
  justify-content: space-around; }

.fx_r {
  display: flex;
  align-items: center;
  justify-content: right; }

.vertical_rl {
  writing-mode: vertical-rl;
  letter-spacing: 0.6em; }

.veralign_top {
  vertical-align: top; }

.border_none {
  border: none !important; }

ul li {
  list-style: none; }

/**********************/
/***    余白定義    ***/
/**********************/
/* marginの定義 */
.mrgn.a10 {
  margin: 10px; }

.mrgn.a20 {
  margin: 20px; }

.mrgn.a30 {
  margin: 30px; }

.mrgn.a40 {
  margin: 40px; }

.mrgn.a50 {
  margin: 50px; }

.mrgn.l10 {
  margin-left: 10px; }

.mrgn.l20 {
  margin-left: 20px; }

.mrgn.l30 {
  margin-left: 30px; }

.mrgn.l40 {
  margin-left: 40px; }

.mrgn.l50 {
  margin-left: 50px; }

.mrgn.r10 {
  margin-right: 10px; }

.mrgn.r20 {
  margin-right: 20px; }

.mrgn.r30 {
  margin-right: 30px; }

.mrgn.r40 {
  margin-right: 40px; }

.mrgn.r50 {
  margin-right: 50px; }

.mrgn.t10 {
  margin-top: 10px; }

.mrgn.t20 {
  margin-top: 20px; }

.mrgn.t30 {
  margin-top: 30px; }

.mrgn.t40 {
  margin-top: 40px; }

.mrgn.t50 {
  margin-top: 50px; }

.mrgn.b10 {
  margin-bottom: 10px; }

.mrgn.b20 {
  margin-bottom: 20px; }

.mrgn.b30 {
  margin-bottom: 30px; }

.mrgn.b40 {
  margin-bottom: 40px; }

.mrgn.b50 {
  margin-bottom: 50px; }

/* paddingの定義 */
.paddn.a10 {
  padding: 10px; }

.paddn.a20 {
  padding: 20px; }

.paddn.a30 {
  padding: 30px; }

.paddn.a40 {
  padding: 40px; }

.paddn.a50 {
  padding: 50px; }

.paddn.l10 {
  padding-left: 10px; }

.paddn.l20 {
  padding-left: 20px; }

.paddn.l30 {
  padding-left: 30px; }

.paddn.l40 {
  padding-left: 40px; }

.paddn.l50 {
  padding-left: 50px; }

.paddn.r10 {
  padding-right: 10px; }

.paddn.r20 {
  padding-right: 20px; }

.paddn.r30 {
  padding-right: 30px; }

.paddn.r40 {
  padding-right: 40px; }

.paddn.r50 {
  padding-right: 50px; }

.paddn.t10 {
  padding-top: 10px; }

.paddn.t20 {
  padding-top: 20px; }

.paddn.t30 {
  padding-top: 30px; }

.paddn.t40 {
  padding-top: 40px; }

.paddn.t50 {
  padding-top: 50px; }

.paddn.b10 {
  padding-bottom: 10px; }

.paddn.b20 {
  padding-bottom: 20px; }

.paddn.b30 {
  padding-bottom: 30px; }

.paddn.b40 {
  padding-bottom: 40px; }

.paddn.b50 {
  padding-bottom: 50px; }

/*TOPメッセージ*/
#top_msg_area {
  display: flex;
  justify-content: center; }
  #top_msg_area > .info_msg {
    animation: fadeIn 1s ease 1s 1 normal backwards;
    position: fixed;
    top: 60px;
    width: 50%;
    z-index: 100; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
  #top_msg_area > .err_msg {
    animation: fadeIn .5s ease .1s 1 normal backwards;
    position: fixed;
    top: 60px;
    z-index: 100;
    width: 80%; }
    #top_msg_area > .err_msg p {
      width: 98%; }
    #top_msg_area > .err_msg .batsu {
      float: right;
      display: block;
      position: relative;
      width: 2%;
      height: 22px; }
    #top_msg_area > .err_msg .batsu::before, #top_msg_area > .err_msg .batsu::after {
      /* 共通設定 */
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 4px;
      /* 棒の幅（太さ） */
      height: 20px;
      /* 棒の高さ */
      background: #af0404; }
    #top_msg_area > .err_msg .batsu::before {
      transform: translate(-50%, -50%) rotate(45deg); }
    #top_msg_area > .err_msg .batsu::after {
      transform: translate(-50%, -50%) rotate(-45deg); }

div.market_select {
  display: flex;
  align-items: center; }

label#open_market {
  width: 483px;
  height: 32px;
  border: 1px solid #a7a7a7; }
  label#open_market span#market_input {
    width: 94%;
    height: 100%;
    border: none;
    background: white;
    display: inline-block;
    font-weight: bold;
    padding: 0.4em 0.5em;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap; }
    label#open_market span#market_input.scroll_bar {
      background-color: #f0f0f0;
      overflow-y: scroll;
      width: 250px;
      height: 5px; }
    label#open_market span#market_input::-webkit-scrollbar {
      width: 0px;
      height: 5px; }
    label#open_market span#market_input::-webkit-scrollbar-track {
      background-color: white; }
    label#open_market span#market_input::-webkit-scrollbar-thumb {
      background-color: #4682b4;
      border-radius: 10px; }

.layer {
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .1s linear, visibility .1s linear, z-index .1s linear; }

.layer.is-open {
  z-index: 999;
  opacity: 1;
  visibility: visible; }

.layer.is-open .modal {
  opacity: 1;
  visibility: visible; }

.modal__button-wrap {
  position: absolute;
  width: 100px;
  height: 100px;
  right: -42px;
  top: -80px;
  display: inline-flex; }

.close-button {
  border-radius: 50%;
  padding: 0;
  border: transparent;
  cursor: pointer; }

.close-button span {
  width: 34px;
  height: 6px;
  background: #fff;
  display: inline-block;
  position: absolute;
  left: calc(50% - 12px);
  top: 50%;
  border-radius: 20px; }

.close-button span:nth-child(1) {
  transform: rotate(45deg) translate(-1px, -1px); }

.close-button span:nth-child(2) {
  transform: rotate(-45deg) translate(1px, -1px); }

.modal {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  width: 72%;
  height: 70%;
  min-width: 440px;
  opacity: 0;
  visibility: hidden;
  transition: visibility .1s linear, opacity .1s linear; }

.modal__inner {
  margin-top: 125px;
  height: 100%;
  margin-bottom: 125px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 13px;
  display: block;
  padding: 21px 8px 21px;
  height: auto; }

div.modal__content {
  display: flex;
  flex-flow: column;
  flex-wrap: wrap;
  padding: 20px; }
  div.modal__content div.row_market {
    background: #bed7eb;
    width: 143px;
    margin-bottom: 6px;
    font-weight: bold; }
    div.modal__content div.row_market label.checkbox.check_area {
      margin: 4px;
      font-size: 15px;
      width: 140px; }
      div.modal__content div.row_market label.checkbox.check_area input[type="checkbox"] {
        margin-right: 3px; }
  div.modal__content table tr {
    height: 35px; }
  div.modal__content table label.checkbox {
    width: 100%;
    margin: 3px;
    font-weight: bold;
    font-size: 15px; }
    div.modal__content table label.checkbox input[type="checkbox"] {
      margin-right: 3px; }
  div.modal__content button.btn.bg {
    margin-top: 18px;
    width: 190px;
    margin-left: auto;
    margin-right: auto;
    background: #4682b4;
    border-top: 3px solid #4682b4;
    border-right: 3px solid #4682b4;
    border-bottom: 3px solid #4682b4;
    border-left: 3px solid #4682b4;
    height: 45px; }
    div.modal__content button.btn.bg:hover {
      background: #1d5f97;
      border-top: 3px solid #1d5f97;
      border-right: 3px solid #1d5f97;
      border-bottom: 3px solid #1d5f97;
      border-left: 3px solid #1d5f97; }

footer {
  position: fixed;
  bottom: 0;
  width: 100%; }
  footer div#footer {
    margin: 0 auto;
    margin-bottom: 10px;
    background: white;
    border: double 5px #0075a9; }
    footer div#footer.open {
      width: 25%;
      height: 40px;
      border-radius: 9999px; }
      footer div#footer.open p {
        margin: 7px;
        font-weight: bold;
        text-align: center;
        color: #0075a9; }
    footer div#footer.close {
      width: 40px;
      height: 40px;
      border-radius: 9999px;
      background: #ffffff96;
      opacity: 0.8;
      border: 5px double rgba(0, 117, 169, 0.7); }
      footer div#footer.close p {
        margin: 4px 8px;
        font-weight: bold;
        text-align: center;
        color: #0075a9;
        opacity: 0.7; }

button#copy_ok {
  background: #4682b4;
  border: unset;
  border-radius: unset;
  width: 192px;
  height: 40px; }
  button#copy_ok.btn.bg.ok {
    background: #ffc239;
    border-top: 3px solid #ffc800;
    border-right: #ffc239;
    border-bottom: #ffc239;
    border-left: 3px solid #ffc239; }

div.modal__contents.casefav {
  padding: 10px 10px 10px 20px;
  font-weight: bold;
  overflow-wrap: anywhere; }
  div.modal__contents.casefav table {
    width: 847px; }
    div.modal__contents.casefav table th {
      color: red;
      width: 120px;
      vertical-align: text-bottom;
      position: sticky;
      top: 0;
      z-index: 1; }
    div.modal__contents.casefav table td {
      max-height: 80px;
      display: block;
      overflow-y: auto;
      vertical-align: text-bottom; }

table#caseFavTbl {
  display: block;
  width: 850px;
  margin: 0 auto;
  max-height: 400px;
  overflow-y: scroll; }
  table#caseFavTbl thead {
    background: #4682B4;
    position: sticky;
    z-index: 100;
    top: 0; }
    table#caseFavTbl thead th {
      color: white;
      font-size: 12px; }
      table#caseFavTbl thead th:nth-child(1) {
        width: 400px; }
      table#caseFavTbl thead th:nth-child(2), table#caseFavTbl thead th:nth-child(3), table#caseFavTbl thead th:nth-child(4) {
        width: 150px; }
  table#caseFavTbl th, table#caseFavTbl td {
    height: 50px;
    border: 1px dotted; }
  table#caseFavTbl input.favNm {
    width: 97%;
    height: 35px;
    margin: 0 5px;
    padding: 0px 5px; }
  table#caseFavTbl button {
    margin: 0 auto;
    height: 35px;
    line-height: 1;
    font-weight: bold;
    letter-spacing: 5px; }
    table#caseFavTbl button.btn.bg.fav.del {
      background: #ffe909;
      color: #766f67;
      border-top: 3px solid #dada70;
      border-bottom: 3px solid #a1a13c;
      border-right: 3px solid #a1a13c;
      border-left: 3px solid #dada70; }
    table#caseFavTbl button.btn.bg.create {
      width: 98%; }
