/**共通 start ***************************/

body {
  background-color: #f3f3f3;
  font-size: 14px;
  line-height: 20px;
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  display: flex; /* フッターの位置用：フレックスボックスに有効に */
  flex-flow: column; /* フッターの位置用：要素を縦に並べる */
  min-height: 100vh; /* フッターの位置用：最小でも画面の高さ分のbodyの高さを担保する */
}

header {
  background-color: #7fbfff;
  padding: 10px 0px;
  height: 60px;
}

header .inner-wrap {
  width: 1300px;
  margin: 0px auto;
}

header #system_name {
  line-height: normal;
  font-size: 24px;
  color: #ffffff;
  float: left;
}

header #head_btn {
  float: right;
}

header #head_btn .user-label {
  font-weight: bold;
  font-size: 18px;
  margin: 0 30px 0 10px;
}

.btn-menu,
#spmenu {
  display: none !important;
}

main {
  flex: 1; /* フッターの位置用：画面の高さから他の同レイヤーの要素の高さを引いた値に */
}

footer #copy {
  width: 100%;
  height: auto;
  text-align: center;
  font-size: 14px;
  line-height: 25px;
  color: #fff;
  background-color: #7fbfff;
}

.content-wrap {
  width: 1300px;
  background-color: #ffffff;
  word-break: break-all;
  margin: 30px auto;
  padding: 20px;
  border-radius: 5px;
}

#title_wrap {
  /** 画面タイトル **/
  font-size: 18px;
  font-weight: bold;
  border-left: 5px solid #0d6efd;
  background-color: #e0efff;
  padding: 10px;
  border-radius: 5px;
}

#item_wrap {
  /** 画面項目領域 **/
  margin: 20px;
}

#search_wrap {
  /** 検索条件領域 **/
  padding: 10px 0 20px;
}

#search_wrap .item-name {
  /** 検索条件の項目名 **/
  margin-right: 30px;
  font-weight: bold;
  line-height: 35px;
}

.serch-btn {
  /** 検索ボタン **/
  width: 100px;
  margin-left: 50px;
}

.table-header {
  /** 一覧ヘッダー **/
  background-color: #7fbfff;
}

.required {
  /** 必須 **/
  font-weight: bold;
  color: #ff0000;
  margin-left: 10px;
}

.group-item-select {
  /** 横並び項目（ドロップダウンリスト） **/
  width: 40%;
}

.group-item-text {
  /** 横並び項目（テキスト） **/
  width: 60%;
}

#item_wrap dl dt {
  /** 項目名の要素 **/
  width: 200px;
  line-height: 40px;
  height: 40px;
  padding: 0px 15px;
}

#item_wrap dl dd {
  /** 項目の要素 **/
  padding: 10px 15px 10px 200px;
  margin: -50px 0px 0px 0px;
  line-height: 30px;
}

#item_wrap dl dd input {
  /** 入力項目 **/
  display: inline;
}

.text-s {
  /** テキストボックスSサイズ **/
  width: 150px;
}

.content-text {
  /** 内容テキストエリア **/
  height: 300px;
}

/**共通 end *****************************/

/**出張費申請承認画面 start ***************************/

#travel_expenses_approval_table {
  width: 1024px;
  line-height: 31px;
  border-color: transparent;
}

#travel_expenses_approval_table th {
  width: 200px;
  height: 50px;
  padding-left: 15px;
}

/***出張費申請承認画面  end *****************************/

/*************************************************************/
/**スマホ対応 start ******************************************/
/*************************************************************/

@media (max-width: 768px) {
  /**共通 start ***************************/

  header .inner-wrap,
  .content-wrap {
    width: 100%;
  }

  header #system_name {
    padding-left: 10px;
  }

  #search_wrap .item-name {
    margin-right: 10px;
  }

  .serch-btn {
    width: auto;
    margin-left: 20px;
  }

  #item_wrap dl dt {
    /** 項目名 **/
    display: block;
    padding: 0;
    line-height: normal;
    height: auto;
  }

  #item_wrap dl dd {
    /** 項目 **/
    display: block;
    padding: 5px 0 15px 0 !important;
    margin: 0px 0px 15px 0px;
    height: auto;
    min-height: 30px;
  }

  #item_wrap dl dd.radio-form {
    display: flex;
  }

  .group-item-select,
  .group-item-text {
    /** 横並び項目 **/
    width: 100% !important;
    margin-bottom: 10px;
  }

  #up_file_list li {
    /** 添付ファイルリスト **/
    display: block;
  }

  /**共通 end *****************************/

  /**ハンバーガーメニュー start ********************************/

  #head_btn {
    display: none !important;
  }

  .btn-menu,
  #spmenu {
    display: block !important;
  }

  #spmenu_btn {
    display: block;
    width: 50px;
    height: 50px;
    position: fixed;
    right: 20px;
    top: 5px;
  }

  #spmenu_btn button {
    display: block;
    width: 50px;
    height: 50px;
    border: 1px solid #ccc;
    background-color: #fff;
    background-image: url(../image/spmenubtn.svg);
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 40px;
    background-size: 25px auto;
  }

  #spmenu {
    position: fixed;
    top: 10px;
    left: 20px;
    width: 220px;
    height: auto;
    transition: all 0.2s;
    transform: translate(-250px);
    z-index: 1000;
  }
  #spmenu.open {
    transform: translate(0);
  }

  ul#spmainmenu {
    width: 220px;
    height: auto;
    display: block;
    background-color: #147dc1;
    border-radius: 5px;
  }
  ul#spmainmenu li {
    display: block;
    width: auto;
    height: auto;
    float: none;
    clear: both;
    border-bottom: 1px solid #e2eef6;
    padding: 10px 10px;
  }
  ul#spmainmenu li:last-child {
    border: none !important;
  }
  ul#spmainmenu li a {
    display: block;
    width: auto;
    height: auto;
    color: #fff;
    height: auto;
    line-height: 20px;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  ul#spmainmenu .manual-link a {
    display: inline;
  }

  /**ハンバーガーメニュー end *****************************/
}

/******************************************************************/
/**スマホ対応 end *************************************************/
/******************************************************************/
