.entry_main {
  background: #f7f7f7;
}

.entry_section {
  padding: 180px 0 200px;
}

.entry_title {
  width: min(calc(100% - clamp(90px, 10vw, 160px)), 1200px);
  max-width: 1200px;
  margin: 0 auto 72px;
  color: #333;
  font-size: 45px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

/* =========================
  CF7 wrapper
========================= */

.entry_section .wpcf7 {
  width: min(calc(100% - clamp(90px, 10vw, 160px)), 1000px);
  margin: 0 auto;
  padding: clamp(72px, 4.7vw, 90px) clamp(64px, 5.2vw, 100px) clamp(72px, 5.2vw, 90px);
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  box-sizing: border-box;
}

.entry_section .wpcf7-form {
  margin: 0;
}

/* CF7 autop停止後の保険 */
.entry_section .wpcf7 p {
  margin: 0;
}

.form_field br {
  display: none;
}

.form_field .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* CF7標準エラー文言を非表示 */
.entry_section .wpcf7-not-valid-tip {
  display: none !important;
}

.entry_section .wpcf7 form.invalid .wpcf7-response-output,
.entry_section .wpcf7 form.unaccepted .wpcf7-response-output,
.entry_section .wpcf7 form.failed .wpcf7-response-output {
  display: none;
}

/* =========================
  Input screen
========================= */

.form_area {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.form_title {
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
}

.form_subtitle {
  margin: -20px 0 50px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}




.form_break {
  display: none;
}

.form_field {
  margin-top: 22px;
}

.form_title + .form_field {
  margin-top: 0;
}

.form_label {
  display: block;
  margin: 0 0 6px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.form_required {
  color: var(--keiken-color-primary, #f39800);
}

.form_error {
  margin-left: 6px;
  color: var(--keiken-color-primary, #f39800);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.form_input,
.form_select,
.form_textarea {
  display: block;
  width: 100%;
  margin: 0;
  color: #333;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
}

.form_input,
.form_select {
  height: 45px;
  padding: 0 18px;
  line-height: 45px;
}

.form_select {
  padding-right: 56px;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='11' viewBox='0 0 18 11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L9 9L16 2' fill='none' stroke='%23b5b5b5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 26px center;
  background-size: 18px 11px;
}

.form_select.is_placeholder {
  color: #b5b5b5;
}

.form_select option {
  color: #333;
}

.form_textarea {
  min-height: 190px;
  padding: 14px 18px;
  line-height: 1.8;
  resize: vertical;
}

.form_input::placeholder,
.form_textarea::placeholder {
  color: #b5b5b5;
  opacity: 1;
}

.form_input:focus,
.form_select:focus,
.form_textarea:focus {
  border-color: #bdbdbd;
}

.form_input.is_error,
.form_select.is_error,
.form_textarea.is_error,
.form_input.wpcf7-not-valid,
.form_select.wpcf7-not-valid,
.form_textarea.wpcf7-not-valid {
  border-color: var(--keiken-color-primary, #f39800);
}

/* =========================
  Privacy text
========================= */

.form_privacy {
  margin-top: 58px;
  color: #333;
}

.form_privacy_text {
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.1em;
}

.form_privacy_list {
  margin: 30px 0 28px;
  padding-left: 1.45em;
  color: #333;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.057em;
  list-style: disc outside;
}

.form_privacy_list li {
  display: list-item;
  margin-top: 5px;
  list-style: disc outside;
}

.form_privacy_list li::marker {
  color: #333;
  font-size: 0.8em;
}

.form_agree {
  margin-top: 28px;
  text-align: center;
}

.form_agree .wpcf7-list-item {
  margin: 0;
}

.form_agree label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.form_agree input[type="checkbox"] {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form_agree input[type="checkbox"]:checked {
  background: var(--keiken-color-primary, #f39800);
  border-color: var(--keiken-color-primary, #f39800);
}

.form_agree input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.form_agree input[type="checkbox"].is_error {
  border-color: var(--keiken-color-primary, #f39800);
}

.form_agree .wpcf7-list-item-label {
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}

/* =========================
  Buttons
========================= */

.form_button_area {
  margin-top: 34px;
  text-align: center;
}

.form_button,
.confirm_submit,
.confirm_back {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  height: 65px;
  padding: 0 54px;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  border: 0;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.form_button,
.confirm_submit {
  background: var(--keiken-color-primary, #f39800);
}

.confirm_back {
  margin-top: 0;
  background: #3b3736;
}

/* 確認画面ボタンは縦積み中央配置 */
.confirm_button_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
  text-align: center;
}

.confirm_submit_wrap {
  position: relative;
  display: block;
  width: min(100%, 360px);
  height: 45px;
  color: #fff;
}

.confirm_submit_wrap .confirm_submit {
margin-bottom: 36px;
}

.confirm_submit_wrap .wpcf7-spinner {
  display: none;
}

/* 右アイコン：確認ボタン / 送信ボタン */
.form_button_icon,
.confirm_button_icon {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  color: #fff;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  box-sizing: border-box;
}

.form_button_icon::before,
.confirm_button_icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 10px;
  height: 1px;
  background: currentColor;
}

.form_button_icon::after,
.confirm_button_icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* 左アイコン：戻るボタン */
.confirm_back_icon {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  color: #fff;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  box-sizing: border-box;
}

.confirm_back_icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 10px;
  height: 1px;
  background: currentColor;
}

.confirm_back_icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

/* =========================
  Policy mark
========================= */

.form_policy {
  display: flex;
  align-items: center;
  width: min(100%, 710px);
  margin: 58px auto 0;
  padding: 28px clamp(32px, 3.3vw, 48px);
  background: #f7f7f7;
  border-radius: 8px;
  box-sizing: border-box;
}

.form_policy_image {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
}

.form_policy_image img {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.form_policy_body {
  flex: 1;
  margin-left: clamp(24px, 2.5vw, 36px);
}

.form_policy_link {
  display: inline-block;
  color: #0087d5;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.057em;
  text-decoration: underline;
}

.form_policy_text {
  margin: 7px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.057em;
}

/* =========================
  Confirm screen
========================= */

.confirm_area {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.confirm_title {
  margin: 0 0 48px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
}

.confirm_note {
  font-size: 16px;
}

.confirm_body {
  width: 100%;
}

.confirm_list {
  margin: 0;
}

.confirm_label {
  margin-top: 24px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.confirm_label:first-child {
  margin-top: 0;
}

.confirm_required {
  color: var(--keiken-color-primary, #f39800);
}

.confirm_value {
  margin: 8px 0 0 22px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
  white-space: pre-wrap;
}

/* =========================
  SP / Tablet
  BP: 900px
========================= */

@media screen and (max-width: 900px) {
  .entry_section {
    padding: 100px 0 200px;
  }

  .entry_title {
    width: min(calc(100% - 50px), 760px);
    max-width: 760px;
    margin: 0 auto 40px;
    font-size: 32px;
    letter-spacing: 0.090625em;
  }

  .entry_section .wpcf7 {
    width: min(calc(100% - 50px), 760px);
    padding: clamp(40px, 6vw, 64px) clamp(20px, 6vw, 56px) clamp(60px, 8vw, 80px);
    border-radius: 14px;
  }

  .form_area {
    max-width: none;
  }

  .form_title {
    /* margin-bottom: 36px; */
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.1em;
  }

  .form_break {
    display: none;
  }

  .form_field {
    margin-top: 20px;
  }

  .form_title + .form_field {
    margin-top: 0;
  }

  .form_label {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .form_error {
    margin-left: 4px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .form_input,
  .form_select {
    height: 44px;
    padding: 0 48px 0 14px;
    font-size: 14px;
    line-height: 44px;
  }

  .form_select {
    background-position: right 22px center;
    background-size: 18px 11px;
  }

  .form_textarea {
    min-height: 150px;
    padding: 13px 14px;
    font-size: 14px;
  }

  .form_privacy {
    margin-top: 60px;
  }

  .form_privacy_text {
    font-size: 14px;
    line-height: 1.95;
    letter-spacing: 0.1em;
  }

  .form_privacy_list {
    margin: 30px 0 24px;
    padding-left: 1.45em;
    font-size: 14px;
    line-height: 1.95;
    letter-spacing: 0.057em;
    list-style: disc outside;
  }

  .form_privacy_list li {
    display: list-item;
    margin-top: 4px;
    list-style: disc outside;
  }

  .form_agree {
    margin-top: 26px;
  }

  .form_button_area {
    margin-top: 28px;
  }

  .form_button,
  .confirm_submit,
  .confirm_back {
    width: min(100%, 300px);
    height: 60px;
    padding: 0 54px;
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .confirm_button_area {
    gap: 20px;
    margin-top: 52px;
  }

  .confirm_submit_wrap {
    width: min(100%, 300px);
    height: 60px;
  }

  .confirm_submit_wrap .confirm_submit {
    width: 100%;
    height: 60px;
  }

  .form_button_icon,
  .confirm_button_icon {
    right: 20px;
    width: 22px;
    height: 22px;
  }

  .confirm_back_icon {
    left: 20px;
    width: 22px;
    height: 22px;
  }

  .form_policy {
    display: block;
    width: 100%;
    margin-top: 38px;
    padding: 32px 20px;
    text-align: left;
  }

  .form_policy_image {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
  }

  .form_policy_body {
    margin-left: 0;
  }

  .form_policy_link {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.057em;
  }

  .form_policy_text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.057em;
  }

  .confirm_area {
    max-width: none;
  }

  .confirm_title {
    margin-bottom: 40px;
    font-size: 18px;
  }

  .confirm_note {
    font-size: 16px;
  }

  .confirm_label {
    margin-top: 28px;
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .confirm_value {
    margin: 8px 0 0;
    font-size: 14px;
    letter-spacing: 0.1em;
  }
}

/* タイトルを期待値のように2行にする */
@media screen and (max-width: 576px) {
  .form_break {
    display: block;
  }

  .entry_section .wpcf7 {
    width: calc(100% - 50px);
    padding-right: 20px;
    padding-left: 20px;
  }

  .form_button,
  .confirm_submit,
  .confirm_back {
    width: min(100%, 300px);
  }

  .confirm_submit_wrap {
    width: min(100%, 300px);
  }
}



/* =========================
  confirm button fix
========================= */

/* 確認画面ボタン配置：縦積み中央固定 */
.confirm_button_area {
  display: block;
  margin-top: 64px;
  text-align: center;
}

.confirm_submit_wrap {
  position: relative;
  display: block;
  width: min(100%, 360px);
  height: 65px;
  margin: 0 auto 20px;
  color: #fff;
}

.confirm_submit_wrap .confirm_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.confirm_back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  height: 65px;
  margin: 0 auto;
}

/* CF7 spinnerで横ズレ・高さズレしないように消す */
.confirm_submit_wrap .wpcf7-spinner {
  display: none !important;
}

/* ボタン共通サイズ */
.form_button,
.confirm_submit,
.confirm_back {
  padding: 0 54px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form_button:hover,
.confirm_submit:hover,
.confirm_back:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}




/* 右アイコン：確認ボタン / 送信ボタン */
.form_button_icon,
.confirm_button_icon {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  color: #fff;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  box-sizing: border-box;
}

/* 右矢印：横線 */
.form_button_icon::before,
.confirm_button_icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: currentColor;
  border: 0;
  transform: translateY(-50%);
}

/* 右矢印：矢印先端 */
.form_button_icon::after,
.confirm_button_icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: transparent;
  border: 0;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* 左アイコン：戻るボタン */
.confirm_back_icon {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  color: #fff;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  box-sizing: border-box;
}

/* 左矢印：横線 */
.confirm_back_icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: currentColor;
  border: 0;
  transform: translateY(-50%);
}

/* 左矢印：矢印先端 */
.confirm_back_icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: transparent;
  border: 0;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* SP */
@media screen and (max-width: 900px) {
  .confirm_button_area {
    margin-top: 52px;
  }

  .confirm_submit_wrap {
    width: min(100%, 300px);
    height: 60px;
    margin-bottom: 20px;
  }

  .confirm_submit_wrap .confirm_submit {
    height: 60px;
  }

  .confirm_back {
    width: min(100%, 300px);
    height: 60px;
  }

  .form_button,
  .confirm_submit,
  .confirm_back {
    height: 60px;
    padding: 0 54px;
    font-size: 18px;
  }

  .form_button_icon,
  .confirm_button_icon {
    right: 20px;
    width: 22px;
    height: 22px;
  }

  .confirm_back_icon {
    left: 20px;
    width: 22px;
    height: 22px;
  }
}

/* ===========================================
   Breadcrumb
   =========================================== */
.entry_breadcrumb_wrap {
  width: min(calc(100% - clamp(90px, 10vw, 160px)), 1200px);
  max-width: 1200px;
  margin: 0 auto 80px;
}
.entry_breadcrumb_wrap .common_breadcrumb {
  width: 100%;
  margin: 0;
  padding-top: 0;
  font-size: 14px;
  color: #333;
}
.entry_breadcrumb_wrap .common_breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.entry_breadcrumb_wrap .common_breadcrumb a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 900px) {
  .entry_breadcrumb_wrap {
    display: none;
  }
}

/* 確認画面では見出し・パンくずを非表示 */
body.is_confirm .entry_title,
body.is_confirm .entry_breadcrumb_wrap {
  display: none;
}



/* ==========================================
  Buttons 最終統一（期待値準拠）
  可変：色・文言のみ
========================================== */

/* --- ボタン共通 --- */
.form_button,
.confirm_submit,
.confirm_back {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 65px;
  padding: 0;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  border: 0;
  border-radius: 8px;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* 色（可変） */
.form_button,
.confirm_submit {
  background: var(--keiken-color-primary, #f39800);
}

.confirm_back {
  background: #3b3736;
}

/* --- 送信ボタン（wrap構造）--- */
.confirm_submit_wrap {
  position: relative;
  display: block;
  width: 360px;
  height: 65px;
  margin: 0 auto 20px;
  border-radius: 8px;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.confirm_submit_wrap .confirm_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  transition: none;
}

/* 戻るボタン */
.confirm_back {
  display: flex;
  margin: 0 auto;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* --- hover --- */
.form_button:hover,
.confirm_back:hover,
.confirm_submit_wrap:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

/* 送信ボタン本体のhoverは打ち消し（wrapに任せる） */
.confirm_submit_wrap .confirm_submit:hover {
  box-shadow: none;
  transform: none;
}

/* ==========================================
  アイコン円（SVG）期待値：28px / border1.5px / 22px
========================================== */

.form_button_icon,
.confirm_button_icon,
.confirm_back_icon {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  pointer-events: none;
}

.form_button_icon,
.confirm_button_icon {
  right: 22px;
}

.confirm_back_icon {
  left: 22px;
}

/* 古い疑似要素の矢印を全消し */
.form_button_icon::before,
.form_button_icon::after,
.confirm_button_icon::before,
.confirm_button_icon::after,
.confirm_back_icon::before,
.confirm_back_icon::after {
  content: none;
}

/* spinner非表示 */
.confirm_submit_wrap .wpcf7-spinner {
  display: none !important;
}

/* ==========================================
  SP（期待値：330px）
========================================== */

@media screen and (max-width: 900px) {
  .form_button,
  .confirm_submit,
  .confirm_back,
  .confirm_submit_wrap {
    width: 300px;
    height: 60px;
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .form_button_icon,
  .confirm_button_icon {
    right: 22px;
    width: 28px;
    height: 28px;
  }

  .confirm_back_icon {
    left: 22px;
    width: 28px;
    height: 28px;
  }
}