@charset "utf-8";
#form_hirakuto {
  clear: both;
}
#form_hirakuto dl {
  clear: both;
  width: 100%;
  display: flex;
  align-items: flex-start; /* テキストトップを揃える */
  justify-content: space-between;
  gap: 30px 10px;
  margin-bottom: 30px; /* dlごとに下余白 */
}
/* dt全体 */
#form_hirakuto dl dt {
  width: 250px;
  font-size: 18px;
  color: #484848;
  display: flex;
  justify-content: space-between; /* 左:ラベル / 右:必須 */
  align-items: center;
  padding-top: 6px;
}
#mfpn_policy {
  font-size: 18px;
  color: #484848;
  line-height: 1.2em;
  margin-bottom: 12px;
}
#mfpn_policy .must {
  display: inline-block;
  width: 46px;
  font-size: 12px;
  color: #FFFFFF;
  line-height: 1.0em;
  padding: 5px 0px 6px;
  border-radius: 12px;
  text-align: center;
  margin: -3px 0px 0px 10px;
  background-color: #DC0000;
}
/* dd */
#form_hirakuto dl dd {
  font-size: 18px;
  color: #484848;
  flex: 1;
  margin-left: 20px;
}
#form_hirakuto dl dd.dd_radio {
  margin-top: 4px;
}
/* 必須・任意ラベル */
#form_hirakuto dl dt span.must, #form_hirakuto dl dt span.nini {
  width: 46px;
  font-size: 12px;
  color: #FFFFFF;
  line-height: 1.0em;
  padding: 5px 0px 6px;
  border-radius: 12px;
  text-align: center;
  margin: 5px 0px 0px 0px;
}
#form_hirakuto dl dt span.must {
  background-color: #DC0000;
}
#form_hirakuto dl dt span.nini {
  background-color: #484848;
}
/* ===== テキスト入力・テキストエリア共通 ===== */
#form_hirakuto input[type="text"],#form_hirakuto input[type="email"], #form_hirakuto textarea, #form_hirakuto select {
  max-width: 700px;
  width: 100%;
  font-size: 18px;
  color: #484848;
  border: 1px solid #646464;
  border-radius: 5px;
  padding: 10px 15px;
  box-sizing: border-box;
}
/* placeholderのデザイン */
#form_hirakuto input::placeholder, #form_hirakuto textarea::placeholder {
  color: #9B9B9B;
  font-size: 18px;
}
/* テキストエリアは高さを見やすく */
#form_hirakuto textarea {
  min-height: 100px;
  resize: vertical; /* ユーザーが高さ調整できる */
}
/* ===== ラジオボタン ===== */
#form_hirakuto input[type="radio"] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
  margin-top: 3px;
  line-height: 1.0em;
  accent-color: #DC0000; /* Chrome/Edge/Safari用 */
}
#form_hirakuto dd label {
  margin-right: 20px;
  font-size: 18px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
/* ===== セレクトボックス ===== */
#form_hirakuto select {
  max-width: 280px;
  font-size: 18px;
  background-color: #fff;
  cursor: pointer;
  padding: 10px 15px;
}
/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  #form_hirakuto dl {
    flex-direction: column;
    gap: 2.0vw 0vw;
      margin-bottom: 3.0vh;
  }
  #form_hirakuto dl dt {
    width: 100%;
    font-size: 4.0vw;
    margin-bottom: 0vh;
    justify-content: flex-start; /* 左:ラベル / 右:必須 */
    align-items: center;
    padding-top: 0px;
  }
  #form_hirakuto dl dd {
    width: 100%;
      font-size: 3.6vw;
      margin-left: 0;
  }
    #mfpn_policy {
      font-size: 4.0vw;
    margin-bottom: 1.0vh;
    }
    #form_hirakuto dd label {
      margin-right: 1.2vw;
      font-size: 3.9vw;
    }
    
    /* 必須・任意ラベル */
    #form_hirakuto dl dt span.must, #form_hirakuto dl dt span.nini {
      width: 10.0vw;
      font-size: 3.0vw;
      line-height: 1.0em;
      padding: 0.6vw 0px 1.1vw;
      border-radius: 6.0vw;
      text-align: center;
      margin: 0 0px 0px 1.8vw;
    }
    
    /* ===== テキスト入力・テキストエリア共通 ===== */
    #form_hirakuto input[type="text"],#form_hirakuto input[type="email"], #form_hirakuto textarea, #form_hirakuto select {
      max-width: 100%;
      width: 100%;
      font-size: 4.0vw;
      border-radius: 2.0vw;
      padding: 1.3vh 2.5vw;
      box-sizing: border-box;
    }
    #form_hirakuto select {
      -webkit-appearance: none;
      appearance: none;
    }
    #form_hirakuto select::-ms-expand {
      display: none; /* IE対応 */
    }

    /* iPhone Safari専用対策 */
    @supports (-webkit-touch-callout: none) {
      select {
        background-image: none !important;
      }
    }
  
    /* placeholderのデザイン */
    #form_hirakuto input::placeholder, #form_hirakuto textarea::placeholder {
      font-size: 4.0vw;
        line-height: 1.2em;
    }
    /* テキストエリアは高さを見やすく */
        #form_hirakuto textarea {
          min-height: 20vh;
          resize: vertical; /* ユーザーが高さ調整できる */
        }
    
    
    
}