/* ポータル用CSS */
html,
body {
  font-family: "Noto Sans JP", "Lucida Grande", sans-serif;
  height: 100%;
  background: #F2F1F1;
}

/* --- Materialize のカスタマイズ 開始 --- */

input[type=text],
input[type=password],
input[type=email] {
  text-indent: 0.5em;
  background-color: #FFF !important;
}

textarea {
  padding: 5px !important;
  background-color: #FFF !important;
}

.btn {
  text-transform: none;
}
/* --- Materialize のカスタマイズ 終了 --- */

.header-base {
  height: auto;
  width: auto;
}

.header {
  padding: 8px 10px;
  display: flex;
  flex-direction: row;
}

.header .header-left {
  width: 75px;
  text-align: left;
}
.header .header-center {
  flex-grow: 1;
  text-align: center;
  font-size: 18px;
}
.header .header-right {
  width: 75px;
  text-align: right;
}

.container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.footer {
  padding: 15px 0;
  color: #777;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}
/*
.slogon {
  margin-top: 8px;
  line-height: 14px;
  font-size: 14px;
  font-weight: bold;
}
*/
img.top-slogon {
  display: block;
  height: 14px;
  width: auto;
  margin: 8px auto 0 auto;
}
img.top-logo {
  display: block;
  height: 36px;
  width: auto;
  margin: 10px auto 20px auto;
}

.center-box {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.center-form {
  width: 80%;
  margin: 0 auto;
}

.text-box {
  border-radius: 6px;
  margin: 5px 10px;
  padding: 10px 5px;
  background-color: #fff;
}

.form-box {
  border-radius: 6px;
  margin: 0;
  padding: 40px 15px;
  background-color: #fff;
}

.form-box .form-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.form-box .field-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
}

.form-box input[type=text],
.form-box input[type=email],
.form-box input[type=password],
.form-box textarea {
  border-radius: 4px !important;
  margin: 0 auto !important;
  background-color: #F1F1F1 !important;
  color: #6B6B6B !important;
  border-bottom: none !important;
}

.form-box input:focus,
.form-box textarea:focus {
  border-bottom: none !important;
  box-shadow: none !important;
}

.form-box input[type=text],
.form-box input[type=email],
.form-box input[type=password] {
  height: 32px !important;
  line-height: 32px !important;
}

.form-box textarea {
  height: 100px !important;
  padding: 5px 10px;
}

.form-box .buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.form-box .btn-flat {
 width: 130px;
  height: 40px;
  border-radius: 5px;
  padding: 0 12px !important;
  font-size: 14px;
  text-align: center;
}

.form-box .btn-flat.wide {
  width: 300px;
}

.form-box .btn-yes {
  background-color: #EB6117 !important;
  color: #FFF;
}

.form-box .btn-no {
  background-color: #4C4C4C !important;
  color: #FFF;
}

.form-box .btn-flat i.left {
  margin-right: 0 !important;
}

.form-box .btn-flat i.right {
  margin-left: 0 !important;
}

/* header */
.top-header {
  position: fixed;
  z-index: 1000;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  box-shadow: 0px 8px 8px -5px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.top-header .header-left {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  flex-wrap: nowrap;
  margin: 16px 0 12px 24px; /* 上 右 下 左 */
  width: 28px;
  height: 28px;
}

.top-header .header-center {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  justify-content: normal;
  align-items: center;
  flex-wrap: nowrap;
  margin: 20px 0 16px 20px; /* 上 右 下 左 */
  font-size: 20px;
  line-height: 20px !important;
}

.top-header .header-right {
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
  flex-wrap: nowrap;
  margin: 8px 20px 8px 0; /* 上 右 下 左 */
  width: 40px;
  height: 40px;
}

.sidenav-trigger {
  width: 28px;
  height: 28px;
}

.icon-menu {
  width: 28px;
  height: 28px;
}

.btn_home {
  width: 40px;
  height: 40px;
}

.icon-home {
  width: 40px;
  height: 40px;
}

.top-header-space {
  width: 100%;
  height: 56px;
}

/* modal wait */
#modal_alert {
  border-radius: 8px;
  padding: 0 !important;
  width: 320px;
  font-size: 18px;
}

@media (min-width: 768px) {
  #modal_alert {
    width: 640px;
  }
}

#modal_alert .modal-header {
  height: 64px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #F8B500;
  color: #FFF;
}

#modal_alert .modal-title {
  font-size: 18px;
}

#modal_alert .modal-body {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 15px;
}

#modal_alert .modal-action {
  padding: 10px 20px;
  text-align: center;
  border-top: 1px solid #EBEBEB;
}

#modal_alert .modal-close {
  width: 120px !important;
  height: 36px;
  line-height: 36px;
  border-radius: 6px;
  margin: 5px;
  font-size: 16px;
  background-color: #EBEBEB !important;
}

/* sidenav */
.sidenav {
  position: fixed;
  width: 300px;
  left: 0;
  top: 56px;
  margin: 0;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  height: 100%;
  height: calc(100% + 60px);
  height: -moz-calc(100%);
  padding-bottom: 56px;
  background-color: #fff !important;
  z-index: 999;
  overflow-y: auto;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
  box-shadow: 12px 0 3px -5px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .sidenav {
    position: fixed;
    width: 220px;
    left: 0;
    top: 56px;
    margin: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    height: 100%;
    height: calc(100% + 60px);
    height: -moz-calc(100%);
    padding-bottom: 56px;
    background-color: #fff !important;
    z-index: 999;
    overflow-y: auto;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
    box-shadow: 12px 0 3px -5px rgba(0,0,0,0.15);
  }
}

.sidenav li {
  float: none;
  border: none;
  line-height: 48px;
}

.sidenav li>a {
  font-size: 20px;
  position: relative;
  color: rgba(98,98,98,1) !important;
  padding-left: 32px !important;
}

.sidenav-overlay {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  opacity: 0;
  height: 120vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 997;
  display: none;
}

.nav-li-name {
  height: 72px;
  padding: 16px 0px 16px 24px;
  font-size: 20px;
  line-height: 40px !important;
  color: #fff !important;
  background-color: #ffa7c5 !important;
  margin-bottom: 16px;
}

.nav-li {
  font-size: 20px;
}
