/* 共通 */

body {
    height: 100vh;
    width: 100vw;
    font-family: 'Hachi Maru Pop', cursive;
margin: 0;
padding: 0;
overflow: hidden;
}

h3 {
    font-family: 'Hachi Maru Pop', cursive !important;
    font-weight: 900 !important;
}

img {
    width: 30%;
    height: 30%;
}

#top>button {
    float: left;
}

.title {
    font-family: 'Hachi Maru Pop', cursive;
}

.page-title {
    padding: 50px 0 30px 0;
    font-family: 'Hachi Maru Pop', cursive;
    color: white;
}

.menu-bar {
    height: 100vh;
}

.navigation {
    list-style-type: none;
    font-family: 'Hachi Maru Pop', cursive;
    margin-top: 50%;
    text-align: center;
}

.navigation>li {
    margin: 10% 0;
}

.language {
    text-align: center;
    padding: 1em 2em;
    margin: 2em auto 0;
    border: #fff 1px solid;
    width: fit-content;
    transition: .3s;
    color: white !important;
    display: block;
}

.language:hover {
    background-color: #fff;
    color: black !important;
}


#menu-btn {
    position: absolute;
    z-index: 99;
    font-family: 'Hachi Maru Pop', cursive;
}

.hamburger-menu {
    display: none !important;
}

.sp-menu {
    display: none;
}

.sns {
    margin-top: 90%;
    width: 100%;
    text-align: center;
}

.sns>a>img {
    width: 5%;
    margin: 2%;
}

#copyright {
    z-index: 99;
    position: absolute;
    bottom: 0;
    width: 100vw;
    color: white;
    text-align: center;
}

#copyright>p {
    font-size: 10px;
}


/* 私について */

#about {
    width: 50%;
    text-align: center;
    margin: auto;
    font-family: 'Hachi Maru Pop', cursive;
    position: relative;
    z-index: 1;
    color: white;
}

.profile>img {
    width: 70%;
}

.name {
    font-family: 'Hachi Maru Pop', cursive;
    color: white;
}

.square {
    width: 80%;
    height: 55%;
    position: absolute;
    top: 19%;
    left: 10%;
    background-color: rgba(255,255,255,0.5);
    z-index: -1;
}


/* ポートフォリオ */

#portfolio {
    width: 100%;
    height: 100vh;
    text-align: center;
    font-family: 'Hachi Maru Pop', cursive;
}

#portfolio>nav {
    display: flex;
    justify-content:space-evenly;
    margin: 0 0 3% 0;
    flex-wrap: wrap;
}

.desktop-nav {
    display: flex !important;
}

.sp-nav {
    display: none !important;
}

.nav-item {
    border:rgb(117, 207, 184) 1px solid;
    padding: 5px;
    border-radius: 10px;
    font-size: 25px;
    color: white;
}

.nav-item:hover {
    cursor: pointer;
    background-color:rgb(187, 223, 200);
}

.web-item {
    color:white;
}

.web-item-wrap {
    padding: 5px 0 0 0;
    width: 20% !important;
    margin: 0 auto;
}

.web-item-wrap>a>img {
    height: 100%;
    width: auto;
}

.web-item-wrap>a>img:hover {
    opacity: 0.7;
}

.transit-page {
    z-index: 99;
}

#web-design-nav {
    background-color: rgb(117, 207, 184);
}

.web-design {
    display: block;
    height: 60vh;

}

.web-design div {
    height: 100%;
}

.web-design div ul {
    height: 100%;
    overflow-x: hidden;
}

.web-design div ul li div {
    height: 10% !important;
    width: auto;
}

.web-design div ul li > a {
    display: inline-block;
    height: 90% !important;
    overflow-y: scroll;
    width: auto;
}

.sp-web-design{
    display: none;
}

.web-design>img {
    width: 10%;
}

.web-development {
    display: none;
}

.ui-ux-design {
    display: none;
}

.sp-ui-ux-design {
    display: none;
}

.sp-web-development {
    display: none;
}

.web-dev-item-wrap>p {
    color: white;
}

.web-dev-item>img{
    width: 70%;
}

.graphic-design {
    display: none;
}

.sp-graphic-design {
    display: none;
}

.flyer {
    width: 20% !important;
}




/*　その他ポートフォリオサイト */

#portfoliosite {
    text-align: center;
    margin: auto;
    font-family: 'Hachi Maru Pop', cursive;
    position: relative;
    z-index: 1;
    color: white;
}

.portfoliosite-wrap {
    width: 60%;
    margin: 0 auto;
    display: flex;
}

.division {
    width: 45%;
    margin: auto;
    height: 80vh;
}

.website-link>img {
    width: 80%;
}

.website-link-wrap {
    width: 100%;
   margin-bottom: 5%;
}

.website-link-wrap>p {
    margin-bottom: 1%;
}

.website-link-wrap:hover {
    opacity: 0.8;
}

.website-link-wrap .website-link img {
    width: 100%;
}




  /* お問い合わせ */

  #contact {
      margin: auto;
      text-align: center;
      position: relative;
      z-index: 1;
  }

  #contact > h1 {
    text-align: center;
  }

  #contact>form {
      width: 40%;
      margin: 5% auto 0 auto;
      color: white;
  }


 .submit-btn {
    background-color: rgb(117, 207, 184);
    color: white;
    border-radius: 10px;
    width: 100px;
    height: 40px;
    border: white 2px solid;
 }

 .submit-btn:hover {
     background-color: rgb(187, 223, 200);
 }


.contact-copyright>p {
     color: black;
 }



/* ホームバックグラウンド */

  @import url('https://fonts.googleapis.com/css?family=Exo:400,700');

*{
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'Exo', sans-serif;
}

h2 {

}

.context {
    width: 100%;
    position: absolute;
    top:40vh;
    
}

.context h1{
    text-align: center;
    color: #fff;
    font-size: 50px;
}


.area{
    background: rgb(187, 223, 200);  
    background: -webkit-linear-gradient(to left, rgb(255, 196, 120), rgb(240, 229, 216), );  
    width: 100vw;
    height:100%;
    
   
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgb(240, 229, 216);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}


/* 私についてバックグラウンド */

.bg-animation {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    z-index: -99;
}

.bg {
    animation:slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, rgb(117, 207, 184) 25%, rgb(187, 223, 200) 25% ,rgb(240, 229, 216) 50%, rgb(255, 196, 120) 25%);
    bottom:0;
    left:-50%;
    opacity:.5;
    position:fixed;
    right:-50%;
    top:0;
    z-index:-1;
  }
  
  .bg2 {
    animation-direction:alternate-reverse;
    animation-duration:4s;
  }
  
  .bg3 {
    animation-duration:5s;
  }
   
  
  @keyframes slide {
    0% {
      transform:translateX(-25%);
    }
    100% {
      transform:translateX(25%);
    }
  }


/* お問い合わせバックグラウンド */

  .header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align:center;
    background: linear-gradient(60deg, rgb(187, 223, 200) 50%, rgb(255, 196, 120) 100%);
    color:white;
    z-index: -1;
  }
  .logo {
    width:50px;
    fill:white;
    padding-right:15px;
    display:inline-block;
    vertical-align: middle;
  }
  
  .inner-header {
    height:65vh;
    width:100%;
    margin: 0;
    padding: 0;
  }
  
  .flex { /*Flexbox for containers*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .waves {
    position:relative;
    width: 100%;
    height:15vh;
    margin-bottom:-7px; /*Fix for safari gap*/
    min-height:100px;
    max-height:150px;
  }
  
  .content {
    position:relative;
    height:20vh;
    text-align:center;
    background-color: white;
  }
  
  /* Animation */
  
  .parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
  }
  .parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
  }
  .parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
  }
  .parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
  }
  .parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
  }
  @keyframes move-forever {
    0% {
     transform: translate3d(-90px,0,0);
    }
    100% { 
      transform: translate3d(85px,0,0);
    }
  }
  /*Shrinking for mobile*/
  @media (max-width: 768px) {
    .waves {
      height:40px;
      min-height:40px;
    }
    .content {
      height:30vh;
    }
    h1 {
      font-size:24px;
    }
  }
 


/* 私についてバックグラウンド */

  

  #portfolio {
    background: linear-gradient(-45deg, rgb(117, 207, 184), rgb(187, 223, 200),rgb(240, 229, 216), rgb(255, 196, 120) );
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    overflow: scroll;
  }
  
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }



  


  @media screen and (max-width: 600px) {

    body {
        height: 100vh;
        width: 100vw;
        font-family: 'Hachi Maru Pop', cursive;
margin: 0;
padding: 0;
    }



    .hamburger-menu {
        display: block !important;
    }

    .desktop-nav {
        display: none !important;
    }
    
    .sp-nav {
        display: flex !important;
    }

    .nav-item {
        font-size: 18px;
    }

    .title {
        font-size: 22px !important;
    }

    .desktop-menu {
        display: none;
    }

    .sp-menu {
        display: inline;
    }

    #about {
        width: 100%;
    }

.sns {
margin-top: 80%;
}
    
    .sns>a>img {
        width: 15%;
        margin: 4%;
    }

    .navigation {
        font-size: 20px;
    }

    .page-title {
        padding: 50px 0 30px 0;
        font-family: 'Hachi Maru Pop', cursive;
        color: white;
        font-size: 22px;
    }

   


    /* 私について */

    .name {
        font-size: 20px;
    }

    .description {
        margin: 5%;
        font-size: 16px !important;
    }

    .square {
        height: 210px;
        top: 110px;
    }


    /* ポートフォリオ */

    #portfolio>nav>div {
        width: 50%;
    }
    
#sp-web-design-nav {
     background-color: rgb(117, 207, 184);
}
    .web-design {
        display: none;
    }

    #sp-webDes {
        display: block;
    }

    .web-development {
        display: none;
    }

    .sp-web-development {
        display: none;
    }

    .graphic-design {
        display: none;
    }

    .sp-graphic-design {
        display: none;
    }

    .web-des-item-wrap>a>img {
        width: 30%;
    }

    .sp-web-design {
        margin-top: 3%;
        height: 60vh;
    }

    .sp-web-design > div {
        height: 100%;
    }

    .sp-web-design > div ul {
        height: 100%;
    }

    .sp-web-design div ul li {
        height: 100%;
    }

    .sp-web-design div ul li div {
        height: 100%;
    }

    .sp-web-design div > ul li div div{
        height: 12%;
    }

    .sp-web-design div ul li a {
        display: inline-block;
        height: 80%;
        overflow: scroll;
    }

    .web-item>p {
        margin: 0 auto 3% auto;
    }

    .sp-web-development {
        margin-top: 15%;
    }


    .sp-web-dev-item>img {
        width: 80%;
    } 

    .web-dev-item-wrap>p {
        margin: 0 10% 3% 10%;
    }

    .sp-graphic-design {
        margin: 10% auto 0 auto;
    }

    .graphic-item-wrap>a>img {
        width: 70%;
    }

    .flyer {
        width: 60% !important;
    }

    #menu-btn {
        width: 10%;
        padding: 0 !important;
    }



/* その他ポートフォリオサイト */

    .portfoliosite-wrap {
        flex-direction: column;
 width: 100%;
    }

    .division {
        display: flex;
        flex-direction: column;
    }


.website-link-wrap {
        margin-bottom: 5%;
    }

    .website-link>img {
        width: 40% !important;
    }

    .website-link-wrap>p {
        margin-bottom: 1%;
}

.japanese-site {
        display: none;
    }




    /* お問い合わせ */

    #contact>form {
        width: 80%;
        margin: 10% auto;
    }
    
  }


  .uk-lightbox.uk-open {
    overflow: scroll;

  }

  .uk-lightbox-items {
    padding: 30px;
  }


.uk-lightbox-items>*>:not(iframe) {
    width: 100% !important;
    object-fit: cover !important;
}


.uk-lightbox-items>*>* {
    max-height: unset !important;
}

.uk-lightbox-items>* {
    bottom: unset !important;
}