@charset "UTF-8";

body::before {
  background: url(../img/bg.png) no-repeat center center fixed;
  background-size: cover;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 108px;
  content: "";
  z-index: -1;
}

@media (max-width: 860px) {
  body::before {
    background: url(../img/bg_small.png) no-repeat center center scroll;
    background-size: cover;
  }
}

section#mainvisual {
  position: relative;
}

section#mainvisual div.content {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

section#mainvisual div.content #video {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    min-width: 100%;
    min-height: 100%;
    background-position: center center;
    background-size: cover;
}

section#mainvisual div.content #image_mobile {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../img/top_mobile.png);
    background-size:cover;
}

section#mainvisual div.content #overlay {
  position: absolute !important;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
}

section#mainvisual div.content #overlay_content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
section#facebook {
  z-index: 5;
  position: fixed;
  bottom: 20px;
  width: 100%;
  min-width: 500px;
}
section#facebook div {
  width: 100%;
  margin: auto;
  text-align: right;
}
section#facebook div a {
  font-size: 14px;
  background-color: #3b5998;
  padding: 7px 10px;
  border-radius: 30px;
  border: 4px solid #fff;
  text-decoration: none;
  color: #fff;
}
section#facebook img {
  vertical-align: middle;
  padding-bottom: 2px;
  margin: 0 4px;
}
