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

input[type="button"],input[type="text"],input[type="submit"],input[type="image"],textarea{
	outline: none;
}
select,
textarea,
input[type="text"],
input[type="search"],
input[type="email"],
input[type="tel"]{
	border: solid 1px #dcdcdc;
	border-radius: 5px;
	padding: 8px 10px;
	background: #fff;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	color: #000;
	font-size: 1.6rem;
	line-height: 1.6;
}
input[type="button"]{
	-webkit-appearance: none;
	font-size: 1.9rem;
}
button,
input[type="submit"]{
	border: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	font-size: 1.9rem;
	vertical-align: middle;
}
.form1{ width: 140px; }
.form2{ width: 220px; }
.form3{ width: 320px; }
.form450{ width: 450px; }
.form570{ width: 570px; }
.form_all{ width: 100%; }
.add_text{
	width: 15%;
}

@media screen and (max-width: 768px){

	select,
	textarea,
	input[type="text"],
	input[type="search"],
	input[type="tel"]{
		padding: 8px 8px;
	}
	.form2,
	.form3,
	.form450,
	.form570{
		width: 100%;
	}
	.add_text{
		width: 100%;
	}

}/*END*/



/*必須・任意*/
.hissu,
.nini{
	display: inline-block;
	line-height: 1 !important;
	padding: 6px 12px 6px 12px;
	margin-left: 15px;
	vertical-align: middle;
	border-radius: 5px;
	font-size: 1.2rem !important;
	font-weight: normal;
	box-sizing: border-box;
}
.wpcf7-list-item:has(.privacy_hissu){
	position: relative;
}
.wpcf7-list-item:has(.privacy_hissu)::after{
	content: "必須";
	font-size: clamp(12px,1.625vw,14px);
	display: inline-block;
	line-height: 1 !important;
	padding: 6px 12px 6px 12px;
	border-radius: 5px;
	font-size: 1.2rem !important;
	font-weight: normal;
	box-sizing: border-box;
	color: #fff;
	background: #a40000;
}
.hissu{
	color: #fff;
	background: #a40000;
}
.nini{
	color: #fff;
	background: #a9a9a9;

}
@media screen and (max-width: 768px){
	/*必須・任意*/
	.hissu,
	.nini{
		padding: 6px 12px;
		margin-left: 4px;
		font-size: 1.2rem !important;
		font-weight: normal;
		vertical-align: 1px;
	}
}/*END*/

.btn_send_wrap{
	width: 90%;
    max-width: 340px;
    position: relative;
    margin-inline: auto;
}
.btn_send{
	width: 100%;
    max-width: 340px;
    background-color: #000;
    text-decoration: none;
    padding: 25px 30px;
    letter-spacing: 2px;
    color: #fff;
    line-height: 1;
    text-align: left;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.4s;
    position: relative;
    font-size: 1.9rem;
    font-weight: normal;
}
.btn_send_wrap:before{
	content: '〉';
	width: auto;
	position: absolute;
	transform: translateY(-50%);
	top:50%;
	right: 5%;
	z-index: 1;
	color: #fff;
	font-size: 2.4rem;
}

.btn_send:hover,btn_send_wrap:hover{
	opacity: 0.7;
}


.btn_back{
	width: 90%;
    max-width: 300px;
    background-color: #A9A9A9;
    text-decoration: none;
    padding: 17px 35px;
    letter-spacing: 1px;
    color: #fff;
    line-height: 1;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.4s;
    position: relative;
    font-size: 1.6rem;
	border: none;
}
.btn_send + .wpcf7-spinner{
	position: absolute;
}
/* contact form7 */
.wpcf7-form-control:has(input[type="checkbox"],input[type="radio"]):not(:has([name="privacy"])){
	display: grid;
	grid-template-columns: repeat(2,1fr);
	row-gap: 0.5em;
}
.wpcf7-form-control.chance:has(input[type="checkbox"],input[type="radio"]):not(:has([name="privacy"])){
	display: flex;
	flex-wrap: wrap;
	column-gap: 1.8em;
}

@media screen and (max-width: 599px) {
	.wpcf7-form-control:has(input[type="checkbox"],input[type="radio"]):not(:has([name="privacy"])){
		grid-template-columns: 1fr;
	}
}
.place_box.wpcf7-form-control:has(input[type="checkbox"]){
	/* column-count: 2; */
	display: block;
}
.place_box.wpcf7-form-control:has(input[type="checkbox"]) .wpcf7-list-item{
	width: 49%;
}
@media screen and (max-width: 599px) {
	.place_box.wpcf7-form-control:has(input[type="checkbox"]) .wpcf7-list-item{
		width: 100%;
	}
}
.place_box.wpcf7-form-control:has(input[type="checkbox"]) .wpcf7-list-item:has(+ p){
	margin-bottom: 1.5em;
}
.wpcf7-form-control.vertical{
	display: grid;
	grid-template-columns: auto!important;
}
.wpcf7-form-control input[type="radio"],
.wpcf7-form-control input[type="checkbox"]{
	opacity: 0;
	appearance: none;
	position: absolute;
}
.wpcf7-list-item{
	margin: inherit;
	padding: 0.5em 0;
}
.wpcf7-list-item-label {
	padding-left: 2em;
	position:relative;
	line-height: 1.5;
}

.wpcf7-form-control input[type="checkbox"] + .wpcf7-list-item-label::before,
.wpcf7-form-control input[type="radio"] + .wpcf7-list-item-label::before{
	content: "";
	position: absolute;
	top: 0px;
	left: 0;
	background: #fff;
	border: 1px solid #bebbb0;
}

.wpcf7-form-control input[type="checkbox"] + .wpcf7-list-item-label::before{
	width: 18px;
	height: 18px;
	border-radius: 4px;
}
.wpcf7-form-control input[type="radio"] + .wpcf7-list-item-label::before{
	width: 20px;
	aspect-ratio: 1/1;
	border-radius: 50%;
}
.wpcf7-form-control input[type="radio"]:checked + .wpcf7-list-item-label::after,
.wpcf7-form-control input[type="checkbox"]:checked + .wpcf7-list-item-label::after{
	content: "";
	display: block;
	position: absolute;
}

/* checkbox check時 */
.wpcf7-form-control input[type="checkbox"]:checked + .wpcf7-list-item-label::before,
.wpcf7-form-control input[type="radio"]:checked + .wpcf7-list-item-label::before{
	background-color: #df6400;
}
.wpcf7-form-control input[type="checkbox"]:checked + .wpcf7-list-item-label::after{
	left: 6px;
	top: 3px;
	width: 4px;
	height: 9px;
	transform: rotate(40deg);
	border-bottom: 3px solid #fff;
	border-right: 3px solid #fff;
}
/* radio check時 */
.wpcf7-form-control input[type="radio"]:checked + .wpcf7-list-item-label::after{
	left: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	top: 7px;
}
/* layout */
.date_box{
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 3.5%;
	align-items: center;
	row-gap: 30px;
}
@media screen and (max-width: 599px) {
	.date_box{
		display: flex;
		flex-wrap: wrap;
		row-gap: 0.5em;
	}
	.date_box span{
		display: inline-block;
		width: 100%;
	}
	.date_box span:nth-of-type(2){
		margin-top: 30px;
	}
	.date_box label{
		width: 100%;
	}
}
.form_list{
	display: grid;
	grid-template-columns: 28% 1fr;
	border-top: 1px solid #bebbb0;
	line-height: 1.5;
	font-feature-settings: "palt";
}
@media screen and (max-width: 599px) {
	.form_list{
		grid-template-columns: 1fr;
	}
}
@media screen and (min-width: 600px) {
	.form_list:last-of-type{
		border-bottom: 1px solid #bebbb0;
	}
}
.form_list dt{
	padding: 1em;
	border-right: 1px solid #bebbb0;
	background-color: #f6f6f6;
}
.form_list dd{
	padding: 1em 1.5em;
}
@media screen and (max-width: 599px) {
	.form_list dt{
		padding: 0.5em;
		border-right: none;
		border-bottom: 1px solid #bebbb0;
	}
	.form_list dd{
		padding: 1em 0.5em;
	}
}
/* エラー時 */
.wpcf7-form-control:has(.privacy_hissu) + .wpcf7-not-valid-tip{
	background-color: #fed7d7;
	padding: 1em;
}
.form_list dd:has(.wpcf7-not-valid-tip){
	background-color: #fed7d7;
}
/* .select_ttl{
	margin-top: 10px;
} */
.dis_none{
	display: none;
}