input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
  padding-top: 70px !important;
  /* Adjust as needed */
}

/* col-lg- 1200px以上はそのまま */
@media screen and (min-width: 1200px) {
  .menu_logo {
    margin-bottom: 20px;
  }

  #indexCal {
    margin: 0 5px;
  }

  .gakkiWedgetPad {
    margin: 0 10 !important;
  }
}

/* col-md- 1199px以下 */
@media screen and (max-width: 1199px) {
  .menu_logo {
    margin-bottom: 20px;
  }

  #indexCal {
    margin: 0 5px;
  }

  .gakkiWedgetPad {
    margin: 0 10 !important;
  }
}

/* col-sm- 991px 以下 */
@media screen and (max-width: 991px) {
  .menu_logo {
    margin-bottom: 20px;
  }

  #indexCal {
    margin: 0 5px;
  }

  .gakkiWedgetPad {
    margin: 0 10 !important;
  }
}

/* col-xs- 767px 以下 */
@media screen and (max-width: 520px) {
  .menu_logo {
    margin-bottom: 10px;
  }

  #indexCal {
    margin: 0;
  }

  .row {
    margin-right: 0;
    margin-left: 0;
  }

  .gakkiWedgetPad {
    margin: 0 0;
  }

  .menu_position {
    padding: 10px;
  }
}

.footer {
  z-index: 3;
}

/* モーダル系を不透明に */
.modal,
.modal.fade,
.modal.in,
.modal.show,
.modal.fade.in {
  opacity: 1 !important;
}

.modal-dialog,
.modal .modal-dialog,
.modal.fade .modal-dialog,
.modal.in .modal-dialog,
.modal.show .modal-dialog {
  opacity: 1 !important;
}

.modal-content,
.modal .modal-content,
.modal-dialog .modal-content,
.modal.fade .modal-dialog .modal-content,
.modal.in .modal-dialog .modal-content,
.modal.show .modal-dialog .modal-content {
  opacity: 1 !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
}

.modal-content *,
.modal-content .modal-header,
.modal-content .modal-body,
.modal-content .modal-footer,
.modal-content .modal-header *,
.modal-content .modal-body *,
.modal-content .modal-footer * {
  opacity: 1 !important;
}

.modal-content .modal-header {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

.modal-content .modal-body {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

.modal-content .modal-footer {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

.inmodal .modal-body {
  background-color: #f8fafb !important;
  background: #f8fafb !important;
  opacity: 1 !important;
}

.inmodal .modal-body * {
  opacity: 1 !important;
}

/* headerの背景をfooterと同じく半透明に */
.navbar.navbar-fixed-top.white-bg {
  opacity: 1 !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

.navbar.navbar-fixed-top.white-bg *,
.navbar.navbar-fixed-top.white-bg .btn,
.navbar.navbar-fixed-top.white-bg .btn *,
.navbar.navbar-fixed-top.white-bg button,
.navbar.navbar-fixed-top.white-bg button * {
  opacity: 1 !important;
}

.bgstripe {
  background: -moz-linear-gradient(left top, #fcfcfc, #fcfcfc 25%, #fbfbfb 25%, #f4f4f4 50%,
      #fcfcfc 50%, #fcfcfc 75%, #f4f4f4 75%, #f4f4f4);
  background: -webkit-gradient(linear, left top, right bottom,
      from(#fcfcfc), color-stop(25%, #fcfcfc), color-stop(25%, #f4f4f4), color-stop(50%, #f4f4f4),
      color-stop(50%, #fcfcfc), color-stop(75%, #fcfcfc), color-stop(75%, #f4f4f4), to(#f4f4f4));
  -moz-background-size: 20px 20px;
  -webkit-background-size: 20px 20px;
  background-size: 20px 20px;
  background-color: rgb(216, 216, 216);
}

#logo {
  margin: 10px 0 0 10px;
  width: 220px;
}

.h5px {
  height: 5px;
  width: auto;
}

.h10 {
  height: 10px;
  width: auto;
}

.h20 {
  height: 20px;
  width: auto;
}

.h30 {
  height: 30px;
  width: auto;
}

.h40 {
  height: 40px;
  width: auto;
}

.h50 {
  height: 50px;
  width: auto;
}

.h100 {
  height: 100px;
  width: auto;
}

.w95 {
  width: 95%;
  height: auto;
}

@media(max-width:767px) {
  .panel-body {
    padding: 5px 5px;
  }

  /* .ibox-content{padding: 5px;} */
}

@media only screen and (max-device-width: 640px),
only screen and (max-device-width: 667px),
only screen and (max-width: 480px) and (orientation : portrait) {

  /*iPhone 6 and iPhone 6+ portrait */
  .panel-body {
    padding: 5px 5px;
  }

  /* .ibox-content{padding: 5px;} */
  .fontgray {
    color: #949494;
  }
}

@media only screen and (max-width: 480px) and (orientation : portrait) {
  .panel-body {
    padding: 5px 5px;
  }

  .ibox-content {
    padding: 1px;
  }

  .fontgray {
    color: #949494;
  }
}

input,
textarea {
  font-size: 17px;
}

.clearfix {
  clear: both;
}

.account_box {
  background-color: #ffffff;
  color: inherit;
  padding: 40px;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 1px 0px;
}

.account_content {
  background: #eee;
  display: block;
  margin: 0;
  padding: 10px 20px;
  min-height: 300px;
  overflow: hidden;
  position: relative;
  width: auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.widgetpad {
  padding: 10px;
}

.topwidgetpad {
  padding: 2px 7px 5px 7px;
}

.pad10 {
  padding: 0 0 0 10px;
}

.pad0 {
  padding: 0;
}

.padding10 {
  padding: 0 10px 0 10px;
}

.w10 {
  width: 10px;
  height: 20px;
}

.mb0 {
  margin-bottom: 0px;
}

.mb5 {
  margin-bottom: 5px;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb100 {
  margin-bottom: 100px;
}

.pb0 {
  padding-bottom: 0px;
}

.p10 {
  padding: 10px;
}

.z1000 {
  z-index: 1000;
}

.radius5 {
  border-radius: 5px;
}

.paddingtop {
  padding-top: 20px;
}

.zerozero {
  margin: 0;
  padding: 0;
}

.topwidgetmargin {
  margin: 0;
}

.margintop5 {
  margin: 5px 0 0 0;
}

@media screen and (max-width: 320px) {
  .navbar-right {
    margin-right: 15px;
  }

  .panel-heading {
    padding: 5px 5px;
  }

  .p-lg {
    padding: 15px;
  }

  .wedget {
    padding: 10px 10px;
  }

}

.dankaView {
  margin: 0 0 10px 0;
}

.margin5 {
  margin: 5px;
}

.margin10 {
  margin: 10px;
}

.margin20 {
  margin: 20px;
}

.margintop10 {
  margin-top: 10px;
}

.margintop20 {
  margin-top: 20px;
}

.marginright10 {
  margin-right: 10px;
}

.marginright15 {
  margin-right: 15px;
}

.marginright20 {
  margin-right: 20px;
}

/* .datepicker{z-index: 11510 !important; position: absolute;} */
.datepicker {
  z-index: 11 !important;
  position: absolute;
}

.color_white {
  color: #ffffff;
}

.color_black {
  color: #000000;
}

.footfont {
  font-size: 0.6em;
  margin-bottom: 2px;
}

.footicon {
  font-size: 1.6em;
}

.border1px {
  border-color: #e7eaec;
  border-style: solid;
  border-width: 1px;
  padding-top: 15px;
  padding-bottom: 2px;
}

.white {
  background-color: white;
}

.card_input {
  margin: 0 50px;
}

.flex {
  display: flex;
}

#help_button {
  position: fixed;
  /* padding: 8px 10px 0 14px; */
  top: 35px;
  right: 3px;
  z-index: 9999;
}

.no_margin_top {
  margin-top: 0;
}

.gakki_maker {
  font-size: 1.1em;
  margin: 15px;
  padding: 10px;
  background: white;
  color: #3f3f3f;
}

.sun_holiday {
  color: #ff0000;
}

.sat_holiday {
  color: blue;
}

.cal_col {
  width: 14%;
}

/* .cal_box{margin: 0 5px 10px 5px;} */

.todayTD {
  color: black;
  background: #c3c3c3;
}

.todayTDholiday {
  color: #ff0000;
  background: #c3c3c3;
}

.calDay {
  font-size: 10px;
}

.cal_gray {
  color: rgb(190, 190, 190);
}

.searchtd1 {
  width: 40%;
}

.searchtd2 {
  width: 60%;
}

.searchtd3 {
  width: 20%;
}

.kifutd1 {
  width: 10%;
}

.kifutd2 {
  width: 50%;
}

.kifutd3 {
  width: 15%;
}

.kifutd4 {
  width: 15%;
}

.calctd1 {
  width: 25%;
}

.calctdpad {
  padding: 0 15px 0 0 !important;
}

.goukei {
  margin: 0 20px;
}

.scheduleCircle {
  position: absolute;
  right: 17px;
  z-index: 10;
}

/* フローティング検索窓 */
.floating-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7) !important;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
  animation: fadeIn 0.3s ease-in-out;
}

.floating-search-overlay *,
.floating-search-overlay .floating-search-form,
.floating-search-overlay .floating-search-form *,
.floating-search-overlay .floating-search-input-group,
.floating-search-overlay .floating-search-input-group *,
.floating-search-overlay .floating-search-input,
.floating-search-overlay .floating-search-submit {
  opacity: 1 !important;
}

.floating-search-input-group {
  background-color: white !important;
  background: white !important;
  opacity: 1 !important;
}

.floating-search-input-group .floating-search-input {
  background-color: white !important;
  background: white !important;
  opacity: 1 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.floating-search-form {
  width: 90%;
  max-width: 600px;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.floating-search-input-group {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.floating-search-input-group .floating-search-input {
  border: none;
  border-radius: 0;
  font-size: 22px;
  padding: 18px 20px;
  box-shadow: none;
  background-color: white;
}

.floating-search-input-group .floating-search-input:focus {
  border: none;
  box-shadow: none;
  background-color: white;
}

.floating-search-input-group .input-group-btn {
  vertical-align: top;
}

.floating-search-input-group .floating-search-submit {
  border: none;
  border-radius: 0;
  padding: 18px 30px;
  font-size: 22px;
  white-space: nowrap;
  background-color: #337ab7;
  transition: background-color 0.2s;
}

.floating-search-input-group .floating-search-submit:hover {
  background-color: #286090;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .floating-search-overlay {
    padding-top: 60px;
    padding-left: 4px;
    justify-content: center;
  }

  .floating-search-form {
    width: 95%;
    max-width: none;
  }

  .floating-search-input-group .floating-search-input {
    font-size: 18px;
    padding: 15px 18px;
  }

  .floating-search-input-group .floating-search-submit {
    padding: 15px 24px;
    font-size: 18px;
  }
}

.updateimage {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 10;
}

.relative {
  position: relative;
}

.gakkiBox {
  margin-left: 10px !important;
  margin-right: 10px !important;
}

.checkbox-inline,
.radio-inline {
  position: relative;
  display: inline-block;
  padding-left: 10px;
  /* margin-bottom: 10px; */
  font-weight: 400;
  vertical-align: middle;
  cursor: pointer
}

/* for  new gakki list table */
.gakkitable {
  background-color: white;
}

#noresults {
  visibility: hidden;
}

.gakkith1 {
  width: 20%;
}

.gakkith2 {
  width: 70%;
}

.gakkith3 {
  width: 10%;
}

.mr10 {
  margin-right: 10px;
}

.silverRadius {
  border: 2px solid #C0C0C0;
  /* 枠線の色をシルバーに設定します */
  border-radius: 10px;
  /* 角丸の半径を調節します */
  margin: 10px;
  /* 余白を設定します */
  padding: 10px;
  /* 内側の余白を設定します */
  background-color: #f5f5f5;
}

.rokuyou {
  font-size: 0.8em;
}

/* メニューボタン */
#btn-menu {
  display: block;
  position: absolute;
  top: 4px;
  left: 14px;
  z-index: 100;
  transition: all .2s ease-in;
  border: none;
}

.navCircle {
  position: absolute;
  left: 14px;
  top: 4px;
  z-index: 100;
}

.searchCircle {
  position: absolute;
  left: 78px;
  top: 4px;
  z-index: 100;
  border: none;
}

.searchCircle.lazur-bg {
  background-color: #23c6c8;
  color: #ffffff;
}

.searchCircle.lazur-bg:hover {
  background-color: #1db8ba;
  color: #ffffff;
}

/* メニュー */
.menu_icons {
  border: 2px solid #b9b9b9;
  padding: 8px 6px 10px 6px;
  background: white !important;
  background-color: white !important;
  margin: 0;
  width: 108px;
  min-height: 100px;
  text-align: center;
  overflow: visible;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 1 !important;
}

.menu_icons i {
  display: block;
  margin: 0 auto;
  text-align: center;
  flex-shrink: 0;
}

.menu_icons br {
  display: none;
}

.menu_icons .icon-name {
  display: block;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: nowrap;
  line-height: 1.3;
  text-align: center;
  margin-top: 6px;
  padding: 0 2px;
  box-sizing: border-box;
  color: #0083fa !important;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#sp-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  overflow: auto;
  z-index: 110;
  transition: opacity .3s ease-in, visibility .3s ease-in;
  visibility: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#sp-menu #logo {
  width: 100%;
  text-align: center;
  flex-shrink: 0;
}

#sp-menu .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
  max-width: 100%;
}

.open-menu #sp-menu {
  visibility: visible;
  opacity: 1 !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

#sp-menu,
#sp-menu *,
#sp-menu .menu_position,
#sp-menu .menu_position *,
#sp-menu .row,
#sp-menu .row *,
.open-menu #sp-menu,
.open-menu #sp-menu *,
.open-menu #sp-menu .menu_position,
.open-menu #sp-menu .menu_position *,
.open-menu #sp-menu .row,
.open-menu #sp-menu .row * {
  opacity: 1 !important;
}

#sp-menu .menu_icons,
.open-menu #sp-menu .menu_icons,
#sp-menu .menu_icons *,
.open-menu #sp-menu .menu_icons * {
  opacity: 1 !important;
  background: white !important;
  background-color: white !important;
}

#sp-menu .menu_position,
.open-menu #sp-menu .menu_position {
  opacity: 1 !important;
  background: transparent !important;
  background-color: transparent !important;
}

#sp-menu-position {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu_position {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0 auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 20px;
  box-sizing: border-box;
  opacity: 1 !important;
  background: transparent !important;
  background-color: transparent !important;
}

.row.menu_position {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.menu-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 10px auto;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}

.menu-row .menu_child {
  margin: 10px 15px;
  flex: 0 0 auto;
  width: auto !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.menu-row .menu_child[class*="col-"] {
  width: auto !important;
  flex: 0 0 auto !important;
}

/* 大きい画面（768px以上）：1行に最大5つ並ぶ（改行可能） */
@media screen and (min-width: 768px) {
  .menu-row .menu_child {
    margin: 10px 15px;
    max-width: calc(20% - 30px) !important;
    box-sizing: border-box !important;
  }
}

/* 中〜大サイズ（653px〜767px）：1行に最大5つ並ぶ（改行可能） */
@media screen and (min-width: 653px) and (max-width: 767px) {
  .menu-row .menu_child {
    margin: 8px 10px;
    max-width: calc(20% - 20px) !important;
    box-sizing: border-box !important;
  }
}

/* 中サイズ（481px〜652px）：1行に最大5つ並ぶ（改行可能）、アイコンサイズを調整 */
@media screen and (min-width: 481px) and (max-width: 652px) {
  .menu_icons {
    width: 85px !important;
    min-height: 80px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  .menu_icons i {
    font-size: 2.5em !important;
    margin-bottom: 0 !important;
  }

  .menu_icons .icon-name {
    font-size: 0.75em !important;
    line-height: 1.2 !important;
    margin-top: 4px !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
  }

  .menu-row {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .menu-row .menu_child {
    margin: 8px 4px !important;
    max-width: calc(20% - 8px) !important;
    box-sizing: border-box !important;
  }
}

.sp-menu-list {
  list-style: none;
}

.sp-menu-list a {
  font-size: 18px;
  font-weight: bold;
  color: #0083fa;
}

.menu_nums {
  position: absolute;
  top: 15px;
  left: 93px;
  font-size: 0.9em;
}

.menu_child {
  position: relative;
}

button.subtle,
.button.subtle,
.btn.subtle,
[type=button].subtle,
[type=reset].subtle,
[type=submit].subtle {
  --button-color: var(--link-color);
  --button-border-width: 0;
  --button-box-shadow: none;
  --button-background: transparent;
  --button-active-border-width: 0;
  --button-font-weight: var(--link-font-weight);

  -webkit-transition-duration: calc(1s * 0.1);

  transition-duration: calc(1s * 0.1);

  -webkit-transition-duration: var(--timing-2xfast);

  transition-duration: var(--timing-2xfast);
  -webkit-transition-property: color, background, -webkit-text-decoration;
  transition-property: color, background, -webkit-text-decoration;
  transition-property: color, text-decoration, background;
  transition-property: color, text-decoration, background, -webkit-text-decoration;
  -webkit-transition-timing-function: ease-in;
  transition-timing-function: ease-in;
}

#toast {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 200px;
  max-width: 600px;
  background-color: #333;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  z-index: 9999;
  opacity: 0.8;
  visibility: visible;
  transition: opacity 3s ease-in-out, visibility 3s ease-in-out;
}

#toast.hidden {
  opacity: 0;
  visibility: hidden;
}

.btn-neutral {
  background-color: #c0c0c0;
  border-color: #c0c0c0;
  color: #FFFFFF;
}

.btn-creative {
  background-color: #800080;
  border-color: #800080;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #8e44ad;
  border-color: #8e44ad;
  color: #FFFFFF;
}

.btn-tertiary {
  background-color: #8D6E63;
  border-color: #8D6E63;
  color: #FFFFFF;
}

/* 縁取りだけ銀色のボタン */
.btn-outline-silver {
  background-color: transparent;
  border-color: #c0c0c0;
  color: #c0c0c0;
}


.widget_gakki_0 {
  background-color: #1ab394;
  color: #ffffff;
}

.widget_gakki_1 {
  background-color: #50C878;
  color: #ffffff;
}

.widget_gakki_2 {
  background-color: #008080;
  color: #ffffff;
}

.widget_gakki_3 {
  background-color: #228B22;
  color: #ffffff;
}

.widget_gakki_4 {
  background-color: #00A86B;
  color: #ffffff;
}

.widget_gakki_5 {
  background-color: #6B8E23;
  color: #ffffff;
}

btn-secondary {
  background-color: #1f77b4;
  border-color: #1f77b4;
  color: #ffffff;
}

.btn-tertiary {
  background-color: #ff7f0e;
  border-color: #ff7f0e;
  color: #ffffff;
}

.btn-quaternary {
  background-color: #2ca02c;
  border-color: #2ca02c;
  color: #ffffff;
}

.btn-quinary {
  background-color: #d62728;
  border-color: #d62728;
  color: #ffffff;
}

/* スマホサイズ（480px以下）：1行に最大4つ並ぶ（改行可能）、アイコンを小さく */
@media screen and (max-width: 480px) {
  .menu_icons {
    width: 70px !important;
    min-height: 70px !important;
    padding: 4px 3px 6px 3px !important;
    justify-content: center !important;
  }

  .menu_icons i {
    font-size: 2em !important;
    margin-bottom: 0 !important;
  }

  .menu_icons .icon-name {
    font-size: 0.65em !important;
    line-height: 1.2 !important;
    margin-top: 4px !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: calc(100% - 0px) !important;
  }

  .menu-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 5px auto !important;
  }

  .menu-row .menu_child {
    margin: 5px 8px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: calc(25% - 16px) !important;
    box-sizing: border-box !important;
  }

  .menu_position {
    padding: 10px !important;
  }
}