html,
body {
  font-family: aktiv-grotesk, sans-serif;
  color: #333;
  font-weight: 300; 
  font-size: 62.5%;
  line-height: 1.75;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
  transition: .3s;
}

body.active {
  background-color: #333;
}

/*html {
  visibility: hidden;
}

html.wf-active,
html.loading-delay {
  visibility: visible;
}

body.hidden {
  overflow: hidden;
}

*/
::selection
{
    background: #333;
    color: #ffffff;
}

/*共通css*/
p {
  font-size: 1.6rem;
  color: #333;
}

a {
  color: #333;
  text-decoration: none;
  transition: color .3s;
  cursor: pointer;
}

a:hover {
  color: #333;
  opacity: 0.5;
  text-decoration: none;
}

h1 {
  font-weight: 700;
}

h2,
h3
 {
  font-weight: 500;
}

/*個別css*/
header {
  width: 100%;
}

header .site-title {
  margin: 40px 0 0 40px;
  font-size: 1.8rem;
  line-height: 0.7;
  letter-spacing: 0.2rem;
  padding: 0 45px 4px 15px;
  background-color: #333;
  color: #fff;
  display: inline-block;
  overflow: hidden;
}

content {
  width: 100%;
}

.works-wrapper {
  width: calc(100% - 80px);
  margin: 70px auto 0;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
}

.works-wrapper h3 {
  display: inline-block;
  width: 100px;
  font-size: 1.8rem;
}

.works-wrapper .container {
  width: calc(100% - 100px);
  margin: 0 0 60px 0;
  display: flex;
  flex-wrap: wrap;
}

.works-wrapper .container a {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  position: relative;
  margin-right: 25px;
  display: inline-block;
}

.works-wrapper .container a:hover {
  opacity: 1;
}

.works-wrapper .container a:after {
  content: "";
  width: 100%;
  height: calc(100% - 9px);
  position: absolute;
  left: 0;
  top: 8px;
  z-index: -1;
  background-color: #fff;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

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

.works-wrapper .container a h2 {
  color: #333;
  font-size: 3.2rem;
  line-height: 1.2;
  display: inline-block;
  transition: color .3s;
}

.works-wrapper .container a span {
  color: rgb(150,150,150);
  font-size: 0.4em;
  font-weight: 300;
  display: block;
  margin-left: 1px;
  letter-spacing: 0.05rem;
  transition: color .3s;
}

.works-wrapper .container a h2 span.active {
  color: #555;
}

.contact-container {
  text-align: right;
  position: absolute;
  right: -45px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  transform: rotate(90deg);
}

.copyright,
.contact-container a {
  display: inline-block;
  font-size: 1.2rem;
}

.contact-container a {
  color: #333;
}

.contact-container a:hover {
  color: #999;
  opacity: 1;
}

.contact-container a p {
  font-size: 1.2rem;
  display: inline-block;
  position: relative;
  transition: .3s;
}

.contact-container a:hover p {
  color: #999;
}

.contact-container a:hover p:after {
  content: '';
  width: 100%;
  height: 1px;
  background-color: rgb(100,100,100);
  position: absolute;
  right: 0;
  bottom: 0;
}

@media screen and (min-width: 1400px) {
  .works-wrapper .container a h2 {
    font-size: 2.3vw;
  }
}

@media screen and (max-width: 480px) {
  header .site-title {
    margin-left: 20px;
    margin-top: 35px;
  }

  .works-wrapper {
    width: calc(100% - 40px);
    margin-top: 40px;
  }

  .works-wrapper .container {
    margin-bottom: 30px;
  }

  .works-wrapper .container a {
    margin-bottom:20px;
  }

  /*.works-wrapper .container a:after {
    background-color:#fff;
  }*/

  .works-wrapper .container a h2 {
    font-size: 2.8rem;
    line-height: 1.2;
  }

  /*.works-wrapper .container a:hover h2 {
    color: #333;
  }

  .works-wrapper .container a:hover h2 span {
    color: rgb(150,150,150);
  }*/

  .works-wrapper h3 {
    width: 100%;
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .works-wrapper .container {
    width: 100%;
  }

  .contact-container {
    right: -35px;
  }

  /*.contact-container a:hover p:after {
    background-color:#fff;
  }*/

}