@charset "UTF-8";

body{
/*	background-color:#e02020;*/
background-color:#E7382F;
}

header{
	width:954px;
	margin:0 auto;
	padding:10px 0 15px;
	overflow:hidden;
}

header h1{
	float:left;
	margin-top:5px;
	font-family:"ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	letter-spacing:1px;
	font-size:2.6em;
	color:#ffffff;
}
header h1 span{
	padding-left:3px;
	font-family:"Andalus", "ITC Garamond Std";
	font-size:1.2em;
}

header ul{
	float:right;
}

header ul li{
	margin-top:5px;
}

header ul li a{
	display:block;
	padding:5px 10px;
	background-color:#eeeeee;
	border:1px solid #e02020;
	border-radius:12px;
	text-align:center;
	text-decoration:none;
	color:#e02020;
}

header ul li a:hover{
	color:#ffffff;
	background-color:#e02020;
	border:1px solid #ffffff;
}



#container{
	width:100%;
	padding:1px 0 25px 0;
	background-color:#ffffff;
	min-height:700px;
}

#wrapper{
	width:954px;
	margin:0 auto;
}

#wrapper nav{
	width:954px;
}

#wrapper nav ul{
	display:-webkit-flex; /* Safari */
	display:flex;
	 -webkit-justify-content:space-between; /* Safari */
	 justify-content:space-between;
}

#wrapper nav ul li a{
	display:block;
/*	width:158px;*/
width:135px;
	padding:10px 0;
	background-color:#e5e5ea;
	text-decoration:none;
	text-align:center;
	letter-spacing:4px;
	text-indent:4px;
	color:#000000;
}

#wrapper nav ul li a:hover{
/*	width:156px;*/
width:133px;
	padding:9px 0;
	border:1px solid #e02020;
	background-color:#ffffff; 
	font-weight:bold;
}

#wrapper nav ul li:nth-of-type(4) a{
	width:136px;
	padding:12px 0 11px;
	letter-spacing:0;
	text-indent:0;
	font-size:0.84em;
}

#wrapper nav ul li:nth-of-type(4) a:hover{
/*	width:134px;*/
padding:11px 0 10px;
border-left:none;
border-right:none;
}

#wrapper nav ul li:nth-of-type(5) a{
	letter-spacing:0;
}
	



    #pageTop {
      position: fixed;
      bottom: 20px;
      right: 20px;
    }

    #pageTop a {
      display: block;
      z-index: 999;
      padding:5px;
	  border:#ffffff solid 2px;
      border-radius: 30px;
      width: 35px;
      height: 35px;
      background-color: #e02020;
      color: #ffffff;
      font-size: 10px;
      text-decoration: none;
      text-align: center;
    }
	
    #pageTop a:hover {
      text-decoration: none;
/*      opacity: 0.7;*/
	  border:#e02020 solid 2px;
	  background-color:#ffffff;
	  color:#e02020;
    }




footer{
	width:954px;
	margin:0 auto;
	padding-bottom:10px;
	overflow:hidden;
}

footer h1{
	float:left;
	padding-top:3px;
	line-height:1.4em;
	font-weight:normal;
	color:#ffffff;
}



footer ul{
	float:right;
	margin-top:5px;
}

footer ul li{
	float:left;
	margin-left:15px;
position: relative;
display: inline-block;
padding: 0 0 0 12px;
color: #000;
vertical-align: middle;
text-decoration: none;
font-size: 15px;
}

footer ul li::before{
width: 10px;
height: 12px;
background: #ffffff;
position: absolute;
top: 0;
bottom: 0;
left: -1px;
margin: auto;
content: "";
vertical-align: middle;
}
footer ul li::after{
left: 5px;
box-sizing: border-box;
width: 5px;
height: 5px;
border: 5px solid transparent;
border-left: 5px solid #e02020;
position: absolute;
top: 0;
bottom: 0;
left: 0;
margin: auto;
content: "";
vertical-align: middle;
}

/*
.arrow{
position: relative;
display: inline-block;
padding: 0 0 0 16px;
color: #000;
vertical-align: middle;
text-decoration: none;
font-size: 15px;
}
.arrow::before,
.arrow::after{
position: absolute;
top: 0;
bottom: 0;
left: 0;
margin: auto;
content: "";
vertical-align: middle;
}

.sample4-4::before{
width: 12px;
height: 12px;
background: #7a0;
}
.sample4-4::after{
left: 5px;
box-sizing: border-box;
width: 3px;
height: 3px;
border: 3px solid transparent;
border-left: 3px solid #fff;
}
*/

footer ul li a{
	text-decoration:none;
	color:#ffffff;
	font-size:0.9em;
}

footer ul li a:hover{
	text-decoration:underline;
}








footer p{
	float:left;
	width:954px;
	margin-top:15px;
	text-align:center;
	font-size:0.8em;
	color:#ffffff;
}