@charset "UTF-8";
html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, cite, del, dfn, em, img, ins, q, strike, strong, sub, sup, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, embed,
footer, header, main,
menu, nav, ruby, section, summary,
time, mark, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 100%;
}

html {
  overflow-y: scroll;
  font-family: "Lucida Grande", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 15px;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: none;
}

input, textarea, select {
  margin: 0;
  padding: 3px 5px;
  line-height: 1.2;
  border: 1px solid #ccc;
  border-radius: 2px;
}

input::-webkit-input-placeholder, input:-moz-placeholder, textarea::-webkit-input-placeholder, textarea:-moz-placeholder {
  color: #999;
}

input[type=button], input[type=submit], input[type=search], input[type=reset] {
  -webkit-appearance: none;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

caption, th {
  text-align: left;
}

a:focus {
  outline: none;
}

.clearfix:after {
  content: "";
  clear: both;
  display: block;
}

img {
  max-width: 100%;
}

/* RGB */
header {
  background: rgb(5, 115, 204);
}
header .inner {
  width: 1200px;
  margin: 0 auto;
}
header a {
  color: #fff;
}
header a.home {
  text-decoration: none;
  display: block;
  font-size: 1.5rem;
  float: left;
}

.wrap {
  width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 1.6rem;
  margin: 7px 0 0;
}
h2 {
  font-size: 1.35rem;
  margin-top: 15px;
}

h3 {
  font-size: 1.15rem;
  margin-top: 10px;
}

label {
  display: block;
}

.hide {
  display: none;
}

a {
  color: #0670cc;
}

.monthly-cal {
  font-size: 0.8rem;
  vertical-align: middle;
}

.view-switcher {
  margin: 0;
}
.view-switcher a {
  padding: 3px 5px;
}
.view-switcher .active {
  background: #0670cc;
  text-decoration: none;
  color: #fff;
}

.tbl-weeklyplan {
  font-size: 0.9rem;
}
.tbl-weeklyplan th, .tbl-weeklyplan td {
  border: 1px solid #777;
  padding: 2px 3px;
}
.tbl-weeklyplan .date-row th {
  background: #777;
  color: #fff;
}
.tbl-weeklyplan .col-row th {
  font-size: 0.7rem;
  background: #eee;
  text-align: center;
}
.tbl-weeklyplan .data-row th:first-child {
  text-align: center;
}
.tbl-weeklyplan .data-row td input[type=checkbox] {
  display: inline;
}
.tbl-weeklyplan .data-row td.cell-name {
  width: 150px;
}
.tbl-weeklyplan .data-row td.cell-assigned {
  width: 100px;
}
.tbl-weeklyplan .data-row td.cell-assigned-sub {
  width: 150px;
}
.tbl-weeklyplan .data-row td.cell-kyodokodo {
  width: 100px;
}
.tbl-weeklyplan .data-row td.cell-room {
  width: 40px;
}
.tbl-weeklyplan .data-row td.cell-memo {
  width: 200px;
}
.tbl-weeklyplan .data-row td.cell-lv {
  width: 60px;
}
.tbl-weeklyplan .data-row th.cell-period {
  width: 35px;
}

.mass-edit {
  padding: 20px 0px;
}
.mass-edit .alpha {
  padding: 0;
}

.full-width-textarea {
  width: 100%;
}

.input-long {
  width: 500px;
}

.ui-tooltip {
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 0 !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

.tbl-calender {
  margin: 26px 0 20px;
}
.tbl-calender thead th {
  position: relative;
  font-size: 0.8rem;
}
.tbl-calender thead th .case-count {
  font-size: 0.7rem;
  color: #666;
  position: absolute;
  right: 5px;
  line-height: 22px;
}
.tbl-calender thead th .case-count.over-capacity {
  color: red;
  font-weight: bold;
}
.tbl-calender thead th .case-count.over-capacity + .face-alert:before {
  position: absolute;
  left: 5px;
  content: "😱";
}
.tbl-calender thead th .bitrthday-balloon {
  cursor: pointer;
  position: absolute;
  top: -30px;
  background: #fff2cf;
  border-radius: 10px;
  padding: 5px;
  margin: 0 auto;
  left: 0;
  right: 0;
  width: 30px;
}
.tbl-calender thead th .bitrthday-balloon img {
  width: 20px;
  display: block;
}
.tbl-calender thead th .bitrthday-balloon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top: 5px solid #fff2cf;
}
.tbl-calender td, .tbl-calender th {
  padding: 3px 10px;
  border: 1px solid #999;
  width: 14.285%;
}
.tbl-calender.col8 thead tr:first-child th:first-child {
  border: 0;
  background: #fff;
  width: 3.1%;
}
.tbl-calender.col8 td, .tbl-calender.col8 th {
  width: 13.8%;
}
.tbl-calender.col8 tbody th:first-child {
  width: 3.1%;
  vertical-align: middle;
  background: #666;
  color: #fff;
}
.tbl-calender.availables td {
  text-align: center;
  vertical-align: middle;
  padding: 0;
}
.tbl-calender.availables td input[type=checkbox] {
  vertical-align: middle;
}
.tbl-calender th {
  text-align: center;
}
.tbl-calender td {
  font-size: 0.7rem;
  position: relative;
  padding-bottom: 15px;
}
.tbl-calender .case-add-btn {
  margin: 3px 0;
  display: inline-block;
  background: #666;
  color: #fff;
  padding: 1px 5px;
  text-decoration: none;
  position: absolute;
  bottom: 3px;
  right: 5px;
}
.tbl-calender li.case-done a {
  text-decoration: line-through;
}
.tbl-calender li.case-absent a {
  text-decoration: line-through;
  color: #888;
}
.tbl-calender li.case-cancel a {
  text-decoration: line-through;
  color: #f36;
}
.tbl-calender li:not(.case-done):not(.case-absent):not(.case-cancel) a::before {
  content: "❕";
  text-decoration: none;
}
.tbl-calender .col-holiday {
  background: #ffdbe1;
}
.tbl-calender thead th {
  background: rgb(231, 242, 244);
}
.tbl-calender tbody td.monthly-day ul .period-border {
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
  margin-bottom: 2px;
}
.tbl-calender tbody td.monthly-day:first-child:before {
  display: block;
  float: left;
  height: 30px;
  content: "";
  width: 1px;
}
.tbl-calender tbody td.monthly-day .day_counter {
  position: absolute;
  top: 0;
  left: 3px;
  z-index: 10;
  font-size: 0.8rem;
  color: #777;
}
.tbl-calender tbody td.monthly-day .day_count_case {
  position: absolute;
  bottom: 0;
  left: 3px;
  z-index: 10;
  color: #777;
}

.tasks td, .tasks th {
  padding: 3px 10px;
  border: 1px solid #ccc;
}
.tasks td:first-child, .tasks th:first-child {
  width: 130px;
}
.tasks th {
  text-align: center;
}
.tasks td {
  font-size: 0.8rem;
}
.tasks .deadline-col {
  width: 200px;
}
.tasks th.name-col {
  text-align: left;
}

.note-timetable {
  font-size: 0.8rem;
  background: #ccc;
  padding: 5px 10px;
  margin: 10px 0;
  float: left;
}

.notice {
  border: 1px solid #336;
  color: #336;
  background: #ddf;
  padding: 10px 20px;
  margin: auto;
  border-radius: 5px;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  bottom: 0;
  width: 500px;
  height: 50px;
  text-align: center;
  right: 0;
}

.important-text {
  color: #933;
}

input.errored, select.errored, textarea.errored, label.errored span.checkbox-dom:before {
  background: #fdd;
  border-color: #933;
}

.error {
  color: #d33;
  font-weight: bold;
  font-size: 130%;
}

.household-switcher {
  margin: 20px;
}
.household-switcher label {
  padding: 5px 10px;
}

.tbl-input td, .tbl-input th {
  padding: 7px 10px;
  border: 1px solid #999;
  text-align: left;
  font-size: 0.8rem;
}
.tbl-input th {
  background: #bfd7ff;
  vertical-align: top;
  width: 200px;
}
.tbl-input textarea {
  width: 500px;
  height: 100px;
}

.input-note {
  background: #ccc;
  padding: 2px 5px;
  font-size: 0.7rem;
  display: inline-block;
  margin: 10px;
}

.caselog-form .input-note {
  display: block;
  width: auto;
}
.caselog-form .comment-text {
  width: 100%;
  height: 150px;
  display: block;
}
.caselog-form .huge-rows {
  height: 300px;
}

.tbl-info td, .tbl-info th {
  padding: 7px 10px;
  border: 1px solid #999;
  font-size: 0.8rem;
}
.tbl-info th {
  text-align: left;
  background: #bfd7ff;
}
.tbl-info tbody th {
  width: 200px;
}

.tbl-list td, .tbl-list th {
  padding: 7px 10px;
  border: 1px solid #999;
  font-size: 0.8rem;
}
.tbl-list th {
  text-align: left;
  background: #bfd7ff;
}
.tbl-list.claimrevise th {
  text-align: center;
  vertical-align: middle;
}
.tbl-list.claimrevise th:first-child {
  width: 40px;
  padding: 0;
}
.tbl-list.claimrevise td {
  text-align: center;
}
.tbl-list.programs th {
  text-align: center;
  vertical-align: middle;
}
.tbl-list.programs td:first-child, .tbl-list.programs td:nth-child(n+3) {
  text-align: center;
}
.tbl-list .branch-actions a {
  display: inline-block;
  margin-right: 20px;
}

.alpha {
  padding: 30px;
}
.alpha.slim {
  padding: 10px 0;
}
.alpha.nopad {
  padding: 0;
}

.btn-headline {
  background: rgb(5, 115, 204);
  padding: 3px 10px;
  text-decoration: none;
  color: #fff;
  border-radius: 3px;
  font-size: 75%;
  margin: 3px 0;
}

.pull-l {
  float: left;
}

.pull-r {
  float: right;
}

.task-over-deadline {
  background: #ffcdc9;
}

.program_description {
  border: 1px solid #ccc;
  background: #ddd;
  z-index: 100;
  padding: 10px;
}

.claim-table th, .claim-table td {
  border: 1px solid #ccc;
}
.claim-table th:first-child:before, .claim-table td:first-child:before {
  display: block;
  float: left;
  height: 1em;
  content: "";
}

.switch-caselog-mode {
  margin: 20px 0;
}

.task-wrapper {
  width: 49%;
}
.task-wrapper:last-child {
  float: right;
}
.task-wrapper:first-child {
  float: left;
}

.datepicker {
  width: 120px;
}

.ib-radio-wrap-elem {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid #ccc;
  border-radius: 15px;
  line-height: 30px;
}
.ib-radio-wrap-elem span:before {
  vertical-align: middle;
}

.tbl-input.form-supportplan input, .tbl-input.form-supportplan textarea {
  width: 100%;
}

#modalbox-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  width: 100vw;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#modalbox-bg.hide {
  display: none;
}

#modalbox .close-box {
  float: right;
  font-size: 1.4rem;
  color: #666;
  font-weight: bold;
}
#modalbox.customers-search {
  padding: 20px;
  width: 900px;
  position: absolute;
  top: 200px;
  background: #fff;
  border-radius: 10px;
}

.item-supplementary-explanation {
  background: #ccc;
  padding: 5px;
  font-size: 0.8rem;
  margin-top: 3px;
}
.item-supplementary-explanation span {
  font-weight: bold;
  padding-right: 3px;
}

.dropmenu {
  list-style-type: none;
  width: 930px;
  float: right;
  margin: 0 auto;
  padding: 0;
}

.dropmenu:before, .dropmenu:after {
  content: "";
  display: table;
}

.dropmenu:after {
  clear: both;
}

.dropmenu li {
  position: relative;
  width: 14.2%;
  float: left;
  margin: 0;
  padding: 0;
  text-align: center;
}

.dropmenu li a {
  display: block;
  margin: 0;
  padding: 15px 0 11px;
  background: rgb(5, 115, 204);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.dropmenu li ul {
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  width: auto;
}

.dropmenu li ul li {
  width: 100%;
  white-space: nowrap;
}

.dropmenu li ul li a {
  padding: 13px 15px;
  border-top: 1px none #7c8c0e;
  background: #0670cc;
  text-align: left;
}

.dropmenu li:hover > a {
  background: #0670cc;
}

.dropmenu li a:hover {
  background: #05559a;
}

.dropmenu li ul li {
  overflow: hidden;
  height: 0;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.dropmenu li:hover ul li {
  overflow: visible;
  height: 38px;
}

.radio-dom, .checkbox-dom {
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

input[type=radio], input[type=checkbox] {
  display: none;
}

.radio-dom::before {
  display: inline-block;
  content: "";
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 22px;
}

.radio-dom::before {
  z-index: 0;
  background-color: transparent;
  width: 22px;
  height: 22px;
  border: 2px #78909c solid;
}

input[type=radio]:checked + .radio-dom::before {
  border-width: 6px;
}

.checkbox-dom::before, .checkbox-dom::after {
  display: inline-block;
  content: "";
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.checkbox-dom::before {
  z-index: 0;
  background-color: #fff;
  width: 22px;
  height: 22px;
  border: 2px #333 solid;
  border-radius: 5px;
}

.checkbox-dom::after {
  position: absolute;
  left: 0;
  z-index: 1;
  margin: 5px 8px;
  width: 6px;
  height: 9px;
}

input[type=checkbox]:checked + .checkbox-dom::before {
  background-color: #333;
}

input[type=checkbox]:checked + .checkbox-dom::after {
  border: 2px solid #fff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

label {
  cursor: pointer;
}

label.vspaced {
  margin-top: 10px;
  margin-bottom: 10px;
}

@media print {
  body {
    padding: 0;
    font-size: 8pt;
  }
  .no-print {
    display: none !important;
  }
  .tbl-weeklyplan {
    page-break-inside: avoid;
  }
}