body{
	font-size: 16px;
	line-height:1.5em;
}

input, textarea{
	font-size: 14px;
	line-height:1.5em;
}

.textsize1, h1{
	font-size: calc(6px + 4vw);
	line-height:1.2em;
}	
	
.textsize2, h2{
	font-size: calc(6px + 2.5vw);
	line-height:1.2em;
}	
	
.textsize3, h3{
	font-size: calc(6px + 1.5vw);
	line-height:1.3em;
}	
	
.textsize4, h4{
	font-size: calc(6px + 1.1vw);
	line-height:1.4em;
}	
	
.textsize5, h5{
	font-size: calc(6px + 1vw);
	line-height:1.4em;
}	
	
.textsize6, h6{
	font-size: calc(6px + 0.6vw);
	line-height:1.5em;
}	

.textsize7{
	font-size: 14px;
	line-height:1.5em;
}

.textsize8{
	font-size: 12px;
	line-height:1.5em;
}


h1,h2,h3,h4,h5,h6{
	margin-top: 20px;
}

h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child{
	margin-top: auto;
}

p{
	margin-top:20px;
}

p:first-child, br+p{
	margin-top:0px;
}

.free_text{
	line-height: 2em;
}


i, em{
    font-style: italic;
}

sup{
	vertical-align: super;
  	font-size: smaller;
}

@media screen and (max-width: 1023px) { 
	body {
		font-size: 14px;
		line-height: 1.5em;
	}

	.textsize1, h1{
		font-size: calc(12px + 6vw);
		line-height:1.2em;
	}	
		
	.textsize2, h2{
		font-size: calc(12px + 4vw);
		line-height:1.2em;
	}	
		
	.textsize3, h3{
		font-size: calc(12px + 2vw);
		line-height:1.3em;
	}	
		
	.textsize4, h4{
		font-size: calc(12px + 1.5vw);
		line-height:1.4em;
	}	
		
	.textsize5, h5{
		font-size: calc(12px + 1.08vw);
		line-height:1.4em;
	}	
		
	.textsize6, h6{
		font-size: calc(12px + 0.79vw);
		line-height:1.5em;
	}	

	.textsize7{
		font-size: 14px;
		line-height:1.5em;
	}

	.textsize8{
		font-size: 12px;
		line-height:1.5em;
	}


}