
/************************************
** フォーム
************************************/


.form_box {
  display: grid;
  gap: 16px;
  grid-template-columns: [label] 13em [input] 1fr;
}

.form_box > .form_name {
  grid-column: label;
  min-height: 2.5em;
  place-content: center;
}

.form_box > .form_cont {
  grid-column: input;
  min-height: 2.5em;
  place-content: center;
}

.form_box > button[type="submit"] {
  grid-column: 1 / -1;
}


@media screen and (max-width: 640px){
.form_box {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}
.form_box > .form_name {
  grid-column: 1 / -1;
  border-bottom: 1px dotted #CCC;
  padding: 0;
  padding-bottom: 8px;
  min-height: inherit;
}

.form_box > .form_cont {
  grid-column: 1 / -1;
  min-height: inherit;
}
}


.input-mini {
  width: 25% !important;
}
.input-small {
  width: 25% !important;
  display: inline-block;
}
.input-medium {
  width: 50% !important;
}
.input-large {
  width: 100% !important;
}
.input-xlarge {
  width: 100% !important;
}
.input-xxlarge {
  width: 100% !important;
}

@media screen and (max-width: 640px) {
.input-mini {
  width: 
  30%!important;
}
  .input-small {
    width: 50% !important;
  }
  .input-medium {
    width: 100% !important;
  }
  .input-large {
    width: 100% !important;
  }
  .input-xlarge {
    width: 100% !important;
  }
}

.hissu {
  border-radius: 0;
  font-size: 60%;
  line-height: 100%;
  padding: 3px 5px;
  margin-left: 8px;
  margin-top: -0.3em;
  text-decoration: none;
  display: inline-block;
  vertical-align: middle;
  color: #fff !important;
  background-color: #c00;
  font-weight: 400;
}
@media only screen and (max-width: 640px) {
.hissu {
  padding: 2.5px 5px;
  margin-left: 4px;
  margin-bottom: 0;
}
}


div.wpcf7 .ajax-loader {
    display: none !important;
}
div.wpcf7 .wpcf7-spinner {
    display: none !important;
}


select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"] {
box-sizing: border-box;
  display: inline-block;
  margin: 4px 0;
  width: auto;
  min-width: inherit;
  border-radius: 0;
}
select {
padding: 8px;
}
textarea {
  display: block;
}
.box_mitsumorisousa input[type="text"],
.box_mitsumorisousa input[type="email"],
.box_mitsumorisousa input[type="tel"] {
  display: block;
  width: 100%;
}

input[type="radio"],input[type="checkbox"] {
  position: relative;
  top: 0.px;
  height: auto;
  margin-right: 2px; /*追加*/
  left: 0;
  z-index: 2;
  cursor: pointer;  /* クリック可能にする */
}
input[type="radio"] {
  top: -0.1em;
  left: 0;
  display: inline-block;
  vertical-align: middle;
}

@media only screen and (max-width: 1024px) {
input[type="radio"],input[type="checkbox"] {
  margin-right: 0; /*追加*/
}
input[type="checkbox"] {
  top: -0.1em;
  height: 1.1em;
  width: 1.1em;
  vertical-align: middle;   /* テキストとの垂直位置を合わせる */
  z-index: 2;
  cursor: pointer;  /* クリック可能にする */
  box-sizing: border-box;   /* paddingとborderがボックスサイズに含まれるようにする */
}
}

select, input {
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #FFF;
}
textarea {
  height: auto;
  min-height: 3.5em;
}


.btn {
  display: inline-block !important;
  width: auto !important;
	padding: 1.2em 5.5em !important;
  font-size: 130%;
  margin: 4px 0;
  margin-bottom: 0;
  color: #333;
  height: auto;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 5px;
}
.btn:hover {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 1.0 !important;
}
.btn-primary {
  color: #fff !important;
  background-color: #0194ff !important;
}
@media only screen and (max-width: 640px) {
  .btn {
    display: block !important;
    margin: 4px auto !important;
  }
}
