@charset "utf-8";


/* ======================================================================================================
	CSS reset
====================================================================================================== */
button ,input ,textarea ,select {
	font-size:110%;
	margin:0;
	padding:0.3em;
	font-family:inherit;
	line-height:1.6;
}
input[type="submit"] ,button {
	padding:0.5em 2em;
	font-family:inherit;
}

::placeholder {
	color:#ccc;
}


/* ======================================================================================================
	form
====================================================================================================== */
.contact-frame {
	width:50rem;
	max-width:100%;
	margin:0 auto;
	padding-bottom:var(--section-padding);
}

#thanks .contact-frame {
	text-align:center;
}
#thanks .contact-frame p + p {
	padding-top:0.3em;
}

#thanks .contact-frame .button {
	padding:2rem 0;
	display:flex;
	justify-content:center;
}
#thanks .contact-frame .button a {
	width:20rem;
	padding:0.3rem 0.5rem;
	color:var(--accent);
	border:2px solid var(--accent);
	border-radius:0.3rem;
	transition:all 0.3s ease;
	-webkit-transition:all 0.3s ease;
}

.contact-frame dl{
	width:100%;
}
.contact-frame dt{
}
.contact-frame dd{
	padding:0.5em 0 1.5em 2em;
}

@media screen and (min-width:800px){
	#thanks .contact-frame .button a:hover {
		color:#fff;
		background:var(--accent);
	}
}
@media screen and (max-width:799px){
	#thanks .contact-frame .content {
		padding:0 1.5em 2em;
	}
	#thanks .contact-frame p {
		font-size:110%;
	}
	#thanks .contact-frame p + p {
		padding-top:0.5em;
	}
	#thanks .contact-frame .button > * {
		font-size:120%;
	}

	.contact-frame dl {
		padding:0 0.5em;
		font-size:120%;
	}
	.contact-frame dd{
		padding:0.5em 0 1.5em;
	}

}




/* ====================================================================
	form - optional / required
==================================================================== */
.optional,
.required{
	display:flex;
	justify-content:flex-start;
	align-items:center;
}
.optional:before,
.required:before{
	content:attr(data-text);
	margin-right:0.5em;
	padding:0 0.5em 0.1em;
	background:#f00;
	border-radius:0.3em;
	color:#fff;
	font-size:80%;
	font-weight:500;
}
.optional:before{
	background-color:#06f;
}

@media screen and (max-width:799px){
	.required{
		justify-content:flex-start;
	}

	.optional:before,
	.required:before{
		margin-right:0.3em;
		padding:0.1em 0.3em 0.2em;
	}
	span.check > label {
		font-size:85%;
	}
}



/* ====================================================================
	form - field
==================================================================== */
input ,textarea {
	width:100%;
	-webkit-appearance:none; 
	appearance:none;
	border-radius:0.3rem;
	font-size:90%;
}
select {
	border-radius:0.3rem;
	font-size:90%;
}
input[type='radio'] ,input[type='checkbox']{
	width:1em;
	height:1em;
	-webkit-appearance:auto; 
	appearance:auto;
}

input:not([type="submit"]){
	border:2px solid #999;
	padding:0.3em 0.5em;
}

.textarea-text{
	padding:2.5em 5em !important;
}

textarea{
	resize:none;
	height:8em;
	padding:0.5em;
	border:2px solid #999;
}

span.check {
	display:flex;
	justify-content:flex-start;
	align-items:center;
}
span.check > label {
	padding-left:0.3em;
}


@media screen and (max-width:799px){
	input[type="submit"]{
		width:auto;
		padding:0.5em 1em;
	}

	input:focus ,textarea:focus{
		border:solid 2px #000000;
		outline:none;
		background-color:#99e5ff;
	}

}



/* ====================================================================
	form - check button
==================================================================== */
span.check {
	position:relative;
	display:block;
}
span.check input {
	position:absolute;
	top:50%;
	left:0.5em;
	width:1em;
	height:1em;
	transform:translateY(-50%);
	z-index:2;
}
span.check input + label {
	position:relative;
	padding:0.2em 0.5em 0.2em 1.8em;
	border-radius:0.3em;
	transition:all 0.1s ease;
	-webkit-transition:all 0.1s ease;
	cursor:pointer;
}
span.check input:checked {
}
span.check input:checked + label {
	color:#fff;
	background:#06f;
}





/* ====================================================================
	form - button
==================================================================== */
.formButton{
	padding-top:2em;
	padding-left:1em;
	display:flex;
	justify-content:center;
	text-align:center;
}

input[type="submit"] ,
.formButton a {
	position:relative;
	z-index:2;
	width:auto;
	padding:0.5em 2em 0.6em;
	font-size:110%;
	line-height:1;
	text-indent:0.3em;
	letter-spacing:0.3em;
	color:#fff;
	background-color:#06f;
	border:2px solid #06f;
	border-radius:0.3em;
	transition:all 0.3s ease;
	-webkit-transition:all 0.3s ease;
	cursor:pointer;
}
.formButton a{
	font-size:100%;
	text-indent:0.1em;
	letter-spacing:0.1em;
	border-radius:0.5em;
}

@media screen and (min-width:800px){
	.formButtonFrame {
		position:relative;
		display:inline-block;
		color:#06f;
		background:#fff;
		border:2px solid #06f;
		border-radius:0.3em;
		cursor:pointer;
		transition:background 0.3s ease;
		-webkit-transition:background 0.3s ease;
	}
	.formButtonFrame:hover {
		color:#fff;
		background:#06f;
	}

	input[type="submit"] ,
	.formButton a {
		color:inherit;
		background:transparent;
		border:0 none;
	}

}
@media screen and (max-width:799px){
}


/* ====================================================================
	form - error
==================================================================== */
.error {
	margin:0.3em 0 0.5em;
	display:block;
	padding:0.2em 2em;
	color:#f00;
	border:3px solid #f00;
	background:rgba(255,255,255,0.6);
	border-radius:0.3em;
	font-size:90%;
	font-weight:bold;
}


/* ====================================================================
	form - confirm
==================================================================== */
.status2 #form-table {
	line-height:1.4;
}

@media screen and (max-width:799px){

}


/* ====================================================================
	form - customize
==================================================================== */
.field-group.flex {
	display:flex;
	justify-content:center;
	gap:0.3em;
}


#privacyBox {
	margin-bottom:1em;
	height:12em;
	padding:0.5em;
	font-size:65%;
	line-height:1.4;
	color:#333;
	background:rgba(255,255,255,0.9);
	border:2px solid #999;
	border-radius:0.5em 0 0 0.5em;
	overflow:auto;
}
#privacyBox > h2{
	font-weight:bold;
}
#privacyBox > div{
	padding-left:1em;
	padding-bottom:0.5em;
}
#privacyBox dt{
}

.status2 #privacyBox {
	display:none;
}

@media screen and (max-width:799px){
	.form-5 .field-group.flex {
		font-size:110%;
	}
	.form-5 .field-group.flex > .check {
		width:calc(100% - 1em);
	}
}









