@charset "UTF-8";

/* --- 基本設定 --- */
main{
  font-family: Zen Old Mincho, sans-serif;
  color: #333;
  font-size: 1.4rem; /* 基本のフォントサイズを16pxに */
  line-height: 1.7;
  position: relative;
}

/* --- 1. メインビジュアル --- */
.mainvisual_relative_layout {
  position: relative;
  width: 100%;
}

.mainvisual {
  width: 100%;
  height: 45rem;
  object-fit: cover; /* 画像が設定された場合は比率を保って表示 */
}

.main_title {
  position: absolute;
  left: 8.8rem;
  bottom:6.9rem;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #fff;
  width:18.3rem;
}

.form_layout{
  position: relative;
  padding-bottom:5.8rem;
}

.back_color_layout{
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FAF9F6;
  z-index: -2;
}

.form_icon_layout{
  user-select: none; 
    position: absolute;
    z-index: -1;
    top: -17rem;
    left: -6rem;
    width: 42.7rem;
    height:38.4rem ;
    object-fit: cover;
}

.contact_content {
    border-radius: 1rem;
    width: 102rem;
    margin: 10rem auto 0;
    padding: 5rem 0;
}

.contact_text {
    text-align: center;
    font-size: 2.5rem;
}

.contact_text span{
  display: block;
}

.contact_text_span{
  padding-top: 2rem;
}
/* --- 送信ボタン --- */
.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: 30rem;
    font-size: 1.6rem;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
}

.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;
}

@media screen and (max-width:699.98px){
    .form_container{
      max-width:35.5rem ;
    }

    .contact_content {
        margin: 0 auto ;
        width: 35.5rem;
        overflow: hidden;
    }

    .contact_text {
        width: 33.5rem;
        font-weight: 500;
        margin-top: 0rem;
        font-size: 1.5rem;
    }

      main{
    font-size: 1.4rem;
  }

  .form_label{
    font-size: 1.4rem;
  }

  .form_container{
    max-width:35.5rem ;
  }

  .mainvisual{
    height: 24.6rem;
  }

  .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_br{
    display: block;
  }
  /* 追加 */

  .submit_button_wrapper {
  width: 15rem;

  }

  .submit_button_wrapper:hover{
      width: 17rem;
  }
}
