/* ヘッダー */
header {
  background-color: #1abc9c;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

header h1 {
  font-size: 2rem;
  flex-basis: 100%;
  text-align: center;
  color: #000;
}

nav {
  flex-basis: 100%;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

nav li {
  margin: 0.5rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}


/* サイト全体の設定 */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  background-color: #f2f2f2;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



/* ボタンのデザイン */
button {
  display: inline-block;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #007bff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
}

button:hover {
  background-color: #0062cc;
  box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
}

/* フォームのスタイル */
form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

form label {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

form input {
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 20px;
}

form input:focus {
  outline: none;
  box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 4px 12px rgba(50,50,93,.2);
}

/* 結果の表示 */
.result {
  margin-top: 30px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #007bff;
}
