*{
	padding: 0;
	margin: 0;
	font-family: "Sawarabi Mincho";
	color: #212121;
	/*font-size: 16px;*/
}
.clearfix::after{
	content:'';
	display: block;
	clear: both;
}

img{
	max-width: 100%;
	vertical-align: bottom;
}
a{
	color: #002537;
	text-decoration: none;
}
a:hover{
	opacity: 0.7;
}
 .miki-logo{
 	position: absolute;
 	bottom: 100%;
 }
 header{
 	width: 100%;
 	height: 75px;
 	position: relative;
 	z-index: 9999
 }
 ul{
 	list-style-type: none;
 }
 header p{
 	float: left;
 }
.nav-pc{
	display: none;
}
.header-right li{
	float: right;
	width: 100%;
	text-align: center;
}
 header,footer{
 	background-image: url(../img/paper.png);
 	position: fixed;
 }
 body{
 	width:100%;
 	height: 100%;
 	/*background-image:url(../img/main-img.jpg);
	background-size: cover;
	/*position: fixed;*/
 	/*overflow-x: hidden;*/
 }
 /*.h1-p{
 	height: 100vh;
 }*/

.contents{
	padding-top:100px;
	padding: 100px 20px 0px;
	margin-bottom: 100px;
}
.contents h1{
	border-bottom: 2px solid #E6855E;
	border-left:20px solid #E6855E;
	padding: 5px 10px;
}
.contents h2{
	margin-top: 20px;
	margin-bottom: 10px;
}
.h1-p p{
	padding: 30px 20px;
}
/*skill*/
.fab,.far{
	color: #E6855E;
	padding-right: 30px;
}
progress{
	width: 100%;
}
p{
	line-height: 2;
}
 /***************************************************************
 main
 ***************************************************************/
 main{
 	max-width: 960px;
 	margin: 0 auto 50px auto;
}
.theme-img{
	position: absolute;
	z-index: -99;
	transform: translate(-40%,-5%);
}
.mini-theme{
	margin-top: 50px;
}
.mini-theme img{
	width: 100%;
	/*clip-path: polygon(12% 100%, 0% 89%, 0% 0%, 89% 0%, 100% 11%, 100% 100%);*/
}

.mini-theme section:nth-of-type(6n+3){
	background-image: url(../img/flower-y.png);
	background-repeat: no-repeat;
	background-position: top right;
	background-size: contain;
}
.mini-theme section:nth-of-type(6n){
	background-image: url(../img/flower-y.png);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: auto;
}
.mini-theme section:last-of-type{
	background-image: url(../img/flower-y.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.mini-theme section{
	margin: 20px 20px 20px;
	text-align: center;
}
.mini-theme section p{
	text-align: left;
}
 h2{
	margin-top: 20px;
	margin-bottom: 10px;
	padding: 5px 10px;
	border-bottom: 1px solid #C2A865;
	border-top: 1px solid #C2A865;
	text-align: center;
}
.top-bg-img{
	height: 100vh;
	position: relative;
}
 .bg-img{
 	position: absolute;
 	background-size: cover;
 	background-position: center;
 	background-repeat: no-repeat;
	top: 0;
	 left: 0;
	 bottom: 0;
	 right: 0;
	 opacity: 0;
	 /*animation: bgAnime 40s infinite; */
 }

 /**************************************************************
 header
 **************************************************************/

header p{
 	float: left;
 }
 nav ul{
 	float: right;
 }
 /*nav ul li{
 	float: left;
 	margin:15px 30px 14px 0;
 	font-weight: bold;
 }
 nav ul li:not(:last-of-type){
 	display: block;
 	border-right: 1px dotted black;
 	padding-right: 30px;
 }*/
nav li{
	display: block;
	text-align: center;
	height: 100%;
	width: 100%;
}
nav li a{
	width: 100%;
	height: 100%;
}

 /*****************************************************************
 /*メニュ－*/
 /****************************************************************/
 
 .nav-pc{
 	display: none;
 }
 .nav-sp a{
 	display: block;
 	line-height: 3;
 }
 #nav-drawer{
 	margin-top: 20px;
	display: block;
	float: right;
}
.nav-unshown{
	display: none;/*チェックボックスを非表示*/
}
#nav-open{
	display: inline-block;
	padding:5px;
	margin-right: 20px;
	width: 40px;
	height:33px;
	vertical-align: middle;
	cursor: pointer;
}

#nav-open span, #nav-open span:before,#nav-open span:after{
	
	position: absolute;/*3本線の作成*/
	height: 3px;
	width: 40px;
	border-radius: 3px;
	background:#555;
	display:block;
	content: '';
}
#nav-open span:before{
	bottom: -12px;
}
#nav-open span:after{
	bottom: -24px;
}
#nav-close{
	display: none;/*はじめは隠しておく*/
	position: fixed;
	z-index: 99;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background:black;
	opacity: 0;
	transition: .3s ease-in-out;
}

/*中身*/
#nav-content{
	overflow: auto;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	width:90%;
	max-width: 300px;
	height: 100%;
	background:#fff;
	transition: .3s ease-in-out;
	-webkit-transform:translateX(150%);
	transform: translateX(150%);
}
.nav-sp li{
	border-bottom: 1px solid;
	width: 100%;
}
.nav-sp li a{
	display: block;
	width: 100%;
	height: 100%;
}
#nav-input:checked ~ #nav-close{
	display: inline-block;
	opacity: .5;
	width: 100%;
}
#nav-input:checked ~ #nav-content{
	-webkit-transform:translateX(0%);
	transform: translateX(0%);
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
	z-index: 9999;
}
.header-right li{
	display: block;
	width: 100%;
	text-align: center;
}
.header-right li a{
	width: 100%;
}
/**********************************************************************
Topのアニメーション
*********************************************************************/

 /*レスポンシブに*/
 .img1{
 	background-image:url(../img/10010104-1.png);
 	animation: bgAnime1 40s infinite;
 }
 .img2{
 	background-image: url(../img/top-mado-hana.png);
 	animation: bgAnime3 40s infinite;
 }
 .img3{
 	background-image: url(../img/dummy.png);
 	background-position: center center;
 	background-size: contain;
 	animation: bgAnime2 40s infinite;
 }
 .img4{
 	background-image: url(../img/top-mado-hana.png);
 	animation: bgAnime4 40s infinite;
 }
 .img5{
 	background-image: url(../img/top-mado-hana.png);
 	opacity: 1;
 	/*animation: bgAnime5 40s infinite;*/
 }


 @keyframes bgAnime1{
 	0% { opacity: 0;}
   5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 1;}
  45% {	opacity: 1;}
  55%{opacity: 0;}
 100% { opacity: 0; }
 }
 @keyframes bgAnime2{
 	0% { opacity: 1;}
   5% { opacity: 0; }
  20% { opacity: 0; }
  25% { opacity: 0;}
  45% {	opacity: 0;}
  55%{opacity: 1;}
 100% { opacity: 1; }
 }
 @keyframes bgAnime3{
 	0% { opacity: 0;}
   5% { opacity: 0; }
  20% { opacity: 0; }
  25% { opacity: 1;}
  75%{opacity: 1;}
  80%{opacity: 0;}
 100% { opacity: 0; }
 }
 @keyframes bgAnime4{
 	0% { opacity: 0;}
 	70%{opacity: 0;}
  75%{opacity: 1;}
  80%{opacity: 1;}
 100% { opacity: 1; }
 }
 @keyframes bgAnime5{
 	0% { opacity: 1;}
   5% { opacity: 1; }
   25%{opacity: 1;}
   30%{opacity: 0;}
   95%{opacity: 0;}
   100%{opacity: 1;}
   }
/***********************************
   hanabira
********************************/
   .kaben div{
 	position: fixed;
 	left: 50%;
 	top: 100%;
 }
 .kaben1{
 	animation: kaben1 12s ease-in-out 2s infinite normal,
 				kaben2 2s ease-in-out 0s infinite alternate;
 				z-index: 10;
 }
 .kaben2{
 	animation: kaben1 8s ease 0s infinite normal,
 				kaben2 1.5s ease-in-out 0s infinite alternate;
 				z-index: 10;
 }
 .kaben3{
 	animation: kaben3 10s ease 1s infinite normal,
 				kaben2 2s ease-in-out 0s infinite alternate;
 				z-index: 10;
 }
 .kaben4{
 	animation:	kaben3 12s ease-in-out 1.5s infinite normal,
 				kaben4 1.5s ease-in-out 0s infinite alternate;
 }
 .kaben5{
 	animation: kaben5 11s ease-in-out 0s infinite normal;
 }
 .kaben6{
 	animation: kaben6 11s ease-in-out 2s infinite normal,
 				kaben4 1.5s ease-in-out 0s infinite alternate;
 }
 .kaben7{
 	animation:	kaben7 13s ease-in-out 3s infinite normal,
 				kaben4 2s ease-in-out 0s infinite alternate;
 }
 .kaben8{
 	animation: kaben8 9s ease-in-out 2s infinite normal,
 			kaben2 1s ease-in-out 0s infinite alternate;
 }
  @keyframes kaben1{
  	0%{
  		top: -50px;
  		left: 50%;
  	}
  	100%{
  		top:100%;
  		left: 20%;
  	}
  }
  @keyframes kaben2{
  	0%{
  		margin-left: 120px;
  	}
  	100%{
  		margin-left: 10px;
  	}
  }
  @keyframes kaben3{
  	0%{
  		top:-20px;
  		right:0%;
  	}
  	100%{
  		top: 100%;
  		right: 40%;
  	}
  }
  @keyframes kaben4{
  	0%{
  		margin-left: 70px;
  	}
  	100%{
  		margin-left: 10px;
  	}
  }
  @keyframes kaben5{
  	0%{
  		top: -30px;
  		right: 10%;
  	}
  	100%{
  		top: 100%;
  		left: 10%;
  	}
  }
  	@keyframes kaben6{
  		0%{
  			top: -20px;
  			right: -20px;
  		}
  		100%{
  			bottom: 10%;
  			left: -20px;
  		}
  	}
	@keyframes kaben7{
	0%{
	  	top: -30px;
	  	right:-50px;
	}
	100%{
	  	left: -30%;
	  	bottom: -10px;
		}
	}
	@keyframes kaben8{
		0%{
			top: -20px;
			right: 20%;
		}
		100%{
			bottom: -20px;
			left: -20%;
		}
	}
  	
 
 /******************************************************
 top
 /*****************************************************/
 .top-mes h1{
 	position: absolute;
 	top: 15%;
 	margin-left:  10px;
 	text-align: center;
 	font-size: 300%;
 	background-color: rgba(255,255,255,0.6);
 	padding: 5px;
 }
 .top-mes p{
 	position: absolute;
 	bottom: 15%;
 	right: 0;
 	text-align: center;
 	font-size: 15px;
 	background-color: rgba(255,255,255,0.6);
 	padding: 5px 10px 5px 5px;
 	border-radius: 30px 0 0 30px;
 	border:1px solid white;
 }
 dl{
 	border:1px solid #C2A865;
 	width: 100%;
 }
 dt{
 	float: left;
 	padding-left: 10px;
 	border:1px solid #C2A865;
 	width: 30%;
 }
 dd{
 	width: 70%;
 }
/************************************/
/*greeting*/
/*************************************/
#greeting .mini-theme section{
	position: relative;
	padding-bottom: 70px;
}
.mini-theme .btn p{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 20px;
	text-align: center;
	line-height: 2;
	width: 180px;
	
}
.btn a{
	display: inline-block;
	padding: 5px auto;
	width: 190px;
	color: white;
	transition: 0.3s;
	border:1px solid #C2A865;
	line-height: 2;
	background-color: #333;
}
.btn a:hover{
	opacity: 0.8;
	background-color: white;
	box-shadow:none;
	color: #3c3c3c;
}
.btn a::after{
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f054";
	padding-left: 10px;
}
/****************************************
skill
****************************************/
.star-rating-box {
    position: relative; /* position: abosoluteの基準 */
    display: inline-block; /* 最大星数に応じてdivのwidthを伸縮させるため */
    font-size: 0.8rem;
}
.filled-star {
    position: absolute; /* .filled-starと.empty-starを重ねる */
    top: 0; /* 左上の基準位置に移動させる */
    overflow: hidden; /* widthが足りない時、はみ出た分は表示しない */
    white-space: nowrap; /* widthが足りない時に、折り返さないようにする。 */
    font-size: 0.8rem;
}
.filled-star.illustrator{
	 width: 80%;  
}
.filled-star.photoshop{
	 width: 80%;
}
.filled-star.css{
	 width: 60%;
}
.filled-star.html{
	 width: 80%;
}
.filled-star.java{
	 width: 25%;
}
.filled-star.paper-art{
	 width: 80%;
}
/*************************************
/*work/
/***************************************/
ul.work-nav{
	text-align: center;
	float: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	}
ul.work-nav a{
	margin:10px 30px;
	padding: 10px;
	border:1px solid #E6855E;
	display: inline-block;
}
ul.work-nav a:hover{
	background-color: #E6855E;
	color: white;
}
#work h3{
	text-align: center;
	margin-top: 70px;
}
.fa-circle{
	color: #C2A865;
}
#work .mini-theme p{
	text-align: center;
}
.mini-theme h4{
	margin-top: 30px;
	border-bottom: 1px dotted #C2A865;
	border-top: 1px dotted #C2A865;
}

label{
	float: left;
}
input{
	float: left;
}
.fadein{
	opacity: 0;
	transform: translateY(30px);
	transition: all 1s;
}
#logo h2{
	font-size: 0.8rem;
}

/*********************************************
career*/
/********************************************/
.career section{
	margin-top: 20px;
}

/********************************************
contact
**********************************************/
.mail{
	text-align: center;
}
.mail span{
	margin-right: 20px;
}
.sns-content ul{
	display: flex;
	justify-content: center;

}
.fab{
	font-size: 3rem;
}
.wp{
	text-align: center;
	padding-bottom: 70px;
}
.wp p{
	padding-bottom: 20px;
}


/*********************************************
footer*/
/********************************************/
 footer{
 	width: 100%;
 	bottom: 0;
 	left: 0;
 }
 footer p{
 	text-align: center;
 }
 
 /**/
 /*@media*/
 /**/
 /**/
 @media screen and (max-width: 639px){
 	.mini-theme{
 		display: grid;
 		grid-template-columns: repeat(1,1fr);
 	}
 	.miki-logo{
 	opacity: 0;
 }
}
 @media screen and (min-width: 640px){
 	.mini-theme{
 		display: grid;
 		grid-template-columns: repeat(2,1fr);
 	}
 	.miki-logo{
 	opacity: 0;
 }
 }
 @media screen and (min-width: 980px){
 	#nav-drawer{
 		display: none;
 	}
 	
 .nav-pc{
 	display: block;
 	float: right;
 }
 .nav-pc li{
 	float: left;
 	margin:15px 30px 14px 0;
 	font-weight: bold;
 }
 .nav-pc li:not(:last-of-type){
 	display: block;
 	border-right: 1px dotted black;
 	padding-right: 30px;
 }
.nav-pc li{
	text-align: center;
}
.miki-logo {
    position: absolute;
     bottom: 600%; 
    left: 10%;
    }
.miki-logo{
 	opacity: 1;
 }
#skill .mini-theme section:nth-of-type(even){
	margin-top: 200px;
 }

 /***career***/
 .career-con-img.r{
 	display: flex;
 	flex-direction: row-reverse;
 }
 .career-con-img.l{
 	display: flex;
 }
 .career-con-img div{
 	width: 50%;
 }
 .career-con-img img{
 	width: 90%;
 	margin:auto;
 	padding:20px; 
 }
 .abroad{
 	position: relative;
 }
 img.abroad-r{
 	width: 250px;
 	position: absolute;
 	bottom: 30px;
 	right: 20px;
 	transform: rotate(10deg);
 }
 img.abroad-l{
 	width: 200px;
 	position: absolute;
 	bottom: 0;
 	left: 20px;
 	z-index: 1;
 	transform: rotate(-5deg);
 }
}