@charset "utf-8";

/*---------------------------------
CSS information
file name  :  table.css
style info :  <table>・表スタイル
admin info :  ファースト整骨院
---------------------------------*/


.row-head {
  border-collapse: collapse;
  vertical-align: middle;
  width: 100%;
}
 
.row-head th,
.row-head td {
  border: 1px solid #dbe1e8;  
  padding: 8px;
}
 
.row-head th {
  background: #f3f3f3;
	width: 20%;
	text-align: center;
}

.row-head th:first-child {
	text-align:left;
}
.row-head th:nth-child(2) { 
	background-color: #F7CFEB;
}
.row-head th:nth-child(2) { 
	background-color: none;
}
.row-head label {
  line-height: 34px;
  margin: 0;
}

.row-head tr td:nth-child(2) { 
	background-color: #F7CFEB;
}

.row-head .bgcolor_gray{background-color: #f3f3f3!important;}
.row-head .bgcolor_white{background-color: #ffffff!important;}


 
@media only screen and (max-width:640px) {
	
	
	
  .row-head thead {
    display: none;
  }
  
  .row-head tr,
  .row-head td {
    display: block;
    width: auto;
  }
  
  .row-head tr {
    border: 1px solid #dbe1e8;
    border-radius: 5px;
    /*box-shadow: 3px 3px rgba(0, 0, 0, .1);*/
    margin-bottom: 20px;
    padding: 8px 8px 0;
  }
  
  .row-head td {
    border: none;
    border-bottom: 1px solid #dbe1e8;
    display: flex;
	justify-content:space-between;
    text-align: right;
	padding: 20px;
  }
  .row-head td:first-child {
	background-color:#f3f3f3;
	  font-weight: bold;
	  font-size: 1.2rem;
	  width: 100%;
	  text-align: center;
}
  .row-head td:nth-child(2){
	background-color: #F7CFEB;
	}

  .row-head td:last-child {
    border-bottom: none;
  }
  .row-head td::before {
    content: attr(aria-label);
    display: inline-block;
    font-weight: bold;
    float: left;
    text-align: left;
    padding-right: 20px;
    white-space: nowrap;
  }
  
  .row-head td.bt-area::before {
    display: none;
  }
  .row-head td.bt-area a {
    background: #007aff;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    flex: 1;
    height: 40px;
    margin: 0 2px;
    overflow: hidden;
    width: auto;
  }
  .row-head td.bt-area a::before {
    align-items: center;
    content: attr(aria-label);
    display: flex;
    font-size: 14px;
    height: 100%;
    justify-content: center;
    line-height: 40px;
    width: 100%;
  }
  
  .row-head.header-check tr {
    padding-left: 40px;
    position: relative;
  }
  .row-head.header-check td:first-child {
    align-items: center;
    background: #fff;
    border-right: 1px solid #dbe1e8;
    border-bottom: none;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 40px;
  }
  .row-head.header-check td:first-child::before {
    display: none;
  }
}
