﻿/*
    style Stylesheet
*/
/*-- Layout --------------------------------------*/
.l-wrapper {
    width: 1180px;
    margin: 0 auto;
    padding: 10px 0;
    position: relative;
}
.l-main {
    background: #fff;
    margin: 0 0 40px;
}
.l-sect.regist.flex {
    display: flex;
    justify-content: space-between;
}
.l-sect.regist.flex > select {
    width: 400px;
}

/*-- Header Module --------------------------------------*/
header {
    background: #fff;
}
header h1 {
    color: #e6e6e6;
    font-size: 1.1em;
}
.l-h-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.l-h-right-area {
    width: 230px;
    height: 40px;
    padding-right: 16px;
    background: #00a546;
    display: flex;
    justify-content: end;
    align-items: center;
    color: #fff;
    border: 3px solid #fff;
    border-top: none;
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.l-h-right-area .user {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    padding: 0 4px;
}

/*-- Main Module --------------------------------------*/
main {
    min-height: calc(100% - 60px - 32px);
}
main .l-wrapper {
    padding: 20px 0;
}
main .l-wrapper h2 {
    margin: 0 0 20px;
    font-size: 1.2em;
}
main .l-sect {
    margin: 0 0 20px;
}
.main .l-sect:last-child {
    margin: 0;
}

/*-- Fotter Module --------------------------------------*/
footer {
    height: 32px;
    background: #00a546;
    padding: 8px 0;
    color: #fff;
}
.copy {
    width: 1180px;
    margin: 0 auto;
    text-align: right;
    font-size: 0.9em;
}

/*-- Menu --------------------------------------*/
/* menu button */
.menu-btn {
    position: relative;
    width: 28px;
    height: 24px;
}
.menu-btn:hover {
    cursor: pointer;
}
.menu-btn > span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
}
.menu-btn > span:nth-of-type(1) {
    top: 0;
}
.menu-btn > span:nth-of-type(2) {
    top: calc(50% - 1.5px);
}
.menu-btn > span:nth-of-type(3) {
    bottom: 0;
}
.menu-btn.is-close > span:nth-of-type(1) {
    -webkit-transform: translateY(9px) rotate(-315deg);
    transform: translateY(9px) rotate(-315deg);
}
.menu-btn.is-close > span:nth-of-type(2) {
    opacity: 0;
}
.menu-btn.is-close > span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(315deg);
    transform: translateY(-12px) rotate(315deg);
}

/* menu */
.menu {
    width: 230px;
    position: absolute;
    top: 31px;
    right: 0;
    padding: 10px 0;
    background: rgba(0,165,70,1.0);
    z-index: -1;
    opacity: 0;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    display: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.menu.is-active {
    z-index: 999;
    opacity: 1;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    display: block;
    border: 3px solid #fff;
    border-top: 1px solid #fff;
}
.menu li {
    position: relative;
}
.menu li > a,
.menu li > .submenu-btn {
    display: block;
    padding: 6px;
    padding-left: 20px;
    color: #f7f7f7;
    cursor: pointer;
    font-size: 1.4rem;
}
.menu li > a {
    text-decoration: none;
}
.submenu li > a {
    padding: 4px;
    padding-left: 30px;
}
.menu li > a:hover,
.submenu li > a:hover,
.menu li > .submenu-btn:hover {
    background: #4cc07d;
}

/*-- Setting --------------------------------------*/
.setting .regist {
    text-align: right;
}
.setting .input-area {
    background: #fafafa;
    padding: 20px;
    border-top: solid 2px #00a546;
}
.setting .l-col2 {
    display: flex;
    justify-content: space-between;
}
.setting .l-col2 > div {
    width: 45%;
}
.setting .input-area dl {
    display: flex;
    align-items: stretch;
    margin: 0 0 20px;
    flex-direction: column;
}
.setting .input-area dl:last-child {
    margin: 0;
}
.setting .input-area dt {
    margin: 0 0 5px;
    flex-shrink: 0;
}
.setting .input-area dd {
    flex-grow: 1;
}
.setting .input-area dd input[type="text"],
.setting .input-area dd input[type="password"],
.setting .input-area dd input[type="file"],
.setting .input-area dd input[type="number"],
.setting .input-area dd select,
.setting .input-area dd textarea {
    width: 40%;
    height: 33px;
}
.setting .input-area .l-col2 dd input[type="text"],
.setting .input-area .l-col2 dd input[type="password"],
.setting .input-area .l-col2 dd input[type="file"],
.setting .input-area .l-col2 dd input[type="number"],
.setting .input-area .l-col2 dd select,
.setting .input-area .l-col2 dd textarea {
    width: 100%;
    height: 33px;
}
.setting .input-area dd textarea {
    resize: none;
    height: 105px !important;
}
.setting .input-area dd input[type="checkbox"] {
    width: 22px;
    height: 22px;
}

.setting .input-area dd input[type="radio"] {
    width: 20px;
    height: 20px;
}

.setting .btn-area {
    background: #e1e1e1;
    padding: 20px;
}

.setting .mail-patten-area dl {
    margin-bottom: 20px !important;
}
.setting .mail-patten-area dd > span {
    display: block;
}
.setting .mail-patten-area dd > span:first-child {
    margin-bottom: 4px;
}

/*-- Grid --------------------------------------*/
.grid-scroll {
    height: 440px;
    overflow-y: scroll;
    position: relative;
}
.grid {
    width: 100%;
    border-collapse: collapse;
}
.grid tr {
    background: #fff;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}
.grid > tbody > tr:not(.pager):hover td {
    background: rgba(219, 247, 229, 1) !important;
}
.grid th, .grid td {
    border: 1px solid #5a5a5a;
}
.grid .grid-h > th {
    border: 1px solid #fff;
}
.grid .grid-h > th:first-child {
    border-left: 1px solid #5a5a5a;
}
.grid .grid-h > th:last-child {
    border-right: 1px solid #5a5a5a;
}
.grid th {
    background: #646964;
    font-weight: normal;
    color: #f7f7f7;
    height: 40px;
}
.grid th,
.grid td {
    padding: 5px;
    word-break: break-all;
    vertical-align: middle;
    line-height: 1.4;
    font-size: 0.9em;
}
.grid td {
    height: 38px;
}
.grid .empty td {
    vertical-align: middle;
    height: 400px;
}
.grid .empty td span {
    display: block;
    text-align: center;
}
.grid > tbody > tr.empty:hover td {
    background: none !important;
}
.grid .sticky-h th {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 1;
}
.grid input[type="color"] {
    border: none;
    background: none;
    display: block;
    width: 100%;
}
.grid .chk {
    text-align: center;
}
.grid .no {
    text-align: center;
    width: 44px;
}
.grid .editing {
    text-align: center;
    width: 70px;
}
.grid .dl-csv {
    text-align: center;
    width: 90px;
}
.grid .setting {
    text-align: center;
    width: 100px;
}
.grid .editing input,
.grid .dl-csv input,
.grid .setting input {
    min-width: 60px;
    padding: 5px;
}
.grid .cont-deadline {
    width: 80px;
    text-align: center;
}

/*.grid .pager,
.grid .pager tr {
    background: #f0f0f0 !important;
}*/
/*.grid .pager:hover,
.grid .pager tr:hover {
    background: none !important;
}*/
.grid .pager td {
    border: none;
    height: auto;
    padding: 10px;
    font-weight: bold;
}
.grid .pager tr td {
    padding: 0 3px;
}
.grid .pager span,
.grid .pager a {
    display: inline-block;
    box-sizing: border-box;
    background: #ccedda;
    color: #4b4b4b;
    padding: 8px 2px;
    width: 30px;
    height: 28px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    line-height: 0.9;
    transform:skew(-10deg, 0deg);
}
.grid .pager span,
.grid .pager a:hover {
    background: #64be8c;
    color: #fff;
}

.grid .grid-hr-radius {
    position: relative;
}
.grid .grid-hl-radius::before,
.grid .grid-hr-radius::before {
    content: '';
    position: absolute;
    z-index: 100;
    top: -1px;
    width: 20px;
    height: 20px;
    background: #fff;
}
.grid .grid-hl-radius::before {
    left: -1px;
}
.grid .grid-hr-radius::before {
    right: -1px;
}
.grid .grid-hl-radius::after,
.grid .grid-hr-radius::after {
    content: '';
    position: absolute;
    z-index: 101;
    top: 0;
    width: 20px;
    height: 20px;
    background: #646964;
}
.grid .grid-hl-radius::after {
    left: -1px;
    border-top-left-radius: 10px;
}
.grid .grid-hr-radius::after {
    right: 0;
    border-top-right-radius: 10px;
}


/*-- Modal Style for bootstrap --------------------------------------*/
.modal-open {
  overflow: hidden;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}
.modal.show .modal-dialog {
  -webkit-transform: none;
  transform: none;
}
.modal.modal-static .modal-dialog {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}
.modal-dialog-scrollable {
  display: -ms-flexbox;
  display: flex;
  max-height: calc(100% - 1rem);
}
.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}
.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}
.modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}
.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  content: "";
}
.modal-dialog-centered.modal-dialog-scrollable {
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}
.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}
.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: 0.5;
}
.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}
.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}
.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}
.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}
.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}
.modal-footer > * {
  margin: 0.25rem;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

/* custom */
.modal {
    background: rgba(0, 0, 0, 0.3);
}
.modal-dialog {
    width: fit-content;
    height: fit-content;
    margin: 15% auto;
}
.modal-content {
    border: none;
    border-radius: 0;
    min-width: 350px;
}
.modal-header {
    background: #007230;
    color: #e6e6e6;
    border-radius: 0;
    padding: 10px 20px;
}
.modal-footer {
    border: none;
    border-radius: 0;
    padding: 10px 20px;
}
.modal-close {
  color: #ccc;
  text-shadow: 0 1px 0 #fff;
}
.modal-close:hover,
.modal-close:focus {
  color: #e6e6e6;
}
.modal-close span {
    display: block;
}
.modal-body {
    padding: 20px;
    margin: 0 0 20px;
}
.modal-body dl {
    margin: 0 0 15px;
}
.modal-body dl:last-child {
    margin: 0;
}
.modal-body dt {
    width: 100%;
    margin: 0 0 8px;
}
.modal-body dd {
    width: 100%;
}
.modal-body dd input[type="text"],
.modal-body dd input[type="password"],
.modal-body dd input[type="file"],
.modal-body dd input[type="number"],
.modal-body dd select,
.modal-body dd textarea {
    width: 100%;
}
.modal-body dd textarea {
    resize: none;
    height: 80px;
    font-size: 12px;
}
.modal-body dd input[type="checkbox"] {
    margin: 3px;
}
.modal-footer .btn {
    min-width: 100px;
    line-height: 1;
}
.modal-body table.chk-list {
    width: 100%;
}
.modal-body table.chk-list tbody {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-height: 100px;
    overflow-y: scroll;
}
.modal-body table.chk-list tr {
    width: 48%;
    margin: 0 0 5px;
}
.modal-body .dg-note {
    color: #e3324a;
    display: block;
}
.modal-body .grp {
    margin: 0 0 15px;
}
.modal-body .grp dl {
    margin: 0 0 5px;
}
.modal-body .grp:last-child {
    margin: 0;
}
.modal-body .grp dt {
    padding-left: 10px;
}
.modal-body .fit {
    width: fit-content !important;
}

/*-- Print ---------------------------------------------*/
@media print {
    .notprint {
        display: none;
    }
}

/* 1ページ表示件数プルダウン用 */
.l-sect.select-page-num {
    display: flex;
    justify-content: end;
    margin-bottom: 6px;
}
.select-page-num select {
    display: inline-block;
    min-width: 55px !important;
}
.select-page-num span {
    padding: 4px;
    padding-right: 0;
}
