@charset "utf-8";

/**
 *
 *  フォーム用CSS
 *　form
 */

/*--------------------------------------------------------------------------
   Content
---------------------------------------------------------------------------*/

input:focus:placeholder-shown, textarea:focus:placeholder-shown {
  color: transparent;
}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder, textarea:focus::-moz-placeholder {
  color: transparent;
}

input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder {
  color: transparent;
}

input:focus::-ms-input-placeholder, textarea:focus::-ms-input-placeholder {
  color: transparent;
}



/* テキストボックス・テキストエリア
--------------------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea{
	box-sizing:border-box;
	max-width: 600px;
  width: 100%;
	padding: 0.8em 1em;
  border: 1px solid #d8d8d8;
  background:#FFF;
	font-size:1.8rem;
	line-height: 1.4;
	font-family:"Noto Sans JP","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","游ゴシック体", "Yu Gothic", YuGothic,"メイリオ",Meiryo ,"ＭＳ Ｐゴシック" ,"MS P Gothic" ,sans-serif;
}
textarea{
	height: 250px;
}

input::placeholder,
.contact-form textarea::placeholder {
  color: #c7c7c7;
}
/* IE */
input:-ms-input-placeholder,
.contact-form textarea:-ms-input-placeholder {
  color: #c7c7c7;
}
/* Edge */
input::-ms-input-placeholder,
.contact-form textarea::-ms-input-placeholder {
  color: #c7c7c7;
}



/* @SP */
@media all and (max-width: 768px) {
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="password"],
	.contact-form textarea{
		font-size:1.6rem;
	}
	textarea{
		height: 200px;
	}
}


/* セレクトボックス
--------------------------------------------------------------------------*/
select::-ms-expand {
    display: none;
}
.form_select{
  position: relative;
	display: inline-block;
}
.form_select::after {
  display: block;
  content: " ";
  position: absolute;
  top: 50%;
  right: 25px;
	transform: translateY(-25%);
  width: 0;
  height: 0;
	border: solid transparent;
	border-width: 10px 8px;
	border-top-color: #132242; 
  pointer-events: none;
}
.form_select select{
	color: #000;
	font-family:"Noto Sans JP","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","游ゴシック体", "Yu Gothic", YuGothic,"メイリオ",Meiryo ,"ＭＳ Ｐゴシック" ,"MS P Gothic" ,sans-serif;
}
select:invalid {
  color: #D8D8D8;
}

.form_select select option:hover{
  background: linear-gradient(red, red);
}
.form_select select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
  position: relative;
  max-width:600px;
  width: 100%;  
  padding: 0.8em 1em;
  border: 1px solid #c2cdd7;
  background:#FFF;
	font-size: 1.7rem;
	cursor:pointer;
}


/* @SP */
@media all and (max-width: 768px) {
	.form_select select {
		font-size: 1.6rem;
	}
	.form_select:after{
		right: 18px;
		border-width: 8px 7px;
	}
}




/* ラジオボタン・チェックボックス
--------------------------------------------------------------------------*/
input[type="radio"], input[type="checkbox"] {
  opacity:0;
}

span.checkbox{
	position: relative;
	display: flex;
	align-items: center;
}

input[type="checkbox"]+label,
input[type="checkbox"]+label span{
	cursor: pointer;
	font-size: 1.6rem;  
}
input[type="checkbox"]+label span{
	padding-left: 20px;	
}

input[type="checkbox"]+label span:before {
  position: absolute;
  left: 0;
  top: 50%;
	transform: translateY(-50%);
  display: block;
  content: "";
  width: 25px;
  height: 25px;
  border: 1px solid #d8d8d8;
  background:#FFF;
}
input[type="checkbox"]:checked+label span:before {
	background:#000;
  border-color: #000;
}

input[type="checkbox"]:checked+label:before {
  position: absolute;
  left: 5px;
  top: 18px;
  display: block;
  content: "";
  width: 8px;
  height: 3px;
  background: #FFF;
  transform: rotate(40deg);
  transform-origin: right center;
  z-index:5;
}

input[type="checkbox"]:checked+label:after {
  display: block;
  position: absolute;
  left: 11px;
  top: 18px;
  content: "";
  width: 16px;
  height: 3px;
  background: #FFF;
  transform: rotate(-50deg);
  transform-origin: left center;
  z-index:5;
}

input[type="radio"]+label{
	position: relative;
	padding-left: 4px;
  padding-right: 20px;
	cursor: pointer;	
}
input[type="radio"]+label:before{
  display: block;
  position: absolute;
  left: -21px;
  top:2px;
  content: "";
  border: 1px solid #000;
  margin-right: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:#FFF;	
}
input[type="radio"]:checked+label:after {
  display: block;
  position: absolute;
  width: 12px;
  height: 12px;
  content: "";
  left: -18px;
  top: 5px;
  background-color: #ff5810;
  border-radius: 50%;
}


/* @SP */

@media all and (max-width: 768px) {
	input[type="checkbox"]+label,
	input[type="checkbox"]+label span{
		font-size: 1.4rem;  
	}
	input[type="checkbox"]+label span{
		padding-left: 15px;	
	}
}


/* 送信ボタン
--------------------------------------------------------------------------*/

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"]{
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus{
  outline-offset: -2px;
}

input[type="submit"],
.btn-submit input[type="button"]{
	display: block;
  width: 100%;
	height: 60px;
  margin: 0 auto;  
	background: #000;
	font-size: 1.6rem;
	line-height: 60px;
	font-weight: 500;
	text-align: center;
	color: #FFF;
  font-family:"Noto Sans JP","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","游ゴシック体", "Yu Gothic", YuGothic,"メイリオ",Meiryo ,"ＭＳ Ｐゴシック" ,"MS P Gothic" ,sans-serif;
}
.btn-back input[type="button"]{
	display: block;
  width: 100%;
	height: 60px;
  margin: 0 auto;  
	background: #d8d8d8;
	font-size: 1.6rem;
	line-height: 60px;
	font-weight: 500;
	text-align: center;
	color: #000;
  font-family:"Noto Sans JP","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","游ゴシック体", "Yu Gothic", YuGothic,"メイリオ",Meiryo ,"ＭＳ Ｐゴシック" ,"MS P Gothic" ,sans-serif;
}
.btn-submit,
.btn-back{
  position: relative;
  width: 280px;
  margin: 0 auto;  
}
.btn-submit::after,
.btn-back::after{
  position:absolute;
  right: 10px;
  top: 45%;
  transform: translateY(-50%);
  display: block;
  content: "";
  width: 36px;
  height: 8px;
  background:url(../../img/common/arw_btn_w.svg) no-repeat right center;
  background-size: auto 100%;
  transition: .2s;
  pointer-events: none;   
}
.btn-back::after{
	background-image:url(../../img/common/arw_btn.svg);
}
.btn-submit:hover::after,
.btn-back:hover::after{
  right: 7px;
}

/* @SP */

@media all and (max-width: 768px) {
	input[type="submit"],
	input[type="button"]{
		height: 60px;
		padding: 0;
		text-align: center;
		line-height: 60px;
		font-size: 1.4rem;
	}
	.btn-submit,
	.btn-back{
		max-width: 380px;
		width: 100%;
	}
	
}
