@charset "UTF-8";
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f5f5f5;
}

h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  border-radius: 5px 5px 0 0;
}

.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 16px;
  font-weight: bold;
}

.tab button:hover {
  background-color: #ddd;
}

.tab button.active {
  background-color: #3498db;
  color: white;
}

.tabcontent {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 5px 5px;
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
}

input[type=file], input[type=text] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

button[type=submit] {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: block;
  margin: 20px 0;
  transition: background-color 0.3s;
}

button[type=submit]:hover {
  background-color: #2980b9;
}

.message {
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.download-link {
  display: inline-block;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.download-link:hover {
  background-color: #218838;
}

.note {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.drop-zone {
  margin: 10px 0;
  border: 2px dashed #3498db;
  border-radius: 4px;
  background-color: #f9f9f9;
  position: relative;
  min-height: 100px;
  transition: all 0.3s;
}

.drop-zone.drag-over {
  background-color: #e8f4fc;
  border-color: #2980b9;
}

.drop-zone-text {
  text-align: center;
  padding: 20px;
  color: #7f8c8d;
  font-size: 16px;
}

.file-list {
  padding: 10px;
  max-height: 250px;
  overflow-y: auto;
}

.dragging {
  opacity: 0.5;
}

.drag-over {
  border-top: 2px solid #3498db;
}

.file-list:empty {
  display: none;
}

.file-item {
  padding: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  cursor: move;
}

.file-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.file-item .handle {
  margin-right: 10px;
  color: #999;
  cursor: move;
}

.file-item .remove {
  margin-left: auto;
  color: #e74c3c;
  cursor: pointer;
  font-weight: bold;
  padding: 0 5px;
}

.file-item .remove:hover {
  color: #c0392b;
}

.add-button, .submit-button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin: 10px 0;
  transition: background-color 0.3s;
}

.add-button:hover, .submit-button:hover {
  background-color: #2980b9;
}

input[name=pdfFileAdd] {
  display: none;
}

.file-name {
  font-weight: bold;
}

.file-size {
  color: #666;
  font-size: 12px;
  margin-left: 10px;
}

.aaa {
  display: block;
}

/* リアルタイム集計表示用のスタイル */
.summary-container {
  background-color: #e8f4fc;
  border: 1px solid #b3d7f2;
  border-radius: 4px;
  padding: 10px 15px;
  margin: 15px 0;
  display: flex;
  justify-content: space-around;
  font-weight: bold;
  color: #2c3e50;
  animation: fadeEffect 0.5s;
}

.summary-item {
  display: flex;
  align-items: center;
}

.summary-label {
  margin-right: 5px;
  color: #7f8c8d;
}

.summary-value {
  font-size: 1.1em;
  color: #2980b9;
}

.file-page-count {
  background-color: #ecf0f1;
  color: #7f8c8d;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 10px;
}

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