.home-section.home-section-slide{
  position: relative;
}

/* #home-slide-jp: 100vh, cover; YouTube 16:9 (desktop) / cover (responsive) */
#home-slide-jp {
  overflow: hidden;
  height: 100vh;
}
#home-slide-jp .row {
  height: 100%;
}
#home-slide-jp .home-slide-wrapper.splide__track {
  height: 100%;
}
#home-slide-jp .home-slide-items.splide__list {
  height: 100%;
  pointer-events: none;
}
#home-slide-jp .home-slide-item.splide__slide {
  height: 100%;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
}
#home-slide-jp .home-slide-item picture,
#home-slide-jp .home-slide-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  display: block;
}
#home-slide-jp .home-slide-item picture {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
#home-slide-jp .home-slide-item picture img {
  min-width: 100%;
  min-height: 100%;
}

#home-slide-jp .home-slide-item > div:has(iframe) {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
#home-slide-jp .home-slide-item iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: max(100%, 177.78vh);
  height: max(100vh, 56.25vw);
  min-width: 100%;
  min-height: 100%;
}

.home-opening-wrapper {
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: fixed;
  z-index: 8888;
  pointer-events: none
}

.home-opening-container {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}

.home-opening-container>.home-opening-logo {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  opacity: 0
}

.home-opening-enter-active,
.home-opening-leave-active {
  -webkit-transition: opacity 0;
  transition: opacity 0
}

.home-opening-enter,
.home-opening-leave-to {
  opacity: 1s
}

.home-slide-item {
  -webkit-transition: opacity 3s cubic-bezier(.25, 1, .5, 1) 0s !important;
  transition: opacity 3s cubic-bezier(.25, 1, .5, 1) 0s !important
}

.home-illust-wrapper {
  margin-top: -11%;
  position: relative;
  z-index: 1;
}

.home-illust-fig-2 {
  margin-top: -10%;
  position: relative;
  z-index: 2;
}

.home-illust-fig-3 {
  width: 49.63%;
  margin-top: -16%;
  margin-left: -33%;
  position: relative;
  z-index: 3;
}

.home-about-section {
  overflow: hidden
}

.home-about-jt-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 120px;
  position: relative;
  right: -8%
}

.home-about-jt-item:nth-of-type(1) {
  width: 41.72%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end
}

.home-about-jt-item:nth-of-type(2) {
  width: 57.24%
}

.home-about-t-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 120px
}

.home-about-t-item-inner {
  max-width: 635px
}

.home-about-t-item:nth-of-type(1) {
  width: 40.62%
}

.home-about-t-item:nth-of-type(2) {
  width: 48.38%;
  margin-left: 30px
}

.home-about-copy,
.home-about-title {
  margin-bottom: 60px
}

.home-map-full {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #fff
}

.home-map-img-a {
  max-width: 220px;
  position: absolute;
  top: -10%;
  right: 80px
}

.home-map-img-b {
  max-width: 130px;
  position: absolute;
  top: -7%;
  left: 100px
}

.home-map-img-c {
  max-width: 104px;
  position: absolute;
  bottom: 0;
  left: -50px
}

.home-map-img-d {
  max-width: 180px;
  position: absolute;
  bottom: -80px;
  right: 80px;
  z-index: 1
}

.home-map-inner {
  border-radius: 100px;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 60px;
  position: relative;
  background-color: #bce2e8
}

.home-map-title-wrapper {
  text-align: center;
  margin-bottom: 60px
}

.home-map-fig {
  max-width: 678px;
  margin: 0 auto
}

.home-map-copy-wrapper {
  max-width: 420px;
  position: absolute;
  top: 100px;
  left: 120px
}

.home-map-btn-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center
}

.home-news-section {
  padding-top: 100px
}

.home-news-title-wrapper {
  text-align: center;
  margin-bottom: 60px
}

.home-news-btn-wrapper {
  margin-top: 60px
}

.trigger {
  width: 100vw;
  height: 800px;
  background-color: #d3d3d3;
  padding: 20px
}

.box {
  background-color: #000;
  width: 10vw;
  height: 10vw
}

.complete .home-opening-wrapper .home-opening-logo {
  -webkit-animation: homeOpening 3s .5s forwards ease-out;
  animation: homeOpening 3s .5s forwards ease-out
}

.complete .home-opening-wrapper {
  -webkit-animation: homeOpeningW 2s 3s forwards ease-out;
  animation: homeOpeningW 2s 3s forwards ease-out
}

.home-main-popup-btn-wrapper{
  display: flex;
  position: absolute;
  right: 40px;
  bottom: 7%;
  z-index: 100;
}
.home-main-popup-btn{
  width: 100%;
  max-width: 286px;
  display: grid;
  grid-template-columns: 182px 1fr;
  align-items: end;
  padding: 8px;
  border-radius: 12px;
  gap: 6px;
  background-color: #fff;
  cursor: pointer;
}
.home-main-popup-btn-thumbnail{
  max-width: 182px;
  border-radius: 8px;
  overflow: hidden;
}
.home-main-popup-btn-content{
  display: grid;
  gap: 15px;
}
.home-main-popup-btn-copy{
  font-size: 18px;
  font-weight: 700;
  color: #2F5D50;
}
.home-main-popup-btn-arrow{
  width: 32px;
  height: 32px;
  display: flex;
  margin: 0 auto;
  cursor: pointer;
}
.home-main-popup-btn-arrow svg{
  width: 100%;
  height: 100%;
}
.home-main-popup-btn .custom-arrow-svg{
  transform: rotate(180deg);
}
.home-main-popup-btn .custom-arrow-svg .svg-bg {
  fill: #2F5D50;
  stroke: #2F5D50;
  transition: all .3s cubic-bezier(.645, .045, .355, 1) 0s;
}

.home-main-popup-btn .custom-arrow-svg .svg-arrow {
  stroke: white;
  transition: all .3s cubic-bezier(.645, .045, .355, 1) 0s;
}

.home-main-popup-btn:hover .custom-arrow-svg .svg-bg {
  fill: #fff;
  stroke: #2F5D50;
}

.home-main-popup-btn:hover .custom-arrow-svg .svg-arrow {
  stroke: #2F5D50;
}

@media screen and (min-width:768px) and (max-width:991.98px) {
  .home-map-copy-wrapper {
    max-width: 340px;
    left: 50px
  }
}

@media screen and (min-width:992px) and (max-width:1199.98px) {
  .home-map-copy-wrapper {
    max-width: 380px;
    left: 50px
  }
}

@media screen and (max-width:767.98px) {  
  .home-illust-fig-2 {
    margin-top: -11%;
  }

  .home-about-jt-items {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    right: 0;
    margin-bottom: 90px;
  }

  .home-about-jt-item:nth-of-type(1) {
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 25px;
    padding-right: 25px
  }

  .home-about-jt-item:nth-of-type(2) {
    width: 100%;
    margin-top: 24px
  }

  .home-about-jt-item:nth-of-type(2) figure {
    width: 140%;
    margin-left: -20%;
    position: relative;
    top: 20px;
  }

  .home-about-t-items {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 90px
  }

  .home-about-t-item:nth-of-type(1) {
    width: 100%;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1
  }

  .home-about-t-item:nth-of-type(1) figure {
    width: 110%;
    margin-left: -5%;
  }

  .home-about-t-item:nth-of-type(2) {
    width: 100%;
    margin-left: 0;
    margin-bottom: 24px;
    padding-left: 25px;
    padding-right: 25px
  }

  .home-about-copy,
  .home-about-title {
    margin-bottom: 45px
  }

  .home-map-full {
    padding-top: 40px;
    padding-bottom: 40px
  }

  .home-map-img-a {
    max-width: 120px;
    top: -60px;
    right: 15px
  }

  .home-map-img-b {
    max-width: 65px;
    top: -40px;
    left: 25px
  }

  .home-map-img-c {
    max-width: 52px;
    bottom: -75px;
    left: 0
  }

  .home-map-img-d {
    max-width: 90px;
    bottom: -75px;
    right: 25px
  }

  .home-map-title-wrapper {
    margin-bottom: 45px
  }

  .home-map-inner {
    border-radius: 40px;
    padding-top: 75px;
    padding-bottom: 75px;
    margin-bottom: 45px
  }

  .home-map-copy-wrapper {
    max-width: 100%;
    padding-left: 25px;
    padding-right: 25px;
    position: relative;
    top: 0;
    left: 0
  }

  .home-map-fig {
    max-width: 100%;
    padding-left: 25px;
    padding-right: 25px
  }
  .home-news-title-wrapper{
    margin-bottom: 40px;
  }
  

  .home-main-popup-btn-wrapper{
    right: 15px;
    bottom: 15px;
  }
  .home-main-popup-btn{
    max-width: 235px;
    grid-template-columns: 150px 1fr;
  }
  .home-main-popup-btn-thumbnail{
    max-width: 150px;
  }
  .home-main-popup-btn-content{
    gap: 4px;
  }
  .home-main-popup-btn-copy{
    font-size: 14px;
  }
  .home-main-popup-btn-arrow{
    width: 26px;
    height: 26px;
  }
}

@-webkit-keyframes homeOpening {
  0% {
    opacity: 0
  }

  50% {
    opacity: 1
  }

  100% {
    opacity: 0
  }
}

@keyframes homeOpening {
  0% {
    opacity: 0
  }

  50% {
    opacity: 1
  }

  100% {
    opacity: 0
  }
}

@-webkit-keyframes homeOpeningW {
  0% {
    opacity: 1
  }

  100% {
    opacity: 0
  }
}

@keyframes homeOpeningW {
  0% {
    opacity: 1
  }

  100% {
    opacity: 0
  }
}

.svg-circle {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: -170px;
  z-index: 601;
  width: 15%;
  height: 15%;
  min-width: 156px;
  min-height: 156px;
}

@media screen and (max-width: 767px) {
  .svg-circle {
    width: 94px;
    height: 94px;
    min-width: 94px;
    min-height: 94px;
    top: -110px;
  }
}

.svg-text {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 170px;
  z-index: 601;
  width: 18.6676427526vw;
  min-width: 256px;
}

@media screen and (max-width: 767px) {
  .svg-text {
    width: 153px;
    min-width: 153px;
    top: 110px;
  }
}

.svg-circle circle {
  fill: #ff0000;
}

.mask-anime {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 600;
  top: 0;
}

.first-anime {
  position: relative;
  background: #fff;
  width: 100%;
  height: 100vh;
  top: 0;
  overflow: hidden;
}

.svg-logo {
  width: 11%;
  height: 11%;
  min-width: 134px;
  min-height: 111px;
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: -170px;
  z-index: 601;
}

.first-anime-wrap {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 601;
}
/* Popup layout for Content Popup block */

.jt-content-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.jt-content-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jt-content-popup-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.jt-content-popup-dialog {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow-y: auto;
}

.jt-content-popup-dialog:has(.jt-content-popup-video-wrapper) {
  width: 100vw;
  height: 100vh;
  max-width: none;
  padding: 0;
}

.jt-content-popup-close {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: none;
  cursor: pointer;
  transition: all .3s cubic-bezier(.645, .045, .355, 1) 0s;
}

.jt-content-popup-close:hover {
  opacity: 0.7;
}

.jt-content-popup-title {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 700;
}

.jt-content-popup-body {
  font-size: 0.95rem;
  line-height: 1.7;
}

.jt-content-popup-body p:last-child {
  margin-bottom: 0;
}

.jt-content-popup-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 906px;
  margin: 0 auto;
}

.jt-content-popup-video-inner {
  width: 100%;
}

.jt-content-popup-video-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 906 / 506;
  border: none;
  background-color: #000;
}

.jt-content-popup-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.jt-content-popup-video-select {
  position: static;
  z-index: 1;
  width: 470px;
  height: 44px;
  display: flex;
  gap: 2px;
  margin: 24px auto 0;
  background: #2F5D50;
  border: 2px solid #2F5D50;
  border-radius: 30px;
  overflow: hidden;

}

.jt-content-popup-video-btn {

  flex: 1;
  text-align: center;
  color: #2F5D50;
  font-size: 16px;
  font-weight: 700;
  background: #ffffff;
  cursor: pointer;
  /* transition: color 0.2s, background 0.2s, border-color 0.2s; */
  transition: all .3s cubic-bezier(.645, .045, .355, 1) 0s;

}

.jt-content-popup-video-btn.is-active,
.jt-content-popup-video-btn:hover {
  color: #fff;
  background: #2F5D50;
}

@media screen and (max-width:767.98px) {  
  .jt-content-popup-dialog:has(.jt-content-popup-video-wrapper){
    padding: 0 20px;
  }
  .jt-content-popup-close{
    margin-bottom: 16px;
  }
  .jt-content-popup-close i{
    width: 32px;
    height: 32px;
    display: flex;
  }
  .jt-content-popup-close i svg{
    width: 100%;
    height: 100%;
  }
  .jt-content-popup-video-select{
    width: 100%;
    height: 40px;
    margin-top: 28px;
  }
  .jt-content-popup-video-btn{
    font-size: 13px;
  }
}