@charset "UTF-8";

.c-mv_bg {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 375 / 280;
  background-image: url(../images/common/sp_contact_mv.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 58px;
  z-index: 1;
}

.c-mv_bg::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background:
  linear-gradient(
    180deg,
    rgba(85, 101, 26, 0.1) 0%,
    rgba(85, 101, 26, 0.0) 50%,
    rgba(0, 0, 0, 0.0) 50%,
    rgba(0, 0, 0, 0.4) 75%,
    rgba(0, 0, 0, 0.8) 90%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: 2;
}

.c-mv_bg h1,
.c-mv_bg .c-mv-content__title {
  position: absolute;
  z-index: 3;
}

.section-contact .c-h1 {
  top: 180px;
}

.section-contact {
  margin-top: -60px;
}

.contact__content-wrapper {
  width: 83%;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid #2d2d2d;
}

.c-mv__txtBlock {
  display: block;
  margin: 0 auto;
  width: 204px;
  padding-top: 150px;
}

.section-history {
  margin-top: -60px;
}

.c-ttl--contact {
  margin-bottom: 30px;
  color: #55651a;
  font-family: 'Hina Mincho','Hiragino Mincho ProN','游明朝','Yu Mincho','MS PMincho',serif;
  font-size: 24px;
  letter-spacing: 2px;
   font-weight: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

.c-ttl c-ttl--contact {
  margin-bottom: 25px;
}

.contact__txt {
  margin-bottom: 10px;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.6;
  font-family: 'Hina Mincho','Hiragino Mincho ProN','游明朝','Yu Mincho','MS PMincho',serif;
   font-weight: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

.contact__guideLink a {
  position: relative;
  padding-bottom: 4px;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1;
  font-family: 'Hina Mincho','Hiragino Mincho ProN','游明朝','Yu Mincho','MS PMincho',serif;
   font-weight: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
  transition: .3s ease-in-out;
}

.contact__guideLink a:hover {
  border-bottom: 1px solid #55651a;
/*   transition: .3s ease-in-out; */
}

.contact__guideLink a::before {
  position: absolute;
  content: "";
  width: 16px;
  height: 10px;
  top: 6px;
  right: -30px;
  background-image: url(../images/common/icn_arrow.svg);
  background-size: 100% 100%;
}

.form-title p {
  margin-bottom: 2px;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.05em;
  font-family: "Sawarabi Gothic", "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", YuGothic, "游ゴシック", "ＭＳ ゴシック", "MS Gothic", sans-serif;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-title span {
  padding-left: 4px;
  color: #cf2e2e !important;
}

.contact-form {
  padding: 50px 0 0;
}

.wpcf7-text {
  width: 100%;
  padding: 8px 2px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #333333;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1;
  opacity: 1;
  font-family: "Sawarabi Gothic", "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", YuGothic, "游ゴシック", "ＭＳ ゴシック", "MS Gothic", sans-serif;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wpcf7-form > div {
  margin-bottom: 30px;
}

.wpcf7-textarea {
  width: 100%;
  height: 140px;
  padding: 5px;
  margin-top: 10px;
  background: transparent;
  border: 1px solid #333333;
  color: #fff;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.form-box .wpcf7-form-control-wrap[data-name="contents"] {
  display: block;
  width: 100%;
  margin: 0;
}

.form-box .wpcf7-form-control-wrap[data-name="contents"] .wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form-box .wpcf7-form-control-wrap[data-name="contents"] .wpcf7-list-item {
  width: 188px;
  margin-bottom: 15px;
  margin-top: 0;
  margin-left: 0;
  line-height: 1;
}

.wpcf7-list-item-label {
  padding-left: 4px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
  font-family: "Sawarabi Gothic", "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", YuGothic, "游ゴシック", "ＭＳ ゴシック", "MS Gothic", sans-serif;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.contact-btn .wpcf7-submit {
  display: block;
  width: 100%;
  height: 54px;
  background: transparent;
  text-indent: 20px;
  text-align: left;
  line-height: 54px;
  font-size: 15px;
  border-radius: 18px;
  color: #fff;
  border: 1px solid #fff;
  font-family: 'Hina Mincho','Hiragino Mincho ProN','游明朝','Yu Mincho','MS PMincho',serif;
  letter-spacing: 0.15em;
  transition: 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
   font-weight: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

.contact-btn {
  position: relative;
  width: 270px;
}

.contact-btn::after {
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  top: 33%;
  transform: translateY(-50%);
  right: 18px;
  background-image: url(../images/common/icn_arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: 0.3s ease;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0;
  height: 54px;
  background-color: #55651a;
  transition: width 0.3s
cubic-bezier(0.21, 0.51, 0.51, 1);
border-radius: 18px;
}

.contact-btn:hover::before {
  width: 100%;
  height: 54px;
  border-radius: 18px;
}

.contact-btn .wpcf7-submit {
  z-index: 2;
  position: relative;
  transition: color 0.3s cubic-bezier(0.21, 0.51, 0.51, 1)
}

.contact-btn:hover .wpcf7-submit {
  color: #fff;
}

.contact-btn::after {
  z-index: 2;
}

.contact-btn:hover::after {
  background-image: url(../images/common/icn_arrow_wh.svg);
}

.contact-btn__wrapper {
  margin-bottom: 0 !important;
}

.contact__txt--mb50 {
  margin-bottom: 20px;
}

.contact__txtBlock {
  margin-top: 15px;
}

.contact__txt--last {
  margin-bottom: 0;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7-not-valid-tip {
  border: none;
  font-family: 'Hina Mincho','Hiragino Mincho ProN','游明朝','Yu Mincho','MS PMincho',serif;
  color: red;
  letter-spacing: 0.15em;
  font-size: 14px;
   font-weight: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

.form-box input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  opacity: 0;
}
/* ---------------------------------------------------- */
/* 既存: inputの非表示、labelの設定は変更なし */
/* ---------------------------------------------------- */
.form-box input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  opacity: 0;
}

.form-box .wpcf7-list-item label {
  position: relative;
  padding-left: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  color: #fff;
}

.form-box .wpcf7-list-item label::before {
  position: absolute;
  content: '';
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #fff;
  background-color: transparent;
  z-index: 1;
  transition: all 0.2s ease;
}

.form-box .wpcf7-list-item label::after {
  position: absolute;
  content: '';
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  z-index: 2;
  opacity: 0;
  transform: translateY(-50%) scale(0.5);
  transition: all 0.2s ease;
}

.form-box input[type="radio"]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.form-box .wpcf7-list-item label:has(input[type="radio"]:checked)::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}


/* 確認画面 完了画面 */
.contact__confirm,
.contact__complete {
  padding-top: 100px;
  border-bottom: 1px solid #2d2d2d;
}

.contact__complete {
  padding-bottom: 80px;
}

.page-head-text {
  margin-bottom: 10px;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.6;
  font-family: 'Hina Mincho', 'Hiragino Mincho ProN', '游明朝', 'Yu Mincho', 'MS PMincho', serif;
   font-weight: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

.page-complete-text {
  margin-bottom: 40px;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.6;
  font-family: 'Hina Mincho', 'Hiragino Mincho ProN', '游明朝', 'Yu Mincho', 'MS PMincho', serif;
   font-weight: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}


.form-area {
  padding: 50px 0 0 0;
}

.form-area .form-box p {
  padding: 8px 2px;
  border: none;
  color: #757575;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1;
  font-family: "Sawarabi Gothic", "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", YuGothic, "游ゴシック", "ＭＳ ゴシック", "MS Gothic", sans-serif;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-area .contact-btn::after {
  top: 34%;
}

.submit-form {
  position: relative;
  display: block;
  width: 270px;
  height: 54px;
  margin: 0 auto 20px;
  background: transparent;
  padding-right: 20px;
  text-align: right;
  line-height: 54px;
  font-size: 15px;
  border-radius: 18px;
  color: #fff;
  border: 1px solid #fff;
  font-family: 'Hina Mincho', 'Hiragino Mincho ProN', '游明朝', 'Yu Mincho', 'MS PMincho', serif;
  letter-spacing: 0.15em;
  transition: 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
   font-weight: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

.submit-form::after {
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  top: 50%;
  transform: translateY(-50%);
  left: 18px;
  background-image: url(../images/common/icn_arrow.svg);
  transform: translateY(-50%) rotate(180deg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: 0.3s ease;
}

.submit-form--top {
  text-align: center;
  padding-right: 0;
}

.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
  border: none;
  font-family: 'Hina Mincho', 'Hiragino Mincho ProN', '游明朝', 'Yu Mincho', 'MS PMincho', serif;
  text-align: center;
   font-weight: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

.form-area .contact-btn {
  margin: 0 auto;
}


@media only screen and (min-width: 768px) {
  .c-mv_bg {
    aspect-ratio: 980 / 357;
    background-size: cover;
    background-position: center 58px;
    background-image: url(../images/common/contact_mv.jpg);
  }

  .c-mv__txtBlock {
    padding-top: 150px;
  }

  .contact__content-wrapper {
    width: 90%;
    padding-left: 138px;
    padding-bottom: 110px;
  }

  .c-ttl--contact {
    padding-left: 30px;
    margin-bottom: 35px;
    font-size: 24px;
    letter-spacing: 3px;
  }

  .c-ttl--contact::before {
    width: 38px;
    top: 0px;
    left: 0px;
  }

  .section-contact .c-h1 {
    top: 200px;
    line-height: 1;
  }

  .wpcf7-form-control-wrap {
    width: 480px;
  }

  .form-box .wpcf7-form-control-wrap[data-name="contents"] {
    width: 420px;
  }

  .wpcf7-textarea {
    width: 474px;
    height: 190px;
    padding-top: 8px;
    margin-top: 9px;
  }

  .form-title p {
    margin-bottom: 16px;
    font-size: 16px;
  }
  
  .form-contents .form-title p {
  margin-bottom: 25px;
  }

  .wpcf7-text {
    padding: 9px 2px;
    font-size: 15px;
  }

  .wpcf7-form > div {
    margin-bottom: 50px;
  }

  .contact-form {
    padding: 90px 0 0;
  }

  .contact__txt {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1;
  }

  .contact__guideLink a {
    font-size: 15px;
  }

  .contact__txt--mb50 {
    margin-bottom: 50px;
  }

  .contact__txtBlock {
    margin-top: 30px;
  }

  .wpcf7-list-item-label {
    padding-left: 6px;
    font-size: 16px;
  }

  .form-box .wpcf7-list-item label::before {
    width: 16px;
    height: 16px;
  }

  .form-box .wpcf7-list-item label::after {
    width: 10px;
    height: 10px;
  }

  .form-box .wpcf7-list-item label {
    padding-left: 22px;
  }

  .form-textarea {
    margin-bottom: 44px !important;
  }

  .contact__confirm {
    width: 90%;
    padding-top: 200px;
    padding-left: 138px;
  }

  .page-head-text {
    font-size: 15px;
  }

  .page-complete-text {
    font-size: 15px;
  }

  .form-area .form-box p {
    font-size: 15px;
  }

  .form-area .form-title p {
    margin-bottom: 5px;
  }
  
  .form-area .contact-btn {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
  }
  .form-area .contact-btn > * {
    width: 270px;
  }

  .form-area .contact-btn input[type="submit"] {
    width: 100%;
  }

  .submit-form {
    width: 270px;
    margin: 0;
  }

  .submit-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 54px;
    background-color: #55651a;
    transition: width 0.3s cubic-bezier(0.21, 0.51, 0.51, 1);
    border-radius: 18px;
  }

  .submit-form:hover::before {
    width: 100%;
    height: 54px;
    border-radius: 18px;
  }

  .submit-form:hover::after {
    background-image: url(../images/common/icn_arrow_wh.svg);
  }

  .contact-flex {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-top: 50px;
  }

  .contact__complete {
    width: 90%;
    padding-left: 138px;
    padding-top: 200px;
  }

  .submit-form--top {
    margin: 0 auto;
  }


}


