body {
  margin: 0;
  background-image: url("../img/restaurant.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
}

header {
  background-color: rgba(255, 255, 255, 0.5);
  height: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.appName {
  text-align: center;
  font-family: "Fascinate", cursive;
  font-size: large;
  font-weight: 700;
}

main {
  background-color: rgba(255, 174.76, 129.62, 0.75);
  height: 95%;
  display: flex;
}

.leftArea {
  width: 50%;
  height: 95%;
}

.rightArea {
  width: 50%;
  height: 95%;
}

.restaurantsListBack {
  width: 80%;
  height: 100%;
  /* background-color: rgba(255, 246, 200, 0.75); */
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0px 0px 8px #999;
  margin: 2.5% auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.restaurantsList {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

.restaurantsListHeader {
  display: flex;
}

.restaurantsListHeaderLeft {
  width: 30%;
}

.restaurantsListHeaderTitle {
  width: 40%;
  font-family: "Montserrat", sans-serif;
  font-size: x-large;
  font-weight: 700;
  margin-top: 5%;
}

.restaurantsListHeaderRight {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.createRestaurantButton {
  border: none;
  border-radius: 5px;
}

.restaurantButton {
  width: 70%;
  border: none;
}

.restaurantDeleteButton {
  /* width: 30%; */
}

.restaurantButton:hover {
  background-color: #d4f0fd;
}

.restaurantDetailBack {
  width: 80%;
  height: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  position: relative;
  box-shadow: 0px 0px 8px #999; /*効かない*/
  margin: 2.5% auto;
  display: flex;
  padding: 5%;
}

.restaurantDetail {
  width: 100%;
}

.restaurantDetailHeader {
  display: flex;
  height: 10%;
  border-bottom: 1px solid #999;
}

.restaurantDetailTitle {
  width: 50%;
  font-family: "Montserrat", sans-serif;
  /* font-size: x-large; */
  /* font-weight: 700; */
}

.restaurantDetailURL {
  width: 50%;
  text-align: right;
}

.restaurantDetailMain {
  overflow-y: scroll;
}

.restaurantDetailContent {
  width: 90%;
  height: 70%;
}

#map {
  width: 80%;
  height: 42.5%;
  margin: 2.5% auto;
}

.createRestaurantDialog {
  display: none;
  margin: 0;
  padding: 0;
  position: fixed;
  z-index: 2;
  text-align: center;
  width: 50%;
  height: 50%;
  background: rgb(255, 246, 200);
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
}

.editRestaurantDialog {
  display: none;
  margin: 0;
  padding: 0;
  position: fixed;
  z-index: 2;
  text-align: center;
  width: 50%;
  height: 50%;
  background: rgb(255, 246, 200);
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
}

.modal-background {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

.inputArea {
  width: 90%;
  height: 90%;
  margin: 5% auto;
}

.inputAreaForm {
  width: 100%;
  height: 100%;
}

.inputAreaInput {
  width: 100%;
  height: 80%;
}

.inputAreaButton {
  width: 100%;
  height: 20%;
}

.inputTable {
  width: 100%;
  height: 100%;
}

.inputNameRow {
  height: 10%;
}

.inputAddressRow {
  height: 10%;
}

.inputURLRow {
  height: 10%;
}

.inputDetailRow {
  height: 60%;
}

#inputName {
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

#inputAddress {
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

#inputURL {
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

#inputDetail {
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

.inputNameEdittedRow {
  height: 10%;
}

.inputAddressEdittedRow {
  height: 10%;
}

.inputUrEdittedRow {
  height: 10%;
}

.inputDetailEdittedRow {
  height: 60%;
}

#inputNameEditted {
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

#inputAddressEditted {
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

#inputUrlEditted {
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

#inputDetailEditted {
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

.submit {
  margin: 15px;
  width: 30%;
}

.cancel {
  margin: 15px;
  width: 30%;
}

#splash {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: #333;
  text-align: center;
  color: #fff;
}

#slider {
  width: 100%;
  height: 100vh;
}
