@charset "UTF-8";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css";
@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&family=Reggae+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;800&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Paytone+One&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@500;800&display=swap'); */

/* -------------------------------------------------------
// # Reset
// ------------------------------------------------------*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0}
table{border-collapse:collapse;border-spacing:0}
fieldset,img{border:0}
address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var{font:inherit}
del,ins{text-decoration:none}
caption,th{text-align:left}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}
li { list-style: none; }
q:before,q:after{content:''}
abbr,acronym{border:0;font-variant:normal}
sup{vertical-align:baseline}
sub{vertical-align:baseline}
figure{margin-inline-start: 0;margin-inline-end: 0;}

/* -------------------------------------------------------
// # Color scheme
// ------------------------------------------------------*/
:root {
  --theme-color: #051753;
  --opposite-color: #f28d00;
  --text-color: #222;
  --link-color: #03207e;
  --thead-color: #203579;
  --border-color: #bcc2d6;
  --active-color: #fe9903;
}

/* -------------------------------------------------------
// # Typography
// ------------------------------------------------------*/
html {
  /* font-family: 'M PLUS 1p', sans-serif; */
  font-family: 'M PLUS Rounded 1c', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  color: var(--text-color);
  font-size: 16px;
}
i {
  font-style: normal;
}
a {
  color: var(--link-color);
  text-decoration: none;
}
.titlelogo {
  /* font-family: 'Paytone One', sans-serif; */
  font-family: 'Cherry Bomb One', cursive;
  font-weight: bold;
}
.titlelogo, .titlelogo a {
  color: var(--theme-color);
}
.titlelogo i {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  margin-left: 4px;
}
h2 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 9px;
}
h2 span {
  display: inline-block;
  line-height: 1.0;
  padding: 10px 20px;
  border-radius: 20px;
  background-color: var(--theme-color);
  color: #fff;
}

/* -------------------------------------------------------
// # loading表示
// ------------------------------------------------------*/
#loader {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.4);
  z-index: 100;
  align-items: center;
  justify-items: center;
}
#loader::after {
  content: "";
  display: block;
  width: 70px;
  height: 70px;
  background: url('./loader-grid-green.svg') no-repeat 50% 50%;
  background-size: contain;
}
body.processing #loader {
  display: grid;
}

/* -------------------------------------------------------
// # update表示
// ------------------------------------------------------*/
@keyframes flash {
  0% {
    background-color: #f8be67;
  }
  100% {
    background-color: #fff;
  }
}

/* -------------------------------------------------------
// # skeltone
// ------------------------------------------------------*/
@media (min-width: 1700px) {
  #app { grid-template-columns: 250px 1fr 250px; }
}
@media (max-width: 1699px) {
  #app { grid-template-columns: 150px 1fr 150px; }
}
html, body {
  position: relative;
}
#app {
  display: grid;
  grid-auto-flow: dense;
  grid-gap: 20px;
}
#app > * {
  height: 100vh;
  overflow: scroll;
  padding: 15px;
  box-sizing: border-box;
}
nav, aside {
  background-color: #eee;
}
main > div {
  max-width: 1400px;
  padding-bottom: 10vh;
  position: relative;
}
.spacer {
  height: 5vh;
}
section {
  margin-bottom: 30px;
}

/* -------------------------------------------------------
// # nav
// ------------------------------------------------------*/
@media (min-width: 1700px) {
  nav h1 a { font-size: 45px; }
  nav h1 a i { font-size: 15px; }
  nav li a,
  nav li span {
    padding: 15px;
  }
}
@media (max-width: 1699px) {
  nav h1 a { font-size: 40px; }
  nav h1 a i { display: none; }
  nav li a,
  nav li span {
    font-size: 14px;
    padding: 15px 8px;
  }
}
nav h1 {
  line-height: 1.0;
  margin-bottom: 20px;
}
nav h1 a {
  display: block;
}
nav h2 {
  margin-bottom: 3px;
  font-size: 0.8rem;
}
nav ul {
  margin-bottom: 30px;
}
nav li {
  margin-bottom: 5px;
}
nav li a,
nav li span {
  display: block;
  background-color: #fff;
  color: var(--link-color);
  font-weight: bold;
}
nav li a.router-link-exact-active {
  background-color: var(--theme-color);
  color: #fff;
}
nav li a:hover,
nav li span:hover {
  cursor: pointer;
}
nav li label {
  font-size: 12px;
  font-weight: bold;
  color: var(--theme-color);
}
nav .sideblock {
  margin-bottom: 10px;
}

/* -------------------------------------------------------
// # header
// ------------------------------------------------------*/
header:not(.evalheader) {
  height: 73px;
  display: flex;
  justify-content: space-between;
}
#pagetitle h1 {
  display: flex;
  align-items: center;
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 30px;
}
#pagetitle h1 i {
  font-size: 80%;
  opacity: 0.8;
  margin-left: 6px;
  font-weight: normal;
}

/* -------------------------------------------------------
// # aside
// ------------------------------------------------------*/
@media (min-width: 1700px) {
  aside li a,
  aside li span {
    padding: 5px 15px;
    border-radius: 20px;
  }
}
@media (max-width: 1699px) {
  aside h4 {
    font-size: 14px;
    line-height: 1.2;
  }
  aside li a,
  aside li span {
    padding: 10px 5px;
    border-radius: 10px;
    line-height: 1.1;
    font-size: 14px;
  }
}
aside > div {
  padding-top: 72px;
}
aside ul {
  margin-bottom: 30px;
}
aside li {
  margin-bottom: 4px;
}
aside li a,
aside li span {
  display: block;
  background-color: #fff;
  font-weight: bold;
  color: var(--theme-color);
  border: 2px solid var(--theme-color);
}
aside li a.router-link-active {
  background-color: var(--theme-color);
  color: #fff;
}
aside h4 {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
  margin-bottom: 0.5em;
  border-radius: 20px;
}
aside .sideblock {
  margin-bottom: 20px;
}

/* -------------------------------------------------------
// # aside / askeval
// ------------------------------------------------------*/
@media (min-width: 1700px) {}
@media (max-width: 1699px) {
  aside .askeval h3,
  aside .askeval button { font-size: 14px; }
}
aside .askeval {
  padding: 10px;
  background-color: #fff;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  line-height: 1.1;
}
aside .askeval h3 {
  color: var(--theme-color);
  font-weight: bold;
  margin-bottom: 0.5em;
}
aside .askeval ul {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat( 2, 1fr );
  grid-gap: 5px;
  margin-bottom: 0;
}
aside .askeval button {
  padding: 8px 0;
  display: block;
  width: 100%;
}
aside .askeval button.active {
  background-color: var(--active-color);
}
aside .askeval .status {
  padding: 5px 0;
  font-size: 12px;
  font-weight: bold;
}
aside .askeval .status span {
  display: block;
}
aside .askeval .status span:not(:last-child) {
  margin-bottom: 5px;
}

/* -------------------------------------------------------
// # modal
// ------------------------------------------------------*/
#shade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 100%;
  background-color: rgba(0,0,0,0.8);
  display: grid;
  align-items: center;
  justify-items: center;
  z-index: 999;
}
.modal {
  background-color: #fff;
  padding: 40px;
  width: 400px;
  position: relative;
  top: -5vh;
  box-shadow: 0 0 40px rgba(0,0,0,0.7);
  border-radius: 10px;
}
.modal h1 {
  line-height: 1.0;
  font-size: 45px;
}
.modal h1 i {
  font-size: 15px;
  margin-right: 8px;
}
.modal dl {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 100px 1fr;
  grid-gap: 15px;
  padding: 20px 0 30px;
}
.modal dl > * {
  height: 30px;
}
.modal dt {
  font-size: 0.8rem;
  font-weight: bold;
  display: grid;
  align-items: center;
  color: var(--theme-color);
}
.modal dd {
  position: relative;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2px;
}
.modal dd input {
  width: 100%;
  border: none;
  font-size: 1.2rem;
  background-color: #f3f3f3;
  padding: 5px 10px;
}
.modal button {
  width: 50%;
  margin: 0 auto;
  padding: 10px;
}

/* -------------------------------------------------------
// # modal2
// ------------------------------------------------------*/
#modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: start;
}
#modal > div {
  width: 500px;
  min-height: 200px;
  background-color: #fff;
  position: relative;
  top: 5vh;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  border-radius: 10px;
  padding: 20px;
}
#modal h5 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: var(--theme-color);
}
#modal h6 {
  margin-bottom: 0.5em;
  color: var(--theme-color);
}

/* -------------------------------------------------------
// # modal / set range
// ------------------------------------------------------*/
#modal .evalrange {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 1fr 30px 1fr;
  align-items: center;
  padding: 20px 0 0;
}
#modal .evalrange input {
  border: 1px solid var(--border-color);
}
#modal .evalrange input + p {
  padding-top: 3px;
  font-size: 12px;
  color: #c00;
  visibility: hidden;
}
#modal .evalrange .error input + p {
  visibility: visible;
}
#modal .evalrange span {
  text-align: center  ;
}
#modal button[type=cancel] {
  background-color: #777;
}

/* -------------------------------------------------------
// # form要素
// ------------------------------------------------------*/
input,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  display: block;
  box-sizing: border-box;
  padding: 4px;
  width: 100%;
  font-size: 1.1rem;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
}
input:read-only,
select:read-only,
textarea:read-only {
  background-color: #eee;
}
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
  display: block;
  box-sizing: border-box;
  border-radius: 0;
}
button i {
  margin-right: 4px;
}
button:hover {
  cursor: pointer;
}
dd input,
dd textarea,
dd select {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  resize: none;
}
input.center,
select.center {
  text-align: center;
}
textarea.editable + i,
select.editable + i,
input.editable + i {
  display: block;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--opposite-color);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* -------------------------------------------------------
// # sleeve / button
// ------------------------------------------------------*/
.sleeve {
  padding: 20px 0;
  display: flex;
}
.sleeve.top {
  padding-top: 0;
}
.sleeve.right {
  justify-content: flex-end;
}
.sleeve:not(.right) > * {
  margin-right: 8px;
}
.sleeve.right > * {
  margin-left: 8px;
}
.sleeve button {
  font-size: 1.1rem;
  padding: 6px 12px;
  border-radius: 5px;
}
.sleeve.compact > * {
  margin-right: 3px;
}
.sleeve.compact button {
  border-radius: 0;
  font-size: 0.9rem;
  padding: 3px 6px;
}

/* -------------------------------------------------------
// # 対角線
// ------------------------------------------------------*/
.diagonal.tl2br {
  background-image: linear-gradient(to left bottom, var(--theme-color) 48%, #fff 50%, var(--theme-color) 52%);
}
.diagonal span {
  font-size: 9px;
  position: absolute;
}
.diagonal.tl2br span.tr {
  top: 2px;
  right: 2px;
}
.diagonal.tl2br span.bl {
  bottom: 2px;
  left: 2px;
}

/* -------------------------------------------------------
// # table要素
// ------------------------------------------------------*/
table {
  min-width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  white-space: nowrap;
  table-layout: fixed;
}
table, th, td {
  border: 2px solid var(--border-color);
}
th, td {
  padding: 5px;
  position: relative;
}
th {
  padding: 2px 5px;
}
thead {
  background-color: var(--theme-color);
  font-weight: bold;
}
thead,
thead input,
thead select {
  font-size: 12px;
  color: #fff;
}
tbody tr:nth-child(2n) {
  background-color: #f3f3f3;
}
table .center,
table .center input {
  text-align: center;
}
table .right,
table .right input {
  text-align: right;
}
table input,
table textarea,
table select {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: none;
  background-color: transparent!important;
  resize: none;
}
table button {
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  font-size: 12px;
  font-weight: bold;
}
table .underline {
  font-weight: bold;
  color: var(--theme-color);
  text-decoration: underline;
}

/* -------------------------------------------------------
// # dl.table
// ------------------------------------------------------*/
dl.table {
  display: grid;
  grid-auto-flow: dense;
  grid-gap: 2px;
  background-color: var(--border-color);
  border: 2px solid var(--border-color);
}
dl.table > * {
  position: relative;
}
dl.table .center {
  text-align: center;
}
dl.table .right {
  text-align: right;
}
dl.table dd > div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  align-items: center;
}

/* -------------------------------------------------------
// # clientsummary
// ------------------------------------------------------*/
#clientsummary {
  margin-bottom: 20px;
}
#clientsummary dl {
  margin-bottom: 10px;
  grid-template-columns: 140px 1fr 140px 1fr;
}
#clientsummary dl > * {
  box-sizing: border-box;
  padding: 12px;
}
#clientsummary dt {
  font-size: 0.8rem;
  font-weight: bold;
  background-color: var(--thead-color);
  color: #fff;
}
#clientsummary dd {
  background-color: #fff;
}

/* -------------------------------------------------------
// # 備考欄
// ------------------------------------------------------*/
.note {
  padding: 15px 0;
}
.note > div {
  position: relative;
}
.note label {
  line-height: 1.0;
  padding: 5px 20px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.0;
  background-color: var(--theme-color);
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
}
.note textarea {
  height: 10em;
  padding-top: 25px;
  border: 2px solid var(--border-color);
  resize: vertical;
}

/* -------------------------------------------------------
// # cols
// ------------------------------------------------------*/
.cols {
  display: grid;
  grid-auto-flow: dense;
  grid-gap: 20px;
}
.cols.col2 {
  grid-template-columns: repeat( 2, 1fr );
}
.cols.col3 {
  grid-template-columns: repeat( 3, 1fr );
}
.cols.col4 {
  grid-template-columns: repeat( 4, 1fr );
}

/* -------------------------------------------------------
// # Oneliner
// ------------------------------------------------------*/
.oneliner {
  display: flex;
  align-items: flex-start;
}
.oneliner > * {
  margin-right: 15px;
}

/* -------------------------------------------------------
// # numselect
// ------------------------------------------------------*/
.numselect {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 60px repeat( 5, 30px );
  grid-gap: 2px;
  margin-bottom: 15px;
}
.numselect > * {
  display: grid;
  align-items: center;
  box-sizing: border-box;
}
.numselect > label {
  font-size: 0.8rem;
  font-weight: bold;
}
.numselect > button {
  justify-items: center;
  background-color: var(--theme-color);
  border: 1px solid var(--theme-color);
  padding: 3px 6px;
  transition: all .3s;
}
.numselect > button:hover {
  cursor: pointer;
}
.numselect > button:hover,
.numselect > button:focus,
.numselect > button:active {
  background-color: var(--border-color);
  color: #fff;
}

/* -------------------------------------------------------
// # tabs
// ------------------------------------------------------*/
#tabs {
  border-bottom: 1px solid var(--theme-color);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
}
#tabs ul {
  display: flex;
}
#tabs li {
  border-top: 1px solid var(--theme-color);
  border-left: 1px solid var(--theme-color);
  padding: 8px 15px;
  font-size: 14px;
  font-weight: bold;
  user-select: none;
}
#tabs li:last-child {
  border-right: 1px solid var(--theme-color);
}
#tabs li.active {
  background-color: var(--theme-color);
  color: #fff;
}
#tabs li:hover {
  cursor: pointer;
}

/* -------------------------------------------------------
// # Total Point
// ------------------------------------------------------*/
#totalpoint {
  position: fixed;
  bottom: 15px;
  right: 265px;
  border: 2px solid #fff;
}
#totalpoint dl {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 80px 160px;
  grid-gap: 2px;
  background-color: var(--theme-color);
  border: 2px solid var(--theme-color);
}
#totalpoint dl > * {
  background-color: #fff;
  padding: 5px;
  display: flex;
  align-items: center;
}
#totalpoint dt {
  font-size: 14px;
  font-weight: bold;
  background-color: var(--theme-color);
  color: #fff;
}
#totalpoint dd {
  text-align: right;
  font-weight: bold;
  font-size: 30px;
  align-items: baseline;
  justify-content: end;
}
#totalpoint dd i {
  color: #999;
  font-size: 1rem;
  font-weight: bold;
}

/* -------------------------------------------------------
// # 評価要素
// ------------------------------------------------------*/
.evaluitems section {
  margin-bottom: 20px;
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 1fr 25%;
  grid-gap: 3px;
  border: 3px solid var(--border-color);
  background-color: var(--border-color);
}
.evaluitems section > * {
  background-color: #fff;
}
.evaluitems section > div {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 35px 1fr;
  grid-gap: 3px;
}
.evaluitems section > div > * {
  background-color: #fff;
  min-height: 300px;
}
.evaluitems section label {
  background-color: var(--theme-color);
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
}
.evaluitems section label textarea {
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.2;
  position: static;
  text-align: center;
  background-color: transparent;
  font-weight: bold;
  color: #fff;
  font-size: 16px;
}
.evaluitems .genre .desc {
  min-height: 4.5em;
}
.evaluitems .genre .title input {
  background-color: transparent;
  color: #fff;
}
.evaluitems .genre .title .def {
  font-size: 10px;
  font-weight: normal;
  padding: 0 4px;
  opacity: 0.7;
  line-height: 1.2;
}
.evaluitems .genre textarea,
.evaluitems .genre select {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.evaluitems .genre select {
  font-size: 22px;
  font-weight: bold;
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
  background-color: transparent;
}
/* choices */
.choices h4 {
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
  padding: 4px;
}
.choices ul {
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
}
.choices ul > li {
  margin: 0 5px 5px 0;
  border: 2px dotted var(--theme-color);
  padding: 4px;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--theme-color);
}
.choices ul > li:hover {
  cursor: pointer;
}
.choices ul > li.selected {
  background-color: var(--thead-color);
  color: #fff;
  border-color: #8597b2;
}
.choices ul > li.freecell {
  width: 21px;
  height: 21px;
  display: grid;
  align-items: center;
  justify-items: center;
}
.choices ul > li.freecell::before {
  content: "+";
}

/* -------------------------------------------------------
// # 評価要素(定期)
// ------------------------------------------------------*/
.evaluitems.periodical .genre li {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 25% 1fr 70px;
  grid-gap: 2px;
  background-color: var(--border-color);
  border-bottom: 2px solid var(--border-color);
}
.evaluitems.periodical .genre li > * {
  padding: 12px;
  position: relative;
  background-color: #fff;
}
.evaluitems.periodical .genre li.frontrow > * {
  height: auto;
  min-height: 0;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: bold;
  background-color: var(--thead-color);
  color: #fff;
}
.evaluitems.periodical .genre li.frontrow .title {
  background-color: var(--theme-color);
}
.evaluitems.periodical .genre li.frontrow .point {
  text-align: center;
}
.evaluitems.periodical .genre .title {
  background-color: var(--thead-color);
  color: #fff;
  font-weight: bold;
}

/* -------------------------------------------------------
// # 評価要素(賞与)
// ------------------------------------------------------*/
.evaluitems.bonus .content {
  display: grid;
  grid-gap: 2px;
  grid-template-rows: 28px 1fr;
}
.evaluitems.bonus .content li {
  background-color: var(--thead-color);
}
.evaluitems.bonus .content li input {
  background-color: transparent;
  font-size: 0.9rem;
  color: #fff;
  font-weight: bold;
  margin-bottom: 2px;
}
.evaluitems.bonus .content > div {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 1fr 200px 120px;
  grid-gap: 2px;
}
.evaluitems.bonus .content .frontrow > * {
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
  padding: 5px 16px;
  font-size: 12px;
}
.evaluitems.bonus .content > div > * {
  background-color: #eee;
}
.evaluitems.bonus .focus {
  position: relative;
}
.evaluitems.bonus .point {
  position: relative;
  padding: 50px 0;
}
.evaluitems.bonus .point input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 22px;
  font-weight: bold;
  display: grid;
  align-items: center;
  justify-items: center;
}
.evaluitems.bonus .focus textarea {
  min-height: 10em;
}

/* -------------------------------------------------------
// # 評価シート
// ------------------------------------------------------*/
.evalsheet section {
  margin-bottom: 10px;
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 35px 1fr 350px;
  grid-gap: 3px;
  border: 3px solid var(--border-color);
  background-color: var(--border-color);
}
.evalsheet label {
  font-size: 14px;
  font-weight: bold;
  writing-mode: vertical-rl;
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
  background-color: var(--theme-color);
  color: #fff;
  min-height: 90px;
}
.evalsheet li {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 180px 1fr 80px 80px;
  grid-gap: 3px;
}
.evalsheet li:not(:last-child) {
  margin-bottom: 3px;
}
.evalsheet li > * {
  padding: 10px;
  white-space: pre-line;
  background-color: #fff;
  min-height: 50px;
}
.evalsheet li.alone > * {
  min-height: 110px;
}
.evalsheet li .title {
  font-weight: bold;
  color: var(--theme-color);
  background-color: #e7eaf7;
}
.evalsheet li .desc {
  position: relative;
}
.evalsheet li .desc textarea {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.evalsheet li .desc textarea:read-only,
.evalsheet .overall textarea:read-only {
  background-color: #fff;
}
.evalsheet li .point {
  position: relative;
}
.evalsheet li .point select,
.evalsheet li .point input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  background-color: transparent;
  z-index: 5;
}
.evalsheet li .point input:read-only,
.evalsheet li .point select:disabled {
  color: #000;
  opacity: 1;
}
.evalsheet.edit li .point input:read-only,
.evalsheet.edit li .point select:disabled {
  background-color: #f3f3f3;
}
.evalsheet li .point span {
  position: absolute;
  bottom: 0;
  right: 4px;
  z-index: 10;
  color: var(--border-color);
  font-size: 16px;
  text-align: right;
}
.evalsheet li .point span::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--border-color);
  transform: rotate(-54deg);
  position: relative;
  top: 7px;
  left: -10px;
}
.evalsheet section > div {
  background-color: #fff;
  padding: 5px;
  position: relative;
}
.evalsheet section > div h5 {
  color: var(--theme-color);
  font-size: 14px;
  font-weight: bold;
}
.evalsheet section > div textarea {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff!important;
}
.evalsheet header {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}
.evalsheet header .staffinfo {
  width: 37%;
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 85px 1fr;
  grid-gap: 3px;
  background-color: var(--border-color);
  border: 3px solid var(--border-color);
}
.evalsheet header .staffinfo:hover {
  cursor: pointer;
}
.evalsheet header .staffinfo picture {
  display: block;
}
.evalsheet header .staffinfo picture img {
  display: block;
  width: 100%;
  height: auto;
}
.evalsheet header .staffinfo > div {
  background-color: #fff;
  display: grid;
  align-items: center;
  padding: 0 10px;
  line-height: 1.3;
}
.evalsheet header .staffinfo h3 {
  font-size: 1.1rem;
  font-weight: bold;
}
.evalsheet header .staffinfo h3 i {
  margin-left: 5px;
  font-weight: normal;
  font-size: 0.8rem;
}
.evalsheet header .staffinfo li {
  display: inline-block;
  margin-right: 5px;
  font-size: 0.8rem;
}
.evalsheet header .result:not(.evaldetail) {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 1fr 80px 80px;
  grid-gap: 5px;
}
.evalsheet header table {
  margin-bottom: 0;
}
.evalsheet header tbody td {
  height: 50px;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  position: relative;
}
.evalsheet header .result td:nth-of-type(1),
.evalsheet header .result td:nth-of-type(2) {
  width: 180px;
}
.evalsheet header .result button {
  display: block;
  width: 80px;
  flex-basis: 80px;
}
.evalsheet header table td.point {
  text-align: right;
}
.evalsheet header table .grade {
  width: 60px;
}
.evalsheet header table td > div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  align-items: center;
  justify-items: center;
}
.evalsheet header table td span {
  font-size: 18px;
  color: #ccc;
  margin-left: 10px;
}
.evalsheet header table td span::before {
  content: "/";
}
.evalsheet header table td span i {
  margin-left: 5px;
  font-weight: normal;
}
.evalsheet header table.readonly tbody {
  background-color: #f3f3f3;
}
.evalsheet header button {
  border: 4px solid var(--theme-color);
  background-color: #fff;
  color: var(--theme-color);
  transition: all .3s;
  border-radius: 8px;
}
.evalsheet header button:hover,
.evalsheet header button:active {
  background-color: var(--theme-color);
  color: #fff;
}
.evalsheet header tbody em {
  color: var(--theme-color);
  font-size: 120%;
}

.evalsheet .overall {
  padding: 20px 0 10px;
  display: flex;
  justify-content: space-between;
}
.evalsheet .overall.advice {
  padding: 0;
}
.evalsheet .overall .review {
  background-color: var(--border-color);
  border: 3px solid var(--border-color);
  width: 60%;
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 35px 1fr;
  grid-gap: 3px;
}
.evalsheet .overall .review > div {
  background-color: #fff;
  position: relative;
}
.evalsheet .overall .review > div textarea {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.evalsheet .overall .review.readonly textarea {
  background-color: #fff!important;
}

/* -------------------------------------------------------
// # 評価シート（賞与）
// ------------------------------------------------------*/
.evalsheet.bonus section li {
  min-height: 200px;
}
.evalsheet.bonus li em {
  font-weight: bold;
  color: var(--theme-color);
  font-size: 12px;
  position: relative;
  top: -5px;
}
.evalsheet.bonus .items {
  padding: 0;
}
.evalsheet.bonus .items > div {
  background-color: var(--thead-color);
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 4px;
}
.evalsheet.bonus .items > div:not(:last-child) {
  margin-bottom: 2px;
}
.evalsheet.bonus .focuspoint {
  position: relative;
}
.evalsheet.bonus .focuspoint textarea {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* -------------------------------------------------------
// # stafftiles
// ------------------------------------------------------*/
@media (min-width: 1800px) {
  .stafftiles ul li {
    margin: 0 10px 10px 0
  }
}
@media (max-width: 1799px) and (min-width: 1500px) {
  .stafftiles ul li {
    margin: 0 8px 8px 0
  }
}
@media (max-width: 1499px) and (min-width: 1300px) {
  .stafftiles ul li {
    margin: 0 6px 6px 0
  }
}
@media (max-width: 1299px) {
  .stafftiles ul li {
    margin: 0 4px 4px 0
  }
}
.stafftiles {
  margin-bottom: 30px;
}
.stafftiles li.dom {
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.stafftiles li.dom:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}
.stafftiles li ul {
  display: flex;
  flex-wrap: wrap;
}
.stafftiles ul li {
  width: 160px;
  background-color: #fff;
}
.stafftiles ul li picture {
  /* pointer-events: none; */
}

/* -------------------------------------------------------
// # stafflist
// ------------------------------------------------------*/
@media (min-width: 1700px) {
  .stafflist li > div {
    padding: 0 12px;
  }
}
@media (max-width: 1699px) {
  .stafflist li > div {
    font-size: 14px;
    padding: 0 4px;
  }
}
.stafflist li {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  user-select: none;
  background-color: #fff;
  padding: 4px;
  border-radius: 50px;
  position: relative;
}
.stafflist li > picture {
  pointer-events: none;
}
.stafflist picture {
  display: block;
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  overflow: hidden;
  border-radius: 50%;
}
.stafflist picture img {
  width: 100%;
  height: auto;
}
.stafflist li > div {
  line-height: 1.2;
}
.stafflist li span {
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
}
.stafflist li .control {
  position: absolute;
  top: 0;
  right: 5px;
  bottom: 0;
  width: 40px;
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat( 2, 1fr );
}
.stafflist li.hasboss span,
.stafflist li.hasbigboss span {
  display: grid;
  align-items: center;
  justify-items: center;
  color: #0a0;
}
.stafflist li.hasboss span.boss::after,
.stafflist li.hasbigboss span.bigboss::after {
  content: "\f00c";
  font-family: "FontAwesome";
}
.stafflist .meta {
  font-size: 9px;
}

/* -------------------------------------------------------
// # nameplate
// ------------------------------------------------------*/
.nameplate {
  border: 1px solid var(--border-color);
  position: relative;
}
.nameplate a {
  color: var(--text-color);
}
.nameplate picture {
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  position: relative;
}
.nameplate picture img {
  width: 100%;
  height: auto;
  display: block;
}
.nameplate .desc {
  padding: 4px;
  font-size: 0.9rem;
}
.nameplate h4 {
  font-weight: bold;
}
.nameplate h4 i {
  margin-left: 0.3em;
  color: #555;
  font-size: 0.8rem;
}
.nameplate h4 i::before { content: '('; }
.nameplate h4 i::after { content: ')'; }
.nameplate .meta {
  font-size: 12px!important;
  line-height: 1.3;
}

/*manager*/
.nameplate picture .manager {
  display: none;
}
.owner .nameplate picture .manager {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 13px;
  font-weight: bold;
  background-color: #ddd;
  user-select: none;
}
.owner .nameplate picture .manager.active i {
  color: #ffbc05;
  font-size: 20px;
}

/*entitled*/
.nameplate.entitled::before {
  content: "\f559";
  font-family: 'FontAwesome';
  display: block;
  position: absolute;
  top: -5px;
  left: -5px;
  color: orange;
  font-size: 35px;
  z-index: 10;
}

/*add*/
.nameplate.add {
  min-height: 211px;
  display: grid;
  align-items: center;
  justify-content: center;
  background-color: #f3f3f3;
  border-style: dashed;
  border-width: 2px;
}
.nameplate.add span {
  display: block;
  text-align: center;
  color: var(--border-color);
}
.nameplate.add i {
  display: block;
  font-size: 40px;
}

/*selfcheck*/
.nameplate .selfchk {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 10px;
  text-align: center;
  line-height: 1.0;
  padding: 3px;
  font-weight: bold;
}
.nameplate .selfchk > * {
  display: block;
}
.nameplate .selfchk i {
  font-size: 22px;
  font-weight: bold;
  color: #888;
}
.nameplate .selfchk.done i {
  color: #00d02d;
}

/* -------------------------------------------------------
// # card
// ------------------------------------------------------*/
.card {
  background-color: var(--border-color);
  border: 3px solid var(--border-color);
}
.card dl {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 150px 1fr 150px 1fr;;
  grid-gap: 3px;
}
.card dl > * {
  background-color: #fff;
  padding: 5px;
  position: relative;
}
.card dt {
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
  height: 52px;
  display: grid;
  align-items: center;
}
.card dd input,
.card dd select,
.card dd textarea {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: none;
  background-color: #fff;
}
.card dd p {
  display: none;
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
}
.card dd p.error,
.card dd p.duplicate,
.card dd p.exceeded {
  color: var(--warning-color);
}
.card dd p.available {
  color: #0a0;
}
.card .error p.error,
.card .duplicate p.duplicate,
.card .available p.available,
.card .exceeded p.exceeded {
  display: block;
}
.card .updated {
  animation-direction: normal;
  animation-duration: 2s;
  animation-name: flash;
  animation-timing-function: ease;
}

/* -------------------------------------------------------
// # card / staff
// ------------------------------------------------------*/
.card.staff {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 200px 60% 1fr;
  grid-gap: 3px;
}
.card.staff .leftcol {
  display: grid;
  grid-gap: 3px;
}
.card.staff .leftcol picture {
  display: block;
  height: 210px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-color: #fff;
  position: relative;
}
.card.staff .leftcol picture.male {
  background-image: url(./avatar_male.svg);
}
.card.staff .leftcol picture.female {
  background-image: url(./avatar_female.svg);
}
.card.staff .picture .delete {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  display: grid;
  align-items: center;
  justify-items: center;
  font-size: 25px;
  line-height: 1.0;
  color: rgba(0,0,0,0.5);
}
.card.staff input[type=file] {
  display: none;
}
.card.staff .leftcol > div {
  position: relative;
  padding-top: 14px;
  background-color: #fff;
}
.card.staff .leftcol label {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--theme-color);
  color: #fff;
  font-size: 12px;
  padding: 1px 4px;
  font-weight: bold;
}
.card.staff .leftcol input {
  padding: 8px;
}
.card.staff .leftcol input[type=password],
.card.staff .leftcol input:read-only {
  background-color: transparent;
}
.card.staff dd {
  position: relative;
}
.card.staff .centercol dl {
  grid-template-columns: 20% 1fr 20% 1fr;
}
.card.staff .rightcol {
  display: grid;
  grid-gap: 3px;
}
.card.staff .rightcol > * {
  background-color: #fff;
  position: relative;
}
.card.staff .rightcol label {
  background-color: var(--theme-color);
  color: #fff;
  font-size: 12px;
  padding: 1px 4px;
  display: inline-block;
  position: relative;
  top: -4px;
}
.card.staff .rightcol input,
.card.staff .rightcol textarea {
  top: 18px;
  background-color: transparent;
}
.card.staff .rightcol textarea {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  resize: none;
}

/* -------------------------------------------------------
// # allowance
// ------------------------------------------------------*/
#allowance {
  padding-top: 35px;
  position: relative;
}
#allowance > ul {
  padding: 10px;
}
#allowance > ul > li {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 1fr 1fr 1fr 30px;
  grid-gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.2;
}
#allowance .amount {
  text-align: right;
}
#allowance .delete {
  text-align: center;
}
#allowance .delete:hover {
  cursor: pointer;
}
#allowance label {
  background-color: transparent;
  color: #777;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
#allowance label span {
  background-color: var(--theme-color);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 5px 12px;
  margin-right: 10px;
}
#allowance .total {
  content: "";
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 100px 1fr;
  grid-gap: 3px;
  background-color: var(--thead-color);
  border: 3px solid var(--thead-color);
}
#allowance .total > * {
  padding: 8px;
}
#allowance .total .label {
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
  font-size: .9rem
}
#allowance .total .amount {
  background-color: #fff;
}

/*contextmenu*/
#allowance-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  background-color: #fff;
  border: 2px solid var(--border-color);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, .4);
  z-index: 1000;
}
#allowance-menu.show {
  display: block;
}
#allowance-menu ul {
  padding: 1px;
}
#allowance-menu li {
  padding: 10px;
}
#allowance-menu li:hover {
  cursor: pointer;
  background-color: var(--thead-color);
  color: #fff;
}

/* -------------------------------------------------------
// # evalgroups
// ------------------------------------------------------*/
@media (min-width: 1500px) {
  .evalgroups .evalset {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat( 2, 1fr );
    grid-gap: 10px;
  }
  .evalgroups .evalset > div {
    min-height: 200px;
  }
}
@media (max-width: 1499px) {
  .evalgroups .evalset > div {
    min-height: 100px;
    margin-bottom: 10px;
  }
}
.evalgroups > li {
  margin-bottom: 25px;
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 200px 1fr;
  grid-gap: 40px;
}
.evalgroups .chief picture {
  display: block;
  position: relative;
}
.evalgroups .chief picture img {
  width: 100%;
  height: auto;
  display: block;
}
.evalgroups .chief picture label {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
}
.evalgroups .chief picture + div {
  padding-top: 8px;
}
.evalgroups .chief i {
  color: #ffbc05;
  font-size: 20px;
}
.evalgroups .chief .meta {
  font-size: 12px;
}
.evalgroups ul {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.evalgroups ul li {
  border: 2px solid #ddd;
  margin: 0 5px 5px 0;
  width: 170px;
}
.evalgroups .evalset > div {
  border: 3px dotted var(--border-color);
  padding: 10px;
}
.evalgroups .evalset ul {
  display: flex;
  align-items: flex-start;
}
.evalgroups .evalset h3 {
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: var(--theme-color);
}

/* -------------------------------------------------------
// # utilmenu
// ------------------------------------------------------*/
.utilmenu li {
  margin-bottom: 3px;
}
.utilmenu li a,
.utilmenu li span {
  display: block;
  border: 2px solid var(--border-color);
  background-color: #fff;
  padding: 4px 8px;
  border-radius: 50px;
}

/* -------------------------------------------------------
// # informbox
// ------------------------------------------------------*/
.informbox {
  display: none;
}
/* .informbox {
  background-color: #fff;
  height: 200px;
  padding: 6px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  margin-bottom: 20px;
}
.informbox label {
  font-size: 0.8rem;
  color: var(--theme-color);
  font-weight: bold;
} */


/* -------------------------------------------------------
// # Error表示
// ------------------------------------------------------*/
#errormsg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  max-width: 100%;
  background-color: rgba(0,0,0,0.8);
  display: grid;
  align-items: center;
  justify-items: center;
}
#errormsg > div {
  padding: 30px 50px;
  background-color: #fff;
}

#error {
  border: 2px solid #c00;
  padding: 40px;
  text-align: center;
  color: #c00;
}

/* -------------------------------------------------------
// # comwindow
// ------------------------------------------------------*/
#comwindow {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  height: 350px;
  width: 270px;
  background-color: #fff;
  border: 2px solid var(--border-color);
  z-index: 10;
  border-radius: 20px 0 0 0;
}

/* -------------------------------------------------------
// # Modal / 社員追加
// ------------------------------------------------------*/
.addstaff dl {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 120px 1fr;
  border: 3px solid var(--border-color);
  border-radius: 15px;
}
.addstaff dl > * {
  border-bottom: 3px solid var(--border-color);
  padding: 12px;
  position: relative;
}
.addstaff dl > .last {
  border-bottom: none;
}
.addstaff dt {
  text-align-last: justify;
  text-justify: inter-ideograph;
  color: var(--theme-color);
}
.addstaff dd {
  padding-left: 30px;
}
.addstaff input,
.addstaff select {
  font-size: 1.5rem;
  background-color: transparent;
}
.addstaff input,
.addstaff select {
  left: 30px;
  right: 10px;
  width: auto;
}
.addstaff .sleeve {
  padding-top: 12px;
  padding-bottom: 0;
}
.addstaff .sleeve button {
  margin: 0;
  border: 3px solid var(--theme-color);
  background-color: #f0f3fd;
  color: var(--theme-color);
  transition: all .3s;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border-radius: 13px;
}
.addstaff .sleeve button:hover,
.addstaff .sleeve button:focus,
.addstaff .sleeve button:active {
  background-color: var(--theme-color);
  color: #fff;
}
.addstaff p {
  display: none;
  font-size: 0.8rem;
  color: #b00;
}
.addstaff .error p.error,
.addstaff .duplicated p.duplicated {
  display: block;
}
.addstaff .duplicated input {
  opacity: 0.1;
}
.addstaff dd.sex {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat( 2, 1fr );
  grid-gap: 10px;
}
.addstaff dd.sex label {
  display: flex;
  align-items: center;
  position: relative;
}
.addstaff dd.sex span {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  box-sizing: border-box;
  border: 3px solid var(--border-color);
  margin-right: 5px;
  position: relative;
}
.addstaff dd.sex span::before {
  position: absolute;
  top: 3px;
  left: -7px;
  right: 0;
  bottom: 0;
  border-left: 5px solid var(--active-color);
  border-bottom: 5px solid var(--active-color);
  transform: rotate(-54deg);
  transform-origin: 6px -1px;
}
.addstaff dd.sex .checked span::before {
  content: "";
}

/* -------------------------------------------------------
// # awaitingEval
// ------------------------------------------------------*/
.awaitingEval li {
  background-color: #fff;
  padding: 12px;
  margin-bottom: 5px;
  border: 1px solid var(--border-color);
}
.awaitingEval em {
  display: block;
  font-size: 0.8rem;
}
.awaitingEval li div {
  font-weight: bold;
}

/* -------------------------------------------------------
// # 評価記録リスト
// ------------------------------------------------------*/
.evalHistory .status {
  width: 70px;
}
.evalHistory tr > .score,
.evalHistory tr > .grade {
  width: 60px;
}
.evalHistory tr > .boss {
  width: 160px;
}
.evalHistory td.status {
  position: relative;
  font-size: 0.9rem;
  font-weight: bold;
}
.evalHistory td.result {
  font-weight: bold;
  color: var(--theme-color);
}
.evalHistory td.status span {
  font-size: 12px;
  padding: 1px 5px;
  position: absolute;
  top: 1px;
  right: 1px;
  left: 1px;
  bottom: 1px;
  display: grid;
  align-items: center;
  justify-items: center;
}
/* 一時保存 */
.evalHistory .draft td.status span {
  background-color: #caefeb;
}
.evalHistory .draft td.status span::after {
  content: '一時保存';
}
/* 2次評価待ち */
.evalHistory .pending td.status span {
  background-color: #ffdfb7;
}
.evalHistory .pending td.status span::after {
  content: '2次評価待ち';
}
/* 確定 */
.evalHistory .publish td.status span {
  background-color: #22A699;
}
.evalHistory .publish td.status span::after {
  content: '確定';
}

/* -------------------------------------------------------
// # gradeindicator
// ------------------------------------------------------*/
@media (min-width: 1700px) {
  .gradeindicator .point em { font-size: 80px; }
  .gradeindicator .point i { font-size: 30px; }
  .gradeindicator > div { height: 170px; }
  .gradeindicator button { padding: 15px; }
}
@media (max-width: 1699px) {
  .gradeindicator .point {
    top: 10px;
  }
  .gradeindicator .point em { font-size: 40px; }
  .gradeindicator .point i { font-size: 18px; }
  .gradeindicator > div { height: 100px; }
  .gradeindicator button { padding: 5px; }
}
.gradeindicator {
  margin-bottom: 15px;
  border: 3px solid var(--theme-color);
  background-color: #fff;
  padding: 2px;
  position: relative;
}
.gradeindicator label {
  font-size: 12px;
  font-weight: bold;
  background-color: var(--theme-color);
  color: #fff;
  display: inline-block;
  position: absolute;
  top: 3px;
  left: 3px;
  padding: 2px 12px;
  border-radius: 20px;
}
.gradeindicator > div {
  display: grid;
  align-items: center;
  justify-items: center;
}
.gradeindicator .point {
  font-weight: bold;
  position: relative;
}
.gradeindicator .point em {
  color: var(--theme-color);
}
.gradeindicator .point i {
  color: var(--border-color);
}
.gradeindicator button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--active-color);
}
.gradeindicator button:disabled {
  background-color: #aaa;
}
.gradeindicator button:disabled i {
  display: none;
}

/* -------------------------------------------------------
// # promoteDef
// ------------------------------------------------------*/
.promoteDef thead th {
  height: 2em;
  text-align: center;
  position: relative;
}
.promoteDef thead th input {
  text-align: center;
}
.promoteDef .readonly {
  color: #888;
}

/* -------------------------------------------------------
// # raiseDef
// ------------------------------------------------------*/
.raiseDef thead th {
  height: 2em;
  text-align: center;
  position: relative;
}
.raiseDef thead th input {
  text-align: center;
}

/* -------------------------------------------------------
// # staffProf
// ------------------------------------------------------*/
#staffProf {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 180px 1fr 350px;
  grid-gap: 2px;
  border: 2px solid var(--border-color);
  background-color: var(--border-color);
}
#staffProf > * {
  background-color: #fff;
}
#staffProf picture img {
  width: 100%;
  height: auto;
  display: block;
}
#staffProf dl {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 120px 1fr 120px 1fr;
  grid-gap: 2px;
  background-color: var(--border-color);
}
#staffProf dl > * {
  padding: 7px;
  background-color: #fff;
  position: relative;
}
#staffProf dt {
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
}
#staffProf label {
  display: inline-block;
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
  padding: 3px 10px;
}
#staffProf .allowance {
  padding: 10px;
}
#staffProf .allowance li {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat( 3, 1fr );
  grid-gap: 3px;
  margin-bottom: 4px;
  line-height: 1.3;
  font-size: 0.9rem;
}
#staffProf .allowance .amount {
  text-align: right;
}

/* -------------------------------------------------------
// # 自己評価シート
// ------------------------------------------------------*/
#selfeval-sheet h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1em;
}
#selfeval-sheet h1 span {
  position: relative;
}
#selfeval-sheet h1 span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.4em;
  background-color: yellow;
  z-index: -1;
}
#selfeval-sheet header {
  display: block;
  margin-bottom: 40px;
}
#selfeval-sheet header table thead {
  background-color: transparent;
  color: #000;
}
#selfeval-sheet header table:nth-of-type(1) tr > * {
  width: 25%;
}
#selfeval-sheet header table:nth-of-type(2) tr > * {
  width: 50%;
}
#selfeval-sheet label {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.8em;
}
#selfeval-sheet fieldset {
  margin-bottom: 2em;
}
#selfeval-sheet textarea {
  border: 2px solid var(--border-color);
  height: 8em;
}
#selfeval-sheet .error > label {
  color: #b00;
}

/* -------------------------------------------------------
// # 自己評価リスト
// ------------------------------------------------------*/
.selfchkList {
  table-layout: fixed;
  width: 100%;
}
.selfchkList tr > *:nth-of-type(3) {
  width: 80px;
  text-align: center;
}

/* -------------------------------------------------------
// # 評価履歴
// ------------------------------------------------------*/
.evallist {
  width: 100%;
}
.evallist tr > *:nth-of-type(5) {
  width: 80px;
  text-align: center;
}

/* -------------------------------------------------------
// # フィードバックシート
// ------------------------------------------------------*/
#feedbacksheet {
  background-color: var(--border-color);
  border: 2px solid var(--border-color);
  margin-bottom: 30px;
}
#feedbacksheet > div {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 2em 200px 50px 1fr;
  grid-gap: 2px;
}
#feedbacksheet > div > div {
  background-color: #fff;
  padding: 5px;
  line-height: 1.3;
}
#feedbacksheet > div > div:nth-of-type(1) {
  text-align: center;
  line-height: 1.1;
}
#feedbacksheet .frontrow > div,
#feedbacksheet .label {
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
}
#feedbacksheet .frontrow .youso {
  grid-column: 2 / 4;
}
#feedbacksheet .frontrow,
#feedbacksheet .row:not(:last-child) {
  border-bottom: 2px solid var(--border-color);
}
#feedbacksheet .title,
#feedbacksheet .score {
  display: grid;
  align-items: center;
}
#feedbacksheet .title {
  font-weight: bold;
  color: var(--theme-color);
}
#feedbacksheet .score {
  text-align: center;
  font-weight: bold;
  color: var(--theme-color);
  font-size: 20px;
}
#feedbacksheet .desc {
  min-height: 4em;
  white-space: pre-wrap;
}
#feedbacksheet .review .desc {
  grid-column: 2 / 5;
}
#feedbacksheet .row > label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-align: center;
}

/* Result */
#feedback-result {
  background-color: var(--border-color);
  border: 2px solid var(--border-color);
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 100px 1fr;
  grid-gap: 2px;
}
#feedback-result > * {
  background-color: #fff;
  padding: 10px;
  box-sizing: border-box;
}
#feedback-result .label {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  padding: 5px;
  text-align: center;
}
#feedback-result .grade {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}
#feedback-result .comment {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: grid;
  align-items: center;
  font-size: 1.2rem;
}

/* -------------------------------------------------------
// # bonustable
// ------------------------------------------------------*/
#bonustable {
  background-color: var(--border-color);
  border: 2px solid var(--border-color);
  margin-bottom: 30px;
}
#bonustable > div {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat( 2, 1fr );
  grid-gap: 2px;
}
#bonustable > div > div {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 80px 150px 1fr 200px;
  grid-gap: 2px;
}
#bonustable > div > div > * {
  padding: 4px;
  background-color: #fff;
}
#bonustable .frontrow > div > div {
  background-color: var(--theme-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
}
#bonustable .amount {
  text-align: right;
}
#bonustable .body .amount::before {
  content: '￥';
}
#bonustable .name {
  text-decoration: underline;
  color: var(--theme-color);
}
#bonustable .name:hover {
  cursor: pointer;
}

/* -------------------------------------------------------
// # bonustable2
// ------------------------------------------------------*/
#bonustable2 {
  background-color: var(--border-color);
  border: 2px solid var(--border-color);
  margin-bottom: 30px;
}
#bonustable2 > div {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat( 2, 1fr );
  grid-gap: 2px;
}
#bonustable2 > div > div {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 80px 150px 1fr 50px 200px;
  grid-gap: 2px;
}
#bonustable2 > div > div > * {
  padding: 4px;
  background-color: #fff;
}
#bonustable2 .frontrow > div > div {
  background-color: var(--theme-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
}
#bonustable2 .body .amount {
  padding: 0;
}
#bonustable2 .amount input {
  text-align: right;
}
#bonustable2 .grade {
  text-align: center;
}
#bonustable2 .name {
  text-decoration: underline;
  color: var(--theme-color);
}
#bonustable2 .name:hover {
  cursor: pointer;
}

/* -------------------------------------------------------
// # monthcount
// # grossbonus
// ------------------------------------------------------*/
#monthcount tr > *,
#grossbonus tr > * {
  height: 30px;
}
#monthcount th,
#grossbonus th {
  width: 150px;
  background-color: var(--theme-color);
  color: #fff;
  font-weight: bold;
}
#monthcount td {
  padding-right: 30px;
}
#monthcount td input {
  right: 35px;
  width: auto;
  text-align: right;
  font-size: 26px;
  font-weight: bold;
}
#monthcount td::after {
  content: "ヶ月";
  position: absolute;
  bottom: 6px;
  right: 10px;
  width: 20px;
  height: 20px;
  font-size: 12px;
  color: #666;
  display: grid;
  align-items: center;
  justify-content: center;
}
#grossbonus td {
  font-size: 1.3rem;
  text-align: right;
}
#grossbonus td::before {
  content: "￥";
}
#bonusdef {
  width: 100%;
}
#bonusdef th {
  font-weight: bold;
}
#bonusdef tbody th {
  width: 80px;
}
#bonusdef tbody td {
  width: calc(25% - 20px);
}

/* -------------------------------------------------------
// # 
// ------------------------------------------------------*/


/* -------------------------------------------------------
// # 
// ------------------------------------------------------*/


/* -------------------------------------------------------
// # 
// ------------------------------------------------------*/


