@charset "utf-8";
/*-----------------------------------*/
#form_wrap {
  clear: both;
  width: 1100px;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 90px 100px 30px;
  background-color: #FFF;
  margin: 0px auto 30px;
}

/**/
/* ===============================
   個人情報保護方針ページ用CSS
   =============================== */
.poli_wrap {
  clear: both;
  overflow: hidden;
  width: 900px;
  box-sizing: border-box;
  padding: 10px 10px 20px;
  border-radius: 5px;
  border: 1px solid #707070;
  margin-bottom: 40px;
}
.privacy-policy {
  width: 100%;
  overflow-y: scroll !important;
  line-height: 1.6em;
  font-size: 16px;
  height: 250px;
  box-sizing: border-box;
  padding: 30px 70px 30px;
}
/* --- Chrome / Edge / Safari --- */
.privacy-policy::-webkit-scrollbar {
  width: 14px; /* 横幅 */
}
.privacy-policy::-webkit-scrollbar-track {
  background: transparent; /* トラック部分（透明にしておく） */
}
.privacy-policy::-webkit-scrollbar-thumb {
  background-color: #E0E0E0; /* スクロール部分 */
  border-radius: 9px; /* 角丸 */
  border: 3px solid transparent; /* 内側に余白をつけて丸感を出す */
  background-clip: content-box; /* 余白を反映させる */
}
/* --- Firefox --- */
.privacy-policy {
  scrollbar-width: thin; /* 細めにする */
  scrollbar-color: #E0E0E0 transparent; /* 色（つまみ / 背景） */
}
.privacy-policy h4 {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
}
/* 段落 */
.privacy-policy p {
  margin: 0 0 1.2em;
}
/* 見出し（h5） */
.privacy-policy h5 {
  font-size: 15px;
  font-weight: bold;
  margin: 2em 0 0.8em;
}
.privacy-policy h5::before {
  content: '●';
  font-size: 16px;
  margin-right: 5px;
}
/* 番号付きリスト */
.privacy-policy ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
.privacy-policy ol li {
  margin-bottom: 0.5em;
}
/* 箇条書きリスト */
.privacy-policy ul {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  list-style-type: disc;
}
.privacy-policy ul li {
  margin-bottom: 0.5em;
}
/* 住所や問い合わせ先 */
.privacy-policy address, .privacy-policy .contact {
  font-style: normal;
  background: #f8f8f8;
  padding: 10px 15px;
  border-left: 3px solid #ccc;
  margin: 1em 0;
}
/* 強調したい部分 */
.privacy-policy strong {
  color: #c00;
  font-weight: bold;
}
/* レスポンシブ調整 */
@media (max-width: 768px) {
  .privacy-policy {
    font-size: 3.8vw;
    padding: 5vw;
  }
  .privacy-policy h5 {
    font-size: 1rem;
  }
}
#policy_agree {
  width: 400px;
  font-size: 18px;
  text-align: center;
  margin: 0 auto 20px;
  cursor: pointer;
}
#policy_agree label {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  margin: 0px auto 0px;
}
/* ボタンのラッパー */
#bt_submit {
  text-align: center; /* 横中央揃え */
  margin-bottom: 40px; /* 下余白 */
}
/* ボタン本体 */
#bt_submit input[type="submit"] {
  width: 310px;
  height: 60px;
  background: #faa000;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease; /* フェードアニメーション */
}
/* ホバー時 */
#bt_submit input[type="submit"]:hover {
  color: #FFF;
  background: #484848;
}
.g-recaptcha {
  clear: both;
  width: 310px;
  margin: 0px auto 20px !important;
}
#form_nishikiya {
  clear: both;
}
#form_nishikiya dl {
  clear: both;
  width: 100%;
  display: flex;
  align-items: flex-start; /* テキストトップを揃える */
  justify-content: space-between;
  gap: 30px 10px;
  margin-bottom: 30px; /* dlごとに下余白 */
}
/* dt全体 */
#form_nishikiya 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_nishikiya dl dd {
  font-size: 18px;
  color: #484848;
  flex: 1;
  margin-left: 20px;
}
#form_nishikiya dl dd.dd_radio {
  margin-top: 4px;
}
/* 必須・任意ラベル */
#form_nishikiya dl dt span.must, #form_nishikiya 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_nishikiya dl dt span.must {
  background-color: #DC0000;
}
#form_nishikiya dl dt span.nini {
  background-color: #484848;
}
/* ===== テキスト入力・テキストエリア共通 ===== */
#form_nishikiya input[type="text"], #form_nishikiya input[type="email"], #form_nishikiya textarea, #form_nishikiya select {
  max-width: 650px;
  width: 100%;
  font-size: 18px;
  color: #484848;
  border: 1px solid #646464;
  border-radius: 5px;
  padding: 10px 15px;
  box-sizing: border-box;
}
/* placeholderのデザイン */
#form_nishikiya input::placeholder, #form_nishikiya textarea::placeholder {
  color: #9B9B9B;
  font-size: 18px;
}
/* テキストエリアは高さを見やすく */
#form_nishikiya textarea {
  min-height: 200px;
  resize: vertical; /* ユーザーが高さ調整できる */
}
/* ===== ラジオボタン ===== */
#form_nishikiya 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_nishikiya dd label {
  margin-right: 20px;
  font-size: 18px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
/* ===== セレクトボックス ===== */
#form_nishikiya select {
  max-width: 280px;
  font-size: 18px;
  background-color: #fff;
  cursor: pointer;
  padding: 10px 15px;
}



/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  
  #form_wrap {
    clear: both;
    width: 100%;
    box-sizing: border-box;
    padding: 4.0vh 5.0vw 2.0vh;
    margin: 0px auto 2.5vh;
  }
  .poli_wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 10px 20px;
    border-radius: 5px;
    border: 1px solid #707070;
    margin-bottom: 3.0vh;
  }
  #policy_agree {
    width: 100%;
    font-size: 3.0vw;
    text-align: center;
    margin: 0 auto 2.0vh;
    cursor: pointer;
  }
  
  #form_nishikiya dl {
    flex-direction: column;
    gap: 2.0vw 0vw;
    margin-bottom: 3.0vh;
  }
  #form_nishikiya dl dt {
    width: 100%;
    font-size: 4.0vw;
    margin-bottom: 0vh;
    justify-content: flex-start; /* 左:ラベル / 右:必須 */
    align-items: center;
    padding-top: 0px;
  }
  #form_nishikiya dl dd {
    width: 100%;
    font-size: 3.6vw;
    margin-left: 0;
  }
  #mfpn_policy {
    font-size: 4.0vw;
    margin-bottom: 1.0vh;
  }
  #form_nishikiya dd label {
    margin-right: 1.2vw;
    font-size: 3.9vw;
  }
  /* 必須・任意ラベル */
  #form_nishikiya dl dt span.must, #form_nishikiya 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_nishikiya input[type="text"], #form_nishikiya input[type="email"], #form_nishikiya textarea, #form_nishikiya select {
    max-width: 100%;
    width: 100%;
    font-size: 4.0vw;
    border-radius: 2.0vw;
    padding: 1.3vh 2.5vw;
    box-sizing: border-box;
  }
  #form_nishikiya select {
    -webkit-appearance: none;
    appearance: none;
  }
  #form_nishikiya select::-ms-expand {
    display: none; /* IE対応 */
  }
  /* iPhone Safari専用対策 */
  @supports (-webkit-touch-callout: none) {
    select {
      background-image: none !important;
    }
  }
  /* placeholderのデザイン */
  #form_nishikiya input::placeholder, #form_nishikiya textarea::placeholder {
    font-size: 4.0vw;
    line-height: 1.2em;
  }
  /* テキストエリアは高さを見やすく */
  #form_nishikiya textarea {
    min-height: 20vh;
    resize: vertical; /* ユーザーが高さ調整できる */
  }
}