@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700|Noto+Serif+JP:400,600|Special+Elite&display=swap&subset=japanese");
body {
  padding: 0;
  margin: 0;
  position: relative;
  background: #000;
  color: #fff;
  font-size: 16px;
  line-height: 2em;
  font-family: 'Noto Sans JP', sans-serif;
}

#header nav {
  position: fixed;
  z-index: 9968;
  background: rgba(0, 0, 0, 0.95);
  width: 100vw;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

#header nav.active {
  opacity: 1;
  pointer-events: inherit;
}

#header nav.active h1, #header nav.active ul {
  transform: translate(0, 0);
}

#header nav h1 {
  width: 200px;
  height: 136px;
  margin: 50px auto;
  padding: 0;
  transform: translate(20px, 0);
  transition: 0.2s;
}

#header nav h1 a {
  display: block;
  width: 200px;
  height: 136px;
  background: url(../img/logo.png) no-repeat center center;
  background-size: cover;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition: 0.3s;
}

#header nav h1 a:link, #header nav h1 a:visited {
  opacity: 1;
}

#header nav h1 a:hover, #header nav h1 a:active {
  opacity: 1;
}

#header nav ul {
  margin: 0;
  padding: 0;
  transform: translate(20px, 0);
  transition: 0.3s;
}

#header nav ul li {
  list-style: none;
}

#header nav ul li:not(:last-child) {
  margin-bottom: 1em;
}

#header nav ul li a {
  font-family: 'Trattatello','Special Elite', cursive;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 26px;
  line-height: 1.6em;
  display: block;
  text-align: center;
  transition: 0.3s;
}

#header nav ul li a:link, #header nav ul li a:visited {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
}

#header nav ul li a:hover, #header nav ul li a:active {
  color: #fff;
  text-decoration: none;
  opacity: 1;
}

#header #btn-nav {
  width: 60px;
  height: 60px;
  position: fixed;
  z-index: 9969;
  right: 20px;
  top: 20px;
  text-align: center;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {
  #header #btn-nav {
    right: 10px;
    top: 10px;
  }
}

#header #btn-nav:before {
  content: "";
  width: 50px;
  height: 3px;
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  background: #fff;
  transition: 0.3s;
}

#header #btn-nav:after {
  content: "";
  width: 30px;
  height: 3px;
  display: block;
  position: absolute;
  top: 23px;
  right: 15px;
  background: #fff;
  transition: 0.3s;
}

#header #btn-nav div {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Trattatello','Special Elite', cursive;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 14px;
  line-height: 1em;
}

#header #btn-nav:hover:before {
  width: 100%;
  right: 0;
}

#header #btn-nav:hover:after {
  width: 100%;
  right: 0;
}

#header #btn-nav.active:before {
  width: 30px;
  right: 50%;
  margin-right: -15px;
  top: 15px;
  transform: rotate(-45deg);
}

#header #btn-nav.active:after {
  width: 30px;
  right: 50%;
  margin-right: -15px;
  top: 15px;
  transform: rotate(45deg);
}

#mv {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#mv video {
  position: absolute;
}

@media (aspect-ratio: 16/9), (min-aspect-ratio: 16/9) {
  #mv video {
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-aspect-ratio: 16/9) {
  #mv video {
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
}

.section {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
}

.section .ttl {
  margin: 0;
  padding: 0 0 0 8%;
  font-family: 'Trattatello','Special Elite', cursive;
  font-weight: 400;
  letter-spacing: 2px;
  position: absolute;
  top: 100px;
  left: 0;
  width: calc(100% - 8%);
  font-size: 26px;
  line-height: 1.6em;
}

@media screen and (min-width: 1200px) {
  .section .ttl {
    top: 50px;
  }
}

.section .ttl:before {
  width: 60%;
  height: 2px;
  background: #fff;
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
}

.section .ttl:after {
  width: 3%;
  height: 2px;
  background: #fff;
  content: "";
  position: absolute;
  left: calc(60% + 20px);
  bottom: 0;
}

.section h3 {
  font-weight: normal;
  font-size: 22px;
  line-height: 2em;
}

@media screen and (max-width: 768px) {
  .section h3 {
    font-size: 18px;
    line-height: 2em;
  }
}

.section h4 {
  font-weight: normal;
  font-size: 18px;
  line-height: 2em;
}

.section .section-inner {
  margin: 0;
  padding: 100px 0;
  width: 100%;
  position: relative;
}

@media screen and (max-width: 768px) {
  .section .section-inner {
    padding-top: 200px;
  }
}

#pickup {
  background: url(../img/pickup-bg.jpg) no-repeat center center;
  background-size: cover;
  cursor: pointer;
}

#pickup .section-inner {
  position: relative;
  padding-top: 100px !important;
}

#pickup .section-inner h2 {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.6em;
  text-shadow: 0px 0px 10px black;
}

#pickup .section-inner h2 span {
  display: block;
  clear: both;
  font-size: 16px;
  line-height: 1.6em;
}

#works {
  background: url(../img/works-bg.jpg) no-repeat center center;
  background-size: cover;
}

#works-list {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

@media screen and (max-width: 768px) {
  #works-list {
    display: block;
  }
}

#works-list .works-list-detail {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.6em;
  width: 30%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  transition: 0.5s;
  text-shadow: 0px 0px 10px black;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

#works-list .works-list-detail.active {
  cursor: pointer;
}

#works-list .works-list-detail.active:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  #works-list .works-list-detail.active:hover {
    transform: scale(1);
  }
}

@media screen and (max-width: 768px) {
  #works-list .works-list-detail {
    width: 100%;
  }
  #works-list .works-list-detail:not(:last-child) {
    margin-bottom: 20px;
  }
}

#works-list .works-list-detail:before {
  content: "";
  display: block;
  padding-top: 100%;
  /* 高さを幅の75%に固定 */
}

#works-list .works-list-detail div {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#works-list .works-list-detail div h3 {
  padding-top: 30%;
}

#works-list .works-list-detail span {
  display: block;
  clear: both;
  font-size: 16px;
  line-height: 1.6em;
  margin-top: 10px;
}

#works-list .works-list-detail a:link, #works-list .works-list-detail a:visited, #works-list .works-list-detail a:hover, #works-list .works-list-detail a:active {
  text-decoration: none;
  color: #fff;
}

#works01 {
  background-image: url(../img/woks01.jpg);
}

#works02 {
  background-image: url(../img/woks02.jpg);
}

#works03 {
  background-image: url(../img/woks03.jpg);
}

#company {
  background: url(../img/company-bg.jpg) no-repeat center center;
  background-size: cover;
}

#company .section-inner {
  padding-top: 180px;
}

#contact {
  background: #343434;
}

#contact .section-inner {
  padding-top: 180px;
  padding-bottom: 200px;
}

#footer {
  background: #555555;
  position: absolute;
  text-align: center;
  width: 100%;
  padding: 50px 0;
  left: 0;
  bottom: 0;
}

#footer small {
  font-family: arial;
  font-size: 11px;
  line-height: 1.4em;
  letter-spacing: 1px;
}

.contents {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.contents.pt-b {
  display: block;
}

.contents.pt-c {
  display: block;
  width: 50%;
}

@media screen and (max-width: 1080px) {
  .contents.pt-c {
    width: 80%;
  }
}

@media screen and (max-width: 988px) {
  .contents {
    display: block;
  }
}

.contents .left {
  width: 55%;
}

@media screen and (max-width: 988px) {
  .contents .left {
    width: auto;
  }
}

.contents .right {
  width: 40%;
}

@media screen and (max-width: 988px) {
  .contents .right {
    width: auto;
  }
}

#mailform .error {
  display: none;
  background: #f00;
  padding: 5px 10px;
  color: #fff;
  border-radius: 4px;
  position: relative;
  margin-top: 10px;
}

#mailform .error:before {
  content: "";
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid #f00;
  border-left: 8px solid transparent;
  display: block;
  position: absolute;
  top: -20px;
  left: 20px;
}

#mailform .require {
  position: relative;
}

#mailform .require:after {
  content: "※";
  font-size: 12px;
  color: #fff;
  background: #c00;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  right: -5px;
  top: -10px;
  text-align: center;
  line-height: 20px;
  font-weight: bold;
}

#mailform input, #mailform textarea {
  border: none;
  margin: 0;
  padding: 10px;
  font-size: 16px;
  line-height: 1.6em;
  background: #595959;
  color: #fff;
  box-shadow: inset 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

#mailform input[type="text"] {
  width: calc(100% - 20px);
}

#mailform textarea {
  width: calc(100% - 20px);
  height: 200px;
}

#mailform div:not(:last-child) {
  margin-bottom: 30px;
}

#mailform .btn-container {
  text-align: center;
}

#mailform .btn-container input[type="submit"] {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  letter-spacing: 2px;
  transition: 0.3s;
  cursor: pointer;
  padding: 10px 20px;
  -webkit-appearance: none;
}

#mailform .btn-container input[type="submit"]:hover {
  background: #fff;
  color: #333;
}

#thanks {
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#thanks div {
  padding: 10px;
}
