@charset "UTF-8";


/************************************************/
/********************* Form *********************/
/***********************************************/

#form
{
	padding-top: clamp(2rem, 4vw, 4rem);
	padding-bottom: clamp(6rem, 15vw, 15rem);
}

#form > p
{
	margin-bottom: clamp(2rem, 4vw, 4rem);
}

.form_label_name
{
	color: rgba(0,0,0, 1);
	font-size: .8rem;
	margin-bottom: .5em;
}

.name_wrapper
{
	width: calc(50% - 1rem);
	min-width: 32rem;
	
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.name_wrapper > label
{
	width: calc(50% - 1rem);
	min-width: 15rem;
}

.textWrapperWrapper > div:first-child
{
	width: auto;
}

.textWrapperWrapper
{
	padding-bottom: 0;
}

.caution
{
	font-size: .9em;
/*	font-family: NotoSerif-M, serif;
	font-weight: 500;*/
}


.formWrapper
{
	margin-top: 2rem;
}

.formItem
{
	display:-webkit-box;
	display:-moz-box;
	display:-ms-box;
	display:-webkit-flexbox;
	display:-moz-flexbox;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:-moz-flex;
	display:-ms-flex;
	display:flex;
	
	-webkit-align-items: flex-start;
	align-items: flex-start;
	
	-webkit-justify-content: flex-start;
	justify-content: flex-start;

	padding: 0em 0;
/*	border-bottom: 1px dotted rgb(200, 200, 200);*/
}

input:not([type=checkbox]),
input:not([type=radio]),
textarea, 
option
{
	box-sizing:border-box;
	padding: .5em;
	font-size: 1em;
	background-color: transparent;
	-moz-border-radius: 0em;
	-webkit-border-radius: 0em;
	border-radius: 0em;
	-webkit-appearance: none;
}

input:not([type=checkbox]):not([type=submit])
{
	border: 1px solid rgb(245, 245, 245);
	background-color: rgb(245, 245, 245);
}

input[type="text"],
input[type="email"],
input[type="tel"]
{
	border: 1px solid rgb(245, 245, 245);
	background-color: rgb(245, 245, 245);
}

input::placeholder,
textarea::placeholder
{
	color: rgb(120, 120, 120)
}

textarea, option
{
	background-color: rgb(245, 245, 245);
	border: 1px solid rgb(245, 245, 245);
}
.formparts textarea
{
	padding: .5em;
}

input[type=checkbox]{margin-top:.1em;}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus
{
	outline: 0;
	background-color: rgb(255, 255, 255);
	border: 1px solid rgba(140, 140, 140, 1);
}
textarea:focus
{
	outline: 0;
	background-color: rgb(255, 255, 255);
	border: 1px solid rgba(140, 140, 140, 1);
}
textarea{width: 100%;}

#n37_selector
{
	margin-bottom: 2rem;
}

#n37_selector label
{
	position: relative;		/* 選択ボックスの位置指定 */ 
	display: inline-block;			/* ブロックレベル要素化にする */ 
	box-sizing:border-box;
	width: auto;
	background-color:rgb(245, 245, 245);
	border: 1px solid rgba(140, 140, 140, 0);
}
#n37_selector label:before
{
	content: "";
	position: absolute;
	width: .4em;
	height: .4em;
	
	top: 50%;
	right: 1em;
	display: block;
	margin-top: -.3em;
	
	border-color: rgb(0, 0, 0);
	border-style: solid;
	border-width: 0 1px 1px 0;
	
	transform: rotate( 45deg );
	-ms-transform: rotate( 45deg );
}
#n37_selector select
{
/*	font-family: NotoSerif-M, serif;
	font-weight: 500;*/
	cursor: pointer;
	font-size: 1em;
	padding: .5em 2.5em .5em 1em;
	box-sizing:border-box;
	-webkit-appearance: none;/* ベンダープレフィックス(Google Chrome、Safari用) */
	-moz-appearance: none;	/* ベンダープレフィックス(Firefox用) */
	appearance: none;		/* 標準のスタイルを無効にする */ 
	display: block;			/* ブロックレベル要素化する */ 
	border: none;			/* 境界線をなしに指定する */
	background: transparent;/* 背景を透過指定する */
}
#n37_selector select:focus
{
	outline: none;
	color: rgb(50, 50, 50);
}

::-ms-expand
{		/* select要素のデザインを無効にする（IE用） */
	display: none;
}
.formparts
{
	display: block;
	margin-bottom: 2.5rem;
}

.formparts._b
{
	display:flex;
	align-items: center;
}

.formparts._b input[type=checkbox]._c
{
	vertical-align:0rem;
	margin: 0;
}

.q-title
{
	box-sizing:border-box;
	display:block;
	margin-bottom: 1em;
	color: rgb(100, 110, 110);
}

.formparts .q-title._s
{
	padding: 0;
	border-right-width: 0px;
}
#formContainer .formparts._d div{margin-top: 1em;}

.q-short{width:50%}
.q-large{width: 100%;}
.q-textArea
{
	height: 100%;
	min-height: 17em;
	padding: 1em;
}
.form{display:block;}
span.req{color: rgb(226, 0, 43);}
.noReq{display: none;}
.q-title .smallerText{letter-spacing:0;}
.q-smaller{font-size:.9em; margin-left:15px;}
.q-caution
{
	font-size:.8em;
}

.q-radio{display:inline; margin-right:5px;}

.input_wrapper > p
{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}

.input_wrapper .formparts
{
	width: calc(50% - 1rem);
	min-width: min(100%,20rem);
}

.input_wrapper input
{
	width:100%;
}

:placeholder-shown
{
	color: rgb(140, 140, 140);
}

::-webkit-input-placeholder
{
	color: rgb(140, 140, 140);
}

:-moz-placeholder
{
	color: rgb(140, 140, 140);
	opacity: 1;
}

::-moz-placeholder
{
	color: rgb(140, 140, 140);
	opacity: 1;
}

:-ms-input-placeholder
{
	color: rgb(140, 140, 140);
}

/* Checkbox Raiobutton */

.privacy_link
{
	font-size: max(.8em, .8rem);
	margin-top: .5rem;
	margin-left: 1.25rem;
	display: flex;
	justify-content: flex-start;
}

.privacy
{
	margin-top: 2rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.privacy .wpcf7-list-item
{
	margin: 0;
}

input[type=radio]._c,
input[type=checkbox]._c,
.privacy input[type=checkbox],
._c input[type=radio]
{
	box-sizing:border-box;
	padding: .5em;
	font-size: 1rem;
	-moz-border-radius: 0em;
	-webkit-border-radius: 0em;
	border-radius: 0em;
	-webkit-appearance: none;

	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	position: relative;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1em;
	width: 1em;
	vertical-align: -.3em;
	transition:all 0s ease-out 0s;
	color: rgb(75, 75, 75);
	cursor: pointer;
	display: inline-block;
	margin: 0;
	outline: none;
	border-radius: 10%;
	
	transform: scale(.75);
}

input[type=radio]._c:before, input[type=radio]._c:after,
input[type=checkbox]._c:before, input[type=checkbox]._c:after,
.privacy input[type=checkbox]:before, .privacy input[type=checkbox]:after,
._c input[type=radio]:before, ._c input[type=radio]:after
{
	position: absolute;
	content: "";
	background: rgb(255, 255, 255);
	transition: all 0s ease-in-out;
}
input[type=radio]._c:before ,
input[type=checkbox]._c:before,
.privacy input[type=checkbox]:before,
._c input[type=radio]:before
{
	left: 2px;
	top: 6px;
	width: 0;
	height: 2px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
}
input[type=radio]._c:after,
input[type=checkbox]._c:after,
.privacy input[type=checkbox]:after,
._c input[type=radio]:after
{
	right: 9px;
	bottom: 3px;
	width: 2px;
	height: 0;
	transform: rotate(40deg);
	-webkit-transform: rotate(40deg);
	-moz-transform: rotate(40deg);
	-ms-transform: rotate(40deg);
	-o-transform: rotate(40deg);
	transition-delay: 0s;
}
input[type=radio]._c:checked:before,
input[type=checkbox]._c:checked:before,
.privacy input[type=checkbox]:checked:before,
._c input[type=radio]:checked:before
{
	left: 1px;
	top: 10px;
	width: 6px;
	height: 2px;
}
input[type=radio]._c:checked:after,
input[type=checkbox]._c:checked:after,
.privacy input[type=checkbox]:checked:after,
._c input[type=radio]:checked:after
{
	right: 5px;
	bottom: 1px;
	width: 2px;
	height: 14px;
}
input[type=radio]._c:indeterminate:before,input[type=radio]._c:indeterminate:after,
input[type=checkbox]._c:indeterminate:before,input[type=checkbox]._c:indeterminate:after,
.privacy input[type=checkbox]:indeterminate:before, .privacy input[type=checkbox]:indeterminate:after,
._c input[type=radio]:indeterminate:before, ._c input[type=radio]:indeterminate:after
{
	width: 7px;
	height: 2px;
	transform: rotate(0);
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	-ms-transform: rotate(0);
	-o-transform: rotate(0);
}
input[type=radio]._c:indeterminate:before,
input[type=checkbox]._c:indeterminate:before,
.privacy input[type=checkbox]:indeterminate:before,
._c input[type=radio]:indeterminate:before
{
	left: 1px;
	top: 7px;
}
input[type=radio]._c:indeterminate:after,
input[type=checkbox]._c:indeterminate:after,
.privacy input[type=checkbox]:indeterminate:after,
._c input[type=radio]:indeterminate:after
{
	right: 1px;
	bottom: 7px;
}

/* 青 */
input[type=radio]._c,input[type=radio],
input[type=checkbox]._c,input[type=checkbox],
.privacy input[type=checkbox],
._c input[type=radio]
{
	border: 1px solid rgb(75, 75, 75);
}
input[type=radio]._c:checked,input[type=radio]._c:indeterminate,
input[type=checkbox]._c:checked,input[type=checkbox]._c:indeterminate,
.privacy input[type=checkbox]:checked,.privacy input[type=checkbox]:indeterminate,
._c input[type=radio]:checked,._c input[type=radio]:indeterminate
{
	background: rgb(75, 75, 75);
}

.submitBtWrapper
{
	margin-top: 3em;
	max-width: 10rem;
}

.submitBt
{
	font-family: 'R-M', sans-serif;
	font-weight: 500;
	cursor: pointer;
	box-sizing:border-box;
	font-size: .9rem;
	color: rgb(75, 75, 75);
	display:inline-block;
	margin-top: 1rem;
	padding: .5em 4em;
	width: 100%;
	text-align: center;
	background-color: rgb(255, 255, 255);
	border: 1px solid rgb(75, 75, 75);
	
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
body:not(.touch) .submitBt:hover
{
	color: rgb(255, 255, 255);
	background-color: rgb(75, 75, 75);
}

.sentMessage
{
	position: relative;
	width:100%;
	padding-bottom: 1rem;
}

.privacyStatement
{
	position: relative;
	box-sizing:border-box;
	height: calc(3rem * 1.75 + .75em);
	overflow: auto;
	width: 100%;
	
	margin-top: 2em;
	margin-bottom: 1rem;
	background-color: rgb(245,245,245);
}
.privacyStatement div{padding: 1em; font-size: 1em;}
.privacyStatement div .strongText{margin-top: 1em;}


/*//////////////////////////////////////////////////////////////////////////////////
///////////////////////////////// MEDIA SCREEN /////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////*/

@media screen and (max-width: 800px)
{
	.input_wrapper
	{
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	.input_wrapper
	{
		margin-right:0;
		width: 100%;
	}
	.input_wrapper > .formparts
	{
		margin-left:0;
		width: 100%;
	}
}
@media screen and (max-width: 650px)
{
	.name_wrapper, .submitWrapper
	{
		min-width: auto;
		margin-right: 0;
		
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		flex-direction: column;
		
		-webkit-align-items: flex-start;
		align-items: flex-start;
	}
	#form .info span
	{
		display: block;
	}
	#form .info p:last-child
	{
		margin-top: .5em;
	}
	
	#sendFormBt
	{
		margin-top: 3rem;
	}
}

@media screen and (max-width: 450px)
{
	.name_wrapper
	{
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	.name_wrapper > label:first-child
	{
		margin-right: 0em;
	}
	.name_wrapper > label:last-child
	{
		margin-left: 0em;
	}
}