@charset "utf-8";


/* loading */
.loading-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #d5d7d8;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.loading-text {
	color: #000;
	font-size: 2rem;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.2em;
	position: relative;
}
.loading-text .letter {
	display: inline-block;
	transform-origin: center;
	animation: explode 1.5s ease-out forwards;
}
@keyframes explode {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(2.5);
		opacity: 0;
	}
}

/* common */
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	overflow: hidden;
	margin: 0;
	font-family: “Helvetica Neue”, Helvetica, Arial, fot-cezanne-pron, sans-serif;
	line-height: 1.5;
	background-color: #d5d7d8;
}

a {
	text-decoration: none;
	color: #000;
}

img {
	vertical-align: bottom;
}

.container {
	width: 100%;
	margin: 0 auto;
}

.animate {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity .3s, transform .3s;
}

.animate.delay {
	transition-delay: .3s;
}

.animate.delay-more {
	transition-delay: .6s;
}

.animate.appear {
	opacity: 1;
	transform: none;
}

#to_top {
	position: fixed;
	bottom: 5%;
	right: 5%;
	opacity: 0;
	transition: opacity .3s;
}

#to_top.scrolled {
	opacity: 1;
}

#to_top i {
	font-size: 48px;
	color: #000101;
}

/* header */
header {
	padding: 16px;
	position: fixed;
	top: 0;
	width: 100%;
	transition: background-color 0.5s;
	z-index: 100;
}

header.scrolled {
	background-color: #000;
	color: #fff;
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header li a {
	padding: 0 16px 0 0;
	margin-right: 8px;
	color: #999;
}

header li a:hover {
	opacity: 0.6;
}

/* hero */
.hero {
	width: 100%;
	height: 100vh;
}

.hero h2 {
	text-align: center;
	margin-top: -60vh;
	color: #fff;
	font-size: 64px;
	display: block;
	max-width: 100%;
	position: relative;
}

.hero h3 {
	text-align: center;
	font-size: 48px;
	position: relative;
	color: #999;
}


/*========= スクロールダウンのためのCSS ===============*/

/*====== 9-1-1 縦線が動いてスクロールを促す =======*/

/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  left:50%;
  bottom:0;
    /*全体の高さ*/
  height:50px;
}

/* 線の描写 */
.scrolldown1::after{
  content: "";
    /*描画位置*/
  position: absolute;
  top: 0;
    /*線の形状*/
  width: 1px;
  height: 100px;
  background: #eee;
    /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
  0%{
    height:0;
    top:0;
    opacity: 0;
  }
  30%{
    height:30px;
    opacity: 1;
  }
  100%{
    height:0;
    top:50px;
    opacity: 0;
  }
}

/* works */
.works h2 {
	font-size: 64px;
	text-align: center;
	padding: 50px;
	margin-top: -250px;
}

.works p {
	text-align: center;
	padding: 8px 0 32px 0;
}

.works img {
	min-width: 100%;
	width: 300px;
	height: 300px;
	object-fit: cover;
	border: 1px solid #333;
}

.works-inner {
	width: 90%;
	margin: 0 auto;
}

.works .container a {
	position:relative;
	top:0;
	transition: 0.3s;
}

.works .container a:hover {
	top:-5px;
	filter: drop-shadow(6px 12px 6px rgba(0,0,0,35%)); /*非透過部分に影*/
}

/* about */
.about h2 {
	text-align: center;
	font-size: 64px;
}

.about h3 {
	font-size: 48px;
	text-align: center;
	padding: 32px 0;
	color: #fff;
}

.about .container {
	display: flex;
	justify-content: space-evenly;
}

.about-img {
	text-align: center;
}

.about-img img {
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 50%;
	filter: grayscale(1);
  border: 1px solid #333;
}
.about-img:hover img {
  filter: grayscale(0);
}

.about p {
	padding: 16px;
}

.skills {
	width: 45%;
}

.skills img {
	display: block;
	margin: 0 auto;
}

.skills p {
	text-align: center;
	padding: 8px;
}

.skills-text p {
	text-align: center;
	padding: 16px;
}

.blog-img {
	margin: 0;
}

.blog-img img {
	display: block;
	margin: 0 auto;
	width: 50%;
	position:relative;
	top:0;
	transition: 0.3s;
	border: 1px solid #333;
}

.blog-img img:hover {
	top:-5px;
	filter: drop-shadow(6px 12px 6px rgba(0,0,0,35%)); /*非透過部分に影*/
}

.blog-text {
	text-align: center;
}

/* バナー本体 */
.name-banner {
	display: block;
	height: 200px;
	width: 100%;
	overflow: hidden;
}

/* バナー内コンテンツ */
.name-banner__content {
	display: inline-block;
	color: #000;
	line-height: 180px;
	padding-left: 100%;
	white-space: nowrap;
	animation: animate-banner 20s linear infinite;
	font-size: 160px;
}

/* バナー内の要素をすべて選択 */
.name-banner__content>* {
	display: inline-block;
}

/* 横にスクロールさせるアニメーション */
@keyframes animate-banner {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-100%);
	}
}

/* footer */
.footer {
	width: 100%;
	background: #000;
	color: #fff;
	text-align: center;
}

.footer h3 {
	font-size: 48px;
	padding-top: 100px;
}

.footer .container {
	display: flex;
	justify-content: center;
}

.footer a {
	color: #fff;
}

.footer a:hover {
	opacity: 0.6;
}

.footer p {
	padding: 32px;
}


/* レスポンシブル */
@media (min-width: 600px) {
	header h1 {
		font-size: 24px;
	}

	header li {
		font-size: 20px;
	}

	header li a {
		padding: 0 32px 0 0;
	}

	.works p {
		font-size: 24px;
	}

	.works img {
		max-width: 100%;
		width: 350px;
		height: 350px;
		object-fit: cover;
	}

	.works .container {
		display: flex;
		justify-content: space-evenly;
	}

	.works-inner {
		width: 45%;
		margin: 0 auto;
	}

	.about-container {
		display: flex;
		justify-content: space-evenly;
		align-items: center;
	}

	.about-container p {
		padding: 0 32px 0 32px;
	}

	.about-img {
		margin: 0 auto;
	}

	.about-img img {
		width: 300px;
		height: 300px;
	}

	.about p {
		font-size: 20px;
	}

	.name-banner__content p {
		font-size: 200px;
	}

	.skills-text {
		font-size: 24px;
	}

	.footer p {
		font-size: 20px;
	}
}