﻿@charset "UTF-8"; 

html,body{
	width: 100%;
	height: 100%;
	margin: auto;
}
body {
	/*フォント(ゴシック体)*/
	font-family: “メイリオ”, Meiryo, Arial, Roboto, “Droid Sans”, “游ゴシック”, YuGothic, “ヒラギノ角ゴ ProN W3”, “Hiragino Kaku Gothic ProN”, sans-serif;
	background-color: #000000;
	color: #ffffff;
	font-size: 24px;
}
img{
	max-width: 100%;
	height: auto;
	width: auto;　
}
a{
	color: #ababab;
	text-decoration: none;
}
a:hover{
	color: #ffffff;
	text-decoration: underline;
}



/*top*/
#wrap1{
	background: url(../img/01bg.jpg) no-repeat;
	background-size: cover;
	margin: auto;
	height: 1000px;
}
#wrap1 img{
	display: block;
	margin: auto;
}
#wrap1 img:first-child{
	padding-top: 160px;
	padding-bottom: 80px;
}
#wrap1 ul{
	display: flex;
	justify-content: space-between;
	width: 1000px;
	margin: auto;
}
#wrap1 ul li a{
	display: block;
	background: rgba(255,255,255,0.6);
	width: 180px;
	height: 180px;
	border-radius: 50%; 
	color: #000000;
	text-align: center;
	vertical-align: middle;
	padding-top: 78px;
	box-sizing: border-box;
	transition: background 0.8s;
}
#wrap1 ul li a:hover{
	background: rgba(255,255,255,0.9);
	text-decoration: none;
}
#wrap1 img:last-child{
	-webkit-animation: down 1s ease-out infinite normal 0s;
	-moz-animation: down 1s ease-out infinite normal 0s;
	-ms-animation: down 1s ease-out infinite normal 0s;
	animation: down 1s ease-out infinite normal 0s;
}
@-webkit-keyframes down{
	0%{margin-top: 120px;}
	100%{margin-top: 150px;}
}
@-moz-keyframes down{
	0%{margin-top: 120px;}
	100%{margin-top: 150px;}
}
@-ms-keyframes down{
	0%{margin-top: 120px;}
	100%{margin-top: 150px;}
}
@keyframes down{
	0%{margin-top: 120px;}
	100%{margin-top: 150px;}
}

/*Profile*/
#wrap2{
	background: url(../img/02bg.jpg) no-repeat;
	background-size: cover;
	margin: auto;
	height: 1000px;
}
#wrap2 h2{
	padding-top: 280px;
	margin: auto;
	text-align: center;
}
#wrap2 p{
	margin: 50px auto;
	text-align: center;
}


/*skills*/
#wrap3{
	background: url(../img/03bg.jpg) no-repeat;
	background-size: cover;
	margin: auto;
	height: 1000px;
}
#wrap3 h2{
	padding-top: 232px;
	margin: auto;
	text-align: center;
}
#wrap3 div.flexbox{
	margin: 50px auto;
	justify-content: center;
}
#wrap3 div.flexbox div section{
	padding: 30px;
}
/*portfolio*/
#wrap4{
	background: url(../img/04bg.jpg) repeat;
	margin: auto;
	padding-bottom: 180px;
}
#wrap4 h2{
	padding-top: 180px;
	margin: auto;
	text-align: center;
}
#wrap4 section {
	display: flex;
	justify-content: space-between;
	width: 1000px;
	margin: 30px auto 0;
	padding-bottom: 30px;
}
#wrap4 div h3{
	padding-top: 40px;
	padding-bottom: 10px;
	margin: auto;
	text-align: center;
}
#wrap4 div p{
	padding-bottom: 30px;
	margin: auto;
	text-align: center;
}
#wrap4 section div:first-child img{
	width: 400px;
	padding-right: 30px;
}
#wrap4 section div:last-child{
	width: 500px;
}
#wrap4 section div:last-child div{
	justify-content: space-between;
	flex-wrap: wrap;
}
#wrap4 section div:last-child div img{
	width: 45%;
	min-width: 166px;
}

/*footer*/
footer{
	width: 100%;
	font-size: 10px;
	text-align: center;
	background: rgba(0,0,0,0.5);
	padding: 20px 0;
}

/*クラス指定*/
.flexbox {
	display: flex;
}
.bold{font-weight: bold;}


/*レスポンシブ*/
@media screen and (min-width: 1000px){
/*グローバルナビ*/
#gnav{
	position: fixed;
	width:100%;
	background: rgba(0,0,0,0.5);
}
#gnav nav{
	width: 100%;
	display: block;
}
#gnav nav ul{
	justify-content: space-between;
	width: 1000px;
	margin: auto;
}
#gnav nav ul li{
	padding: 10px 30px;
	text-align: center;
	display: block;
}
}


@media screen and (max-width:999px){
/*グローバルナビ*/
#gnav{
	position: fixed;
	width:100%;
	background: rgba(0,0,0,0.5);
	font-size: 10pt;
}
#gnav nav{
	width: 100%;
	display: block;
}
#gnav nav ul{
	justify-content: space-between;
	width: 100%;
	margin: auto;
}
#gnav nav ul li{
	text-align: center;
	display: block;
	padding: 10px;
}

/*top*/
#wrap1{
	background: url(../img/01bg.jpg) no-repeat;
	background-size: cover;
	margin: auto;
	height: 1000px;
}
#wrap1 img{
	display: block;
	margin: auto;
}
#wrap1 img:first-child{
	padding-top: 130px;
	padding-bottom: 50px;
}
#wrap1 ul{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: auto;
	margin: auto;
}
#wrap1 ul li a{
	display: block;
	background: rgba(255,255,255,0.6);
	width: 80%;
	margin: 20px auto;
	height: auto;
	border-radius: 30px; 
	color: #000000;
	text-align: center;
	vertical-align: middle;
	padding: 20px 0;
	box-sizing: border-box;
	transition: background 0.8s;
}
#wrap1 img:last-child{
	-webkit-animation: down 1s ease-out infinite normal 0s;
	-moz-animation: down 1s ease-out infinite normal 0s;
	-ms-animation: down 1s ease-out infinite normal 0s;
	animation: down 1s ease-out infinite normal 0s;
}
@-webkit-keyframes down{
	0%{margin-top: 120px;}
	100%{margin-top: 150px;}
}
@-moz-keyframes down{
	0%{margin-top: 120px;}
	100%{margin-top: 150px;}
}
@-ms-keyframes down{
	0%{margin-top: 120px;}
	100%{margin-top: 150px;}
}
@keyframes down{
	0%{margin-top: 120px;}
	100%{margin-top: 150px;}
}

#wrap2 p{
	margin: 50px auto;
	text-align: center;
	width: 90%;
}

/*portfolio*/
#wrap4 section {
	display: block;
	width: 90%;
	margin: 30px auto 0;
	padding-bottom: 30px;
}
#wrap4 section div:first-child img{
	width: 90%;
	padding-right: 0;
	margin: auto;
	display: block;
}
#wrap4 section div:last-child{
	width: 90%;
	margin: auto;
}



}
@media screen and (max-width:960px){

#wrap1 ul{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: auto;
	margin: auto;
}
#wrap1 ul li a{
	display: block;
	background: rgba(255,255,255,0.6);
	width: 80%;
	margin: 20px auto;
	height: auto;
	border-radius: 30px; 
	color: #000000;
	text-align: center;
	vertical-align: middle;
	padding: 20px 0;
	box-sizing: border-box;
	transition: background 0.8s;
}

}
