@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

* {
 box-sizing :border-box;
 margin :0;
 padding :0;
 text-decoration :none;
 list-style-type :none;
 font-size : 100%;
 color: black;
 letter-spacing: 0.1rem;
 font-family: Noto Sans JP;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

h2 {
  font-size: 2.0rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  font-size: 0.9rem;
}

/* header */

 header {
   height: 200px;
   font-size: 1.1rem;
 }

 header > .container {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding-top: 132px;
 }

 .logo {
   margin-left: 3%;
 }

 .header_nav ul {
   display: flex;
   align-items: center;
   justify-content: space-between;
 }

 .header_nav li {
   width: 100px;
   text-align: center;
   margin-right: 30px;
 }

 .header_nav a{
   position: relative;
   display: inline-block;
   text-decoration: none;
 }

 .header_nav a::after {
   position: absolute;
   bottom: -4px;
   left: 0;
   content: '';
   width: 100%;
   height: 2px;
   background: #333;
   transform: scale(0, 1);
   transform-origin: right top;
   transition: transform .3s;
 }

 .header_nav a:hover::after {
   transform-origin: left top;
   transform: scale(1, 1);
 }

 #burger, #burger_nav {
   display: none;
 }

 /* main */

 .main {
   width: 100%;
   height: 800px;
   max-width: 1400px;
   text-align: center;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .main_pic {
   width: 580px;
   height: 580px;
   background-image: url(../images/octopus.png);
   background-color: rgba(255, 255, 255, 0.8);
   background-blend-mode: lighten;
   background-repeat: no-repeat;
   background-position: center;
   background-size: contain;
   position: relative;
 }

.main_title {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.return {
  margin-top: 10px;
}

.return:hover {
  color: #0000ff;
}

 /* service */

 .service {
   width: 100%;
   height: 1000px;
 }

 .service h2 {
   text-align: center;
   margin: 100px 0px 50px 0px;
 }

 .service_content {
   display: flex;
   justify-content:space-around;
   flex-wrap: wrap;
 }

 .service_content li {
   width: 32.5%;
   margin-bottom: 1%;
   padding: 1.5%;
 }

 .service_content div {
   text-align: center;
   display: flex;
   align-items: center;
   flex-direction: column;
 }

 .service_content img {
   width: 60%;
 }

.service_content li:nth-of-type(3n+3) img {
}

.service_content li p {
  text-align: left;
}

.fadeUpTrigger {
  opacity: 0;
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

 /* works */

.works {
  width: 100%;
  height: 800px;
}

.works h2 {
  text-align: center;
  margin: 100px 0px 50px 0px;
}

.works_content {
  display: flex;
  justify-content:space-around;
  flex-wrap: wrap;
}

.works_content li {
  border: solid 1px #c0c0c0;
  width: 32.5%;
  aspect-ratio: 1/1;
  margin-bottom: 1%;
  padding: 1.5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.works_content div {
  text-align: center;
}

.works1  {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../images/coffee.png);
  background-size: cover;
  background-position: center center;
}

.works_new  {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../images/re;ptiles.png);
  background-size: cover;
  background-position: center center;
}

.works_new1 {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../images/bjj.png);
  background-size: cover;
  background-position: center center;
}

/* footer */

.footer {
  width: 100%;
  height: 200px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* @media */

@media screen and (max-width:759px){
  header {
    height: 150px;
  }

  header > .container {
    padding-top: 0px;
  }

  #burger {
    display: block;
    width: 30px;
    height: 30px;
    margin-left: auto;
    position: relative;
    margin: 3%;
  }

  #burger span {
    width: 26px;
    height: 3px;
    background-color: black;
    position: absolute;
    left: 2px;
    transition: all 0.5s ease;
  }

  #burger span:first-child {
    top: 5px;
  }

  #burger span:nth-child(2) {
    top: 13px;
  }

  #burger span:last-child {
    top: 21px;
  }

  #burger.open span:first-child {
    top: 13px;
    transform: rotate(45deg);
  }

  #burger.open span:nth-child(2) {
    opacity: 0;
  }

  #burger.open span:last-child {
    top: 13px;
    transform: rotate(-45deg);
  }

  #burger_nav {
    position: fixed;
    width: 100vw;
    height: 100vh;
    text-align: center;
    background-color: rgba(0,0,255,0.8);
    z-index: 1;
  }

  #burger_nav ul {
    margin-top: 15%;
    background-color: #000;
  }

  #burger_nav li {
    width: 100%;
    padding: 3% 0%;
    border-bottom: solid 15px #fff;
  }

  #burger_nav .black {
    width: 100%;
    border-bottom: solid 50px #000;
  }

  #burger_nav a {
    color: #fff;
  }

  .main {
    height: 500px;
  }

  .main_pic {
    width: 400px;
    height: 400px;
  }

  .logo {
    margin: 3%;
  }

  .logo img {
    width: 80%;
  }

  .header_nav {
    display: none;
  }

  .service {
    width: 100%;
    height: auto;
  }

  .service_content li {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px dotted;
    width: 80%;
    margin-bottom: 10%;
    padding: 0%;
  }

  .service_content p {
    margin-bottom: 15%;
  }

  .service_content img {
    width: 40%;
  }

  .works {
    width: 100%;
    height: auto;
  }

  .works_content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .works_content li {
    border: solid 1px black;
    width: 80%;
    aspect-ratio: 1/1;
    margin-bottom: 10%;
    padding: 1.5%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer {
    height: 150px;
  }
}
