 body {

 font-family: roboto;
 font-size:20px;
 }

table#miyazaki {
    border: 1px solid #e01f3d;
    width: 85%;
    margin:0;
    padding:0;
    border-collapse: collapse;
    border-spacing: 0;
    margin: auto;
    font-family:'Roboto','Raleway', sans-serif;

  }
  table#miyazaki caption {
  font-size: 3rem;
 /* color: #185477; */
  margin: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left, center right;
}
  table#miyazaki tr {
    border: 1px solid #e01f3d;
    padding: 5px;
  }

 table#miyazaki thead th,table#miyazaki tbody, table#miyazaki td {
    padding: 5px;
    text-align: center;
     word-break: break-all;
  }

  table#miyazaki th {
   /* text-transform: uppercase;  */
    font-size: 18px;
    letter-spacing: 1px;
    color:#fff;
    background-color: #e01f3d;
  }
  table#miyazaki td {

    font-size: 16px;
    letter-spacing: 1px;

  /*  color:#000000;  */
  }
  table#miyazaki tbody td {
	padding: .8rem;
    /*font-size: 1rem;   */

}

  @media screen and (max-width: 800px) {
    table#miyazaki caption {
  font-size: 2rem;
  }
    table#miyazaki {
      border: 0;
    }

    table#miyazaki thead {
      display: none;
    }
    .table#miyazaki th {
     display: none;
}

    table#miyazaki tr {
      margin-bottom: 10px;
      display: block;
      border-bottom: 2px solid #e01f3d;
    }
    table#miyazaki th {
        font-size: 70%;
    }

    table#miyazaki td {
      display: block;
      text-align: right;
      font-size: 70%;
      border-bottom: 1px dotted #e01f3d;;
      font-weight: bold ;

    }
    table#miyazaki tbody td {
		display: block; padding: .6rem;
	}
    table#miyazaki td:last-child {
      border-bottom: 0;
    }

    table#miyazaki tbody td:before {
      content: attr(data-th);
      float: left;
      text-transform: uppercase;
      font-weight: bold;

    }
  }




  @media screen and (max-width: 600px) {
    table#miyazaki caption {
  font-size: 2rem;
  }
    table#miyazaki {
      border: 0;
    }

    table#miyazaki thead {
      display: none;
    }
    table#miyazaki tbody td {
		display: block;
        padding: .6rem;
        max-width: 100%;
	}
    table#miyazaki tr {
      margin-bottom: 10px;
      display: block;
      border-bottom: 2px solid #e01f3d;
    }
    table#miyazaki th {
        font-size: 10px;
    }

    table#miyazaki td {
      display: block;
      text-align: right;
      font-size: 12px;
      border-bottom: 1px dotted #e01f3d;
       font-weight: bold ;
    }

    table#miyazaki td:last-child {
      border-bottom: 0;
    }
    table#miyazaki  tr td:first-child {
		background: #666; color: #fff;
	}
    table#miyazaki tbody td:before {
      content: attr(data-th);
      float: left;
      text-transform: uppercase;
      font-weight: bold;

    }
    .w3l-contacts-12 form.main-input input, .w3l-contacts-12 textarea {
    color: var(--font-color);
    font-size: 18px;
    line-height: 28px;
    padding: 13px 20px;
    outline: none;
    border: 1px solid #e01f3d;
    border-radius: var(--border-radius);

    background: var(--bg-lightgrey);
}
  }
    @media screen and (max-width: 540px) {
    table#miyazaki caption {
  font-size: 2rem;
  }
    table#miyazaki {
      border: 0;
    }

    table#miyazaki thead {
      display: none;
    }
    table#miyazaki tbody td {
		display: block; padding: .6rem;
	}
    table#miyazaki tr {
      margin-bottom: 10px;
      display: block;
      border-bottom: 2px solid #e01f3d;
    }
    table#miyazaki th {
        font-size: 10px;
    }

    table#miyazaki td {
      display: block;
      text-align: right;
      font-size: 12px;
      border-bottom: 1px dotted #e01f3d;
       font-weight: bold ;
        width: 100%;
    }

    table#miyazaki td:last-child {
      border-bottom: 0;
    }
    table#miyazaki  tr td:first-child {
		background: #666; color: #fff;
	}
    table#miyazaki tbody td:before {
      content: attr(data-th);
      float: left;
      text-transform: uppercase;
      font-weight: bold;
   

    }
    .w3l-contacts-12 form.main-input input, .w3l-contacts-12 textarea {
    color: var(--font-color);
    font-size: 18px;
    line-height: 28px;
    padding: 13px 20px;
    outline: none;
    border: 1px solid #e01f3d;
    border-radius: var(--border-radius);

    background: var(--bg-lightgrey);
}
  }