@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300&display=swap");

body {
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  justify-content: center;
  /* height: 20vh; */
}

header > img:first-of-type {
  width: 100%;
}
header > div {
  background-color: white;
  /* padding: 0 5px; */
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  vertical-align: middle;
}
header > div > img {
  height: 50px;
  width: 50px;
}

header > div > img:last-of-type{
	opacity: 0%;
	height: 0px;
    width: 0px;
}
header > div > div > p,
header > div > div > p > strong {
  font-size: 10px;
  text-align: center;
  text-transform: capitalize;
  /* color: white; */
  /* text-shadow: 1px 1px 1px black; */
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 100%;
}

h1 {
  font-size: 5.4vw;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
  color: white;
  background-color: rgb(0, 0, 0);
  padding: 14px 18px;
}
table {
  background-color: #fff;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.39);
  width: 100%;
  margin-bottom: 40px;
}

table td,
table th {
  font-size: 8px;
  padding: 8px;
  text-align: center;
}

table > thead {
  background-color: #000;
  font-size: 16px;
  color: #fff;
}

table thead th {
  font-size: 10px;
}

table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

table tbody tr:hover {
  background-color: #ddd;
}
table td {
  font-size: 13px;
}

table:first-of-type tr td:first-of-type {
  width: 80%;
}

footer > p {
  text-align:center;
  font-size: 12px;
}

@media screen and (min-width: 1166px) {
  table {
    width: 50%;
    padding: 20px;
  }

  header > div {
    display: none;
  }

  header > img:first-of-type {
    width: 50%;
    height: 50%;
  }

  main > h1 {
    font-size: 1vw;
  }

  table td {
    font-size: 24px;
  }

  table > thead {
    background-color: #000;
    font-size: 28px;
    color: #fff;
  }

  footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    width: 100%;
  }

  footer > p {
    width: 100%;
  }
}
