@charset "utf-8";
/*------------------------------------------------------------
	トープページ
------------------------------------------------------------*/
#gHeader {
	margin-bottom: 20px;
	padding: 16px 30px 20px;
}

#gHeader .img01 {
	position: absolute;
	left: 10px;
	top: 92px;
}

#gHeader .img02 {
	position: absolute;
	right: 15px;
	top: 82px;
}

#gHeader .img03 {
	position: absolute;
	left: 25px;
	bottom: 78px;
}

#gHeader .img04 {
	position: absolute;
	right: 60px;
	bottom: 80px;
}

#main .inner {
	margin-bottom: 30px;
	padding: 14px 25px 22px;
	border-radius: 15px;
	background-color: #fff;
}

#main .inner h2 {
	margin-bottom: 26px;
}

#main .inner h3 {
	margin-bottom: 16px;
	padding: 16px 0;
	text-align: center;
}

#main .inner h4 {
	margin-bottom: 14px;
	padding: 10px 20px;
	font-size: 20px;
	color: #FFF;
	line-height: 23px;
	background: url(../img/last/h4_bg01.png) repeat left top;
}

#main .inner h5 {
	margin: 16px 0 15px;
}

#main .inner .textBox {
	margin: 0 15px 43px;
	font-size: 15px;
	line-height: 25.01px;
}

#main .inner .textBox:last-of-type {
	margin-bottom: 20px;
}

#main .inner .link {
	margin-bottom: 20px;
}

#main .inner .link a:hover {
	opacity: 0.7;
}

.pageTop {
	margin: 45px auto 31px;
}


.pgtp {
    text-align: center;
}

.pgtp a {
    display: inline-block;
    background: #29a1f0;
    padding: 1em 1.6em;
     border-radius: 30px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    margin-right: 0.2em;
   /* box-shadow: 0 4px 0 #1e8bd4;*/
}

.pgtp a:hover {
    opacity: 0.8;
}


@media all and (min-width: 0) and (max-width: 767px) {
	#gHeader {
		margin-bottom: 0;
		padding: 15px 10px;
	}
	
	#gHeader .img01 {
		position: static;
		left: auto;
		top: auto;
		max-width: 25%;
		vertical-align: middle;
	}
	
	#gHeader .img02 {
		position: static;
		right: auto;
		top: auto;
		max-width: 20%;
		vertical-align: middle;
	}
	
	#gHeader .img03 {
		position: static;
		left: auto;
		bottom: auto;
		max-width: 20%;
		vertical-align: middle;
	}
	
	#gHeader .img04 {
		position: static;
		right: auto;
		bottom: auto;
		max-width: 15%;
		vertical-align: middle;
	}

	#main .inner {
		margin: 0 auto;
		padding: 3% 15px 10px;
		border-radius: 0;
		background-color: #fff;
	}
	
	#main .inner h2 {
		margin-bottom: 15px;
	}
	
#main .inner h2 img {
    width: 60%;
    min-width: 250px;
}
	
#main .inner h3 {
    margin-bottom: 10px;
    padding: 0px 0 10px;
}

#main .inner h4 {
    margin-bottom: 1em;
    padding: 6px 6px;
    font-size: 16px;
    line-height: 1.6;
    background-size: auto 100%;
}

#main .inner h5 {
    margin: 5px 0 5px;
}

#main .inner h5 img {
    margin-bottom: 8px;
    height: 28px;
}

#main .inner .textBox {
    margin: 0 5px 20px;
    font-size: 14px;
    line-height: 1.6;
}
		
	#main .inner .textBox:last-of-type {
		margin-bottom: 10px;
	}
	
	#main .inner .link {
		margin-bottom: 10px;
	}

	#main .inner .link img {
		width: 250px;
	}

	.pageTop {
		margin: 25px auto 15px;
	}
img.aswer {
    padding-left: 0.09em;
}

.pgtp {
    margin-bottom: 1em;
}

.pgtp a {
    padding: 0.5em 1.6em;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    margin-right: 0em;
    /* box-shadow: 0 4px 0 #1e8bd4; */
}

}

@media all and (min-width: 0) and (max-width: 480px) {
img.knk {
    width: 100%;
    height: auto!important;
}

#main .inner h4 {
    font-size: 14px;
}
}
