@charset "UTF-8"

html {
  font-size: 62.5%;
}
*, *::before,*::after {
  box-sizing: border-box;
}

body {
  background: #fff;
  text-align: center;
  font-size: 1.4rem;
  font-family: "Hiragino Kaku Gothic ProN" , Meiryo, sans-serif;
}
h1 {
  width: 210px;
  position: absolute;
  z-index: 100;
  margin: 10px 0 0 30px;
}
h2 {
  font-size: 36px;
  font-family: 'Merriweather', serif;
  font-weight: 300;
  text-align: left;
  color: #3E3E3E;
}
p {
  font-weight: 300;
  color: #3E3E3E;
}


@media screen and (min-width: 767px) { /*ウィンドウ幅が767px以上の場合に適用*/
  .pc {
    display: none;
  }

  nav a {
    position: absolute;
    display: inline-block;
    text-decoration: none;
    color: #3E3E3E;
  }
  nav a::after {
    position: absolute;
    bottom: 2px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #333;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
  }
  nav a:hover::after {
    bottom: -4px;
    opacity: 1;
    visibility: visible;
  }

  ul {
    list-style: none;
  }

  nav {
    width: 100%;
    position: fixed;
    z-index: 100;
    background-color: #fff:
  }
  .contents-inner {
    width: 100%;
  }
  .worksNav {
    width: 100%;
    height: 70px;
    position: fixed;
    z-index: 10;
    margin-top: -10px;
    background-color: rgb(255,255,255,0.8);
  }
  nav ul{
    float: right;
    font-family: 'Merriweather', serif;
    width: 270px;
    display: flex;
    justify-content: space-between;
    margin-right: 150px;
  }
  nav ul li {
    width: 30px;
  }
  text {
    font-size: 70px;
    stroke: #333;
    stroke-width: 0.5px;
    fill: #333;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: textAnime 4s linear;
  }
  scroll-container {
    display: block;
    scroll-behavior: smooth;
  }

  .mainVisual {
    width: 100%;
    position: relative;
    z-index: 0;
    height: 700px;
  }
  .mainText {
    margin-left: 13%;
    position: absolute;
    top: 30%;
    z-index: 10;
    line-height: 1.2;
    text-align: left;
  }
  .mainText {
    animation-name: fadein;
    animation-duration: 4s;
    color: #231815;
  }
  .title {
    margin: 0 0 0 65px;
  }
  .works_topc {
    width: 1280px;
    margin: 0 auto;
  }
  .w_title {
    font-family: 'Merriweather', serif;
    margin: 30px 0 0 0;
    font-size: 36px;
    color: #3E3E3E;
    padding: 80px 30px 0;
  }

  /*カードデザイン*/
  .worksList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    grid-gap: 0.8em;
    padding: 60px;
    margin: 60px 0 2em;
    background: #f5f5f5;
  }

  .worksList > div {
    background: #fff;
    overflow: auto;
    min-width: 0;
    border: 1px solid #f5f5f5;
    box-shadow: 0 0 8px #80808012;
  }
  .mail {
  color: red;
  }

  .worksList img {
    width: 100%;
    margin-bottom: -10px;
  }
  .worksList h3 {
    font-size: 17px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: left;
    color: #595757;
    padding: 10px 10px;
    margin: 0 0 -10px 0;
    border-top: 1px solid #f5f5f5;
    /*background: #595757;*/
  }

  .worksList p {
    font-size: 14px;
    font-weight: 300;
    color: #555;
    text-align: left;
    padding: 0 10px 0;
  }
  .worksList a {
    /*text-decoration: none;*/
    font-size: 14px;
    text-align: left;
    margin: 0;
    color: #999;
  }
  .worksList a:hover {
    color: #ec576b;
  }
  .worksList a[target="_blank"] {
      display: inline-block;
      padding-right: 18px;
      background: url(../img/link.svg) no-repeat right center;
  }
  .list {
    opacity: 0;
  }
  .list:nth-child(1) {
    -webkit-animation: example 0.8s ease 0.5s 1 forwards;
    animation: example 1s ease 0.5s 1 forwards;
  }

  .list:nth-child(2) {
    -webkit-animation: example 0.8s ease 1s 1 forwards;
    animation: example 2s ease 1s 1 forwards;
  }

  .list:nth-child(3) {
    -webkit-animation: example 0.8s ease 1.5s 1 forwards;
    animation: example 3s ease 1.5s 1 forwards;
  }

  .list:nth-child(4) {
    -webkit-animation: example 0.8s ease 2s 1 forwards;
    animation: example 0.5s ease 2s 1 forwards;
  }

  .list:nth-child(5) {
    -webkit-animation: example 0.8s ease 2.5s 1 forwards;
    animation: example 0.5s ease 2.5s 1 forwards;
  }

  .list:nth-child(6) {
    -webkit-animation: example 0.8s ease 3s 1 forwards;
    animation: example 0.5s ease 3s 1 forwards;
  }

  @-webkit-keyframes example {
    100% {
      opacity: 1;
    }
  }
  @keyframes example {
    100% {
      opacity: 1;
    }
  }

  /*スライダー --------------*/
  #slider{
    max-width: 1280px;
    margin: 0 auto;
    padding: 300px 0 0 0;
    position: relative;
  }
  .sld_fade{
    height: 100%;
    position: absolute;
    top: 0;
    display: none;
    z-index: -10;
    padding: 180px 0 0 300px;
  }
  .sld_fade img {
    max-width: 100%;
  }
  /*works--------------*/
  .works {
    max-width: 990px;
    margin: 0 auto 120px;
    padding: 0 30px;
  }
  .works h2 {
    max-width: 990px;
    margin: 0 auto;
  }
  .worksArea {
    width: 100%;
  }
  .worksArea img{
    max-width: 100%;
  }
  .worksArea ul {
    max-width: 930px;
    display: flex;
  }
  .worksArea ul li {
    max-width: 460px;
  }
  .worksArea ul li:first-child {
    margin-right: -60px;
  }
  .worksArea a:hover {
    background: #fff;
  }
  .worksGroup02 {
    margin-left: -11%;
  }
  .works-txt p{
    font-size: 16px;
    text-align: right;
  }
  .works-txt a {
    text-decoration: none;
    color: #3E3E3E;
  }
  .works-txt a:hover {
    color: #78BECF;
    transition: .3s;
  }

  /*about--------------*/
  .line {
    margin-bottom: -10px;
  }
  .line img{
    width: 100%;
  }
  .about, .contact{
    max-width: 990px;
    margin: 0 auto;
    padding: 0 30px;
  }
  .aboutArea {
    display: flex;
    justify-content: space-between;
    height: 400px;
    margin: 0;
    text-align: left;
    font-weight: 300;

  }
  .aboutArea figure{
     margin: 0 20px 0 0;
  }
  .aboutArea img {
    width: 100%;
  }
  .aboutArea p {
    margin-top: 0;
  }
  .name {
    font-size: 20px;
    line-height: 1;
  }
  .profile {
    text-align: left;
    font-size: 14px;
    line-height: 1.75;
    margin-top: 20px;
  }

  .name02 {
    font-size: 12px;
  }
  /*お問い合わせ--------------*/
  #contact {
    position: absolute;
    z-index: 10;
    width: 100%;
    padding: 80px 0 120px;
    background-color: #f5f5f5;
  }
  #contact p{
    font-size: 16px;
    margin-bottom: 30px;
  }
  .contactArea h2 {
    font-size: 20px;
  }

  .contactArea {
    position: relative;
    padding: 20px 30px;
    width: 400px;
    margin: 0 auto;
  }
  .contactArea a{
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #979797;
    border-radius: 4px;
    color: #3E3E3E;
  }
  .contactArea a:hover {
    color: #fff;
    background: #78BECF;
    border: none;
    transition: .3s;
  }

  .contactArea:before,.contactArea:after{ 
      content:'';
      width: 20px;
      height: 30px;
      position: absolute;
      display: inline-block;
  }

  .contactArea:before{
      border-left: solid 4px #979797;
      border-top: solid 4px #979797;
      top:0;
      left: 0;
  }

  .contactArea:after{
      border-right: solid 4px #979797;
      border-bottom: solid 4px #979797;
      bottom:0;
      right: 0;
  }

  .icon {
      width: 10px;
      height: 10px;
      background: url(../img/mail.svg) no-repeat;
  }

}


@media screen and (max-width: 767px) { /*ウィンドウ幅が最大479pxまでの場合に適用*/
  .sp{
    display: none;
  }
  p {
    font-size: 16px;
    font-weight: 300;
  }
  nav {
    display: none;  
  }
  h2 {
    margin-left: 30px;
  }
  .work_list {
    margin: 0 0 0 -30px;
  }
  .mainVisual {
    height: 400px;
  }
  .mainText {
/*    width: 100%;*/
    margin: 60px 0 0 30px;
    text-align: left;
    position: absolute;
  }
  .mainText img {
  width: 60%;
  }
  .title {
    width: 70%;
    margin-top: 0;
  }
  #slider{
    max-width: 1000px;
    margin: 0 auto;
    padding: 300px 0 0 0;
    position: relative;
  }
  .sld_fade{
    /*height: 100%;*/
    position: absolute;
    top: 170px;
    display: none;
    z-index: -10;
    padding: 180px 0 0 -10px;
  }
  .sld_fade img {
    max-width: 70%;
    margin-left: 100px;
  }
  .worksArea img {
    width: 100%;
  }
  .worksArea  ul {
    list-style: none;
  }
  .works-txt p {
    display: block;
    width: 300px;
    height: 50px;
    margin:  0 auto 30px;
    border-radius: 4px;
  }
  .btn {
    width: 100%;
    background: #78BECF;
  }
  .btn2 {
    background: #BBB9BE;
  }
  .works-txt a {
    display: block;
    width: 300px;
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 4px;
    color: #fff;
  }
  .line img,.aboutArea img{
    width: 100%;
  }
  .name {
    text-align: left;
    padding-left: 30px;
  }
  .profile {
    font-size: 14px;
    text-align: left;
    padding: 0 30px;
  }
  .contactArea {
  padding-bottom: 120px;
  margin-top: 40px;
    }
  .contactArea a{
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 4px;
    color: #fff;
    background: #78BECF;
  }

}

