Newer
Older
2025-shino / style.css
/* 全体の背景 */
body {
  margin: 0;
  font-family: "Segoe UI", "Hiragino Sans", "Helvetica Neue", sans-serif;
  background: linear-gradient(135deg, #9be2ff, #c7f5d9);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* カード風コンテナ */
.container {
  width: 90%;
  max-width: 450px;
  padding: 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}

/* 見出し */
.container h1 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  color: #333;
}

/* 説明文 */
.desc {
  color: #666;
  margin-bottom: 20px;
  font-size: 15px;
}

/* ラベル部分 */
.group-label {
  font-size: 17px;
  margin-bottom: 10px;
  color: #444;
}

/* 入力欄 */
input[type="text"] {
  width: 85%;
  padding: 12px;
  margin: 8px 0;
  font-size: 16px;
  border: 2px solid #d1d1d1;
  border-radius: 10px;
  outline: none;
  transition: 0.2s;
}

input[type="text"]:focus {
  border-color: #4ba3ff;
  box-shadow: 0 0 6px rgba(75,163,255,0.4);
}

/* ボタン */
button {
  width: 85%;
  padding: 12px;
  font-size: 17px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #4ba3ff;
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
  transition: 0.25s;
}

button:hover {
  background: #1b8af5;
}

/* 地図 */
#map {
  width: 100%;
  height: 500px;
  margin-top: 15px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* フェードインアニメーション */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}