html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
	margin: 0;
	font-family: "Fira Sans", "Trebuchet MS", sans-serif;
	color: #333333;
	background-color: #ffffff;
	font-size: 16px;
}
main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button, input, optgroup, select, textarea {
  font-family: "Fira Sans", "Trebuchet MS", sans-serif;
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

button, input { /* 1 */
  overflow: visible;
}

button, select { /* 1 */
  text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}


.site-wrapper {
	min-height: 100vh;
	box-sizing: border-box;
	padding: 32px 24px;
	background: #F8F8F8;
	display: flex;
	justify-content: center;
	align-items: center;
}

.from-wrapper {
	width: 100%;
	background: #fff;
	flex: none;
	padding: 32px 24px;
	box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	box-sizing: border-box;
	display: flex;
}

.form-image {
	display: none;
}

.form-part {
	flex: none;
	width: 100%;
}

.form-title {
	font-weight: bold;
	font-size: 20px;
	line-height: 24px;
	color: #000000;
}

.form-box__subtitle {
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.2px;
	color: #999999;
	margin-top: 8px;
}

.mg-form {
	margin-top: 16px;
}

.mg-form__field-title {
	font-weight: 500;
	font-size: 13px;
	line-height: 24px;
	letter-spacing: -0.4px;
	padding-bottom: 4px;
}

.form__note {
	font-size: 0.8em;
	margin-top: 24px;
	color: #afafaf;
}

.mg-form__field {
	margin-bottom: 16px;
}

.mg-form input[type="text"] {
	background: #FFFFFF;
	border: 2px solid #E1E1E1;
	box-sizing: border-box;
	border-radius: 8px;
	height: 48px;
	width: 100%;
	padding: 12px 20px;
	box-sizing: border-box;
	outline: none;
}

.mg-form input[type="text"]:hover {
	border-color: #a3c0ea;
}

.mg-form input[type="text"]:focus {
	box-shadow: 0 6px 4px -4px rgb(130 165 233 / 27%);
	border-color: #82a5e9;
	background-color: #f2f7ff;
}

.tpl-form-button {
	width: 100%;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	padding: 16px;
	font-weight: 700;
	color: #FFFFFF;
	border-radius: 32px;
	background: linear-gradient(180deg, #47C634 0%, #2DBF60 100%);
	border: 1px solid #2FC05F;
	box-shadow: 0px 8px 12px rgb(45 191 96 / 30%);
	margin-top: 8px;
	cursor: pointer;
}

.tpl-form-button:hover {
	background: linear-gradient(180deg, #51D53D 0%, #2DBF60 100%);
	box-shadow: 0px 8px 12px rgba(45, 191, 96, 0.30025);
}

.tpl-form-button:active {
	background: linear-gradient(180deg, #2EBF5F 0%, #2EBF5F 100%);
	box-shadow: none;
}

.mg-form__field-title-mark {color: red;}

@media all and (min-width: 600px) {
	.site-wrapper {
		padding: 32px 48px;
	}
	
	.from-wrapper {
		padding: 48px;
	}
	
	.form-image {
		display: block;
		max-width: 256px;
		flex: none;
		margin-right: 46px;
		align-self: center;
	}
	
	.form-image img {
		max-width: 100%;
		height: auto;
	}
	
	.form-part {
		flex: 1 0 1%;
	}
	
	.mg-form {margin-top: 32px;}
	
	.tpl-form-button {
		display: inline-block;
		padding: 16px 48px;
		width: auto;
	}
}

@media all and (min-width: 960px) {
	
	.site-wrapper {
		background: url(page.bg.jpg) center center no-repeat;
		background-size: cover;
	}
	
	.from-wrapper {
		padding: 64px;
		max-width: 864px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}
	
	.form-box__subtitle {
		font-size: 18px;
		line-height: 24px;
	}
	
	.mg-form {margin-top: 40px;}
	
	.mg-form__field-title {
		font-size: 14px;
		line-height: 24px;
	}
	
	.form-image {
		order: 2;
		max-width: 320px;
		margin-left: 64px;
		margin-right: 0;
	}
	
	.form-title {
		font-size: 26px;
		line-height: 40px;
	}
	
	.tpl-form-button {
		padding: 20px 56px;
		font-size: 18px;
	}
}