@charset "UTF-8";
/* common
------------------------------------------------------------
*/
@font-face {
  font-family: 'Lato', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

html, body {
  position: relative;
  height: 100%;
}

body {
  overflow-y: auto;
  color: #666;
}

ul {
  -webkit-padding-start: 0px;
  padding-inline-start: 0px;
  margin: 0;
  padding: 0;
}

a {
  color: #3aaae2;
}

a:hover {
  text-decoration: none;
}

.rounded {
  position: relative;
  border-radius: 20px;
}

/* ロゴ */
.site_logo img {
  max-width: 250px;
  min-width: 100%;
}

/* 背景色 */
.bg-light {
  background-color: #fff;
}

.bg-gurey {
  background-color: #f3f6fa;
}

.bg-orange {
  background-color: #ffde71;
}

/* ボタン色変え */
.btn-primary {
  background-color: #7cd54f;
  border: none;
}

.btn-primary:hover {
  background-color: #60ac3a;
  border: none;
}

.btn-primary:focus,
.btn-primary:active {
  background-color: #60ac3a;
  box-shadow: none;
}

.btn-attendance {
  display: inline-block;
  margin-right: 10px;
  padding: 5px 10px 10px 10px;
  border-radius: 30px;
  background-color: #ddd;
  cursor: pointer;
}

.btn-attendance:hover,
.btn-attendance.active {
  background-color: #fbb03b;
}
.btn-attendance img:last-child {
  display: none;
}
.btn-attendance:hover img:first-child,
.btn-attendance.active img:first-child {
  display: none;
}
.btn-attendance:hover img:last-child,
.btn-attendance.active img:last-child {
  display: inline-block;
}

.btn-attendance-checkall {
  display: inline-block;
  margin-right: 10px;
  padding: 0;
  width: 40px;
  text-align: center !important;
  cursor: pointer;
}
.attendance-checkall-row {
  height: 2em;
}
.btn-attendance-checkall a {
  display: inline-block;
  width: 2em;
  height: 2em;
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23dddddd" viewBox="0 0 16 16"><path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.btn-attendance-checkall a:hover {
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fbb03b" viewBox="0 0 16 16"><path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"/></svg>');
}

/* 囲み */
.wrap_login,
.wrap_login > div {
  height: 100%;
}

.wrap_main {
  width: 100%;
  min-height: calc(100% - 73px);
  padding-right: var(--bs-gutter-x,.75rem);
  padding-left: var(--bs-gutter-x,.75rem);
  margin-right: auto;
  margin-left: auto;
}

.wrap_event {
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 5px #dfdfdf;
}

/* ソート */
.sort {
  text-decoration: none;
}

.sort.down::after {
  display: inline-block;
  content: '';
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 8.7px 5px 0 5px;
  border-color: #3aaae2 transparent transparent transparent;
}

.sort.up::after {
  display: inline-block;
  content: '';
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 0 5px 8.7px 5px;
  border-color: transparent transparent #3aaae2 transparent;
}

/* ナビゲーション */
.navbar.bg-white {
  border-bottom:1px solid #dfdfdf ;
}

.navbar-nav.user-nav {
  flex-direction:inherit;
}

.navbar-nav.user-nav {
  padding: 0 20px;
}

.navbar-light .navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler.collapsed {
  opacity: 0.3;
}

/* フッター */
.page-footer {
  padding-top: 20px;
  padding-bottom: 20px;
}


/* ログインページ */
.login_area {
  position: relative;
  height: 100%;
  background-color: #fff;
}

.login_logo {
  width: 100%;
  padding: 50px 0;
}

.login_form {
  position: absolute;
  top: calc(50% - 250px);
  left: 0;
  width: 100%;
}

.login_form .form-control {
  border-radius: inherit;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #f3f3f3;
}

.login_form .form-control:focus {
  box-shadow: inherit;
}

.login_form .btn {
  border-radius: inherit;
}

/* トップページ */
/* イラスト */
.figure-1 {
  height: 95%;
  position: absolute;
  top:10px;
  right: 50px;
  z-index: 10;
}

@media (max-width:991px) {
  .figure-1 {
    height: 70%;
    right: 10px;
  }
}

@media (max-width:798px) {
  .figure-1 {
    height: 40%;
    right: 0px;
  }
}

/* トップテーブル */
tr[data-href] td:nth-child(2),
tr[data-href] td:nth-child(3) {
  color: #3aaae2;
}

tr[data-href]:hover {
  background-color: #f3f6fa;
  cursor: pointer;
}

table.fix {
  table-layout: fixed;
}

table.fix th,
table.fix td {
  min-width: 80px;
}

.table > tbody > tr > td .table {
  margin: 0;
}

.w_short {
  text-align: center;
  width: 120px;
}

.w_middle {
  text-align: center;
  width: 240px;
}

.table_item {
  width: 100px;
}

.col-date {
  text-align: center;
  width: 250px;
}

.col-no {
  text-align: center;
  width: 40px;
}

.col-state {
  width: 50px;
}

.table-bordered>:not(caption)>*>.col-user {
  padding: 0;
}

/* 追加・編集ページ */
.form-group li {
  display: inline-block;
  list-style: none;
}

/*  */
.entry-button.entry-button-lg {
  display: table-cell;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  font-weight: bold;
  width: 200px;
  height: 200px;
  border-radius: 100%;
  background-color: #7cd54f;
  color: #fff;
}

.categry-tag {
  text-align: center;
  min-width: 100px;
  display:inline-block;
  font-weight: bold;
  margin-right: 20px;
  padding: 5px;
  background-color: #f3f6fa;
  border-radius: 5px;
}

.categry-tag.categry-tag-sm {
  min-width: 80px;
  margin-right: 10px;
}

/* 出欠テーブル */
table.table-fit {
  width: auto !important;
  table-layout: auto !important;
}
table.table-fit thead th, table.table-fit tfoot th {
  width: auto !important;
}
table.table-fit tbody td, table.table-fit tfoot td {
  width: auto !important;
}
th a.attendance-name {
  font-weight: normal;
  text-decoration: none;
}

/* エラー表示 */
.errorlist {
  list-style: none;
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
  position: relative;
  padding: 1rem 1rem;
  margin: 1rem 0;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}
.errorlist li:before {
  content: "※";
  display: inline-block;
  vertical-align: baseline;
}

/* 日付入力 */
.date-input-box {
  margin-bottom: 10px;
}
.date-input-box .date-input,
.date-input-box .time-input {
  display: inline-block;
  margin: 5px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  color: #3aaae2;
  text-align: center;
}
.date-input-box .date-input:read-only,
.date-input-box .time-input:read-only {
  color: #666;
  background: #fff;
  border: none;
}
.date-input-box .date-input {
  width: 140px;
}
.date-input-box .time-input {
  width: 60px;
}

/* その他 */

.nav-link {
  color: #3aaae2;
}

.date-input-box .time-separator {
  display: inline-block;
  text-align: center;
}

@media (max-width: 767.98px) {
  .wrap_main {
    padding: 0;
  }
  .frontend .wrap_event {
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .site_logo img {
    max-width: 150px;
  }
  .form-group li {
    display: block;
  }
}
