@charset "UTF-8";

/*テキストリンク
---------------------------------------------------------- */
a:link {
	color: #333;
	text-decoration: underline;
	vertical-align: baseline;
}

a:visited {
	color: #333;
	text-decoration: underline;
}

a:hover, a:active {
	color: #333;
	text-decoration: none;
}



/*見出し
---------------------------------------------------------- */
h1 {
	margin: 0 0 55px;
	color: #333;
	font-size: 2rem;
	line-height: 1.6;
	text-align: center;
}

h1:after {
	content: '';
	display: block;
	width: 100%;
	height: 4px;
	margin-top: 10px;
	background: #f39800;
}

h2 {
	margin: 0 0 30px;
	padding: 13px 20px;
	color: #333;
	font-size: 1.6rem;
	line-height: 1.6;
	border: 1px solid #ccc;
	position: relative;
}

h2:after {
	content: '';
	display: block;
	position: absolute;
	bottom: -1px;
	left: -1px;
	width : -webkit-calc(100% + 2px);
	width : calc(100% + 2px);
	height: 2px;
	background: #f39800;
}

h2 a,
h2 a:link {
	display: block;
	color: #333;
	text-decoration: none;
	transition: opacity 0.2s ease-in-out;
}

h2 a:hover,
h2 a:link:hover {
	opacity: 1;
}

h3 {
	margin: 35px 0 30px;
	padding: 8px 0 8px 15px;
	color: #333;
	font-size: 1.6rem;
	line-height: 1.6;
	border-left: 6px solid #f39800;
}

h4 {
	margin-bottom: 20px;
	padding: 13px 20px;
	color: #333;
	font-size: 1.4rem;
	line-height: 1.6;
	background: #eee;
}

h5 {
	margin-bottom: 20px;
	padding: 0 20px 10px 20px;
	color: #000;
	font-size: 1.4rem;
	line-height: 1.6;
	border-bottom: 2px dotted #ccc;
}



@media screen and (max-width: 750px) {
	
	h1 {
		margin: 0 0 30px;
	}
	
	h1:after {
		height: 3px;
	}
	
	h2 {
		padding: 13px;
	}
	
	h3 {
		padding: 5px 0 5px 10px;
		border-left: 3px solid #f39800;
	}
	
	h4 {
		padding: 13px;
	}
	
}

