@charset "UTF-8";

html{
	font-size:62.5%;
	}

*,*::before, *::after{
	box-sizing:border-box;
	}

body{
	background:#151515 url(../images/bg.png) no-repeat fixed left bottom;
	background-size:cover;
	color:#fff;
	text-align:center;
	font-size:1.4rem;
	font-family:"Yu Mincho", "Hiragino Mincho ProN", "serif";
	}

ul {
  list-style: none;
}

/* --------------------------------
 * header
 * -------------------------------- */

.header{
	padding:0 0 200px;
	}

.site-title{
	margin:120px 0 40px;
	font-size:7.6rem;
	}

/*ハンバーガー*/

.rogo_w_h {
  position: fixed;
  left: 0;
  width: 200px;
  height: auto;
  margin: 5px 3%;

  /* 初期状態は上に隠す＆透明 */
  transform: translateY(-100px); /* 上に100px移動 */
  opacity: 0;

  /* アニメーション設定 */
  animation: dropIn 1s ease-out forwards;
  animation-delay: 1.5s; /* 2秒後に開始 */
}

@keyframes dropIn {
  to {
    transform: translateY(0); /* 元の位置に戻る */
    opacity: 1;               /* フェードイン */
  }
}

.rogo_w_h a:hover{
  opacity: 0.7;
  filter: alpha(opacity=80);
  -moz-opacity: 0.7;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.img_rogo{
	display: block;
	position:absolute;
	width:45px;
	height:auto;
	z-index:5;
	}

#nav_b{
	position:fixed;
	top:0;
	right: 0;
	width:100%;
	height:55px;
	/*
	background-color: rgba(255,255,255,0.7);
	*/
	z-index:10;
	}

.nav_bb {
  position: fixed;
  top: 0;
  right: 0;
  width: 100px;
  height: 55px;
  background-color: rgba(255,255,255,0.7);
  z-index: 10;

  /* 左下を斜めにする */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);

  /* 初期状態は縮小・透明 */
  transform: scaleX(0);
  transform-origin: right;
  opacity: 0;

  /* アニメーション設定 */
  animation: slideFade 1s ease-out forwards;
  animation-delay: 2s; /* 3秒後に開始 */
}

@keyframes slideFade {
  to {
    transform: scaleX(1); /* 右から左に伸びる */
    opacity: 1;           /* フェードイン */
  }
}



.global-nav {
	height: 600px;
}

.global-nav-ul{
	padding: 0;
}

.site-description{
	margin-bottom:30px;
	color:#fff;
	font-size:1.6rem;
	}

.button{
	display:inline-block;
	width:50px;
	height:50PX;
	border-radius:50px;
	background-color: rgba(255,255,255,0.3);
	color:#fff;
	text-decoration:none;
	font-size:1.2rem;
	}

.button .skill-icon-b {
	width:50px;
	height:50px;
	padding:10px 0;
	font-size:3.5rem;
	opacity: 0.7;
	}


.button:hover{
	opacity:0.7;
	}
	
.buttons .button{
	margin:10px;
	}



/* --------------------------------
 * about
 * -------------------------------- */

.about{
	margin: 0 3% 80px;
	padding:80px 30px;
	background-color:#fff;
	color:#000;
	box-shadow: 0px 0px 5px 4px rgba(0,0,0,0.1);
	}

.headihg{
	position: relative;
	display:inline-block;
	margin:30px 0 15px;
	padding-bottom:15px;
	letter-spacing:2px;
	font-size:4rem;
	}

.headihg::before,
.headihg::after{
	content:'';
	position:absolute;
	right:0;
	bottom:0;
	left:0;
	border-bottom:1px solid #000;
	}

.headihg::before{
	bottom:5px;
	}

.about-text{
	text-align:left;
	margin:30px 150px;
	line-height:2.5;
	}

.about-text dl dt{
		margin:50px 0 10px;
		font-weight:bold;
		}


/* --------------------------------
 * contact
 * -------------------------------- */

.contact{
	margin: 70px 3%;
	padding:80px 0 150px;
	background:#fff;
	color:#4B4B4B ;
	box-shadow: 0px 0px 5px 4px rgba(0,0,0,0.1);
	}

.contact_b{
	background:#fff;
	background-size:cover;
	}

.contact_h2{
	color:#4B4B4B ;
}

.contact-from{
	width:50%;
	margin:30px auto 0;
	}

.contact-from input[type=text],
.contact-from textarea{
	display:block;
	width:100%;
	margin-bottom:10px;
	padding:15px;
	outline:none;
	border:1px solid #CFCFCF;
	border-radius:0;
	background-color:#EBEBEB;
	color:#4B4B4B;
	}

.contact-from ::-webkit-input-placeholder{
	color: #CFCFCF;
	opacity:1;
	}
	
.contact-from :-ms-input-placeholder{
	color: #CFCFCF;
	opacity:1;
	}

.contact-from ::-moz-placeholder{
	color: #CFCFCF;
	opacity:1;
	}

.contact-from textarea{
	height:250px;
	}

.contact-from input[type=text]:focus,
.contact-from textarea:focus{
	box-shadow:0 0 8px rgba(0,0,0,0.2) inset;
	}


.contact-from input[type=submit]{
	display:block;
	width:100%;
	margin:40px auto 0;
	padding:15px;
	border:1px solid rgba(0,0,0,0.23);
	border-radius:5px;
	background-color:rgba(0,0,0,0.8);
	color:rgba(255,255,255,0.6);
	cursor:pointer;
	}

.contact-from input[type=submit]:hover{
	background-color:rgba(0,0,0,0.3);
	}


/* --------------------------------
 * footer
 * -------------------------------- */
.footer{
	padding:130px 0 100px;
	font-size:1.3rem;
	background:#2298D5;
	color:#fff;
	}

.horizontal-item{
	display:inline-block;
	position: relative;
	padding:0 30px 0 10px;
	letter-spacing:1px;
	}

.horizontal-list{
	width:100%;
	margin:0 auto 30px;
	}

.horizontal-list .horizontal-item a{
	color:#fff;
	transition:color .15s;
	text-decoration:none;
	}

.horizontal-list .horizontal-item a:hover{
	opacity: 0.5;
	transition: opacity 0.6s;
	}

.horizontal-item::before{
	content:'';
	position:absolute;
	top: 7px;
	left:0;
	width: 8px;
	height: 8px;
	background: #fff;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: 0 100%;
	-moz-transform-origin: 0 100%;
	-ms-transform-origin: 0 100%;
	-o-transform-origin: 0 100%;
	transform-origin: 0 100%;
	}


.cop{
	margin: 80px auto 0;
}


/* --------------------------------
 * smart phone
 * -------------------------------- */

@media (max-width:1024px){
	
	body{
	background-image: none;
	}
	
	}	
	
	
@media (max-width:768px){
	
	body{
		font-size:1.3rem;
		}
	
	/*header*/
	
	.site-title{
		margin-top:35px;
		font-size:5rem;
		}
	
	.header{
		padding-top:60px;
		}
	
	.button:hover{
		opacity:1;
		}
	
	
	/*nav*/
	
	.global-nav .nav-item {
  	display: block;
    }
	
	.nav_p{
		font-size:1rem;
		bottom:40px;
		}
	
	/*about me*/
	
	.headihg{
		font-size:2.5rem;
		}
	
	.about{
	padding:50px 30px;
	}
	
	.about-text{
		line-height:1.8;
		margin:0;
		}
	
	.about-text dl dt{
		margin:30px 0 15px;
		}
	
	.about-text dl dd{
		margin:0;
		}

	
	
	/*contact*/
	
	.contact-from{
		width:80%;
		}
	
	.contact{
		padding-bottom:80px;
		}
	
	/* footer*/
	
	.horizontal-list{
		padding:0;
		}

	.horizontal-item{
		display:block;
		padding:5px 0;
		}
	
		.horizontal-item::before{
	display:none
	}
	
	}
	