@charset "UTF-8";

/* Global */

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

* {
  margin: 0;
  border: none;
  border-collapse: collapse;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  background-repeat: no-repeat;
  font-size: 100%;
  font-weight: normal;
  font-style: normal;
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  text-align: left;
}

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;
}

img {
  vertical-align: bottom;
}

input,
textarea,
select,
button {
    appearance: none;
}

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



/* Common */

br.no768,
br.no560 {
  display: none;
}

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

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



/* Header */

header {
  display: table;
  width: 100%;
  height: 120px;
  background-color: rgba(255,255,255,0.9);
}

header h1 {
  display: table-cell;
  padding-left: 30px;
  vertical-align: middle;
}

header h1 img {
  width: 100%;
  max-width: 160px;
}

#nav-pc {
  display: table-cell;
  padding-right: 30px;
  text-align: right;
  vertical-align: middle;
}

#nav-pc a {
  display: inline-block;
  position: relative;
  margin-left: 60px;
  font-size: 2rem;
  font-weight: 500;
  color: #000;
}

#nav-pc a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #9d9000;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}

#nav-pc a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

#nav-pc a:first-child {
  margin: 0;
}

#nav-sp {
  display: none;
}

@media(max-width: 1024px) {
  header {
    height: 80px;
  }
  
  header h1 img {
    max-width: 120px;
  }
  
  #nav-pc {
    display: none;
  }
  
  #menu-sp {
    display: table-cell;
    width: 60px;
  }
  
  #menu-sp-button {
    position: relative;
    z-index: 20000;
    cursor: pointer;
  	width: 30px;
  	height: 30px;
  }
  
  #menu-sp-button span {
  	display: inline-block;
  	transition: all .4s;
  	box-sizing: border-box;
  	position: absolute;
  	left: 0;
  	width: 100%;
  	height: 1px;
  	background-color: #333;
  }
  
  #menu-sp span:nth-of-type(1) {
  	top: 27px;
  }
  
  #menu-sp span:nth-of-type(2) {
  	top: 37px;
  }
  
  #menu-sp span:nth-of-type(3) {
  	top: 47px;
  }
  
  #menu-sp.active span:nth-of-type(1) {
  	transform: translateY(10px) rotate(-45deg);
  }
  
  #menu-sp.active span:nth-of-type(2) {
    display: none;
  }
  
  #menu-sp.active span:nth-of-type(3) {
  	transform: translateY(-10px) rotate(45deg);
  }
  
  #nav-sp {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
  }
  
  #nav-sp a {
    display: block;
    width: 100%;
    border-bottom: 1px solid #9d9000;
    padding: 20px 0;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6rem;
    text-align: center;
    color: #000;
  }
  
  #nav-sp a:last-child {
    border: none;
  }
  
  #menu-sp span:nth-of-type(1) {
  	top: 27px;
  }
  
  #menu-sp span:nth-of-type(2) {
  	top: 37px;
  }
  
  #menu-sp span:nth-of-type(3) {
  	top: 47px;
  }
}

@media(max-width: 560px) {
  header {
    height: 60px;
  }
  
  header h1 {
    padding-left: 20px;
  }
  
  header h1 img {
    max-width: 100px;
  }
  
  #nav-sp {
    top: 60px;
  }
  
  #menu-sp {
    width: 50px;
  }

  #menu-sp span:nth-of-type(1) {
  	top: 19px;
  }
  
  #menu-sp span:nth-of-type(2) {
  	top: 29px;
  }
  
  #menu-sp span:nth-of-type(3) {
  	top: 39px;
  }
}



/* Main Visual */

#main-visual {
  width: 100%;
  height: 1200px;
  background-size: cover;
  background-position: center center;
}

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

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

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

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

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

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

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

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

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

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

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



/* Main */

main {
  margin-bottom: 90px;
  padding: 90px 30px 0 30px;
}

main.gray {
  background-color: #f1f1f1;
}

section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 90px;
  text-align: center;
}

h2 {
  display: inline-block;
  margin-bottom: 90px;
  border-bottom: 1px solid #9d9000;
  padding-bottom: 7px;
  font-size: 2.3rem;
}

@media(max-width: 1024px) {
  main {
    padding: 60px 30px;
  }

  section {
    margin: 0 auto 60px auto;
  }
  
  h2 {
    margin-bottom: 60px;
    font-size: 2rem;
  }
}

@media(max-width: 768px) {
  section {
    margin: 0 auto 60px auto;
  }
}

@media(max-width: 560px) {
  main {
    padding: 40px 20px;
  }

  section {
    margin: 0 auto 40px auto;
  }
  
  h2 {
    margin-bottom: 40px;
  }
}



/* Home */

#home-copy {
  margin-bottom: 10px;
  border-bottom: 2px solid #9d9000;
  padding-bottom: 10px;
  font-size: 2.4rem;
  font-weight: 300;
  text-align: center;
}

#home-lead {
  margin-bottom: 120px;
  font-size: 2rem;
  font-weight: 300;
  line-height: 3.4rem;
  text-align: center;
}

@media(max-width: 1024px) {
  #home-copy {
    font-size: 2.1rem;
  }
  
  #home-lead {
    margin-bottom: 90px;
    font-size: 1.7rem;
    line-height: 3.1rem;
  }
}

@media(max-width: 768px) {
  #home-copy {
    font-size: 1.8rem;
  }
  
  #home-lead {
    margin-bottom: 60px;
    font-size: 1.6rem;
    line-height: 2.8rem;
  }
}

@media(max-width: 560px) {
  #home-copy {
    font-size: 1.6rem;
  }
  
  #home-lead {
    margin-bottom: 60px;
    font-size: 1.2rem;
    line-height: 2.4rem;
  }
}



/* News */

section#news {
  padding-bottom: 90px;
}

article .news {
  display: table;
  width: 100%;
  margin-bottom: 30px;
  font-size: 1.8rem;
  line-height: 3rem;
  color: #000;
}

article .news > p {
  display: table-cell;
  border-bottom: 1px solid #9d9000;
}

article .news > p:first-child {
  width: 26%;
  padding: 0 0 20px 30px;
}

article .news > p:last-child {
  padding: 0 0 20px 0;
}

@media(max-width: 1024px) {
  section#news {
    padding-bottom: 0px;
  }
  
  article .news {
    font-size: 1.6rem;
    line-height: 2.8rem;
  }
}

@media(max-width: 560px) {
  section#news {
    padding-bottom: 0;
  }
  
  article .news {
    margin-bottom: 20px;
    font-size: 1.4rem;
    line-height: 2.6rem;
  }

  article .news > p:first-child {
    width: 26%;
    padding: 0 20px 25px 10px;
  }

  article .news > p:last-child {
    padding: 0 0 15px 0;
  }
}



/* News Detail */

#news-detail h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 600;
}

#news-detail > div {
  margin-bottom: 40px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 3.4rem;
}

#news-detail > p.date {
  margin-bottom: 60px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 3.4rem;
}

@media(max-width: 1024px) {
  #news-detail h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
  }
  
  #news-detail > div {
    margin-bottom: 30px;
    font-size: 1.4rem;
    line-height: 3.2rem;
  }
  
  #news-detail > p.date {
    margin-bottom: 40px;
    font-size: 1.4rem;
    line-height: 3.2rem;
  }
}

@media(max-width: 560px) {
  #news-detail h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
  }
  
  #news-detail > div {
    margin-bottom: 20px;
    font-size: 1.4rem;
    line-height: 3.2rem;
  }
  
  #news-detail > p.date {
    margin-bottom: 30px;
    font-size: 1.4rem;
    line-height: 3.2rem;
  }
}



/* Company */

#company table {
  width: 100%;
  margin-bottom: 40px;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 3rem;
  text-align: center;
}

#company th {
  width: 26%;
  border-bottom: 1px solid #9d9000;
  padding: 20px 20px 10px 30px;
}

#company td {
  border-bottom: 1px solid #9d9000;
  padding: 20px 20px 10px 0;
}

address {
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 3rem;
  text-align: center;
}

#company-phone {
  font-size: 1.8rem;
  font-weight: 500;
  color: #000;
  transition: 1s;
}

#company-phone:hover {
  text-decoration: underline;
}

#company iframe {
  width: 100%;
  height: 450px;
  margin-top: 30px;
}

@media(max-width: 1024px) {
  #company table {
    margin-bottom: 30px;
    font-size: 1.6rem;
    line-height: 2.8rem;
  }
  
  address {
    margin-bottom: 7px;
    font-size: 1.5rem;
    line-height: 2.8rem;
  }
  
  #company-phone {
    font-size: 1.5rem;
  }
  
  #company iframe {
    height: 420px;
    margin-top: 20px;
  }
}

@media(max-width: 560px) {
  #company table {
    margin-bottom: 20px;
    font-size: 1.4rem;
    line-height: 2.6rem;
  }

  #company th {
    padding: 15px 0 10px 0;
  }
  
  #company td {
    padding: 20px 20px 10px 0;
  }
  
  address {
    margin-bottom: 7px;
    font-size: 1.3rem;
    line-height: 2.5rem;
  }
  
  #company-phone {
    font-size: 1.3rem;
  }
}



/* Works */

#works h3 {
  margin-bottom: 90px;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

#works h4 {
  margin-bottom: 30px;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
}

.works-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 90px;
}

.works-list > div,
.works-list > a {
  width: 30%;
  margin: 0 10px;
}

.works-list img {
  width: 100%;
  margin-bottom: 20px;
}

.works-list p {
  font-size: 1.6rem;
  line-height: 3rem;
  text-align: center;
  color: #000;
}

#works-price {
  margin-bottom: 90px;
}

#works-price table {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px auto;
  border-top: 1px solid #ccc;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 3.4rem;
}

#works-price th {
  border-bottom: 1px solid #ccc;
  padding: 20px;
  text-align: center;
}

#works-price td {
  border-bottom: 1px solid #ccc;
  padding: 20px;
  text-align: center;
}

#works-price p {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 3.2rem;
  text-align: center;
}

#works-price p a {
  text-decoration: underline;
  color: #000;
}

@media(max-width: 1024px) {
  #works h3 {
    margin-bottom: 60px;
    font-size: 1.8rem;
  }
  
  #works h4 {
    margin-bottom: 40px;
    font-size: 1.4rem;
  }
  
  .works-list {
    margin-bottom: 60px;
  }
  
  .works-list img {
    margin-bottom: 15px;
  }
  
  .works-list p {
    font-size: 1.4rem;
    line-height: 2.8rem;
  }

  #works-price {
    margin-bottom: 60px;
  }
  
  #works-price table {
    font-size: 1.4rem;
    line-height: 3.2rem;
  }
  
  #works-price th {
    padding: 15px;
  }
  
  #works-price td {
    padding: 15px;
  }
  
  #works-price p {
    font-size: 1.3rem;
    line-height: 3rem;
  }
}

@media(max-width: 768px) {
  #works h3 {
    margin-bottom: 40px;
    font-size: 1.6rem;
  }
  
  #works h4 {
    margin-bottom: 30px;
    font-size: 1.3rem;
  }
  
  .works-list {
    margin-bottom: 40px;
  }
  
  .works-list p {
    font-size: 1.3rem;
    line-height: 2.6rem;
  }

  #works-price {
    margin-bottom: 60px;
  }
  
  #works-price table {
    margin: 0 auto 20px auto;
    font-size: 1.3rem;
    line-height: 3rem;
  }
  
  #works-price th {
    padding: 10px;
  }
  
  #works-price td {
    padding: 10px;
  }
  
  #works-price p {
    font-size: 1.2rem;
    line-height: 2.8rem;
  }
}

@media(max-width: 560px) {
  #works {
    max-width: 280px;
  }

  .works-list > div,
  .works-list > a {
    width: 100%;
    margin-bottom: 30px;
  }
}



/* Contact */

#contact {
  padding-bottom: 90px;
}

#contact p {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-size: 1.8rem;
  line-height: 3rem;
  text-align: center;
}

#contact form {
  display: table;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

#contact form > div {
  display: table-row;
}

#contact form > div > div {
  display: table-cell;
}

#contact form > div > div:nth-child(1) {
  width: 26%;
  padding-bottom: 20px;
  font-size: 1.8rem;
  vertical-align: middle;
}

#contact form > div > div:nth-child(2) {
  padding-bottom: 20px;
  vertical-align: middle;
}

#contact input[type="text"] {
  width: 100%;
  border-radius: 6px;
  padding: 10px;
  background-color: #e6e6e6;
  font-size: 1.6rem;
}

#contact textarea {
  width: 100%;
  height: 200px;
  border-radius: 6px;
  padding: 10px;
  background-color: #e6e6e6;
  font-size: 1.6rem;
}

#contact button {
  display: inline-block;
  border-radius: 8px;
  padding: 7px 30px;
  background-color: #333;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  color: #fff;
  transition: 0.2s;
}

#contact button:hover {
  opacity: 0.5;
}

#contact p#contact-note {
  padding-top: 30px;
  text-align: center;
}

#contact-message {
  padding: 0 0 60px 0;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 3.2rem;
}

#contact-message.error {
  color: #f00;
}

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

@media(max-width: 1024px) {
  #contact {
    padding-bottom: 0;
  }

  #contact p {
    margin: 0 auto 60px auto;
    font-size: 1.6rem;
    line-height: 2.8rem;
  }

  #contact form > div > div:nth-child(1) {
    width: 26%;
    font-size: 1.6rem;
  }

  #contact input[type="text"] {
    padding: 7px;
    font-size: 1.4rem;
  }
  
  #contact textarea {
    height: 160px;
    padding: 7px;
    font-size: 1.3rem;
  }
  
  #contact button {
    padding: 6px 20px;
    font-size: 1.6rem;
  }

  #contact p#contact-note {
    padding-top: 20px;
  }
  
  #contact-message {
    padding: 0 0 40px 0;
    font-size: 1.6rem;
    line-height: 3rem;
  }
}

@media(max-width: 640px) {
  #contact p.lead {
    text-align: left;
  }

  #contact form {
    display: block;
  }
  
  #contact form > div {
    display: block;
  }

  #contact form > div > div {
    display: block;
    width: 100%;
  }
  
  #contact form > div > div:nth-child(1) {
    width: 100%;
  }

  #contact select {
    margin: 0 2px 20px 0;
  }
}



/* Footer */

footer {
  width: 100%;
  padding: 0 20px 90px 20px;
  text-align: center;
}

#footer-logo img {
  width: 184px;
  margin-bottom: 90px;
}

#copyright {
  font-size: 1.2rem;
  text-align: center;
}

@media(max-width: 1024px) {
  footer {
    padding: 0 20px 60px 20px;
  }

  #footer-logo img {
    width: 160px;
    margin-bottom: 60px;
  }
}

@media(max-width: 560px) {
  footer {
    padding: 0 20px 40px 20px;
  }

  #footer-logo img {
    width: 120px;
    margin-bottom: 40px;
  }
}