@charset "utf-8";

.jala-navi {
  border: 1px solid #f44336 !important;
  font-size: 18px;
  color: #f44336;
  padding: 8px 16px !important;
  margin-bottom: 16px !important;
}

/*----- ヘッダメニュー(leaningに寄せる) -----*/
.w3-navbar {
  height: 64px;
  padding: 4px 16px;
}
.w3-navbar li {
  margin: 10px 10px 10px 0;
}
.w3-navbar li a {
  height: 36px;
  padding: 5px 16px;
  border: thin solid;
  border-radius: 4px;
  display: inline-flex;
/*
  min-width: 64px;
  justify-content: center;
*/
}
.w3-navbar li a:hover {
  color: inherit;
  background-color: inherit;
  opacity: 0.8;
}

.w3-navbar li.more a {
  margin-right: -12px;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: none;
  justify-content: center;
}
.w3-navbar li.more a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
#menu_m .w3-navbar {
  height: 100% !important;
}

/*----- 入力エラー -----*/
ul.form-errors {
  list-style-type: none;
/*  margin-left:1em;*/
  color: #f44336;
  font-weight: bold;
}
ul.form-errors li:before {
  content: '！';
  margin-left:-3em;
}

/*----- ローディング -----*/
#loading {
  position: fixed;
  width: 100%;
  height:100%;
  text-align: center;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.3);
}
#loading .loading-msg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 80%;
  height: 10em;
  font-size: 15px;
  font-weight: bold;
  color: #eee;
}

/*----- ベースカラー(会員・事務局) -----*/
.jala-bgcolor.jala-user{
  color: #fff!important;
  background-color: #ce5f5f!important;
}
.jala-bgcolor.jala-admin{
  color: #fff!important;
  background-color: #009688!important;
}
.jala-color {
  color: #666667!important;
}
.jala-color.jala-user{
  color: #ce5f5f!important;
}
.jala-color.jala-admin{
  color: #009688!important;
}

/*----- ボタン(更新・キャンセルなど) -----*/
.jala-btn{
  font-size: 18px !important;
  border-radius: 4px !important;
}
.jala-btn:hover{
  color:#fff!important;
  background-color:#f44336!important
}

/*----- ボタン(編集) -----*/
.jala-edit-btn{
  font-size: 15px !important;
  color: #fff !important;
  background-color: #ce5f5f !important;
  border-radius: 3px !important;
}

/*----- ボタン(住所変換) -----*/
.jala-cmd-btn{
  font-size: 15px !important;
  color: #fff !important;
  background-color: #4CAF50 !important;
  border-radius: 3px !important;
}

/*----- ボタン(履歴編集行内 追加・削除など) -----*/
.jala-row-btn{
  font-size: 12px !important;
  color: #fff !important;
  background-color: #4CAF50 !important;
  border-radius: 3px !important;
}
.jala-row-btn.show-dlg{
  color: #000 !important;
  background-color: #cddc39 !important;
}

.jala-row-btn.courseaccess{
  background-color: #3173c4 !important;
}

/*----- ボタン(カード決済) -----*/
.jala-pay-btn{
  font-size: 18px !important;
  border-radius: 4px !important;
  border-color: #f44336!important;
  color: #f44336!important;
  background-color: #fff!important;
}
.jala-pay-btn:hover{
  color:#fff!important;
  background-color:#000!important
}

/*----- ボタン(新規受講登録) -----*/
.jala-regist{
  background-color: #ff6600!important;
  border-radius: 3px !important;
}

/*----- フォーム -----*/
input,
textarea,
select{
  background: #fff;
  border: 1px solid #a9a9a9;
  padding: 8px 8px 6px;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  border-radius:3px;
  font-size:100%;
}

/*----- 入力項目(ラジオボタン) -----*/
input[type="radio" i] {
  margin-right: 3px;
}
input[type="radio" i]:not(:first-child) {
  margin-left: 1em;
}

/*----- 入力項目(通常) -----*/
input[type="postcode"]{
  width: 7em;
}
input[type="name"],
input[type="tel"],
input[type="password"]{
  width: 30%;
  margin-right:22px;
}
input[type="text"],
input[type="email"]{
  width: 73%;
}
input[type="text"].money,
input[type="number"]{
  width: 15%;
}
/*----- 入力項目(月数,人数) -----*/
input[type="number"].months{
  width: 5em !important;
}
input[type="number"].capacity{
  width: 10em !important;
}

/*----- datepicker(通常) -----*/
.calendar {
  width: 10em !important;
}

/*----- read-only -----*/
input:-moz-read-only {
  border-style: none;
}
input:read-only {
  border-style: none;
}

/*----- 照会モード -----*/
/*----- 編集モード -----*/
/*----- 検索条件 -----*/
.jala-show-table th,
.jala-form-table th,
.jala-search-table th {
  white-space: nowrap;
  width: 30% !important;
}

.jala-show-table td span,
.jala-form-table td span,
.jala-search-table td span {
  color: #616161;
  font-size: 85%;
}

.jala-search-table input[type="text"] {
  width: 100%;
}

/*----- tableヘッダ -----*/
thead tr{
  color: #fff;
  background-color: #a9a9a9;
}

/*----- [必須]ラベル -----*/
/*label.required:not(.hide-required-label):after {*/
th label.required:not(.hide-required-label):after {
  content: "必須";
  font-size: .75em;
  background: #f44336;
  color: #fff;
  padding: 5px;
  margin-right: 5px;
  border-radius: 3px;
  float:right!important;
}

/*----- [講習会]ラベル -----*/
.training1:before {
  content: "対面型";
  text-align: center;
  font-size: .75em;
  background: #ff6600;
  color: #fff;
  padding: 5px;
  margin-right: 15px;
  border-radius: 3px;
  float:right!important;
}
.training2:before {
  content: "ＷＥＢ";
  text-align: center;
  font-size: .75em;
  background: #3173c4;
  color: #fff;
  padding: 5px;
  margin-right: 15px;
  border-radius: 3px;
  float:right!important;
}

/*----- アコーディオン -----*/
.toggle_slide:hover {
  cursor: pointer !important;
}
.toggle_icon {
  margin-right: 3px;
}
tr.toggle_last {
  border-bottom: 1px dashed #1e90ff;
}

/*----- ログイン・パスワード変更 -----*/
[name=change_password] label,
[name=form_login] label {
  font-weight: bold;
}
input#login_username{
  width: 30%;
  margin-right:22px;
}


/*----- リマインダー画面 -----*/
[name=form_reminder] label {
  font-weight: bold;
}

[name=form_reminder] div span,
[name=form_reminder] p span {
  color: #616161;
  font-size: 85%;
}

[name=form_reminder] div.toggle_slide {
  font-size: 18px;
  font-weight: 400;
  margin: 10px 0;
  padding: 10px 5px;
  color: #fff!important;
  background-color: #616161!important;
}
    
/*----- 問合せ -----*/
div#threads div.reply {
  width: 50%;
  margin-bottom: 5px;
}
div#threads div.reply div {
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  padding: 10px;
}
div#threads div.reply span {
  margin-right: 0.5em;
}
div.mine {
  float: right;
}
div.mine div {
  background-color: #fdf5e6;
}
div.others {
  float: left;
}
div.others div {
  background-color: #f1f1f1;
}
table.post.jala-user {
  background-color: #fdf5e6;
}
table.post.jala-admin {
  background-color: #f1f1f1;
}

/*----- ヘッダ -----*/
header {
  margin: 10px 0 10px 0;
}

h1.page-title {
  padding: 1.1em .9em 1em;
  font-size: 22px;
  font-weight: 400;
  border-top: 2px solid #222;
  border-bottom: 1px solid #ddd;
  box-shadow: 0px 1px 2px #f7f7f7;
  line-height: 1.6;
  background: #fafafa;
  color: #666667;
}

/*----- フッタ -----*/
.w3-main{
  /* 75pxはfooterのheight */
  min-height: calc(100vh - 75px);
}

#copyright {
  color: #fff;
  text-align: center;
  font-size: 12px;
  height: 60px;
  line-height: 60px;
}
#copyright.jala-user {
  background-color: #dd6c6c;
}
#copyright.jala-admin {
  background-color: #00988c;
}

/*----- 所属診療科 -----*/
div#entry_hospitalDepts label:after,
div#admin_entry_entry_hospitalDepts label:after,
div#regist_member_memberDetail_hospitalDepts label:after {
  content:"\a";
  white-space:pre;
}
div#entry_hospitalDepts [type="checkbox"],
div#admin_entry_entry_hospitalDepts [type="checkbox"],
div#regist_member_memberDetail_hospitalDepts [type="checkbox"] {
  margin-right: 5px;
}

/*----- 検索条件 -----*/
div#form_class  label:after {
  content:"　";
  white-space:pre;
}
div#form_class [type="checkbox"] {
  margin-right: 5px;
}

/*----- お知らせ -----*/
.notice-head:before {
  content: "\025bc";
  color: #ce5f5f;
  float:left!important;
}
.notice-head.active:before {
  content:"\025b2";
  color: #ce5f5f;
  float:left!important;
}
.notice-head {
  padding:0 5px 0 5px;
  cursor: pointer;
}
.notice-inner {
  display:none;
  padding:5px 5px 15px 15px;
}

/*----- アンケート -----*/
.jala-form-table.enquete th {
  white-space: normal!important;
  width: 10% !important;
}

div.enquete-choice-row label:after {
  content:"\a";
  white-space:pre;
}
div.enquete-choice-row [type="checkbox"] {
  margin-right: 5px;
}

div.enquete-choice-row [type="radio"] {
  margin-left: 0 !important;
}

.jala-form-table.enquete input[type="text"][disabled]{
  background:#f7f7f7;
  cursor:not-allowed;
}

/* ------------------------------ */
/* レスポンシブ対応 */
  div.jala-rwd-part {
    display: none;
  }

@media only screen and (max-width:740px) {
  div.jala-rwd-part {
    display: block;
/*    margin-bottom: 8px;*/
  }

  .jala-search-table td,
  .jala-search-table th,
  .jala-show-table td,
  .jala-show-table th,
  .jala-form-table td,
  .jala-form-table th {
    display: block !important;
    padding-left: 8px !important;
    width: auto !important;
  }


  .jala-list-table thead {
    display: none;
  }
  .jala-list-table tr,
  .jala-list-table td {
    display: block;
    width: auto;
  }
  .jala-list-table tr {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 1px 1px rgba(0, 0, 0, .1);
    margin-bottom: 15px;
    padding: 4px 4px 0;
  }
  .jala-list-table td {
    border: none;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    text-align: right;
  }
  .jala-list-table td:first-child {
    padding-left: 8px !important;
  }
  .jala-list-table td:last-child {
    border-bottom: none;
  }
  .jala-list-table td::before {
    content: attr(label);
    display: inline-block;
    font-weight: bold;
    float: left;
    text-align: left;
    white-space: nowrap;
  }

  .jala-curpage {
    font-size: 80%;
  }

  textarea {
    width: 80%;
  }

  /*----- アンケート:レスポンシブ対応 -----*/
  .jala-form-table.enquete th {
    width: 30% !important;
  }
}

/* ----- 領収書ダイアログ ----- */
/* 本体を内容幅に合わせる。はみ出し防止の上限も同時指定 */
.ui-dialog.receipt-fit {
  width: fit-content !important;
  max-width: min(600px, calc(100vw - 32px)); /* PCは最大600px、スマホは左右16px余白 */
}

/* 中身のはみ出し対策（画像・表は縮小可） */
#receipt_dialog { overflow-x: hidden; word-break: break-word; }
#receipt_dialog img, #receipt_dialog table { max-width: 100%; height: auto; }
