@charset "utf-8";

/* CSS Document */
.pc_none{
  display: none !important;
}

#header{
  background: rgba(0,0,0,0.5);
}

.header_content{
  position: relative;
}

.kv{
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.kv_ttl{
  position: absolute;
  left: 50px;
  bottom:100px;
  font-family: "Noto Serif JP", serif;
}
.kv_ttl h2{
  color: #fff;
  font-size: 3.8vw;
  line-height: 1.4;
  filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.7));
}
.kv_ttl p{
  color: #fff;
  font-size: 1.8vw;
  margin-top: 20px;
  line-height: 1.4;
  filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.7));
}
.slick_slider {
}
.slide_img{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh !important;
  margin: 0;
}
.slide_img:nth-child(1){
  background-image: url("../img/top/kv1.jpg");
}
.slide_img:nth-child(2){
  background-image: url("../img/top/kv2.jpg");
}
.slide_img:nth-child(3){
  background-image: url("../img/top/kv3.jpg");
}
.slide_img:nth-child(4){
  background-image: url("../img/top/kv4.jpg");
}
.slide_img:nth-child(5){
  background-image: url("../img/top/kv5.jpg");
}
.slide_img:nth-child(6){
  background-image: url("../img/top/kv7.jpg");
}
.slide_img:nth-child(7){
  background-image: url("../img/top/kv6.jpg");
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15); /* 拡大率 */
  }
}
.add-animation {
  animation: zoomUp 10s linear 0s normal both;
}


@media screen and (max-width: 768px) {
  .pc_none{
    display: block !important;
  }
  .kv_ttl{
    left: 20px;
    bottom:100px;
    transform: translateY(-50%);
  }
  .kv_ttl h2{
    font-size:36px;
  }
  .kv_ttl p{
    font-size:18px;
  }
}

/* movie */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* 背景なのでクリック無効 */
  overflow: hidden;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: 56.25vw; /* 16:9比率（100vw × 9 / 16） */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100vh;           /* 高さ100vh */
    width: calc(100vh * 16 / 9); /* 16:9比率に基づき幅を自動計算 */
    min-width: 100vw;        /* 幅が画面より小さい場合は拡大 */
    transform: translate(-50%, -50%);
    overflow: hidden;
    z-index: 0;
  }
  .video-background iframe {
    width: 100%;
    height: 100%;
  }
}