.header {
  display: flex;
  flex-direction: column;  /* 上下に並べる */
  align-items: center;  /* 中央揃え */
  justify-content: center;
  height: 20vh;  /* 画面全体を使用 */
  text-align: center; /* タイトルを中央揃え */
}

.logo {
  margin-bottom: 20px; 
  width: 30vw;
  position: absolute;
  top: 20px;
  left: 8px;
}

#pageH1 {
  font-size: 1.5rem;  /* タイトルのフォントサイズを調整 */
  margin: 0;  /* タイトルの上下余白をなくす */
}
#pageH2 {
  font-size: 1.0rem;  /* タイトルのフォントサイズを調整 */
  margin: 0;  /* タイトルの上下余白をなくす */
}


body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

h1{
  text-align: center;
  color: #333;
}
h2{
  text-align: center;
  color: #333;
}

p {
  font-size: 1.2em; 
  color: #555;
}

.question {
  font-weight: bold; 
  margin-top: 20px;
}

button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 1em;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}


label {
  display: block; 
  margin-bottom: 10px; 
  color: #333;
}

#survey-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#customAlert {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 2px solid #007bff;
  padding: 20px;
  z-index: 1000;
  width: 230px;
  max-height: 80%;
  overflow-y: auto;
}
/* 未回答の質問アラートのスタイル */
#customAlert {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff3cd; /* 明るい黄色 */
  color: #856404; /* ダークイエローの文字色 */
  border: 2px solid #ffeeba;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: 80%; /* 横長に変更 */
  max-width: 600px; /* 最大幅を指定 */
  text-align: left; /* 左寄せ */
  word-wrap: break-word; /* 長い単語を折り返し */
}

#customAlert p {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.6;
}

#customAlert p strong {
  font-weight: bold;
  color: #d9534f; /* 赤っぽい色に変更 */
}

#customAlert button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1.2em;
  color: #fff;
  background-color: #f57c00; /* オレンジ色 */
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#customAlert button:hover {
  background-color: #e65100; /* ホバー時の色 */
}
