@charset "utf-8";



#loading {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  background-color: #005E98;
  z-index: 9999;
}

#loading .load_anime {
  margin: 50vh auto 0;
  width: 50%;
  /* transform: translate(-50%, -50%); */
}

.loaded {
  opacity: 0;
  visibility: hidden;
}




#wrap::before {
	content: "";
	display:block;
	width: 100%;
	height: 200vh;
	opacity: 0;
}

#top {
  position: relative;
  width: 100%;
  height: 100vh;
}

#top .title {
	justify-content: right;
}
#top .title h1 {
	right: calc(100vw * 63 / 1633);
	width: calc(100vw * 580 / 1633);
}
#top .title span {
	font-size: calc(100vw * 307 / 1633);
}

#top #fuji {
	display: block;
	position: absolute;
	bottom: -3%;
	width: 100%;
	z-index: -10;
}
#top #fuji_sp {
	display: none;
	z-index: -10;
}

#top #sun {
  position: absolute;
  bottom: 35%;
  left: calc(100vw * 100 / 1366);
  width: calc(100vw * 430 / 1366);
  z-index: -20;
}
#top #cloud {
	position: absolute;
	bottom: calc(100vw * 443 / 1366);
	left: 0;
	width: 150%;
	z-index: -15;
	animation: cloud 20s linear infinite;
}
#top #cloud_2 {
	position: absolute;
	bottom: calc(100vw * 443 / 1366);
	left: 0;
	width: 150%;
	z-index: -15;
	animation: cloud_2 20s linear infinite;
}
@keyframes cloud {
	0% {
		left: 0%;
	}
	50% {
		left: -75%;
	}
	100% {
		left: -150%;
	}
}
@keyframes cloud_2 {
	0% {
		left: 150%;	
	}
	50% {
		left: 75%;
	}
	100% {
		left: 0%;
	}
}

#cloud_zone {
  position: relative;
  height: 90vh;
}

#cloud_zone .cloud_big {
  position: absolute;
  top: calc(100vh * -660 / 633);
  right: 120%;
  width: calc(100vh * 1300 / 633);
  z-index: -5;
}


.me_pic {
	width: fit-content;
	height: 4%;
	margin: 0 auto ;
}
#wrap #profile .me_pic.scroll_me img {
	position: absolute;
	top: 0%;
	right: 50%;
	height: 14%;
	transform: translate(50%,-50%);
	transition: all .8s ease;
}
#wrap #profile .me_pic.scroll_me.js-fade img {
	position: fixed;
	top: 55%;
	right: 6%;
	/* height: calc(100vh * 300 / 1080); */
	height: 70%;
}


#wrap {
	position: relative;
}

.eachTextAnime span {
	opacity: 0;
}
.eachTextAnime.js-fade span { 
	animation:text_anime_on 2s ease-out forwards; }
	@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

#works, #profile, #blog, #contact, #blog {
  position: relative;
  padding-top: 220px;
  z-index: 100;
}
#works .title, #profile .title, #blog .title, #contact .title {
	justify-content: center;
	margin-bottom: 120px;
}
#works .title h2, #profile .title h2, #blog .title h2, #contact .title h2 {
	font-size: 4.0rem;
}
#works .title span, #profile .title span, #blog .title span, #contact .title span {
	font-size: 7.0rem;
}
#blog .title.tech span {
	font-size: 4.5rem;
}

#works_box {
	display: flex;
	justify-content: left;
	flex-wrap: wrap;
	width: 100%;
}
#works_box>div {
	position: relative;
	width: calc(94% / 3);
	margin: 20px 1%;
}
#works_box .scroll {
	opacity: 0;
	transform: translateY(100px);
	transition: all .5s ease;
}
#works_box .scroll.js-fade {
	opacity: 1;
	transform: translateY(0);
}
#works_box p img {
	width: 100%;
	border-radius: 20px;
	box-shadow: 5px 5px 5px rgba(79, 16, 19, 0.3);
}
#works_box a {
	position: relative;
	display: block;
}
#works_box a p:last-child {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .7);
	border-radius: 20px;
	font-size: 1.8rem;
	line-height: 1.8rem;
	color: #fff;
	transition: all .3s ease;
	opacity: 0;
}
#works_box p:last-child:hover {
	opacity: 1;
}
#works_box a+p {
	padding: 10px 0 0 5px;
	line-height: 1.1rem;
}
#works_box a+p span {
	font-size: 0.8rem;
}
.technic {
	display: flex;
	justify-content: left;
	flex-wrap: wrap;
}
.technic p {
	width: fit-content;
	padding: 0 3px;
	margin: 5px 5px;
	background-color: #D64343;
	font-size: 0.7rem;
	line-height: 1.2rem;
	color: #fff;
	border-radius: 3px;
}


#wrap #works {
  position: relative;
}

#wrap #profile #profile_cont {
  position: relative;
  margin: 0 30% 0 7%;
}
#wrap #profile #profile_cont .cont_box:nth-of-type(1) {
	min-height: 5.0rem;
}

#wrap #profile #profile_cont .cont_box {
	position: relative;
	margin: 20px 70px;
}
#wrap #profile #profile_cont h3 {
  padding: 60px 0 10px 100px;
  font-size: 1.875rem;
  line-height: 1.875rem;
  border-bottom: 2px solid #3D3D3D;
}

#wrap #profile #profile_cont .cont_box table tr td:first-child {
	width: 120px;
	vertical-align: text-top;
}
#wrap #profile #profile_cont .cont_box table tr td {
	padding: 0 0 50px 0;
}
#wrap #profile #profile_cont .cont_box table tr td span {
	display: block;
	margin-top: 5px;
	width: 20%;
}
#wrap #profile #profile_cont table tr td:first-child {
  	width: 30%;
}
#wrap #profile #profile_cont .cont_box.skill {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
		-ms-flex-pack: justify;
			justify-content: space-between;
	-ms-flex-wrap: wrap;
		flex-wrap: wrap;
}

#wrap #profile #profile_cont .cont_box.skill .chart {
	width: calc(90%/3);
  	margin-bottom: 5%;
}

#wrap #profile #profile_cont .cont_box.skill .chart p:last-child {
	position: relative;
	width: 100%;
}

#wrap #profile #profile_cont .cont_box.skill .chart p:last-child::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 7px;
	height: 90%;
	width: 95%;
	background-color: #c4c4c4;
	z-index: -10;
}

#wrap #profile #profile_cont .cont_box.skill .chart p:last-child::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 2px;
	height: 90%;
	background-color: #F9A7F3;
	z-index: -10;
}

/* ▼ スキル達成度設定 */
/* ▼ HTML */
#wrap #profile #profile_cont .cont_box.skill .chart.html.scroll.js-fade p:last-child::after {
	width: calc(85% - 2px);
}
/* ▼ CSS */
#wrap #profile #profile_cont .cont_box.skill .chart.css.scroll.js-fade p:last-child::after {
	width: calc(90% - 2px);
}
/* ▼ JavaScript */
#wrap #profile #profile_cont .cont_box.skill .chart.js.scroll.js-fade p:last-child::after {
	width: calc(30% - 2px);
}
/* ▼ WordPress */
#wrap #profile #profile_cont .cont_box.skill .chart.wp.scroll.js-fade p:last-child::after {
	width: calc(60% - 2px);
}
/* ▼ php */
#wrap #profile #profile_cont .cont_box.skill .chart.php.scroll.js-fade p:last-child::after {
	width: calc(40% - 2px);
}
/* ▼ DB */
#wrap #profile #profile_cont .cont_box.skill .chart.db.scroll.js-fade p:last-child::after {
	width: calc(40% - 2px);
}
/* ▼ Photoshop */
#wrap #profile #profile_cont .cont_box.skill .chart.ps.scroll.js-fade p:last-child::after {
	width: calc(85% - 2px);
}
/* ▼ illustrator */
#wrap #profile #profile_cont .cont_box.skill .chart.ai.scroll.js-fade p:last-child::after {
	width: calc(85% - 2px);
}
/* ▲ スキル達成度設定 */

#wrap #profile #profile_cont .cont_box.skill .chart.scroll p:last-child::after {
	width: 0;
	transition: all .5s ease-in;
}

#blog {
    position: relative;
    margin: 0 70px;
}
#blog a {
	color: #000;
}
#blog .blogs a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 70px 25px;
	border-bottom: 1px dotted #000;
}
#blog .blogs a img {
	transition: all .3s ease;
}
#blog .blogs a:hover img {
	transform: scale(1.1);
}
#blog #thumbnail {
	width: 15%;
}
#blog #text_blog {
	width: 80%;
}
#blog #text_blog p:nth-child(2) {
	color: #D64343;
}

#contact {
	margin-top: 7%;
	padding-bottom: 4%;
	background-image:url(../img/backg.jpg);
}
#contact form{
	margin: 0 170px;
 	position: relative;
}
#contact input, #contact textarea {
	margin-top: 4px;
	margin-bottom: 30px;
	padding-left: 3px;
	border: 2px solid #aaa;
	border-radius: 5px;
}
#contact input:focus, #contact textarea:focus {
	border: 2px solid #fc893c;
	border-radius: 5px;
}
#contact input {
	width: 100%;
	max-width: 420px;
	height: 30px;
}
#contact button {
	width: auto;
	padding: 10px 40px;
	background-color: #D64343;
	border: none;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
}
#contact textarea {
	height: 200px;	
}

#contact form p {
	position: relative;
}
#contact form p .error {
	position: absolute;
	left: 0;
	top: 56px;
	font-size: 0.8rem;
	line-height: 0.8rem;
	color: red;
}
#contact form p:nth-last-of-type(1) .error {
	top: 226px;
}
#privacy {
	display: block;
	margin: 0 0 15px;
}


@media screen and (max-width:820px) {
	#works, #profile, #blog, #contact {
		padding-top: 180px;
	}
	#works .title, #profile .title, #blog .title, #contact .title {
		margin-bottom: 100px;
	}

    #wrap #profile #profile_cont {
		margin: 0 50px;
	}

	#wrap #profile #profile_cont .cont_box {
		margin: 20px 50px;
	}
	#wrap #profile #profile_cont .cont_box.skill .chart {
		width: calc(90%/2);
	}

	#wrap #profile #profile_cont .cont_box table tr td:first-child {
		width: 110px;
	}

	#blog {
		margin: 0 50px;
	}
	#blog .blogs a {
		padding: 18px 40px 18px;
	}
	#blog #thumbnail {
		width: 30%;
	}
	#blog #text_blog {
		width: 65%;
	}

	#contact form {
		margin: 0 70px;
	}

	#wrap #profile .me_pic.scroll_me.js-fade img {
		width: 40%;
		height: auto;
	}
	#wrap #profile #profile_cont {
		position: relative;
		margin: 0 25% 0 2%;
	}

	@media screen and (max-height:350px) {
		#wrap #profile .me_pic.scroll_me.js-fade img {
			width: auto;
			height: 90%;
		}
	}
}


@media screen and (max-width:520px) {
	#works_box>div {
		width: calc(94% / 2);
		margin: 20px 1%;
	}

    #wrap #profile #profile_cont .cont_box {
		margin: 10px 3%;
	}

	#wrap #profile #profile_cont .cont_box.skill .chart {
		width: 80%;
		margin: 0 auto;
		margin-bottom: 5%;
	}

	#works {
		padding-top: 0px;
	}
	#profile, #contact {
		padding-top: 130px;
	}
	#works .title h2, #profile .title h2, #blog .title h2, #contact .title h2 {
		font-size: calc(100vw * 60 / 520);
	}
	#works .title h2, #profile .title h2, #blog .title h2, #contact .title h2 span {
		font-size: calc(100vw * 100 / 520);
	}
	#works .title, #profile .title, #blog .title, #contact .title {
		margin-top: 17%;
		margin-bottom: 90px;
	}
	#wrap #profile #profile_cont h3:nth-of-type(1) + .cont_box {
		display: block;
	}
	#wrap #profile #profile_cont {
		/* margin: 0 25px; */
		margin: 0 25% 0 3%;
	}
	
	#wrap #profile #profile_cont .cont_box table tr {
		margin-bottom: 30px;
	}
	#wrap #profile #profile_cont .cont_box table tr td:first-child {
		width: 90px;
	}
	#wrap #profile #profile_cont h3 {
		padding: 60px 0 10px 0;
		text-align: center;
	}

	#blog {
		margin: 0 25px;
	}
	#blog .blogs a {
		padding: 10px 20px 10px;
	}
	#blog #thumbnail {
		width: 30%;
	}
	#blog #text_blog {
		width: 67%;
	}

	#contact form{
		margin: 0 25px;
	}
	#contact input, #contact textarea {
		margin-bottom: 27px;
	}
	#contact input {
		width: 80%;
		height: 25px;
	}
	#contact button {
		position: relative;
		left: 50%;
		transform: translateX(-50%);
	}
	#contact form p .error {
		top: 49px;
	}
	#contact form p:nth-last-of-type(1) .error {
		top: 224px;
	}
}


@media screen and (max-aspect-ratio:9/10) {
	#wrap::before {
		height: 150vh;
	}
	#top {
	  height: 100vh;
	}

	#top .title h1 {
		top: 25%;
		right: calc(100vw * 25 / 700);
		width: calc(100vw * 350 / 700);
	}
	#top .title span {
		font-size: calc(100vw * 192 / 700);
	}

	#top #fuji_sp {
		display: block;
		position: absolute;
		width: 100%;
		z-index: -10;
	  	bottom: 0%;
	}
	#top #fuji {
		display: none;
	}
	#top #sun {
		bottom: calc(100vw * 327 / 500);
    	width: calc(100vw * 260 / 500);
	}
	#top #cloud, #top #cloud_2 {
		bottom: calc(100vw * 400 / 500);
	}
	#cloud_zone {
		height: 50vh;
	}
}