/* 罫線のスタイル */
.section-divider {
  border-top: 1px solid #707070;
  width: 100%;
}
/* TOPセクション */
.top-section {
  position: relative;
  text-align: center;
  background-color: #f4f4f4;
  margin-top: 60px; /* ナビゲーションバーに被らないように上にマージンを追加 */
  overflow: hidden; /* 画像がセクションからはみ出さないようにする */
}
.top-image {
  width: 100%;
  height: 320px; /* PCで縦幅25% */
  overflow: hidden;
  position: relative;
}
.top-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* 画像の縦横比を維持しつつ、上下中央を基準にトリミング */
}
.top-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.top-icon {
  width: 120px; /* PC表示で横幅30% */
  height: auto;
  margin-bottom: 10px;
}
.top-title {
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  white-space: nowrap; /* 改行を防ぐ */
}
@media (max-width: 768px) {
  .top-image {
    height: 300px; /* モバイルで縦幅40% */
  }
  .top-icon {
    width: 100px; /* モバイル表示で横幅50% */
  }
}
/* 本文セクション */
form {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}
label {
  display: block;
  margin-bottom: 5px;
}
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.required {
  background-color: red;
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8em;
  margin-left: 5px;
}
textarea {
  height: 100px;
}
.button-container {
  text-align: center;
  margin-top: 20px;
}
input[type="submit"], input[type="reset"] {
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 10px;
}
input[type="submit"] {
  background-color: #007bff;
  color: white;
  text-align: center;
  width: 120px;
}
input[type="reset"] {
  background-color: #f44336;
  color: white;
  text-align: center;
  width: 120px;
}
.selectbutton{
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
}
.privacy-policy{
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
}
.subtitle{
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
}

/* レスポンシブデザインの調整 */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  form {
    padding: 0 10px;
  }
  input[type="submit"], input[type="reset"] {
    margin: 10px 5px;
  }
}