/* ---------------- リセット -----------------*/
form,dl,dt,dd{
  margin: 0;
  padding: 0;
}

/* テキストボックス*/

.textbox {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  background-image: none;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 0;
  color: inherit;
  font-family: inherit;
  font-size: 1em;
  padding: 0.4em 0.8em;
  width: 100%;
}

/* テキストエリア */
.textarea{
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  background-image: none;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 0;
  color: inherit;
  font-family: inherit;
  font-size: 1em;
  height: 100px;
  padding: 0.4em 0.8em;
  width: 100%;
  margin-top:10px;
}


/* ラジオボタン */

.radio {
  display: none;
}

.radio + span {
  cursor: pointer;
  display: inline-block;
  margin: 0 0.2em 0;
  padding: 0 0 0 1.2em;
  position: relative;
}

.radio + span::before {
  -webkit-transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  content: "";
  display: block;
  height: 16px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
}

.radio + span::after {
  -webkit-transform: translateY(-50%);
  background:#3B69FF;
  border: 1px solid transparent;
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 4px;
  opacity: 0;
  padding: 2px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease 0s;
  width: 5px;
}

.radio:checked + span::after {
  opacity: 1;
}


/* チェックボックス */
.checkbox {
  display: none;
}

.checkbox + span {
  cursor: pointer;
  display: inline-block;
  margin: 0 0.2em 0;
  padding: 0 0 0 35px;
  position: relative;
}

.checkbox + span::before {
  -webkit-transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 2px;
  content: "";
  display: block;
  height: 1em;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
}

.checkbox + span::after {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  border-bottom: 3px solid #3B69FF;
  border-left: 3px solid #3B69FF;
  content: "";
  display: block;
  height: 0.4em;
  left: 0.2em;
  margin-top: -0.2em;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: all 0.3s ease 0s;
  width: .7em;
}

.checkbox:checked + span::after {
  opacity: 1;
}

/* セレクトボックス */

.select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent url(https://haniwaman.com/wp-content/uploads/2018/12/form-css-arrow.png) no-repeat center right 8px/16px 16px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: 1em;
  padding: 5px 8px;
  width: 32%;margin-right:1%;
}

.select::-ms-expand {
  display: none;
}

.select:focus {
  border: 1px solid rgba(0, 0, 0, 0.32);
  box-shadow: none;
  outline: none;
}



/* ボタン */

.submit {
  -webkit-appearance: none;
  background-color: rgba(0, 0, 0, 0.32);
  background-image: none;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 1em;z-index:10;
  margin: 0 0 1em;
  padding: 0.6em 2em;
  text-decoration: none;
}

.submit:hover,
.submit:focus {
  outline: none;
}

.submit::-moz-foucus-inner {
  border: none;
  padding: 0;
}



/* body ________________*/

body{
  background-color: #fff;
  color:#000;
}



/* フォーム________________ */



.form-wrapper{
  width: 960px;
  margin:0 auto;
  padding:20px;
}
.form{
  max-width:100%;
  padding:60px 90px;
  background-color: #fff;
}

.form dl{
  width: 100%;
}
.form dl dt{
  margin-top:40px;
  clear: both;
    width: 260px;
  max-width:100%;
  display: inline-block;
  font-size:22px;
  vertical-align:middle;
  position:relative;
}

.form dl dd {
  margin-top:40px;
    width: calc( 100% -  270px);
  display: inline-block;
  font-size:22px;
  vertical-align:middle;
}
.required{
  background-color: #FF4646;
  border-radius:8px;
  color:#fff;
  padding:2px 11px;
  display: inline-block;
  position:absolute;
  top: 0;
  right: 80px;margin-left:10px;
}
.message{
  font-size:22px;
  margin-top:40px;
}

.privacy{
  margin-top:30px
}



.submit{
  background-color: #FFAA3B;
  border-radius:10px;
  box-shadow:rgba(0,0,0,.2) 0 3px 5px;
  padding:14px 50px;
  margin-top:30px;
}




/* メディアクエリ */


@media screen and (max-width: 959px) {

  .form-wrapper{
  width: 90%;
  max-width:100%;
  margin:0 auto;
}

  
}

@media screen and (max-width: 767px) {


.form-wrapper{
  width: 98%;
}
.form{
  padding:15px 15px;
}
.form dl{
  width: 100%;
}
.form dl dt{
  margin-top:40px;
  display: block;
    width: 100%;
    /*width: 260px;*/
  vertical-align:middle;
}

 .form dl dd {
  margin-top:20px;
    width: 100%;
  display: block;
  vertical-align:middle;
}
  .required{
  background-color: #FF4646;
  border-radius:5px;
  color:#fff;
  padding:2px 11px;margin-left:30px;
  display: inline-block;
}
.message{
  font-size:22px;
  margin-top:40px;
}

.privacy{
  margin-top:30px
}


}