@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Rubik:300,400");
@import url("https://fonts.googleapis.com/css?family=Playfair+Display:400,700");
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow: auto;
  /* font-size: 100%; */
  font-size: calc(100vw / 32);
}

* {
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   inport font
   ========================================================================== */
/* HTML5 display definitions
   ========================================================================== */
body {
  background-image: url(../images/background.jpg);
  background-repeat: repeat;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #362e2b;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  margin-bottom: 1.5em;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

a {
  color: #362e2b;
  display: block;
  text-decoration: none;
}

ul li {
  list-style: none;
}

.overflow-wrapper {
  max-width: 100%;
}

header {
  font-family: 'Playfair', serif;
  font-weight: 700;
  list-style: none;
  color: #fff;
  text-align: right;
  width: 100%;
  background-color: #362e2b;
  left: 0px;
  top: -64px;
  position: fixed;
  z-index: 100;
}

#home_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row;
  flex-flow: row;
  margin: 0;
  padding: 6px;
  list-style-type: none;
  position: absolute;
  left: 0px;
  top: 0px;
}

#home_list li {
  width: auto;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  padding-left: 16px;
}

#home_list a {
  display: block;
  color: white;
  text-decoration: none;
}

#nav {
  font-family: 'Playfair', serif;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row;
  flex-flow: row;
  margin: 0;
  padding: 6px;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

#nav li {
  width: auto;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  padding-right: 16px;
}

#nav li a {
  text-decoration: none;
  color: #fff;
}

.header_image {
  position: relative;
  top: 0;
  left: 0;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.header_image img {
  width: 100%;
  /* animation speed */
  -webkit-animation-duration: 3s;
  -webkit-animation-delay: 0.2s;
}

#pj_header {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  color: white;
  text-shadow: 0 0 3px #362e2b;
}

#pj_header p {
  margin: 8px 0;
}

#pj_header h1 {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
}

#pj_header h2 {
  margin: 0 auto;
}

p {
  margin: 0 auto;
}

#pj_sub {
  color: white;
}

.main-container {
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 8vw;
}

.project_details {
  width: calc(100%/8*3);
  padding: 0.6rem 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

.project_details h3 {
  margin-bottom: 0.3rem;
}

.date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}

.cell {
  width: 50%;
}

.project_details .date > div:nth-last-of-type(1) {
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  padding-left: 1rem;
}

.project_details small {
  display: block;
  margin-bottom: 0.5rem;
}

.top_border {
  margin-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 0;
}

.project_description {
  margin: 0 auto;
  max-width: 640px;
  display: inline-block;
  text-align: left;
  font-size: 20px;
  line-height: 1.85;
  padding-bottom: 4vw;
}

.mobile_des {
  overflow: hidden;
  height: 100%;
  clear: left;
}

.project_text_mobile {
  width: calc(50% - 2vw);
  display: inline-block;
  vertical-align: middle;
  font-size: 3.2vw;
  line-height: 1.3;
  float: left;
}

.project_image {
  position: relative;
  display: block;
  margin: 2vw 0;
}

.project-content {
  position: relative;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: -100px;
}

.project_image-100 {
  width: 100%;
}

.project_image-100 video {
  max-width: 25%;
}

.project_image-50 {
  width: calc(50% - 2vw);
  display: inline-block;
}

.project_image-50 video {
  max-width: 50%;
}

/* image animated */
.invisible {
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  opacity: 0.0;
}

.swiper-slide img {
  width: calc(100% - 2vw);
}

.project_des {
  width: 100%;
  padding: 8vw 0;
  margin-bottom: 4vw;
}

.project_des h3 {
  font-size: 3.2vw;
  line-height: 1.3;
}

.next_pj {
  background-color: #362e2b;
  position: relative;
  display: block;
  padding: 1vw 4vw;
  text-align: center;
}

.project_image img {
  width: 100%;
}

.project_image img.mobile-image {
  display: none;
}

/* footer */
footer {
  background-color: #fff;
  position: relative;
  display: block;
  color: #362e2b;
  font-family: 'Playfair Display', serif;
  margin-top: auto;
  width: 100%;
  height: 100%;
}

.foot_contents {
  padding: 1vw 4vw;
}

.button {
  background: #FD9638;
  color: white;
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  display: inline-block;
  padding: 0 20px;
  height: 52px;
  line-height: 50px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1.0px;
  cursor: pointer;
  -webkit-transition: .2s;
  transition: .2s;
  margin-right: auto;
}

.button:hover {
  background: #362e2b;
  color: #FD9638;
}

.icons {
  display: inline-block;
  padding-right: 16px;
}

.icons img {
  width: 32px;
  height: 32px;
  padding-left: 16px;
  vertical-align: middle;
}

.icons ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row;
  flex-flow: row;
  margin: 0;
  padding: 6px;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

/*===============================================
●smart.css  max-width:768px
===============================================*/
@media screen and (max-width: 768px) {
  .nav_li {
    visibility: hidden;
  }
  #pj_header h1 {
    line-height: 100%;
    font-size: 1.5rem;
  }
  .project_details {
    width: calc(100%/8*6);
    padding: 2rem;
    font-size: 100%;
  }
  .project_info {
    margin: 0 6vw;
  }
  .project_description {
    font-size: 100%;
    font-weight: 400;
  }
  .project_image-50 {
    width: 100%;
  }
  .project_image img.mobile-image {
    display: block;
  }
}
