/* ▼▼ ヘッダー画像を普通に挿入するCSS ここから ▼▼ */

.form-top {
  background-position: center center;
  background-size: contain; /* 画像が要素内に収まるように調整 */
  background-repeat: no-repeat; /* 画像の繰り返しを停止 */
  width: 100%;
  height: 0; /* 初期高さを0に設定 */
  padding-top: calc(339 / 1024 * 100%); /* 縦横比を維持して高さを設定 */
}

.form-top .form-top-right {
  display: none;
}

@media (min-width: 768px) {
  .form-top {
    width: 100%;
    /* パソコンでの縦横比を維持した高さ設定 */
    padding-top: calc(339 / 1024 * 100%); 
  }
}

/* ▲▲ ヘッダー画像を普通に挿入するCSS ここまで ▲▲ */

  

/* ここでプレビューの文字を消しています */

.form-top .form-top-left  {
    display: none;
}

/* ここまでプレビューの文字を消しています */
/* ▼▼ 中見出し13 ここから ▼▼ */
h4.description-md-title {
background: #34b496; /* 背景色はここのカラーコードを変更 */
box-shadow: none;
color: #ffffff; /* 文字色はここのカラーコードを変更 */
width: 100%;
margin: 15px 0 0 0;
font-weight: 600;
padding: 15px 15px 15px 15px;
position: relative;

border-top-left-radius: 5px;
border-top-right-radius: 30px;
border-bottom-right-radius: 30px;
border-bottom-left-radius: 5px;
animation-name:fadeLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

h4.description-md-title::before {
position: absolute;
content: '';
top: 100%;
left: 0;
border: none;
}

.col-sm-4, .col-sm-8, .col-sm-12 {
padding: 0;
}
/* ▲▲ 中見出し13 ここまで ▲▲ */

/* ▼▼ 送信ボタン ここから ▼▼ */
#submit-button{

display: block;
padding: 0.8em 3em;
background-color: #03a9f4;
box-shadow: 0 5px 0 #0092d6;
border-radius: 60px;
color: #fff;
cursor: pointer;
text-decoration: none; /* 文字の下線を消す */
transition: all 0.3s;
width: 10em;
margin: auto;

}

#submit-button:active {
  box-shadow: none;
  transform: translateY(5px);
}

/* ▲▲ 送信ボタン ここまで ▲▲ */

.form-bottom {
  background-color: #ffffff; /* ここに設定したい背景色を指定します */
  padding-top: 15px;    /* 上の余白 */
  padding-right: 15px;  /* 右の余白 */
  padding-bottom: 15px; /* 下の余白 */
  padding-left: 15px;   /* 左の余白 */
}

h4 {
  padding-top: 15px;    /* 上の余白 */
  padding-right: 15px;  /* 右の余白 */
  padding-bottom: 15px; /* 下の余白 */
  padding-left: 15px;   /* 左の余白 */
  /* または、一括指定 */
  /* padding: 10px 15px;  /* 上下10px, 左右15px */
  /* padding: 10px;     /* 上下左右全て10px */
}

.checkboxes {
  display: flex;       /* 変更なし: Flexboxレイアウトを適用 */
  flex-wrap: wrap;     /* 変更なし: 要素が収まらない場合に改行を許可 */
  gap: 5px;            /* ★変更箇所1: チェックボックス間の水平・垂直方向の隙間を狭くしました (10px → 5px) */
}

.checkboxes label {
  /* 変更なし: 各チェックボックスが占める幅を調整したい場合 */
  /* flex-basis: calc(50% - 5px); */
  /* max-width: 200px; */
  margin-right: 0;     /* 変更なし: 既存の右マージンがあればリセット */
  margin-bottom: 1px;  /* ★変更箇所2: 改行されたときに下部にできる隙間を狭くしました (5px → 3px) */
}