/*form.css*/

/*
SMP EmbeddedForm Default CSSに追加
*/

.smpForm {
	position: relative;
	padding: 10px;
	margin-left: auto;
	margin-right: auto;
}

.ss_contents input[type="number"]::-webkit-outer-spin-button,
.ss_contents input[type="number"]::-webkit-inner-spin-button,
.ss_contents input[type="date"]::-webkit-outer-spin-button,
.ss_contents input[type="date"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ss_contents {
	width: 100%;
}

.form_top {
	line-height: 1.87;
	margin: 0 0 30px;
}

.ss_privacy {
	line-height: 1.67;
	overflow: scroll;
	height: 200px;
	border: solid 1px #cfcfcf;
	border-collapse: collapse;
	padding: 20px;
	background-color: #fff;
}

.ss_privacy .ss_form_title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 10px;
}

.ss_visitor_form .ss_form_title {
	margin-bottom: 10px;
}

.ss_privacy_field .ss_grid {
	background-color: #ffffff;
	overflow: auto;
	word-break: break-all;
}

.ss_visitor_form fieldset,
.ss_enquete_form fieldset {
	border: solid 1px #cfcfcf;
	border-collapse: collapse;
	line-height: 1.8;
	padding: 30px 40px;
}

.ss_contents fieldset+fieldset {
	background-color: #ffffff;
}

.ss_field:nth-child(odd) {
	background-color: #f9f9f9;
}

/* .ss_enquete_field:nth-child(even) {
	background-color: #f9f9f9;
} */

.ss_enquete_field:nth-child(odd) {
	background-color: #f9f9f9;
}

.ss_field:first-child {
	margin-top: 20px;
}

.ss_field:hover,
.ss_enquete_field:hover {
	background-color: #f5f5f5;
}

.ss_user_notnull {
	color: red;
}

.ss_field+.ss_field,
.ss_enquete_form fieldset {
	border-top: none;
}

.ss_contents input,
.ss_contents select,
.ss_contents textarea {
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 15px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #ffffff;
}

.ss_contents textarea {
	max-width: 700px;
	min-width: 100%;
	min-height: 100px;
}

.ss_required_field input {
	border: 1px solid #CBCCDC;
	padding: 15px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.ss_required_field input:focus {
	border: 2px solid #000;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	outline: 0;
}

.ss_required_field select:focus {
	border: 2px solid #000;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	outline: 0;
}

.ss_upComment,
.ss_leftComment,
.ss_rightComment {
	margin-left: 5px;
	margin-right: 5px;
	color: #777777;
	font-size: 12px;
}

.ss_bottomComment {
	margin-top: 5px;
	color: #777777;
	font-size: 12px;
}

.ss_btnArea {
	margin-top: 70px;
}

/* .ss_btnArea input {
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 0.3em 1em;
	text-decoration: none;
	background-color: #829dc9;
	color: #FFFFFF;
	border: solid 2px #829dc9;
	border-radius: 3px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
} */

.ss_btnArea input {
	background-color: #1D8E76;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	padding: 40px 50px;
	overflow: hidden;
	transition: background-color 0.3s ease;
	font-weight: bold;
	text-decoration: none;
	border-radius: 0;
	border: none;
	width: 50%;
	max-width: 385px;
	margin: auto;
	text-align: center;
	font-size: 22px;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
}

.ss_btnArea input:hover {
	background-color: #16715E;
}

.ss_warning_label {
	background-color: #f89406;
	border-radius: 3px;
	vertical-align: top;
	display: inline-block;
	padding: 2px 4px;
	font-size: 11.844px;
	line-height: 12px;
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	white-space: nowrap;
}

.ss_error_msg,
.errorMsg {
	vertical-align: top;
	margin-left: 3px;
	font-size: 12px;
	color: #F89406;
}

.ss_complete_message {
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

/* Spinner */
.ss_submit_loader {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.25);
}

.spinner::before {
	content: "";
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	height: 100px;
	width: 100px;
	margin-top: -50px;
	margin-left: -50px;
	border-radius: 50%;
	border: 0.5em solid #FFFFFF;
	border-top-color: rgba(0, 0, 0, 0);
	-webkit-animation: spinner 1s infinite infinite;
	animation: spinner 1s linear infinite;
}

@-webkit-keyframes spinner {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes spinner {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/*
  Responsive CSS
*/
/* PC */
@media screen and (min-width: 768px) {
	.ss_grid {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
}

/* ipad */
@media screen and (max-width: 767px) {
	.smpForm {
		width: 95%;
	}

	.ss_rightComment {
		display: block;
	}

	.ss_grid {
		word-break: break-all;
	}

	.ss_grid input:not([type="checkbox"]):not([type="radio"]):not([type="date"]):not([type="datetime-local"]) {
		width: 100%;
	}

	.ss_grid textarea {
		width: 100%;
		max-width: 500px;
	}

	.ss_privacy {
		height: 150px;
	}

	.ss_btnArea input {
		width: 75%;
		padding: 30px 50px;
	}
}

/* Vertical Screen (Smartphone) */
@media screen and (max-width: 480px) {
	.ss_leftComment {
		display: block;
	}

	.ss_grid input:not([type="checkbox"]):not([type="radio"]) {
		width: 100%;
	}

	.ss_grid textarea {
		width: 100%;
		max-width: 300px;
	}
}