body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.5;
}

/* OneSignal通知登録ボタンの位置調整 */
#onesignal-bell-container {
  left: 20px !important;
  right: auto !important;
}

#onesignal-bell-container.onesignal-bell-container-bottom-right {
  bottom: 20px !important;
  right: auto !important;
  left: 20px !important;
}

.container {
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 480px;
}

h1 {
  margin: 0 0 40px 0;
  font-size: 1.5rem;
  color: #333;
  padding-left: 0;
  text-align: center;
}
@media (min-width: 768px) {
  h1 {
    padding-left: 0;
  }
}

h2 {
  margin: 0 0 32px 0;
  font-size: 1.2rem;
  color: #333;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

input, select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background-color: #ffffff;
  color: #333333;
  box-sizing: border-box;
  height: 48px;
  line-height: 1.5;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 120px;
}
.button-primary {
  background-color: #4CAF50;
  color: white;
}
.button-primary:hover {
  background-color: #45a049;
}
.button-primary:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}
.button-secondary {
  background-color: #ffffff;
  color: #4CAF50;
  border: 1px solid #4CAF50;
}
.button-secondary:hover {
  background-color: #4CAF50;
  color: white;
}

.flash-message {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 32px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 1000;
  animation: slideDown 0.3s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  min-width: 300px;
  text-align: center;
}
@media (min-width: 768px) {
  .flash-message {
    min-width: 300px;
    left: auto;
    right: 24px;
    transform: none;
  }
}
.flash-message.success {
  background-color: #4CAF50;
}
.flash-message.error {
  background-color: #f44336;
}

@keyframes slideDown {
  from {
    transform: translate(-50%, -100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}
@media (min-width: 768px) {
  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}
.hamburger-menu {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 1000;
}
.hamburger-button {
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
  background-color: #4CAF50;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.hamburger-button span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: white;
  margin: 6px auto;
  transition: all 0.3s;
}
.hamburger-button.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-button.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-button.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.menu-content {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background-color: white;
  padding: 80px 0 0;
  transition: all 0.3s;
  z-index: 1000;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .menu-content {
    left: -320px;
    width: 320px;
  }
}
.menu-content.active {
  left: 0;
}
.menu-item {
  display: block;
  padding: 16px 24px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.2s;
}
.menu-item:hover {
  background-color: #f8f8f8;
}

.status-list, .history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-card, .history-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.history-item {
  border-left: 4px solid #e0e0e0;
}
.history-item.latest {
  background: #f1f8e9;
  border-left: 4px solid #4CAF50;
}
.history-item.latest .parking-number {
  color: #4CAF50;
}

.vehicle-info {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.parking-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  transition: all 0.2s;
}
.parking-info:hover {
  background-color: #f5f5f5;
  border-color: #4CAF50;
}
.parking-info:active {
  background-color: #e0e0e0;
}

.timestamp {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.loading {
  text-align: center;
  padding: 32px 16px;
  color: #666;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.loading::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4CAF50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.no-data {
  text-align: center;
  padding: 32px 16px;
  color: #666;
  font-size: 1.1rem;
}

.current-status, .history-section {
  margin-bottom: 32px;
}

.form-section {
  margin-top: 24px;
  margin-bottom: 32px;
  padding-bottom: 120px;
}

.vehicle-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background-color: #ffffff;
  color: #333333;
  margin-bottom: 40px;
  box-sizing: border-box;
  max-width: 100%;
  height: 48px;
  line-height: 1.5;
}

.current-location {
  margin-bottom: 16px;
}
.current-location .status-card {
  background-color: #f0f8f0;
  border-left: 4px solid #4CAF50;
  padding: 12px 16px;
}
.current-location .vehicle-info {
  color: #4CAF50;
  font-weight: 600;
  margin-bottom: 4px;
}

.parking-number-large {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 8px 0;
}
.parking-number-large .floor-info {
  font-size: 0.9rem;
  color: #666;
  margin-left: 4px;
}

.floor-info {
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 8px;
}

.parking-image {
  margin: 12px 0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  width: 200px;
  transition: opacity 0.2s;
}
.parking-image img {
  width: 100%;
  height: auto;
  display: block;
}

.vehicle-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1B813E;
}

.history-link {
  text-align: right;
}
.history-link a {
  color: #666;
  text-decoration: underline;
  font-size: 0.9rem;
}
.history-link a:hover {
  color: #333;
}

.status-card {
  background: #f5f5f5;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.vehicle-info {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.status-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.close-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  line-height: 1;
}
.close-button:hover {
  color: #333;
}

.modal-body {
  max-height: calc(80vh - 100px);
  overflow-y: auto;
}

.no-history {
  text-align: center;
  color: #666;
  padding: 20px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-item {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 4px;
}

.history-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.history-info .parking-number {
  font-size: 1.1rem;
  font-weight: bold;
}
.history-info .timestamp {
  color: #666;
  font-size: 0.9rem;
}

.image-modal {
  max-width: 90vw;
  max-height: 90vh;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-modal .modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.image-modal .close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.image-modal .close-button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.parking-number-input {
  display: flex;
  gap: 8px;
  align-items: center;
}
.parking-number-input .floor-select {
  width: 100px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background-color: #ffffff;
  color: #333333;
  box-sizing: border-box;
  height: 48px;
  line-height: 1.5;
}
.parking-number-input .number-input {
  flex: 1;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background-color: #ffffff;
  color: #333333;
  box-sizing: border-box;
  height: 48px;
  line-height: 1.5;
}

.floor-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.floor-radio {
  position: relative;
  flex: 1;
  min-width: 60px;
  text-align: center;
}
.floor-radio input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.floor-radio input[type=radio]:checked + span {
  background-color: #4CAF50;
  color: white;
  border-color: #4CAF50;
}
.floor-radio span {
  display: block;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}
.floor-radio span:hover {
  background-color: #f5f5f5;
}

.number-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background-color: #ffffff;
  color: #333333;
  box-sizing: border-box;
  height: 48px;
  line-height: 1.5;
}

.no-data {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 20px 0;
}
.no-data p {
  margin: 10px 0;
  font-size: 1rem;
}

.data-summary {
  background: #e8f5e8;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}
.data-summary p {
  margin: 0;
  font-weight: bold;
  color: #2e7d32;
  font-size: 0.9rem;
}

.chart-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0 20px 0;
  flex-wrap: wrap;
}

.tab-button {
  padding: 12px 24px;
  border: 2px solid #4CAF50;
  background: white;
  color: #4CAF50;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.tab-button:hover {
  background: #e8f5e8;
}
.tab-button.active {
  background: #4CAF50;
  color: white;
}

.chart-container {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 600px;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.chart-container canvas {
  max-height: 550px !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.detailed-data {
  margin-top: 30px;
}
.detailed-data h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 10px;
}

#analysis-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #4CAF50;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
}
#analysis-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
#analysis-fab:active {
  transform: scale(0.95);
}
#analysis-fab svg {
  filter: brightness(0) invert(1);
}

.analysis-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
}

.analysis-modal {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  z-index: 10;
  padding: 5px;
}
.close-modal:hover {
  color: #333;
}

.modal-header {
  padding: 20px 20px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
  text-align: center;
  flex: 1;
}

@media (max-width: 768px) {
  #analysis-fab {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
  #analysis-fab svg {
    width: 24px;
    height: 24px;
  }
  .analysis-modal-overlay {
    padding: 10px;
  }
  .analysis-modal {
    max-height: 95vh;
  }
  .modal-header {
    padding: 15px 15px 0 15px;
  }
  .modal-header h2 {
    font-size: 1.3rem;
  }
  .chart-tabs {
    margin: 10px 0 15px 0;
  }
}

/*# sourceMappingURL=style.css.map */
