.elementor-element.elementor-element-74c7631.e-flex.e-con-boxed.e-con.e-parent {
  display: none;
}

.br-sp {
  display: none;
}

@media screen and (max-width: 1080px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline-block;
  }
}

.tategaki {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.stepbar {
  margin: 0 auto;
  width: 80%;
}

.stepbar .stepbarwrap {
  margin: 2em 0;
  position: relative;
}

.stepbar .stepbarwrap .steptitle {
  display: inline-flex;
  align-items: center;
}

.stepbar .stepbarwrap .steptitle .stepcircle {
  display: inline-block;
  width: 3em;
  height: 3em;
  content: "";
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.stepbar .stepbarwrap .steptitle .stepcircle span {
  display: inline-block;
  line-height: 1.2em;
  font-size: 0.8em;
  font-weight: bold;
  position: relative;
  top: 0.9em;
  width: 100px;
}

.stepbar .stepbarwrap .steptitle .title {
  margin: 0.5em;
  font-weight: bold;
  font-size: 2em;
}

.stepbar .stepbarwrap .steptxt {
  padding-left: 3.5em;
}

.stepbar .stepbarwrap .steptxt .txt {
  font-size: 0.9em;
}

.stepbar .stepbarwrap .stepline {
  width: 1px;
  height: calc(100% + 1em);
  background-color: #000;
  position: absolute;
  top: 1em;
  left: 1.5em;
  z-index: -1;
}

.stepbarwrap:last-of-type .stepline:last-of-type {
  display: none;
}

@media screen and (max-width: 960px) {
  .stepbar {
    width: 90%;
  }
}

/* Contact Form 7 */

/* container */

.entry-form {
  max-width: 900px;
  margin: 0 auto;
}

/* title */

.form-title {
  text-align: center;
  font-size: 50px;
  margin-bottom: 40px;
  color: #1A1A1A !important;
  font-weight: 400 !important;
}

.form-note {
  text-align: center;
  margin-bottom: 40px;
  font-size: 20px;
}

/* rows */

.form-row p {
  display: grid;
  grid-template-columns: 180px 0px;
  align-items: center;
  margin-bottom: 22px;
}

.form-row label {
  font-weight: 500;
  text-align: center;
  font-size: 20px !important;
}

/* inputs */

.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: 14px;
  background: #eee;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

/* textarea bigger */

.textarea-row textarea {
  height: 140px;
}

/* privacy */

.privacy >p>span>span>span>label {
  display: flex;
  text-align: center;
  margin: 25px auto 50px;
  font-size: 20px;
  justify-content: center;
}

.privacy >p>span>span>span>label> input {
  width: 20px;
}

.privacy >p>span>span>span>label> span {
  width: fit-content;
}

.privacy >p span {
  display: block;
  width: 100%;
}

/* submit */

.submit-wrap {
  text-align: center;
}

input[type="submit"] {
  background: #1A1A1A !important;
  padding: 36px 200px !important;
  color: white !important;
  width: fit-content;
  font-size: 20px !important;
}

.wpcf7-submit {
  background: #111;
  color: white;
  padding: 14px 60px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.wpcf7-submit:hover {
  opacity: 0.85;
}

/* フォーム全体のスタイル */

#jibun-form-embedded {
  max-width: 850px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
}

/* ⑤各項目の間隔を30pxに設定 */

.form-group {
  display: flex;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* ①項目の右に入力枠を設置（ラベル側） */

.form-label {
  width: 240px;
  font-weight: bold;
  padding-top: 8px;
  box-sizing: border-box;
}

/* ②必須ラベル（赤字で小さく） */

.required {
  color: #e74c3c;
  font-size: 0.7rem;
  margin-left: 8px;
  padding: 2px 6px;
  border: 1px solid #e74c3c;
  border-radius: 3px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* ①項目の右に入力枠を設置（入力側） */

.form-input {
  flex: 1;
  min-width: 300px;
}

/* 各入力要素の共通スタイル */

.form-input input[type="text"],
.form-input input[type="tel"],
.form-input input[type="email"],
.form-input input[type="date"],
.form-input input[type="number"],
.form-input select,
.form-input textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #fcfcfc;
}

.form-input textarea {
  resize: vertical;
}

/* 年齢入力（number）の幅を少し調整 */

.form-input input[type="number"] {
  width: 120px;
}

/* チェックボックスのラベル */

.checkbox-label {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 12px;
  cursor: pointer;
}

.checkbox-label input {
  margin-right: 6px;
}

/* 個人情報の取扱いブロック */

.privacy-policy-container {
  margin-top: 50px;
  padding: 25px;
  background-color: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
}

.privacy-policy-container h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}

.privacy-policy-text {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #555;
}

.privacy-policy-text p {
  margin-bottom: 10px;
}

.privacy-consent {
  text-align: center;
  font-weight: bold;
  padding-top: 10px;
  border-top: 1px dashed #ccc;
}

/* 送信ボタンのスタイル */

.submit-container {
  text-align: center;
  margin-top: 40px;
}

#jibun-form-embedded-submit-button {
  background-color: #D6AE3C;
  color: #fff;
  padding: 18px 50px;
  border: none;
  border-radius: 30px;
  /* 角丸で柔らかい印象 */
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 0 #cc7000;
  transition: all 0.2s;
}

#jibun-form-embedded-submit-button:hover {
  background-color: #ffa533;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #cc7000;
}

/* --- レスポンシブ設定（スマホ表示） --- */

@media (max-width: 650px) {
  /* フォーム全体のパディングを少し削る */

  #jibun-form-embedded {
    padding: 20px 15px;
  }

  .form-group {
    flex-direction: column;
    margin-bottom: 25px;
  }

  .form-label {
    width: 100%;
    margin-bottom: 8px;
  }

  .form-input {
    min-width: 100%;
  }

  .form-input input[type="number"] {
    width: 100%;
  }

  /* スマホの時は送信ボタンを横幅いっぱいに広げる */

#jibun-form-embedded-submit-button {
    width:70%;
    /* 画面幅に合わせる */
    min-width: 0;
    /* 最小幅を解除 */
    padding: 15px 10px;
    /* 上下を少しスリムに */
    font-size: 1.1rem;
    /* 文字サイズを微調整 */
    text-align: center;
  }
}

.grecaptcha-badge { visibility: hidden; }