/*
 Theme Name:   Senvc
 Author:       Sang
*/

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #fafafa;
  color: #3d3d3f;
}

p,
a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.7em;
  color: #999;
}

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.home {
  margin: 0;
}

.sectionWrapper {
  height: 100%;
  width: 100%;
  padding: 60px 0px;
  background-color: #ffffff;
}

.sectionContent {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.topTitle {
  width: 30%;
}

.topSubTitle {
  width: 27%;
  margin-top: -15px;
}

.sectionTitleWrapper {
  text-align: center;
  margin-bottom: 45px;
}

.sectionTitle {
  color: #c8cccd;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

.sectionSubTitle {
  font-size: 14px;
  font-weight: 600;
}

.grey {
  background-color: #c8cccd;
}

.margin {
  margin: 0 5px;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

.rootContainer {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.topImageSection {
  position: relative;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
  overflow-y: hidden;
}

.topImageWrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.topImageWrapper picture {
  height: 100%;
  width: 100%;
}

.topImage {
  object-fit: cover;
}

.companyName {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.footer {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #242424;
  color: #c8cccd;
  font-weight: 100;
}

#scrollTopBtn {
  position: fixed;
  bottom: 15%;
  right: 25px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.2;
}

.icon {
  width: 15px;
  height: 15px;
  border: 4px solid white;
  border-left: 0;
  border-top: 0;
  transform: rotate(225deg);
  margin-top: 8px;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (min-width: 577px) and (max-width: 992px) {
  .topImageWrapper picture {
    height: 42vh;
  }

  .margin {
    margin: 0 10px;
  }

  .topTitle {
    width: 40%;
  }

  .topSubTitle {
    width: 35%;
    margin-top: -10px;
  }
}

@media (max-width: 768px) {
  .sectionContent {
    margin: 0;
  }
}

@media (max-width: 576px) {
  .topImageWrapper picture {
    height: 84vh;
  }

  .margin {
    margin: 0 5px;
  }

  .topTitle {
    width: 300px;
  }

  .topSubTitle {
    width: 285px;
    margin-top: -10px;
  }

  .footer {
    font-size: 12px;
  }
}
