@charset "UTF-8";

body{
	font-family:Arial, sans-serif;
	-webkit-font-smoothing:antialiased;
	background:#FFF;
}

main{
	width:auto;
	margin:0 auto;
	display:block;
}


/*toggle*/
	
.main {
	position:fixed;
    width:30%;
    margin: 0 auto;
    padding: 50px;
    margin: 0 auto;
    vertical-align: top;
    text-align: center;
}
.para {
    padding: 0 0 20px 0
}
.warpper {
    max-width:100%;
    margin: 0 auto;
    border: solid 1px #000;
}
header {
	width:0%;
    background: #000;
    position: fixed;
    height: 50px;
    border-bottom: 1px solid #fff;
	z-index:30;
}
.button-toggle {
    position: fixed;
	top:0%;
	left:0%;
    width: 28px;
    height: 28px;
    margin: 10px;
    color: #333;
    line-height: 30px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    background: #666;
    font-size: 90%;
    border: 1px solid #fff;
	z-index:30;
}
.active {
    color: #fff;
    background: #000;
}
.ttl {
    font-size: 90%;
    float: left;
    height: 5px;
    line-height: 50px;
    width: 100%;
    text-align: center;
    z-index: 999;
}
.ttl a {
    color: #fff;
    text-decoration: none;
}
.menu {
    position: fixed;
    top: 50px;
    left: 0px;
    width: 20%;
    background: #000;
    color: #FFF;
    overflow: hidden;
	opacity:0.6;
}
.menu a {
    display: block;
    color: #FFF;
    text-decoration: none;
    padding: 5px 20px;
    border-bottom: 1px solid #555;
    height: 40px;
    line-height: 40px;
    font-size: 90%;
	
}

.menu ul {
	list-style:none;
	text-decoration:none;
	}

/*name*/
.catch {
	margin:0;
	padding:8px;
	font-size:8vw;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	position: fixed;
	top:2%;
	left:76%;
	z-index:20;
	color:#FFF;
	
	}
	.catch a {
	width:auto;
	display:block;
	text-decoration:none;
	color:#FFF;
	
}



#wrapper ul {position:relative;
	
	padding:120px 0 0 10px;
	width:auto;
	margin:0 auto;
	
}

#wrapper ul li{
	float:left;
	list-style-type:none;
	margin-right:20px;
}

#wrapper ul li:last-child{
	margin-right:0;
}

#bg{
	position:fixed;
	left:0;
	top:0;
	height:100%;
	width:100%;
	background:rgba(0, 0, 0, 0.8);
}

#photo{
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin:auto;
	width:640px;
	height:420px;
}


//上に戻る

h2{
  text-align: center;
  margin-bottom: 30px;
}

#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: -50px;
  bottom: 10px;
  background: #3F0;
  opacity: 0.6;
  border-radius: 50%;
  z-index:40;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: FontAwesome;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#test{
    height:600px;
}



/* ########### 500px以下 ########### */
@media (max-width: 500px) {
	
/*toggle*/
	
.main {
	position:fixed;
    width:30%;
    margin: 0 auto;
    padding: 50px;
    margin: 0 auto;
    vertical-align: top;
    text-align: center;
}
.para {
    padding: 0 0 20px 0
}
.warpper {
    max-width:100%;
    margin: 0 auto;
    border: solid 1px #000;
}
header {
	width:0%;
    background: #000;
    position: fixed;
    height: 50px;
    border-bottom: 1px solid #fff;
	z-index:30;
}
.button-toggle {
    position: fixed;
    top:2%;
	left:2%;
	width: 28px;
    height: 28px;
    margin: 10px;
    color: #333;
    line-height: 30px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    background: #666;
    font-size: 90%;
    border: 1px solid #fff;
	z-index:30;
}
.active {
    color: #fff;
    background: #000;
}
.ttl {
    font-size: 90%;
    float: left;
    height: 5px;
    line-height: 50px;
    width: 100%;
    text-align: center;
    z-index: 999;
}
.ttl a {
    color: #fff;
    text-decoration: none;
}
.menu {
    position: fixed;
    top: 51px;
    left: 0px;
    width: 90%;
    background: #000;
    color: #fff;
    overflow: hidden;
	opacity:0.6;
}
.menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 5px 20px;
    border-bottom: 1px solid #555;
    height: 40px;
    line-height: 40px;
    font-size: 70%;
	
}
.menu ul {
	list-style:none;
	text-decoration:none;
	}

	
/*portfolio*/
.catch {
	margin:0;
	padding:8px;
	font-size:30px;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	position: fixed;
	top:4%;
	left:16%;
	z-index:20;
	color:#000;
	
	}
	.catch a {
	width:auto;
	display:block;
	text-decoration:none;
	color:#000;
	
}

}






