/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　contact
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.contact-wrapper {
  width: 100%;
  margin: 0 auto;
  margin-top: 150px;
}

.section-inner {
  width: 70%;
  max-width: 960px;
  margin: 100px auto;
}

.contact_title {
  text-align: left;
  font-size: 52px;
  font-family: "EB Garamond", serif;
  color: #2C2C2C;
    letter-spacing: 5px;
  margin: 0 auto 40px 20%;
  padding: 0;
  font-weight: 300;
}

.contact_title_small {
  text-align: left;
  font-size: 20px;
  color: #2C2C2C;
    letter-spacing: 0.05rem;
  margin: 0 auto 40px 20%;
      padding-left: 0;
}

.col-2 {
  display: flex;
  justify-content: space-between;
}

.col-2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.col-2_items_title {
  width: 40%;
}

.col-2_items_title_img {
  width: 60%;
}

.content_message{
  margin-bottom: 50px;
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .col-2_items_title {
    width: 60%;
  }

  .col-2_items_title_img {
    width: 40%;
  }



}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {

  .contact-wrapper {
    margin-top: 100px;
}
  .section-inner {
    margin: 40px auto;
    width: 90%;
  }

  .col-2 {
    flex-direction: column;
  }

  .col-2_items_title {
      width: 100%;
  }

  .col-2_items_title_img {
    width: 80%;
    margin: 0 0 0 auto;
  }

  .contact_title {
    font-size: 42px;
    margin: 0 auto 16px 10%;
  }

  .contact_title_small {
    font-size: 16px;
    margin: 0 auto 40px 10%;
  }

}



/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　フォーム
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
small a {
  color: #000;
}

div#wpcf7-f43-p44-o1 {
  margin: 100px 0;
}

div#wpcf7-f43-p44-o1 p {
    margin-top: 30px;
}

span.CF7_req_mark {
  color: #9DC6D2;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required, textarea.wpcf7-form-control.wpcf7-textarea,input.wpcf7-form-control.wpcf7-text,.wpcf7-form .wpcf7-form-control-static {
  display: inline-block;
  width: 100%;
  margin: 5px 0 ;
  border-color: #f0f0f0;
  border-style: solid;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  height: 40px;
  border-width: thin;
  padding: 5px 12px;
  font-size: 16px;
}

.wpcf7-textarea {
  height: 200px!important;
}







/* 送信ボタン */

input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 16px;
  border: none;
  color: #3A4C5C;
  cursor: pointer;
  font-family: YuMincho,"Hiragino Mincho ProN",serif; Meiryo, メイリオ, sans-serif;
  background-color: #FAFAFA;
}
span.wpcf7-spinner {
  display: none;
}


.wpcf7-form .cta-button {
  all: unset; /* いったんリセット */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  color: #3A4C5C;
  cursor: pointer;
  font-family: YuMincho,"Hiragino Mincho ProN",serif; Meiryo, メイリオ, sans-serif;
  background-color: #FAFAFA;
  position: relative;
  font-size: 16px;

}

.wpcf7-form .cta-button span {
  position: relative;
  z-index: 2;
}


/* ボタン */
/* 全体リンクエリア */
.cta-line {
  display: inline-block;
  text-decoration: none;
  color: #3A4C5C;
  /* font-family: "Yu Gothic", YuGothic, sans-serif; */
  font-size: 16px;
  position: relative;
  cursor: pointer;
}

/* テキストとアイコンのセット */
.cta-content {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  position: relative;
  padding-bottom: 12px;
      margin-top: 30px;
}

/* 下線アニメーション（テキスト＋アイコン全体に適用） */
.cta-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: #BC4B2C;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.cta-line:hover::after {
  transform: scaleX(1);
}

/* 丸アイコン */
.circle-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #A25E4B;
  position: relative;
  transition: background-color 0.3s ease;
}

.circle-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 46%;
  width: 10px;
  height: 10px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color 0.3s ease;
}

/* ホバー時：丸の色を反転 */
.cta-line:hover {
  color: #BC4B2C;
}

.cta-line:hover .circle-arrow {
  background-color: #BC4B2C;
}

.cta-line:hover .circle-arrow::before {
  border-color: #A25E4B;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.cta-container {
  text-align: left;
  margin-top: 0;
}

center{
  text-align: left;
  line-height: 1.8;
}


/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .wpcf7-list-item-label {
    margin: 12px 0 20px 12px;
  }

  .wpcf7-list-item {
    margin: 0;
    display: block;
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {



input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required, textarea.wpcf7-form-control.wpcf7-textarea, input.wpcf7-form-control.wpcf7-text, .wpcf7-form .wpcf7-form-control-static {
    width: 90%
}

center{
      font-size: 12px;
}

}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　confirm
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.confirm_content {
  width: 70%;
  margin: 0 auto;
}

.confirm_h2 {
  font-size: 32px;
  padding: 50px 0;
  text-align: left;
}

.confirm_p {
  font-size: 16px;
  text-align: left;
}

.confirm-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.confirm-label {
  font-size: 16px;
  margin-bottom: 5px;
  color: #2C2C2C;
}

.confirm-value {
  display: inline-block;
  width: 100%;
  margin: 5px 0 ;
  border-color: #f0f0f0;
  /* border-style: solid; */
  border-style: none;
  font-family: "Yu Gothic", "游ゴシック体", YuGothic,"Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  height: auto;
  border-width: thin;
  padding: 5px 12px;
  /* background-color: #fff; */
  font-size: 16px;
}

/* ボタンを横並びにする */
.cta-container-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 100px;
  margin-top: 30px; /* 上に余白が欲しければ */
}

/* 通常は右向き矢印 */
.circle-arrow {
  transform: rotate(0deg);
}

/* 戻るだけ左向きにする */
.left-arrow {
  transform: rotate(180deg);
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){


}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .confirm_h2 {
    font-size: 24px;
    padding: 24px 0;
  }
.confirm_p {
    font-size: 14px;
    text-align: left;
}
.cta-container-wrapper {
  justify-content: space-between;
    gap:30px;
}
.cta-content {
    gap: 15px;

}
}




/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　thanks
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
h2 {
    position: relative;
    text-align: center;
    font-size: 35px;
    letter-spacing: 4px;
    font-weight: normal;
    margin-top: 150px;
    padding: 50px;
}

.thanksp {
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
}

.thanks-p {
  text-align: center;
}

.cta-container-thanks {
  text-align: center;
  margin-top: 80px;
}



/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .section-inner {
    max-width: 80%;
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  h2 {
    margin-top: 60px;
    padding: 32px;
  }

  .thanks-p {
    font-size: 14px;
    text-align: left;
  }

}
