.el_header {
  text-align: center
}

.el_header .header_status {
  vertical-align: middle;
  margin-bottom: 10px
}

.el_header .header_button_cell {
  margin-bottom: 10px
}

.el_header .header_status_image {
  width: 18px;
  height: 18px
}

.el_header .btn-header {
  font-size: 1em;
  padding: 6px 12px;
  margin-bottom: 4px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #FEF3C7;
  border: #A1A1AA 1px solid;
  color: #000;
  border-radius: 4px;
  white-space: normal;
  display: block;
  width: 100%
}

.el_header .btn-header:hover {
  font-size: 1em;
  padding: 6px 12px;
  margin-bottom: 4px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #F59E0B;
  border: #A1A1AA 1px solid;
  color: #fff;
  border-radius: 4px;
  white-space: normal;
  display: block;
  width: 100%
}
.el_header .header_nonpass a {
  color: #000000;
  text-decoration: none;
  border-bottom: #000000 1px solid
}

.el_calendar .calendar_frame {
  margin-top: 10px;
  width: 100%;
  height: 150px;
}

.el_calendar .calendar_header {
  width: 100%;
  margin-bottom: 10px
}

.el_calendar .month_pre {
  width: 20%;
  text-align: left;
  padding: 2px
}

.el_calendar .month_next {
  width: 15%;
  text-align: right;
  padding-top: 5px;
  margin-top: 5px;
}

.el_calendar .header_center {
  margin: 0 auto;
  text-align: center;
}

.header_frame{
  background-color: #BEE0A9;
  position: relative;
}
.ymtext{
  padding-top: 5px;
  font-size: 1.1rem;
  font-weight: 500;
  width: 95%;
  text-align: center;
}

.el_calendar .calendar_body {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  background-color: #FFFFFF
}

.el_calendar .tr_head {
  background-color: #338307;
  color: white;
  margin: 1px;
}

.el_calendar .calendar_body td {
  text-align: center;
  border: solid #FEFFBA 3px;
  padding: 4px 6px;
}

.el_calendar .holiday {
  color: #DC2626;
}

.el_calendar .dtype1 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .dtype2 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .dtype3 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .dtype4 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .dtype5 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .dtype6 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .dtype7 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .dtype8 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .dtype9 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .dtype10 {
  background-color: #FFB56A;
  color: #000;
}

.el_calendar .hdtype1 {
  background-color: #FEF08A;
  font-weight: bold;
  color: #000;
  font-weight: bold
}

.el_calendar .calendar_kan {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top:5px;
  margin-bottom: 5px;
  text-align: left;
  width:90%;
  height:30px;
  border: 1px solid;
}

.el_calendar .btn-calendar,
.el_calendar .btn-ellist {
  font-size: 1em;
  margin-right: 2%;
  padding: 0 6px 4px 6px;
  text-align: center;
  border: 1px solid #DC6F03;
  background-color: #F9F3E3;
  color: #27272A;
  white-space: normal;
  display: block;
  width: 100%;
}

.el_calendar .btn-calendar:hover,
.el_calendar .btn-ellist:hover {
  background-color: #FFECB9;
}

.etooltip {
  color: #000000;
  display: inline-block;
  width: 100%;
  text-decoration: underline
}

.etooltip span {
  display: none
}

.etooltip:hover {
  position: relative;
  color: #333
}

.etooltip:hover span {
  display: block;
  position: absolute;
  top: 20px;
  right: -205px;
  background-color: #ffffff;
  padding: 5px;
  width: 200px;
  color: #000000;
  font-size: 80%;
  z-index: 100;
  text-align: left;
  border: #000000 1px solid
}

.el_library_list {
  width: 100%;
  border: #0073A8 1px solid
}

.el_library_list .library_list_com {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 6px 10px;
  width: 100%;
  color: #fff;
  font-size: 1.2em;
  background-color: #0073A8
}

.el_library_list .library_list_com p {
  text-align: center;
  margin: 0
}

.el_library_list .library_list_area a {
  color: #000000;
  text-decoration: none
}

.el_library_list .library_list_area .products {
  font-size: 0;
  padding: 4px;
  margin: 4px;
  border: #0073A8 1px solid
}

.el_library_list .library_list_area .lib-img {
  width: 40%;
  display: inline-block;
  vertical-align: top
}

.el_library_list .library_list_area .lib-item {
  font-size: 16px;
  width: 60%;
  display: inline-block;
  vertical-align: top
}

.el_library_list .library_list_area .lib-status-open {
  color: #00008b;
  font-weight: bold
}

.el_library_list .library_list_area .lib-status-close {
  color: #dc143c;
  font-weight: bold
}

.el_news_area a {
  color: #000000;
  text-decoration: none
}

.el_news_area .el_news_group {
  padding: 6px
}

.el_news_area .el_news_group .el_news_item {
  border-bottom: 2px #000000 dotted
}

.el_news_area .el_news_group .el_news_item .el_news_content {
  position: relative;
  display: block;
  padding: 2px 4px;
  color: #000000
}

.el_news_area .el_news_group .el_news_item .el_news_content:hover {
  background-color: #F4F1E7;
  border-radius: 10px
}

.el_news_area .el_news_group .el_news_item .el_news_content .label-area {
  padding: 4px 2px
}

.el_news_area .el_news_group .el_news_item .el_news_content .label-area .label-new {
  background-color: #fcc;
  display: inline;
  padding: 0.1em 0.4em;
  font-size: 80%;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em
}

.el_news_area .el_news_group .el_news_item .el_news_content .label-area .label-kan0 {
  background-color: #fcc;
  display: inline;
  padding: 0.1em 0.4em;
  font-size: 80%;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em
}

.el_news_area .el_news_group .el_news_item .el_news_content .subject-area {
  width: 100%;
  padding: 6px 2px;
  margin: 2px 0
}

.el_news_area .el_news_group .el_news_item .nonnews {
  position: relative;
  display: block;
  padding: 8px 6px;
  margin: 2px 0
}

.error {
  color: Red;
  font-weight: bold;
  text-align: center
}
.calendar-legend {
  text-align: center; 
}
.legend-icon, .legend-text {
    display: inline-block;
    vertical-align: middle;
}
.last-child {
    margin-bottom: 1rem;
}
.legend-icon {
    width: 1rem;
    height: 1rem;
    border: 1px solid #d1d5db;
    margin: 0 5px
}
.red-background {
    background-color: #FFB56A;
    margin-top: 3px;
    margin-left: 5px;
}
.green-background {
    background-color: #FFE3B4;
}

td.today {
    outline: 2px solid #F3516E;  /* borderの代わりにoutlineを使用 */
    outline-offset: -2px;    /* 枠線をセルの内側に描画する */
}
@media screen and (min-width:0px) and (max-width:1044px) {
.el_calendar .calendar_frame {
    position: relative;
    margin-top: 10px;
    width: 90%;
    height: 150px;
    left: 5%;
}
.left-column-flex-container > .el.header,
.left-column-flex-container > .calender-box {
  width: 50%;
  display: flex;        
  flex-direction: column;
}
.left-column-flex-container > .calender-box {
  clear: none;
}
.left-column-flex-container #login-view,
.left-column-flex-container #login-view form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.column-left > .el.header,
.column-left > .calender-box,
.column-left .login-box,
.column-left #login-view,
.column-left #login-view form {
    height: 100%;
}
.left-column-flex-container .login-box {
    justify-content: space-evenly;
    padding-top: 1em;              
    padding-bottom: 1em;
}
}