@charset "UTF-8";
/* CSS Document */

.inner{
  width: 1000px;
  margin: 0 auto; 
}

.none{
  display: none !important;
}

form > p{
  font-size: 18px;
  line-height: 2;
  margin-bottom: 95px;
}

form > p.ch{
  margin-bottom: 45px;
}

form > h2{
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .contents{
    margin-bottom: 120px;
  }

  .thanks a:hover::after{
    transform: translateX(-25%) scale(-1,1);
    transition: .3s;
  }
}

.input_area{
  padding-right: 35px;
}

.input_area dl > div{
  display: flex;
  justify-content: flex-start;
}

.input_area dl > div + div{
  margin-top: 10px;
}

.input_area dl > div dt{
  width: 190px;
  font-size: 18px;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
  padding: 20px 25px 20px 0;
  overflow: hidden;
}

.input_area dt span,
.input_area .box span{
  font-size: 80%;
  color: #ff0048;
}

.input_area dl > div dd{
  width: 775px;
  font-size: 18px;
  line-height: 1.3;
  padding: 20px 0;
}

input[type="text"] ,
input[type="email"],
textarea{
	width: 100%;
	font-size: 18px;
  line-height: 1.3;
  color: #242230;
	padding: 20px;
  margin-top: -20px;
	background: #FFF;
	border-radius: 0; 
  border: none;
  box-sizing: border-box;
	display: block;
  box-shadow: 0;
}

textarea{
  font-family: 'Noto Sans JP';
  min-height: 200px;
}

input.st{
  width: 150px !important;
  display: inline-block;
  margin-right: .5em;
}

input[type="email"] + input[type="email"]{
  margin-top: 5px;
}

.box{
  padding-top: 35px;
  margin-top: 20px;
  margin-left: 190px;
  border-top: 1px solid #c1bfc8; 
}

.box p{
  font-size: 16px;
  line-height: 1.8;
}

.btn input[type="submit"],
.btn input[type="button"],
.btn button{
	font-family: 'Noto Sans JP';
	width: 240px;
  height: 80px;
	font-size: 20px;
  color: #FFF;
  text-align: center;
	padding: 0;
  margin: 0;
  display: block;
	background: #3c3c82;
	border-radius: 0; 
  border: none;
	text-overflow: ellipsis;
  box-shadow: 0;
	-webkit-appearance:none;
  appearance: none;	
	box-sizing: border-box;
  cursor: pointer;
  transition:0.3s;
  position: relative;
}

.btn button:hover{
  background: #3c3c99;
  text-decoration: none;
  transition:0.3s linear;
}

.thanks{
  padding: 120px;
}

.thanks p{
  font-size: 18px;
  line-height: 2;
  margin-bottom: 150px;
}

.thanks h2{
  font-size: 30px;
  line-height: 1;
  margin-bottom: 30px;
}

.thanks a{
  font-size: 18px;
  line-height: 1;
  padding-bottom: 15px;
  border-bottom: 1px solid #242230;
  display: inline-block;
  padding-left: 35px;
  position: relative;
  cursor: pointer;
}

.thanks a::after{
  content: "";
  width: 20px;
  height: 20px;
  background: url("/common/icon_aw.webp") no-repeat;
  background-size: 100% auto;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(0) scale(-1,1);
  transition: .3s;
}

@media screen and (max-width: 767px) {
  
  .inner{
    width: 100%;
    padding: 0 4vw;
  }

  form > p{
    font-size: 3.8vw;
    line-height: 1.6;
    padding: 0 2vw;
    margin-bottom: 10vw;
  }
  
  form > p.ch{
    margin-bottom: 10vw;
  }
  
  form > h2{
    font-size: 5vw;
    line-height: 1;
    padding: 0 2vw;
    margin-bottom: 3vw;
  }

  .input_area{
    padding-right: 0;
  }

  .input_area dl > div{
    display: block;
  }

  .input_area dl > div + div{
    margin-top: 8vw;
  }

  .input_area dl > div dt{
    width: auto;
    font-size: 4vw;
    line-height: 1;
    text-align: left;
    padding: 0 0 3vw 0;
  }

  .input_area dl > div dd{
    width: 100%;
    font-size: 4vw;
    line-height: 1;
    padding: 0;
  }

  input[type="text"] ,
  input[type="email"],
  textarea{
    width: 100%;
    font-size: 4vw;
    line-height: 1.3;
    padding: 4vw 3vw;
    margin-top: 0;
    vertical-align: middle;
  }

  textarea{
    min-height: 60vw;
    margin-top: 2vw;
  }

  input.st{
    width: 30vw !important;
    display: inline-block;
    margin-right: .5em;
  }

  input[type="email"] + input[type="email"]{
    margin-top: 2vw;
  }

  .box{
    padding-top: 8vw;
    margin-top: 8vw;
    margin-left: 0;
  }

  .box p{
    font-size: 3.5vw;
    line-height: 1.6;
  }

  .btn input[type="submit"],
  .btn input[type="button"],
  .btn button{
    width: 60%;
    height: 16vw;
    font-size: 4.4vw;
    margin: 0 auto;
  }
  
  .thanks{
    padding: 0 8vw 20vw;
  }
  
  .thanks > div{
    text-align: center;
  }

  .thanks p{
    font-size: 3.8vw;
    line-height: 1.6;
    margin-bottom: 30vw;
  }

  .thanks h2{
    font-size: 5vw;
    line-height: 1.3;
    margin-bottom: 8vw;
  }

  .thanks a{
    font-size: 3.2vw;
    padding-bottom: 3vw;
    padding-left: 6vw;
  }

  .thanks a::after{
    width: 4vw;
    height: 4vw;
  }
}

.invalid-feedback,
.empty-feedback {
  display: none;
}

.was-validated :placeholder-shown:invalid ~ .empty-feedback {
  display: block;
  color: #dc3545;
  font-size: 16px;
  line-height: 2;
}

.was-validated :not(:placeholder-shown):invalid ~ .invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 16px;
  line-height: 2;
}

.is-invalid,
.was-validated :invalid {
  border-color: #dc3545;
}