[v-cloak] {
  display: none;
}

i {
	font-style: normal;
}

main.contact {
	.sec01 {
		margin-top: 0;
		&::before{
		    content: '';
		    position: absolute;
		    top: 0;
		    left: 0;
		    background-image: url("../img/mv_bg_pattern01.png");
		    background-repeat: repeat;
		    background-position: top;
		    width: 100%;
		    height: 6px;
		}
	}
}



.formTable {
	max-width: 800px;
    margin-inline: auto;
	th,td {
		position: relative;
		padding: 20px 0 20px 0;
		vertical-align: top;
		text-align: left;
		@media (max-width: 1200px) {
			display: block;	
		}
	}
	th {
		font-weight: 600;
		word-break: auto-phrase;
		white-space: nowrap;
		padding-right: 30px;
		@media (max-width: 1200px) {
			padding-bottom: 0;
		}
		.ex {
			font-size: 14px;
			font-weight: 400;
		}
		&.inputGap {
			padding-top: 30px;
			@media (max-width: 1200px) {
				padding-top: 10px;
			}
		}
	}
	td {
		font-weight: 400;
		width: 100%;
		@media (max-width: 1200px) {
			padding-top: 0;
			padding-bottom: 10px;
		}
		input[type="text"],input[type="email"],input[type="tel"],textarea {
			@media (max-width: 1200px) {
				margin-top: 7px;
			}
		}
		.labelList {
			display: flex;
			flex-wrap: wrap;
			gap: 0 1em;
			> li {
			
			}
		}
	}
	+ p {
		margin-top: 40px;
		font-size: 15px;
		text-align: center;
	}
}
th,p {
	&.required {
		i {
			position: relative;
			display: block;
			&::after {
				position: relative;
				display: inline-block;
				content: "必須";
				top: -3px;
				bottom: 0;
				margin: auto;
				background: #e22382;
				font-size: 10px;
				line-height: 1;
				padding: 4px 8px;
				color: #fff;
				margin-left: 1em;
				border-radius: 10px;
				letter-spacing: 0.1em;
			}
		}
	}
}
p.required {
	text-align: center;
}

.confirm {
	.formTable {
		td {
			border-bottom: 1px dotted #ddd;
		}
	}
}


::-webkit-input-placeholder { color: rgba(0,0,0, .5); opacity: 1; transition: 0.3s ease;}
::-moz-placeholder { color: rgba(0,0,0, .5); opacity: 1; transition: 0.3s ease;}
:-moz-placeholder { color: rgba(0,0,0, .5); opacity: 1; transition: 0.3s ease;}
:-ms-input-placeholder { color: rgba(0,0,0, .5); opacity: 1; transition: 0.3s ease;}
::-placeholder { color: rgba(0,0,0, .5); opacity: 1; transition: 0.3s ease;}

:focus::-webkit-input-placeholder { opacity: .7;}
:focus:-moz-placeholder { opacity: .7;}
:focus::-moz-placeholder { opacity: .7;}
:focus:-ms-input-placeholder { opacity: .7;}
:focus::-placeholder { opacity: .7;}

select {
	//padding: 5px 10px;
}
label {
	cursor: pointer;
}

input[type="checkbox"], input[type="radio"] {
	vertical-align: middle;
	transition: 0.3s ease;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
	border-radius: 7px;
	padding: 10px 20px;
	background: #fff;
	width: 100%;
	transition: 0.3s ease;
	border-radius: 4px;
	transition: .2s ease-in-out;
	outline: none;
	border: 1px solid #ddd;
}
input[type="tel"] {
	width: 20em;
}
input:focus, select:focus, textarea:focus {
	outline: none;
}

select[required="required"],
input[required="required"] {
	&:user-valid,
	&:valid {
		border: 2px solid $valid;
		+.check .ok {
			display: block;
		}
	}
	&:user-invalid {
		border: 2px solid $invalid;
		+.check .error {
			display: block;
		}
	}
}

.labelList:has(*:user-invalid) {
	+.check .error {
		display: block;
	}	
}
.labelList:has(*:user-valid),
.labelList:has(*:checked) {
	+.check .ok {
		display: block;
	}	
}

.check {
	.ok,
	.error {
		display: none;
		font-size: 12px;
		margin: 5px 0 0 0;
	}
}
.ok { color: $valid; }
.error { color: $invalid;}


input {
	&#industry_other {
		display: block;
		margin-top: 20px;
		width: 20em;
		padding: 10px;
	}
}

.leadtext {
	text-align: center;
	font-size: 15px;
}

.btnList {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 60px auto 0;
	gap: 80px;
	@media (max-width: 1200px) {
		gap: 30px;
		margin-top: 40px;
	}
	> li {
		width: calc((100% - (80px * 1)) / 2);
		text-align: center;
		@media (max-width: 1200px) {
			width: 100%;
		}
		p {
			text-align: center;
		}
	}
}

button {
	position: relative;
    font-size: 17px;
    background-color: #ec6d94;
    padding: 10px 40px 10px 40px;
    line-height: 1.3;
    width: 270px;
    display: inline-block;
    max-width: 100%;
    color: #ffffff;
    border-radius: 50px;
    border: 3px solid #f69bb7;
    margin: 0 auto;
    @media (max-width: 767.98px) {
        width: 80%;
        padding: 5px 10px;
        font-size: 16px;
	}
	&:after{
		position: absolute;
		content: '';
	    display: inline-block;
	    top: 0;
	    bottom: 0;
	    height: 8px;
	    right: 15px;
	    margin: auto;
	    border-color: transparent;
	    border-style: solid;
	    border-width: 6px;
	    border-left-color: #ffffff;
	    vertical-align: middle;
	}
}

.service .main_box_text .contactText {
	text-align: center;
	.text {
		text-align: center;
		+ .text {
			margin-top: 15px;
		}
	}
	.btn {
		text-align: center;
	}
}

@media (max-width: 767.98px) {
    .service .main_box_text h3 {
        text-align: center;
    }
}

.service .sec01 .main_box#contact .main_box_text_inner p.btn {
	text-align: center;
}
.service .sec01 .main_box#contact .main_box_text_inner p.btn.back button {
	background-color: #888;
    border-color:#777;
}
    

.service .sec01 .main_box#contact .main_box_text_inner p.error_messe {
	color: #e22382;
}

.spOnly {
	display: none;
	@media (max-width: 767.98px) {
		display: block;
	}
}
