@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

/* CSS Document */
/*------------------------------

  標準レイアウト・基本カラー

------------------------------*/
:root {
  --main_color: #0071bc;
  --emp_red: #c1272d;
}

body {
  color: #534741;
  font-family: 'Noto Sans JP', sans-serif, 游ゴシック体, 游ゴシック, YuGothic, メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
  line-height: 2;
}

body.home {
  background: #f2f2f2;
}

body.page {
  background: #d6e8f4;
  display: flex;
}

::placeholder {
  color: #bbb;
}

input {
  color: #534741;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

select {
  -webkit-appearance: none;
  appearance: none;
  border: solid 1px #b3b3b3;
  border-radius: 5px;
  color: #666666;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 50px 2px 7px;
}

select:hover {
  cursor: pointer;
}

.pull {
  position: relative;
}

.pull label {
  font-size: 14px;
}

.pull::after {
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  content: "";
  pointer-events: none;
  position: absolute;
  transform: rotate(45deg);
  top: 12px;
  right: 10px;
  width: 7px;
  height: 7px;
}

/* Flash messages */
.message {
  padding: 1rem;

  background: #eff8ff;
  color: #2779bd;

  border-color: #6cb2eb;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.message.hidden {
  display: none;
}

.message.success {
  background: #e3fcec;
  color: #1f9d55;
  border-color: #51d88a;
}

.message.error {
  background: #fcebea;
  color: #cc1f1a;
  border-color: #ef5753;
}

.error-message {
  color: var(--emp_red);
}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 896px) {

  body.page {
    background: #d6e8f4;
    display: block;
  }

}

@media screen and (max-width: 480px) {}

/*------------------------------

  グローバルナビゲーション

------------------------------*/
.side {
  background: #0071bc;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: 230px;
}

.side .logo {
  margin: 20px 30px 10px;
}

.side .logo img {
  width: 50px;
}

.side .logo p {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
}

.side .logo p.version {
  font-size: 12px;
  font-weight: 200;
  margin-top: 6px;
}

.side nav {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  height: 100vh;
}

.side nav::-webkit-scrollbar {
  display: none;
}

.side nav ul {
  width: 75%;
  margin: 5px auto;
}

.side nav ul li {
  list-style: none;
}

.side nav ul li a {
  display: flex;
  text-decoration: none;
  margin: 16px 0;
}

.side nav ul li a img {
  width: 18px;
  margin-right: 14px;
}

.side nav ul li a p {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.head_logo {
  display: none;
}

@media screen and (max-width: 1440px) {}

@media screen and (max-width: 680px) {

  .side {
    background: #f2f2f2;
    width: 100%;
  }

  .head_logo {
    display: block;
  }

  .head_logo img {
    align-items: center;
    display: block;
    width: 50%;
    height: 60px;
    margin: auto;
  }

}

@media screen and (max-width: 480px) {}

/*
  ハンバーガーメニュー
------------------------------*/
@media screen and (max-width: 896px) {

  header .toggle {
    background: var(--main_color);
    color: #fff;
    cursor: pointer;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    transition: all 0.6s;
    -moz-transition: all 0.6s;
    -webkit-transition: all 0.6s;
    z-index: 100;
    width: 60px;
    height: 60px;
  }

  header .toggle::after {
    content: 'MENU';
    font-size: .8rem;
    line-height: 1;
    position: absolute;
    bottom: .3rem;
    left: 0;
    right: 0;
    margin: auto;
  }

  header .toggle span {
    background: #fff;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    width: 30px;
    height: 2px;
    margin: auto;
  }

  header .toggle span:nth-of-type(1) {
    top: 10px;
  }

  header .toggle span:nth-of-type(2) {
    top: 20px;
  }

  header .toggle span:nth-of-type(3) {
    top: 30px;
  }

  header .toggle.Active::after {
    content: 'CLOSE';
  }

  header .toggle.Active span:nth-of-type(1) {
    display: none;
  }

  header .toggle.Active span:nth-of-type(2) {
    transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    top: 20px;
    right: 0;
  }

  header .toggle.Active span:nth-of-type(3) {
    transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    top: 20px;
    right: 0;
  }

  header .overlay {
    /* 背景ぼかし */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh);
  }

  /* このクラスを、jQueryで付与・削除する */
  header nav.global.PanelActive {
    left: 0;
    transform: translateY(0%);
  }

  header nav.global {
    background: #0071bc;
    overflow: auto;
    position: fixed;
    top: 0;
    left: -100%;
    transition: all 0.6s;
    z-index: 99;
    width: 230px;
    height: calc(100%);
    max-width: 35rem;
    padding: 45px 0 0;
    -webkit-overflow-scrolling: touch;
  }

  header nav.global ul {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  header nav.global ul li a:hover {
    opacity: 1;
  }

  .header_bg {
    height: 0;
  }

}

@media screen and (max-width: 480px) {

  header nav.global {
    max-width: 27rem;
    padding: 2.5rem 1rem 3rem;
  }

}

/*------------------------------

  モーダルウインドウ

------------------------------*/
.overlay {
  background: rgba(0, 0, 0, 0.4);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 100%;
}

.modal h2 {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 10px;
}

.modal h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  margin: 18px 0 10px;
}

.modal dl {
  border-bottom: #ccc solid 1px;
  margin-bottom: 10px;
}

.modal dl>div {
  border-top: #ccc solid 1px;
  display: flex;
  padding: 3px 0;
}

.modal .close_modal {
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  top: 6px;
  right: 18px;
  z-index: 70;
}

.modal {
  background: #ffffff;
  border-radius: 5px;
  display: none;
  font-size: 14px;
  overflow: scroll;
  overflow-x: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  min-width: 330px;
  max-height: 95vh;
}

.modal .wrap {
  border-radius: 5px;
  width: 90%;
  margin: 10px auto;
  padding: 10px;
}

.modal .result .wrap_button.single {
  justify-content: end;
}

.modal .error {
  color: var(--emp_red);
  font-weight: 600;
}

.modal dl dt {
  min-width: 120px;
}

.modal dl dt.emp {
  color: var(--emp_red);
  font-weight: 600;
}

.modal dl dd.wrap_cancel {
  width: 100%;
}

.modal dl dd.wrap_cancel textarea.message {
  height: 40px;
  margin: 12px 0 6px 0;
}

.modal p.message {
  border: none;
  font-size: 90%;
  line-height: 1.6;
  width: 100%;
  margin: 0 0 6px 0;
  padding: 0 4px;
}

.modal dl dd.wrap_cancel button {
  background: var(--main_color);
  border-radius: 3px;
  color: #ffffff;
  display: block;
  margin: 0 0 6px auto;
  padding: 0 10px;
}

.modal dl dd.wrap_user {
  display: flex;
  gap: 10px;
  width: 100%;
}

.modal dl dd.dd_circulation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: calc(100% - 120px);
}

.modal textarea.message {
  border: solid 1px #ccc;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.25;
  width: 100%;
  height: 100px;
  margin-bottom: 0;
  padding: 3px 5px;
}

.modal dl dd.dd_circulation .button_wrap {
  display: flex;
  justify-content: end;
  width: 100%;
}

.modal dl dd.dd_circulation .button_wrap button {
  border-radius: 3px;
  line-height: 1;
  margin: 8px 0 8px 10px;
  padding: 8px 12px;
}

.modal dl dd.dd_circulation .button_wrap button#return {
  border: solid 1px #666;
  background: #ddd;
}

.modal dl dd.dd_circulation .button_wrap button#approval {
  border: solid 1px var(--main_color);
  background: var(--main_color);
  color: #fff;
}