@charset "utf-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
}

p {
  font-size: 2vw;
}

body::before {
  content: "";
  background-image: url("images/background.png");
  background-size: cover;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  max-width: 1920px;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

body {
  height: auto;
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
}

.col-xl-11 {
  height: 100px;
  width: 100%;
}

.container {
  max-width: 1920px;
  width: 100%;
}

.fadein {
    opacity : 0;
    transform : translate(0, 50px);
    transition : all 300ms;
}
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}

.top-header {
  height: 65px;
  width: 100%;
  background-color: rgba(150, 49, 52, 0.9);
  position :fixed;
  top: 0;
  z-index: 10;
}

.header-left {
  float: left;
  color: aliceblue;
}

.header-right {
  float: right;
  margin-right: 10px;
}

.header-right a {
  line-height: 65px;
  padding: 0 25px;
  color: white;
  display: block;
  float: left;
  transition: all 0.5s;
}

.header-right a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.menu-icon {
  color: white;
  float: right;
  font-size: 25px;
  padding: 21px 0;
  display: none;
}

#top-right {
  display: none;
  float: right;
  width: 50%;
}

#top-right p {
  text-align: left;
  margin-top: 750px;
  padding: 10px;
  width: 80%;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  line-height: 50px;
}

a {
  color: black;
  text-decoration: none;
}

.clear {
  clear: left;
}

.service-wrapper img {
  width: 50vw;
  margin-bottom: 50px;
}

.service-wrapper {
  /*height: 1000px;*/
  padding-bottom: 0px;
  text-align: center;
}

.service-wrapper h1 {
  color: black;
  margin-top: 50px;
  padding-top: 30px;
  text-align: center;
  font-size: 5vw; /*60px*/
}

.service-section {
  width: 33%;
  float: left;
  color: white;
  padding: 0px 0;
  text-align: center;
}

.service-section h3 {
  margin-bottom: 10px;
}

.service-section p {
  text-align: center;
  margin-top: 100px;
  padding: 0 100px;
}

.work-wrapper {
  /*height: 1100px;*/
  padding-bottom: 150px;
  text-align: center;
}

.work-wrapper h1 {
  color: black;
  padding: 0px 0;
  text-align: center;
  font-size: 60px;
}

.work-wrapper p {
  width: 100%;
  margin-top: 0px;
  padding: 10px 0;
  color: black;
  text-align: center;
  font-size: 48px;
}

.work-wrapper img {
  width: 500px;
  margin-bottom: 0px;
}

.cost {
  line-height: 65px;
  /*cursor: pointer;*/
  display: block;
}

.cost-modal-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: none;
}

.modal {
  position: absolute;
  top: 20%;
  left: 0%;
  right: 0%;
  background-color: #e6ecf0;
  padding: 20px 0 40px;
  border-radius: 10px;
  width: 450px;
  height: auto;
  text-align: center;
  margin: 0 auto;
}

#hosoku {
  text-align: right;
  font-size: 10px;
  margin-top: 10px;
}

.cost-value {
  margin: 15px 0;
}

.fa-times {
  position: absolute;
  top: 8px;
  left: 200px;
  color: rgba(128, 128, 128, 0.46);
  cursor: pointer;
}

.fa-envelope, .fa, .fas {
  color: white;
  text-align: center;
  width: 100%;
}

.footer-wrapper {
  background-color: black;
  color: white;
}

.footer-wrapper p {
  padding: 20px 0;
  text-align: center;
}

.footer-wrapper a {
  color: white;
}

footer li {
  width: 25%;
  text-align: center;
  list-style: none;
  margin: 20px auto;
  float: left;
  display: block;
  cursor: pointer;
  opacity: 0.8;
}

footer li:hover {
  opacity: 1;
}

.btn {
  padding: 8px 24px;
  margin-top: 60px;
  color: white;
  display: inline-block;
  opacity: 0.8;
  border-radius: 4px;
  text-align: center;
}

.btn:hover {
  opacity: 1;
}

.message {
  padding: 0px 40px;
  background-color: pink; /*#5dca88*/
  cursor: pointer;
  box-shadow: 0 7px hotpink; /*#1a7940*/
}

.message:active {
  position: relative;
  top: 7px;
  box-shadow: none;
}

#back-color1, #back-color2, #back-color3 {
    display: none;
    width: 100%;
    height: 5px;
    background: pink;
    margin-bottom: -5px;
}

#back-color3 {
  background: #fff;
}


@media all and (min-width: 980px) {
  
  p {
    font-size: 20px;
  }
  
  h1 {
    font-size: 50px;
  }
  
  .service-wrapper h1 {
    font-size: 50px;
  }
}

@media all and (max-width: 850px) {
  
  .footer-wrapper {
    margin-top: 250px;
  }
}

@media all and (max-width: 685px) {
  
  .top-header {
    height: 100px;
  }
}

@media all and (max-width: 550px) {
  
  .footer-wrapper {
    margin-top: 300px;
  }
}

@media print {
  
  .fadein {
    opacity : 1;
    transform : translate(0, 0);
  }
  
  * {
    display: block;
  }
  
  body {
    zoom: 50%;
  }
}


