/*
Theme Name: simulation style
Description: LP専用のカスタムテーマ
Version: 1.0
Author: You
*/
/*初期設定*/
html {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  animation: loading 1s;
}
@keyframes loading {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
img, video {
  width: 100%;
  pointer-events: none;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 700px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
body {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Yu Gothic', '游ゴシック', 'YuGothic', sans-serif;
}
/***** simulation *****/
/*.fv {
  margin-top: 60px;
}
@media screen and (max-width: 700px) {
  .fv {
    margin-top: 20px;
  }
}*/
.simulation {
  width: 80%;
  margin: 0 auto;
  padding: 30px 0;
}
.step-5-wrap {
  text-align: left;
}
/* ステップ表示制御 */
.cf7-step {
  display: none;
}
.cf7-step.is-active {
  display: block;
}
/* タイトル・見出し */
.simulation_item_p, .simulation_form_title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}
/* フォーム項目タイトル */
.simulation_item_p {
  margin: 20px auto;
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
}
.simulation_item_p:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px; /*線の上下位置*/
  display: inline-block;
  width: 60px; /*線の長さ*/
  height: 2px; /*線の太さ*/
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%); /*位置調整*/
  background-color: #F47E00; /*線の色*/
  border-radius: 2px; /*線の丸み*/
}
.simulation_form_item_p {
  margin-left: 5px;
  font-size: 1.2rem;
}
/* 必須マーク */
.required {
  color: #fff;
  background-color: #f00;
  border-radius: 10px;
  padding: 2px 10px;
  display: inline-block;
  font-size: 1rem;
  margin-left: 10px;
  font-weight: 500;
}
/* ラジオボタンのスタイル（クリック範囲＋選択時改善済み） */
.wpcf7-list-item {
  display: block;
  margin: 0 auto 20px;
}
/* --- radio用（住宅の種類など） --- */
.wpcf7-radio .wpcf7-list-item label {
  display: block;
  padding: 20px;
  background-color: #fff;
  border: 2px solid #F47E00;
  border-radius: 10px;
  color: #333;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: bold;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
/* --- checkbox用（プライバシーポリシーなど） --- */
.wpcf7-checkbox .wpcf7-list-item label {
  display: inline-block;
  padding: 0;
  background: none;
  border: none;
  color: #333;
  font-weight: normal;
  font-size: 1.4rem;
  cursor: pointer;
}
/* ラジオボタンの選択状態で背景色変更 */
.wpcf7-list-item input[type="radio"] {
  display: none;
}
.wpcf7-radio .wpcf7-list-item label.selected {
  background-color: #F47E00;
  color: #fff;
  border-color: #F47E00;
}
/* テキスト・メール・電話の入力欄 */
.form_item_input, .form_item_input_short {
  width: 100%;
  padding: 12px;
  font-size: 1.6rem;
  border: 2px solid #F47E00;
  border-radius: 10px;
  box-sizing: border-box;
}
.form_item_input_short {
  max-width: 300px;
}
/* プライバシーポリシーの同意チェック */
.simu_check {
  font-size: 1.2rem;
  margin-top: 20px;
}
/* 送信ボタン */
.simulation_submit {
  margin-top: 30px;
  text-align: center;
}
.simulation_submitBtn input[type="submit"] {
  background-color: #F47E00;
  color: #fff;
  font-size: 1.8rem;
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 70%;
  display: block;
  margin: 0 auto;
}
.simulation_submitBtn input[type="submit"]:hover {
  background-color: #EC6E24;
}
/* 「前に戻る」ボタン */
.btn-back {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 1.4rem;
  background-color: #ccc;
  color: #333;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-back:hover {
  background-color: #aaa;
}
/* エラーメッセージ */
.error-msg {
  color: red;
  font-size: 1.4rem;
  margin-top: 10px;
}
/***** form confirm thanks *****/
.form_confirm_wrap, .form_thanks_wrap {
  padding: 10% 0;
  background-color: #f0ffc5;
}
.form_confirm, .form_thanks {
  width: 80%;
  margin: 0 auto;
  padding: 2% 5%;
  background-color: rgba(255, 255, 255, 0.6); /* 白の60% */
  backdrop-filter: blur(6px); /* 背景のぼかし効果（オプション） */
}
.form_confirm {
  text-align: left;
}
.simulation_confirm_item{
  font-size: 1.6rem;
  margin: 30px 0 0;
}
.cf7-step p{
  font-size: 1.6rem;
  margin: 0;
}
.form_thanks p {
  margin: 30px 0;
}
.simulation_submitBtn input[type="submit"]{
    font-size: 1.2rem;
    padding: 20px 40px;
    border-radius: 40px;
}
/* 電話番号 注意書き */
.simulation_item_note {
  font-size: 1.0rem !important;
  margin-top: 5px !important;
  color: #888 !important;
}
/*前へ戻るボタン*/
.wpcf7-previous {
  display: block;
  width: 40%;
  margin: 30px auto 0;
  padding: 10px;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
}
@media screen and (max-width: 768px) {
  .simulation{
    width: 90%;
    padding: 0;
  }
  .simulation_form_title{
    font-size: 1.6rem;
  }
  .simulation_item_p, .simulation_form_title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 20px;
}
  .wpcf7-previous {
    width: 70%;
  }
  /***** form confirm thanks *****/
  .form_confirm{
    width: 80%;
  }
  .form_confirm_wrap, .form_thanks_wrap {
  padding: 4% 0;
  }
  .simulation_confirm_item{
  font-size: 1.4rem;
  margin: 20px 0 0;
}
  .cf7-step p {
    font-size: 1.2rem;
}
  .simulation_submitBtn input[type="submit"]{
    width: 100%
  }
  .form_thanks{
    width: 90%;
    padding: 2%;
  }
  .form_thanks h1{
    font-size: 1.6rem;
  }
}