@charset "UTF-8";
html {
  width: 100%;
  font-size: 100%;
}
body {
  -webkit-text-size-adjust: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 16px;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
* {
  max-width: 100%;
  max-height: 999999px;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 16px;
  font-family: inherit;
  font-weight: 300;
  font-style: normal;
  letter-spacing: inherit;
  line-height: inherit;
  outline: none;
  box-sizing: border-box;
  font-feature-settings: "palt";
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
*:before, *:after {
  box-sizing: border-box;
}
* * {
  color: inherit;
  font-size: inherit;
}
a {
  color: #333;
  outline: none;
  text-decoration: none;
}
a:active, a:hover {
  text-decoration: underline;
}
a * {
  color: inherit;
}
label {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}
input {
  border: none;
  vertical-align: bottom;
}
input[type="button"], input[type="reset"], input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
input[type="checkbox"], input[type="radio"] {
  margin-right: 5px;
}
input[type="search"] {
  -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[disabled] {
  cursor: default;
}
button {
  border: none;
  cursor: pointer;
  vertical-align: bottom;
  -webkit-appearance: button;
  background-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
button[disabled] {
  cursor: default;
}
select, textarea {
  vertical-align: bottom;
}
@media (min-width: 769px) {
  a:hover img, input[type="submit"]:hover, input[type="reset"]:hover, button:hover {
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
    opacity: 0.6;
  }
}
b, strong {
  font-weight: 700;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
  line-height: 1;
}
ul, ol {
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
}
ul li, ol li {
  list-style: none;
}
audio, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary, progress, video {
  display: block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden], template {
  display: none;
}
svg {
  width: auto;
  height: auto;
  vertical-align: bottom;
}
svg:not(:root) {
  overflow: hidden;
}
pre {
  overflow: auto;
}
code, kbd, pre, samp {
  font-family: monospace, monospace;
}
table {
  table-layout: fixed;
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}
table th, table td {
  text-align: left;
  font-weight: normal;
  vertical-align: top;
}
hr {
  display: block;
  width: 0;
  height: 0;
  border: 0;
}
.load a, .load img, .load input, .load svg, .load *:before, .load *:after {
  transition: opacity 0.7s;
}
.entry:after {
  content: "";
  display: block;
  height: 0;
  font-size: 0;
  line-height: 0;
  visibility: hidden;
  clear: both;
}
.entry > * {
  margin-top: 1.5em;
}
.entry > *:first-child {
  margin-top: 0;
}
.entry ul, .entry ol {
  margin-top: 0.7em;
}
.entry .alignleft, .entry .alignright, .entry .aligncenter {
  margin-bottom: 5px;
}
.entry .alignleft {
  float: left;
  display: inline;
  margin-right: 10px;
  margin-top: 4px;
}
.entry .alignright {
  float: right;
  display: inline;
  margin-left: 10px;
  margin-top: 4px;
}
.entry .aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 769px) {
  .sp {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  body {
    min-width: inherit;
  }
  .pc {
    display: none !important;
  }
}
html {
  background-color: #fafafa;
}
#sidebar {
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 240px;
  height: 100vh;
  background-color: #333;
}
#sidebar h1 {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  height: 60px;
  padding-left: 23px;
  border-bottom: 1px rgba(255, 255, 255, 0.15) solid;
  background-color: #5ac7dc;
}
#sidebar h1 a {
  text-decoration: none;
  transition: opacity 0.7s;
}
#sidebar h1 a:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  #sidebar h1 a:hover {
    opacity: 1;
  }
}
#sidebar h1 a:hover img {
  opacity: 1;
}
#sidebar h1 img {
  display: block;
  width: auto;
  height: 32px;
}
#sidebar nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
#sidebar nav li {
  border-bottom: 1px rgba(255, 255, 255, 0.12) solid;
}
#sidebar nav li a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  font-size: 0.9em;
  text-decoration: none;
  border-left: 3px transparent solid;
  transition: background-color 0.3s;
}
#sidebar nav li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
#sidebar nav li a.current {
  border-left-color: #5ac7dc;
  background-color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}
#sidebar nav li a small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7em;
  letter-spacing: 0;
}
#sidebar #sidebar_foot {
  flex-shrink: 0;
  padding: 15px 20px;
  border-top: 1px rgba(255, 255, 255, 0.15) solid;
}
#sidebar #sidebar_foot #to_admin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px rgba(255, 255, 255, 0.4) solid;
  border-radius: 5px;
  color: #fff;
  font-size: 0.8em;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.7s;
}
#sidebar #sidebar_foot #to_admin:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  #sidebar #sidebar_foot #to_admin:hover {
    opacity: 1;
  }
}
#sidebar #sidebar_foot #to_admin:hover img {
  opacity: 1;
}
#sidebar #sidebar_foot .role_now {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75em;
  text-align: center;
  line-height: 1.6;
}
#sidebar #sidebar_foot .role_now b {
  color: #5ac7dc;
  font-size: 1.1em;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  #sidebar {
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  #sidebar.open {
    transform: translateX(0);
  }
}
#sidebar_overlay {
  display: none;
}
@media screen and (max-width: 768px) {
  #sidebar_overlay.open {
    display: block;
    position: fixed;
    z-index: 150;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
}
header {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 0 10px;
  background-color: #5ac7dc;
}
header #sidebar_toggle {
  display: none;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  padding: 0;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.7s;
}
header #sidebar_toggle:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  header #sidebar_toggle:hover {
    opacity: 1;
  }
}
header #sidebar_toggle:hover img {
  opacity: 1;
}
header #sidebar_toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background-color: #fff;
  transition: background-color 0.3s;
}
header #sidebar_toggle span::before, header #sidebar_toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s;
}
header #sidebar_toggle span::before {
  top: -6px;
}
header #sidebar_toggle span::after {
  top: 6px;
}
header #sidebar_toggle.open span {
  background-color: transparent;
}
header #sidebar_toggle.open span::before {
  transform: translateY(6px) rotate(45deg);
}
header #sidebar_toggle.open span::after {
  transform: translateY(-6px) rotate(-45deg);
}
@media screen and (max-width: 768px) {
  header #sidebar_toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
}
header h1 {
  flex-shrink: 0;
}
header h1 img {
  display: block;
  width: auto;
  height: 32px;
}
header #user_nav {
  flex-shrink: 1;
  min-width: 0;
  margin-left: auto;
  padding-left: 20px;
}
header #user_nav #user_nav_inline {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
header #user_nav #user_nav_inline span {
  max-width: 260px;
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
header #user_nav #user_nav_inline .nav_links {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}
header #user_nav #user_nav_inline .nav_links a {
  flex-shrink: 0;
  color: #fff;
  font-size: 0.75em;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.7s;
}
header #user_nav #user_nav_inline .nav_links a:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  header #user_nav #user_nav_inline .nav_links a:hover {
    opacity: 1;
  }
}
header #user_nav #user_nav_inline .nav_links a:hover img {
  opacity: 1;
}
header #user_nav #user_nav_toggle {
  display: none;
}
header #user_nav #user_nav_dropdown {
  display: none;
}
@media screen and (max-width: 768px) {
  header #user_nav {
    position: relative;
    padding-left: 10px;
  }
  header #user_nav #user_nav_inline {
    display: none;
  }
  header #user_nav #user_nav_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 0.9em;
    font-weight: 700;
    line-height: 1;
    background-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.7s;
  }
  header #user_nav #user_nav_toggle:hover {
    text-decoration: none;
    opacity: 0.6;
  }
  header #user_nav #user_nav_toggle:hover img {
    opacity: 1;
  }
  header #user_nav #user_nav_dropdown {
    position: absolute;
    z-index: 200;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 15px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }
  header #user_nav #user_nav_dropdown.open {
    display: block;
  }
  header #user_nav #user_nav_dropdown span {
    display: block;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px #e1e1e1 solid;
    color: #333;
    font-size: 0.8em;
    font-weight: 700;
    word-break: break-all;
  }
  header #user_nav #user_nav_dropdown a {
    display: block;
    color: #333;
    font-size: 0.85em;
    text-decoration: none;
    transition: opacity 0.7s;
  }
  header #user_nav #user_nav_dropdown a:hover {
    text-decoration: none;
    opacity: 0.6;
  }
  header #user_nav #user_nav_dropdown a:hover img {
    opacity: 1;
  }
  header #user_nav #user_nav_dropdown a + a {
    margin-top: 10px;
  }
}
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  header #user_nav #user_nav_toggle:hover {
    opacity: 1;
  }
}
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  header #user_nav #user_nav_dropdown a:hover {
    opacity: 1;
  }
}
@media screen and (max-width: 768px) {
  header {
    padding: 0 8px;
  }
}
body.has_sidebar #wrapper {
  margin-left: 240px;
}
@media screen and (max-width: 768px) {
  body.has_sidebar #wrapper {
    margin-left: 0;
  }
}
body.has_sidebar header {
  left: 240px;
  width: calc(100% - 240px);
}
body.has_sidebar header h1 {
  display: none;
}
@media screen and (max-width: 768px) {
  body.has_sidebar header {
    left: 0;
    width: 100%;
  }
  body.has_sidebar header h1 {
    display: block;
  }
}
body.has_sidebar main {
  min-height: 100vh;
}
body.no_sidebar main {
  display: flex;
  flex-wrap: wrap;
  min-height: calc(100vh - 40px);
  padding: 80px 20px 40px;
}
@media screen and (max-width: 768px) {
  body.no_sidebar main {
    padding: 80px 15px 40px;
  }
}
body.no_sidebar main #login {
  margin: auto;
}
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: #fff;
  font-size: 0.8em;
  text-align: center;
  background-color: #333;
}
main {
  padding: 90px 30px 50px;
  min-height: calc(100vh - 40px);
}
@media screen and (max-width: 768px) {
  main {
    padding: 80px 15px 40px;
  }
}
main > * + * {
  margin-top: 40px;
}
main #message {
  max-width: 900px;
  padding: 10px;
  border: 3px #006fbc solid;
  border-radius: 5px;
  font-size: 0.9em;
  background-color: #fff;
}
main #message.error {
  border-color: #f00;
}
main #search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border: 1px #333 solid;
  border-radius: 5px;
  overflow: hidden;
}
main #search input {
  width: calc(100% - 100px);
  height: 50px;
  padding-left: 15px;
}
main #search button {
  width: 100px;
  height: 50px;
  border: none;
  color: #fff;
  background-color: #333;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #search button:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #search button:hover {
    opacity: 1;
  }
}
main #search button:hover img {
  opacity: 1;
}
main #new_btn a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 100px;
  height: 34px;
  padding: 0 16px;
  border-radius: 5px;
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
  background-color: #006fbc;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #new_btn a:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #new_btn a:hover {
    opacity: 1;
  }
}
main #new_btn a:hover img {
  opacity: 1;
}
main #new_btn + * {
  margin-top: 15px;
}
main #archive_01 {
  border: 1px #e1e1e1 solid;
}
main #archive_01 > li:nth-child(odd) {
  background-color: #fff;
}
main #archive_01 > li:nth-child(even) {
  background-color: #f6f6f6;
}
main #archive_01 > li a {
  display: block;
  padding: 20px;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #archive_01 > li a:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #archive_01 > li a:hover {
    opacity: 1;
  }
}
main #archive_01 > li a:hover img {
  opacity: 1;
}
main #archive_01 > li a span {
  display: block;
  color: #006fbc;
  font-size: 0.8em;
}
main .pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
main .pager > li {
  margin: 0 10px;
}
main .pager > li a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border: 1px #707070 solid;
  border-radius: 5px;
  padding: 10px;
  color: #707070;
  line-height: 1;
  background-color: #fff;
  text-decoration: none;
  transition: opacity 0.7s;
}
main .pager > li a:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main .pager > li a:hover {
    opacity: 1;
  }
}
main .pager > li a:hover img {
  opacity: 1;
}
main .pager > li a.current {
  border-color: #3463e9;
  color: #3463e9;
}
main #edit [name="project_name"] {
  display: block;
  width: 100%;
  height: 50px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  padding: 0 15px;
  font-size: 1.5em;
  background-color: #fff;
}
main #edit [type="submit"] {
  display: block;
  width: 250px;
  height: 50px;
  margin: 40px auto 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  background-color: #006fbc;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit [type="submit"]:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit [type="submit"]:hover {
    opacity: 1;
  }
}
main #edit [type="submit"]:hover img {
  opacity: 1;
}
main #edit #pdf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 50px;
  margin: 20px auto 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  background-color: #f00;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit #pdf:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit #pdf:hover {
    opacity: 1;
  }
}
main #edit #pdf:hover img {
  opacity: 1;
}
main #edit #back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 50px;
  margin: 20px auto 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  background-color: #333;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit #back:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit #back:hover {
    opacity: 1;
  }
}
main #edit #back:hover img {
  opacity: 1;
}
main #edit table {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  main #edit table {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  main #edit table tbody {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  main #edit table tbody tr {
    display: block;
  }
  main #edit table tbody tr + tr {
    margin-top: 10px;
  }
}
main #edit table tbody tr th, main #edit table tbody tr td {
  border: 1px #e1e1e1 solid;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  main #edit table tbody tr th, main #edit table tbody tr td {
    display: block;
  }
}
main #edit table tbody tr th {
  padding: 10px 15px;
  width: 300px;
}
@media screen and (max-width: 768px) {
  main #edit table tbody tr th {
    width: auto;
    padding: 10px;
    border-bottom: 0;
  }
}
main #edit table tbody tr td:empty {
  height: 30px;
  border-left: none;
  border-right: none;
  background-color: transparent;
}
@media screen and (max-width: 768px) {
  main #edit table tbody tr td:empty {
    border: none;
  }
}
main #edit table tbody tr td input, main #edit table tbody tr td select, main #edit table tbody tr td textarea {
  display: block;
  width: 100%;
  border: none;
  border-radius: 0;
  background-color: #fff;
}
main #edit table tbody tr td input {
  height: 45px;
  padding: 0 10px;
}
main #edit table tbody tr td input:placeholder-shown {
  background-color: rgba(255, 0, 0, 0.1);
}
main #edit table tbody tr td input[readonly], main #edit table tbody tr td input[name="order_no"] {
  background-color: rgba(225, 225, 225, 0.3);
}
main #edit table tbody tr td select {
  height: 45px;
  padding: 0 10px;
}
main #edit table tbody tr td select:invalid {
  background-color: rgba(255, 0, 0, 0.1);
}
main #edit table tbody tr td textarea {
  height: 150px;
  padding: 10px;
}
main #edit2 [type="submit"] {
  display: block;
  width: 250px;
  height: 50px;
  margin: 40px auto 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  background-color: #006fbc;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit2 [type="submit"]:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit2 [type="submit"]:hover {
    opacity: 1;
  }
}
main #edit2 [type="submit"]:hover img {
  opacity: 1;
}
main #edit2 [name="copy"] {
  display: block;
  width: 250px;
  height: 50px;
  margin: 20px auto 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  background-color: #5ac7dc;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit2 [name="copy"]:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit2 [name="copy"]:hover {
    opacity: 1;
  }
}
main #edit2 [name="copy"]:hover img {
  opacity: 1;
}
main #edit2 #pdf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 50px;
  margin: 20px auto 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  background-color: #f00;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit2 #pdf:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit2 #pdf:hover {
    opacity: 1;
  }
}
main #edit2 #pdf:hover img {
  opacity: 1;
}
main #edit2 #back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 50px;
  margin: 20px auto 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  background-color: #333;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit2 #back:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit2 #back:hover {
    opacity: 1;
  }
}
main #edit2 #back:hover img {
  opacity: 1;
}
main #edit2 .form {
  background-color: #fff;
  border: 1px #000 solid;
  overflow-x: auto;
}
main #edit2 .form > * {
  width: 1000px;
  max-width: none;
}
main #edit2 .form input, main #edit2 .form select {
  display: block;
  width: 100%;
  height: 30px;
  border: none;
  border-radius: 0;
  font-size: 0.9em;
  text-align: center;
  background-color: #fff;
}
main #edit2 .form input {
  padding: 0 10px;
}
main #edit2 .form input:placeholder-shown {
  background-color: rgba(255, 0, 0, 0.1);
}
main #edit2 .form input[name="order_no"] {
  background-color: rgba(225, 225, 225, 0.3);
}
main #edit2 .form input[type="number"] {
  -moz-appearance: textfield;
  /* Firefox */
}
main #edit2 .form input[type="number"]::-webkit-outer-spin-button, main #edit2 .form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  /* Chrome, Safari, Edge */
  margin: 0;
}
main #edit2 .form select {
  padding: 0 10px 0 5px;
  text-align-last: center;
  -webkit-appearance: none;
  /* ベンダープレフィックス(Google Chrome、Safari用) */
  -moz-appearance: none;
  /* ベンダープレフィックス(Firefox用) */
  appearance: none;
  /* 標準のスタイルを無効にする */
}
main #edit2 .form #date {
  border: 1px #000 solid;
}
main #edit2 .form #date input {
  display: block;
  height: 40px;
  text-align: left;
}
main #edit2 .form table {
  border: 1px #000 solid;
  table-layout: auto;
}
main #edit2 .form table th, main #edit2 .form table td {
  border: 1px #000 solid;
  vertical-align: middle;
}
main #edit2 .form table th {
  padding: 5px;
  font-size: 0.7em;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
main #edit2 .form #table01 thead tr th:nth-child(odd) {
  width: calc(50% - 120px);
}
main #edit2 .form #table01 thead tr th:nth-child(even) {
  width: 120px;
}
main #edit2 .form #table02 tr td:nth-child(1) {
  width: 300px;
}
main #edit2 .form #table03 tr > *:nth-child(4) {
  width: 50%;
}
main #edit2 .form .wrap {
  display: flex;
  flex-wrap: wrap;
}
main #edit2 .form .wrap div {
  width: 50%;
}
main #edit2 .form .wrap div #table04 tbody tr > *:nth-child(1) {
  width: 85px;
  padding-left: 5px;
  font-size: 0.9em;
  vertical-align: middle;
}
main #edit2 .form .wrap div #table05 tbody tr > *:nth-child(1), main #edit2 .form .wrap div #table05 tbody tr > *:nth-child(3), main #edit2 .form .wrap div #table06 tbody tr > *:nth-child(1), main #edit2 .form .wrap div #table06 tbody tr > *:nth-child(3) {
  width: 120px;
  padding-left: 5px;
  font-size: 0.9em;
  vertical-align: middle;
}
main #edit2 .form .wrap div #table07 tbody tr > *:nth-child(1) {
  width: 120px;
  padding-left: 5px;
  font-size: 0.9em;
  vertical-align: middle;
}
main #edit2 .form .wrap div #table07 tbody tr > * textarea {
  display: block;
  width: 100%;
  height: 77px;
  padding: 5px;
  border: none;
  resize: none;
  font-size: 0.9em;
}
main #edit_reception [type="submit"] {
  display: block;
  width: 250px;
  height: 50px;
  margin: 40px auto 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  background-color: #006fbc;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit_reception [type="submit"]:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit_reception [type="submit"]:hover {
    opacity: 1;
  }
}
main #edit_reception [type="submit"]:hover img {
  opacity: 1;
}
main #edit_reception #back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 50px;
  margin: 20px auto 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  background-color: #333;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit_reception #back:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit_reception #back:hover {
    opacity: 1;
  }
}
main #edit_reception #back:hover img {
  opacity: 1;
}
main #edit_reception .form table {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  main #edit_reception .form table {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  main #edit_reception .form table tbody {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  main #edit_reception .form table tbody tr {
    display: block;
  }
  main #edit_reception .form table tbody tr + tr {
    margin-top: 10px;
  }
}
main #edit_reception .form table tbody tr th, main #edit_reception .form table tbody tr td {
  border: 1px #e1e1e1 solid;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  main #edit_reception .form table tbody tr th, main #edit_reception .form table tbody tr td {
    display: block;
  }
}
main #edit_reception .form table tbody tr th {
  width: 220px;
  padding: 10px 15px;
  color: #333;
  background-color: #f6f6f6;
}
main #edit_reception .form table tbody tr th.req::after {
  content: "必須";
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 3px;
  color: #fff;
  font-size: 0.7em;
  background-color: #f00;
}
@media screen and (max-width: 768px) {
  main #edit_reception .form table tbody tr th {
    width: auto;
    padding: 10px;
    border-bottom: 0;
  }
}
main #edit_reception .form table tbody tr td {
  padding: 0;
}
main #edit_reception .form table tbody tr td input, main #edit_reception .form table tbody tr td select, main #edit_reception .form table tbody tr td textarea {
  display: block;
  width: 100%;
  border: none;
  border-radius: 0;
  background-color: #fff;
}
main #edit_reception .form table tbody tr td input, main #edit_reception .form table tbody tr td select {
  height: 45px;
  padding: 0 15px;
}
main #edit_reception .form table tbody tr td textarea {
  min-height: 100px;
  padding: 10px 15px;
}
main #edit_reception .form table tbody tr td input.auto_filled, main #edit_reception .form table tbody tr td input[readonly] {
  color: #999;
  background-color: #f2f2f2;
  cursor: not-allowed;
}
main #edit_reception .form table th small {
  display: block;
  margin-top: 4px;
  color: #707070;
  font-size: 0.75em;
  font-weight: 400;
}
main #edit_reception .form table tbody tr td.media_td {
  padding: 15px;
}
main #edit_reception .form table tbody tr td.media_td #media_drop {
  padding: 22px 15px;
  border: 2px #d5d5d5 dashed;
  border-radius: 5px;
  text-align: center;
  background-color: #fafafa;
  transition: border-color 0.2s, background-color 0.2s;
}
main #edit_reception .form table tbody tr td.media_td #media_drop.is_drag {
  border-color: #006fbc;
  background-color: #eef6fc;
}
main #edit_reception .form table tbody tr td.media_td #media_drop .lead {
  font-size: 0.9em;
}
@media screen and (max-width: 768px) {
  main #edit_reception .form table tbody tr td.media_td #media_drop .lead {
    display: none;
  }
}
main #edit_reception .form table tbody tr td.media_td #media_drop .btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
@media screen and (max-width: 768px) {
  main #edit_reception .form table tbody tr td.media_td #media_drop .btns {
    margin-top: 0;
  }
}
main #edit_reception .form table tbody tr td.media_td #media_drop .btns label, main #edit_reception .form table tbody tr td.media_td #media_drop .btns button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 0.85em;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit_reception .form table tbody tr td.media_td #media_drop .btns label:hover, main #edit_reception .form table tbody tr td.media_td #media_drop .btns button:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit_reception .form table tbody tr td.media_td #media_drop .btns label:hover, main #edit_reception .form table tbody tr td.media_td #media_drop .btns button:hover {
    opacity: 1;
  }
}
main #edit_reception .form table tbody tr td.media_td #media_drop .btns label:hover img, main #edit_reception .form table tbody tr td.media_td #media_drop .btns button:hover img {
  opacity: 1;
}
main #edit_reception .form table tbody tr td.media_td #media_drop .btns label {
  background-color: #006fbc;
}
main #edit_reception .form table tbody tr td.media_td #media_drop .btns button {
  background-color: #333;
}
main #edit_reception .form table tbody tr td.media_td #media_drop #media_file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
main #edit_reception .form table tbody tr td.media_td #media_drop small {
  display: block;
  margin-top: 10px;
  color: #707070;
  font-size: 0.75em;
  line-height: 1.6;
}
main #edit_reception .form table tbody tr td.media_td #media_error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 5px;
  color: #d00;
  font-size: 0.8em;
  line-height: 1.7;
  white-space: pre-line;
  background-color: #fdecec;
}
main #edit_reception .form table tbody tr td.media_td #media_error[hidden] {
  display: none;
}
main #edit_reception .form table tbody tr td.media_td #media_list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}
main #edit_reception .form table tbody tr td.media_td #media_list:empty {
  margin-top: 0;
}
main #edit_reception .form table tbody tr td.media_td #media_list .media_item {
  position: relative;
  width: 120px;
  height: 120px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  overflow: hidden;
  background-color: #f6f6f6;
}
@media screen and (max-width: 768px) {
  main #edit_reception .form table tbody tr td.media_td #media_list .media_item {
    width: calc((100% - 24px) / 3);
    height: auto;
    aspect-ratio: 1;
  }
}
main #edit_reception .form table tbody tr td.media_td #media_list .media_item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
main #edit_reception .form table tbody tr td.media_td #media_list .media_item a:hover {
  text-decoration: none;
}
main #edit_reception .form table tbody tr td.media_td #media_list .media_item a:hover img {
  opacity: 1;
}
main #edit_reception .form table tbody tr td.media_td #media_list .media_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
main #edit_reception .form table tbody tr td.media_td #media_list .media_item .media_remove {
  position: absolute;
  z-index: 2;
  right: 4px;
  top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.9em;
  line-height: 1;
  background-color: rgba(51, 51, 51, 0.75);
}
main #edit_reception .form table tbody tr td.media_td #media_list .media_item .media_remove:hover {
  opacity: 1;
  background-color: #f00;
}
main #edit_reception .form table tbody tr td.media_td #media_empty {
  margin-top: 12px;
  color: #999;
  font-size: 0.85em;
}
main #edit_reception .form table tbody tr td.media_td #media_empty[hidden] {
  display: none;
}
main #edit_reception #history_note {
  min-height: 80px !important;
}
main #history_list {
  margin-top: 15px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  overflow: hidden;
}
main #history_list li {
  padding: 12px 15px;
  background-color: #fff;
}
main #history_list li + li {
  border-top: 1px #e1e1e1 solid;
}
main #history_list li time {
  display: inline-block;
  margin-right: 10px;
  color: #707070;
  font-size: 0.75em;
}
main #history_list li b {
  color: #006fbc;
  font-size: 0.85em;
}
main #history_list li p {
  margin-top: 4px;
  font-size: 0.9em;
  line-height: 1.6;
}
body.modal_open {
  overflow: hidden;
}
#media_modal {
  position: fixed;
  z-index: 400;
  left: 0;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 20px;
  background-color: rgba(51, 51, 51, 0.7);
}
#media_modal[hidden] {
  display: none;
}
@media screen and (max-width: 768px) {
  #media_modal {
    padding: 0;
  }
}
#media_modal .inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  max-height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  #media_modal .inner {
    height: 100%;
    border-radius: 0;
  }
}
#media_modal .head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  padding: 15px 20px;
  color: #fff;
  background-color: #333;
}
#media_modal .head h3 {
  font-size: 1em;
  font-weight: 700;
}
#media_modal .head .close {
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 1.2em;
  line-height: 1;
}
#media_modal .search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 15px 20px;
  border-bottom: 1px #e1e1e1 solid;
}
#media_modal .search input[type="search"] {
  flex: 1 1 auto;
  width: auto;
  height: 40px;
  padding: 0 12px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  font-size: 0.9em;
  background-color: #fff;
}
#media_modal .search button {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 18px;
  border-radius: 5px;
  color: #fff;
  font-size: 0.85em;
  background-color: #333;
  text-decoration: none;
  transition: opacity 0.7s;
}
#media_modal .search button:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  #media_modal .search button:hover {
    opacity: 1;
  }
}
#media_modal .search button:hover img {
  opacity: 1;
}
#media_modal .body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px;
  background-color: #fafafa;
}
#media_modal .body #media_grid_message {
  padding: 20px 0;
  color: #707070;
  font-size: 0.85em;
  text-align: center;
}
#media_modal .body #media_grid_message:empty {
  display: none;
}
#media_modal #media_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
#media_modal #media_grid:empty {
  display: none;
}
#media_modal #media_grid .media_grid_item {
  width: calc((100% - 45px) / 4);
}
@media screen and (max-width: 768px) {
  #media_modal #media_grid .media_grid_item {
    width: calc((100% - 15px) / 2);
  }
}
#media_modal #media_grid .media_grid_item .pick {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 2px #e1e1e1 solid;
  border-radius: 5px;
  overflow: hidden;
  background-color: #f6f6f6;
}
#media_modal #media_grid .media_grid_item .pick:hover {
  opacity: 1;
  border-color: #b5d5ea;
}
#media_modal #media_grid .media_grid_item .pick img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#media_modal #media_grid .media_grid_item .pick .check {
  position: absolute;
  right: 6px;
  top: 6px;
  display: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #006fbc;
}
#media_modal #media_grid .media_grid_item .pick .check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px #fff solid;
  border-bottom: 2px #fff solid;
  transform: rotate(45deg);
}
#media_modal #media_grid .media_grid_item .pick .added {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  padding: 4px 0;
  color: #fff;
  font-size: 0.7em;
  text-align: center;
  background-color: rgba(51, 51, 51, 0.75);
}
#media_modal #media_grid .media_grid_item.is_selected .pick {
  border-color: #006fbc;
}
#media_modal #media_grid .media_grid_item.is_selected .pick .check {
  display: block;
}
#media_modal #media_grid .media_grid_item.is_added .pick {
  cursor: default;
  opacity: 0.55;
}
#media_modal #media_grid .media_grid_item .name {
  margin-top: 6px;
  font-size: 0.75em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#media_modal #media_grid .media_grid_item .meta {
  margin-top: 2px;
  color: #999;
  font-size: 0.7em;
}
#media_modal #media_grid .media_grid_item .del {
  margin-top: 4px;
  color: #d00;
  font-size: 0.7em;
  text-decoration: underline;
}
#media_modal #media_grid .media_grid_item .del:hover {
  text-decoration: none;
}
#media_modal .foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex: 0 0 auto;
  padding: 15px 20px;
  border-top: 1px #e1e1e1 solid;
  background-color: #fff;
}
#media_modal .foot .pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
#media_modal .foot .pager li.dots {
  color: #999;
  font-size: 0.8em;
}
#media_modal .foot .pager li button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px #e1e1e1 solid;
  border-radius: 4px;
  font-size: 0.8em;
  background-color: #fff;
}
#media_modal .foot .pager li button.is_current {
  border-color: #333;
  color: #fff;
  background-color: #333;
}
#media_modal .foot #media_insert {
  flex: 0 0 auto;
  margin-left: auto;
  height: 40px;
  padding: 0 20px;
  border-radius: 5px;
  color: #fff;
  font-size: 0.85em;
  background-color: #006fbc;
  text-decoration: none;
  transition: opacity 0.7s;
}
#media_modal .foot #media_insert:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  #media_modal .foot #media_insert:hover {
    opacity: 1;
  }
}
#media_modal .foot #media_insert:hover img {
  opacity: 1;
}
#media_modal .foot #media_insert[disabled] {
  background-color: #ccc;
}
#media_modal .foot #media_insert[disabled]:hover {
  opacity: 1;
}
#upload {
  position: fixed;
  z-index: 500;
  left: 0;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  background-color: rgba(51, 51, 51, 0.8);
}
#upload span {
  display: block;
  font-size: 4em;
  text-align: center;
}
main #login {
  width: 450px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 30px;
  border-radius: 10px;
  background-color: #fff;
}
main #login label {
  display: block;
  font-size: 0.9em;
}
main #login label + label {
  margin-top: 20px;
}
main #login label input, main #login label select, main #login label textarea {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 5px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  padding: 0 15px;
  font-size: 1em;
  background-color: #fff;
}
main #login label textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 15px;
  line-height: 1.6;
  resize: vertical;
}
main #login label small {
  display: block;
  margin-top: 6px;
  color: #707070;
  font-size: 0.85em;
  line-height: 1.6;
}
main #login p a {
  color: #006fbc;
  text-decoration: underline;
}
main #login p a:hover {
  text-decoration: none;
}
main #login button[type="submit"] {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 30px;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1.1em;
  background-color: #006fbc;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #login button[type="submit"]:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #login button[type="submit"]:hover {
    opacity: 1;
  }
}
main #login button[type="submit"]:hover img {
  opacity: 1;
}
main #login #message {
  margin-bottom: 20px;
}
main #switch_role {
  width: 450px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 30px;
  border-radius: 10px;
  background-color: #fff;
}
main #switch_role label {
  display: block;
  font-size: 0.9em;
}
main #switch_role label + label {
  margin-top: 20px;
}
main #switch_role label input, main #switch_role label select, main #switch_role label textarea {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 5px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  padding: 0 15px;
  font-size: 1em;
  background-color: #fff;
}
main #switch_role label textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 15px;
  line-height: 1.6;
  resize: vertical;
}
main #switch_role label small {
  display: block;
  margin-top: 6px;
  color: #707070;
  font-size: 0.85em;
  line-height: 1.6;
}
main #switch_role p a {
  color: #006fbc;
  text-decoration: underline;
}
main #switch_role p a:hover {
  text-decoration: none;
}
main #switch_role button[type="submit"] {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 30px;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1.1em;
  background-color: #006fbc;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #switch_role button[type="submit"]:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #switch_role button[type="submit"]:hover {
    opacity: 1;
  }
}
main #switch_role button[type="submit"]:hover img {
  opacity: 1;
}
main #switch_role h2 {
  font-size: 1.2em;
  font-weight: 700;
}
main #switch_role .lead {
  margin-top: 10px;
  color: #707070;
  font-size: 0.85em;
  line-height: 1.7;
}
main #switch_role form {
  margin-top: 20px;
}
main #switch_role #message {
  margin-bottom: 20px;
}
main #switch_role .cancel {
  margin-top: 15px;
  text-align: center;
}
main #switch_role .cancel a {
  color: #707070;
  font-size: 0.85em;
  text-decoration: underline;
}
main #switch_role .cancel a:hover {
  text-decoration: none;
}
main #edit_account {
  width: 450px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 30px;
  border-radius: 10px;
  background-color: #fff;
}
main #edit_account label {
  display: block;
  font-size: 0.9em;
}
main #edit_account label + label {
  margin-top: 20px;
}
main #edit_account label input, main #edit_account label select, main #edit_account label textarea {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 5px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  padding: 0 15px;
  font-size: 1em;
  background-color: #fff;
}
main #edit_account label textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 15px;
  line-height: 1.6;
  resize: vertical;
}
main #edit_account label small {
  display: block;
  margin-top: 6px;
  color: #707070;
  font-size: 0.85em;
  line-height: 1.6;
}
main #edit_account p a {
  color: #006fbc;
  text-decoration: underline;
}
main #edit_account p a:hover {
  text-decoration: none;
}
main #edit_account button[type="submit"] {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 30px;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1.1em;
  background-color: #006fbc;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit_account button[type="submit"]:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit_account button[type="submit"]:hover {
    opacity: 1;
  }
}
main #edit_account button[type="submit"]:hover img {
  opacity: 1;
}
main #edit_user, main #edit_staff {
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 30px;
  border-radius: 10px;
  background-color: #fff;
}
main #edit_user label, main #edit_staff label {
  display: block;
  font-size: 0.9em;
}
main #edit_user label + label, main #edit_staff label + label {
  margin-top: 20px;
}
main #edit_user label input, main #edit_user label select, main #edit_user label textarea, main #edit_staff label input, main #edit_staff label select, main #edit_staff label textarea {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 5px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  padding: 0 15px;
  font-size: 1em;
  background-color: #fff;
}
main #edit_user label textarea, main #edit_staff label textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 15px;
  line-height: 1.6;
  resize: vertical;
}
main #edit_user label small, main #edit_staff label small {
  display: block;
  margin-top: 6px;
  color: #707070;
  font-size: 0.85em;
  line-height: 1.6;
}
main #edit_user p a, main #edit_staff p a {
  color: #006fbc;
  text-decoration: underline;
}
main #edit_user p a:hover, main #edit_staff p a:hover {
  text-decoration: none;
}
main #edit_user button[type="submit"], main #edit_staff button[type="submit"] {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 30px;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1.1em;
  background-color: #006fbc;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #edit_user button[type="submit"]:hover, main #edit_staff button[type="submit"]:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #edit_user button[type="submit"]:hover, main #edit_staff button[type="submit"]:hover {
    opacity: 1;
  }
}
main #edit_user button[type="submit"]:hover img, main #edit_staff button[type="submit"]:hover img {
  opacity: 1;
}
main #edit_user fieldset, main #edit_staff fieldset {
  margin-top: 20px;
  padding: 15px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
}
main #edit_user fieldset legend, main #edit_staff fieldset legend {
  padding: 0 5px;
  font-size: 0.85em;
  font-weight: 700;
}
main #edit_user fieldset label, main #edit_staff fieldset label {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0 20px 10px 0;
  font-size: 0.9em;
}
main #edit_user fieldset label:last-child, main #edit_staff fieldset label:last-child {
  margin-right: 0;
}
main #edit_user fieldset label input[type="checkbox"], main #edit_staff fieldset label input[type="checkbox"] {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 6px 0 0;
}
main > .lead, main .lead.staff_note {
  max-width: 900px;
  color: #707070;
  font-size: 0.85em;
  line-height: 1.7;
}
main .table_scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
main #user_list th:nth-child(1) {
  width: 22%;
}
main #user_list th:nth-child(2) {
  width: 28%;
}
main #user_list th:nth-child(3) {
  width: 9%;
}
main #user_list th:nth-child(4) {
  width: 9%;
}
main #user_list th:nth-child(5) {
  width: 32%;
}
main #staff_list th:nth-child(1) {
  width: 15%;
}
main #staff_list th:nth-child(2) {
  width: 13%;
}
main #staff_list th:nth-child(3) {
  width: 11%;
}
main #staff_list th:nth-child(4) {
  width: 15%;
}
main #staff_list th:nth-child(5) {
  width: 14%;
}
main #staff_list th:nth-child(6) {
  width: 8%;
}
main #staff_list th:nth-child(7) {
  width: 24%;
}
main #user_list, main #staff_list {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
main #user_list .col_fit, main #staff_list .col_fit {
  white-space: nowrap;
}
main #user_list thead th, main #staff_list thead th {
  padding: 12px 15px;
  color: #fff;
  font-size: 0.9em;
  text-align: left;
  background-color: #333;
}
main #user_list tbody tr:nth-child(odd), main #staff_list tbody tr:nth-child(odd) {
  background-color: #fff;
}
main #user_list tbody tr:nth-child(even), main #staff_list tbody tr:nth-child(even) {
  background-color: #f6f6f6;
}
main #user_list tbody td, main #staff_list tbody td {
  padding: 12px 15px;
  border-bottom: 1px #e1e1e1 solid;
  font-size: 0.9em;
  word-break: break-all;
}
main #user_list .status_active, main #staff_list .status_active {
  color: #006fbc;
  font-weight: 700;
}
main #user_list .status_suspended, main #staff_list .status_suspended {
  color: #999;
  font-weight: 700;
}
main #user_list .status_invited, main #staff_list .status_invited {
  color: #d38300;
  font-weight: 700;
}
main #user_list form, main #staff_list form {
  display: inline-block;
  vertical-align: middle;
}
main #user_list .btn_edit, main #user_list .btn_toggle, main #user_list .btn_delete, main #staff_list .btn_edit, main #staff_list .btn_toggle, main #staff_list .btn_delete {
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 30px;
  margin-right: 5px;
  padding: 0 9px;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 0.75em;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #user_list .btn_edit:hover, main #user_list .btn_toggle:hover, main #user_list .btn_delete:hover, main #staff_list .btn_edit:hover, main #staff_list .btn_toggle:hover, main #staff_list .btn_delete:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #user_list .btn_edit:hover, main #user_list .btn_toggle:hover, main #user_list .btn_delete:hover, main #staff_list .btn_edit:hover, main #staff_list .btn_toggle:hover, main #staff_list .btn_delete:hover {
    opacity: 1;
  }
}
main #user_list .btn_edit:hover img, main #user_list .btn_toggle:hover img, main #user_list .btn_delete:hover img, main #staff_list .btn_edit:hover img, main #staff_list .btn_toggle:hover img, main #staff_list .btn_delete:hover img {
  opacity: 1;
}
main #user_list .btn_edit:last-child, main #user_list .btn_toggle:last-child, main #user_list .btn_delete:last-child, main #staff_list .btn_edit:last-child, main #staff_list .btn_toggle:last-child, main #staff_list .btn_delete:last-child {
  margin-right: 0;
}
main #user_list .btn_edit, main #staff_list .btn_edit {
  background-color: #333;
}
main #user_list .btn_toggle, main #staff_list .btn_toggle {
  background-color: #5ac7dc;
}
main #user_list .btn_delete, main #staff_list .btn_delete {
  background-color: #f00;
}
main #reception_summary {
  display: flex;
  flex-wrap: wrap;
}
main #reception_summary li {
  width: calc((100% - 45px) / 4);
  margin-right: 15px;
}
@media screen and (max-width: 768px) {
  main #reception_summary li {
    width: calc((100% - 15px) / 2);
  }
  main #reception_summary li:nth-child(2n) {
    margin-right: 0;
  }
  main #reception_summary li:nth-child(n + 3) {
    margin-top: 15px;
  }
}
main #reception_summary li:nth-child(4n) {
  margin-right: 0;
}
main #reception_summary li a {
  display: block;
  padding: 15px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  text-align: center;
  background-color: #fff;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #reception_summary li a:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #reception_summary li a:hover {
    opacity: 1;
  }
}
main #reception_summary li a:hover img {
  opacity: 1;
}
main #reception_summary li a.current {
  border-color: #006fbc;
  background-color: rgba(0, 111, 188, 0.08);
}
main #reception_summary li a b {
  display: block;
  color: #006fbc;
  font-size: 1.8em;
  line-height: 1.4;
}
main #reception_summary li a span {
  display: block;
  color: #707070;
  font-size: 0.8em;
}
main #reception_filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}
main #reception_filter [type="search"] {
  width: 260px;
  height: 45px;
  padding: 0 15px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  main #reception_filter [type="search"] {
    width: 100%;
  }
}
main #reception_filter select {
  height: 45px;
  padding: 0 10px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  main #reception_filter select {
    width: calc((100% - 10px) / 2);
  }
}
main #reception_filter .period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
@media screen and (max-width: 768px) {
  main #reception_filter .period {
    width: 100%;
  }
}
main #reception_filter .period label {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  color: #707070;
  font-size: 0.8em;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  main #reception_filter .period label {
    flex: 1 1 0;
    min-width: 0;
  }
}
main #reception_filter .period i {
  color: #707070;
  font-size: 0.8em;
  font-style: normal;
}
main #reception_filter .period input[type="date"] {
  height: 45px;
  padding: 0 10px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  color: #333;
  font-size: 0.9rem;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  main #reception_filter .period input[type="date"] {
    width: 100%;
    min-width: 0;
    padding: 0 6px;
  }
}
main #reception_filter button {
  height: 45px;
  padding: 0 20px;
  border: none;
  border-radius: 5px;
  color: #fff;
  background-color: #333;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #reception_filter button:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #reception_filter button:hover {
    opacity: 1;
  }
}
main #reception_filter button:hover img {
  opacity: 1;
}
@media screen and (max-width: 768px) {
  main #reception_filter button {
    width: 100%;
  }
}
main #reception_list {
  margin-top: 20px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  overflow: hidden;
  background-color: #fff;
}
main #reception_list > li + li {
  border-top: 1px #e1e1e1 solid;
}
main #reception_list > li.empty {
  padding: 30px 20px;
  color: #707070;
  font-size: 0.9em;
  text-align: center;
}
main #reception_list > li > a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  transition: opacity 0.7s;
}
main #reception_list > li > a:hover {
  text-decoration: none;
  opacity: 0.6;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 768px) {
  main #reception_list > li > a:hover {
    opacity: 1;
  }
}
main #reception_list > li > a:hover img {
  opacity: 1;
}
@media screen and (max-width: 768px) {
  main #reception_list > li > a {
    padding: 15px;
  }
}
main #reception_list .head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
main #reception_list .head .no {
  padding: 2px 8px;
  border-radius: 3px;
  color: #006fbc;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.6;
  white-space: nowrap;
  background-color: rgba(0, 111, 188, 0.08);
}
main #reception_list .head time {
  color: #707070;
  font-size: 0.8em;
  white-space: nowrap;
}
main #reception_list .head h3 {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.1em;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media screen and (max-width: 768px) {
  main #reception_list .head h3 {
    flex: 1 1 100%;
    order: 3;
    font-size: 1em;
  }
}
main #reception_list .head .badges {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  main #reception_list .head .badges {
    margin-left: 0;
    order: 2;
  }
}
main #reception_list .body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 20px;
  margin-top: 8px;
}
@media screen and (max-width: 768px) {
  main #reception_list .body {
    gap: 6px;
  }
}
main #reception_list .body .content {
  flex: 1 1 340px;
  min-width: 0;
  color: #707070;
  font-size: 0.85em;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media screen and (max-width: 768px) {
  main #reception_list .body .content {
    flex: 1 1 100%;
  }
}
main #reception_list .body dl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  main #reception_list .body dl {
    margin-left: 0;
    gap: 4px 12px;
  }
}
main #reception_list .body dl > div {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 5px;
}
main #reception_list .body dl dt {
  color: #999;
  font-size: 0.7em;
  white-space: nowrap;
}
main #reception_list .body dl dd {
  max-width: 160px;
  font-size: 0.8em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
main #reception_list .body dl dd.undecided {
  color: #999;
}
main .dash_section + .dash_section {
  margin-top: 40px;
}
main .dash_section > h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px #333 solid;
  font-size: 1.1em;
  font-weight: 700;
}
main .dash_section > h2 small {
  color: #707070;
  font-size: 0.75em;
  font-weight: 400;
}
main .ticket_list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}
main .ticket_list > li {
  width: calc((100% - 45px) / 4);
}
@media screen and (max-width: 1400px) {
  main .ticket_list > li {
    width: calc((100% - 30px) / 3);
  }
}
@media screen and (max-width: 1100px) {
  main .ticket_list > li {
    width: calc((100% - 15px) / 2);
  }
}
@media screen and (max-width: 768px) {
  main .ticket_list > li {
    width: 100%;
  }
}
main .ticket_list > li > a {
  display: block;
  height: 100%;
  padding: 15px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  background-color: #fff;
  transition: box-shadow 0.3s;
}
main .ticket_list > li > a:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
main .ticket_list .ticket_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
main .ticket_list .ticket_head .no {
  padding: 2px 8px;
  border-radius: 3px;
  color: #006fbc;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.6;
  white-space: nowrap;
  background-color: rgba(0, 111, 188, 0.08);
}
main .ticket_list .ticket_head time {
  color: #707070;
  font-size: 0.75em;
  white-space: nowrap;
}
main .ticket_list h3 {
  margin-top: 10px;
  font-size: 1.05em;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
main .ticket_list .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
main .ticket_list .content {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px #e1e1e1 dashed;
  color: #707070;
  font-size: 0.85em;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
main .ticket_list .staff {
  margin-top: 8px;
  color: #999;
  font-size: 0.75em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
main .dash_empty {
  margin-top: 15px;
  padding: 30px 20px;
  border: 1px #e1e1e1 solid;
  border-radius: 5px;
  color: #707070;
  font-size: 0.9em;
  text-align: center;
  background-color: #fff;
}
main .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  color: #fff;
  font-size: 0.75em;
  letter-spacing: 0;
  line-height: 1.6;
  white-space: nowrap;
}
main .badge.status_new {
  background-color: #3463e9;
}
main .badge.status_progress {
  background-color: #f2994a;
}
main .badge.status_hold {
  background-color: #8e44ad;
}
main .badge.status_done {
  background-color: #2ea86c;
}
main .badge.status_cancel {
  background-color: #999;
}
main .badge.priority_high {
  background-color: #f00;
}
main .badge.priority_mid {
  background-color: #707070;
}
main .badge.priority_low {
  background-color: #b7b7b7;
}
