body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #f4f4f4;
  color: #222;
  overflow: hidden;
  font-size: 20px; /* ベースフォントサイズを大きく */
}

.slide {
  display: none;
  height: 100vh;
  padding: 4rem 6rem;
  box-sizing: border-box;
  background: #ffffff;
  overflow-y: auto;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.slide.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: 2.6rem;
  color: #1a1a1a;
  margin-top: 0;
  font-weight: 700;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-top: 0;
  font-weight: 600;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

ul {
  padding-left: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

li {
  margin-bottom: 0.6rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
}

th, td {
  padding: 1rem 1.5rem;
  border: 1px solid #ccc;
  text-align: left;
}

.thumbnail-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #eee;
  padding: 0.7rem 1rem;
  display: none;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 1px solid #ccc;
  font-size: 1.1rem;
}

.thumbnail-bar.visible {
  display: flex;
}

.thumbnail {
  background: #ddd;
  padding: 0.6rem 1.2rem;
  margin-right: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.thumbnail:hover {
  background: #bbb;
}

.thumbnail.active {
  background: #333;
  color: white;
  font-weight: bold;
}

.summary {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #eef3ff;
  border-left: 6px solid #4a7bd1;
  border-radius: 6px;
  font-size: 1.2rem;
}

label {
  display: block;
  margin: 0.8rem 0;
  font-size: 1.1rem;
  cursor: pointer;
}

#total {
  font-size: 1.8rem;
  font-weight: bold;
  color: #006400;
  margin-top: 1rem;
}

.slide_image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
