@charset "utf-8";

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #2B2B2B;
    margin: auto;
    text-align: center;
    padding:0 20px;
}

a {
    color: #000;
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: bottom;
}

.worksimg{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-around;
}

.webdesign img{
    position: relative;
    top:0;
    max-width: 100%;
    margin: auto;
    margin-top: 70px;
    width: 400px;

}

.webdesign img:hover{
  top:-4px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}
.img-inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

.img-inner p {
  max-width: 400px;
  text-align: start;
  color: #2b2b2b;
  font-size: smaller;
}

@media (max-width:768px) {
  .webdesign img{
    width: 100%;
    margin: auto;
    height: auto;
    padding-top: 70px;
}
}
@media (max-width:430px) {
  .webdesign img{
    max-width: 300px;
    margin: auto;
    height: auto;
    padding-top: 70px;
}
}

h2 {
    margin-top: 80px;
    font-family: 'Popping';
    font-weight: bold;
    font-size: 36px;
}

.border {
    margin: 0 auto;
    content: "";
    width: 40px;
    height: 10px;
    border-bottom: 1px solid;

}

.text {
    font-size: 16px;
    margin-top: 30px;
    margin-bottom: 50px;
}



/*--------------------------------
ヘッダー
---------------------------------*/
.header {
    position: fixed;
    top: 0;
    z-index: 1; 
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
  }
  
  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 40px;
  }
  
  .header-logo {
    width: 100px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    margin-right: 20px;
    letter-spacing: .05em;
  }
  
  .header-logo a {
    color: #333;
  }
  
  .gnav-list {
    font-family: 'Cinzel', serif;
    display: flex;
    justify-content: space-between;
    list-style: none;
  }
  
  .gnav-item:not(:last-child) {
    margin-right: 20px;
  }
  
  .gnav-item a {
    position: relative;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    padding: 5px 0;
    transition: .3s;
    letter-spacing: .05em;
    color: #333;
  }
  .gnav-item a:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    content: "";
    transition: .3s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #333;
  }
  
  .gnav-item a:hover:after {
    width: 100%;
  }

