@charset "UTF-8";

/* Global */

@import url("//fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900&subset=japanese");

* {
  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;
  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 {
  transition: opacity 0.2s;
}

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



/* Global */

@font-face {
  font-family: "Univers57Obl";
  src: url("/font/Univers57Obl.woff"), url("/font/Univers57Obl.eot");

  font-family: "Univers55";
  src: url("/font/Univers55.woff"), url("/font/Univers55.eot");
}

* {
  font-family: "Univers55", "Noto Sans JP";
}

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

br.sp {
  display: none;
}

input,
textarea {
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width:480px) {
  br.sp {
    display: block;
  }
}



/* Common */

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 80px;
  background-color: rgba(255,255,255,0.95);
}

#header-inside {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}

#site-logo {
  float: left;
  width: 267px;
}

#site-logo a:hover {
  opacity: 0.7;
}

#site-logo img {
  width: auto;
  height: 80px;
}

#header-menu {
  float: left;
  height: 80px;
}

@media (max-width: 768px) {
  #header-menu {
    display: none;
  }
}

#header-menu ul {
  display: block;
  overflow: hidden;
  height: 80px;
  margin-left: 20px;
}

#header-menu li {
  display: table;
  float: left;
  height: 80px;
}

#header-menu li a {
  display: table-cell;
  padding: 8px 20px 0 20px;
  font-size: 1.4rem;
  -webkit-font-smoothing: subpixel-antialiased;
  vertical-align: middle;
  color: #242424;
}

#header-menu li a:hover {
  background-color: #000;
  color: #fff;
}

#main-visual {
  width: 100%;
  height: 750px;
  background-size: cover;
  background-position: top center;
  background-color: #000;
}

#main-visual.top {
  background-image: url("/img/main-visual.jpg");
}

#main-visual.work {
  background-image: url("/work/img/main-visual.jpg");
}

#main-visual.about {
  background-image: url("/about/img/main-visual.jpg");
}

#main-visual.contact {
  background-image: url("/contact/img/main-visual.jpg");
}

#main-visual.contacts {
  background-image: url("/contacts/img/main-visual.jpg");
}

#main-visual-inside {
  display: table;
  width: 100%;
  max-width: 980px;
  height: 650px;
  margin: 0 auto;
}

#main-visual-inside > div {
  display: table-row;
}

#main-visual-inside h1 {
  display: table-cell;
  height: 64%;
  vertical-align: bottom;
  font-size: 2.6rem;
  font-weight: bold;
  color: #fff;
}

#main-visual-inside p {
  display: table-cell;
  height: 36%;
  vertical-align: top;
  font-size: 2.6rem;
  color: #fff;
}

#main-visual.blog-single {
  background-position: center 80px;
}

#main-visual.blog-single h1 {
  height: 70%;
}

#main-visual.blog-single p {
  height: 30%;
  padding-top: 5px;
}

#main-visual.work-single #main-visual-inside h1 span,
#main-visual.work-single #main-visual-inside p span {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(0,0,0,0.9);
  color: #fff;
}

#main-visual.work-single #main-visual-inside h1 span {
  
}


@media (max-width: 980px) {
  #main-visual-inside {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  #main-visual {
    height: 400px;
  }

  #main-visual-inside {
    height: 400px;
    padding: 0 20px;
  }

  #main-visual-inside h1 {
    height: 60%;
    font-size: 1.8rem;
  }
  
  #main-visual-inside p {
    height: 40%;
    font-size: 1.8rem;
  }

  #main-visual.blog-single h1 {
    height: 80%;
  }
  
  #main-visual.blog-single p {
    height: 20%;
  }

}

#main-contents {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 0;
  background-color: #fff;
}

#main-contents h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: -0.05rem;
}

#main-contents p.section-lead {
  margin-bottom: 20px;
  font-size: 1.6rem;
  line-height: 2.4rem;
  letter-spacing: -0.05rem;
}

#main-contents p.section-lead strong {
  font-weight: bold;
}

@media (max-width: 980px) {
  #main-contents {
    padding-left: 20px;
    padding-right: 20px;
  }
}  

@media (max-width: 768px) {
  #main-contents {
    padding: 30px 20px;
  }
  
  #main-contents h2 {
    margin-bottom: 15px;
    font-size: 1.6rem;
  }
  
  #main-contents p.section-lead {
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
}

footer {
  width: 100%;
  background-color: #000;
}

#footer-inside {
  display: table;
  width: 100%;
  max-width: 980px;
  height: 60px;
  margin: 0 auto;
}

#footer-logo {
  display: table-cell;
  vertical-align: middle;
}

#footer-logo img {
  width: auto;
  height: 40px;
}

#copyright {
  display: table-cell;
  font-size: 1.2rem;
  text-align: right;
  vertical-align: middle;
  -webkit-font-smoothing: subpixel-antialiased;
  color: #fff;
}

@media (max-width: 980px) {
  #footer-logo {
    padding-left: 15px;
  }

  #copyright {
    padding-right: 20px;
  }
}  

@media (max-width: 768px) {
  #copyright {
    font-size: 1rem;
  }
}

/* Work */

.work-entry-list {
  width: 100%;
  line-height: 100%;
  letter-spacing: -3px;
}

.work-entry {
  display: inline-block;
  width: 16.6666666667%;
  aspect-ratio: 1/1;
  background-color: #000;
  line-height: 100%;
  letter-spacing: normal;
}

.work-entry a {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}

.work-entry a:hover {
  opacity: 0.7;
}

.work-entry img {
  width: 100%;
  height: auto;
  vertical-align: text-bottom;
}

#top-work-frame {
  height: auto;
}

#top-work-load {
  height: auto;
  line-height: 100%;
  letter-spacing: -3px;
}

#top-work-load .work-entry {
  width: 50%;
  letter-spacing: normal;
}

@media (max-width: 980px) {
  .work-entry {
    width: 25%;
  }
  
  #main-contents .work-entry h2 {
    padding: 8px;
  }


  #top-work-load .work-entry {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .work-entry {
    width: 50%;
  }
  
  #main-contents .work-entry h2 {
    padding: 6px;
  }

  #top-work-load .work-entry {
    width: 50%;
  }
}

/* Top */

#top-contents {
  display: table;
  width: 100%;
}

#top-blog {
  display: table-cell;
  width: 60%;
  vertical-align: top;
}

#top-work {
  display: table-cell;
  width: 30%;
  vertical-align: top;
}

#top-work-frame {
  background-color: #000;
}

#top-blog h2 a {
  color: #000;
}

#top-blog h2 a:hover {
  color: #666;
}

#top-work h2 a {
  color: #000;
}

#top-work h2 a:hover {
  color: #666;
}

@media (max-width:480px) {
  #top-blog {
    display: block;
    width: 100%;
    margin-bottom: 30px;
  }
  
  #top-work {
    display: block;
    width: 100%;
  }
}

/* Blog */

.blog-entry {
  display: table;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center center;
}

.blog-entry-inside {
  display: table-cell;
  padding: 0 30px;
  background-color: rgba(0,0,0,0.3);
  vertical-align: middle;
  transition: 0.2s;
}

.blog-entry-inside:hover {
  background-color: rgba(0,0,0,0.6);
}

.blog-entry-inside p {
  margin-bottom: 10px;
  font-size: 1.6rem;
  text-align: center;
  color: #fff;
}

.blog-entry-inside h2 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 2.8rem;
  text-align: center;
  color: #fff;
}

.malinky-load-more,
#load-more {
  display: block;
  width: 160px;
  height: 3.2rem;
  margin: 50px auto 0 auto;
  border: 1px solid #000;
  color: #000;
}

.malinky-load-more a,
#load-more div {
  display: block;
  margin: 1rem 0;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.6rem;
  text-align: center;
  letter-spacing: normal;
  color: #000;
}

.malinky-load-more:hover,
.malinky-load-more a:hover,
#load-more:hover,
#load-more div:hover {
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

.blog-entry-body {
  font-size: 1.6rem;
  line-height: 2.8rem;
}

.blog-entry-body strong {
  font-weight: bold;
}

.blog-entry-body a {
  color: #666;
}

.blog-entry-body a:hover {
  color: #ccc;
}

.blog-entry-body p {
  margin-bottom: 2rem;
  font-size: 1.6rem;
  line-height: 2.8rem;
}

#top-blog-load .blog-entry {
  height: 163px;
}

@media (max-width: 980px) {
  .blog-entry {
    height: 250px;
  }
  
  #main-contents .blog-entry-inside p {
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.5rem;
  }
  
  #main-contents .blog-entry-inside h2 {
    font-size: 1.7rem;
    line-height: 2rem;
  }
  
  #load-more {
    width: 160px;
    height: 2.25rem;
    margin: 50px auto 0 auto;
    border: 1px solid #000;
  }
  
  #load-more div {
    margin: 0.375rem 0;
    font-size: 1rem;
    line-height: 1.66rem;
  }
  
  .blog-entry-body,
  .blog-entry-body p {
    font-size: 1.4rem;
    line-height: 2.2rem;
  }
}  

@media (max-width: 768px) {
  .blog-entry {
    height: 150px;
  }
  
  #load-more {
    width: 130px;
    height: 2rem;
    margin: 30px auto 0 auto;
  }
  
  #load-more div {
    margin: 0.275rem 0;
    font-size: 1rem;
    line-height: 1.8rem;
  }
  
  .blog-entry-body,
  .blog-entry-body p {
    font-size: 1.2rem;
    line-height: 2rem;
  }
}



/* About */

#about-address {
  margin: 40px 0 10px 0;
  font-size: 1.4rem;
  line-height: 2.2rem;
  letter-spacing: -0.03rem;
}

#about-address strong {
  font-weight: bold;
}

#about-address a {
  color: #333;
}

#about-address a:hover {
  color: #666;
}

#about-map-canvas {
  width: 100%;
  height: 450px;
}

#about-site-policy {
  margin-top: 30px;
  font-size: 12px;
  text-align: right;
}

#about-site-policy a {
  color: #242424;
}

@media (max-width: 980px) {
  #about-map-canvas {
    height: 400px;
    pointer-events: none;
  }
}  

@media (max-width: 768px) {
  #about-address {
    margin: 30px 0 10px 0;
    font-size: 0.9rem;
    line-height: 1.6rem;
  }

  #about-map-canvas {
    height: 300px;
    pointer-events: none;
  }
}

/* Contact */

#contact-form {
  margin-top: 30px;
}

.contact-form {
  width: 100%;
  margin-bottom: 30px;
}

.contact-form input {
  width: 500px;
  border: 1px solid #000;
  padding: 10px;
  font-size: 1.4rem;
}

.contact-form textarea {
  width: 500px;
  height: 200px;
  border: 1px solid #000;
  padding: 10px;
  font-size: 1.4rem;
}

.contact-form input[type="text"],
.contact-form textarea {
  border-radius: 0;
  color: #666;
}

.contact-form input[type="submit"] {
  width: 160px;
  height: 2.8rem;
  margin: 0.375rem 0;
  border-radius: 0;
  background-color: transparent;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.3rem;
  text-align: center;
}

.contact-form input[type="submit"]:hover {
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

#contact-error {
  font-size: 1.4rem;
  color: #f00;
}

#contact-sent {
  font-size: 1.4rem;
}

#contact-error a {
  color: #000;
}

#contact-error a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  #contact-form {
    margin-top: 20px;
  }
  
  .contact-form {
    margin-bottom: 20px;
  }
  
  .contact-form input {
    width: 100%;
    padding: 8px;
    font-size: 1.2rem;
  }
  
  .contact-form textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    font-size: 1.2rem;
  }
  
  .contact-form input[type="submit"] {
    width: 130px;
    height: 2.8rem;
    margin: 0.30rem 0;
    font-size: 1.1rem;
    line-height: 1.5rem;
  }
  
  #contact-error {
    font-size: 1rem;
  }
  
  #contact-sent {
    font-size: 1rem;
  }
}



/* Contacts */

#main-contents.contacts-main {
  padding-top: 50px;
}

#main-contents.contacts-main h2 {
  margin-bottom: 40px;
  text-align: center;
}

.contacts-list {
  margin-bottom: 30px;
  text-align: center;
}

.contacts-list a {
  margin: 0 10px;
  font-size: 3.6rem;
  color: #242424;
}



/* Menu SP */

#header-menu-sp-button {
  display: none;
  position: absolute;
  top: 28px;
  right: 16px;
  z-index: 20000;
  cursor: pointer;
}

#header-menu-sp-button span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}

@media (max-width: 768px) {
  #header-menu-sp-button {
    display: block;
  }
}

#header-menu-sp-button {
	width: 40px;
	height: 24px;
}

#header-menu-sp-button span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #000;
}

#header-menu-sp-button span:nth-of-type(1) {
	top: 0;
}

#header-menu-sp-button span:nth-of-type(2) {
	top: 10px;
}

#header-menu-sp-button span:nth-of-type(3) {
	top: 20px;
}

#header-menu-sp-button.active span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
#header-menu-sp-button.active span:nth-of-type(2) {
	opacity: 0;
}
#header-menu-sp-button.active span:nth-of-type(3) {
	-webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
}

.open {
  -webkit-animation: open .3s linear;
  -moz-animation: open .3s linear;
  -ms-animation: open .3s linear;
  -o-animation: open .3s linear;
  animation: open .3s linear;
}

@-webkit-keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}
@-moz-keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}
@-ms-keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}
@-o-keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}
@keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}

#header-menu-sp {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 100;
  width: 100%;
  background-color: rgba(255,255,255,0.95);
}

#header-menu-sp li {
  display: table;
  list-style: none;
  width: 100%;
  height: 60px;
  border-bottom: 1px solid #000;
}

#header-menu-sp li a {
  display: table-cell;
  width: 100%;
  font-size: 1.6rem;
  line-height: 1.6rem;
  text-align: center;
  vertical-align: middle;
  color: #000;
}



/* Navigation */

.wp-pagenavi {
  padding-top: 50px;
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 5px;
  background-color: #eee;
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 44px;
  text-align: center;
  color: #000;
}

.wp-pagenavi span.current {
  background-color: #000;
  color: #fff;
}

.wp-pagenavi .pages {
  display: none;
}

@media(max-width:767px) {
  .wp-pagenavi {
    padding-top: 30px;
  }

  .wp-pagenavi a,
  .wp-pagenavi span {
    width: 26px;
    height: 26px;
    font-size: 1.2rem;
    line-height: 28px;
  }
}
