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

/* カード */
.container {
  width: 100%;
  max-width: 450px;
  padding: 25px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  text-align: center;
}

/* タイトル */
.container h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

/* 入力欄 */
input[type="text"] {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  box-sizing: border-box;
}

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

/* ボタン */
button {
  width: 100%;
  padding: 12px;
  font-size: 17px;
  border-radius: 10px;
  background: #4ba3ff;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #1b8af5;
}

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