@charset "UTF-8";


/************************************
form
*************************************/

/*
reset
***********************/

button,
option,
select,
textarea,
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="text"],
input[type="select"],
input[type="option"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  border: none;
  outline: 0;
  margin: 0;
  background: #fff;
}



/* for firefox */

select {
  text-indent: 0.01px;
  text-overflow: '';
}

/* for ie10 ie11 ie系のプルダウンの矢印を消す ie9は非対応 */

select::-ms-expand {
  display: none;
}



#mailform {
  padding-top: 10rem;
  background-color: #fff;
  min-height: 90vh;

  .kanryo {
    text-align: center;
    padding-top: 5rem;
  }
}


/* @mixin  絶対位置の指定*/
/* -------------------------------------
   レイアウト
------------------------------------- */
.thanks p {
  text-align: center;
  padding: 5rem 0;
  font-size: 17px;
  font-size: 1.0625rem;
  font-weight: normal;
  line-height: 200%;
}

::-webkit-input-placeholder {
  color: #bebebe;
}

:-ms-input-placeholder {
  color: #bebebe;
}

::-ms-input-placeholder {
  color: #bebebe;
}

::placeholder {
  color: #bebebe;
}

:focus::-webkit-input-placeholder {
  color: white;
}

/* Chrome・Safari・Opera用(※Edgeにも使える) */
:focus:-moz-placeholder {
  color: white;
}

/* Firefox18以前用 */
:focus::-moz-placeholder {
  color: white;
}

/* Firefox19以上用 */
:focus::placeholder {
  color: white;
}

/* CSS標準(予定)の記述 */

#mailform dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 1rem;
}

#mailform dl dt {
  background: #EBEBEB;
  padding: 8px 10px 6px 10px;
  margin-bottom: 15px;
  margin-right: 1%;
  width: 30%;
  position: relative;
  font-weight: normal;
  font-size: 1.6rem;

}

#mailform dl dt span {
  font-size: 90%;
  font-weight: normal;
}

#mailform dl .required-contactform7 {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-block;
  background: #125dc1;
  border-radius: 2px;
  color: #FFF;
  padding: 4px 12px 4px 12px;
  font-size: 1.3rem;
  line-height: 100%;
}

#mailform dd {
  position: relative;
  width: 69%;
  margin-bottom: 15px;
}

#mailform.check dl dd {
  padding: 8px 5px;
  border-bottom: 1px dotted #333;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="select"],

textarea,
select {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0.6em;
  outline: none;
  border: 1px solid #bbb;
  border-radius: 3px;
  font-size: 16px;
  width: 100%;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #125dc1;
}


/* IE */
input::-ms-clear {
  visibility: hidden;
}

select {
  width: 100%;
  resize: vertical;
}



/* ラジオボタン、チェックボックス */
.wpcf7-list-item.first {
  margin: 1rem 0;
}

.wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
}

/* デフォルトのボタン */
input[type="radio"],
input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

/* チェック前のボタン */
.wpcf7-radio .wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #333;
  border-radius: 100%;
  content: "";
  height: 1.5em;
  margin-bottom: auto;
  margin-right: .5em;
  margin-top: auto;
  transition: background-color .5s;
  width: 1.5em;
}

.wpcf7-acceptance .wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #333;
  border-radius: 2px;
  content: "";
  height: 1.5em;
  margin-bottom: auto;
  margin-right: .5em;
  margin-top: auto;
  transition: background-color .5s;
  width: 1.5em;
}

/* チェック後のボタン */
input[type="radio"]:checked+.wpcf7-list-item-label::before {
  background-color: #7fbfff;
  box-shadow: inset 0 0 0 3px #fff;
}

input[type="checkbox"]:checked+.wpcf7-list-item-label::before {
  background-color: #7fbfff;
  box-shadow: inset 0 0 0 3px #fff;
}



.doui {

  text-align: center;
  padding: 1rem;
  border-bottom: 1px dotted #ddd;
  margin-bottom: 1rem;

  .red {
    color: red;
  }

}

#turnstile_wrap {
  text-align: center;
  margin: 1rem auto;
}


/* ボタン */
#btn_wrap {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 50px;
}

input.btn {
  width: 90%;
  max-width: 600px;
  display: block;
  margin: auto;
  padding: 20px;
  background: #125dc1;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  border: solid 2px;
  border-radius: 5px;
}

input.btn:hover {
  background: #fff;
  color: #333;
  border: solid 2px #397bd3;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  cursor: pointer;
}

input.btn:active {
  background: #149281;
  color: #fff;
}






/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width: 736px) {
  body {
    margin: 0;
  }

  * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .pc_only {
    display: none;
  }

  .sphone_only {
    display: block;
  }





  #mailform dl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  #mailform dl dt {
    width: 108%;
    margin: 5px 0 5px 0;
    padding: 2px 10px 2px 10px;
  }

  #mailform dl dd {
    width: 100%;
  }



}

/*送信成功した時にに表示されるメッセージを非表示*/
.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}