/* = .slope
--------------------------------------------------- */
.slope {
  position: relative;
}
.slope:before,
.slope:after {
  content: " ";
  width: 100%;
  height: 70px;
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  background-image: url(../images/slope.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  z-index: 9;
}
.slope:after {
  top: auto;
  bottom: -1px;
  background-image: url(../images/slope_after.png);
}
@media only screen and (max-width: 750px) {
  .slope:before,
  .slope:after {
    background-size: 160% 100%;
  }
}

/* = #background
--------------------------------------------------- */
#bars {
  top: 5px;
  left: 5px;
}
#background {
  background-image: url(../img/cover.jpg);
}
@media only screen and (max-width: 750px) {
  #background {
    background-image: url(../img/cover_sp.jpg);
  }
}
#background:after {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url(../img/wire.png);
  background-size: calc(100vw - 60px) calc(100vh - 60px) !important;
  background-repeat: no-repeat;
  background-position: center center;
  content: ' ';
}
#background .copy {
  position: absolute;
  z-index: 2;
  right: 90px;
  bottom: 40px;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}
#background .address {
  position: absolute;
  z-index: 2;
  left: 45px;
  bottom: 40px;
  margin: 0;
  font-size: 1.2rem;
  text-align: left;
  line-height: 1.5;
}
@media only screen and (max-width: 750px) {
  #background:after {
    background-image: url(../img/wire_sp.png);
  }
  #background .copy {
    position: absolute;
    z-index: 2;
    right: 0;
    left: 0;
    bottom: 1vh;
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.5;
    text-align: center;
  }
}
#nav {
  background-image: url(../img/sidebar.png);
  background-size: auto 46%;
}

/* = #nav
--------------------------------------------------- */
#social-links a {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid black;
  color: white;
  text-align: center;
  font-size: 2rem;
  line-height: 3rem;
  height: 3.4rem;
  width: 3.4rem;
  vertical-align: bottom;
  margin: 0 6px;
}
#social-links a .fa.fa-facebook {
  line-height: 3.4rem;
}

/* = #about-me
--------------------------------------------------- */
#about-me {
  padding: 0;
}
#about-me img {
  width: 300px;
}
#about-me div {
  width: 800px;
  margin: 0 auto;
}
#about-me div p span {
  opacity: 0;
  display: block;
}
#about-me div ul {
  overflow: hidden;
  margin-top: 5rem;
}
#about-me div ul li {
  width: 50%;
  float: left;
  font-size: 1.3rem;
  text-align: left;
  padding: 0 10px;
  opacity: 0;
}
#about-me div ul li h4 {
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 8px;
}
#about-me div ul li p {
  margin: 0;
  line-height: 1.7;
}
#about-me p {
  /* line-height: 2.3 !important; */
}

/* = #photo-shoot
--------------------------------------------------- */
#photo-shoot .figure {
  position: relative;
  cursor: pointer;
}
#photo-shoot .figure p {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 3rem;
  font-size: 1.6rem;
  line-height: 1.6;
  display: none;
}
#photo-shoot .figure:first-child p {
  padding-top: 7rem;
}
#photo-shoot .figure p span {
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  padding: 2rem;
}
#photo-shoot .figure p span b {
  display: block;
}

/* = #company
--------------------------------------------------- */
#company .bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../images/background.jpg);
  background-size: 100% auto;
  opacity: 0.6;
  z-index: 1 !important;
}
#company .bg:before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-image: url(../images/hr.png);
  background-size: 100% 100%;
  height: 30px;
  z-index: 2;
}
#company div {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}
#company table {
  max-width: 800px;
  margin: 20px auto;
  text-align: left;
}
#company table th,
#company table td {
  border: 0.5px solid rgba(255,255,255,0.5);
  padding: 5px 12px;
  font-size: 1.5rem;
  line-height: 1.6;
}
#company table th {
  font-weight: 200;
  width: 150px;
}
#company table th span {
  font-size: 80%;
  display: inline-block;
}
#company table td span {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 4px 8px;
  line-height: 1;
  margin: 2px 1px;
  border-radius: 3px;
}
#company .btn {
  background-color: rgba(255, 0, 0, 0.8);
  padding: 0 20px;
  color: white;
  line-height: 4rem;
  display: inline-block;
}

/* = #contact
--------------------------------------------------- */
#contact a {
  text-decoration: underline;
}
#contact p {
  /* line-height: 2.3 !important; */
}

/* = #sketchfab
--------------------------------------------------- */
#sketchfab iframe {
  width: 100%;
  height: 500px;
}

/* = #map
--------------------------------------------------- */
#map {
  width: 100%;
  height: 400px;
}

/* = #recruit
--------------------------------------------------- */
#recruit {
  padding: 6rem 0;
}
#recruit p {
  /* line-height: 2.3 !important; */
}

/* = @mobile
--------------------------------------------------- */
@media only screen and (min-width: 750px) {
  .sp {
    display: none !important;
  }
}
@media only screen and (max-width: 750px) {
  .pc {
    display: none !important;
  }
  .slope:before,
  .slope:after {
    height: 35px;
  }
  .section p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0 0.2em;
  }
  #about-me img {
    width: 200px;
    padding-bottom: 40px;
  }
  #about-me div {
    width: 100%;
  }
  #about-me div p span {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  #about-me div ul {
    margin-left: 6%;
    margin-right: 6%;
  }
  #about-me div ul li {
    width: 100%;
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
  #about-me div ul li h4 {
    font-size: 1.6rem;
  }
  #photo-shoot .figure p {
    padding: 1rem;
  }
  #company {
    margin-left: 10px;
    margin-right: 10px;
  }
  #company table {
    width: 100%;
  }
  #company table th,
  #company table td {
    border: 0.8px solid rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    padding: 5px 12px;
  }
  #company table th {
    width: 80px;
    text-align: right;
  }
  #company table td a {
    color: white;
  }
  #recruit {
    margin-left: 10%;
    margin-right: 10%;
  }
  #map {
    height: 300px;
  }
}
#background #gif {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* = .figure.figure-66
--------------------------------------------------- */
@media only screen and (max-width: 750px) {
  .figure.figure-66,
  .figure.figure-150 {
    padding-bottom: 30vh;
  }
}

/* = #menu
--------------------------------------------------- */
#menu .selecter {
  margin: 20px 0 50px;
}
#menu .selecter p {
  display: inline-block;
  /* text-decoration: underline; */
  margin: 0 0.3em;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}
#menu .selecter p.small {
  margin-left: -0.6em;
  font-size: 80%;
}
@media only screen and (max-width: 750px) {
  #menu .selecter {
    margin: 20px 0;
  }
}

/* = .scroll
--------------------------------------------------- */
.scroll {
}
.scroll p {
  margin: 0;
  padding: 0 12%;
  overflow: hidden;
}
.scroll img {
  width: 100%;
  height: auto;
}
@media only screen and (max-width: 750px) {
  .scroll p {
    padding: 0 2%;
  }
  .scroll p span {
    display: block;
    float: left;
    width: 100%;
    padding: 0 3%;
    box-sizing: border-box;
  }
  .scroll {
    overflow: hidden;
    height: auto !important;
  }
}
.bx-wrapper {
  position: relative;
}
.bx-controls {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  margin: auto;
}
.bx-controls .bx-prev {
  position: absolute;
  left: 2%;
  width: 24px;
  height: 24px;
  color: transparent;
  background: url(../img/left.svg);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center center;
}
.bx-controls .bx-next {
  position: absolute;
  right: 2%;
  width: 24px;
  height: 24px;
  color: transparent;
  background: url(../img/right.svg);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

/* = #gallery
--------------------------------------------------- */
#gallery div {
  overflow: hidden;
  padding: 15px;
}
#gallery div img {
  float: left;
  width: 25%;
  padding: 15px;
}
@media only screen and (max-width: 750px) {
  #gallery div {
    padding: 5px;
  }
  #gallery div img {
    width: 50%;
    padding: 5px;
  }
}

/* = footer
--------------------------------------------------- */
footer {
  padding: 20px;
  line-height: 0;
}
@media only screen and (max-width: 750px) {
  footer {
    padding: 12px;
  }
}

/* = #preload
--------------------------------------------------- */
#preload {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #000;
  background: -moz-linear-gradient(45deg, #000 0%, #333 100%);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, #000), color-stop(100%, #333));
  background: -webkit-linear-gradient(45deg, #000 0%, #333 100%);
  background: -o-linear-gradient(45deg, #000 0%, #333 100%);
  background: -ms-linear-gradient(45deg, #000 0%, #333 100%);
  background: linear-gradient(45deg, #000 0%, #333 100%);
  z-index: 9999;
}
#preload a {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: auto;
  color: white;
  font-size: 1.3rem;
  display: block;
}
#preload a span {
  border-bottom: 0.5px solid rgba(255,255,255,0.5);
}
#preload #loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #3498db;
  -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
#preload #loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #e74c3c;
  -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
#preload #loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #f9c922;
  -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
@-webkit-keyframes spin {
  0%   {
    -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg);  /* IE 9 */
    transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
  }
  100% {
    -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg);  /* IE 9 */
    transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
  }
}
@keyframes spin {
  0%   {
    -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg);  /* IE 9 */
    transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
  }
  100% {
    -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg);  /* IE 9 */
    transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
  }
}