/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/


body .container,
body .container-fluid,
body .container-lg,
body .container-md,
body .container-sm,
body .container-xl {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

@media (max-width: 767px) {
    body {
        padding: 0!important;
    }
}


/*******************************
お問い合わせフォーム用のCSS ここから
*******************************/
  .m_contact_form__field .wpcf7-radio {                                                                                                                                                       
    display: flex;                                                                                                                                                                            
    gap: 32px;
    flex-wrap: wrap;                                                                                                                                                                          
  }                                                         
  .m_contact_form__field .wpcf7-list-item {
    margin: 0;
  }
  .m_contact_form__field .wpcf7-list-item label {
    display: flex;                                                                                                                                                                            
    align-items: center;
    gap: 8px;                                                                                                                                                                                 
    font-size: 15px;                                        
    font-weight: 700;
    color: #3c2202;
    cursor: pointer;
  }                                                                                                                                                                                           
  .m_contact_form__field .wpcf7-list-item input[type="radio"] {
    width: 18px;                                                                                                                                                                              
    height: 18px;                                           
    accent-color: #9B2335;
    cursor: pointer;
    flex-shrink: 0;
  }    




.m_contact {
  padding: 80px 0;
}
.m_contact__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.m_contact_form {
  background-color:var(--brand-bg);
  border-radius: 4px;
  overflow: hidden;
}
.m_contact_form__row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #e8e4dc;
}
.m_contact_form__row:last-of-type {
  border-bottom: none;
}
.m_contact_form__label {
  width: 220px;
  flex-shrink: 0;
  background-color: var(--brand-bg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #e8e4dc;
}
.m_contact_form__label label {
  font-weight: 700;
  font-size: 15px;
  color: #3c2202;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.m_contact_form__required {
  display: inline-block;
  background-color: #9B2335;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.m_contact_form__optional {
  display: inline-block;
  background-color: #aaa;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.m_contact_form__field {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  align-items: center;
}
.m_contact_form__row--textarea {
  align-items: stretch;
}
.m_contact_form__row--textarea .m_contact_form__label {
  align-items: flex-start;
  padding-top: 20px;
}
.m_contact_form__row--textarea .m_contact_form__field {
  align-items: stretch;
  padding: 16px 20px;
}
.m_contact_form__field input[type="text"],
.m_contact_form__field input[type="tel"],
.m_contact_form__field input[type="email"],
.wpcf7-form .m_contact_form__field span input {
  width: 100%;
  height: 46px;
  border: 1px solid #d0c9bc;
  border-radius: 3px;
  padding: 0 14px;
  font-size: 15px;
  color: #3c2202;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.m_contact_form__field input[type="text"]:focus,
.m_contact_form__field input[type="tel"]:focus,
.m_contact_form__field input[type="email"]:focus {
  border-color: #1E3A5F;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}
.m_contact_form__field input::placeholder,
.m_contact_form__field textarea::placeholder {
  color: #b0a898;
  font-size: 14px;
}
.m_contact_form__field textarea,
.wpcf7-form .m_contact_form__field span textarea {
  width: 100%;
  min-height: 160px;
  border: 1px solid #d0c9bc;
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 15px;
  color: #3c2202;
  background-color: #fff;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  line-height: 1.7;
}
.m_contact_form__field textarea:focus {
  border-color: #1E3A5F;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}
.m_contact_form__submit {
  padding: 32px 20px;
  display: flex;
  justify-content: center;
  background-color: var(--brand-bg);
  border-top: 1px solid #e8e4dc;
}
.m_contact_form__btn,
.wpcf7-form .m_contact_form__submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 56px;
  background-color: #1E3A5F;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background-color 0.2s;
}
.m_contact_form__btn:hover,
.wpcf7-form .m_contact_form__submit input[type="submit"]:hover {
  background-color: #162d4a;
}
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #9B2335;
  font-weight: 700;
}

.wp-block-group p:last-child{
  width:100%!important;
  text-align:center;
}


.wpcf7-not-valid input,
.wpcf7-not-valid textarea {
  border-color: #9B2335;
  box-shadow: 0 0 0 3px rgba(155, 35, 53, 0.12);
}
.wpcf7-response-output {
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  border: none;
}
.wpcf7-mail-sent-ok {
  background-color: #e8f0e8;
  color: #2a6e2a;
}
.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background-color: #fce8e8;
  color: #9B2335;
}
@media (max-width: 767px) {
  .m_contact {
    padding: 48px 0;
  }
  .m_contact__inner {
    padding: 0 16px;
  }
  .m_contact_form__row {
    flex-direction: column;
  }
  .m_contact_form__label {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e8e4dc;
    padding: 14px 16px;
  }
  .m_contact_form__field {
    padding: 14px 16px;
  }
  .m_contact_form__row--textarea .m_contact_form__label {
    padding-top: 14px;
  }
  .m_contact_form__row--textarea .m_contact_form__field {
    padding: 14px 16px;
  }
  .m_contact_form__btn,
  .wpcf7-form .m_contact_form__submit input[type="submit"] {
    width: 100%;
  }
}
/*******************************
お問い合わせフォーム用のCSS ここまで
*******************************/

/***************************************
上記に加えて、事前相談フォーム　ここから
****************************************/
.m_contact_form__field .flatpickr-input {
  width: 100%;
  height: 46px;
  border: 1px solid #d0c9bc;
  border-radius: 3px;
  padding: 0 14px;
  font-size: 15px;
  color: #3c2202;
  background-color: #fff;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
}
.m_contact_form__field .flatpickr-input:focus {
  border-color: #1E3A5F;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}
.m_contact_form__field select {
  width: 100%;
  height: 46px;
  border: 1px solid #d0c9bc;
  border-radius: 3px;
  padding: 0 14px;
  font-size: 15px;
  color: #3c2202;
  background-color: #fff;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233c2202' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  box-sizing: border-box;
}
.m_contact_form__field select:focus {
  border-color: #1E3A5F;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}
.wpcf7-form .m_contact_form__field span select {
  width: 100%;
}

/***************************************
上記に加えて、事前相談フォーム　ここまで
****************************************/