@charset "utf-8";

/* CSS Document */
@import url("clear.css");
/* default */
html {
	overflow-y: scroll;
}
body {
	color: #333;
	font-family: "メイリオ",Meiryo,"游ゴシック",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	font-size: 100%;
	line-height: 2;
	-webkit-text-size-adjust: 100%;
}

/*header*/
div#headerarea{
	padding: 20px 0;
	width: 1000px;
	margin: 0 auto;
	text-align: center;
}

div#headerarea h1{
	margin-bottom: 20px;
}

div#headerarea h1 img{
	height: 57px;
}

div#headerarea nav{
	width: 1000px;
	margin: 0 auto;
}

ul#pagenav{
	display: flex;
	justify-content: center;
}

ul#pagenav li{
	margin: 0 5px;
}

ul#pagenav a{
	color: #333;
	text-decoration: none;
	display: block;
	padding: 0 10px 10px;
	position: relative;
	font-size: 120%;
	line-height: 1;
}

ul#pagenav a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: '';
  width: 0;
  height: 3px;
  background-color: rgba(51,51,51,0);
 transition: .5s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
ul#pagenav a:hover::after {
  width: 100%;
	 background-color: rgba(51,51,51,1.00);
}
h2#pagetitle{
	text-align: center;
	padding: 20px 0 40px;
	width: 1000px;
	margin: 0 auto;
}

h2#pagetitle img{
	height: 30px;
}

/*footer*/
footer{
	background: url(../img/footer_backline.gif) top center;
}

div#footerarea{
	background: url(../img/footer_back.png) no-repeat top center;
	text-align: center;
	height: calc(325px - 70px);
	overflow: hidden;
	padding: 40px 0 30px;
}

div#footerarea dl{
	margin-top: 25px;
	margin-bottom: 35px;
}

div#footerarea dt{
	font-weight: bold;
	font-size: 120%;
	margin-bottom: 10px;
	line-height: 1;
}

div#footerarea dd{
	font-size: 85%;
}

div#footerarea img{
	height: 57px;
}

p#copyright{
	font-size: 85%;
}

/*お問い合わせ*/
div#btn_contact{
	position: fixed;
	right: 0;
	top: 350px;
	height: 15em;
}

div#btn_contact a{
	display:flex;
	align-items:center;
	background: #000;
	border-radius: 5px 0 0 5px;
	color: #fff;
	text-decoration: none;
	width: calc(55px - 20px);
	-webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
	padding: 20px 10px;
	transition: .5s;
}

div#btn_contact a:hover{
	background: #009644;
}

div#btn_contact a img{
	height: 16px;
	margin-bottom: 10px;
}

/*TOPアンカー*/
#anchor{
	position: fixed;
	right:80px;
	z-index:1000;
}

#anchor a{
	display:flex;
	justify-content: center;
	align-items: center;
	width:50px;
	height: 50px;
	border-radius: 50%;
	background: #333;
	cursor:pointer;
}

#anchor a img{
	height: 20px;
}
