@charset "UTF-8";

/* font-family: 'Kiwi Maru', serif; */

html{
  font-size: 62.5%;
  font-family: 'Kiwi Maru', serif;
  
}
body{
  font-size: 1.6rem;
  background-color: #a7e6f4;
  color: #5b5857;
  font-family: 'Kiwi Maru', serif;
  line-height: 1.8;
}
img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
/* ------------------------------------
最初の動画
---------------------------------------*/
.video_wrapper video{
  width: 100%;
}

#loading {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #a7e6f4;
  top: 0px;
  left: 0px;
  z-index: 9998;
}
#loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  text-align: center;
  color: #fff;
  z-index: 9999;
  opacity: 0;
}

#loading.is-active{
  display: block;
}
#loader.is-active{
  display: block;
  opacity: 1;
  transition: all .5s;
}
@media (max-width:768px){
  /* #loading{
    object-fit: cover;
  } */
  #loader{
    width: 350%;
    height: 350vh;
    left: -700px;
    object-fit: cover;
  }
}
/* ------------------------------------
共通
---------------------------------------*/
.inner_nav{
  max-width: 600px;
  margin: 0 auto;
}
.inner{
  max-width: 1200px;
  margin: 3rem auto 0;
}
ul{
  list-style: none;
}
ul a{
  text-decoration: none;
}
.sec_ttl{
  width: 180px;
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.sec_ttl span{
  border-top: 1px solid #5b5857;
  display: block;
  text-align: right;
}
.topic{
  font-size: 2rem;
  border-bottom: 1px solid #5b5857;
}
/* ------------------------------------
header
---------------------------------------*/
.pc_none{
  display: none !important;
}
.navigation{
  background: url(../img/nav_bg.png) no-repeat top/contain;
  position: fixed;
  width: 100%;
  height: 100px;
  top: 0;
  z-index: 1000;
}
.nav_item{
  display: flex;
  justify-content: space-between;
  padding: 0 3%;
}
.nav_item a{
  font-size: 2rem;
  color: #5b5857;
  text-transform: uppercase;
}
.nav_item a:hover{
  color: #008080;
}

@media (max-width:768px){
  .sp_none{
    display: none !important;
  }
  .pc_none{
    display: block !important;
  }
  .nav_item{
    position: fixed;
    width: 100%;
    height: 50px;
    line-height: 50px;
    bottom: 0;
    z-index: 9999;
    background-color: #fff;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  .nav_item a{
    font-size: 1.8rem;
  }
  .nav_item.js_hide{
    transform: translateY(100%);
  }
}
/* ------------------------------------
about
---------------------------------------*/
.sec_top{
  margin-top: 15rem;
}
.flex_about{
  display: flex;
  align-items: center;
  margin: 1rem 0 8rem;
  position: relative;
  padding: 2rem 1rem;
}
.profile_pic{
  width: 50%;
}
.profile_pic img{
  border-radius: 250px;
}
.profile_txt{
  width: 50%;
  font-size: 2rem;
}
.profile_txt dl{
  display: flex;
  flex-wrap: wrap;
  padding: 0 2rem;
}
.profile_txt dt{
  width: 20%;
  margin-bottom: 4rem;
}
.profile_txt dd{
  width: 80%;
}
.hobby{
  padding-bottom: 1rem;
}
.flex_about::before, .flex_about::after {
	position: absolute;
	top: -1px;
	right: -1px;
	bottom: -1px;
	left: -1px;
	z-index: 2;
	content: '';
	transition: all .2s;
}
.flex_about::before {
	border-top: 2px solid #ff0000;
	border-bottom: 2px solid #ff0000;
	transform: scale(0, 1);
}
.flex_about::after {
	border-right: 2px solid #ff0000;
	border-left: 2px solid #ff0000;
	transform: scale(1, 0);
}
.flex_about:hover::after, .flex_about:hover::before {
	transform: scale(1);
}

@media (max-width:768px){
  .flex_about{
    flex-direction: column;
    margin: 0 2% 3rem;
  }
  .sec_ttl{
    width: 80%;
    font-size: 2.4rem;
    margin-left: 10%;
    margin-bottom: 0;
  }
  .sec_top{
    margin-top: 3rem;
  }
  .profile_pic{
    width: 90%;
    margin-bottom: 1rem;
  }
  .profile_pic img{
    border-radius: 80px;
  }
  .profile_txt{
    width: 90%;
  }
  .profile_txt dl{
    padding: 0;
  }
  .profile_txt dt{
    width: 30%;
    margin-bottom: 2rem;
  }
  .profile_txt dd{
    width: 70%;
  }
}
/* max-width:768px */

/* ------------------------------------
work
---------------------------------------*/
.work_flexB{
  display: flex;
  align-items: center;
}

.ten_pic a{
  position: relative;
  display: block;
  z-index: 200;
}
.work_ttl{
  font-size: 2.2rem;
  display: inline-block;
  background: linear-gradient(transparent 60%, #ffff6e 60%);
  margin-bottom: 1rem;
}

.work_pic{
  width: 50%;
}
.ten_pic{
  max-width: 80%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.ten_pic .caption{
  font-size: 200%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.ten_pic .caption a{
  text-decoration: none;
  color: #5b5857;
}
.ten_pic .mask {
  display: block;
  z-index: 210;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left:	0;
	background-color: rgba(255,215,0,0.8);
	-webkit-transition:	all 0.4s ease;
	transition:	all 0.4s ease;
	-webkit-transform: scale(0);	/* 大きさを０にして表示しない */
	transform: scale(0);
}
.ten_pic:hover .mask{
	-webkit-transform: scale(1);	/* 大きさを１にして表示する */
	transform: scale(1);
}

.work_txt{
  width: 50%;
}
.work_txt p{
  margin-bottom: 2rem;
}
.work_area{
  padding: 2rem;
  position: relative;
  margin-bottom: 3rem;
}
.work_area::before, .work_area::after {
	position: absolute;
	top: -1px;
	right: -1px;
	bottom: -1px;
	left: -1px;
	z-index: 2;
	content: '';
	transition: all .2s;
}
.work_area::before {
	border-top: 2px solid #ff0000;
	border-bottom: 2px solid #ff0000;
	transform: scale(0, 1);
}
.work_area::after {
	border-right: 2px solid #ff0000;
	border-left: 2px solid #ff0000;
	transform: scale(1, 0);
}
.work_area:hover::after, .work_area:hover::before {
	transform: scale(1);
}
.card_flexB{
  display: flex;
  justify-content: space-between;
  margin: 5rem 0;
}
.card_area{
  position: relative;
  width: 50%;
  padding: 3rem 0;
}
.card_first{
  width: 80%;
  margin: 0 auto;
}
.card_second{
  width: 80%;
  margin: 0 auto;
}
.card_area::before, .card_area::after {
	position: absolute;
	top: -1px;
	right: -1px;
	bottom: -1px;
	left: -1px;
	z-index: 2;
	content: '';
	transition: all .2s;
}
.card_area::before {
	border-top: 2px solid #ff0000;
	border-bottom: 2px solid #ff0000;
	transform: scale(0, 1);
}
.card_area::after {
	border-right: 2px solid #ff0000;
	border-left: 2px solid #ff0000;
	transform: scale(1, 0);
}
.card_area:hover::after, .card_area:hover::before {
	transform: scale(1);
}
.card_pic a{
  position: relative;
  display: block;
  z-index: 200;
}

.card_pic{
  max-width: 80%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.card_pic .caption{
  font-size: 180%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.card_pic .caption a{
  text-decoration: none;
  color: #5b5857;
}
.card_pic .mask {
  display: block;
  z-index: 210;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left:	0;
	background-color: rgba(255,215,0,0.8);
	-webkit-transition:	all 0.4s ease;
	transition:	all 0.4s ease;
	-webkit-transform: scale(0);	/* 大きさを０にして表示しない */
	transform: scale(0);
}
.card_pic:hover .mask{
	-webkit-transform: scale(1);	/* 大きさを１にして表示する */
	transform: scale(1);
}

@media (max-width:768px){
  .work_flexB{
    display: block;
  }
  .work_area{
    margin: 0 2% 2rem;
  }
  .work_pic{
    width: 100%;
  }
  .work_ttl{
    font-size: 1.8rem;
    background-color: #ffff6e;
    padding: 0 1rem;
    
  }
  .work_ttl span{
    display: block;
  }
  .work_txt{
    width: 100%;
  }
  .work_txt p {
    margin-bottom: 1rem;
  }
  .card_flexB{
    display: block;
    margin: 2rem 0;
  }
  .card_area{
    width: 90%;
    margin: 0 5%;
  }
  .card_first{
    width: 90%;
  }
  .card_second{
    width: 90%;
  }
  .card_pic{
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .card_pic .caption a{
    font-size: 1.8rem;
  }
}
/* ------------------------------------
skill
---------------------------------------*/
.skill_flexB{
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  margin-bottom: 5rem;
}
.illustrator{
  width: 20%;
}
.photoshop{
  width: 20%;
}
.DreamWeaver{
  width: 20%;
}
.vscode{
  width: 20%;
}
@media (max-width:768px){
  .skill_flexB{
    flex-wrap: wrap;
  }
  .skill_flexB img{
    margin-bottom: 1rem;
  }
  .illustrator{
    width: 45%;
    margin: 0 auto 1rem;
  }
  .photoshop{
    width: 45%;
    margin: 0 auto 1rem;
  }
  .DreamWeaver{
    width: 45%;
    margin: 0 auto;
  }
  .vscode{
    width: 45%;
    margin: 0 auto;
  }
}

/* ------------------------------------
contact
---------------------------------------*/
#contact{
  background: #4169e1;

}
.contact_inner{
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 1rem;
}
.contact_ttl{
  font-size: 2rem;
  color: #fff;
  width: 200px;
  margin: 0 auto 1rem;
  padding-top: 2rem;
}
.contact_ttl span{
  display: block;
  font-size: 1.8rem;
  border-top: 1px solid #fff;
}
.contact_inner p{
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
}
.form_area{
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.formgroup label{
  color: #fff;
}
.req{
  font-size: 1.2rem;
  background: red;
  color: #fff;
  padding: 0 .2rem;
}

.formgroup input{
  color: #fff;
  width: 100%;
  height: 4rem;
  border: 1px solid #fff;
  border-radius: 1rem;
  padding: 1% 2%;
  margin-bottom: 2rem;
}
.formgroup textarea{
  color: #fff;
  border: 1px solid #fff;
  border-radius: 1rem;
  width: 100%;
  height: 300px;
  padding: 1% 2%;
  margin-bottom: 2rem;
}
.form_btn{
  border: 1px solid #fff;
  color: #000;
  width: 250px;
  height: 50px;
  line-height: 50px;
  border-radius: 1rem;
  margin: 0 auto;
  background-color: #fff;
  text-align: center;
}

input[type="submit"] {
  color: #000;
  appearance: none;
  -webkit-appearance: none;
}


.end_message {
  display: none;
  text-align: center;
}
.false_message {
  display: none;
  text-align: center;
}

@media (max-width:768px){
  .contact_inner{
    width: 90%;
  }
}
/* ------------------------------------
footer
---------------------------------------*/
footer{
  background: #4169e1;
  padding: 3rem 0 1rem;
}
footer p{
  color: #fff;
  text-align: center;
}
@media (max-width:768px){
  footer{
    margin-bottom: 5rem;
  }
}

.counter{
  background: #4169e1;
  padding-top: 2rem;
}