@charset "utf-8";
/* コピペ用コード */
.font-size-dummy {
  font-size: 1rem;     /* 16px */
  font-size: 1.125rem; /* 18px */
  font-size: 1.25rem;  /* 20px */
  font-size: 1.6rem; /*25.6px */
  font-size: 1.75rem;  /* 28px */
  line-height: 2.925rem; /*font-size:18pxの時の2.6*/
  line-height: 1.8rem; /*font-size:18pxの時の1.6*/
}
html {
  font-size: 100%;
}

body {
  color: #5d5c5c;
  background-color: rgba(242,226,6,0.4);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 200;
  font-size: 1.125rem;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
}


/*幅の指定*/
.wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
/*ロゴの指定*/
h1{
  margin: 0;
  text-align: center;
}
.logo a {
  display: inline-block;
  line-height: 0;
}

/*見出し指定*/
h2 {
  margin: 0 auto 60px auto;
  font-weight: 600;
  text-align: center;
  letter-spacing: 10px;
}
h2 span {
  display: block;
}
h2 .jp{
  font-size: 2rem;
  color: #97c004;
}
h2 .en{
  display: inline-block;
  position: relative;
  color: #5d5c5c;
  font-size: 1.6rem;
}
h2 .en::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 6px;
  bottom: -20px;
  border-radius: 3px;
  left: 0;
  background-color: #97c004;
}

h3 {
  margin-bottom: 20px;
  border-bottom:solid 2px #97c004;
}
h3 span {
  display: block;
}
h3 .h3_ttl {
  color: #97c004;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 5px;
}
/*テキスト指定*/
.comments {
  color: #5d5c5c;
  font-size: 1rem;
  font-weight: 300;
}

/* Header ここから */
#header {
  width: 100%;
  margin:  0 auto;
  padding-top: 30px;
}
#gnavi ul{
  display: flex;
  width: 100%;
  justify-content: space-between;
}
#gnavi li {
  width: 33%;
  /* height: 94px; */
  height: auto;
  color: #000;
  text-align: center;
  font-weight: 400;
  position: relative;
  opacity: 0.8;
  transition: 0.5s;
}
#gnavi li:hover {
  cursor: pointer;
  opacity: 1;
}
#gnavi li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 4px;
  background-color: #97c004;
  transition: all .3s;
  transform: scale(0, 1);
  transform-origin: center top;
}
#gnavi li:hover::after {
  transform: scale(1,1);
}

#gnavi a {
  display: block;
  margin: 0 auto;
  padding: 19px 0 40px 0;
  text-align: center;
  width: 100%;
  /* height: 94px; */
  height: auto;
/*  line-height: 94px; */
  position: relative;
/*  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);*/
}
#gnavi .en {
  color: #5d5c5c;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateY(-60%) translateX(-50%);
}

/* mainvisual ここから */
#mainvisual {
  width: 100%;
  height: 416px;
  margin: 0 auto;
  text-align: center;
  background-image: url(./image/mainvisual_pc.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  position: relative;
}  
#mainvisual p {
  color: #000;
  text-align: center;
  font-weight: 400;
  line-height: 2.925rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
#mainvisual-sp {
  display: none;
}
/* main ここから*/
#main {
  margin:0 auto;
}
section {
  margin-top: 60px;
}
/* skill ここから*/
#skill ul {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
#skill li {
  margin-right: 15px;
  margin-bottom: 15px;
  width: calc(33.33% - 10px);
  height: 502px;
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 10px;
}
#skill li:nth-of-type(n+4) {
  margin-bottom: 0px;
}/*リストの4つめから下の余白を0に*/
#skill li:nth-of-type(3n) {
  margin-right: 0px;
}/*リストの3の倍数には右の余白を0に*/

#skill p.skill-icon {
  margin: 50px auto;
  text-align: center;
}
#skill p.skill-text{
 color: #5b5b5b;
}
#skill h4 {
  margin: 0 auto;
  color: #000;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 10px;
}

/* works ここから*/
#works ul {
  display: flex;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
#works li {
  display: flex;
  flex-direction: column;
  margin-right: 15px;
  margin-bottom: 15px;
  padding: 30px 20px;
  width: calc(50% - 7.5px);
  height: 760px;
  background-color: #fff;
  border-radius: 10px;
}
#works li:nth-child(n+5) {
  margin-bottom: 0px;
}/*リストの5つめから下の余白を0に*/
#works li:nth-child(2n) {
  margin-right: 0px;
}/*リストの2の倍数には右の余白を0に*/


#works h4 {
  margin: 0 auto;
  text-align: center;
  color: #000;
  font-size: 1.3rem;
  font-weight: 400;
}
#works .works-icon {
  margin: 30px auto 0px auto;
  text-align: center;
}
#works .works-list {
  margin-top: 40px;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
#works .works-b-list {
  margin-top: 20px;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

#works .works-list dt,.works-b-list dt {
  width: 28%;
  color: #000;
  font-weight: 400;
}
#works .works-list dd,.works-b-list dd {
  width: 72%;
}
/* #works .works-list-btn {
  display: block;
  width: 175px;
  height: 53px;
  margin: auto auto 0px auto;
  text-align: center;
  line-height: 53px;
  background-color: rgba(151,192,4,0.8);
  border-radius: 10px;
  font-weight: 600;
  color: #fff;
  transition: 0.3s;
} */
#works .works-list-btn {
  width: auto;
  height: auto;
  margin: auto auto 0px auto;
  padding: 18px 54px;
  display: block;
  text-align: center;
  background-color: rgba(151,192,4,0.8);
  border-radius: 10px;
  font-weight: 600;
  color: #fff;
  transition: 0.3s;
}

#works .works-list-btn:hover {
  background-color: rgba(151,192,4,1);
}
#works .smoll_img {
  height: 288px;
}

/* about ここから*/
#about .about-list {
  display: flex;
  width: 100%;
  margin-top: 30px;
  padding: 30px 30px 30px 48px;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 10px;
}
#about .about-icon {
  width: 30%;
  text-align: center;
}
#about .about-text {
  width: 60%;
  line-height: 1.8rem;
}

/*footer ここから */
#footer {
  background-color: #fff;
  margin: 60px auto 0px auto;
  text-align: center;
}
#footer .f_navi {
  display: flex;
  width: 100%;
  padding: 54px 10% 20px 10%;
  justify-content: space-between;
}
#footer .f_navi li {
  width: 33%;
  height: auto;
  color: #000;
  text-align: center;
  font-weight: 400;
  opacity: 0.7;
  transition: 0.5s;
}
#footer .f_navi li:hover {
  cursor: pointer;
  opacity: 1;
  color: #97c004;
}
#footer .f_navi a {
  display: block;
  margin: 0 auto;
  padding: 5px 0;
  text-align: center;
  width: 100%;
  height: auto;
  /*height: 42px;*/
  position: relative;
/*  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);*/
}
#footer .en {
  color: #5d5c5c;
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translateY(-35%) translateX(-50%);
}

#footer .copyright {
  padding: 10px 0px 30px 0px;
  color: #5d5c5c;
  font-size: 1rem;
}
/* トップへ戻るボタン */
#to-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 74px;
  height: 74px;
  background-color: #97c004;
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right:4%;
  z-index: 10;
  opacity: 0.8;
  transition: 0.5s;
}
#to-top img {
  display: block;
}
#to-top:hover{
  opacity: 1;
}
#to-top p {
  margin: 0 auto;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
}

/* アニメーションの指定　スクロールしたら要素が表示*/
.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  /* スクロールをしたら出現する要素にはじめに透過0を指定　*/
  .fadeUpTrigger{
      opacity: 0;
  }

  /* webデザインギャラリー　詳細をみるをクリックした時の */
  .no-display {
    display: none;
    text-align: center;
  }
  .modaal-fullscreen .modaal-content-container{/*full画面の色設定*/
    color: #5d5c5c;
    background-color : rgba(242,226,6,0.4);
    text-align: center;
  }
  .modaal-fullscreen .modaal-close{/*ボタンの色、位置*/
    background-color :#97c004;
    right :20px;
  }
  /*クローズボタンの×の色変更*/
  .modaal-close:focus:after,
  .modaal-close:focus:before,
  .modaal-close:hover:after,
  .modaal-close:hover:before{
	background-color:#fff;
  }
  .wdg-ttl {
    margin: 30px auto 10px auto;
    text-align: center;
    font-weight: 400;
  }

 /* ===========================================================
  404.html
  =========================================================== */
  #error404 {
    width: 94%;
    height: auto;
    max-width: 1024px;
    border-radius: 5px;
    margin: 50px auto;
    padding: 50px;
    background-color: #fff;
    text-align: center;
  }
  #error404 .error404_ttl {
    font-weight: bold;
    color: #97c004;
    line-height: 1;
  }

  #error404 .error_l {
    font-size: 5rem;
  }
  #error404 .error_s {
    display: block;
    font-size: 2rem;
  }
  #error404 .error404_text {
    margin-top: 30px;
    line-height: 1.8rem;
  }
  #error404 a {
    color: #000;
    font-weight: 400;
    transition: 0.5s;
  }
  #error404 a:hover {
    text-decoration: underline;
  }
  #error404 .btn404{
    margin: 30px auto 26px auto;
    padding: 18px;
    display: block;
    width: 80%;
    max-width: 390px;
    border-radius: 5px;
    text-align: center;
    background-color: #fff;
    border: solid 2px #97c004;
    opacity: 0.8;
    transition: 0.5s;
  }
  #error404 .btn404:hover {
    background-color: #97c004;
    color: #fff;  
    text-decoration: none;
    opacity: 1;
  }
  .f-pt50 {
    padding-top: 50px;
  }
 /* ===========================================================
  レスポンシブ対応
  =========================================================== */
 /* タブレット */
  /*根拠現在のシェアが高いタブレット最大幅1024px */
  @media screen and (max-width:1024px)  {
    body {
      max-width: 1024px;
      font-size: 1rem;
    }
    img {
      max-width: 80%;
    }
    /*幅の指定*/
    .wrapper {
      width: 100%;
      max-width: 1024px;
      padding: 0 2%;
    }
    /*見出し指定*/

    /* Header ここから */
    #gnavi a {
      font-size: 1rem;
    }
    /* mainvisual ここから */
    #mainvisual p {
      line-height: 1.8rem;
    }
    /* main ここから*/
    section {
      margin-top: 40px;
    }
        /* skill ここから*/
    #skill ul {
      flex-direction: column;
    }
    #skill li {
      width: 100%;
      height: auto;
      padding: 20px 10px;
      margin: 0 auto 15px auto;
    }
    #skill li:nth-of-type(n+4) {
      margin-bottom: 15px;
    }/*リストの4つめから下の余白を0に*/
    #skill li:nth-of-type(3n) {
      margin-right: auto;
    }/*リストの3の倍数には右の余白をautoに*/
    
    /*↑疑似要素で指定したものはレスポンシブで指定しなおす↑今回悩んだところ*/

    #skill p.skill-icon {
      margin: 20px auto;
    }
    #skill h4 {
      font-size: 1.3rem;
    }
    /* works ここから*/
    #works ul {
      flex-direction: column;
    }
    #works li {
      margin: 0 auto 15px auto;
      padding: 20px 10px;
      width: 100%;
      height: auto;
    }
    #works li:nth-of-type(n+3) {
      margin-bottom: 15px;
    }/*リストの３つめから下の余白を0に*/
    #works li:nth-of-type(2n) {
      margin-right: auto;
    }/*リストの2の倍数には右の余白をautoに*/

    #works .works-icon {
      margin: 20px auto 0 auto;
    }
    #works .works-list {
      margin-top: 20px;
    }
    #works .works-list-btn {
      margin: 20px auto 0px auto;
    }
    #works .smoll_img {
      height: auto;
    }
    /* about ここから*/
    #about .about-list {
      flex-direction: column;
      width: 100%;
    }
    #about .about-icon,#about .about-text {
      width: 100%;
    }
    #about .about-icon {
      margin-bottom: 30px;
    }
    #about .about-icon img {
      max-width: 70%;
    }

    /*footer ここから */
    #footer .f_navi {
      padding: 24px 2% 20px 2%;
    }
  }
  /* スマホ */
  /*根拠現在のシェアが高いスマホ最大幅428px */
  @media screen and (max-width:428px) {
    body {
      max-width: 428px;
    }
    img {
      max-width: 70%;
    }
    /*幅の指定*/
    .wrapper {
      width: 100%;
      max-width: 428px;
    }
    /*ロゴの指定*/
    .logo img {
      max-width: 80%;
    }
    /*見出し指定*/
    h2 .jp{
      font-size: 1.3rem;
      color: #97c004;
    }
    h2 .en{
      color: #5d5c5c;
      font-size: 1.125rem;
    }
    h3 .h3_ttl {
      color: #97c004;
      font-size: 1.125rem;
      font-weight: 400;
      letter-spacing: 5px;
    }
    /* Header ここから */
    #gnavi ul{
      flex-direction: column;
    }
    #gnavi li {
      width: 100%;
      height: auto;
    }
    #gnavi a {
      padding: 12px 0 18px 0;
      /* height: 48px; */
      height: auto;
      /* line-height: 48px; */
    }
    #gnavi .en {
      color: #5d5c5c;
      position: absolute;
      top: 85%;
      left: 50%;
      transform: translateY(-70%) translateX(-50%);
    }
    /* mainvisual ここから */
    #mainvisual {
      display: none;
    }
    #mainvisual-sp {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 530px;
      background-image: url(./image/mainvisual_sp.jpg);
      background-position: center;
      background-size: cover;
      -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
    }
    #mainvisual-sp p {
      margin: 20%;
      color: #000;
      line-height: 2rem;
      font-weight: 400;
    }



    /* skillとworksのサブ見出し*/
    #skill h4,#works h4 {
      font-size: 1.125rem;
    }

    /*works ここから */
    #works .works-list,#works .works-b-list {
      flex-direction: column;
    }
    #works .works-list dt,.works-b-list dt {
      width: 100%;
    }
    #works .works-list dd,.works-b-list dd {
      width: 100%;
    }

    /* about ここから*/
    #about .about-list {
      padding: 20px;
    }

    /*footer ここから */
    #footer .f_navi {
      flex-direction: column;
    }
    #footer .f_navi li {
      width: 100%;
    }
    #footer .f_navi a {
      height: 54px;
    }


    #footer .en {
      top: 60%;
      left: 50%;
      transform: translateY(-60%) translateX(-50%);
    }
/* トップへ戻るボタン */
    #to-top {
      right:0;
    }
/* 404.html */
    #error404 {
      max-width: 400px;
      margin: 30px auto;
      padding: 30px;
    }
    #error404 .error_l {
      font-size: 4rem;
    }
    #error404 .error_s {
      font-size: 1.6rem;
    }


  
  }






    

 

 














