@charset "UTF-8";

/*---------- フォーム ----------*/
.cont-wrap.contact {
	width: 100%;
	padding-bottom: 50px;
}
.cont-lead-txt {
	width: 100%;
	margin-bottom: 100px;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 300;
}
.cont-txt {
	width: 100%;
	background: var(--color-white);
	margin:  50px auto 0;
	padding: 30px;
	border-radius: 16px;
	font-size: 1.2rem;
	font-weight: 400;
	text-align: center;
}

a.link-normal {
	color: var(--color-navy);
	text-decoration: underline;
}

.form-wrap {
	width: 100%;
	max-width: 800px;
	margin: 0 auto 60px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0 20px;
}
 
.form-box {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	padding: 0 20px;
	gap: 0 20px;
}
.form-box-half {
	width: calc((100% - 20px) / 2);
	max-width: 300px;
}
.is-half {
	width: calc((100% - 20px) / 2);
	max-width: 300px;
}
.form-ttl {
	margin-bottom: 8px;
	width: 100%;
	font-size: 1.6rem;
	font-weight: 600;
}
.form-cont {
	width: 100%;
	margin-bottom: 30px;
}
hr {
	width: 100%;
	margin: 30px 0 60px;
	color: #A3A3A3;
}
.form-box .txt-note {
	margin-top: 10px;
	font-weight: 300;
}

/* form */
.tag-required {
	background: var(--color-orange);
	border-radius: 5px;
	color: var(--color-white);
	display: inline-block;
	font-size: 1.2rem;
	font-weight: 600;
	margin-left: 5px;
	padding: 1px 5px;
}

.thanks .btn {
	margin: 40px auto 0;
}

@media (max-width: 768px) {
	.cont-wrap.contact {
		width: 100%;
		padding-bottom: 12vw;
	}
	.cont-lead-txt {
		width: 100%;
		margin-bottom: 12vw;
		padding: 0 2vw;
		text-align: left;
		font-size: var(--fs-sp-14);
	}
	.cont-txt {
		width: 100%;
		margin:12vw auto 0;
		padding: 5vw;
		border-radius: 3vw;
		font-size: var(--fs-sp-12);
		text-align: left;
	}

	a.link-normal {
		color: var(--color-navy);
		text-decoration: underline;
	}

	.form-wrap {
		width: 100%;
		max-width: initial;
		margin: 0 auto 6vw;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 0 5vw;
	}

	.form-box {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		padding: 0 4vw;
		gap: 0 4vw;
	}
	.form-box-half {
		width: calc((100% - 4vw) / 2);
		max-width: initial;
	}
	.is-half {
		width: calc((100% - 4vw) / 2);
		max-width: initial;
	}
	.form-ttl {
		margin-bottom: 1vw;
		font-size: var(--fs-sp-16);
	}
	.form-cont {
		width: 100%;
		margin-bottom: 4vw;
	}
	hr {
		width: 100%;
		margin: 5vw 0 8vw;
	}
	.form-box .txt-note {
		margin-top: 1.5vw;
	}

	/* form */
	.tag-required {
		border-radius: 1vw;
		font-size: var(--fs-sp-12);
		margin-left: 1vw;
		padding: 0 1.6vw;
	}
    
	.cont-wrap.thanks .btn {
		margin: 12vw auto 0;
	}
	.cont-wrap.thanks .btn a {
		font-size: var(--fs-sp-12);
	}
}


/*--- form reset ---*/
input[type="text"],input[type="number"],input[type="email"],textarea,select {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
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="radio"], 
input[type="checkbox"] {
	opacity: 0;
	position: absolute;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
    display: none;
}

/*--- form input共通 ---*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select{
    box-sizing: border-box;
    width: 100%;
    background: var(--color-white);
	border: 1px solid var(--color-gray);
	border-radius: 5px;
	padding: 8px 15px;
	font-size: 1.6rem;
	font-weight: 400;
}
select{
    color: var(--color-black);
}
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder{
    color: var(--color-gray);
}
textarea{
    height: 210px;
	border: 1px solid var(--color-gray);
	border-radius: 5px;
	padding: 5px 15px;
}

.select-wrap {
	position: relative;
}
.select-wrap::before {
	content: '';
	width: 1px;
	height: 100%;
	background: var(--color-gray);
	position: absolute;
	top: 0;
	right: 40px;
}
.select-wrap::after {
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	right: 15px;
	top: calc(50% - 3px);
	border-top: 10px solid var(--color-black);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
}


/*--- submitボタン ---*/
.btn-submit {
	width: 90%;
	max-width: 280px;
	margin: 0 auto;
	padding: 12px;
	display: block;
	background: var(--color-blue);
	border: none;
	border-radius: 8px;
	color: var(--color-white);
	font-size: 1.6rem;
	font-weight: 400;
	position: relative;
}
.btn-submit.is-disabled, 
.btn-submit:disabled{
    opacity: 0.5;
	pointer-events: none;
}


@media (max-width: 768px) {
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	textarea,
	select{
		font-size: var(--fs-sp-16);
		border-radius: 1vw;
		padding: 2vw 3vw;
	}
	textarea{
		height: 46vw;
		border-radius: 1vw;
		padding: 2vw 3vw;
	}

	.select-wrap.is-half {
		width: 60%;
	}
	.select-wrap::before {
		content: '';
		width: 1px;
		height: 100%;
		background: var(--color-gray);
		position: absolute;
		top: 0;
		right: 8vw;
	}
	.select-wrap::after {
		content: '';
		position: absolute;
		display: block;
		width: 0;
		height: 0;
		right: 2.4vw;
		top: calc(50% - 0.8vw);
		border-top: 2vw solid var(--color-black);
		border-left: 1.6vw solid transparent;
		border-right: 1.6vw solid transparent;
	}
	

	/*--- submitボタン ---*/
	.btn-submit {
		width: 80%;
		max-width: initial;
		margin: 0 auto;
		padding: 3vw;
		display: block;
		border-radius: 2vw;
		font-size: var(--fs-sp-16);
	}

}
