﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #ffffff !important;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    /*  font-size: 14px;*/
    font-size: 17px;
}
@media (min-width: 768px) {
html {
            font-size: 16px;
    }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
/* 全体についての表記 */
/* pcの表示文字数制限 */
span.bg_blue{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 200px;
}
span.bg_blue_all{
  white-space: nowrap;
  width: 200px;
}
.channel-thumbnail-row {
  margin-top: 16px;
}

.channel-thumbnail-col {
  min-width: 0;
}

.channel-thumbnail-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  display: block;
  height: 100%;
  max-width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}

.channel-thumbnail-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  text-decoration: none;
  transform: translateY(-2px);
}

.channel-thumbnail-frame {
  display: block;
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.channel-card-thumbnail {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.channel-thumbnail-placeholder {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e9ecef;
}

.channel-thumbnail-body {
  background-color: #fff;
  border-top: 1px solid #edf0f2;
  display: block;
  min-height: 54px;
  padding: 12px 16px 14px;
}

.channel-thumbnail-title {
  color: #1f2933;
  display: -webkit-box;
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.45;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 575.98px) {
  .channel-thumbnail-frame {
    height: 200px;
  }
}
label{
  display: block;
}
dd{
  display: inline-block;
}
/* カレンダーのアイコン設定 */
.ui-button .ui-icon {
    background-image: url(../images/calendar_icon02.png) !important;
}
.ui-icon-calendar {
    background-position: 0px 0px !important;
}
.ui-button-icon-only .ui-icon {
    position: absolute;
    top: 41% !important;
    left: 41% !important;
}
.ui-icon {
    width: 21px !important;
    height: 21px !important;
}
.navbar-expand-sm>.container, .navbar-expand-sm>.container-fluid {
    -ms-flex-wrap: nowrap;
    flex-wrap: wrap;
}
/* 新規作成画面を100％表示 */
.col-md-8 {
       flex: none;
        max-width: 100%;
}
/*h5タグの装飾  */
h5 {
    background-color: #1b6ec2;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-size: 25px;
}
.text-cente.placeQR {
    text-align: center;
}
.placeQR img{
    width: 100%;
    max-width: 500px;
    height: auto;
}
 /* イベント　新規作成画面についての記述 */

  dl.nocheckbox input[type=checkbox]{
    display: none;
  }
  div.checkbox{
    display: flex;
    flex-wrap: wrap;
  }
  div label{
    width: 25%;
  }
  .form-group dl dt{
  	padding:2%;
	  display:inline-block;
	  vertical-align:middle;
  }
  .form-group dl dd{
	  padding:2%;
	  display:inline-block;
	  vertical-align:middle;
    margin: 0 15px;
  }
  .form-group dl.disabled,
  .form-group dl:disabled{
	  background:#efefef;
	  cursor:not-allowed;
  }
  .check_label{
	  display: block;
	  float: left;
	  margin: 5px;
	  width: 85%;
	  height: 40px;
	  text-align: center;
	  line-height: 29px;
	  padding-left: 5px;
	  padding-right: 5px;
	  cursor: pointer;
	  color: #1b6ec2;
	  border: 2px solid #1b6ec2;
	  border-radius: 5px;
  }
  label input:checked + .check_label{
	  background-color: #1b6ec2;
	  color: #ffffff;
  }

  .topgun-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    padding: 15px;
}
  .topgun-label {
    flex: 0 0 40%;
    margin: 0;
    padding: 4px;
  }
  .topgun-value {
    flex: 0 0 60%;
    margin: 0;
    padding: 4px;
  }
  .topgun-feedbackLabel {
    flex: 0 0 20%;
    margin: 0;
    padding: 4px;
  }
  .topgun-feedbackValue {
    flex: 0 0 80%;
    margin: 0;
    padding: 4px;
  }

  .topgun-header {
    color: #17a2b8;
    border: 2px solid #17a2b8;
    padding: 4px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
  }

/* レスポンシブ幅800px */
/* イベント・アナウンス　indexについての記述 */
@media screen and (max-width: 800px) {
  .d-flex{
    display: block;
  }
  .table p{
    margin: 0;
  }
  .table thead {
    display: none;
  }
  .table tr {
    width: 100%;
  }
  .table td {
    display: block;
    text-align: right;
    width: 100%;
  }
  .table .bg_blue {
    background: #1861ac;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    margin: 8px 8px 8px 0;
  }
  .table .bg_blue_all {
    background: #1861ac;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    margin: 8px 8px 8px 0;
  }
  span.bg_blue{
    display: block;
    width: 100%;
  }
  span.bg_blue_all{
    display: block;
    width: 100%;
  }
  .table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    margin-right: 10px;
  }
  .nobr{
    display: none;
  }
  td.comment{
    display: none;
  }
  tr.text-center span {
    padding: 10px;
    border-radius: 16px;
    margin: 0 8px;
  }
  tr.text-center span.br10{
    border-radius: 10px;
  }
  .table td,
  .tableth{
    padding: 0.5rem;
  }
  .display_none{
    display: none;
  }
  .table div.btn-group,
  div.btn-group.btnw100{
    width: 100%;
  }
   .table tr {
    display: flex;
    flex-direction: column;
   }
  .table td:nth-child(2) {
    order: 1; 
  }
  .table td:nth-child(1) {
    order: 2; 
  }
  .table td:nth-child(3) {
    order: 4; 
  }
  .table td:nth-child(4) {
    order: 3; 
  }
  .table td:nth-child(5) {
    order: 5; 
  }
  .table td:nth-child(6) {
    order: 6; 
  }
  .table td:nth-child(7) {
    order: 7; 
  }
  .tab{
    display: flex;
    width: 30%;
    margin-right: 0;
  }
  .d-flex{
    display: block !important;
  }
  .input-group.col-md-4{
    margin: 10px auto;
  }
  .navbar-toggler{
    display: block !important;
  }
 
  .collapse:not(.show) {
    display: none !important;
  }
  .navbar-expand-sm>.container, .navbar-expand-sm>.container-fluid {
    -ms-flex-wrap: nowrap;
    flex-wrap: wrap;
  }
  .navbar-nav {
    display: block;
  }
  span.navbar-text.text-dark {
    padding: .5rem;
}
}
@media screen and (max-width: 575px) {
  span.navbar-text.text-dark {
    padding: 0;
}
}
@media screen and (max-width: 500px) {
div label{
    width: 50%;
  }
}
.col-sm-2 {
  flex: auto;
  max-width: 20%;
  margin: 0;
  padding: 8px;
}
.col-sm-10 {
  flex: auto;
  width: 80%;
  margin: 0;
  padding: 8px;
}
dt:nth-child(4n+1),
dd:nth-child(4n+2) {
  background-color:#f5f5f5;
}
dl.nocheckbox dt{
  background-color: transparent;
}
 /* イベント　詳細画面についての記述 */
 /* div.btn-group{
    width: 70%;
  } */
  div.flex_center{
    text-align: center;
  }
  .row dd.col-sm-8 {
      flex: 0 0 100%;
      max-width: 80% !important;
      margin-bottom: 0;
    }
 @media screen and (max-width: 1000px) {
  .col-sm-2 {
    flex: auto;
    max-width: 25%;
  }
.col-sm-10 {
  flex: auto;
  width: 75%;
}
  }
  @media screen and (max-width: 800px) {
    dt:nth-child(4n+1), 
    dd:nth-child(4n+2) {
        background-color: transparent;
}
    dt.col-sm-2 {
        display: block;
        max-width: 100%;
        background-color: #f5f5f5;
    }
    .col-sm-10,
    .col-sm-8 {
      flex: auto;
      width: 100%;
      max-width: 100%;
    }
    .col-sm-8{
      padding: 0;
    }
  }
   /* イベント　リーダー一覧についての記述 */
      .table.leader td {
          width: 25%;
      }
      .table.leader .noborder{
        border-top: none;
      }
      .btn-group_sp{
        display: none;
      }
      .table.leader td.d_pc {
        border-bottom: none;
      }
     @media screen and (max-width: 800px) {
      .table.leader thead {
        display: table-header-group;
      }
      .table thead tr {
        display: table-row;
        flex-direction: column;
      }
      .table.leader td:nth-child(1) {
          order: 1;
      }
      .table.leader td:nth-child(2) {
          order: 2;
      }
      .table.leader td:nth-child(3) {
          order: 3;
      }
      .table.leader tbody tr {
          display: table-row;
      }
      .table.leader td {
          display: table-cell;
          text-align: left;
          width: 25%;
      }
     }   
     @media screen and (max-width: 767px) {
      .table.leader td {
        width: 33%;
    }
      .btn-group_sp{
        display: block;
        text-align: right;
      }
      .btn-group_pc{
        display: none;
      }
      .table.leader td.d_sp {
        text-align: center;  
      }
      .btn_w30 {
        width: 30%;
      }
      .noborder,
      td.d_sp.noborder,
      td.d_pc.noborder{
          border-top :0px;
          border-bottom :0px;
      }
      td.d_pc{
        border-bottom : 0px;
      }
      table.leader tr:nth-child(4n+3),
      table.leader tr:nth-child(4n+4){
        background-color: #f5f5f5;
      }
     }
     /* イベント　管理　追加画面についての記述 */
    @media screen and (max-width: 1000px) {
      .col-md-4{
        flex: 50%;
        max-width:  50%;
      }
       }
     @media screen and (max-width: 800px) {
      .col-md-4 {
        flex: none;
        max-width: none;
      }
      .ownercreate thead{
        display: table-header-group;
      }
    }
     /* イベント　動画連携 */
     .w100{
      width: 100%;
     }
/* アナウンス　詳細ページのモバイル表示プレビュー */
.notice-preview-modal__dialog {
  max-width: 413px;
}

.notice-preview-modal__content {
  border: 0;
  background: transparent;
}

.notice-mobile-preview {
  width: 100%;
  max-width: 393px;
  height: min(92vh, 852px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: #3c3c3c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.notice-preview-modal .notice-mobile-preview__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px 8px;
  background: #1c1915 !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
}

.notice-mobile-preview__island {
  width: 142px;
  height: 36px;
  border-radius: 18px;
  background: #000;
}

.notice-preview-modal .notice-mobile-preview__header {
  padding: 16px 24px 20px;
  background: #1c1915 !important;
  color: #f4f1ee !important;
}

.notice-preview-modal .notice-mobile-preview__header h5 {
  margin: 0 0 14px;
  background: transparent !important;
  color: #f4f1ee !important;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.notice-preview-modal .notice-mobile-preview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.notice-preview-modal .notice-mobile-preview__tags span {
  background: transparent !important;
  color: #e7b7b0 !important;
  font-size: 14px;
  line-height: 1.3;
}

.notice-mobile-preview__media {
  position: relative;
  margin: -22px -20px 22px;
  background: #111;
}

.notice-mobile-preview__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.notice-mobile-preview__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
}

.notice-mobile-preview__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-40%, -50%);
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 26px solid #fff;
}

.notice-mobile-preview__body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 20px 96px;
  background: #fff;
  font-size: 16px;
  line-height: 1.85;
}

.notice-mobile-preview__body p {
  margin-bottom: 18px;
}

.note-editable p,
.rich-text-content p {
  margin: 0 0 0.5em;
}

.note-editable a,
.rich-text-content a {
  color: #007bff;
  text-decoration: underline;
}

.link-dialog .modal-dialog {
  width: auto;
  max-width: 560px;
  margin: 30px auto;
}

.link-dialog .modal-header {
  position: relative;
  padding: 20px 56px 20px 24px;
}

.link-dialog .modal-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  text-align: left;
}

.link-dialog .modal-header .close {
  position: absolute;
  top: 16px;
  right: 20px;
  margin: 0;
  padding: 0;
  font-size: 30px;
  line-height: 1;
}

.link-dialog .modal-body {
  padding: 24px;
}

.link-dialog .note-form-group {
  margin-bottom: 20px;
}

.link-dialog .note-form-label {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  line-height: 1.5;
  white-space: normal;
}

.link-dialog .note-form-control {
  width: 100%;
}

.link-dialog .modal-footer {
  padding: 16px 24px;
}

.link-dialog .rich-text-link-error {
  margin-top: 8px;
}

.notice-mobile-preview__link {
  margin-top: 18px;
}

.notice-mobile-preview__files {
  margin-top: 28px;
}

.notice-mobile-preview__image-file {
  display: block;
  width: 100%;
  height: auto;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.notice-mobile-preview__file {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  text-decoration: none;
}

.notice-mobile-preview__file + .notice-mobile-preview__file,
.notice-mobile-preview__image-file + .notice-mobile-preview__file,
.notice-mobile-preview__file + .notice-mobile-preview__image-file {
  margin-top: 14px;
}

.notice-mobile-preview__file span {
  color: #7b6d69;
  font-size: 14px;
  font-weight: 700;
}

.notice-mobile-preview__file strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.notice-mobile-preview__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 16px;
  background: #1c1915;
  color: #eadfdd;
}

.notice-mobile-preview__action,
.notice-mobile-preview__close {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 700;
}

.notice-mobile-preview__action {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b9aaa7;
}

.notice-mobile-preview__close {
  margin-left: auto;
  border: 0;
  background: #684a44;
  color: #fff;
}

@media screen and (max-width: 480px) {
  .notice-preview-modal__dialog {
    margin: 0;
    max-width: none;
  }

  .notice-mobile-preview {
    max-width: none;
    height: 100vh;
  }

  .notice-mobile-preview__body {
    font-size: 16px;
  }

  .notice-mobile-preview__action,
  .notice-mobile-preview__close {
    padding: 0 16px;
    font-size: 15px;
  }
}

/* アナウンス　indexページのUI改善 */
      @media screen and (max-width: 800px) {
        .table.notice_table td:nth-child(1) {
          order: 1;
        }
        .table.notice_table td:nth-child(2) {
          order: 2;
        }
        .table.notice_table td:nth-child(3) {
          order: 3;
        }
        .d-flex_notice{
          display: flex !important;
        }
        td.text-center span{
          padding: 10px;
          border-radius: 16px;
          margin: 0 8px;
        }
        .notice_table td:nth-child(2) {
          order: 2; 
        }
        .notice_table td:nth-child(1) {
          order: 1; 
        }
        .notice_table p{
          text-align: right;
        }
        .notice_table td p span{
          padding: 7px;
          margin: 0 2px;
          border-radius: 10px;
        }
        .notice_table .d_flex{
          display: flex;
          justify-content: flex-end;  
        }
        .container {
        max-width: 100%;
        }
        .notice_table p.d_flex{
          font-size: 15px;
        }
        .notice_table span.bg_blue {
          display: block;
          white-space: normal;
        }
      }
      @media screen and (max-width: 650px) {
        .notice_table .d_flex {
        display: block;
        }
        .notice_table td p span{
          margin: 2px 2px;
        }
        .p8{
          padding: 8px;
        }
      }
      @media screen and (max-width: 500px) {
        .dropdown-toggle {
          white-space: normal;
        }
      }
/* アナウンス　既読ページのUI改善 */
@media screen and (max-width: 800px) {
        .table.notice_read_table td:before {
          display: none;
        }
        .table.notice_read_table thead {
        display: table-header-group;
        } 
        .table.notice_read_table td:nth-child(1) {
          order: 1;
        }
        .table.notice_read_table td:nth-child(2) {
          order: 2;
        }
        .table.notice_read_table td:nth-child(3) {
          order: 3;
        }  
        .table.notice_read_table tbody tr {
          display: table-row;
        }
        .table.notice_read_table td {
          display: table-cell;
          text-align: left;
          width: 25%;
        }
        .table.notice_read_table tr:nth-child(2n+2) {
        background-color: #f5f5f5;
        }
}
@media screen and (max-width: 480px) {
        .table.notice_read_table td:before {
          display: block;
          content: attr(data-label);
          float: left;
          font-weight: bold;
          margin-right: 10px;
        }
        .table.notice_read_table td {
          display: block;
          text-align: right;
          width: 100%;
        }
        .table.notice_read_table thead {
        display: none;
        }
}
/* アナウンス　タグ連携ページのUI改善 */
        div.tagConnect label{
          width: 100%;
        }
/* アナウンス　タグ新規作成ページ,タグ編集ページのUI改善 */
        div.tagCreate,
        div.tagEdit{
          flex: 100%;
          max-width: 100%;
        }
/* アナウンス　タグINDEXページのUI改善 */
@media screen and (max-width: 800px) {
        .table.notice_tagindex_table td:nth-child(1) {
          order: 1;
        }
        .table.notice_tagindex_table td:nth-child(2) {
          order: 2;
        }
        .table.notice_tagindex_table td:nth-child(3) {
          order: 3;
        }
        .table.notice_tagindex_table span{
          margin: 0 8px;
        }
}
@media screen and (max-width: 400px) {
        .table.notice_tagindex_table .nobr{
          display: block;
        }

}
/* Place indexページのUI改善 */
.table.placeQR td:nth-child(1) {
order: 1;
  }
  .table.placeQR td:nth-child(2) {
  order: 2;
  }
  .table.placeQR td:nth-child(3) {
  order: 3;
  }
  .table.placeQR td:nth-child(4) {
  order: 4;
  }
  .table.placeQR td:nth-child(5) {
  order: 5;
  }
  @media screen and (max-width: 800px) {
  .table.placeQR a.btn.btn-info {
  margin: 0 auto;
  display: block;
  width: 200px;
  height: 61px;
  padding: 3%;
  }
}

/* ユーザー管理画面のUI改善 */
@media screen and (max-width: 1000px) {
  .d-flex_user{
    display: block !important;
  }
  .d-block{
    display: block !important;
    margin: 8px 14px 0 auto;
    text-align: right;
  }
  .m-width85{
    max-width: 100%;
  }
  .m_l17{
  margin-left: 17px;
}
}
@media screen and (max-width: 800px) {
.user-search-area,
.user-search-inputs{
  width: 100%;
}
.user-search-inputs{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px;
}
.user-search-inputs .form-control,
.user-search-inputs .btn{
  width: 100%;
  margin: 0;
  flex: 0 0 auto;
}
.table.user_table td:nth-child(1) {
  order: 1;
}
.table.user_table td:nth-child(2) {
  order: 2;
}
.table.user_table td:nth-child(3) {
  order: 3;
}

}

/* TOPGUNチャレンジのUI改善 */
@media screen and (max-width: 800px) {
  .table.topgun_table td:nth-child(1) {
    order: 2;
  }
  .table.topgun_table td:nth-child(2) {
    order: 3;
  }
  .table.topgun_table td:nth-child(3) {
    order: 1;
  }
  .table.topgun_table td:nth-child(4) {
    display: none;
  }
  .table.topgun_table td:nth-child(5) {
    order: 4;
  }
  .table.topgun_table td:nth-child(6) {
    order: 5;
  }
  .table.topgun_table td:nth-child(7) {
    order: 6;
  }
  .table.topgun_table td:nth-child(8) {
    order: 7;
  }
  table.topgun_table tr:nth-child(2n+2){
    background-color: #f5f5f5;
  }    
  .topgun_table span.bg_blue {
    display: block;
    white-space: normal;
  }
  .topgun_table span.bg_blue_all {
    display: block;
    white-space: normal;
  }
  .topgun-label {
    flex: 0 0 80%;
  }
  .topgun-value {
    flex: 0 0 20%;
  }
}
@media screen and (max-width: 480px) {
  .table.topgun_table{
    margin: 0 auto 1rem;
  }
}
/* グループのUI改善 */
@media screen and (max-width: 800px) {
  .table.group_table td:nth-child(1) {
    order: 1;
  }
  .table.group_table td:nth-child(2) {
    order: 2;
  }
  .table.group_table td:nth-child(3) {
    order: 3;
  }
  .table.group_table td:nth-child(4) {
    order: 4;
  }
  table.group_table tr:nth-child(2n+2){
    background-color: #f5f5f5;
  }
}  

/* スタッフ管理機能　indexページのUI改善 */
@media screen and (max-width: 800px) {
  .table.staffAdmin_table td:nth-child(1) {
    order: 2;
  }
  .table.staffAdmin_table td:nth-child(2) {
    order: 1;
  }
  .table.staffAdmin_table td:nth-child(3) {
    order: 3;
  }
  .table.staffAdmin_table td:nth-child(4) {
    order: 4;
  }
  .table.staffAdmin_table td:nth-child(5) {
    order: 5;
  }
  .table.staffAdmin_table td:nth-child(6) {
    order: 6;
  }
  .table.staffAdmin_table td:nth-child(7) {
    order: 7;
  }
  .table.staffAdmin_table td:nth-child(8) {
    order: 8;
  }
  .table.staffAdmin_table td:nth-child(9) {
    order: 9;
  }
  .table.staffAdmin_table td:nth-child(10) {
    order: 10;
  }
  .d-flex_staffAdmin{
    display: flex !important;
  }
  td.text-center span{
    padding: 10px;
    border-radius: 16px;
    margin: 0 8px;
  }
  .staffAdmin_table td:nth-child(2) {
    order: 2; 
  }
  .staffAdmin_table td:nth-child(1) {
    order: 1; 
  }
  .staffAdmin_table p{
    text-align: right;
  }
  .staffAdmin_table td p span{
    padding: 7px;
    margin: 0 2px;
    border-radius: 10px;
  }
  .staffAdmin_table .d_flex{
    display: flex;
    justify-content: flex-end;  
  }
  .container {
  max-width: 100%;
  }
  .staffAdmin_table p.d_flex{
    font-size: 15px;
  }
  .staffAdmin_table span.bg_blue {
    display: block;
    white-space: normal;
  }
  .staffAdmin_table span.bg_blue_all {
    display: block;
    white-space: normal;
  }
}

@media screen and (max-width: 650px) {
  .staffAdmin_table .d_flex {
  display: block;
  }
  .staffAdmin_table td p span{
    margin: 2px 2px;
  }
  .p8{
    padding: 8px;
  }
}

@media screen and (max-width: 800px) {
  .staffAdmin_HQtable td:nth-child(1) {
    order: 3;
  }
  .staffAdmin_HQtable td:nth-child(2) {
    order: 2;
  }
  .staffAdmin_HQtable td:nth-child(3) {
    order: 1;
  }
  .staffAdmin_HQtable td:nth-child(4) {
    order: 4;
  }
  .staffAdmin_HQtable td:nth-child(5) {
    order: 5;
  }
  .staffAdmin_HQtable td:nth-child(6) {
    order: 6;
  }
  .staffAdmin_HQtable td:nth-child(7) {
    order: 7;
  }
  .staffAdmin_HQtable td:nth-child(8) {
    order: 8;
  }
  .staffAdmin_HQtable td:nth-child(9) {
    order: 9;
  }
  .staffAdmin_HQtable td:nth-child(10) {
    order: 10;
  }
  .staffAdmin_HQtable td:nth-child(11) {
    order: 11;
  }
  .staffAdmin_HQtable span.bg_blue {
    display: block;
    white-space: normal;
  }
  .staffAdmin_HQtable span.bg_blue_all {
    display: block;
    white-space: normal;
  }
}

@media screen and (max-width: 800px) {
  .table.staffAdmin_accessAdmin_table td:nth-child(1) {
    order: 1;
  }
  .table.staffAdmin_accessAdmin_table td:nth-child(2) {
    order: 2;
  }
  .table.staffAdmin_accessAdmin_table td:nth-child(3) {
    order: 3;
  }
  .table.staffAdmin_accessAdmin_table td:nth-child(4) {
    order: 4;
  }
  .table.staffAdmin_accessAdmin_table td:nth-child(5) {
    order: 5;
  }
  .table.staffAdmin_accessAdmin_table td:nth-child(6) {
    order: 6;
  }
  .table.staffAdmin_accessAdmin_table td:nth-child(7) {
    order: 7;
  }
  .table.staffAdmin_accessAdmin_table td:nth-child(8) {
    order: 8;
  }
  .table.staffAdmin_accessAdmin_table td:nth-child(9) {
    order: 9;
  }
  .table.staffAdmin_accessAdmin_table span{
    margin: 0 8px;
  }
}
@media screen and (max-width: 500px) {
  .dropdown-toggle {
    white-space: normal;
  }
}

/* グループのUI改善 */
@media screen and (max-width: 800px) {
  .table.group_table td:nth-child(1) {
    order: 1;
  }
  .table.group_table td:nth-child(2) {
    order: 2;
  }
  .table.group_table td:nth-child(3) {
    order: 3;
  }
  .table.group_table td:nth-child(4) {
    order: 4;
  }
  table.group_table tr:nth-child(2n+2){
    background-color: #f5f5f5;
  }  
}
/* イベントページ内参加者追加ページのUI改善 */
  .table.event_create_table td:nth-child(1) {
    order: 1;
  }
  .table.event_create_table td:nth-child(2) {
    order: 2;
  }
  .table.event_create_table td:nth-child(3) {
    order: 3;
  }
  .table.event_create_table td:nth-child(4) {
    order: 4;
  }

/* 認定家庭相談員内参加者追加ページのUI改善 */
  .table.familyconsul_table td:nth-child(1) {
    order: 1;
  }
  .table.familyconsul_table td:nth-child(2) {
    order: 2;
  }
  .table.familyconsul_table td:nth-child(3) {
    order: 3;
  }
  .table.familyconsul_table td:nth-child(4) {
    order: 4;
  }
  .table.familyconsul_table td:nth-child(5) {
    order: 5;
  }
  div.familycousulbtn input.btn.btn-secondary,
  div.familycousulbtn .btn-primary{
    margin: 5px 0 !important;
  }
  @media screen and (max-width: 800px) {
    .table td.dnone:before {
      display: none;
    }
  }
  @media screen and (max-width: 800px) {
  .table.media_index_table td:nth-child(1) {
    order: 1;
    text-align: center;
  }
  .table.media_index_table td:nth-child(2) {
    order: 2;
  }
  .table.media_index_table td:nth-child(3) {
    order: 3;
  }
  .table.media_index_table td:nth-child(4) {
    order: 4;
  }
  .table.media_index_table td:nth-child(5) {
    order: 5;
  }
  .table.media_index_table span.bg_blue {
    display: block;
    white-space: normal;
  }
}

@media screen and (max-width: 800px) {
  .d-flex{
    display: block;
  }
  .table p{
    margin: 0;
  }
  .table thead {
    display: none;
  }
  .table tr {
    width: 100%;
  }
  .table td {
    display: block;
    text-align: right;
    width: 100%;
  }
  .table .bg_blue {
    background: #1861ac;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    margin: 8px 8px 8px 0;
  }
  .table .bg_blue_all {
    background: #1861ac;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    margin: 8px 8px 8px 0;
  }
  span.bg_blue{
    display: block;
    width: 100%;
  }
  span.bg_blue_all{
    display: block;
    width: 100%;
  }
  .table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    margin-right: 10px;
  }
  .nobr{
    display: none;
  }
  .bold{
    font-weight: bold;
  }
  td.name_kana{
    display: none;
  }
  .table.reception_table td:nth-child(3) {
    order: 1;
  }
  .table.reception_table td:nth-child(1) {
    order: 2;
  }
  .table.reception_table td:nth-child(2) {
    order: 3;
  }
  .table.reception_table td:nth-child(5) {
    order: 4;
  }
  .table.reception_table td:nth-child(6) {
    order: 5;
  }
  .table.reception_table td:nth-child(7) {
    order: 6;
  }
}
