/* 色・フォントは base.css の --color-love / body指定を継承する。
   このファイルでは独自のカラー変数・フォント再定義を行わない。 */

.site-header {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.site-logo {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--color-love);
  text-decoration: none;
}

h1 {
  font-weight: bold;
}

.disclaimer {
  font-size: 0.85rem;
  background-color: color-mix(in srgb, var(--color-love) 15%, transparent);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
  text-align: left;
}

#formError {
  color: #c62828;
  font-weight: bold;
  min-height: 1.5em;
  margin-bottom: 1rem;
}

#aishoForm fieldset {
  background-color: #fff;
  border: 1px solid color-mix(in srgb, var(--color-love) 40%, transparent);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

#aishoForm legend {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--color-love);
  padding: 0 0.5rem;
}

#aishoForm label {
  display: block;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

#aishoForm input[type="date"],
#aishoForm select {
  width: 100%;
  font-size: 16px;
  padding: 0.6rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-love) 40%, transparent);
  border-radius: 0.5rem;
  background-color: #fff;
  color: inherit;
}

#aishoForm button {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  background-color: var(--color-love);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#aishoForm button:hover,
#aishoForm button:focus-visible {
  background-color: color-mix(in srgb, var(--color-love) 80%, black);
  transform: translateY(-1px);
}

#resultContainer {
  text-align: left;
}

@media (max-width: 600px) {
  #aishoForm fieldset {
    padding: 1rem;
  }

  #aishoForm legend {
    font-size: 1.05rem;
  }
}
