h2.h3,h4,h5,h6,a,p,ul,li{
  font-family: "Noto Sans JP", serif;
}

dd{
  margin-left: 0;
  letter-spacing: 1px;
  font-weight: 500;
}

dt,.e-kiboubi h4{
  letter-spacing: 0.9px;
  font-weight: 500;
  line-height: 1.1;
}

.e-content dt,.e-office-choice dt,.e-kibou-content dt,.e-howto-first, .e-reno-site-first, .e-kikkake-first, .e-youbou-first, .e-attendance-first{
  margin: 0 0 1.5rem;
}

dt p{
  font-weight: 500;
}

.e-tab,.e-line.e-tab,.e-pc{
  display: none;
}

/*mail*/
.e-maril-title-p{
  margin: 2.8rem 0 3.8rem;
  font-size: 1.2rem;
  text-align: center;
  letter-spacing: 0.9px;
  line-height: 1.7;
  font-weight: 500;
}

/*form*/
.cf7-form-wrapper{
  padding: 6.9rem 3rem 7rem;
  background-color: #F7F6F2;
}

.e-form-container{
  padding: 3.4rem 2.4rem 6rem;
  font-size: 1.2rem; 
  background-color: #fff;
}

.e-form-title{
  margin: 0 0 6.8rem;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.8px;
  line-height: 1.6;

}

.e-form-title h3{
  margin: 0 0 3rem;
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.wpcf7-form-control-wrap,.wpcf7-list-item{
  margin: 0;
}

.e-block{
  margin: 2.8rem 0 2.2rem;
}

.wpcf7-list-item{
  display: block;
  width: 100%;
  white-space: nowrap;
}

.form-bikou{
  line-height: 1.3;
}

.hissu,.ninni{
  display: inline-block;
  width: 3.6rem;
  height: 1.6rem;
  white-space: nowrap;
  font-size: 0.9rem;
  letter-spacing: 1.8px;
  border: 1px solid;
  color: #C32234;
  padding: 0.1rem 0.7rem;
  margin-left: 0.8rem;
  vertical-align: 0.2rem;
  line-height: 1.4;
  font-weight: 500;
}

.ninni{
  color: #3E3E3E;
}

div[data-id="group-hissu"] ,div[data-id="group-ninni"] {
  display: inline-block;
  width: 100%;
}

.office-info div{
  padding: 0 0 2rem;
  line-height: 1.6;
  letter-spacing: 0.8px;
}

.office-info img{
  width: 4rem;
  margin: 0 0 0 0.5rem;
  vertical-align: middle;
}

.office-info h5{
  margin: 1rem 0 0;
  text-indent: -0.5em;
  font-weight: 400;
}

.e-reno-site .ninni{
  margin: 1rem 0 0.5rem;
  color: initial;
}

.wpcf7-form-control-wrap input,textarea{
  width: 100%;
  padding: 1.6rem;
  margin: 1rem 0 0;
  border: 1px solid #A3A3A3;
  border-radius: 4px;
  font-size: 1.2rem;
  letter-spacing: 1.1px;
  font-weight: 500;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item label input,.wpcf7-form-control.wpcf7-checkbox input{
padding: 0.6rem;
}

.wpcf7-list-item-label::before{
  content: " ";
  display: inline-block;
  width: 0.5rem;
}

#pref2{
  display: flex;
  margin: 0.4rem 0 0;
}

#zip2{
  margin-top: 0.5rem;
}

.e-kibou-child .wpcf7-form-control-wrap input{
  height: 5rem;
}

.wpcf7-list-item-label{
  vertical-align: middle;
  font-weight: 500;
  letter-spacing: 0.9px;
}

.checkbox-column label{
  display: block;
}

.wpcf7-list-item input{
  width: 2rem;
  vertical-align: middle;
  accent-color: #000;
  margin: 0;
}

.wpcf7-form-control.wpcf7-checkbox.wpcf7-validates-as-required.e-kibou-contents{
  display: flex;
  flex-wrap: wrap;
}

.checkboxes-wrapper{
  display: flex;
  font-size: 1.1rem;
}

.dd-subtext{
  margin: 0 0 1rem;
}

label{
  display: block;
}

.e-kibou-content label{
  box-sizing: border-box;
  display: block;
  font-weight: 500;
}

.e-address label:first-of-type,.e-address-text{
  padding: 1.8rem 0 0;
}

.e-address-text{
  line-height: 1.3;
  font-size: 1.1rem;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.guest-label{
  width: 5rem;
}

.e-attendance .wpcf7-form-control-wrap{
  width: 10rem;
  margin: 0 1rem 0 0;
}

.e-mail{
  padding-left: 0;
  padding-right: 0;
}

.wpcf7-form-control.wpcf7-select {
  width: 100%;
  height: 5rem;
  padding: 1.6rem;
  font-size: 1.2rem;
  color: #C6C6C6;
  border: 1px solid #A3A3A3;
  border-radius: 4px;
  background-color: #fff;
  font-weight: 500;
  letter-spacing: 1.1px;
}

.wpcf7-form-control.wpcf7-select option {
  color: #000000;
}

.wpcf7-form-control.wpcf7-select:focus {
  color: #000000; 
}

.e-kibou,.e-kibou-hizuke,.e-kibou-jikan{
  margin: 0.9rem 0;
}

.e-kibou-hizuke{
  font-weight: bold;
}

.e-kibou{
  margin-top: 3rem;
  font-weight: bold;
}

.e-kiboubi,.e-address,.e-kikkake,.e-reno-site{
  margin-bottom: 3.2rem;
}

.ui-widget.ui-widget-content{
  font-size: 1.5rem;
}

.e-bikou-text{
  display: flex;
  line-height: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.e-bikou-text span{
  color: #C32234;
}

.e-kibou-content .e-sp{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1.1rem;
}

.e-kibou-contents .wpcf7-list-item input{
  margin: 0;
  border-radius: initial;
}

.e-line{
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background-color: #DBDBDB;
  transform: scaleY(0.5);
}

.date-wrap {
  position: relative;
}

.wpcf7-form-control.wpcf7-submit.has-spinner{
  position: relative;
  display: block;
  width: 100%;
  padding: 1.7rem;
  color: #fff;
  font-size: 1.2rem;
  background: #930B0B;
  letter-spacing: 3px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  border-radius: 14px;
  border: initial;
}

.e-submit {
  position: relative;
  width: 90%;
  margin: 0 auto;
  display: block;
}

.e-submit::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
  z-index: 10;
}

.wpcf7 .wpcf7-list-item {
  display: block;
  margin: 1rem 0;
  padding: 0;
  line-height: 1.2;
  box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-checkbox.wpcf7-validates-as-required.e-kibou-contents .wpcf7-list-item{
  width: 50%;
}

textarea{
  height: 17rem;
  line-height: 2;
}

.wpcf7-spinner{
  display: none;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output,.wpcf7 form.sent .wpcf7-response-output,.wpcf7 form .wpcf7-response-output{
  border: 1px solid #000;
  padding: 1rem;
  width: 80%;
  text-align: center;
  margin: -5rem auto 0;
  font-size: 1rem;
  line-height: 1.4;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{
  border: 1px solid #c5c5c5 !important;
  background: #f6f6f6 !important;
  color: #454545 !important;
}

[data-class="wpcf7cf_group"], .wpcf7cf_remove, .wpcf7cf_add{
  display: block !important;
}



@media (min-width: 768px){
  .e-sp,.e-kibou-content .e-sp{
    display: none;
  }
  .e-tab,.e-line.e-tab{
    display: block;
  }
  .t-e-container {
    padding: 0 7% 11rem;
  }
  .e-offices{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 0;
  }
  .e-offices1{
    display: flex;
    justify-content: center;
    gap: 10%;
    align-items: center;
    gap: 1rem;
    margin: 4rem 0 0;
  }
  .e-office{
    width: 25%;
    margin: 0;
  }
  .e-office-hours{
    font-size: 1rem;
  }
  /*form*/
  .e-block{
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }
  dt{
    width: 40%;
    margin: initial;
    font-size: 1.2rem;
  }
  dd{
    width: 60%;
    font-size: 1.2rem;
  }
  .e-form-container{
    max-width: 1000px;
    margin: 0 auto;
    padding: 6.5rem 7.2rem 10.4rem 7.9rem;
  }
  .wpcf7-form-control-wrap input{
    padding: 1.6rem 1.7rem 1.7rem;
  }
  .e-name,.e-furi,.e-tel,.e-mail,.e-howto{
    align-items: center;
  }
  .e-reno-site dt{
    margin: 0.5rem 0 0;
  }
  .e-howto-first, .e-reno-site-first, .e-kikkake-first, .e-youbou-first{
    margin: initial;
  }
  .e-reno-site .ninni{
    width: 3rem;
    display: block;
  }
  .wpcf7-radio.e-content {
    display: grid !important;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    row-gap: 1rem;
  }
  .hissu, .ninni{
    width: initial;
    height: initial;
    padding: 0.1rem 0.5rem;
    margin-left: 1.1rem;
  }
  .wpcf7-list-item input{
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
  }
  .e-content .wpcf7-list-item {
    margin: 0;
  }
  .wpcf7-form-control-wrap input{
    font-size: 1rem;
  }
  .e-kibou-content .e-tab{
    display: flex;
    justify-content: space-between;
  }
  .e-form-title h3{
    font-size: 2rem;
  }
  .e-form-title p{
    font-size: 1.4rem;
  }
  .e-office-choice dd{
    width: 30%;
  }
  .wpcf7-list-item{
    width: initial;
  }
  .form-office label {
    width: calc((100% - 20px) / 3); 
    box-sizing: border-box;
  }
  .form-office label:nth-of-type(4) {
    width: 100%;
  }
  #pref2{
    margin: 0;
  }
  .e-kibou-box{
    display: flex;
    gap: 1rem;
    width: 100%;
  }
  .e-kibou, .e-kibou-hizuke, .e-kibou-jikan:nth-of-type(2),.e-kibou, .e-kibou-hizuke, .e-kibou-jikan:nth-of-type(3), .e-kibou-hizuke:nth-of-type(2), .e-kibou-hizuke:nth-of-type(3){
    margin: 0.5rem 0;
  }
  .e-kibou, .e-kibou-hizuke, .e-kibou-jikan{
    margin: 0.5rem 0;
  }
  .e-kibou-child{
    width: 50%;
  }
  .wpcf7-form-control.wpcf7-select{
    width: 100%;
    font-size: 1.2rem;
    padding: 1.6rem 1.7rem 1.7rem;
  }
  .e-address .wpcf7-form-control-wrap:nth-of-type(1),.e-reno-site .wpcf7-form-control-wrap:nth-of-type(1){
    display: inline-block;
    width: 46%;
  }
  .e-address .wpcf7-form-control-wrap:nth-of-type(2),.e-reno-site .wpcf7-form-control-wrap:nth-of-type(2){
    display: inline-block;
    width: 26%;
  }
  .e-address .wpcf7-form-control-wrap:nth-of-type(3),.e-reno-site .wpcf7-form-control-wrap:nth-of-type(3){
    display: inline-block;
    width: 74%;
    margin: 1rem 0;
  }
  .e-address .wpcf7-form-control-wrap input, .wpcf7-form-control-wrap input{
    margin: 0;
  }
  .e-address label:first-of-type, .e-address-text{
    padding: 1.8rem 0 1rem;
  }
  .wpcf7-form-control.wpcf7-radio.howto .wpcf7-list-item{
    width: 30%;
    margin: 0.5rem 0;
  }
  .wpcf7-radio .wpcf7-list-item{
    margin: 0.5rem 0;
    flex: initial;
    width: initial;
  }
  .wpcf7 .wpcf7-list-item {
    flex: 1 1 calc(33.333% - 10px);
  }  
  .wpcf7-form-control.wpcf7-radio.reno-site .wpcf7-list-item{
    width: 28%;
  }
  .wpcf7-form-control.wpcf7-checkbox.wpcf7-validates-as-required.e-cause{
    display: grid !important;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    justify-content: left;
    column-gap: 13rem;
    row-gap: 2rem;
  }
  .wpcf7-checkbox.building .first,textarea{
    margin-top: initial;
  }
  .e-cause input{
    width: 1.5rem;
    height: 1.5rem;
  }
  .wpcf7-form-control.wpcf7-checkbox.e-kibou-contents .wpcf7-list-item{
    width: 100%;
    margin: 0.5rem 0;
  }
  textarea{
    height: 20rem;
    width: 100%;
  }
  .e-submit{
    width: 60%;
    margin: 0 auto;
  }
  .has-spinner{
    width: 100%;
    margin: 8.1rem 0 0;
    letter-spacing: 1.9px;
  }
  .wpcf7 form.invalid .wpcf7-response-output{
    width: 50%;
  }
  .office-info div{
    padding: 2rem 0;
  }
  .wpcf7-form-control.wpcf7-submit.has-spinner{
    font-size: 1.8rem;
  }
  .e-submit::after{
    right: 60px;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
  }
}

@media (min-width: 1366px) {
  .page_header_back{
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(/reform/wp-content/themes/blankslate-child/asset/contact_top_img_pc.jpg);
    height: 24rem;
  }
  .page-header-copy h2{
    font-size: 5.5rem;
  }
  .page-header-copy_main{
    margin-top: 1rem;
    font-size: 1.6rem;
  }
  .cf7-form-wrapper{
    padding: 6.9rem 3rem 22rem;
  }
  label:nth-child(7)::after,
  label:nth-child(14)::after {
    content: "";
    display: block;
  }
  .e-office-container{
    max-width: 1000px;
    margin: 0 auto 5.9rem;
  }
  .e-lead{
    margin: 6.5rem 0 5.5rem;
  }
  .e-lead h3{
    font-size: 1.6rem;
    line-height: 2.5;
  }
  .e-office-title, .e-maril-title{
    gap: 1.5rem;
  }
  .t-e-container {
    padding: 0 10% 11rem;
  }
  .e-office-container{
    padding: 5.3rem 5.2rem 5.4rem;
  }
  .e-office-title img, .e-maril-title img{
    width: 3.8rem;
  }
  .e-office-title h3, .e-maril-title h3{
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  .e-offices{
    gap: 2.1rem;
    margin: 3.3rem 0 0;
  }
  .e-offices1{
    gap: 2.1rem;
  }
  .e-office-tel{
    pointer-events: none;
  }
  .e-office-name{
    font-size: 1.4rem;
  }
  .e-office-tel{
    font-size: 1.6rem;
  }
  .e-office-hours{
    font-size: 1.2rem;
  }
  .e-maril-title-p{
    margin: 5.2rem 0 7.5rem;
    font-size: 1.4rem;
    letter-spacing: 1px;
  }
  .e-form{
    padding: 6.5rem 7.2rem 10.4rem 7.9rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  dt{
    width: 36%;
    font-size: 1.6rem;
    letter-spacing: 1px;
  }
  dd{
    width: 64%;
    font-size: 1.4rem;
    letter-spacing: 1px;
  }
  .wpcf7-list-item input{
    margin: 0 0.9rem 0 0;
  }
  .wpcf7-form-control-wrap input{
    font-size: 1.4rem;
  }
  .wpcf7-form-control.wpcf7-select{
    padding: 1.6rem 1.7rem 1.7rem;
    font-size: 1.4rem;
  }
  .e-office-choice{
    margin: 2.8rem 0 2.2rem;
  }
  .office-info{
    font-size: 1.2rem;
  }
  .e-block {
    margin: 3.6rem 0;
  }
  .howto,.wpcf7-form-control.wpcf7-radio{
    display: flex;
  }
  .e-reno-site .wpcf7-form-control.wpcf7-radio{
    gap: 7.5rem;
  }
  .e-howto,.e-reno-site,.e-kikkake{
    margin: 3.7rem 0;
  }
  .e-bikou-text{
    font-size: 1.2rem;
  }
  .e-kibou{
    margin-top: 0;
  }
  .e-kiboubi h4{
    margin : 0 0 2.8rem;
  }
  .e-kibou, .e-kibou-hizuke, .e-kibou-jikan,.e-address .wpcf7-form-control-wrap input, .wpcf7-form-control-wrap input{
    margin: 0;
  }
  .e-kibou-hizuke,.e-kibou-jikan{
    margin: 0.8rem 0;
  }
  .e-kibou-content:nth-of-type(2),.e-kibou-content:nth-of-type(3){
    margin-top: 3.8rem;
  }
  .e-bikou-text{
    line-height: 1.5;
  }
  .e-kibou-content .e-tab{
    gap: 4rem;
    letter-spacing: 1.5px;
    justify-content: initial;
  }
  .e-kibou-content label{
    margin: 1rem 0;
  }
  .e-kibou:first-of-type{
    margin: 0;
  }
  .e-kiboubi,.e-reno-site{
    margin-bottom: 5rem;
  }
  .e-address label:first-of-type, .e-address-text {
    font-size: 1.2rem;
  }
  .e-address .wpcf7-form-control-wrap:nth-of-type(3), .e-reno-site .wpcf7-form-control-wrap:nth-of-type(3){
    margin: 1.5rem 0;
  }
  .e-reno-site .ninni {
    margin: 3.9rem 0 0.8rem;
  }
  .wpcf7-form-control.wpcf7-checkbox.e-kibou-contents input{
    width: 1.5rem;
    height: 1.5rem;
  }
  .hissu, .ninni{
    font-size: 1rem;
  }
  .wpcf7-radio.e-content {
    justify-content: start;
    row-gap: 0.5rem;
    column-gap: 6rem;
  }
  .e-reno-site .ninni{
    width: 3.6rem;
    text-align: center;
  }
  .e-youbou{
    margin-top: 4.5rem;
  }
  textarea{
    height: 28.4rem;
    font-size: 1.4rem;
  }
  .has-spinner{
    font-size: 1.6rem;
    height: 8.1rem;
  } 
  .e-submit:hover{
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  .wpcf7 form.sent .wpcf7-response-output, .wpcf7 form .wpcf7-response-output,.wpcf7 form.invalid .wpcf7-response-output{
    width: 20%;
    margin: -8rem auto;
    font-size: 1.6rem;
  }
}