@charset "utf-8";

a{
    text-decoration: none;
    transition: all 0.6s ease-in-out;
}
a:hover{
    opacity: .6;
}
ul,li,p{
    padding: 0;
    margin: 0;
    list-style: none;
}
body{
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-family: 'BIZ UDPMincho', serif;
    overflow: auto;
}

/* スクロールバー */
.container {
  --sb-track-color: #7c7971;
  --sb-thumb-color: rgb(85, 83, 78, 1);
  --sb-size: 5px;
}

.container::-webkit-scrollbar {
  width: var(--sb-size);
  height: var(--sb-size);
}

/* スクロールバーの矢印ボタンを消す */
.container::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.container::-webkit-scrollbar-track {
  background: var(--sb-track-color);
}

.container::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 4px;
}

/* FirefoxなどWebKit以外への対応 */
@supports not selector(::-webkit-scrollbar) {
  .container {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    scrollbar-width: thin;
  }
}




/* Loading画面設定　*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #6e6e6e;
    text-align: center;
}

#splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-bottom: 5px;
}

#splash_logo img {
    width: 200px;
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
#opv-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 99999;
}

video#opv {
    object-fit:cover;
    width: 100%;
    height: 100%;
}
/*--  スキップボタン  --*/
button#skipBtn{
    display: none;
    position: absolute;
    left: 25px;
    bottom: 40px;
    width: 70px;
    height: auto;
    border: solid 1px #fff;
    opacity: .9;
    z-index: 99999;
    transition: all 0.5s;
    border-radius: 3px;
    line-height: 30px;
    color: rgba(255,255,255,1);
    background:  rgba(54, 53, 52, .7);
}
button#skipBtn:hover{

    background: #fff;
    border: solid 1px #fff;
    opacity: .8;
    color: rgba(50,50,50,0.65);
}

/* フェードアウト用のスタイル */
#opv-wrap.fade-out {
    opacity: 0;
    transition: opacity 1s;
}

/* フェードイン用のスタイル */
#opv-wrap.fade-in {
    display: none;
    opacity: 0;
    transition: opacity 1s;
}

/*-- header --*/
header{
    position: absolute;
    top: 0;
    left: 0;
    width: 15%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: center; 
}
#logo{
    width: 150px;
    height: auto;
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-30%);
}
#logo img{
    width: 100%; /* 修正：画像の幅を親要素に合わせる */
    height: auto;
}


/* タブレット対応 */
@media (max-width: 1080px) {
    header {
        width: 20%;
        padding-top: 10px;
    }
    #logo {
        width: 120px;
    }
}

/* スマホ対応 */
@media (max-width: 521px) {
    header {
        width: 100%;
        height: auto;
        position: relative;
        padding-top: 15px;
    }
    #logo {
        width: 50px;
    padding-bottom: 10%;
    /* モバイルでは移動を無効化 */
    transform: none;
    }
}



.container {
  position: absolute;
  top: 0;
  left: -1200px;
  z-index: 9900;
  overflow: auto;
  scroll-snap-type: y mandatory;
  height: 100vh;
  width:1200px;
  background: #7C7971;
  background: linear-gradient(180deg, rgb(85, 83, 78, 1) 0%, rgba(124, 121, 113, 1) 100%);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  transition: all 0.6s ease-in-out;
}
.container.active {
  left: 0;

}
.container.small{
  overflow: hidden;
}
.container.zengamen{
  width:100vw;
  height: 100vh;
}

.area {
  scroll-snap-align: start;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; 
}

/* make sec2 a positioning context for the up button */
section#sec2 {
  position: relative;
}

.sec_inner {
  width:1200px;
  height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.6s ease-in-out;
}

.sec_inner.zengamen {
  width: 100vw;
  height: 100vh;
}

.inner_9F,
.inner_13F {
  display: none;
}

  .cls-1 {
    letter-spacing: .1em;
  }

  .cls-1, .cls-2 {
    fill: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 41.36px;
    font-variation-settings: 'wght' 350;
    font-weight: 300;
  }

  .cls-2 {
    letter-spacing: .1em;
  }

  .cls-3 {
    fill: #7a5b06;
    opacity: .6;
    transition: all 0.6s ease-in-out;
  }
  .cls-3:hover,
  .cls-1:hover{
    opacity: 0.1;
  }

  .b-type_inner,
  .c-type_inner,
  .d-type_inner,
  .h-type_inner,
  .g-type_inner,
  .inner_1F,
  .inner_2F {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    display: none;
  }


  .inner_ent,
  .inner_hole,
  .inner_wind,
  .inner_rouka {
    width: 100%;
    height: auto;
    max-width: 650px;
    max-height: 600px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: none;
    align-self: center;
    transition: all 0.6s ease-in-out;
  }
  .inner_ent.zengamen,
  .inner_hole.zengamen,
  .inner_wind.zengamen,
  .inner_rouka.zengamen {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
  }


  .b-type_inner img,
  .c-type_inner img,
  .d-type_inner img,
  .h-type_inner img,
  .g-type_inner img,
  .inner_1F img,
  .inner_2F img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }


  .inner_ent img,
  .inner_hole img,
  .inner_wind img,
  .inner_rouka img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

.vr_b,
.vr_c,
.vr_d,
.vr_h_1,
.vr_h_2,
.vr_g {
    width: 80%;
    height: 60%;
    object-fit: contain;
    margin: 0 auto;
    display: none;
    align-self: center;
    transition: all 0.6s ease-in-out;
}
.vr_b.zengamen,
.vr_c.zengamen,
.vr_d.zengamen,
.vr_h_1.zengamen,
.vr_h_2.zengamen,
.vr_g.zengamen {
  height: 100%;
  width: 100%;
}

.vr_b iframe,
.vr_c iframe,
.vr_d iframe,
.vr_h_1 iframe,
.vr_h_2 iframe,
.vr_g iframe{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gamen_btn {
  position: absolute;
  bottom: 2%;
  right: 2%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: opacity 0.4s ease-in-out;
}
.gamen_btn:hover {
  opacity: 0.4;
}
.gamen_btn img{
  width: 100%;
  height: 100%;
}
.small_btn {
  display: none;
}

.batu_btn {
    position: absolute;
    right: 2%;
    top: 2%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: scale 0.3s ease-in-out;
    z-index: +1;
    display: none;

}
.batu_btn:hover {
    transform: scale(1.2);
}
.batu_btn > span {
    position: absolute;
    left: 20%;
    top: 50%;
    content: '';
    height: 1px;
    width: 70%;
    background-color: #fff;
}

.batu_btn > span:nth-child(1) {
    transform: rotate(-45deg);
}
.batu_btn > span:nth-child(2) {
    transform: rotate(45deg);
}

.up_btn{    position: absolute;
  right: 2%;
  top: 3%;
  width: 40px;
  height: 40px;
  transition: all 0.6s ease-in-out;
  cursor: pointer;
  opacity: 1;
  transition: scale 0.3s ease-in-out;
  z-index: +1;
}
.up_btn:hover{
  opacity: 0.6;
}

.up_btn img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 1200px以下の場合 */
@media (max-width: 1200px) {
.container {
  position: absolute;
  top: 0;
  left: -800px;
  width:800px;
}
.sec_inner {
  width:800px;
}
  .b-type_inner,
  .c-type_inner,
  .d-type_inner,
  .h-type_inner,
  .g-type_inner,
  .inner_1F,
  .inner_2F {
    max-width: 800px;
  }
}

/* 800px以下の場合（タブレット想定） */
@media (max-width: 800px) {

}

/* 480px以下の場合（スマホ想定） */
@media (max-width: 480px) {

}

.heimen_btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ping {
  position: absolute;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%); 
  pointer-events: auto;
  --uib-size: 50px;
  --uib-speed: 2s;
  --uib-color: #fadfbd;
  cursor: pointer;
  transition: all 0.4s ease;
}

.ping:hover {
  --uib-color: #fadfbd;
}


.ping::before,
.ping::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background-color: var(--uib-color);
  animation: pulse7132 var(--uib-speed) linear infinite;
  transform: scale(0);
  opacity: 0;
}

.ping::after {
  animation-delay: calc(var(--uib-speed) / -3);
}

@keyframes pulse7132 {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}


/* 中央の● */
.dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  background: #cf9800; /* 青い点（お好みで変更可） */
  border-radius: 50%;
  border:  1px solid #fff;
  transform: translate(-50%, -50%);
  z-index: 2; /* 波紋より前に表示 */
}


/* ボタン位置は%指定のままでOK */
.vr_1{top: 22%; left: 58%;} /* G-type  */
.vr_2{top: 30%; left: 35%;} /* H-type  */
.vr_3{top: 36%; left: 51%;} 
.vr_4{top: 56%; left: 69%;} /* B-type  */
.vr_5{top: 70%; left: 52%;} /* C-type  */
.vr_6{top: 13%; left: 69%;} /* D-type  */
.vr_7{top: 50%; left: 37%;} /* rouka  */
.vr_8{top: 72%; left: 52%;} /* 1F もにゅ  */
.vr_9{top: 65%; left: 48%;} /* エントランス  */
.vr_10{top: 50%; left: 38%;} /* ホール  */



footer{
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 50vw;
    height: 50px;
    z-index: 1500;
    padding: 0;
    margin: 0;
    transition: all 0.6s ease-in-out;
    background-color: rgba(233, 229, 223, 0);
    display: flex;
    justify-content: space-between;
}
footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    color: #363030;
    height: 1px;
    z-index: 1500;
    border-bottom: 1px solid #363030;
    transition: all 1.0s ease-in-out;
}
footer.u_on::after {
    width: 50vw;
}

.f_menu{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}
footer .f_menu li,
footer .f_menu li a,
#enter_obvr > span {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: #363030;
    line-height: 50px;
    transition: color 0.4s;
    width: 100%;
    font-size: 1.2em;
    text-align: center;
    text-decoration: none; /* リンク下線消す */
    display: block; /* aタグがblockにならないと高さが合わない */
}

footer .f_menu li::before,
footer .f_menu li a::before,
#enter_obvr > span::before {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #363030;
    transition: all 0.4s ease;
    z-index: -1;
}

footer .f_menu li:hover::before,
footer .f_menu li a:hover::before,
#enter_obvr > span:hover::before {
    bottom: 0;
}

footer .f_menu li:hover,
footer .f_menu li a:hover,
#enter_obvr > span:hover {
    color: #eeebe6;
}

/* タブレット用（幅768px～1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
    #enter_obvr {
    bottom: 30px;
    left: 70vw;
    width: 120px;
    }
    #enter_obvr.u_on02::after {
    width: 120px;
    }


    footer{
        width: 65vw;
        bottom: 30px;
    }
    footer.u_on::after {
    width: 65vw;
}
    footer .f_menu li,
    footer .f_menu li a,
    #enter_obvr > span {
    font-size: 1.0em;
    }
}

/* スマホ用（縦向き、幅767px以下） */
@media (max-width: 767px) {
    #enter_obvr {
    bottom: 30px;
    left: 75vw;
    width: 80px;
    }
    #enter_obvr.u_on02::after {
    width: 80px;
}
    footer{
        width: 70vw;
        bottom: 30px;
    }
    footer.u_on::after {
    width: 70vw;
}
    footer .f_menu li,
    footer .f_menu li a,
    #enter_obvr > span {
    font-size: 0.7em;
    }
    .f_menu{
        padding: 10px 0;
    }
}

/* スマホ横向き（幅480px～767px） */
@media (min-width: 386px) and (max-width: 1080px) and (orientation: landscape) {
    #enter_obvr {
    bottom: 15px;
    left: 75vw;
    width: 80px;
    }
    #enter_obvr.u_on02::after {
    width: 80px;
}
    footer{
        width: 70vw;
        bottom: 15px;
    }
    footer.u_on::after {
    width: 70vw;
}
    footer .f_menu li,
    footer .f_menu li a,
    #enter_obvr > span {
    font-size: 0.7em;
    }
}


#slide{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #c7bdb1;
    color: #363237;
}
.splide{
height: auto;
padding: 60px 0 30px 0;
}
/* スライドのサイズ調整 */
.splide__slide img {
width: 95%;
max-height: 450px;
object-fit: contain;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
.splide__slide img:hover {
    opacity: 0.4;
}
.splide__pagination{
position: relative;
margin-top: 40px;
}
.splide__pagination__page{
background-color: #fff;
margin: 0 10px;
opacity: .5;
height: 5px;
width: 5px;
}
.splide__pagination__page.is-active{
background-color: #fff;
opacity: 1;
}


.popup01{
    position: absolute;
    top:50%;
    left: 50%;
    max-width: 800px;
    width: 70vw;
    transform: translate(-50%,-50%);
    z-index: 2000;
    display: none;
    transition: opacity 0.5s ease;
    opacity: 0;  background: linear-gradient(180deg, rgb(85, 83, 78, 1) 0%, rgba(124, 121, 113, 1) 100%);
    border: 1px solid #ffffff;
}
.map_btn{
    display:block;
    width: 250px;
    height: 60px;
    margin: 20px auto;
    color: #363030;
    border: 1px solid #363030;
    background-color: #eeebe6;
    transition: all 0.5s ease;
    cursor: pointer;
}
.map_btn:hover{
    color: #eeebe6;
    border: 1px solid #363030;
    background-color: #363030;
    cursor: pointer;
}
/* タブレット用（幅768px～1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
    .map_btn{
    display:block;
    width: 200px;
    height: 50px;
    }
}

/* スマホ用（縦向き、幅767px以下） */
@media (max-width: 767px) {
    .popup01{
    max-width: 800px;
    width: 80vw;
    }
    .map_btn{
    display:block;
    width: 200px;
    height: 40px;
    }
}

/* スマホ横向き（幅480px～767px） */
@media (min-width: 481px) and (max-width: 1000px) and (orientation: landscape) {
    .popup01{
    max-width: 800px;
    width: 60vw;
    }
    .map_btn{
        display:block;
        width: 200px;
        height: 50px;
    }
}



.popup02{
    position: absolute;
    top:50%;
    left: 50%;
    width: 90vw;
    height: 550px;
    transform: translate(-50%,-50%);
    z-index: 2000;  background: linear-gradient(180deg, rgb(85, 83, 78, 1) 0%, rgba(124, 121, 113, 1) 100%);
    display: none;
    transition: opacity 0.5s ease;
    border: 1px solid #ffffff;
    opacity: 0;
}

.s_modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;  background: linear-gradient(180deg, rgb(85, 83, 78, 1) 0%, rgba(124, 121, 113, 1) 100%);
    z-index: 2500;
    opacity: 0; 
    transition: opacity 0.5s ease-in-out;
}

.s_modal.show {
    display: block; 
    opacity: 1;
}

.s_m_inner{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.s_m_inner img {
    opacity: 0; 
    transition: opacity 0.5s ease-in-out 0.1s; 
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.s_m_inner img.show {
    opacity: 1;
}


.popup03{
    width: 50vw;
    height: 70vh;
    max-width: 900px;
    max-height: 650px;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.pop_waku2{
    width: 100%;
    height: 100%;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    overflow-y: auto;
    overflow-x: hidden;
}

.pop_waku2 img{
    width: 100%;
    height: auto;
    object-fit: contain;

}



/* タブレット用（幅768px～1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
    .popup03{
    width: 60vw;
    height: 80vh;
    max-width: 800px;
    }
}

/* スマホ用（縦向き、幅767px以下） */
@media (max-width: 767px) {
    .popup03{
    width: 80vw;
    height: 60vh;
    max-width: 800px;
    }
}

/* スマホ横向き（幅480px～767px） */
@media (min-width: 481px) and (max-width: 767px) and (orientation: landscape) {

}




/* ====== メディアクエリでレスポンシブ対応 ====== */

/* 1200px以下の場合 */
@media (max-width: 1200px) {
  #bg_img_type {
    max-width: 80vw;
    width: 80vw;
  }
}

/* 800px以下の場合（タブレット想定） */
@media (max-width: 800px) {
  #bg_img_type {
    max-width: 85vw;
    width: 85vw;
  }
}

/* 480px以下の場合（スマホ想定） */
@media (max-width: 480px) {
  #bg_img_type {
    max-width: 90vw;
    width: 90vw;
  }
}



.scroll {
  display: inline-block;
  padding-top: 0;
  padding-right: 40px;
  position: relative;
}
.scroll::before {
  /* animation: scroll 2.5s infinite; */
  border: solid #fff;
  border-width: 0 0 2px 2px;
  content: "";
  display: inline-block;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  transform: rotate(135deg);
  width: 20px;
  height: 20px;
}
@keyframes scroll {
  0% {
    transform: rotate(135deg) translate(0, 0);
  }
  80% {
    transform: rotate(135deg) translate(-20px, 20px);
  }
  0%, 80%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}


.batu,
.room_batu,
.batu_m,
.batu_gal {
    position: fixed;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.6s ease;
}
.batu:hover,
.room_batu:hover,
.batu_m:hover,
.batu_gal:hover {
    opacity: 0.4;
}

.cross,
.cross_m,
.cross_gal {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
}
.cross::before,
.cross::after,
.cross_m::before,
.cross_m::after,
.cross_gal::before,
.cross_gal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #ebebeb;
    transform-origin: center;
}
.cross::before,
.cross_m::before,
.cross_gal::before {
    transform: translateX(-50%) rotate(45deg);
}
.cross::after,
.cross_m::after,
.cross_gal::after {
    transform: translateX(-50%) rotate(-45deg);
}
