/* =============================================
   年齢確認モーダル / age-check.css
   ============================================= */

#age-check-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1em;
}

.age-check-inner {
  background: #fff;
  padding: 2em 2em 1.5em;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  font-family: sans-serif;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.age-check-title {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 0 1.2em;
  padding-bottom: 0.8em;
  border-bottom: 1px solid #eee;
}

.age-check-text {
  font-size: 0.9em;
  line-height: 1.7;
  margin: 0 0 0.4em;
  color: #333;
}

.age-check-example {
  font-size: 0.85em;
  color: #666;
  margin: 0.8em 0;
}

#age-check-input {
  display: block;
  margin: 0.8em auto;
  font-size: 1.3em;
  padding: 0.4em 0.6em;
  width: 7em;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

#age-check-input:focus {
  border-color: #888;
}

#age-check-error {
  color: #c00;
  font-size: 0.85em;
  min-height: 1.4em;
  margin: 0.2em 0 0.6em;
}

.age-check-buttons {
  display: flex;
  gap: 0.8em;
  justify-content: center;
  margin: 0.8em 0 1.2em;
}

.age-check-buttons button {
  padding: 0.5em 1.8em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95em;
  transition: opacity 0.15s;
}

.age-check-buttons button:hover {
  opacity: 0.8;
}

#age-check-enter {
  background: #333;
  color: #fff;
}

#age-check-back {
  background: #eee;
  color: #555;
}

.age-check-notice {
  font-size: 0.78em;
  color: #999;
  line-height: 1.6;
  margin: 0;
  border-top: 1px solid #eee;
  padding-top: 0.8em;
}
