

/* ///////////////////////////////////////////全体の中央配置 */	
html,body {
	width: 100%;
	height: 100%;
	margin: 0;
	text-align: center;
	position: relative;
	font: 85%/150%"ＭＳ Ｐゴシック","ＭＳ ゴシック",sans-serif,monospace;
}

div#wrap {
	width: 100%;
	margin: 0 auto;
	min-height:98%;
	position: relative;
}

div#wrap2 {
	width: 100%;
	margin: 0 auto;
	position: relative;
	min-height:98%;
	background: #f7f7f1;

}

div#header {
	margin: 0 auto;
	background: #fff;
}

div#main {
	width: 1000px;
	padding: 20px 0 20px;
	margin: 0 auto;
	overflow:hidden;
}
div#main2 {
	width: 1000px;
	padding: 20px 0 20px;
	margin: 0 auto;
	overflow:hidden;
}

div#main:after,
div#main2:after {
	clear:both;
}

div#footer {
	clear:both;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 20px;
	background: #fff;
}

/* ///////////////////////////////////////////全体の設定 */
ul, ol {
	list-style: none;
	}
a {
	color: #555;
	text-decoration: none;
	}

a:hover {
	color: #f00;
	text-decoration: underline;
	}


/* スマホように画像 */	
@media screen and (max-width: 600px) {
img {
max-width : 100% ;
height : auto ;}
div#main,div#main2{
	width: 90%;}
div#wrap,div#wrap2 {
	padding: 0;
	margin: 0;
	list-style: none;}
}


/* ///////////////////////////////////////////メニュー */	
#menu{
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}
#menu ul{  margin: 0 auto;}
#menu li{
  display:inline-block;
  margin: 0;
    padding: 10px;
}
#menu li a{
  display: block;
  padding: 12px 0 10px;
  text-align: center;
  text-decoration: none;
}

#toggle{ 
 display: none;
}

@media only screen and (max-width: 600px) {
  #menu{
    display: none;
  }
  #menu li{
    width: 100%;
        padding: 0;  
	border-bottom: 1px dashed #ddd; 
  }

#toggle{
  display: block;
  position: relative;
  width: 100%;
  background: #222;
}
#toggle a{
  display: block;
  position: relative;
  padding: 12px 0 10px;
  border-bottom: 1px solid #444;
  color: #fff;
  text-align: center;
  text-decoration: none;
} 
 #toggle:before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: #fff;
  }
  #toggle a:before, #toggle a:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 4px;
    background: #222;
  }
  #toggle a:before{
    margin-top: -6px;
  }
  #toggle a:after{
    margin-top: 2px;
  }
}
	
/* ///////////////////////////////////////////ボタン */

.topbox {
	display: inline-block;
	margin: 3px;
}
.topbox img{
	width: 230px;
	}

@media screen and (max-width: 600px) {
.topbox {
	display:block;
	margin: 0;
}
.topbox img {
	width: 100%;
	margin: 0; }
}



/* ///////////////////////////////////////////トップに戻る */
/* Topへ戻るボタン */
#pagetop {
    display: none;
    position: fixed;
    bottom: 5px;
    right: 5px;
}

#pagetop img{
	width: 80px;
	}
	
#pagetop a {
    display: block;
    text-decoration: none;
}
#pagetop a:hover {
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}


/* クリア */
.clear { 
	clear: both;
}
/* 左寄せ */
.left { 
	text-align: left; 
	}