@charset "utf-8";
/.table_de01 {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  max-width: 800px;
  text-align: center;
  background: #fff;
}
.table_de01 th, .table_de01 td {
  border: 2px solid #d2e8f1;
  padding: 1em;
  background: #fff;
}
.table_de01 thead th {
  background-color: #4d9bc1;
  color: #fff;
  border: 2px solid #4d9bc1;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.table_de01 thead th:last-of-type {
  border-right: 2px solid #4d9bc1;
}
.table_de01 tbody th {
  color: #4d9bc1;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 787px) {
  .table_de01 {
    text-align: left;
  }
  .table_de01 thead {
    display:none;
  }
  .table_de01 th, .table_de01 td {
    display: block;
    border: 0;
    border-bottom: 2px solid #e6f1f6;
  }
  .table_de01 tbody th{
    background: #4d9bc1;
    color:#fff;
  }
  .table_de01 td::before{
	content: attr(data-label);
    color: #4d9bc1;
    font-weight: bold;
    display: inline-block;
    width: 20%;
    min-width: 4em;
	background: #fff;
  }
}

/* 2つ目のテーブル */

/.table_de02 {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  max-width: 800px;
  text-align: center;
  background: #fff;
}
.table_de02 th, .table_de02 td {
  border: 2px solid #d2e8f1;
  padding: 1em;
  background: #fff;
}
.table_de02 thead th {
  background-color: #c82bc2;
  color: #fff;
  border: 2px solid #c82bc2;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.table_de02 thead th:last-of-type {
  border-right: 2px solid #c82bc2;
}
.table_de02 tbody th {
  color: #c82bc2;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 787px) {
  .table_de02 {
    text-align: left;
  }
  .table_de02 thead {
    display:none;
  }
  .table_de02 th, .table_de02 td {
    display: block;
    border: 0;
    border-bottom: 2px solid #e6f1f6;
  }
  .table_de02 tbody th{
    background: #c82bc2;
    color:#fff;
  }
  .table_de02 td::before{
	content: attr(data-label);
    color: #c82bc2;
    font-weight: bold;
    display: inline-block;
    width: 20%;
    min-width: 4em;
	background: #fff;
  }
}

/* 1列目が見出しのテーブル */
/.table_03 {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
}
.table_03 th, .table_03 td {
  border: 2px solid #fff;
  background-color: #e6f1f6;
  border-radius: 0 15px 15px 0;
  padding: 1em;
}
.table_03 th {
  background-color: #4d9bc1;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 15px 0 0 15px;
  width: 20%;
  min-width: 4em;
  position: relative;
}
.table_03 th::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left: 10px solid #4d9bc1;
  z-index: 2;
}
.table_03 th::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 2px);
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-left: 12px solid #fff;
  z-index: 1;
}

/* テーブルテスト */
p {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 60px auto 40px;
}
th {
  background: #e9727e;
  border: solid 1px #ccc;
  color: #fff;
  padding: 10px;
}
td {
  border: solid 1px #ccc;
  padding: 10px;
　background: #fff;	
}
@media screen and (max-width: 800px) {
  .tbl-r04 {
    width: 80%;
  } 
  .tbl-r04 .thead {
    display: none;
  }
  .tbl-r04 tr,
  .tbl-r04 td{
    display: block;
    width: 100%;
    position: relative;
	background: #fff;
  }
  .tbl-r04 td:first-child:before {
    content: "見出し:before";
    background: #e9727e;
    box-sizing: border-box;
    color: #fff;
    font-weight: bold;
    height: 40px;
    padding: 10px;
    position: absolute;
    top: -41px;
    left: -0.2%;
    display: block;
    width: 100.5%;
  }
  .tbl-r04 tr {
    margin-bottom: 40px;
  }
}