body {
  margin: 0;
  font-family: sans-serif;
  background: #eef1f6;
}

.app-header {
  background: #4a6fa5;
  color: white;
  padding: 15px;
}

.app-container {
  display: flex;
  height: calc(100vh - 70px);
}

.app-sidebar {
  width: 25%;
  background: #fff;
  padding: 20px;
  border-right: 1px solid #ddd;
  overflow-y: auto;

  opacity: 0;
  transform: translateX(-20px);
  transition: all 1s ease;
}

.app-sidebar.show {
  opacity: 1;
  transform: translateX(0);
}

.app-sidebar li {
  padding: 12px;
  border-bottom: 1px solid #4a6fa5 !important;
}

.app-sidebar ul {
  list-style: none;
  padding: 0;
}

.app-content {
  flex: 1;
  padding: 25px;
  overflow-y: auto;
}

.app-card-animate {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1s ease, transform 1s ease;
}

.app-card-animate.show {
  opacity: 1;
  transform: translateY(0);
}

.app-schedule-new {
  opacity: 0;
  transform: translateY(20px);
  animation: app-slideUp 1s ease forwards;
}

@keyframes app-slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-card {
  background: #fff;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.app-title-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-title-with-icon::before {
  content: "";
  width: 8px;
  height: 22px;
  border-radius: 6px;
  display: inline-block;
}

.app-icon-blue::before { background: #4a6fa5; }
.app-icon-green::before { background: #0bffff; }
.app-icon-orange::before { background: #ff2828; }

label {
  display: block;
  margin-bottom: 12px;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  padding: 10px 15px;
  background: #4a6fa5;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

button:hover {
  background: #3b5a85;
}
.app-schedule-item {
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  background: #fff;
}

.app-schedule-meeting { border-left: 6px solid #4a6fa5; background: #f3f7fc; }
.app-schedule-out     { border-left: 6px solid #4aa56f; background: #f3fcf7; }
.app-schedule-holiday { border-left: 6px solid #d9534f; background: #fcf3f3; }

.app-type-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 12px;
  color: white;
  margin-bottom: 10px;
  font-weight: bold;
}

.app-type-meeting { background: #4a6fa5; }
.app-type-out     { background: #4aa56f; }
.app-type-holiday { background: #d9534f; }

.app-schedule-item strong {
  font-size: 16px;
}

.app-delete-btn {
  margin-top: 12px;
  background: #d9534f;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.app-delete-btn:hover {
  background: #c64540;
}

/* ▼▼▼ ハンバーガーボタンの表示制御 ▼▼▼ */
.app-floating-btn {
  display: none;
}

@media (max-width: 768px) {

  .app-container {
    flex-direction: column;
    height: auto;
  }

  .app-header h1 {
    margin-left: 15px;
  }

  .app-floating-btn {
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #4a6fa5;
    color: white;
    border-radius: 50%;
    border: none;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1100;
    padding: 0;
  }

  .app-floating-btn .app-bar {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .app-floating-btn.open .app-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .app-floating-btn.open .app-bar:nth-child(2) {
    opacity: 0;
  }

  .app-floating-btn.open .app-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .app-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: #fff;
    z-index: 1002;
    transition: right 1s ease;
    border-left: 1px solid #ddd;
  }

  .app-sidebar.open {
    right: 0;
  }

  #app-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  #app-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }
}