/* カスタム CSS をここに入力してください */
/* お問合せフォームtemplate04 */
.form__wrap {
  width: 100%;
  max-width: 900px;/*フォームの最大幅*/
  margin-right: auto;
  margin-left: auto;
}
.wpcf7 .template04 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #252525;
  font-size: 14px;
}
.wpcf7 .template04 a {
  margin: 0;
  padding: 0;
  text-decoration: underline;
  color: inherit;
  transition: opacity .25s;
}
.wpcf7 .template04 a:hover {
  opacity: .5;
  transition: opacity .25s;
}
.wpcf7 .template04 div.form__row {
  position: relative;
  margin: 0;
  padding: 0;
  margin-top: 2em;
}
.wpcf7 .template04 div.form__row.row-name,
.wpcf7 .template04 div.form__row.row-email,
.wpcf7 .template04 div.form__row.row-tel,
.wpcf7 .template04 div.form__row.row-url {
  width: calc(50% - 10px);
}
.wpcf7 .template04 div.form__row.row-message {
  width: 100%;
}
.wpcf7 .template04 div.form__row.row-checkbox,
.wpcf7 .template04 div.form__row.row-radio,
.wpcf7 .template04 div.form__row.row-select {
  display: flex;
  align-items: center;
  width: 100%;
}
.wpcf7 .template04 div.form__row.row-select {
  width: 100%;
}
.wpcf7 .template04 div.form__row.row-privacy {
  width: 100%;
  margin-top: 3.5em;
  text-align: center;
}
.wpcf7 .template04 div.form__row.row-submit {
  width: 100%;
  margin-top: 3em;
  text-align: center;
}
.wpcf7 .template04 p.form__label {
  flex-shrink: 0;
  min-width: 146px;
  margin: 0 0 .3em 0;
  padding: 0;
  box-sizing: border-box;
}
.wpcf7 .template04 p.form__body {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.wpcf7 .template04 div.form__row.row-checkbox p.form__body,
.wpcf7 .template04 div.form__row.row-radio p.form__body,
.wpcf7 .template04 div.form__row.row-select p.form__body {
  margin: 0 0 .3em 2em;
}
.wpcf7 .template04 p.form__label label {
  position: relative;
  margin: 0;
  padding: 0;
  color: #2a7e72;
  font-size: .95em;
  box-sizing: border-box;
}
.wpcf7 .template04 p.form__label.is-required label {
  margin-right: 1em;
}
.wpcf7 .template04 p.form__label.is-required label::after {
  content: "*";
  display: block;
  position: absolute;
  top: -.3em;
  right: -.5em;
  color: #b74c4c;
  box-sizing: border-box;
}
/* テキストフィールド */
.wpcf7 .template04 input[type=text],
.wpcf7 .template04 input[type=tel],
.wpcf7 .template04 input[type=email],
.wpcf7 .template04 input[type=url],
.wpcf7 .template04 input[type=date],
.wpcf7 .template04 input[type=number] {
  width: 100%;
  margin: 0;
  padding: .2em 0;
  border: 0;
  border-bottom: 1px solid #ababab;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.wpcf7 .template04 textarea {
  width: 100%;
  height: 60px;
  margin: 0;
  padding: .2em 0;
  border: 0;
  border-bottom: 1px solid #ababab;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/* テキストフィールド placeholder */
.wpcf7 .template04 input[type=text]::placeholder,
.wpcf7 .template04 input[type=tel]::placeholder,
.wpcf7 .template04 input[type=email]::placeholder,
.wpcf7 .template04 input[type=url]::placeholder,
.wpcf7 .template04 input[type=date]::placeholder,
.wpcf7 .template04 input[type=number]::placeholder,
.wpcf7 .template04 textarea::placeholder {
  opacity: 0;
  display: none;
}
.wpcf7 .template04 input[type=text]:-ms-input-placeholder,
.wpcf7 .template04 input[type=tel]:-ms-input-placeholder,
.wpcf7 .template04 input[type=email]:-ms-input-placeholder,
.wpcf7 .template04 input[type=url]:-ms-input-placeholder,
.wpcf7 .template04 input[type=date]:-ms-input-placeholder,
.wpcf7 .template04 input[type=number]:-ms-input-placeholder,
.wpcf7 .template04 textarea:-ms-input-placeholder {
  opacity: 0;
  display: none;
}
.wpcf7 .template04 input[type=text]::-ms-input-placeholder,
.wpcf7 .template04 input[type=tel]::-ms-input-placeholder,
.wpcf7 .template04 input[type=email]::-ms-input-placeholder,
.wpcf7 .template04 input[type=url]::-ms-input-placeholder,
.wpcf7 .template04 input[type=date]::-ms-input-placeholder,
.wpcf7 .template04 input[type=number]::-ms-input-placeholder,
.wpcf7 .template04 textarea::-ms-input-placeholder {
  opacity: 0;
  display: none;
}
/* テキストフィールド フォーカス時 */
.wpcf7 .template04 input[type=text]:focus,
.wpcf7 .template04 input[type=tel]:focus,
.wpcf7 .template04 input[type=email]:focus,
.wpcf7 .template04 input[type=url]:focus,
.wpcf7 .template04 input[type=date]:focus,
.wpcf7 .template04 input[type=number]:focus,
.wpcf7 .template04 textarea:focus {
  outline: 1px solid transparent;
}
/* チェックボックス */
.wpcf7 .template04 input[type=checkbox] {
  display: none;
}
.wpcf7 .template04 input[type=checkbox] + span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  box-sizing: border-box;
  transition: opacity .25s ease;
}
.wpcf7 .template04 input[type=checkbox] + span::before {
  content: "";
  opacity: 1;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.24em;
  height: 1.24em;
  border: 1px solid #ababab;
  border-radius: 0;
  background-color: transparent;
  box-sizing: border-box;
  transition: opacity .25s ease;
  z-index: 1;
}
.wpcf7 .template04 input[type=checkbox] + span::after {
  content: "";
  opacity: 0;
  display: block;
  position: absolute;
  top: 0.13em;
  left: 0.5em;
  width: 0.3em;
  height: .85em;
  border-bottom: 1px solid #252525;
  border-right: 1px solid #252525;
  box-sizing: border-box;
  transform: rotate(40deg);
  transition: opacity .25s ease;
  z-index: 10;
}
.wpcf7 .template04 input[type=checkbox]:checked + span {
  color: inherit;
  transition: all .25s ease;
}
.wpcf7 .template04 input[type=checkbox]:checked + span::before {
  opacity: 1;
  transition: opacity .25s ease;
}
.wpcf7 .template04 input[type=checkbox]:checked + span::after {
  opacity: 1;
  transition: opacity .25s ease;
}
/* ラジオボタン */
.wpcf7 .template04 input[type=radio] {
  display: none;
}
.wpcf7 .template04 input[type=radio] + span {
  cursor: pointer;
  position: relative;
  margin: 0; 
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  box-sizing: border-box;
  transition: opacity .25s ease;
}
.wpcf7 .template04 input[type=radio] + span::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  border: 1px solid #ababab;
  border-radius: 50%;
  background-color: transparent;
  box-sizing: border-box;
  transition: opacity .25s ease;
}
.wpcf7 .template04 input[type=radio] + span::after {
  content: "";
  opacity: 0;
  display: block;
  position: absolute;
  top: -0.1em;
  left: 0.5em;
  width: 0.3em;
  height: .85em;
  border-bottom: 1px solid #252525;
  border-right: 1px solid #252525;
  box-sizing: border-box;
  transform: rotate(40deg);
  transition: opacity .25s ease;
  z-index: 10;
}
.wpcf7 .template04 input[type=radio]:checked + span {
  color: inherit;
  transition: opacity .25s ease;
}
.wpcf7 .template04 input[type=radio]:checked + span::after {
  opacity: 1;
  transition: opacity .25s ease;
}
/* セレクト */
.wpcf7 .template04 span.select-wrap {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}
.wpcf7 .template04 select {
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: .5em 2.5em .5em 1em;
  border: 0;
  border-bottom: 1px solid #ababab;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  box-sizing: border-box;
  transition: border-color 0.2s ease, outline 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.wpcf7 .template04 select::-ms-expand {
  display: none;
}
.wpcf7 .template04 span.select-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  width: .6em;
  height: .6em;
  top: 50%;
  right: 1em;
  margin-top: -3px;
  border-bottom: 1px solid #ababab;
  border-right: 1px solid #ababab;
  transform: rotate(45deg) translateY(-50%);
  transform-origin: 50% 0;
  box-sizing: border-box;
}
.wpcf7 .template04 select:focus {
  outline: 0;
}
/* 送信ボタン */
.wpcf7 .template04 .submit-btn {
  position: relative;
  width: 320px;
  height: 65px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}
.wpcf7 .template04 input[type="submit"] {
  cursor: pointer;
  width: 320px;
  max-width: 100%;
  padding: 18px;
  border-radius: 0;
  box-shadow: none;
  border: 1px #10554b solid;
  background-color: #2a7e72;
  color: #fff;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
  transition: opacity .25s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.wpcf7 .template04 input[type="submit"]:disabled {
  cursor: not-allowed;
  box-shadow: none!important;
  border: 1px solid #f8f8f8!important;
  background-color: #f8f8f8!important;
  color: #999!important;
}
.wpcf7 .template04 input[type="submit"]:hover {
  background-color: #fff;
  color: #10554b;
  transition: opacity .25s, background-color .25s;
}
.wpcf7 .template04 input[type="submit"]:focus {
  outline: 1px #eee solid;
  border: 1px #080808 solid;
}
.wpcf7 .template04 span.wpcf7-list-item {
  margin: 0 1em .2em 0;
}
.wpcf7 .template04 div.wpcf7 .ajax-loader {
  display: block;
}
@media only screen and (max-width: 768px) {
  .wpcf7 .template04 div.form__row.row-checkbox,
  .wpcf7 .template04 div.form__row.row-radio,
  .wpcf7 .template04 div.form__row.row-select {
    display: block;
  }
  .wpcf7 .template04 div.form__row.row-checkbox p.form__body,
  .wpcf7 .template04 div.form__row.row-radio p.form__body,
  .wpcf7 .template04 div.form__row.row-select p.form__body {
    margin-left: 0;
  }
  .wpcf7 .template04 span.wpcf7-list-item {
    display: block;
  }
}