@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@100;400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "M PLUS 1p", sans-serif;
}

body{
    background-color: wheat;
}

.sidebar {
  position: fixed;
  /* left: 0; */
  left: -250px; /* checkboxを実装するとき */
  background: rgb(75, 48, 17);
  width: 250px;
  height: 100%;
  transition: all 0.5s;
}

.sidebar header {
  font-size: 22px;
  color: #fff;
  text-align: center;
  line-height: 70px;
  background: rgb(138, 90, 36);
  user-select: none;
}

.sidebar ul a {
  display: block;
  height: 100%;
  width: 100%;
  line-height: 65px;
  font-size: 20px;
  color: #fff;
  padding-left: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid black;
  transition: 0.4s;
}

ul li:hover a {
  padding-left: 50px;
}

.sidebar ul a i {
  margin-right: 16px;
}

#check {
  display: none;
}

label #btn,
label #cancel {
  position: absolute;
  cursor: pointer;
  background: #b66f2d;
  border-radius: 3px;
}

label #btn {
  font-size: 100px;
  color: #fff;
  padding: 6px 12px;
  transition: all 0.5s;
}

label #cancel {
  z-index: 10;
  /* left: 195px; 見やすいように最初はこれ*/
  left: -195px;
  top: 17px;
  font-size: 30px;
  color: #fff;
  padding: 4px 9px;
  transition: all 0.5s;
}

#check:checked ~ .sidebar {
  left: 0;
}

#check:checked ~ label #btn {
  left: 250px;
  opacity: 0;
  pointer-events: none;
}

#check:checked ~ label #cancel {
  left: 195px;
}

#check:checked ~ section {
  margin-left: 250px;
}

section {
  height: 100vh;
  background-size: cover;
  background-position: center;
  transition: all 0.5s;
}

.contents {
    display: flex;
    flex-wrap: nowrap;
}

h1{
    padding-left: 112px;
}

div#table {
    margin: 0 auto;
    width: 700px;
    border-radius: 20px;
}

table {
    width: 700px;
    border-collapse: collapse;
    margin: auto;
    border-radius: 10px;
}

thead {
    background-color: rgb(153, 153, 153);
}

.NoContents {
    background-color: wheat;
    border: 0;
}

.list{
    background-color: white;
}

th,
td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
    height: 30px;
}

.image {
    text-align: center;
}

th.sort {
    cursor: pointer;
}

th.sort.desc:after {
    content: "▼";
    margin: 8px;
    font-size: 14px;
}

th.sort.asc:after {
    content: "▲";
    margin: 8px;
    font-size: 14px;
}



.pager ul {
    list-style: none;
    position: relative;
    left: 45%;
    float: left;
}

.pager ul li {
    margin: 0 5px;
    position: relative;
    left: -50%;
    float: left;
}

.pager ul li a {
    background-color: #EEE;
    color: #000;
    text-decoration-line: none;
}

.pager ul li span,
.pager ul li a {
    display: block;
    padding: 8px 15px;
    border-radius: 5px;
}

.pager ul li a:hover,
.pager ul li.active a:hover {
    /*ページネーションをマウスオーバーした時の背景と文字の色*/
    background-color: #333;
    color: #fff;
}

.pager ul li.active a {
    /*現在いるページネーションの背景と文字の色*/
    font-weight: bold;
    background-color: #ccc;
}

.pager ul li::marker,
.pager ul li.active::marker,
.pager ul li.disabled::marker {
    color: transparent;
}

input[type="search"] {
    margin: 20px 0;
}

footer {
    position: relative;
    background-color: darkgrey;
    margin: auto;
    width: 1000px;
    height: 300px;
    padding: 20px;
    bottom: 0;
}

.ShopName {
    font-size: 20px;
}

.adress {
    font-size: 15px;
    position: absolute;
    bottom: 0;
    right: 20px;
    margin: 10px;
}