@charset "UTF-8";

/* Global */

@import url("//fonts.googleapis.com/earlyaccess/notosansjp.css");
@import url('//fonts.googleapis.com/css?family=Lato:100,300,400,700');

* {
  margin: 0;
  border: none;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  background-repeat: no-repeat;
  font-size: 100%;
/*
  font-weight: normal;
  font-style: normal;
*/
  font-family: "Noto Sans JP", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "sans-serif";
  text-align: left;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga", "kern";
  text-rendering: optimizeLegibility;
}

a:visited,
a:link,
a:active {
  text-decoration: none;
}

pre,
code,
address,
caption,
th,
figcaption {
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

audio,
canvas,
video,
progress {
  display: inline-block;
  vertical-align: baseline;
}

button {
  font: inherit;
  vertical-align: middle;
}

li {
  list-style: none;
}

html {
  font-size: 62.5%;
}

body {
  background-color: #fff;
  font-size: 10px;
}

a img {
  transition: opacity 0.2s;
}

a img:hover {
  opacity: 0.5;
}

@media print {
  body {
    color: #000
  }
  
  a,
  a:link,
  a:visited {
    color: #000;
    text-decoration: none;
  }
}



/* Common */

.disabled {
  display: none;
}

header {
  display: table;
  width: 100%;
  max-width: 1680px;
  height: 100px;
  margin: 0 auto;
  border-bottom: 2px solid #f8f8f8;
  background-color: #fff;
}

header.top {
  border: none;
}

h1 {
  display: table-cell;
  width: 185px;
  text-align: right;
  vertical-align: middle;
}

nav.pc {
  display: table-cell;
  text-align: right;
  vertical-align: middle;
}

nav.pc ul {
  display: inline-table;
  width: 100%;
  max-width: 700px;
  padding-right: 40px;
}

nav.pc li {
  display: table-cell;
  margin-right: 40px;
  padding-left: 40px;
  text-align: center;
}

nav.pc a {
  display: inline-block;
  height: 100px;
  padding-top: 43px;
  font-size: 1.4rem;
  font-family: "Lato";
  letter-spacing: 1px;
  color: #676767;
  transition-duration: 0.1s;
}

nav.pc a.active {
  border-bottom: 2px solid #808080;
}

nav.pc a:hover {
  border-bottom: 2px solid #808080;
}

#lang {
  display: table-cell;
  width: 85px;
  vertical-align: middle;
  color: #cbcbcb;
}

#lang a {
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #cbcbcb;
}

#lang a:hover,
#lang a.active {
  color: #676767;
}

#nav-sp {
  display: none;
}

#main-visual {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

#main-visual.top {
  margin-top: 40px;
}

#main-visual.works-detail {
  margin-bottom: 30px;
}

#main-visual img {
  width: 100%;
  height: auto;
}

#main-contents {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 60px 0;
  color: #676767;
}

#main-contents.no-padding-top {
  padding-top: 0;
}

#main-contents.narrow {
  max-width: 640px;
}

#main-contents.works-detail {
  padding-top: 0;
  padding-bottom: 40px;
}

#main-contents-inside {
  padding: 0 40px;
}

#main-contents-inside.wider {
  padding: 0 35px;
}

#main-contents-sub {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  color: #676767;
}

#main-contents-sub-inside {
  padding: 0 35px;
}

h2 {
  margin-bottom: 60px;
  font-size: 3rem;
  font-weight: 300;
  font-family: "Lato";
  letter-spacing: 1px;
  text-align: center;
}

h2.top {
  margin-bottom: 60px;
  font-size: 2rem;
  font-weight: 300;
  font-family: "Lato";
  letter-spacing: 1px;
  color: #676767;
}

h2.with-visual {
  margin-top: 60px;
}

footer {
  width: 100%;
  max-width: 1680px;
  height: 175px;
  margin: 0 auto;
  border-top: 1px solid #e5e5e5;
  border-bottom: 20px solid #e5e5e5;
  padding-top: 38px;
  font-size: 1.1rem;
  font-family: "Lato";
  text-align: center;
  color: #b2b2b2;
}

@media(max-width: 850px) {
  body.grey {
    background-color: #f8f8f8;
  }
  
  h1 {
    width: 165px;
  }
  
  #lang,
  nav.pc ul {
    display: none;
  }
  
  nav.pc {
    border: 1px solid #fff;
  }
  
  #menu-sp {
    display: block;
    position: absolute;
    top: 43px;
    right: 20px;
    z-index: 20000;
  	width: 40px;
  	height: 24px;
    cursor: pointer;
  }
  
  #menu-sp span {
  	display: inline-block;
  	transition: all .4s;
  	box-sizing: border-box;
  	position: absolute;
  	left: 0;
  	width: 100%;
  	height: 2px;
  	background-color: #676767;
  	border-radius: 2px;
  }
  
  #menu-sp span:nth-of-type(1) {
  	top: 0;
  }
  
  #menu-sp span:nth-of-type(2) {
  	top: 12px;
  }
  
  #menu-sp.active span:nth-of-type(1) {
  	transform: translateY(6px) rotate(-45deg);
  }
  
  #menu-sp.active span:nth-of-type(2) {
  	transform: translateY(-6px) rotate(45deg);
  }
  
  #nav-sp {
    position: absolute;
    top: 100px;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
  }

  #nav-sp-main {
    display: table;
    width: 100%;
    height: 100%;
    padding: 60px 0;
  }
  
  #nav-sp-inside {
    display: table-cell;
    vertical-align: middle;
  }
  
  nav.sp a {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    font-size: 2.3rem;
    font-weight: 300;
    font-family: "Lato";
    letter-spacing: 1px;
    text-align: center;
    color: #676767;
  }
  
  #lang-sp {
    margin-top: 100px;
    font-size: 2.3rem;
    font-weight: 300;
    font-family: "Lato";
    letter-spacing: 1px;
    text-align: center;
    color: #cbcbcb;
  }
  
  #lang-sp a {
    font-size: 2.3rem;
    font-weight: 300;
    font-family: "Lato";
    letter-spacing: 1px;
    color: #cbcbcb;
  }

  #lang-sp a:hover,
  #lang-sp a.active {
    color: #676767;
  }
  
  #main-visual {
/*     height: 400px; */
  }
}

@media(max-width: 500px) {
  header {
    height: 60px;
  }
  
  h1 {
    width: 105px;
  }
  
  h1 img {
    width: 85px;
    height: auto;
  }
  
  #nav-sp {
    top: 60px;
  }
  
  #menu-sp {
    top: 20px;
    right: 20px;
  	width: 22px;
  	height: 24px;
  }
  
  #menu-sp span {
  	height: 1px;
  	border-radius: 1px;
  }
  
  #menu-sp span:nth-of-type(1) {
  	top: 4px;
  }
  
  #menu-sp span:nth-of-type(2) {
  	top: 10px;
  }
  
  #menu-sp.active span:nth-of-type(1) {
  	transform: translateY(3px) rotate(-45deg);
  }
  
  #menu-sp.active span:nth-of-type(2) {
  	transform: translateY(-3px) rotate(45deg);
  }
  
  #lang-sp {
    margin-top: 60px;
  }
  
  #main-contents {
    padding: 30px 0;
  }

  #main-contents-inside {
    padding: 0 20px;
  }
  
  #main-contents-inside.wider,
  #main-contents-sub-inside {
    padding: 0 15px;
  }

  #main-visual.top {
    margin-top: 0;
  }
  
  h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
  }
  
  h2.top {
    margin-bottom: 30px;
  }

  h2.with-visual {
    margin-top: 30px;
  }
  
  footer {
    height: 135px;
    border-bottom: 10px solid #e5e5e5;
    padding-top: 30px;
    font-size: 1.1rem;
    font-family: "Lato";
    text-align: center;
    color: #b2b2b2;
  }
}



/* News */

.news {
  display: block;
  margin-bottom: 30px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 30px;
}

a.news:hover {
  opacity: 0.7;
}

.news h3 {
  margin-bottom: 5px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.8rem;
  color: #676767;
}

.news-body {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.8rem;
  color: #676767;
}

.news-body p {
  margin-bottom: 2.8rem;
}

.news-body a {
  word-break: break-all;
  text-decoration: underline;
  color: #676767;
}

.news-body em,
.news-body strong em {
  font-style: italic;
}

.news-body strong,
.news-body em strong {
  font-weight: bold;
}

.news-body h1 * {
  font-size: 2.2rem;
  font-weight: bold;
}

.news-body h2 * {
  font-size: 2.1rem;
  font-weight: bold;
}

.news-body h3 * {
  font-size: 2rem;
  font-weight: bold;
}

.news-body h4 * {
  font-size: 1.9rem;
  font-weight: bold;
}

.news-body h5 * {
  font-size: 1.8rem;
  font-weight: bold;
}

.news-body h6 * {
  font-size: 1.6rem;
  font-weight: bold;
}

.news-body h7 * {
  font-size: 1.5rem;
  font-weight: bold;
}

.news-body ul li {
  list-style: circle;
}

.news-body ol li {
  list-style: decimal;
}

.news-body img {
  width: 100%;
  height: auto;
}

.wp-pagenavi,
.pager {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.8rem;
  text-align: center;
  color: #cbcbcb;
}

.pager.margin-bottom {
  margin-bottom: 30px;
}

.wp-pagenavi a,
.wp-pagenavi span,
.pager a {
  padding: 0 5px;
  color: #cbcbcb;
}

.wp-pagenavi .current,
.wp-pagenavi a:hover,
.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
.pager a.active,
.pager a:first-child,
.pager a:last-child {
  color: #676767;
}

@media(max-width: 500px) {
  .news {
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
}



/* Works */

#works-sub-menu {
  margin-bottom: 60px;
  text-align: center;
}

#works-sub-menu a {
  display: inline;
  margin: 0 20px;
  padding-bottom: 10px;
  font-size: 1.4rem;
  font-family: "Lato";
  letter-spacing: 1px;
  color: #cbcbcb;
  transition-duration: 0.1s;
}

#works-sub-menu select {
  display: none;
}

#works-sub-menu a.active,
#works-sub-menu a:hover {
  border-bottom: 2px solid #808080;
  color: #676767;
}

#works-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 30px;
}

.works {
  width: 25%;
  margin-bottom: 20px;
  border: 5px solid #fff;
}

.works:hover {
  opacity: 0.7;
}

.works.nolink:hover {
  opacity: 1;
}

.works a,
.works div {
  display: block;
  width: 100%;
  background-size: cover;
  background-position: center center;
}

.works span {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 64%;
}

.works p {
  margin-top: 10px;
  font-size: 1.4rem;
}

.works-note {
  display: block;
  width: 100%;
  font-size: 1.2rem;
  text-align: right;
}

.works-detail h3 {
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 700;
  color: #676767;
}

.works-detail p {
  font-size: 1.4rem;
  font-weight: 300;
  color: #676767;
}

#works-thumb {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 30px;
}

.thumb {
  width: 25%;
  border: 6px solid #fff;
  background-size: cover;
  background-position: center center;
}

.thumb span {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
}

#works-desc {
  margin-bottom: 60px;
}

#works-desc p {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.8rem;
  word-wrap: break-word;
  word-break: break-all;
}

@media(max-width: 500px) {
  #works-sub-menu {
    margin-bottom: 30px;
  }
  
  #works-sub-menu a {
    display: none;
  }
  
  #works-sub-menu select {
    display: inline-block;
    width: 100%;
    border-radius: 4px;
    padding: 10px;
    background-color: #f8f8f8;
    font-size: 1.4rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  #works-list {
    margin-bottom: 15px;
  }
  
  .works {
    width: 50%;
  }

  .works-detail h3 {
    margin-bottom: 15px;
  }
  
  .thumb {
    width: 50%;
  }

  #works-desc {
    margin-bottom: 30px;
  }
}



/* Profile */

.profile {
  display: block;
  margin-bottom: 30px;
}

.profile img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.profile h3 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.8rem;
  color: #676767;
}

.profile p {
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 2.8rem;
  color: #676767;
}

.profile a {
  color: #676767;
}

#profile-staff-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

#profile-staff-list .profile {
  width: 50%;
}

#profile-staff-list .profile:nth-child(odd) * {
  margin-right: 10px;
}

#profile-staff-list .profile:nth-child(even) * {
  margin-left: 10px;
}



/* Office */

#main-visual.office {
/*   background-image: url('/office/img/office-main-visual.png'); */
}

.office {
  display: block;
  margin-bottom: 120px;
}

.office h3 {
  margin-bottom: 5px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.8rem;
  color: #676767;
}

.office p {
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 2.8rem;
  color: #676767;
}

.map {
  width: 100%;
  height: 500px;
  margin-top: 10px;
}

.map iframe {
  width: 100%;
  height: 500px;
}



/* Contact */

#contact-lead {
  margin-bottom: 60px;
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 2.8rem;
  text-align: center;
  color: #676767;
}

#contact-lead em {
  color: #f00;
}

#contact-form {
  width: 100%;
}

#contact-form > div {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 1.4rem;
  font-family: "Lato";
  vertical-align: top;
}

#contact-form > div:nth-child(odd) {
  width: 30%;
}

#contact-form > div:nth-child(even) {
  width: 69%;
}

#contact-form input[type="text"] {
  width: 100%;
  padding: 10px;
  background-color: #f8f8f8;
}

#contact-form textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  background-color: #f8f8f8;
}

#contact-form input[type="submit"] {
  width: 180px;
  margin-top: 60px;
  border: 1px solid #676767;
  padding: 3px;
  background-color: transparent;
  font-size: 2rem;
  font-weight: 300;
  font-family: "Lato";
  text-align: center;
  cursor: pointer;
}

#contact-form input[type="submit"]:hover {
  background-color: #676767;
  color: #fff;
}

.g-recaptcha {
  width: 100%;
  margin-bottom: 20px;
}

#contact-form-submit {
  width: 100%;
}

@media(max-width: 500px) {
  #contact-lead {
    margin-bottom: 30px;
    text-align: left;
  }
  
  #contact-lead br {
    display: none;
  }

  #contact-form > div {
    width: 100% !important;
  }

  #contact-form-submit {
    text-align: center;
  }
}



/* Etc. */

input[type="password"] {
  background-color: #f1f1f1;
}