@charset "utf-8";
/*
Template: jstork19
Theme Name: stork19_custom
Theme URI:http://open-cage.com/stork19/
Version: 1.3.0
Author: opencage
Author URI: https://open-cage.com/
*/

/* ▼▼ ここから追加 ▼▼ */

.fortune-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
}

.fortune-container h1 {
  text-align: center;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

.fortune-container input,
.fortune-container textarea,
.birth-select select {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.form-label {
  display: block;
  font-weight: bold;
  margin-top: 12px;
}

.birth-select {
  display: flex;
  gap: 10px;
}

.fortune-container button {
  width: 100%;
  background: linear-gradient(135deg, #7b2ff7, #f107a3);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.fortune-container button:hover {
  opacity: 0.8;
}

#result {
  background: #fff;
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  line-height: 1.8;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.5s;
}

#result.show {
  opacity: 1;
}

/* ▲▲ ここまで追加 ▲▲ */