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

.contents{
  padding: 90px 0  110px;
  background: url("../img/bk.png") repeat-x center top #edeceb;  
}

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

.none{
  display: none !important;
}

form h1{
  width: 895px;
  font-size: 30px;
  line-height: 60px;
  text-align: center;
  border: 1px solid #717273;
  background: #FFF;
  margin: 0 auto 50px;
}

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;
  text-align: center;
  margin-bottom: 60px;
}

.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_area.check dl > div dd span{
  width: 100%;
  background: #FFF;
  padding: 20px;
  margin-top: -20px;
  display: inline-block;
}

.input_area.check dl > div dd span.mt{
  margin-top: 10px;
  display: block;
}

.input_area.check dl > div dd span.st{
  width: auto;
  margin-right: .5em;
}

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

.input_area.check dl > div dd.check span{
  margin-top: -10px;
}

.input_area dl > div dd.error > p,
.checkbox.error > p,
p.error{
  font-size: 15px;
  line-height: 1;
  color: #ff003b;
  padding-top: 15px;
  display: block;
}

p.red{
  font-size: 14px !important;
  line-height: 1;
  color: #ff0048;
  padding-top: 10px !important;
  text-indent: -1em;
  padding-left: 1em;
}

.input_area dl > div dd.error > p.mb{
  margin-bottom: 25px;
}

input[type="text"] ,
input[type="email"],
input[type="tel"],
input[type="number"],
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;
  vertical-align: top;
  box-shadow: 0;
}

input[type='file'] {
  font-size: 16px;
  line-height: 1.3;
  color: #242230;
  padding-right: 1rem;
  width: 60%;
  cursor: pointer;
  margin-top: -15px;
}

.file_btn::file-selector-button,
.file_btn::-webkit-file-upload-button {
  font-size: 18px;
  line-height: 1;
  background-color: #24222f;
  color: #FFF;
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 15px 20px;
  margin-right: 15px;
  transition: .3s all;
  display: inline-block;
}
@media screen and (min-width: 768px) {
  .file_btn:hover::file-selector-button,
  .file_btn:hover::-webkit-file-upload-button {
    background-color: #3d3c7f;
  }
}

textarea{
  min-height: 200px;
  margin-top: 5px;
}

.error input[type="text"] ,
.error input[type="email"],
.error input[type="tel"],
.error input[type="number"],
textarea.error,
.error .selectbox select,
.box.error .checkbox label::after{
  background: #ffdddd;
}

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

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

.radiobox label{
  height: 25px;
	line-height: 25px;
  padding: 0 70px 0 35px;
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.radiobox input[type="radio"]{
  display: none;
}

.radiobox label + label{
  margin-left: 70px;
}

.radiobox label::before,
.radiobox label::after {
	position: absolute;
	z-index: 1;
  top: 50%;
	left: 0;
  width: 25px;
  height: 25px;
	content: '';
  transform: scale(1,1) translateY(-50%);
	transition: all 0.3s ease-in-out;
	border-radius: 50%;
	background: #FFF;
	border: 1px solid #242230;
	box-sizing: border-box;
}
.radiobox label::after {
	z-index: 0;
	background: #FFF;
	transform: scale(1,1) translateY(-50%);
	transform-origin:center center;
}

.error .radiobox label::before,
.error .radiobox label::after {
  background: #ffdddd;
}

input[type="radio"]:checked + label::before {
  transform: scale(.9) translateY(-50%);
	border-width: 5px;
	border-color: #FFF;
	border-style: solid;
	background: #242230;
	box-sizing: border-box;
  margin-top: -1px;
}

input[type="radio"]:checked + label:checked::after {
	transform: scale(1.1,1.1) translateY(-50%);
}

.selectbox{
  min-width: 420px;
  display: inline-block;
	position: relative;
	box-sizing: border-box;
  margin-top: -10px;
  white-space: nowrap;
}

.branch_link{
  position: relative;
}

.branch_link p{
  font-size: 18px;
  line-height: 1;
  padding-left: 50px;
  display: inline-block;
}

.branch_link p a{
  padding-bottom: 15px;
  border-bottom: 1px solid #242230;
  display: inline-block;
  padding-right: 35px;
  position: relative;
  cursor: pointer;
}

.branch_link p a::after{
  content: "";
  width: 20px;
  height: 20px;
  background: url("/common/icon_aw.png") no-repeat;
  background-size: 100% auto;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(0);
  transition: .3s;
}

@media screen and (min-width: 768px) {
  .branch_link p a:hover::after{
    transform: translateX(25%);
    transition: .3s;
  }
}

.selectbox.area{
  margin-top: 10px;
  opacity: .6;
  pointer-events: none;
}

.selectbox.area.on{
  opacity: 1;
  pointer-events: auto;
}


.selectbox::after{
  content: "＞";
  font-size: 120%;
  line-height: 1;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) scale(1,.5) rotate(90deg);
}

.selectbox select{
	width: 100%;
	font-size: 18px;
	line-height: 1.3;
  color: #242230;
  padding: 20px 50px 20px 20px;
	text-overflow: ellipsis;
	-webkit-appearance:none;
  appearance: none;	
	box-sizing: border-box;
  cursor: pointer;
  border-radius: 0; 
  border: 0;
  box-shadow: none;
  background: #FFF;
  display: inline-block;
}


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

.selectbox select:focus{
  outline: none;
}

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

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

.checkbox{
  margin: 20px 0 60px;
}

.box p.error{
  margin-top: -50px;
  margin-bottom: 60px;
}

.checkbox label {
  font-size: 18px;
	line-height: 1;
	position: relative;
	margin: 0;
  padding-left: 40px;
	cursor: pointer;
	vertical-align: middle;
	display: inline-block;
  transition: 0.3s;
}

.checkbox input[type="checkbox"] {
	display: none;
}

.checkbox label::before {
	position: absolute;
	z-index: 1;
	top: 1px;
	left: 5px;
	width: 16px;
  height: 10px;
	content: '';
  transition:  transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
  transform: rotate(-45deg) scale(0, 0);
	border: 3px solid #403f41;
	border-top-style: none;
	border-right-style: none;
}
input[type="checkbox"]:checked + label::before {
	-webkit-transform: rotate(-45deg) scale(1, 1);
	        transform: rotate(-45deg) scale(1, 1);
}

.checkbox label::after {
  position: absolute;
  top:-3px;
  left: 0;
  width: 25px;
  height: 25px;
  content: '';
  cursor: pointer;
  border: 1px solid #242230; 
  background: #FFF;
  border-radius: 5px;
}

.btn input[type="submit"],
.btn input[type="button"],
.btn a{
	font-family: 'Noto Sans JP', "Hiragino Sans","Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro","游ゴシック", "Yu Gothic", YuGothic,"メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
	width: 420px;
  height: 100px;
	font-size: 20px;
	line-height: 100px;
  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 a.btn_fbk{
  width: 300px;
  height: 80px;
  line-height: 80px;
  margin-top: 20px;
  background: #5F5F5F;
}

.thanks{
  padding-bottom: 200px;
}

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

.thanks p + p{
 margin-top: 20px;
  margin-bottom: 150px;
}

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

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

.thanks > div a{
  padding-left: 35px;
}

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

@media screen and (min-width: 768px) {
  .thanks a:hover::after{
    transform: translateX(-25%) scale(-1,1);
    transition: .3s;
  }
}


@media screen and (max-width: 767px) {
  
  .contents{
    padding: 20vw 0;
    background: url("../img/bk.png") repeat-x center top #edeceb;  
    background-size: 40vw auto;
  }
  
  .inner{
    width: 100%;
    padding: 0 4vw;
  }
  
  form h1{
    width: 100%;
    font-size: 5vw;
    line-height: 1.3;
    padding: 3.5vw 0;
    margin: 0 auto 50px;
  }

  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: 8vw;
  }

  .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_area.check dl > div dd span{
    padding: 4vw 3vw;
    margin-top: 0;
  }
  
  .input_area.check dl > div dd.check span{
    margin-top: 0;
  }
  
  .input_area dl > div dd.error > p,
  .checkbox.error > p,
  p.error{
    font-size: 3.5vw;
    padding-top: 2vw;
  }
  
  p.red{
    font-size: 3vw !important;
    line-height: 1.5 !important;
    padding-top: 2vw !important;
  }
  
  .input_area dl > div dd.error > p.mb{
    margin-bottom: 2vw;
  }

  input[type="text"] ,
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea{
    width: 100%;
    font-size: 4vw;
    line-height: 1.3;
    padding: 4vw 3vw;
    margin-top: 0;
    vertical-align: middle;
  }
  
  
  input[type='file'] {
    font-size: 3.5vw;
    line-height: 1.3;
    color: #242230;
    padding-right: 0;
    width: 100%;
    display: block;
    cursor: pointer;
    margin-top: 0;
  }

  .file_btn::file-selector-button,
  .file_btn::-webkit-file-upload-button {
    width: 45%;
    font-size: 4vw;
    line-height: 1;
    background-color: #24222f;
    color: #FFF;
    border: none;
    cursor: pointer;
    padding: 3vw 0;
    margin-right: 3vw;
  }

  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;
  }
  
  .radiobox{
    margin-top: 2vw;
  }

  .radiobox label{
    height: 6vw;
    line-height: 6vw;
    padding: 0 10vw 0 8vw;
    display: inline-block;
  }

  .radiobox input[type="radio"]{
    display: none;
  }

  .radiobox label + label{
    margin-left: 70px;
  }

  .radiobox label::before,
  .radiobox label::after {
    width: 6vw;
    height: 6vw;
  }

  .selectbox{
    min-width: 60vw;
    margin-top: 0;
  }

  .branch_link p{
    font-size: 3.8vw;
    line-height: 1.2;
    padding-left: 0;
    display: block;
    position: absolute;
    top: 50%;
    right: 3vw;
    transform: translateY(-50%)
  }

  .branch_link p a{
    padding-bottom: 1vw;
    border-bottom: 1px solid #242230;
    display: inline-block;
    padding-right: 5vw;
    position: relative;
    cursor: pointer;
  }

  .branch_link p a::after{
    width: 4vw;
    height: 4vw;
    top: 2vw;
  }

  .selectbox.area{
    margin-top: 2vw;
  }

  .selectbox::after{
    content: "＞";
    font-size: 120%;
    line-height: 1;
    position: absolute;
    top: 50%;
    right: 3vw;
    transform: translateY(-50%) scale(1,.5) rotate(90deg);
  }

  .selectbox select{
    width: 100%;
    font-size: 18px;
    line-height: 1.3;
    padding: 4vw 12vw 4vw 3vw;
    text-overflow: ellipsis;
    -webkit-appearance:none;
    appearance: none;	
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 0; 
    border: 0;
    box-shadow: none;
    background: #FFF;
    display: inline-block;
  }


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

  .selectbox select:focus{
    outline: none;
  }

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

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

  .checkbox{
    margin: 5vw 0 8vw;
  }
  
  .box p.error{
    margin-top: -6vw;
    margin-bottom: 8vw;
  }

  .checkbox label {
    font-size: 4vw;
    line-height: 1;
    padding-left: 8vw;
  }

  .checkbox label::before {
    top: .5;
    left: 1.2vw;
    width: 3.5vw;
    height: 2vw;
  }

  .checkbox label::after {
    top:-1vw;
    width: 6vw;
    height: 6vw;
    border-radius: 1vw;
  }

  .btn input[type="submit"],
  .btn input[type="button"],
  .btn a{
    width: 80%;
    height: 18vw;
    font-size: 5vw;
    line-height: 18vw;
    margin: 0 auto;
  }
  
  .btn a.btn_fbk{
    width: 80%;
    height: 15vw;
    line-height: 15vw;
    margin-top: 5vw;
  }
  
  .thanks{
    padding: 0 8vw 20vw;
  }
  
  .thanks > div{
    text-align: center;
  }

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

  .thanks h2{
    font-size: 5vw;
    line-height: 1.3;
    margin-bottom: 8vw;
  }
  
  .thanks > div a{
    font-size: 3.8vw;
    padding-bottom: 3vw;
    padding-left: 6vw;
  }

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