@import url("https://fonts.googleapis.com/css?family=Roboto:400,400italic,700,700italic|PT+Serif:400italic,700italic&subset=latin,latin-ext");

* {
  box-sizing: border-box;
  outline: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
  font-family: Helvetica, Arial;
  font-size: 16px;
  line-height: 24px;
}

body {
  margin: 0;
  background: #fff;
  color: #222;
  word-wrap: break-word;
}

body.page-transition {
  opacity: 0;
  transition: opacity .45s ease;
}

body.page-transition.page-visible {
  opacity: 1;
}

body.page-transition.page-leaving {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  body.page-transition {
    opacity: 1;
    transition: none;
  }
}

a {
  color: #a0a0a0;
  text-decoration: none;
  transition-duration: .2s;
}

a:hover {
  color: #222;
}

img {
  max-width: 100%;
  width: auto;
  height: auto;
  border: 0;
  vertical-align: bottom;
}

p {
  margin: 0 0 24px;
}

p:last-child {
  margin-bottom: 0;
}

.site {
  width: 1180px;
  margin: 0 auto;
  background: url("../img/theme/bg.png") center top no-repeat fixed;
}

.site-header,
.site-main,
.site-footer,
.portfolio-area {
  zoom: 1;
}

.site-header:before,
.site-header:after,
.site-main:before,
.site-main:after,
.site-footer:before,
.site-footer:after,
.portfolio-area:before,
.portfolio-area:after {
  display: table;
  content: "";
}

.site-header:after,
.site-main:after,
.site-footer:after,
.portfolio-area:after {
  clear: both;
}

.site-header {
  position: relative;
  padding: 48px 0;
}

.site-logo {
  float: left;
  margin-right: 48px;
}

.logo-img img {
  display: block;
  width: auto;
  height: auto;
}

.site-navigation .nav-menu {
  float: left;
  margin: 6px 0 0;
  padding: 0;
  font-size: 16px;
  line-height: 24px;
}

.site-navigation li {
  position: relative;
  float: left;
  margin-right: 24px;
  list-style: none;
}

.site-navigation a {
  position: relative;
  color: #bcbcbc;
}

.site-navigation a:before {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f3f3f3;
  content: "";
  transition: opacity .2s, transform .2s;
  transform: translateY(5px);
}

.site-navigation a:hover:before {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-navigation a:hover {
  color: #222;
}

.site-navigation .current-menu-item > a {
  border-bottom: 2px solid #f3f3f3;
  color: #222;
}

.site-navigation .current-menu-item > a:before {
  display: none;
}

.site-navigation .menu-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #222;
  color: #fff;
  font: 22px/40px Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.site-navigation .menu-toggle:after {
  content: "\2630";
}

.page-header {
  padding: 96px 0 144px;
}

.page-title {
  width: 50%;
  margin: 0;
  color: #222;
  font-size: 60px;
  font-weight: 700;
  line-height: 60px;
}

.page-subtitle {
  width: 50%;
  margin-top: 24px;
  color: #575859;
  font-family: "PT Serif", serif;
  font-size: 18px;
  font-style: italic;
}

.page-content {
  float: left;
  width: 100%;
}

.type-page.has-post-content {
  margin-bottom: 48px;
}

.service-image {
  margin-top: -60px;
}

.service-image img {
  display: block;
  width: 100%;
  border-radius: 0;
}

.map-wrap {
  margin-top: -60px;
  margin-bottom: 35px;
  padding: 5px;
  background-color: #f7f7f7;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 550px;
  margin-bottom: 0;
  padding: 0;
  border: none;
}

.project-detail img {
  display: block;
  width: 100%;
  margin-bottom: 24px;
}

.project-navigation {
  overflow: hidden;
  clear: both;
  margin-top: 144px;
  color: #bcbcbc;
  font-family: "PT Serif", serif;
  font-size: 14px;
  font-style: italic;
}

.project-navigation a {
  color: #222;
}

.project-navigation a:hover {
  color: #bcbcbc;
}

.project-navigation-left {
  float: left;
}

.project-navigation-left a:before {
  padding-right: 3px;
  content: "\2190";
  transition: padding .2s;
}

.project-navigation-left.project-navigation-disabled:before {
  padding-right: 3px;
  content: "\2190";
}

.project-navigation-left a:hover:before {
  padding-right: 10px;
}

.project-navigation-right {
  float: right;
  text-align: right;
}

.project-navigation-right a:after {
  padding-left: 3px;
  content: "\2192";
  transition: padding .2s;
}

.project-navigation-right.project-navigation-disabled:after {
  padding-left: 3px;
  content: "\2192";
}

.project-navigation-right a:hover:after {
  padding-left: 10px;
}

.portfolio-area {
  position: relative;
  width: calc(100% + 20px);
  margin-left: -10px;
}

.portfolio-area .type-project {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  padding: 10px;
  margin: 0;
  transition: transform .25s ease;
  z-index: 1;
}

.portfolio-area .type-project:hover {
  z-index: 2;
}

.project-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.project-thumbnail a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.portfolio-area .type-project img {
  display: block;
  width: 100%;
  border-radius: 3px;
  transition-property: transform, opacity;
  transition-duration: .525s;
  transition-timing-function: cubic-bezier(.215, .61, .355, 1);
}

.project-thumbnail a:after {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 3px;
  background: linear-gradient(#fff, #fff);
  content: "";
  pointer-events: none;
  transition-duration: .525s;
  transition-timing-function: cubic-bezier(.215, .61, .355, 1);
}

.portfolio-area .type-project:hover .project-thumbnail a:after {
  opacity: .5;
}

.portfolio-area .type-project:hover img {
  transition: transform 4s cubic-bezier(.39, .575, .565, 1), opacity .525s;
  transform: scale(1.1) translate3d(0, 0, 0);
}

.site-footer {
  position: relative;
  clear: both;
  margin: 144px auto 24px;
  font-size: 14px;
}

.site-footer:before {
  position: absolute;
  top: -24px;
  left: 0;
  width: 24px;
  height: 1px;
  background-color: #ccc;
  content: "";
}

@media only screen and (max-width: 1220px) {
  .site {
    width: 940px;
    background: none;
  }

  .page-title,
  .page-subtitle {
    width: 65%;
  }

  .portfolio-area .type-project {
    width: 320px;
  }
}

@media only screen and (max-width: 980px) {
  .site {
    width: 728px;
  }

  .site-navigation .nav-menu {
    z-index: 3;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 0;
    padding: 0 24px;
    border-radius: 3px;
    background-color: #222;
  }

  .site-navigation .nav-menu.toggled-on {
    display: block;
  }

  .site-navigation li {
    float: none;
    margin: 0;
    border-top: 1px solid #555;
  }

  .site-navigation li:first-child {
    border-top: 0;
  }

  .site-navigation a {
    display: block;
    padding: 10px 0;
    color: #fff;
  }

  .site-navigation a:before {
    display: none;
  }

  .site-navigation .current-menu-item > a {
    border: 0;
    color: #bcbcbc;
  }

  .site-navigation .menu-toggle {
    display: block;
  }

  .page-title,
  .page-subtitle {
    width: 77%;
  }

  .portfolio-area .type-project {
    width: 374px;
  }
}

@media only screen and (max-width: 767px) {
  .site {
    width: 440px;
  }

  .page-header {
    padding: 48px 0 96px;
  }

  .page-title,
  .page-subtitle {
    width: 100%;
  }

  .page-title {
    font-size: 48px;
    line-height: 48px;
  }

  .portfolio-area .type-project {
    width: 220px;
  }

  .site-footer {
    margin-top: 120px;
  }
}

@media only screen and (max-width: 479px) {
  .site {
    width: 300px;
  }

  .page-title {
    font-size: 32px;
    line-height: 32px;
  }

  .page-subtitle {
    margin-top: 12px;
  }

  .portfolio-area .type-project {
    width: 320px;
  }
}
