*, *:before, *:after{
	box-sizing: inherit;
	font-family: inherit;
	padding: 0;
	margin: 0;
}

body{
	box-sizing: border-box;
	font-family: 'Noto Serif SC', serif;
}

.main{
	border-top: 80px solid #196aa9;
	border-bottom: 80px solid #196aa9;
	padding: 40px 0 40px 0;
	min-height: 100vh;
	background-color: #eee;
}

.container{
	width: calc(100vw - 40px);
	margin: 0 auto;
	max-width: 768px;
}

h1{
	margin-bottom: 5px;
}

h2{
	margin-bottom: 10px;
}

h3{
	margin: 15px 0 10px 0;
}

h1, h2, h3{
	color: #196aa9;
}

h4{
	font-size: 20px;
	color: #196aa9;
	margin-bottom: 10px;
}

h4.error{
	color: #7a0000;
}

.lightbox{
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.6);
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 400ms ease-out;
	z-index: 10;
	position: fixed;
}

.lightbox--open{
	opacity: 1;
	display: block;
	pointer-events: auto;
}

.lightbox__content{
	width: calc(100vw - 40px);
	max-width: 500px;
	margin: 100px auto;
	background-color: #fff;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 10px 10px 10px rgba(0,0,0,0.3);
}

button{
	background-color: #196aa9;
	appearance: none;
	-webkit-appearance: none;
	color: #fff;
	padding: 5px 15px;
	border: 0;
	font-size: 20px;
	border-radius: 5px;
}

button.close-lightbox {
    margin-top: 15px;
    font-size: 16px;
}

label, input.input__text, .comment{
	display: block;
    padding: 15px 50px 15px 15px;
    background-color: #fff;
    margin-bottom: 5px;
    border: 1px solid #d1d7dc;;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: color 400ms ease-out;
    cursor: pointer;
    border-radius: 5px;
    word-break: break-word;
}

label::before{
	width: 10px;
	height: 10px;
	border-radius: 50%;
	content: '';
	background-color: #196aa9;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%) scale3d(0, 0, 0);
	transform: translate(-50%, -50%) scale3d(0, 0, 0);
	transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
}

label::after{
	width: 32px;
	height: 32px;
	content: '';
	border: 2px solid #D1D7DC;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 2px 3px;
	border-radius: 50%;
	z-index: 2;
	position: absolute;
	right: 10px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	cursor: pointer;
	transition: all 300ms ease-in;
}

.box{
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	border: 1px solid #196aa9;
	padding: 3px;
	position: relative;
    top: 3px;
    right: 10px;
}

input[type=radio]{
	display: none;
}

input[type=radio]:checked + .box{
	background-color: #196aa9;
}

input[type=radio]:checked + label{
	color: #fff;
}

input[type=radio]:checked + label::before{
	transform: translate(-50%, -50%) scale3d(100, 100, 1);
}

input[type=radio]:checked + label::after{
	background-color: #54E0C7;
	border-color: #54E0C7;
}

p:not(:last-child){
	margin-bottom: 10px;
}

input.input__text, .comment{
    cursor: text;
    word-break: initial;
    width: 100%;
}

.comment{
	height: 170px;
	resize: none;
}