@charset "utf-8";


/*-------------------------------------------------------------------------------------
フォーム用CSS__各パーツ
----------------------------------------------------------------------------------------*/
input,
button,
select,
textarea {
  border: 1px solid var(--gray-color);
  padding: 12px;
  background: #fff;
  border-radius: 5px;
  font-size: 16px;
}
input:focus,
button:focus,
select:focus,
textarea:focus{
  outline: 1px solid var(--main-color);
  border: 1px solid var(--main-color);
}
input[type='text'],
textarea{
  width: 100%;
}
textarea {
  min-height: 200px;
}

@media screen and (max-width:750px){
  textarea {
  min-height: 320px;
}
}


/*-------------------------------------------------------------------------------------
カスタム（ラジオボタン/チェックボックス/セレクトボタン/送信ボタン）
----------------------------------------------------------------------------------------*/
input[type="radio"],
input[type="checkbox"] {
    opacity: 0;
    padding: 0;
}
select::-ms-expand {
  display: none;
}

/*
カスタムラジオボタン(labelタグで囲う必要あり)
--------------------------------------------------------*/
input[type="radio"] + span {
  position: relative;
  padding-left: 2rem;
  margin-right: 0.8rem;
}
input[type="radio"] + span::before {
  content: "";
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  border: 0.1rem solid var(--main-color);
  background: var(--white-color);
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
input[type="radio"]:checked + span::after {
  content: "";
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--main-color);
  top: 50%;
  transform: translateY(-50%);
  left: 0.3rem;
}

/*
カスタムチェックボックス(labelタグで囲う必要あり)
--------------------------------------------------------*/
input[type="checkbox"] + span{
  position: relative;
  padding-left: 20px;
  margin-right: 8px;
  font-size: 16px;
}
input[type="checkbox"] + span::before{
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #8E8E8E;
  vertical-align: -5px;
  background: var(--white-color);
  border-radius: 3px;
}
input[type="checkbox"]:checked + span::before{
  background: var(--orange-color);
   border: 1px solid var(--orange-color);
}
input[type="checkbox"]:checked + span::after {
  position: absolute;
  content: '';
  top: 40%;
  transform: rotate(50deg) translateY(-50%);
  left: 0.1rem;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--white-color);
  border-bottom: 2px solid var(--white-color);
}

/*
カスタムセレクトボタン（selectタグには疑似要素をつけられないため、大枠の.selectにつける）
--------------------------------------------------------*/
.select {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  width: 100%;
}
select {
  width: 100%;
  border: 1px solid var(--gray-color);
  padding-right: 2rem;
  outline: 0;
  background: var(--white-color);
  background-image: none;
  box-shadow: none;
  text-indent: 0.01px;
  text-overflow: ellipsis;
} 
.select::before {
  position: absolute;
  content: "";
  border-color: #777 transparent transparent transparent;
  top: 50%;
  transform: translateY(-50%);
  right: 9px;
  width: 0;
  height: 0;
  border-width: 5px 4px 0 4px;
  border-style: solid;
  pointer-events: none;
}

/*
カスタムボタン（submit／reset／image）
--------------------------------------------------------*/
#form .btnWrap{
  margin: 2.4rem auto;
  text-align: center;
}
#form .btn{
  display: inline-block;
  max-width: 210px;
  width: 100%;
  height: 5rem;
  line-height: 1;
  text-align: center;
  font-weight: 700;
  border: none;
  transition: all 0.3s;
  background: url(../img/submit-btn.png) no-repeat;
  background-size: contain;
}
#form .btn:hover{
  opacity: 0.8;
}
input.submit-btn{
  background: transparent;
  padding: 0;
}
input.reset-btn{
  background: #999;
  color:var(--white-color);
}







/*-------------------------------------------------------------------------------------
フォームコンテンツ
----------------------------------------------------------------------------------------*/
/*
layout
--------------------------------------------------------*/

#formWrap {
	width:800px;
	margin:0 auto;
	color:#000;
  font-size: 1.6rem;
}

@media screen and (max-width:480px) {
  #formWrap {
    width:95%;
    margin:0 auto;
  }
}

/*
form-table
--------------------------------------------------------*/
table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable th{
  padding: 1.2rem 4.8rem 1.2rem 1.2rem;
  font-size: 16px;
}
table.formTable td{
  padding: 0.8rem 1.2rem 0.8rem 2rem;
}
table.formTable th{
  position: relative;
	width:30%;
	font-weight:700;
	text-align:left;
  vertical-align: top;
}

.label_wrap{
  margin-bottom: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.4rem;
}
.other_txt{
  margin-bottom: 0.8rem;
  font-weight: 700;
  font-size: 16px;
}

/* 必須 */
.required{
  position: absolute;
  right: 0px;
  top: 2rem;
  display: inline-block;
  border-radius: 4px;
  margin-left: 4px;
  padding: 4px 8px;
  background: #FA8611;
  line-height: 1;
  font-size: 12px;
  color: #fff;
}

@media screen and (max-width:750px){
  .label_wrap{
    display: block;
  }
  .label_wrap label{
    display: block;
    margin-bottom: 0.6rem;
  }
  .required{
    top: 0.6rem;
  }
}



@media screen and (max-width:750px) {
  table.formTable th, table.formTable td {
    width:100%;
    display:block;
  }
  table.formTable th {
    padding: 0 0 0.8rem 0;
  }
  table.formTable td{
    padding: 0 0 1.6rem 0;
  }
  form input[type="text"], form textarea {
    display:block;
  }
  form input[type="submit"], form input[type="reset"]{
    display:block;
    width:100%;
  }

}


.p-postal-code{
  width: 40%!important;
  min-width: 100px;
  display: inline-block!important;
  margin-left: 1rem;
}

@media screen and (max-width:750px){
  .p-postal-code{
    width: 90%!important;
  }
}

/*-------------------------------------------------------------------------------------
確認画面
----------------------------------------------------------------------------------------*/