/* CSS Document */

/* pc,sp共通 */
@font-face {
	font-family: "YuGothic-M";
	font-weight: normal;
	 src: local("YuGothic-Medium"),
		  local("Yu Gothic Medium"),
		  local("YuGothic-Regular");
}

@font-face {
	font-family: "YuGothic-M";
	font-weight: bold;
	 src: local("YoGothic-Bold"),
		  local("Yu Gothic");
}

html {
	font-size: 62.5%;/* 16px x 0.625 = 10px(=1rem) */
}

body {
	font-size: 1.5rem;/* 15px */
	font-family: -apple-system, blinkMacSystemFont,  Meiryo, YuGothic-M, YuGothic, "Hiragino Kaku Gothic ProN",sans-serif;
	-webkit-text-size-adjust: 100%;
	font-feature-settings: "palt";
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	::i-block-chrome, body {
		font-feature-settings: "pkna";
	}
}

/*フォント設定ここまで*/



#maincntwrap {
	width:100%;
}

#cntbody {
	max-width:1060px;
	margin:0 auto;
}



h4{ 
	color:#036;
	font-size:1.6rem;
	font-weight:bold;
	margin:1.2rem;
}

#headarea{
	background-image: url(../images/header_bg.jpg);
	background-repeat:no-repeat;
	background-position:80px 0px;
	background-size:contain;
	max-width:1060px;
	margin:0 auto;
	margin-top:20px;
	padding-left:15px;
}
#headarea img.rogo {
	width:6.6%;
	max-width:70px;
}
#headarea img.rogo-name {
	width:14.43%;
	min-width:153px;
	max-width:153px;
	margin-left:1.2%;
	margin-right:1.2%;
}

#headarea ul#header-func {
	float:right;
	margin-top:5.0rem;
	line-height: 0;
}
#headarea ul#header-func li{
	display: inline-block;
	vertical-align: top;
}
#headarea ul#header-func li#memberlogin .log-in input[type=submit] {
    color: #000;
}
#headarea ul#header-func li#memberlogin .log-in input[type=submit]:hover {
    background: #BAE2EB;
}


.box_link a:active{
	padding:1em 3em 1em 3em;
	border:1px;
	display:block;
}
.box_link a:link{
	padding:1em 3em 1em 3em;
	border:1px;
	display:block;
}
.box_link a:hover{
	padding:1em 3em 1em 3em;
	border:1px;
	display:block;
}

.box_morelink a:active,
.box_morelink a:link,
.box_morelink a:hover,
.box_morelink a:visited
{
	padding:1em 2em 1em 2em;
	border:1px #CCCCCC solid;
	display:block;
	text-align:center;
	width:55%;
	margin:2em auto;
}

main a img:hover {
	opacity: 0.5;
}

footer {
	width:100%;
	background-color:#4670A1;
	margin-top:10rem;
}

#footer-nav {
	max-width:106rem;
	color:#036;
	margin:0 auto;
	text-align:center;
	padding-top:4.0rem;
	padding-bottom:4.0rem;
}
#footer-nav ul {
	text-align:left;
}
#footer-nav li {
  display: inline-block;
  margin-right:1.2rem;
  color:#FFF;
}
#footer-nav li a{
	text-decoration:none;
	color:#FFF;
}
#footer-nav ul#footer-func {
	text-align:center;
	margin-top:5.0rem;
	margin-bottom:1.0rem;
}
#footer-nav ul#footer-func li{
	display: inline-block;
}
#navwrap {
	height:60px;
	width:100%;
	background-color:#05346C;
	z-index:999;
}


#pagetop{
    position: fixed;
    right: 10%;
    bottom: 10%;
    opacity: 0;
    -ms-filter: "alpha( opacity=0 )";
    filter:alpha(opacity:0);
    zoom:1;
    z-index: 9999;
}
#pagetop a{
    display: block;
    padding: 20px;
    background: #1EA6BB;
    color:#fff;
    text-decoration: none;
}




/* sp用 */
@media only screen and (max-width: 800px){
.pc {display:none;}

#headarea ul#header-func li{
	display: none;
}
ul.flexnav span {
	display:none;
}
ul.flexnav-show {
	z-index:999 !important;
}
#navwrap {
	width:100%;
	background-color:#05346C;
	height:0;
}
#headarea img.rogo-name {
	width:14.43%;
	min-width:80px;
	max-width:153px;
	margin-left:1.2%;
	padding-top:2px;
}
#headarea{
	margin-top:5px;
	margin-bottom:5px;
	background-position:40px 0px;
}

.box_morelink a:active,
.box_morelink a:link,
.box_morelink a:hover,
.box_morelink a:visited
{
	padding:1em 2em 1em 2em;
	border:1px #CCCCCC solid;
	display:block;
	text-align:center;
	width:55%;
	margin:1em auto;
}

}

/* pc用 */
@media only screen and (min-width: 801px){
.sp {display:none}


}
