@charset "UTF-8";

.wpcf7-response-output {
  display: none;
}

main {
  font-family: Zen Old Mincho, sans-serif;
  color: #333;
  font-size: 1.6rem;
  /* 基本のフォントサイズを16pxに */
  line-height: 1.7;
  position: relative;
}

.back_color_ {
  position: relative;
}

input,
textarea,
select,
button {
  appearance: auto !important;
}

input::placeholder,
textarea::placeholder {
  color: transparent;
}

.main_title,
.privacy_agree p,
.wpcf7-list-item-label,
.form_label_span_cl {
  font-family: Zen Old Mincho, sans-serif;
}

.back_color_layout {
  background-color: #FAF9F6;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.wpcf7-list-item {
  margin: 0 4.9rem 0 0 !important;
}

/* --- 1. メインビジュアル --- */
.mainvisual_relative_layout {
  position: relative;
  width: 100%;
}

.mainvisual {
  width: 100%;
  height: 45rem;
  object-fit: cover;
}

.main_title {
  position: absolute;
  left: 8.7rem;
  bottom: 6.6rem;
  font-size: 2.9rem;
  font-family: Zen Old Mincho, sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
  width: 18.3rem;
}

.privacy_agree p,
.wpcf7-list-item-label {
  font-weight: 600;
}

/* --- 2. パンくずリスト --- */
.breadcrumb {
  width: 88rem;
  max-width: 90%;
  margin: 2rem auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.4rem;
}

.breadcrumb li::after {
  content: '>';
  margin: 0 0.8rem;
  color: #888;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb a {
  text-decoration: none;
  color: #007bff;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* --- 3. フォーム全体 --- */
.form_container {
  width: 88rem;
  margin: 0 auto;
  padding: 8.1rem 0 16.1rem;
}

.form_intro_text {
  text-align: center;
  margin-bottom: 8.8rem;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: #1A1A1A;
}

/* --- フォームメイン (左カラム) --- */
.form_main {
  width: 100%;
}

.form_item_first {
  margin-bottom: 4.2rem;
}

.form_item_gender {
  margin-bottom: 1.8rem;
}

.form_item_first {
  margin-bottom: 4.2rem;
}

.form_item {
  margin-bottom: 3rem;
}


.form_label,
.form_text {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  font-family: Zen Old Mincho, sans-serif;
}

.form_label {
  display: flex;
  align-items: center;
  margin-bottom: 0.9rem;
  gap: 0.6rem;
}

.form_label_flex {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.required {
  background-color: #d9534f;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  margin-left: 1rem;
  font-weight: normal;
}

.form_input,
.form_input_age,
.form_textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.6rem;
  box-sizing: border-box;
  /* paddingを含めて幅100%にする */
  background-color: #FFFFFF;
  word-break: break-all;
  white-space: pre-wrap;
}

.textarea_wrap {
  word-break: break-all;
  white-space: pre-wrap;
}

.form_input_age {
  width: 12.6rem;
}

.form_textarea {
  height: 23rem;
  resize: vertical;
  /* 縦方向のみリサイズ可能に */
  word-break: break-all;
  white-space: pre-wrap;
}

.radio_group {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.radio_group label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio_group input {
  margin-right: 0.5rem;
}

/* --- プライバシーポリシー --- */
.privacy_policy {
  margin-top: 2.2rem;
}

.privacy_policy h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.policy_text {
  border: 1px solid #ccc;
  padding: 2rem;
  height: 26rem;
  overflow-y: scroll;
  background-color: #f9f9f9;
  margin-bottom: 3rem;
  font-size: 1.4rem;
  line-height: 1.4;
}

.policy_text p {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1A1A1A;
}

.privacy_agree {
  text-align: center;
}

.privacy_agree p {
  font-size: 1.4rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 2.9rem;
}

.privacy_agree label {
  display: flex;
  gap: 1.5rem;
  cursor: pointer;
}

/* --- 送信ボタン --- */
.submit_button_wrapper {
  width: 20rem;
  margin: 4rem auto 0;
  transition: 0.5s;
}

.submit_button_wrapper:hover {
  width: 22rem;
}


.submit_button {
  position: relative;
  text-align: left;
  font-weight: 500;
  border-bottom: #000 0.1rem solid;
  color: #000;
  padding: 0.9rem 2rem 1.6rem 0;
  width: 100%;
  max-width: 40rem;
  font-size: 1.6rem;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit_after_before {
  width: 100%;
  position: relative;
}

.submit_after_before::after {
  content: "";
  position: absolute;
  top: 2.2rem;
  right: 0.3rem;
  bottom: 0;
  color: #1A1A1A;
  width: 1.4rem;
  height: 0;
  border-bottom: 0.1rem solid #1A1A1A;
}

.submit_after_before::before {
  content: "";
  position: absolute;
  top: 2rem;
  right: 0.3rem;
  bottom: 0;
  margin: 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: #1A1A1A solid 0.1rem;
  border-bottom: #1A1A1A solid 0.1rem;
  transform: rotate(-45deg);
}

.form_layout {
  position: relative;
}

.form_icon_layout {
  user-select: none;
  position: absolute;
  z-index: -1;
  top: -17rem;
  left: -26rem;
  width: 42.7rem;
  height: 38.4rem;
  object-fit: cover;
}

.privacy_agree label {
  gap: 1.7rem;
  align-items: center;
  justify-content: center;
  margin-right: -4.7rem;
}

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 2rem;
  height: 2rem;
  border: 0.1rem solid #ccc;
}

input[type="checkbox"] {
  appearance: none;
  /* デフォルトのスタイルをリセット */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 2rem;
  /* 希望の幅 */
  height: 2rem;
  /* 希望の高さ */
  border: 0.1rem solid #ccc;
  /* 枠線 */
}

.form_label_span_cl {
  padding: 0.2rem 1.3rem;
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
  background-color: #F80000;
  color: #FFFFFF;
}

.sp_br,
.sp_mainvisual {
  display: none;
}

.wpcf7-spinner {
  display: none;
}


/* --- レスポンシブ対応 (スマートフォンなど) --- */
@media screen and (max-width:699.98px) {

  main {
    font-size: 1.4rem;
  }

  .submit_button_wrapper {
    width: 17rem !important;
    margin: 4.4rem auto 0;
  }

  
  .submit_button_wrapper:hover{
    width: 19rem !important;
  }


  .form_label {
    font-size: 1.4rem;
  }

  .privacy_agree p {
    font-size: 1.2rem;
    text-align: left;
  }

  .form_container {
    max-width: 35.5rem;
  }

  .mainvisual {
    display: none;
  }

  .main_title {
    font-size: 2.2rem;
    font-weight: 400;
    left: 2rem;
    bottom: 1.9rem;
    width: 13.4rem;
  }

  .form_container {
    padding: 5rem 0 9rem;
  }

  .form_intro_text {
    margin-bottom: 5rem;
    font-size: 1.5rem;
  }

  .sp_brm,
  .sp_mainvisual {
    display: block;
  }

  .sp_mainvisual {
    height: 24.6rem;
  }

  .form_icon_layout {
    user-select: none;
    position: absolute;
    z-index: -1;
    top: -10.2rem;
    left: -2.6rem;
    width: 20rem;
    height: 18.2rem;
    object-fit: cover;
  }

}