@charset "utf-8";

#form-input #container,#form-end #container,#form-conf #container{
	background-image: none;
}
#form-input #container #contact,#form-end #container #contact,#form-conf #container #contact{
	padding: 65px 15px;
}
@media screen and (max-width:840px) {
  #form-input section,#form-end section,#form-conf section{
	  padding-top: 45px;
  }
	#form-input #container #contact,#form-end #container #contact,#form-conf #container #contact{
	padding: 65px 0;
}
}

.form-area {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}
.formTable {
  width: 100vw;
  max-width: 100%;
  border-collapse: collapse;
}

.formTable th {
  width: 340px;
  letter-spacing: 0.05em;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding: 1em;
  padding-top: 1.8em;
  position: relative;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border-gray);
}
.formTable td {
  letter-spacing: 0.05em;
  font-size: 16px;
  line-height: 1.4;
  padding: 1em;
  border-bottom: 1px solid var(--color-border-gray);
}
.formTable tr:first-child th,.formTable tr:first-child td {
  border-top: 1px solid var(--color-border-gray);
}
.formTable th[colspan="2"]{
  border-bottom:none;
}
.formTable td[colspan="2"]{
  padding-top: 0.5em;
  padding-left: 1em;
}
@media screen and (max-width: 720px) {
  .formTable {
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 20px);
    border-collapse: collapse;
  }
  .formTable th {
    width: 100%;
    display: block;
    font-size: 15px;
    padding-bottom: 0;
    border: none;
  }
  .formTable td {
    display: block;
    font-size: 15px;
    padding-left: 1em;
  }
  .formTable tr:first-child td {
    border-top: none;
  }
}
.formTable th span {
  position: absolute;
  top: 26px;
  left: calc(340px - 100px); /* 左の数字はthの幅　*/
  border-radius: 6px;
  width: 4em;
  display: inline-block;
  text-align: center;
  font-size: 14px;
  line-height: 2;
  padding-bottom: 2px;
}
.formTable th span.required {
  background: var(--color-primary);
  color: #fff;
}
.formTable th span.arbitrary {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}
@media screen and (max-width: 720px) {
  .formTable th span {
    left: inherit;
    right:20px;
    border-radius: 4px;
    line-height: 20px;
    font-size: 12px;
  }
}
.formTable input[type=text],.formTable input[type=tel],.formTable input[type=number],
.formTable input[type=password],.formTable input[type=email],.formTable select {
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  background: #eee;
  font-size: 16px;
  color: #000;
}
.chk_wrap{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.chk_list {
  max-width: 250px;
  display: flex;
	flex-direction: row;
  list-style: none;
  flex-wrap: wrap;
  column-gap: 20px;
}
.chk_list li{
	width: calc(250px / 2 - 10px);
}
.chk_list li + li{
  margin-bottom: 15px;
}
.formTable input[type="checkbox"] ,.formTable input[type="radio"],.chk_wrap input[type="checkbox"] ,.radio_wrap input[type="radio"] {
  width: 25px;
  height: 25px;
  margin-right: 5px;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid var(--color-primary);
  accent-color: var(--color-primary); /* チェック時の背景色　*/
}
.formTable label input[type=text]{
  margin-top: 0.2em;
}
@media screen and (max-width: 720px) {
  .formTable input,.formTable select {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
	ul.chk_list .chk_wrap span{
		margin-top: 14px;
	}
}
.formTable textarea {
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  padding: 0.5em 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  background: #eee;
  font-size: 18px;
}
@media screen and (max-width: 720px) {
  .formTable textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
input[type="button"]{
  transition: all 0.3s;
}
input[type="button"]:hover{
  opacity: 0.5;
}
@media screen and (max-width: 720px) {
  input[type="submit"]  {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}
input[type="submit"],.btn_box a.btn_thanks{
  /*ボタンの形状*/
  display: block;
  color: #fff;
  width: 32%;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  padding: 18px 30px;
  margin: 35px auto 0;
  border-radius: 30px;
  text-decoration: none;
  outline: none;
  /*背景の色と形状*/
  background-image: linear-gradient(150deg, rgba(28, 178, 225, 1) 10%, rgba(23, 210, 191, 1) 90%);
  background-position: 1% 50%;
  background-size: 200% auto;
  /*アニメーションの指定*/
  transition: all 0.3s ease-out!important;
  transition-property: all;
}
@media (max-width: 768px){
	input[type="submit"],.btn_box a.btn_thanks{
		  width: 60%;
	}
}
/*hoverした際の、背景の場所とテキスト色の変更*/
input[type="submit"]:hover,.btn_box a.btn_thanks:hover {
  color: #fff;
  background-position: 99% 50%;
  transform: translateY(-4px)!important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

input.btn-back  {
    /*ボタンの形状*/
  display: block;
  color: #fff;
  width: 32%;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  padding: 18px 30px;
  margin: 35px auto 0;
  border-radius: 30px;
  text-decoration: none;
  outline: none;
  /*背景の色と形状*/
  background-color: var(--color-gray);
  /*アニメーションの指定*/
  transition: all 0.3s ease-out!important;
  transition-property: all;
}
input.btn-back:hover{
	  color: #fff;
	opacity: 0.8;
	  transform: translateY(-4px)!important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	
}
@media screen and (max-width: 720px) {
  input.btn-back  {
    margin-top: 24px;
      width: 60%;
  }
}
.formTable input:invalid,.formTable textarea:invalid,.formTable input.error,.formTable textarea.error {
    background: #ffc0cb ;
}
.formTable input:focus,.formTable textarea:focus {
  border: solid 3px var(--color-primary);
  outline: 0;
}
.formTable input:invalid:focus,.formTable textarea:invalid:focus {
  border: solid 3px red;
  outline: 0;
}
label.error{
  display: block;
  color: red;
  background: Cornsilk;
  font-size:0.8em;
  padding:0.2em 1em;
  margin-top: 0.5em;
  border-radius:0.5em;
  width: 100%;
}
.zip_input{
  margin-bottom: 1em;
  position: relative;
}
.zip_input .zip_post {
  font-size: 1.2rem;
  padding-right: 10px;
}
.zip_input .zip_space {
  padding: 0 10px;
}
.zip_input input{
  width: 100px!important;
}
.formTable select.w50p,.formTable input.w50p{
  width: 50%;
}
.zip_input input[type="number"]::-webkit-outer-spin-button,
.zip_input input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.zip_input input[type="number"] {
  -moz-appearance: textfield;
}
.zip_input .zip3 label.error{
  position: absolute;
  top:-25px;
  width: auto;
  display: block;
}
.zip_input .zip4 label.error{
  display: block;
  width: auto;
  margin-left: 10em;
}
@media screen and (max-width: 720px) {
  .zip_input .zip3 label.error{
  top:-1em;
  }
}
.contact_txt {
  margin: 0 auto;
  padding: 0 20px 40px;
}
.contact_btm {
  margin: 40px auto;
  padding: 0 20px 0;
}
.contact_btm a {
  text-decoration: underline;
}
.contact_btm a:hover {
  text-decoration: none;
}
.contact_btm .agree{
  max-width: 400px;
  margin: 20px auto 0;
  background-color: var(--color-light-gray);
  padding: 1em 2em;
}
@media (max-width: 768px){
	.contact_btm .agree{
  padding: 1em 1em;
}
	.contact_btm .agree .chk_wrap span{
  margin-top: 0px;
}
}
/* 確認画面　*/
#form-conf .formTable th {
  padding: 0.5em 1em;
}
#form-conf .formTable td {
  padding: 0.5em 1em;
}
@media screen and (max-width: 720px) {
  #form-conf .formTable th {
    padding: 0.5em 1em 0;
  }
  #form-conf .formTable td {
    padding: 0.5em 1em;
  }
}
/* 完了画面　*/
.contact_thanks{
  margin: 0 auto;
  padding: 0 20px 32px;
  text-align: center;
}
.contact_thanks .ttl_sub{
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}



#form-input #page-header,#form-end #page-header,#form-conf #page-header{
	height: auto;
}
#form-input .page-title h1,#form-end .page-title h1,#form-conf .page-title h1{
	position: relative;
  padding: 2rem;
  font-size: 40px;
  text-align: center;
  color: var(--color-blue-2);
  font-weight: 500;
  border-left: none
}
#form-input .page-title h1::before,#form-end .page-title h1::before,#form-conf .page-title h1::before{
  content: attr(data-en);
  display: block;
  color: var(--color-blue-2);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.25;
}
@media (max-width: 768px){
	#form-input .page-title h1,#form-end .page-title h1,#form-conf .page-title h1{
		font-size: 24px;
	}
}