body {
  text-align: center;
  background: #f4f4f4;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin: 0;
}

#app {
  max-width: 95vw;
  margin: auto;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 3rem 1rem;
  margin: 2rem 0;
  font-size: 1.5rem;
  cursor: pointer;
}

.buttons button {
  margin: 0 0.5rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.buttons button:hover {
  background: #0056b3;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #dbdbdb;
  color: rgb(24, 24, 24);
  padding: 0.8rem 1.2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-logo {
  font-size: 1.5rem;
}

.navbar-menu button {
  background: transparent;
  border: 1px solid rgb(0, 0, 0);
  color: rgb(56, 56, 56);
  padding: 0.4rem 0.8rem;
  margin-left: 0.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.navbar-menu button:hover {
  background: white;
  color: #3b3b3b;
}

.fab {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  background-color: #007bff;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  z-index: 999;
  cursor: pointer;
}

.fab-menu {
  position: fixed;
  bottom: 100px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 10px;
  z-index: 999;
}

.fab-menu button {
  background-color: #ffffff;
  color: rgb(19, 19, 19);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin: 10px 0;
  border-radius: 10px;
  border-width: 1px;
  border-color: #007bff;
}

.import-section {
  margin: 20px;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: #f8f8f8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.import-section h2 {
  margin-top: 0;
}

.file-info {
  margin-top: 10px;
  font-size: 0.9em;
  color: #555;
  white-space: pre-wrap;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 24px 0;
}

.mb {
  display: none;
}


.overlay-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease;
  }
  .overlay-wrapper.visible {
    opacity: 1;
    visibility: visible;
  }

@media (max-width: 450px) {
  .pc {
    display: none;
  }

  .mb {
    display: flex;
  }

  .navbar-menu button:hover {
    color: rgb(56, 56, 56);
    background-color: transparent;
  }

  .list-item p{
    font-size: 0.9rem;
  }

  .list-item button {
    font-size: 0.9rem;
  }
}