@charset "utf-8";

/*
============ Color Code=================
#232323 text
#f9a5a5 link
====================================
*/

html, body{
    background-color: #fff;
    color: #232323;
    line-height: 1.5;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

#wrapper{
    margin: 0 auto;
}

img{
    border: 0;
    max-width: 100%;
    height: auto;
}

a{
    color: #ccc;
    text-decoration: none;
    transition: 0.5s;
    display: block;
}

*:focus{
    outline: none;
}

ul li{
    list-style: none;
}

.clearfix::after{
    content: "";
    display: block;
    clear: both;
}

*,
*::before,
*::after{
    box-sizing: border-box;
}


/*
======================================
Base Layout
======================================
*/

/*All and Smart Phone*/

/*container-width*/
.container{
    max-width: 960px;
    padding: 0 10px;
    margin: 0 auto;
}

header, footer{
    width: 100%;   
}

/*head-line*/
h1{
    font-size: 18px;
}
h2{
    font-size: 30px;
    line-height: 2;
}

/*pragraph*/
p{font-size: 16px;}


/*=========================================
 header 
==========================================*/
header{
    z-index: 20;
}

header h1{
    font-family: 'Bad Script', cursive;
    font-weight: normal;
}
header h1 img{
    width: 20px;
}

/*hamburger-menu for SP*/

#wrapper #global-navi {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    padding-top: 50px;
    background:rgba(0,0,0,0.8);
    font-size: 16px;
    box-sizing: border-box;
    z-index: 10
}

#wrapper #global-navi ul li {
    padding: 20px 28px;
}

#wrapper .btn-gnavi {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 11;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms
}

#wrapper .btn-gnavi span {
    position: absolute;
    width: 30px;
    height: 3px;
    background: #f9a5a5;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms
}

#wrapper .btn-gnavi span:nth-child(1) {
    top: 0
}

#wrapper .btn-gnavi span:nth-child(2) {
    top: 10px
}

#wrapper .btn-gnavi span:nth-child(3) {
    top: 20px
}

#wrapper .btn-gnavi.open {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg)
}

#wrapper .btn-gnavi.open span {
    background: #fff
}

#wrapper .btn-gnavi.open span:nth-child(1) {
    width: 24px;
    -webkit-transform: translate(-7px,17px) rotate(45deg);
    transform: translate(-7px,17px) rotate(45deg)
}

#wrapper .btn-gnavi.open span:nth-child(3) {
    width: 24px;
    -webkit-transform: translate(-7px,-17px) rotate(-45deg);
    transform: translate(-7px,-17px) rotate(-45deg)
}

#global-navi a{
    color: #fff;
}

#global-navi span{
    font-size: 14px;
}

/*logo=========================*/
h1{
    display: block;
    float: left;
    line-height: 2;
}
h1 a{
    display: inline-block;
    color: #fff;
}
h1 img{
    width: 50px;
    padding-top: 10px;
}

/*PC navi===================*/
.pc-navi ul{
    text-align: right;
}
.pc-navi li{
    padding: 5px 8px;
    display: block;
    font-size: 18px;
    display: inline-block;
}
.pc-navi{
    display: none; /*no show for SP*/
}


/*====================================
Conteents
======================================*/

/*===introduction=========================*/

.background{
    height: 100vh;
    background: url(../images/pc.jpg) no-repeat center;
    background-size: cover;
    background-color: rgba(97, 99, 240, 0.6);
    position: relative;
}

.gradation{
    width: 100%;
    height: 100vh;
    background: linear-gradient(45deg, rgba(160,27,255,0.6), rgba(97, 99, 240, 0.6), rgba(182, 86, 166, 0.6), rgba(255, 248, 112, 0.6)); 
    background-size: 600% 600%;
    animation: gradation-animation 15s ease infinite;
    position: absolute;
    z-index: 2;
}
  
@keyframes  gradation-animation{
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

.intro .container{
    width: 100%;
    color: #fff;
    text-align: center;
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform : translateY(-50%) translateX(-50%);
    transform : translateY(-50%) translateX(-50%);
}

.intro img{
    width: 200px;
    border-radius: 100px;
    margin: 10px;
}
.intro p{
    font-size: 20px;
}
.myphoto{
    margin-top: 30px;
    text-align: center;
}

/*=== maincontent===================*/
.main-content{
    padding: 50px 0;
}

.padding40{
    padding: 40px 0;
}

.fadein{
    transform: translateY(20px);
    transition: all 1s;
}

/*=== About =========================*/
.about p{
    text-align: center;
}
.skillicon{
    text-align: center;
}
.skillicon li{
    display: inline-block;
    padding: 10px;
    font-size: 20px;
}
.device{
    text-align: center;
}
.device img{
    width: 40%;
    margin-top: 50px;
}

/*=== skill set =========================*/
.skill-set{
    background-color: #DCC2FF;
}
/* bar animation */
.bar{
    max-width: 100%;
    width: 100%;
    margin-top: 10px;
    color: white;
    text-indent: 0.5em;
    padding: 0.25em;
    animation: bar-animation 1 3s;
    background:#232323;
    border-radius: 18px;
    font-size: 13px;
  }
  
  .bar1{
    max-width: 80%;
  }
  .bar2{
    max-width: 40%;
  }
  .bar3{
    max-width: 70%;
  }
  .bar4{
    max-width: 70%;
  }
  .bar5{
    max-width: 50%;
  }
  .bar6{
    max-width: 50%;
  }
  .bar7{
    max-width: 20%;
  }
  .bar8{
    max-width: 20%;
  }
 
  @keyframes bar-animation{
    0%{
      width: 0px;
    }
    100%{
      width: 100%;
    }
  }

/*===work========================================*/
  
.myworks{
    background-color: rgb(228, 228, 120);
}
.works{
    width: 100%;
}
.work{
    width: 100%;
    height: 200px;
    margin-top: 10px;
    padding-top: 80px;
    border-radius: 20px;
    text-align: center;
    text-shadow: #000 2px 3px 2px;

    position: relative;
    overflow: hidden;
    text-align: center;
}

.work::after{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    transition: all 0.3s ease-out;
}

.work:hover::after {
    transform: scale(1.2);
    filter: brightness(130%);
}

.work1{
    padding-top: 35px;
}
    
.works p{
    z-index: 1;
    position: relative;
    font-size: 25px;
    color: #fff;
}

.work1::after{
    background: url(../images/work1.jpg) no-repeat center;
    background-size: cover;
}

.work2::after{
    background: url(../images/work2.jpg) no-repeat center;
    background-size: cover;
}
.work3::after{
    background: url(../images/work3.jpg) no-repeat center;
    background-size: cover;
}
.work4::after{
    background: url(../images/work4.jpg) no-repeat center;
    background-size: cover;
}



/*=======================================
footer
======================================*/
/*go-top-button*/
.gotop{
    width: 50px;
    height: 50px;
    font-size: 50px;
    text-align: center;
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 9999;
    display: none;
}

.gotop a{
    color: #f9a5a5;
}

/*footer*/
.footer{
    padding: 10px;
    text-align: center;
    background-color: rgba(0,0,0,0.7);
}
.footer li, .footer a{
    display: inline-block;
    font-size: 12px;
}
.footer .sns a{
    padding: 10px;
    font-size: 20px;
}

/*
============ Color Code=================
#232323 text
#f9a5a5 link
====================================
*/

/*
=================================================
メディアクエリ：スマホ横向き＆タブレット&PC(width:560~)
=================================================
*/
@media screen and (min-width: 560px){
    a:hover{
        opacity: 0.7;
        color: #f9a5a5;
    }
    
    header{
        background-color:rgba(0,0,0,0.7);
        position: fixed;
     }   

    .btn-gnavi{display: none;}

    .left{
        width: 50%;
        float: left;
        padding-top:30px;
        padding-bottom: 30px;
    }
    .right{width: 50%; float: right;}

    .main-img .container{
        background: url(../images/main-img.png) no-repeat center;
        background-size: contain;
    }
    .main-img p{margin-left: 15%;}

    
    .parent {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }    

    .work2, .work3{
        width: 49%;
        margin-left: 0;
        margin-right: 0;
    }

   .work2{
       margin-right: 2%;
   }

   .works a:hover{
        opacity: 1;
        filter: drop-shadow(3px 3px 3px #000);
    }    

    .footer{ margin-bottom: 0;}

    .gotop{
        bottom: 30px;
        right: 30px;
    }
    

}
