@charset "utf-8";
/* CSS Document */
html{
  font-size: 62.5%;
}
*, *::before, *::after{
  box-sizing: border-box;
}
body{
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  font-family: 'Lato', sans-serif;
}
/* headerここから*/
.top_jq{
  width: auto;
  height: 900px;
  z-index: 0;
}
.header{
  padding: 170px 30px 80px;
}
.site-title-sub{
  margin: 0 0 30px;
  letter-spacing: 1px;
  font-size: 2.7rem;
  z-index: 9999;
}
.site-title-sub::before,
.site-title-sub::after{
  content: '';
  display: inline-block;
  width: 140px;
  height: 2px;
  margin: 0 30px;
  background-color: #fff;
  vertical-align: middle;
}
.type{
  margin-top: 150px;
  text-align: center;
  font-size: 6.3rem;
  color: #ECECEC;
}
.yellow{
  color: #F4B301;
}
.site-description{
  margin-top: 130px;
  margin-bottom: 50px;
  color: #F4B301;
  font-size: 2.2rem;
  -webkit-animation:blink 1.5s ease-in-out infinite alternate;
  -moz-animation:blink 1.5s ease-in-out infinite alternate;
  animation:blink 1.5s ease-in-out infinite alternate;
}
.botton-portfolio{
  display: inline-block;
  width: 200px;
  padding: 20px;
  border-radius: 4px;
  background-color: #A900CF;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 2rem;
  transition-property: color, background-color;
  transition-duration: 1s;
  transition-timing-function: ease-out;
  z-index: 9999;
}
.botton-portfolio:hover{
  color: #000;
  background-color: #F4B301; 
}
.botton-contact{
  display: inline-block;
  width: 200px;
  padding: 20px;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 2rem;
  transition-property: color, background-color;
  transition-duration: 1s;
  transition-timing-function: ease-out;
  z-index: 9999;
}
.botton-contact:hover{
  color: #fff;
  background-color: #A900CF; 
}
.bottons .botton-about{
  margin: 70px 20px;
}
.bottons .botton-contact{
  margin: 70px 20px;;
}
/*　headerここまで*/



/* Aboutここから */
.about{
  padding: 80px 30px;
  background-color: #fff;
  color: #333;
}
.heading{
  position: relative;
  display: inline-block;
  margin: 30px 0 15px;
  padding-bottom: 15px;
  letter-spacing: 2px;
  font-size: 4rem;
}
.heading2{
  position: relative;
  display: inline-block;
  margin: 30px 0 15px;
  padding-bottom: 15px;
  letter-spacing: 2px;
  font-size: 4rem;
}
.heading::before,
.heading::after{
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #333;
}
.heading::before{
  bottom: 5px;
}
.heading2::before,
.heading2::after{
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #fff;
}
.heading2::before{
  bottom: 5px;
}
.about-text{
  margin: 30px;
  line-height: 1.6;
  font-size: 2.0rem;
}
/*　Aboutここまで */



/* Portfolioここから */
.portfolio {
  padding: 80px 0;
  background-color: #333;
}
.portfolio-wrapper {
  display: table;
  width: 100%;
  margin-top: 60px;
  table-layout: fixed;
}
.portfolio-box {
  position: relative;
  display: table-cell;
  overflow: hidden;
}
.portfolio-image {
  display: block;
  width: 100%;
  margin: 0 0 60%;
  transition: -webkit-transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
}
.portfolio-box:hover img{
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.portfolio-box:nth-last-of-type(odd) img{
  -webkit-transform-origin: top center;
  transform-origin: top center;
}
.portfolio-box:nth-last-of-type(even) img{
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.portfolio-description {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 50%;
  overflow-y: auto;
}
.portfolio-description-inner {
  display: table;
  width: 100%;
  height: 100%;
  padding: 20px;
}
.portfolio-text {
  display: table-cell;
  vertical-align: middle;
  font-size: 1.3rem;
  line-height: 2;
}
.botton-ghost {
  display: inline-block;
  width: 100px;
  padding: 18px;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 1.6rem;
  transition-property: color, background-color;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}
.botton-ghost:hover{
  color: #fff;
  background-color: #333; 
}
.portfolio-text .botton {
  width: 60%;
  margin-top: 20px;
  padding: 3px;
}
.portfolio-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: no-repeat;
  background-size: 100% 100%;
  opacity: 0.2;
  transform: scaleY(-1);
}
.portfolio-box.root::after {
  background-image: url('../images/rest.jpg');
}
.portfolio-box.second::after {
  background-image: url('../images/guitar.jpg');
}
.portfolio-box.third::after {
  background-image: url('../images/blog.jpg');
}
  .portfolio-box.fourth::after {
  background-image: url('../images/interior.jpg');
}
.portfolio-box:nth-child(odd) .portfolio-image {
  margin: 60% 0 0;
}
.portfolio-box:nth-child(odd) .portfolio-description,
.portfolio-box:nth-child(odd)::after {
  top: 0;
}
/* Portfolioここまで */



/* My Skillここから*/
.skills{
  padding: 80px 0;
  background-color: #fff;
  color: #333;
}
.skill-wrapper{
  display: table;
  width: 80%;
  margin: 50px auto 0;
  table-layout: fixed;
}
.skill-wrapper2{
  display: table;
  width: 80%;
  margin: -100px auto 0;
  table-layout: fixed;
}
.skill-box{
  display: table-cell;
}
.skill-icon{
  width: 150px;
  height: 150px;
  padding-top: 30px;
  margin-bottom: 30px;
  border: 4px solid;
  border-radius: 50%;
  color: #F4B301;
  font-size: 8rem;
  line-height: 142px;
}
.skill-title{
  margin: 0 20px 20px;
  font-size: 2.3rem;
  font-weight: bold;
}
.skill-text{
  margin: 0 20px;
  font-size: 1.8rem;
  line-height: 1.4;
  text-align: left
}

/* My Skillここまで*/


/* Contactここから*/
.contact{
  background-color: #000;
  padding: 80px 0;
}
.contact-form{
  width: 50%;
  margin: 50px auto 0;
}
.contact-form input[type=text],
.contact-form textarea{
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  outline: none;
  border: 1px solidrgba(255, 255, 255, 0.4);
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.contact-form input[type=text]:focus,
.contact-form textarea:focus{
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) inset;
}
.contact-form input[type=email],
.contact-form textarea{
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  outline: none;
  border: 1px solidrgba(255, 255, 255, 0.4);
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.contact-form input[type=email]:focus,
.contact-form textarea:focus{
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) inset;
}
.contact-form textarea{
  height: 150px;
}
.contact-form input[type=submit]{
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.contact-form input[type=submit]:hover{
  background-color: rgba(255, 255, 255, 0.05);
}
#exampleInputName1 {
  margin-bottom: 50px;
  width: 480px;
  margin-left: auto;
  margin-right: auto;
}
#exampleInputEmail1{
  margin-bottom: 50px;
  width: 480px;
  margin-left: auto;
  margin-right: auto;
}
#exampleInputName2{
  margin-bottom: 50px;
  width: 480px;
  height: 350px;
  margin-left: auto;
  margin-right: auto;
}

.btn-default{
  padding: 10px 20px;
  margin-top: 50px;
  background-color: #333;
  color: #fff;
  font-size: 1.6rem
}
.mini-page{
  background-color: #000;
}
.send-after-container{
  width: auto;
  height: 100%;
  background-color: #000;
  color: #fff;
}
.message-send{
  font-size: 2.5rem;
  padding-top: 100px;
  margin-bottom: 30px;
}
.send-after{
  text-align: center;
  font-size: 1.7rem;
}
.send-after:nth-child(1n){
  margin-bottom: 5px;
}
.close-botton{
  margin: 30px auto;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  font-size: 1.5rem;
}
.pagetop {
    display: none;
    position: fixed;
	right: 50px;
	bottom: 50px;
}
.pagetop a {
	display: block;
    text-align: center;
    color: #F4B301;
    font-size: 70px;
    text-decoration: none;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.pagetop a:hover {
    display: block;
    text-align: center;
    color: #A900CF;
    text-decoration: none;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.footer{
  background-color: #000;
  font-size: 1.4rem;
  padding: 5px 0;
}
@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@media (max-width : 1300px){
  .type{
    font-size: 4.4rem;
  }
}
@media (max-width : 900px){
  .type{
    font-size: 3.9rem;
  }
}
/* レスポンシブ対応ここから*/
@media (max-width : 768px){
  .site-title-sub::before,
  .site-title-sub::after{
    display: block;
    width: 80%;
    margin: -50px auto;
  }
  .type{
    font-size: 3.5rem;
  }
  .site-description{
    margin-top: 80px;
  }
  .botton-portfolio{
    margin-top: 20px;
  }
  .br{
    display: block;
  }
  .marginleft{
    margin-left: 30px;
  }
  .heading{
    font-size: 2.5rem;
  }
  .heading2{
    font-size: 2.5rem;
  }
  .about-text{
    text-align: left;
    line-height: 1.5;
    font-size: 1.6rem;
  }
  .portfolio-wrapper,
  .portfolio-box{
    display: block;
  }
  .portfolio-image{
    display: none;
  }
  .portfolio-description{
    position: relative;
  }
  .portfolio-box::after{
    top: 0;
    height: 100%;
    background-size: cover;
    transform: none;
  }
  .skill-wrapper,
  .skill-box{
    display: block;
  }
  .skill-icon{
    height: 120px;
    width: 120px;
    font-size: 5rem;
    line-height: 92px;
    padding-bottom: 80px;
  }
  .skill-box{
    margin: 40px auto;
  }
  .skill-text{
    margin: 0;
  }
  .contact-form{
    width: 80%
  }
  .contact{
    padding-bottom: 80px;
  }
  #exampleInputName1{
    width: 280px;
  }
  #exampleInputEmail1{
    width: 280px;
  }
  #exampleInputName2{
    width: 280px;
  }
  .pagetop a{
		visibility: hidden;
	}
}

