.elf{

h3{
  position: relative;
  padding: 0.5em;
  background: #31d1a9;
  color: rgb(8, 7, 7);
}

h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(38, 185, 136);
}


}

.roy{

h3{
  position: relative;
  padding: 0.5em;
  background: #f2f551;
  color: rgb(8, 7, 7);
}

h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(231, 217, 15);
}
}
.wi{

h3{
  position: relative;
  padding: 0.5em;
  background: #45c7e7;
  color: rgb(8, 7, 7);
}

h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(45, 210, 231);
}
}
.dora{

h3{
  position: relative;
  padding: 0.5em;
  background: #d38342;
  color: rgb(8, 7, 7);
}

h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(231, 144, 45);
}

}

.necro{

h3{
  position: relative;
  padding: 0.5em;
  background: #b971cf;
  color: rgb(8, 7, 7);
}

h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(169, 53, 223);
}

}
.vamp{

h3{
  position: relative;
  padding: 0.5em;
  background: #d84458;
  color: rgb(8, 7, 7);
}

h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(199, 53, 109);
}

}
.bi{

h3{
  position: relative;
  padding: 0.5em;
  background: #e9cd95;
  color: rgb(8, 8, 7);
}

h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(255, 247, 227);
}

}
.ne{

h3{
  position: relative;
  padding: 0.5em;
  background: #7cd0f1;
  color: rgb(8, 7, 7);
}

h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgba(82, 197, 250, 0.726);
}

}
@media screen and (min-width: 1081px){
.table_design02 {
border-collapse: collapse;
width: 80%;
max-width: 700px;
padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    background: #FFF;
    border: solid 3px #000000;/*線*/
    margin: auto;
    border-radius: 10px;/*角の丸み*/
    
}
}
@media screen and (max-width: 1080px){
.table_design02 {
border-collapse: collapse;
width: 80%;
max-width: 700px;
padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    background: #FFF;
    border: solid 3px #000000;/*線*/

    border-radius: 10px;/*角の丸み*/
    margin: auto;
}
}

@media screen and (max-width: 680px){
.table_design02 {
border-collapse: collapse;
width: 90%;
max-width: 700px;
padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    background: #FFF;
    border: solid 3px #000000;/*線*/

    border-radius: 10px;/*角の丸み*/
    margin: auto;
}
}
.table_design02 tr {
background-color: #e8ecee;
}
.table_design02 tr:nth-child(odd) {
background-color: #b4d9ee;
}
.table_design02 th, .table_design02 td {
padding: 1em;
    border-right:3px solid #000000;
}
.table_design02 th {
font-weight: bold;
text-align: center;
width: 40%;
min-width: 1em;
}