/* ----------------------------------------
  Contact form
-------------------------------------------*/

#mailform{
  width: min(84%,800px);
  margin: 0 auto;
	text-align: left;
}
#mailform .form{
  padding-top: 10%;
}

/* form reset css */
input,
button{
  border: none;
  outline: none;
  border-radius: 0;
}
.form dd label{
  padding: 0;
  margin: 0;
}
.form dd label input{
  width: auto;
  padding: 0;
  border: 0;
  margin: 0;
}

/* form */

.form dl,
.form input,
.form textarea{
  border: none;
}
.form dl{
  width: 100%;
}
.form dd input,
.form dd textarea{
	box-sizing: border-box;/*横幅ぴったりにする*/
	width: 100%;
	padding: 24px 20px;
	border-radius: 10px;
	background-color: #fff;
	font-size: clamp(14px,2.154vw,16px);
}
.form dt{
	padding-top: 2%;
	font-weight: bold;
}
.form dt p{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.form dt p span{
	width: auto;
	height: 28px;
	line-height: 28px;
	border-radius: 14px;
	text-align: center;
	margin-right: 10px;
	padding: 0 14px;
	color: #fff;
	font-size: clamp(11px,1.692vw,13px);
}
.form .hissu dt p span{
	background-color: var(--red);
}
.form .any dt p span{
	background-color: #999;
}
.form dd{
	font-size: clamp(13px,2.0vw,16px);
  position: relative;
	padding: 2% 0;
}
.form dl.agreement{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.form dl.agreement dt{
	width: 25%;
}
.form dl.agreement dd{
  width: 70%;
}
.form dl.agreement dd .text{
	padding-bottom: 3%;
}
.form dl.agreement dd .text a{
  color: var(--red);
}
.form dl.agreement dd .text a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* checkbox_btn */

.form dd label{
  display: inline-block;
  padding: 18px 30px;
  margin: 0 10px 10px 0;
  border-radius: 6px;
  background-color: rgba(var(--bg-color2-rgb),0.5);
}
.form dd label input{/* チェックボックスの横並び */
  width: auto;
  border: 0;
  padding: 0;
  margin-right: 6px;
}

/* send_btn */

.form .send{
	width: 100%;
	text-align: center;
}
.form .send input{
	width: min(260px,100%);
  height: 80px;
	border-radius: 40px;
  margin: 3% auto 0;
  color: #fff;
	font-weight: bold;
	letter-spacing: .15em;
	font-size: clamp(13px,2.0vw,16px);
  background-color: var(--font-black);
	transition: all .2s;
}
.form .send input:hover{
  background-color: var(--red);
}

/* Error message */

.wpcf7-not-valid-tip,
.wpcf7-response-output{
  display: inline-block;
  color: red;
  font-size: 90%;
  margin-top: 10px;
  padding: 0 10px;
  border-radius: 2px;
  background-color: #ffeeee;
}
/* フォーム下部に表示されるエラーメッセージ */
.wpcf7-response-output{
}
/* フォーム上部に表示されるエラーメッセージ */
.screen-reader-response {
	display: none;
}

/* プレースホルダー */
:-moz-placeholder{ color: #bbb;}
:-ms-input-placeholder{ color: #bbb;}
::-webkit-input-placeholder{ color: #bbb;}


@media screen and (max-width: 650px){
	
  .form dd input,
	.form dd textarea{
		padding: 18px 14px;
		border-radius: 6px;
	}
	.form dt p span{
		height: 24px;
		line-height: 24px;
		border-radius: 12px;
		margin-right: 6px;
		padding: 0 10px;
		color: #fff;
	}
  .form dd{
		padding: 3% 0;
	}
	.form dl.agreement dt,
	.form dl.agreement dd{
		width: 100%;
	}
  
  /* checkbox_btn */
  
  .form dd label{
    padding: 12px 18px;
  }
  
  /* send_btn */
  
  .form .send input{
		height: 60px;
		border-radius: 30px;
  }
}