@charset "UTF-8";

/*****************************
お問い合わせ
*****************************/
.formbox{
  max-width: 800px;
  margin: 0 auto;
}
.formbox .fomin{
  background: #fff;
  border-top: 1px solid #ccc;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 1.4rem;
  overflow: hidden;
}
.formbox .fomin:last-of-type{
  border-bottom: 1px solid #ccc;
}
.formbox .fomttl{
  background: #ececec;
  font-weight: bold;
  padding: 1rem ;
  width: 200px;
}
.formbox .fomttl span{
  background: #A42020;
  border-radius: 6px;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  margin-right: .5rem;
  padding: .2rem .5rem .3rem;
}
.formbox .fomttl span.any{
  background: #004AAB;
}
.formbox .fomcontent{
  padding: 1rem 2rem;
  width: calc(100% - 200px);
}
.formbox .fomcontent span.error{
  background: none;
  margin: 0;
}
.formbox .fomcontent dl > div{
  margin-bottom: 1rem;
}
.formbox .fomcontent dt{
  font-weight: bold;
}
.formbox .fomcontent dd{
  margin-left: auto;
  width: 100%;
}
.formbox .input-check{
  text-align: left;
}
.formbox .input-check .horizontal-item + .horizontal-item {
  margin-left: 0;
}
.formbox .input-check .horizontal-item{
  display: inline-block;
  margin-right: 1rem;
}
.input-submit{
  margin: 1rem auto;
  text-align: center;
}
.formtxt{
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem 0 0;
}
.formtxt .inbox{
  margin: 2rem 0;
}
.formtxt .inbox p{
  margin-bottom: 2rem;
}

.formbox .input-txt input,
.formbox .input-num input,
.formbox .input-age input,
.formbox .input-zip input,
.formbox .input-txtarea textarea,
.formbox .input-select select {
  background: #f3f3f3;
  border: 1px solid #ddd;
  border-radius: 3px;
  width: 100%;
}
.formbox .input-age input,
.formbox .input-num input{
  max-width: 60px;
}
.formbox .input-age input{
  margin-right: .5rem;
}
.formbox .input-day:first-child{
  margin-bottom: 1rem;
}
.formbox .input-day input{
  width: calc(100% - 145px);
}

.formbox .input-txt input,
.formbox .input-num input,
.formbox .input-age input,
.formbox .input-zip input,
.formbox .input-select select {
  font-size: 1.4rem;
  height: 36px;
  padding: 0 .5em;
}
.formbox .input-date input{
  margin: .5rem 0;
}
.formbox .input-select select{
  appearance: auto;
}
.formbox .input-txtarea textarea {
  font-size: 1.4rem;
  padding: .5em;
}

.formbox .addinput {
  margin-top: 1rem;
}
.formbox .input-radio .wpcf7-list-item {
  margin: 0 1rem 0 0;
}
.formbox .input-submit {
  text-align: center;
  margin-top: 2em;
}
.formbox .input-submit div {
  display: inline-block;
  vertical-align: middle;
}
.formbox .input-submit input {
  height: 50px;
  padding: 0 30px;
}
.pagesec-form{
  position: relative;
}
.pagesec-form .inner1{
  max-width: 840px;
  position: relative;
}
.pagesec-form .txtbox{
  margin: 0 auto 2rem;
}
.pagesec-form .box{
  margin-top: 2rem;
  position: relative;
  padding-top: 1rem;
}
.pagesec-form .morebtn1 .fomb {
  margin-top: 2rem;
  text-align: center;
}
.pagesec-form .ppbox{
  margin: 2rem auto;
  max-width: 800px;
}
.pagesec-form .ppbox dl{
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  padding: 1rem;
}
.pagesec-form .ppbox dl dt{
  font-weight: bold;
}
.pagesec-form .ppbox a{
  text-decoration: underline;
}
.formblock .lastcheck{
  margin: 0 auto;
  max-width: 800px;
}
.pagesec-form .wpcf7-spinner {
  margin: 0;
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
}
form.sent .formblock,
form .sent-after,
form.sent .fomb{
  display: none;
}
form.sent .sent-after{
  display: block;
  margin: 0 auto 2rem;
  max-width: 800px;
  padding: 1rem;
  position: relative;
  text-align: center;
}
.pagesec-form .wpcf7 form .wpcf7-response-output{
  margin: 0 auto;
  max-width: 800px;
  padding: 20px;
  text-align: center;
}
.wpcf7-form-control-wrap > .wpcf7-not-valid-tip {
  /* display: none; */
  margin-top: 10px;
}
.wpcf7-form-control-wrap.is-show > .wpcf7-not-valid-tip {
  display: block;
}


.fomb {
  max-width: 300px;
  margin: 0 auto;
}

.fomb{
  background: #352620;
  border: 1px solid #352620;
  border-radius: 6px;
  display: inline-block;
  font-weight: 500;
  min-width: 250px;
  margin: 2rem auto 0;
  opacity: 1;
  padding: .5rem 2rem;
  position: relative;
  transition: .5s;
}
.fomb input{
  color: #fff;
}
.fomb:has(input:disabled){
  background: #b5b5b5 !important;
  border-color: transparent;
}
.fomb:has(input:disabled)::before{
  color: #333 !important;
}
.fomb input:disabled{
  color: #333 !important;
}

.fomb:hover{
  background: #fff;
}
.fomb:hover input{
  color: #352620;
}


@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  .formbox .input-select select{
    max-width: 80%;
  }
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .formbox .fomttl ,
  .formbox .fomcontent{
    width: 100%;
  }
  .formbox .input-select select{
    max-width: 100%;
  }
  .formbox .fomin {
    margin: 1rem auto;
  }
  .contactlink .fbox{
    margin: .5rem 0;
    width: 100%;
  }
  .pagesec-form .ppbox .formpp h3 {
    font-size: 2.4rem;
  }
  .pagesec-form .wpcf7 form .wpcf7-response-output{
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    text-align: left;
  }
  .pagesec-form .txtbox,
  form.sent .sent-after{
    text-align: left;
  }
}