@charset "UTF-8";

/* ========================================
 *  Template Name: Front Style Sheet
 * =======================================*/

.video-wrapper {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
  touch-action: manipulation;
  margin: 0 !important;
  padding: 0 !important;
  z-index: -1;
}

@supports (height: 100svh) {
  .video-wrapper {
    height: 100svh;
  }
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  min-height: 100%;
}

.pattern-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  background-image: url('/images/assets/pattern.png');
  background-position: center center;
  background-repeat: repeat;
  background-size: auto;
  z-index: 1;
  pointer-events: none;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.headline {
  font-size: 1.75em;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.video-wrapper,
.video-wrapper video,
.overlay {
  touch-action: manipulation;
  -ms-touch-action: manipulation;
}

/* ========================================
 *  画面の横幅が768px以上 (Tablet)
 * =======================================*/
@media screen and (min-width: 768px) {

.headline {
  font-size: 2em;
}

}

/* ========================================
 *  画面の横幅が1024px以上 (Desktop)
 * =======================================*/
@media screen and (min-width: 1024px) {

.headline {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

}