@charset "UTF-8";

/* CSS Document */
/*------------------------------

  標準レイアウト・基本カラー

------------------------------*/
:root {
  --main: #0071bc;
  --dark: #00395e;
  --light: #99c6e4;
  --red: #c1272d;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 896px) {}

@media screen and (max-width: 480px) {}

body.manage {
  display: flex;
  position: relative;
}

body.manage .main {
  background: #e2e2e2;
  width: calc(100% - 200px);
  min-height: 100vh;
  padding: 10px;
}

body.manage section {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
  padding: 16px;
}

body.manage section h2 {
  font-size: 18px;
  font-weight: 600;
}

body.manage section h3 {
  color: var(--dark);
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

body.manage section h4 {
  align-items: center;
  color: #777;
  display: flex;
  gap: 2px;
}

body.manage section dl>div {
  display: flex;
  font-size: 14px;
}

body.manage section dl>div dt {
  position: relative;
  width: 140px;
}

body.manage section dl>div dt::after {
  color: var(--main);
  content: ':';
  font-weight: 600;
  position: absolute;
  top: 0;
  right: 0;
}

body.manage section dl>div dd {
  padding-left: 16px;
}

/*------------------------------

  ヘッダー

------------------------------*/
header {
  background: var(--dark);
  position: fixed;
  top: 0;
  width: 200px;
  height: 100vh;
}

header .logo {
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 24px 0;
}

header h1 {
  text-align: center;
  max-width: 80px;
  margin: 10px auto;
}

header h1 a {
  display: block;
}

.header_bg {
  width: 200px;
}

/*------------------------------

  グローバルナビゲーション

------------------------------*/
header nav {
  position: absolute;
  bottom: 40px;
  width: 100%;
}

header nav ul {
  border-top: 1px solid #ddd;
}

header nav ul li {
  border-bottom: 1px solid #ddd;
}

header nav ul li a {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 14px;
  gap: 10px;
  padding: 10px;
}

header nav ul li a:hover {
  background: var(--main);
  color: #fff;
  /* font-weight: 600; */
}

@media screen and (max-width: 1440px) {}

@media screen and (max-width: 896px) {}

@media screen and (max-width: 480px) {}

/*------------------------------

	footer

------------------------------*/
footer {
  font-size: 12px;
  text-align: right;
}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 896px) {}

@media screen and (max-width: 480px) {}

/*------------------------------

  ページ共通

------------------------------*/
a {
  color: var(--main);
}

figure img {
  width: 100%;
  vertical-align: bottom;
}

a.button,
button {
  background: var(--main);
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  text-align: center;
  min-width: 140px;
  padding: 6px 10px;
}

button.open_modal {
  background: #ddd;
  border: solid 1px #999;
  color: #333;
  font-size: 14px;
  padding: 4px;
  min-width: 100px;
}

button.open_modal.history {
  margin-left: 20px;
}

div.input {
  margin-bottom: 10px;
}

label {
  font-size: 14px;
}

input:focus,
select:focus {
  outline: solid 2px var(--main);
}

input[type=file] {
  background: #eee;
  border: solid 1px #ddd;
  border-radius: 3px;
  width: 100%;
  padding: 5px;
}

input[type=text],
input[type=number],
input[type=email],
input[type=password] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #eee;
  background-image: none;
  border: solid 1px #ddd;
  border-radius: 3px;
  color: inherit;
  font-family: inherit;
  font-size: 1em;
  width: 100%;
  height: 30px;
  padding: .4em .6em;
}
input[type=number] {
  max-width: 80px;
}

input[type=month],
input[type=date],
input[type=time] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #eee;
  background-image: none;
  border: solid 1px #ddd;
  border-radius: 3px;
  color: inherit;
  font-family: inherit;
  font-size: 1em;
  height: 30px;
  padding: .3em .6em;
}

input[type=checkbox] {
  width: 16px;
  height: 16px;
}

input.short {
  display: block;
  max-width: 300px;
}

input.shortest {
  display: block;
  max-width: 80px;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #f9f9f9;
  background-image: none;
  border: solid 1px #ccc;
  border-radius: 3px;
  color: inherit;
  display: block;
  font-family: inherit;
  font-size: 1em;
  height: 32px;
  padding: .1em 2.4em .1em .6em;
}

.select {
  display: inline-block;
  position: relative;
  z-index: 1 !important;
}

.select::after {
  border-style: solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-top: 5px solid var(--main);
  border-bottom: 0;
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  transform: translateY(-50%);
}

.submit {
  background: var(--main);
  border: solid 3px var(--main);
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  font-size: 100%;
  font-weight: 600;
  padding: 16px;
  transition: .3s;
  width: 100%;
}

.submit.short {
  padding: 8px;
  width: 100%;
  max-width: 300px;
}

.submit:hover {
  opacity: .85;
}

.message {
  color: #2779bd;
  background: #eff8ff;
  border-color: #6cb2eb;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  margin-bottom: 2rem;
  padding: 1rem;
}

.message.hidden {
  display: none;
}

.message.success {
  background: #e3fcec;
  border-color: #51d88a;
  color: #1f9d55;
}

.message.error {
  background: #fcebea;
  border-color: #ef5753;
  color: #cc1f1a;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 10px;
}

table th {
  background: #eee;
}

/* table tbody tr:nth-child(even) {
  background: #f2f2f2;
} */

table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.link {
  color: var(--main);
  text-decoration: underline;
}

.link_muted {
  color: #808080;
  text-decoration: underline;
}

span.required {
  background: var(--red);
  color: #fff;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 0 4px;
  margin-left: 4px;
}

.spacer {
  display: block;
  margin: 30px;
}
.spacer_thin {
  display: block;
  margin: 10px;
}

/*------------------------------

  モーダルウインドウ

------------------------------*/
.overlay {
  background: rgba(0, 0, 0, 0.7);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
}

.modal,
.submodal {
  background: #ffffff;
  border-radius: 5px;
  display: none;
  overflow-x: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1500;
  min-width: 500px;
  max-height: 95vh;
  padding: 20px;
}

.modal .table_body {
  overflow-x: auto;
}

.modal .table_foot {
  justify-content: center;
}

.modal .btn_wrap {
  display: flex;
  justify-content: flex-end;
}

.button.close_modal {
  background: #ddd;
  color: #333;
}

/*------------------------------

  ローディング

------------------------------*/
#loadingOverlay {
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.loader {
  width: 40px;
  height: 40px;
  --c: no-repeat linear-gradient(var(--main) 0 0);
  background: var(--c), var(--c), var(--c), var(--c);
  background-size: 21px 21px;
  animation: l5 1.5s infinite cubic-bezier(0.3, 1, 0, 1);
}

@keyframes l5 {
  0% {
    background-position: 0 0, 100% 0, 100% 100%, 0 100%
  }

  33% {
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    width: 60px;
    height: 60px
  }

  66% {
    background-position: 100% 0, 100% 100%, 0 100%, 0 0;
    width: 60px;
    height: 60px
  }

  100% {
    background-position: 100% 0, 100% 100%, 0 100%, 0 0
  }
}

/*------------------------------

  ログイン画面

------------------------------*/
body.login .block {
  align-items: center;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 100vh;
}

body.login .block h1 {
  font-size: 24px;
  text-align: center;
}

body.login .wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .08);
  margin: 20px auto;
  padding: 30px 35px;
  width: 90%;
  max-width: 360px;
}

body.login .wrap form {
  text-align: left;
}

body.login .wrap form dl>div {
  margin: 0 0 20px;
}

body.login .wrap form dl dt {
  font-weight: 500;
  margin-bottom: .8rem;
}

body.login .btn_wrap {
  margin-top: 32px;
  text-align: center;
}

body.login button {
  line-height: 1;
  height: auto;
}

body.login .button {
  display: block;
  line-height: 36px;
}

body.login .guide {
  text-align: center;
  margin-top: 16px;
}

body.login .guide a {
  text-decoration: underline;
}

body.login .message {
  width: 100%;
  margin: 0 0 20px;
}

.help {
  align-items: center;
  color: #777;
  display: flex;
  font-size: 14px;
}

/*------------------------------

  公開画面

------------------------------*/
body.public h1 {
  font-size: 20px;
  margin-bottom: 20px;
}

body.public .block {
  background: #f6f6f6;
  flex-direction: column;
  min-height: 100vh;
  padding: 50px 0;
}

body.public .wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .08);
  margin: auto;
  padding: 30px 35px;
  width: 90%;
  max-width: 800px;
}

body.public .form fieldset {
  margin-bottom: 16px;
}

body.public .form input {
  margin-bottom: 6px;
}

.policy {
  border: solid 1px #cccccc;
  font-size: 14px;
  overflow-y: scroll;
  text-align: left;
  height: 180px;
  margin-bottom: 20px;
  padding: 20px;
}

.button.disable {
  background: #666;
  cursor: not-allowed;
  pointer-events: none;
}

/*------------------------------

  ダッシュボード

------------------------------*/
body.manage section.index {
  border: solid 2px var(--main);
  padding: 0;
  margin-bottom: 10px;
}

body.manage section.index a {
  align-items: center;
  display: flex;
  font-size: 22px;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  padding: 20px;
}

body.manage section.index a.emp {
  padding: 50px;
}

body.manage section.index a:hover {
  background: var(--light);
  border-radius: 6px;
  opacity: 1;
}

/*------------------------------

  マスタ画面

------------------------------*/
.master .title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.table_head {
  color: #808080;
  font-size: 14px;
}

.table_body {
  overflow-x: scroll;
}

.table_body table {
  min-width: 100%;
}

.table_body table th,
.table_body table td {
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  padding: 10px;
}

.table_body table th {
  color: #555;
  font-size: 15px;
}

.table_body table th.action {
  text-align: center;
  width: 56px;
}

.table_body table td {
  font-size: 14px;
}

.table_body table td.action {
  text-align: center;
}

.table_body table td a {
  text-decoration: underline;
}

.table_foot {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px 0;
}

.table_foot p span {
  border: solid #cccccc 1px;
  border-radius: 3px;
  padding: 5px 5px 5px 30px;
  margin: 0 10px;
}

.table_foot .page ol {
  display: flex;
  list-style: none;
}

.table_foot .page ol li {
  border-radius: 2px;
  min-width: 32px;
  height: 32px;
  margin: 0 5px;
}

.table_foot .page ol li a {
  align-items: center;
  display: flex;
}

.table_foot .page ol li>span {
  display: block;
}

.table_foot .page ol li>span,
.table_foot .page ol li a {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.table_foot .page ol li.active a {
  background: #ffffff;
  border: solid #cccccc 1px;
  color: var(--main);
}

.table_foot .page ol li.first a,
.table_foot .page ol li.prev a,
.table_foot .page ol li.next a,
.table_foot .page ol li.last a {
  background: var(--main);
  color: #ffffff;
}

.table_foot .page ol li.disabled a {
  background: #cccccc;
  color: #333333;
  cursor: not-allowed;
}

.table_foot .page ol li a span {
  display: block;
  text-align: center;
  width: 100%;
}

.input_page {
  border: solid 1px #ccc;
  border-radius: 4px;
  color: #555;
  text-align: right;
  width: 80px;
  height: 24px;
  padding: 0 6px;
}

.master .form fieldset {
  margin-bottom: 16px;
}

.master .form input {
  margin-bottom: 6px;
}