/* howto.css */
.howto-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em;
  background: #fffdf7;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: 'Helvetica Neue', sans-serif;
}

.header_text {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.2em;
}

ol.header_text {
  padding-left: 1.2em;
  background: #f9f9f9;
  /* border-left: 5px solid #ff8c00; */
  padding: 1em;
  border-radius: 8px;
}

ol.header_text li {
  margin-bottom: 0.5em;
}

img.header_text {
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
img.header_text:hover {
  transform: scale(1.05);
}

/* モーダル */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#modal {
  background: white;
  padding: 1.5em;
  border-radius: 12px;
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  position: relative;
}

#modal img {
  max-width: 100%;
  height: auto;
  display: block;
}

#modal-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #666;
  cursor: pointer;
}

/* Vue transition */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s ease;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}
