/* Lab18固有のスタイル */
.start-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
}

.start-page .catchphrase {
  font-size: 1.0em;
  margin: 16px auto 16px auto;
  color: #333;
  font-weight: bold;
  line-height: 1.8;
  padding: 0 24px;
  word-break: keep-all;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

@media (min-width: 601px) {
  .start-page .catchphrase {
    font-size: 1.15em;
  }
}

.start-page .description {
  font-size: 1.1em;
  margin-bottom: 32px;
  padding: 0 24px;
  box-sizing: border-box;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.8;
}

.start-page .notice-section {
  text-align: left;
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  border: 2px solid #e9ecef;
}

.start-page .notice-section h2 {
  font-size: 1.5em;
  margin-bottom: 16px;
  text-align: center;
}

.start-page .notice-section h3 {
  font-size: 1.2em;
  margin-bottom: 12px;
  text-align: center;
}

.start-page .notice-section .subsection {
  margin-bottom: 24px;
}

.start-page .notice-section .subsection:last-child {
  margin-bottom: 0;
}

.start-page .notice-section ul {
  list-style: none;
  padding: 0;
  line-height: 2;
}

.start-page .notice-section li {
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.start-page .notice-section li:before {
  content: "・";
  position: absolute;
  left: 0;
}

.start-page .start-button {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px 48px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.start-page .start-button:hover {
  background: #444;
}

.problem-section {
  display: none;
}

.answer-box .note {
  margin-top: 8px;
  font-size: 0.95em;
  color: #666;
  text-align: center;
  min-height: 1.6em;
}

/* カルーセルスタイル（5枚） */
.carousel-container {
  position: relative;
  width: 90vw;
  max-width: 600px;
  margin: 0 auto 24px auto;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-wrapper {
  display: flex;
  width: 500%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 20%;
  width: 20%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* プログレスバー（2段）: ラベルが長いので最小幅を上げる */
.progress-steps-bar-container {
  width: 90vw;
  max-width: 540px;
  margin: 0 auto 24px auto;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.progress-steps-bar {
  width: max-content;
  min-width: max-content;
  margin: 0 auto;
  justify-content: center;
}

.progress-step {
  flex: 0 0 auto;
  min-width: 56px;
  padding: 0 10px;
}

@media (max-width: 600px) {
  .carousel-container {
    width: 95vw;
    max-width: 95vw;
  }
}

