@charset "utf-8";


html{
  min-height: 100vh;
  margin: 0%;
}

a {
  text-decoration: none;
  color: #1F1D1E;
}

body{
  display: block;
  min-height: 100vh;
  margin: 0%;
  background-color: #1F1D1E;
  background-repeat: no-repeat;
  background-size: cover;
}
@media screen and (min-width: 979px){
.back{
  background-image: url("works.svg");
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0%;
  width: 697px;
  height: 238px;
  flex-shrink: 0;
}
}

.logo{
  background-image: url("logo.svg");
  display: block;
  position: absolute;
  top: 30px;
  left: 60px;
  width: 74.412px;
  height: 63px;
  flex-shrink: 0;
}


.sub-menu{
  position: absolute;
  top: 30px;
  right: 0px;
  
}

#ul {
  list-style:none;
  padding:0;
  margin:0;
}

.gnavi{
  margin: 0px;
}

li{
  overflow: hidden;
  color: #1F1D1E;
  border-radius: 0;
  background: #ffffff;
  mix-blend-mode: difference;
  display: block;
  position: relative;
  right: 0px;
  padding: 1px 60px 1px 1px;
  margin-bottom: 36px;
  font-family: "Poppins";
  font-size: 16px;
  width: 200px;
  text-align: right;
  z-index: 11;
}

.b{
  position: relative;
  display: block;
}



li:before{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-99%);
  transform: translateX(-99%);
  background: #FF6D6D;
}

li:hover:before{
  -webkit-transform: translateX(0%);
    transform: translateX(0%);
}

/*  contact form*/
.btn-flat{
  overflow: hidden;
  color: #1F1D1E;
  border-radius: 0;
  background: #ffffff;
  mix-blend-mode: difference;
  display: block;
  position: absolute;
  right: 0pt;
  bottom: 30px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  width: 400px;
  text-align: right;
  z-index: 9;
}
  
  .btn-flat span {
    position: relative;
    padding: 1px 60px 1px 1px;
  }
  
  .btn-flat:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-99%);
    transform: translateX(-99%);
    background: #FF6D6D;
  }
  
  .btn-flat:hover:before {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }

/* 作品たち */

#scroll {
  display: flex;
  align-items: center;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
  overflow-x: auto;
  overflow: hidden;
  scrollbar-width: none;
}

#scroll > .sample10 {
  font-size: 14em;
  height: 60vh;
  width: 60vh;
  display: inline-flex;
  line-height: 1;
  background: #ffffff;
  margin: 0px 0px 0px 60px;
  z-index: 10;
}

@media screen and (min-width: 979px){
.sample10:hover img {
	margin-top:	30px;
  margin-right: 10px;
	-webkit-transform:	scale(1);	/* 元の大きさに戻す */
	transform:		scale(1);
  overflow: hidden;
}

.p:hover::before{
  color: #1F1D1E;
}


p {
  font-family: "Poppins";
  text-indent: 10px;
  font-size: 20px;
  font-weight: 400;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin: 0px;
  color: #1F1D1E;
}
}

 /*タブレット版変更箇所*/

 @media screen and (max-width: 979px){
  li{
    overflow: hidden;
    color: #1F1D1E;
    border-radius: 0;
    background: #ffffff;
    mix-blend-mode: difference;
    display: block;
    position: relative;
    right: 0px;
    padding: 1px 60px 1px 1px;
    margin-bottom: 36px;
    font-family: "Poppins";
    font-size: 16px;
    width: 150px;
    text-align: right;
    z-index: 11;
  }
    .back{
      background-image: url("works-s.svg");
        display: block;
        position: absolute;
        bottom: 0px;
        left: 0%;
        width: 96px;
        height: 346px;
        flex-shrink: 0;
    }

    .btn-flat{
      overflow: hidden;
      color: #1F1D1E;
      border-radius: 0;
      background: #ffffff;
      mix-blend-mode: difference;
      display: block;
      position: absolute;
      right: 0pt;
      bottom: 30px;
      font-family: "Poppins", sans-serif;
      font-size: 16px;
      width: 300px;
      text-align: right;
      z-index: 9;
    }

    p {
      font-family: "Poppins";
      text-indent: 0px;
      font-size: 20px;
      font-weight: 400;
      -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
      margin: 0px;
      color:#ffffff;
      mix-blend-mode: difference;

    }
    }

    /*スマホ版*/

    @media screen and (max-width: 600px){
      .logo{
        background-image: url("logo.svg");
        display: block;
        position: absolute;
        top: 30px;
        left: 30px;
        width: 74.412px;
        height: 63px;
        flex-shrink: 0;
      }

      li{
        overflow: hidden;
        color: #1F1D1E;
        border-radius: 0;
        mix-blend-mode: difference;
        display: block;
        position: relative;
        right: 0px;
        padding: 1px 30px 1px 1px;
        margin-bottom: 36px;
        font-family: "Poppins";
        font-size: 16px;
        width: 100px;
        text-align: right;
        z-index: 11;
      }

      #scroll > .sample10 {
        font-size: 14em;
        width: 42vh;
        height: 50vh;
        object-fit: cover;
        display: inline-flex;
        line-height: 1;
        background-color: transparent;
        margin: 0px 0px 0px 30px;
        z-index: 10;
      }

      img{
        width: 42vh;
        height: 50vh;
        object-fit: cover;
        overflow: hidden;
      }


      .btn-flat span {
        position: relative;
        padding: 1px 30px 1px 1px;
      }

      .btn-flat{
        overflow: hidden;
        color: #1F1D1E;
        border-radius: 0;
        background: #ffffff;
        mix-blend-mode: difference;
        display: block;
        position: absolute;
        right: 0pt;
        bottom: 30px;
        font-family: "Poppins", sans-serif;
        font-size: 16px;
        width: 200px;
        text-align: right;
        z-index: 9;
      }

      }
