body {
    margin: 0;
}

header {
    background-color: darkgreen;
    color: white;
    padding: 0.1rem 1rem;
}

main {
    margin: 0.5rem 1rem;
}

.form01 {
	max-width: 650px;
	/* margin: 0 auto; */
	background: #F4F4F4;
	padding: 2rem;
}

.form-inner {
	margin-bottom: 0.5rem;
}

.form-label {
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.form-label label {
	vertical-align: middle;
}

.required {
	display: inline-block;
	background: #EA7474;
	color: #fff;
	font-size: 0.75rem;
	padding: 0.2rem;
	margin-left: 0.5rem;
	vertical-align: middle;
}

.text-10 {
	width: 10em;
  max-width: 100%;
	height: 40px;
	background: #fff;
	padding: 1rem;
}

.text-20 {
	width: 20em;
  max-width: 100%;
	height: 40px;
	background: #fff;
	padding: 1rem;
}

.text-50 {
	width: 50em;
  max-width: 100%;
	height: 40px;
	background: #fff;
	padding: 1rem;
}

.text-100 {
	width: 100em;
  max-width: 100%;
	height: 40px;
	background: #fff;
	padding: 1rem;
}

/*
input[type="text"],
input[type="password"],
input[type="email"] {
	width: 50em;
  max-width: 100%;
	height: 40px;
	background: #fff;
	padding: 1rem;
}
*/

select {
	width: 50em;
  max-width: 100%;
	height: 40px;
	background: #fff;
}

input[type="date"] {
	width: 12em;
  max-width: 100%;
	height: 40px;
	background: #fff;
	padding: 1rem;
}

input[type="time"] {
	width: 8em;
	height: 40px;
	background: #fff;
	padding: 1rem;
}

textarea {
	width: 100%;
	height: 200px;
	background: #fff;
	padding: 1rem;
}

.form-btn {
	display: block;
	width: 300px;
	background: #3656a7;
	color: #fff;
	font-weight: bold;
	text-align: center;
	padding: 1rem 0.5rem;
	margin: 0 auto;
}
.form-btn:hover {
	background: #006400;
}

.form-btn-delete {
	display: block;
	width: 300px;
	background: crimson;
	color: #fff;
	font-weight: bold;
	text-align: center;
	padding: 1rem 0.5rem;
	margin: 5px auto;
}
.form-btn-delete:hover {
	background: red;
}

.form-btn-mini {
	display: inline;
	width: 100px;
	background: #3656a7;
	color: #fff;
	font-weight: bold;
	text-align: center;
	padding: 0.5rem 0.5rem;
	margin: 0 auto;
}

/* ======================================== テーブル ======================================== */
table {
  border: inherit;
  border-collapse: collapse;
}

td,
th {
  vertical-align: top;
}

th {
  text-align: left;
  font-weight: bold;
}

/* =============================================
テーブルのCSSはここから
============================================= */
/* テーブル03 */
.table03 {
  max-width: 100%;
  margin: 5px;
}

.table03 th,
.table03 td {
  padding: 0.5rem 1rem;
  border-right: 2px solid #fff;
  vertical-align: middle;
}

.table03 th:last-child,
.table03 td:last-child {
  border-right: 0;
}

.table03 thead th {
  background-color: #8ec5fc;
  color: #fff;
  text-align: center;
}

.table03 tbody tr {
  background-color: #f7f7f7;
  border-bottom: 2px solid #fff;
}

.table03 tbody tr:last-child {
  border: none;
}

.table03 tbody th {
  /*width: 25%;*/
  background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
  color: #fff;
}

.table03 tbody .price {
  width: 25%;
  text-align: right;
}

.table03 tbody .right {
  text-align: right;
}

@media screen and (max-width: 768px) {
  .table03 {
    max-width: 420px;
    width: 100%;
  }

  .table03 thead {
    display: none;
  }

  .table03 tbody tr {
    display: block;
    margin-bottom: 1rem;
  }

  .table03 tbody th {
    display: block;
    border-right: none;
    text-align: center;
  }

  .table03 tbody td {
    border-bottom: 2px solid #fff;
    display: block;
    text-align: right;
    position: relative;
    border-right: none;
  }

  .table03 tbody td::before {
    font-size: 0.8rem;
    content: attr(data-label);
    font-weight: bold;
    position: absolute;
    left: 1rem;
  }

  .table03 td:last-child {
    border-bottom: 0;
  }

  .table03 tbody th,
  .table03 tbody .price {
    width: 100%;
  }

  .table03 .text {
    font-size: 0.7rem;
  }
}

footer {
    background-color: aliceblue;
    padding: 0.5rem 1rem;
}

a {
    display:            inline-block;
    font-size:          14px;
    font-weight:        bold;
    padding:            10px 15px;
    margin:             2px 0;
    background:         #ee638d;
    color:              #fff;
    border-radius:      20px;
    box-shadow:         rgba(100,100,111,0.3) 0px 7px 29px 0px;
    transition:         all 0.2s;
    text-decoration:    none;
}
a:hover {
    background:         #1eb0d1;
    box-shadow:         rgba(100,100,111,0.5) 0px 7px 29px 0px;
}

a.wide {
  width: 300px;
  text-align: center;
}

.error {
    color: red;
}

.text-black {
  color: black;
}

.text-gray {
  color: gray;
}

.text-blue {
  color: blue;
}
