body {
  background: #D8D8D8;
}

header {
  width: 100%;
  height: auto;
  overflow: hidden;
  background-image: url(img/serviceBg.jpg);
  background-position: center;
  background-size: cover;
}

/* #mainBg {
  width: auto;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 0;
  left: 0;
  z-index: -1;
} */

#service-c {
  width: 100%;
  height: auto;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  position: relative;
  margin: 5% 0 8% 0;
}

#serviceMain {
  width: 88%;
  max-width: 1200px;
  margin: 0% auto 10% auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@keyframes gear {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}
@keyframes vert {
  0% {transform: translateY(-1.5%);}
  100% {transform: translateY(0);}
}
@keyframes vert1 {
  0% {transform: translateY(-5px);}
  100% {transform: translateY(0);}
}
@keyframes vert2 {
  0% {transform: translateY(-10px);}
  100% {transform: translateY(0);}
}

#earContainer {
  position: relative;
  flex: 0 1 29%;
}

#earContainer > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

#earContainer > img:first-child {
  position: static;
  animation: vert 3.1s infinite alternate ease-in-out;
}

#earContainer > img.earGear1 {
  width: 30%;
  top: -4%;
  left: auto;
  right: 12%;
  animation: gear 15s infinite linear reverse;
}

#earContainer > img.earGear2 {
  width: 43.8%;
  top: 21.7%;
  left: 3%;
  animation: gear 10s infinite linear;
}

#earContainer > img.earGear3 {
  width: 17.7%;
  top: auto;
  left: 37.5%;
  bottom: -3%;
  animation: gear 18s infinite linear reverse;
}

#earContainer > img.ear2 {
  width: 84.8%;
  top: -2.8%;
  left: 3.7%;
  animation: vert 4.9s infinite alternate ease-in-out;
}

#earContainer > img.ear3 {
  width: 69%;
  top: 8.2%;
  left: 17%;
  animation: vert 2.35s infinite alternate ease-in-out;
}

#earContainer > img.ear4 {
  width: 25.7%;
  top: 20%;
  left: auto;
  right: 3.3%;
  animation: vert1 3.7s infinite alternate ease-in-out;
}

#service-t {
  padding-top: 5%;
  font-size: 60px;
  line-height: 32px;
  flex: 0 1 40%;
  text-align: center;
}

#service-t > p {
  margin: 0;
}

#service-t > p:last-child {
  font-size: 28px;
  text-align: center;
  margin: 0;
}

#penContainer {
  position: relative;
  flex: 0 1 26%;
  margin-top: -4%;
}

#penContainer > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

#penContainer > img:first-child {
  position: static;
  animation: vert 4.35s infinite alternate ease-in-out;
}

#penContainer > img.penGear1 {
  width: 33.2%;
  top: -4.8%;
  left: 5.2%;
  animation: gear 15s infinite linear;
}

#penContainer > img.penGear2 {
  width: 18%;
  top: 18%;
  left: 1%;
  animation: gear 18s infinite linear reverse;
}

#penContainer > img.penGear3 {
  width: 50%;
  top: 29%;
  left: auto;
  right: 0;
  animation: gear 10s infinite linear reverse;
}

#penContainer > img.pen2 {
  width: 80.5%;
  top: -0.5%;
  left: 3.9%;
  animation: vert 2.7s infinite alternate ease-in-out;
}

#penContainer > img.pen3 {
  width: 54%;
  top: 3%;
  left: 19%;
  animation: vert 4.1s infinite alternate ease-in-out;
}

#penContainer > img.pen4 {
  width: 87%;
  top: 24.3%;
  left: 2.5%;
  animation: vert2 6.7s infinite alternate ease-in-out;
}

.side-bar {
  width: 100%;
  height: auto;
}

.scroll {
  display: none;
}





#service {
  width: 100%;
  margin: 0 auto;
  padding-top: 10%;
  background: #000;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #fff;
}

#hearing-c {
  width: 80%;
  margin: 0 auto 10% auto;
}

#hearing-c img {
  width: 100%;
  height: auto;
}

#hearing-c img:last-child {
  display: none;
}

#hearing-c p {
  font-size: 13px;
  line-height: 27px;
  margin: 30px 0;
}

#hearing-c p:last-child {
  font-size: 12px;
  line-height: 27px;
}

#design-c {
  width: 80%;
  margin: 0 auto 0% auto;
  padding-bottom: 12%;
}

#design-c img {
  width: 100%;
  height: auto;
}

#design-c img:last-child {
  display: none;
}

#design-c p {
  font-size: 13px;
  line-height: 27px;
  margin: 30px 0;
}

#design-c p:last-child {
  font-size: 12px;
  line-height: 27px;
  margin: 30px auto 0 auto;
}





/*
.bg-black > .side-bar > .scroll {
  width: 116%;
  top: 3.6%;
  left: 9.5%;
}

  .bg-black > .side-bar > .scroll::after {
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
} */


#profile-c {
  width: 80%;
  margin: 0 auto 0 auto;
  text-align: right;
  text-align: center;
}

#profileTitle {
  text-align: center;
  margin: 9% auto 0 auto;
  font-size: 60px;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
}

#profile > div > p {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 12px;
  line-height: 27px;
  margin: 0px 0px 25px 0px;;
}

#profile > div > p#gd {
  font-size: 28px;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  margin: 12% auto 3% auto;
}

#profile > div > p:last-child {
  font-size: 14px;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  margin: 0% auto 0% auto;
  line-height: 18px;
  letter-spacing: 0.3px;
}
