/* オリジナル */
.bg-marketing {
  background-color: #f0f7ff !important;
}
.bg-promotion {
  background-color: #347ab6 !important; /* 青 */
  /* background-color: #F4623A !important; /* オレンジ */
  /* background-color: #D66C54 !important; /* 暗めオレンジ */
}

hr.white {
  max-width: 3.25rem;
  border-width: 0.2rem;
  border-color: #ffffff;
}
hr.silver {
  max-width: 3.25rem;
  border-width: 0.2rem;
  border-color: #C0C0C0;
}
hr.gray {
  max-width: 3.25rem;
  border-width: 0.2rem;
  border-color: #808080;
}


header {
  position: relative;
  background-color: black;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

@media (pointer: coarse) and (hover: none) {
  header {
     background: url('https://smartgroup.jp/img/top_movie.jpg') black no-repeat center center scroll;
  }
  header video {
    display: none;
  }
}

/* 会社概要 */
#about {
  position: relative;
  height: 45rem;
  min-height: 25rem;
  width: 100%;
  overflow: hidden; /* 横スクロールバーが出るポイント */
  z-index: 2;
}
@media (min-width: 769px) {
  #about { height: 48rem; }
}
@media (max-width: 768px) {
  #about { height: 75rem; }
}
@media (max-width: 576px) {
  #about {
    height: 80rem;
    padding-right:3px;
    padding-left: 3px;
  }
}
.frmabout {
    /* background-color: #aaa; */
    border-radius: 0.25rem;
    border: 2px solid rgba(0, 0, 0, 0.25);
    padding: 1.25rem;
}


/* 会社概要2 */
#about2 {
  position: relative;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden; /* 横スクロールバーが出るポイント */
  /* background: linear-gradient(to bottom, rgba(8, 102, 195, 0.25) 0%, rgba(2, 76, 150, 0.25) 100%), url("https://smartgroup.jp/img/bg_about1.jpg") black no-repeat center center scroll; */
  /* background: url('https://smartgroup.jp/img/bg_about2.jpg') black no-repeat center center scroll; */
  z-index: 2;
}
@media (max-width: 576px) {
  #about2 {
    height: 80rem;
    padding-right:3px;
    padding-left: 3px;
  }
}
.overlayabout {
    background-image: url("https://smartgroup.jp/img/bg_about2.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    height: 75vh;
    min-height: 25rem;
    width: 100%;
  opacity: 0.6;
  z-index: 1;
  transition: opacity 0.25s ease;
}



.frame {
  position: relative;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden; /* 横スクロールバーが出るポイント */
  z-index: 2;
}
.cm {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}



/* Logo Animation */

.sglogo12 {
  fill:#0060e6;
  stroke:#0060e6;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello 4s ease-in 0s;
  animation: hello 4s ease-in 0s;
}
@-webkit-keyframes hello {
  0% {
        stroke-dashoffset: 2000;
        fill:transparent;
      }
  40% {
        stroke-dashoffset: 2000;
        fill:transparent;
      }
  50% {
        fill:transparent;
      }
  100% {
        stroke-dashoffset: 0;
        fill:#0060e6;
      }
}


.sglogo1 {
  -webkit-animation: pop ease-out 3s infinite;
  animation: pop ease-out 3s infinite;
}
.a{animation-delay: 0.1s}
.g{animation-delay: 0.2s}
.e1{animation-delay: 0.3s}
.l{animation-delay: 0.4s}
.e2{animation-delay: 0.5s}
.e3{animation-delay: 0.6s}
@keyframes pop {
  0% {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
    transform-origin: center;
  }
  5%, 100% {
    opacity: 1;
  }
  15%{
     transform: scale3d(1, 1, 1);
  }
}
