@charset "utf-8";
/* リセット */
*{
	margin:0;
	padding:0;
	box-sizing:border-box;
}
.clearfix::after{
	content:"";
	display:block;
	clear:both;
}
.clear{
	clear:both;
}

/* 全体の設定 */
body{
	font-family:"メイリオ", "ＭＳ Ｐゴシック",sans-serif;
	font-size:16px;
	color:#111;/*#333より変更*/

}
a {
	text-decoration: none;
	outline:none;
}

/*ここからヘッダー*/
#header{
	margin:8px auto 0px;
	width:980px;
	background:#210000;
}
h1{
	float:left;
	margin:8px;
	width:72px;
	height:72px;
}
h1 img{
	width:72px;
	height:72px;
}

#nav{
/*	overflow:hidden;変更してhtmlにclass clreafix追記*/
	position:relative;
}
#nav ul{
	float:left;
	position:relative;	
	left:45%;/*50%より変更変更してhtmlにclass clreafix追記*/
	line-height:14px;
	margin-top:40px;
}
#nav li{
	float:left;
	position:relative;
	left:-50%;
	text-decoration:none;
	list-style:none;
	width:104px;
	text-align:center;
	color:#fff;
	border-radius:25px;
}
#nav li a{
	color:#fff;
	display:block;
	border-radius:25px;
	padding-top:3px;
}
#nav li a:hover {
	color:#210000;
}
#nav li:hover {
	color: #210000;
	background-color:#fff;
}

#nav li br{
  line-height: initial;
  line-height:14px;
}
.nav-alp{
	font-size:16px;
	text-align:center;
}
.nav-ja{
	font-size:10px;
	text-align:center;
}
/* ヘッダーここまで */

/* ここからコンテンツ */
.contents{
	width:980px;
	margin:0 auto;
	padding-bottom:80px;
}
h2{
	text-align:center;
	font-size:24px;
	padding:48px 8px 1px;
	width:128px;
	margin:0px auto 32px;
	border-bottom:4px dotted #333;
	border-radius:3px;
}
.contents p{
	width:500px;
	margin:0 auto 24px;
}
.contents ul li{
	list-style:none;
	font-size:14px;
}
.contents ul{
	width:500px;
	margin:0 auto;
}
textarea{
	box-sizing: border-box;
	font-family: sans-serif;
	border: 1px solid #ccc;
	padding: 8px;
	width: 500px;
	height: 240px;
	font-size: 16px;
	outline:none;
	border-radius: 3px;

}
input[type="text"],
input[type="email"] {
	border: 1px solid #ccc;
	padding: 8px;
	width: 500px;
	font-size: 16px;
	border-radius: 3px;
}
.submit-p {
	text-align: center;
	margin-top:16px;
}
input{
	outline:none;
}
input[type="submit"]::-moz-focus-inner{
	border :0px;
}
input[type="submit"] {
	border: 1px solid #210000;
	border-radius: 3px;
	padding: 4px 16px; 
	font-size: 14px;
	background:url(images/texture_kogetya.gif);
	color: #fff;
	font-family:"メイリオ", "ＭＳ Ｐゴシック",sans-serif;
	margin:0 32px;
}

input[type="submit"]:hover {
	background: linear-gradient(0deg, #7b6969, #3f2829);
}
input[type="submit"]:active {
	background: linear-gradient(0deg, #9a8c8c, #7b6969);
	outline:none;
}
input[type="reset"]::-moz-focus-inner{
	border :0px;
}
input[type="reset"] {
	border: 1px solid #210000;
	border-radius: 3px;
	padding: 4px 16px; 
	font-size: 14px;
	background:url(images/texture_kogetya.gif);
	color: #fff;
	font-family:"メイリオ", "ＭＳ Ｐゴシック",sans-serif;
	margin:0 32px;
}
input[type="reset"]:hover {
	background: linear-gradient(0deg, #7b6969, #3f2829);
}
input[type="reset"]:active {
	background: linear-gradient(0deg, #9a8c8c, #7b6969);
}
p{
	outline:none;
}
#comment,#name-field,#email-field{
	display:block;
	transition: all 0.3s;
}
input:focus,textarea:focus{
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.25);
	border: solid 2px #666;
}
/*コンテンツここまで*/

/* ここからフッター */
#footer{
	margin:0 auto;
	width:980px;
	text-align:center;
	font-size:12px;
	overflow:hidden;
	position:rilative;
	background:#210000;
	color:#fff;
}
.fb-logo a img{
	background:url(f_logo_RGB-Grey_1024.png);
	width:40px;
	height:40px;
	margin-top:24px;
}
.footer-logo a img{
	width:120px;
	height:120px;
	margin-top:40px;
}
.fnav ul{
	float:left;
	position:relative;
	left:50%;
}
.fnav li{
	float:left;
	position:relative;
	left:-40%;
	list-style:none;
	margin:16px 24px 8px;
	padding:0 10px;
	text-align:center;
}
#footer li a{
	color:#fff;
}
#footer li a:hover{
	color:#ddd;
}
#footer p{
	font-size:11px;
	text-align:center;
	margin-bottom:32px;
	color:#fff;
}
/* フッターここまで */

/* 上に戻るボタン */
.pagetop {
	color: #fff;
	background-color: rgba(0,0,0,0.3);
	text-decoration: none;
	display: none;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	font-size: 1.5rem;
	width: 3.3rem;
	height: 3.3rem;
	line-height: 3.3rem;
	border-radius: 3.3rem;
	text-align: center;
	cursor: pointer;
}

.pagetop:hover {
	color: #fff !important;
	background-color: #777;/*#e9b7c9より変更*/
	text-decoration: none;
}
/* 上に戻るボタンここまで */