@charset "utf-8";

.topTtl {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
}

.contents._top {
  background-color: #f3f7fb;
}

.topHero {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1500/435;
}
@media screen and (max-width: 768px) {
  .topHero {
    aspect-ratio: 750/760;
  }
}

.topHero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topHeroPause-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 12px;
  height: auto;
  aspect-ratio: 1;
  border: none;
  background-color: transparent;
  line-height: 1;
}

.topHeroPause-btn::before {
  position: absolute;
  inset: 0;
  content: "";
}

.topHeroPause-btn[data-state="play"]::before {
  width: 12px;
  height: auto;
  aspect-ratio: 1;
  border-right: 3px solid #fff;
  border-left: 3px solid #fff;
}

.topHeroPause-btn[data-state="pause"]::before {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-right: none;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #fff;
}

.topHeroPause-btn span {
  font-size: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.topHeroModal-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 60px;
  height: auto;
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  background: url(/jp/img/icn_video_play.webp) no-repeat center/35% #555;
  cursor: pointer;
  transition: background 0.3s ease-out;
}
@media screen and (max-width: 768px) {
  .topHeroModal-btn {
    width: min(11.71vw,90px);
  }
}

.topHeroModal-btn:hover {
  background-color: #06c;
}

.topHeroModal-btn span {
  font-size: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.topHeroModal {
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: auto;
  border: none;
  background-color: #ffffffb3;
}

.topHeroModal-inner {
  display: flex;
  align-items: center;
  max-width: 970px;
  height: 100%;
  margin: 0 auto;
  padding: 50px;
}
@media screen and (max-width: 768px) {
  .topHeroModal-inner {
    max-width: 100%;
    padding: min(6.66vw,50px);
  }
}

.topHeroModal-video {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.topHeroModal iframe {
  width: 100%;
  height: 100%;
}

.topHeroModal-close {
  position: absolute;
  top: -50px;
  right: -50px;
  display: block;
  width: 50px;
  height: auto;
  aspect-ratio: 1;
  margin-right: 0;
  margin-left: auto;
  border: none;
  background-color: transparent;
}
@media screen and (max-width: 768px) {
  .topHeroModal-close {
    top: calc(min(6.66vw,50px)* -1);
    right: calc(min(6.66vw,50px)* -1);
    width: min(6.66vw,50px);
  }
}

.topHeroModal-close::before,
.topHeroModal-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 40px;
  height: 3px;
  background-color: #333;
  content: "";
}
@media screen and (max-width: 768px) {
  .topHeroModal-close::before,
  .topHeroModal-close::after {
    width: min(5.33vw,40px);
  }
}

.topHeroModal-close::before {
  rotate: 45deg;
}

.topHeroModal-close::after {
  rotate:-45deg;
}

.topHeroModal-close span {
  font-size: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.section {
  padding-top: 105px;
  padding-bottom: 105px;
}
@media screen and (max-width: 768px) {
  .section {
    padding-top: min(10.66vw,80px);
    padding-bottom: min(16vw,120px);
  }
}
