@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_textspace_top{
  padding-top: 1.9rem;
} 

.form_label{
  display: flex;
  align-items: center;
  margin-bottom: 0.9rem;
  gap: 0.6rem;
}

.form_label_flex{
  display: flex;
  gap:0.8rem;
}

.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 ;
  padding-left:1rem !important;
  padding-right:1rem !important;
  
}

.form_input_age{
  width: 12.6rem;
}

.form_textarea {
  height:23rem;
  resize: none;
}
.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; /* 枠線 */
  border-radius: 50%; /* 丸くする */
}

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;
}

.pc_none{
  display: none;
}

/* --- レスポンシブ対応 (スマートフォンなど) --- */
@media screen and (max-width:699.98px){
  .pc_none{
    display: block;
  }

  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{
    letter-spacing: 0.02em !important;
    font-size: 1.2rem;
    text-align: left;
  }

  .mainvisual{
    display: none;
  }

  .main_title{
    font-size: 2.2rem;
    font-weight: 400;
    left: 2rem;
    bottom: 1.9rem;
    width:13.4rem;
  }

  .form_container{
    max-width: 33.5rem;
    padding:2.9rem 0 9rem;
  }

  .form_intro_text{
    margin-bottom: 4rem;
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .sp_brm,.sp_mainvisual{
    display: block;
  }

  .sp_mainvisual{
      height: 24.6rem;
  }

  .form_icon_layout {
    user-select: none;
    position: absolute;
    z-index: -1;
    top: -8.9rem;
    left: -2.6rem;
    width: 20rem;
    height: 18.2rem;
    object-fit: cover;
  }

  .sp_br, .sp_mainvisual{
    display: block;
  }

  .form_input, .form_input_age, .form_textarea{
    width: 100%;
    padding: 0.1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.6rem;
    box-sizing: border-box;
    background-color: #FFFFFF;
  }

  .form_textarea{
    height: 20.1rem;
  }

  .form_item{
    margin-bottom: 2rem;
  }

  .form_label_span_cl{
    padding: 0.2rem 0.7rem;
    font-size: 1.2rem;
  }

  .form_textspace_top{
    padding-top: 0.8rem;
    
  }

  .wpcf7-list-item{
    margin: 0 3.2rem 0 0 !important;

  }

  .privacy_agree p, .wpcf7-list-item-label{
    letter-spacing: 0.1em;
  }

  .form_item_gender {
    margin-bottom: 1.2rem;
  }

  .form_input_age{
    width: 9.5rem;
  
  }

}
