@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Hina+Mincho&display=swap");

html {
  font-size: 10px;
  scroll-behavior: smooth;
}



*,
::before,
::after {
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

#vdbanner {
  width: 0 !important;
  height: 0;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}

img {
  width: 100%;
  vertical-align: bottom;
  height: auto;
}

/* button {
  border: none;
  cursor: pointer;
} */

body {
  font-size: 1.6rem;
  line-height: 1.4;
  color: #000;
  font-family: "Hina Mincho", serif;
  background-color: #cccc99;
  overflow-x: hidden;
}

.flex {
  display: flex;
}

/* スリックスライダー */
.slider img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* メイン説明の設定 */
.main-des {
  text-align: center;
  margin: 150px auto;
}

.bottom-border {
  font-size: 2.5rem;
  margin-bottom: 50px;
  letter-spacing: 6px;
  position: relative;
}

.main-des p {
  line-height: 40px;
  letter-spacing: 3px;
}

.bottom-border::before {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 4px;
  content: "";
  background-image: radial-gradient(#8e8a50, #d3d0a7);
}

.bottom-border p {
  font-size: 1.5rem;
  line-height: 45px;
  letter-spacing: 4px;
}

/* 縦テキストの設定 */
.tate-text {
  writing-mode: vertical-rl;
}

/* タイトルの設定 */

.title h3 {
  font-size: 3rem;
  margin-top: 180px;
  position: relative;
  text-align: center;
  max-width: 800px;
  letter-spacing: 9px;
}

.title h3:before,
.title h3:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 180px;
  height: 2px;
  border-top: solid 1.5px black;
}

.title h3:before {
  right: 100px;
}

.title h3:after {
  left: 100px;
}

.title-en {
  text-align: center;
}

.title .title-en {
  font-size: 2rem;
}

.title {
  margin-bottom: 80px;
}

@media (max-width: 450px) {
  .title h3 {
    font-size: 2rem;
    margin-top: 120px;
    position: relative;
    text-align: center;
    max-width: 450px;
    letter-spacing: 6px;
  }
  
  .title h3:before,
  .title h3:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    border-top: solid 1.5px black;
  }
  
  .title h3:before {
    right: 30px;
  }
  
  .title h3:after {
    left: 30px;
  }
  
  .title-en {
    text-align: center;
  }
  
  .title .title-en {
    font-size: 1.4rem;
  }
  
  .title {
    margin-bottom: 10px;
    margin-top: 30px;
  }
}


.heading-24 {
  position: relative;
  padding-top: 1.5em;
  color: #000000;
}

.heading-24::before {
  position: absolute;
  bottom: 0;
  left: 10%;
  color: #887c7cc2;
  font-size: 3em;
  line-height: 1;
  content: attr(data-number);
  pointer-events: none;
}

/* ボタン「もっと見る」の設定 */

.viewmore {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 70%;
  margin: 0 auto;
  padding: 0.9em 3em 0.9em 2em;
  border: 1px solid #494a4b;
  border-radius: 5px;
  background-color: transparent;
  color: #494a4b;
  font-size: 0.9em;
}

.viewmore::after {
  position: absolute;
  right: 2em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 2em;
  height: 0.5em;
  background-color: #494a4b;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: "";
  transition: transform 0.3s;
}

.viewmore:hover::after {
  transform: translateY(-50%) scaleX(1.4);
}

/* ヘッダーの設定 */
.header {
  justify-content: space-between;
  width: 100%;
  padding: 40px;
  font-size: 1.6em;

}

.header-logo img {
  width: 90px;
}

.nav-pc {
  margin-top: 20px;
}

.nav-pc li {
  padding-left: 50px;
}



header {
  position: fixed;
  top: 0;
  z-index: 99999;
}

/* ナビbuttonの設定 */
.btn02 {
  position: relative;
  display: inline-block;
  width: 120px;
  line-height: 10px;
  text-align: center;
  outline: none;
}

.btn02 span {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: 0.5s;
}

.rotatefront span:nth-child(1) {
  color: #fff;
  transform: rotateX(0deg);
  transform-origin: 0 50% -25px;
}

.rotatefront:hover span:nth-child(1) {
  transform: rotateX(-90deg);
}

.rotatefront span:nth-child(2) {
  color: #fff;
  transform: rotateX(90deg);
  transform-origin: 0 50% -25px;
}

.rotatefront:hover span:nth-child(2) {
  transform: rotateX(0deg);
}

/* 予約ボタンの設定 */

.btn {
  display: inline-block;
  position: relative;
  margin-top: 20px;
  padding: 0.9em 3em;
  border-top: solid .5px #fff;
  border-bottom: solid .5px #fff;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.1em;
  font-size: 1.8rem;
}

.btn:before,
.btn:after {
  content: "";
  position: absolute;
  top: -7px;
  width: .5px;
  height: calc(100% + 14px);
  background-color: #fff;
  transition: 0.3s;
}

.btn:before {
  left: 7px;
}

.btn:after {
  right: 7px;
}

.btn:hover {
  background-color: #fff;
  color: #75724a;
}

.btn:hover:before {
  top: 0px;
  left: 0;
  height: 100%;
}

.btn:hover:after {
  top: 0px;
  right: 0;
  height: 100%;
}

.header-right .btn {
  position: absolute;
  top: 20%;
  right: 5%;
}
.btn1 {
  display: none;
}

/* ハンバーガーメニュー */

.openbtn {
  position: relative;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border: 1px solid #fff;

  z-index: 9999;
  opacity: 0;
  display: none;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
}

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
  height: 1px;
  background: #fff;
  width: 62%;
  left: 10px;
}

.openbtn span:nth-of-type(1) {
  top: 10px;
}

.openbtn span:nth-of-type(2) {
  top: 17px;
  left: 11px;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #fff;
}

.openbtn span:nth-of-type(3) {
  top: 36px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/* ナビアクティブの設定 */

#sp-nav {
  display: none;
}
#sp-nav.panelactive {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 1;
}

.sp-nav-list {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  -webkit-overflow-scrolling: touch;
}

#sp-nav.panelactive .sp-nav-list {
  display: block;

}

#sp-nav ul {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* これで上下左右中央 */
  width: 100%; /* 幅を確保 */
  margin: 0;   /* 全体指定の margin: 0 auto をリセット */
  padding: 0;
  text-align: center;
  z-index: 1000;
  opacity: 0;
}

#sp-nav.panelactive ul {
  opacity: 1;
  
}

#sp-nav ul li {
  margin-top: 30px;
  text-align: center;
}

#sp-nav.panelactive ul li {
  animation-name: spnavAnime;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes spnavAnime {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#sp-nav ul li a {
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 5px;
  text-align: center;
}

.circle-bg {
  position: fixed;
  z-index: 3;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.87);
  transform: scale(0);
  top: -50px;
  right: -50px;
  transition: all 1s;
  pointer-events: none;
}

.circle-bg.circleactive {
  transform: scale(50);
  pointer-events: auto;
}

@media (max-width: 450px) {

  nav {
    display: none;
  }
  .header {
    max-width: 450px;
    padding: 5px;
  }


  .header-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 99999;
  }

  .header-logo img {
    width: 80px;
    margin: 10px;
  }

  .nav-pc {
    display: none;
  }

  /* 予約ボタンの設定 */
  .header-right {
    display: none;
  }

 
  .btn-reservation {
    position: fixed;
    bottom: 20px;
    right: 70px;
    transform: translate(-50%,-50%);
    z-index: 999999;
  }

  .btn-reservation a {
    z-index: 9999;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: #333;
    font-weight: 400;
    outline: 1px solid #333;
    display: block;
    position: relative;
    box-sizing: border-box;
    max-width: 300px;
    text-align: center;
    padding: 16px 40px;
    margin-inline: auto;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
  }

  .btn-reservation a::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    background: #f5fcf4be;
    z-index: -999;
    transition: all 0.3s ease;
  }

  .btn-reservation a:hover::before {
    top: 0;
    left: 0;
    transition: all 0.3s;
  }

  /* ハンバーガーメニュー */

  .header-sp {
    height: 100px;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
  }

  .header-sp.fixed {
    position: fixed !important;
    z-index: 99999;
    top: 0;
    left: 0;
  }

  .openbtn {
    display: block;
    opacity: 1;
    position: absolute;
    top: 20px;
    right: 20%;

  }

  /* ナビアクティブの設定 */


  #sp-nav {
    display: block;
  }

  #sp-nav.panelactive {
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    max-width: 450px; 

  }

  #sp-nav.panelactive li.side-reservation {
    font-size: 1.3rem;
    padding: 30px;
    background-color: #575534;
    border: 1px solid #ffffff;
  }
  
   #sp-nav.panelactive .sp-nav-list li{
    margin: 20px 0;
    width: 80%;
   }
   


}

/* アップbuttonの設定 */

.upbtn {
  width: 70px;
  height: 70px;
  position: fixed;
  bottom: 10%;
  right: 5%;
  background-color: transparent;
  color: #fff;
  border-radius: 50%;
  border: 2px solid #75724a;
  line-height: 1.1;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  transform: translateY(100px);
}

.upbtn.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.upbtn.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(100px);
  }
}

.upbtn:hover {
  transform: scale(1.1);
  background-color: #75724a;
}

.upbtn::before {
  content: "Go to page-top";
  color: #f7f6f4;
  font-size: 1.8rem;
}

/* フッターの設定 */

.footer {
  width: 100%;
  margin-top: 100px;
}

.footer-center {
  width: 40%;
  text-align: center;
}

.footer-center p:nth-child(2) {
  font-size: 2rem;
  margin: 20px;
  line-height: 50px;
}

.footer-center p:nth-of-type(3) {
  margin-bottom: 25px;
  font-size: 2.7rem;
}

.footer-center p:nth-of-type(4) {
  letter-spacing: 8px;
  font-size: 1.8rem;
}

.footer-logo {
  padding-top: 5%;
  position: relative;
  top: 0;
}

.footer-logo img {
  width: 150px;
  min-width: 45px;
}

.copy {
  padding: 50px 40px 15px 40px;
  width: 100%;
}

footer .btn {
  background-color: rgba(245, 245, 220, 0.651);
  color: #575534;
  border-top: solid 1px #575534;
  border-bottom: solid 1px #575534;
}


footer .btn:before,
footer .btn:after {
  background-color: #575534;
}


@media (max-width: 450px) {
  

.footer-center {
  width: 100%;
}

.footer-center p:nth-child(2) {
  font-size: 1.5rem;

}

.footer-center p:nth-of-type(3) {
  font-size: 2rem;
}

.footer-center p:nth-of-type(4) {
  letter-spacing: 8px;
  font-size: 1.4rem;
}


.footer-logo img {
  width: 100px;
}

}
/* お部屋タイプの設定 */
.room {
  width: 80%;
}

.roomtype {
  width: 30%;
  max-width: 370px;
  background-image: url(../img/washi.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 40px;
}

.room-name h4 {
  text-align: center;
  margin-top: 20px;
}

.room-name {
  margin-bottom: 15px;
}

.roomtype img {
  width: 90%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}

.roomtype .des {
  width: 90%;
  height: 100px;
}

.roomtype ul li {
  margin-top: 15px;
}

@media (max-width: 450px) {
  .room-plan {
    display: block;
    width: 85%;
  }
  .room {
  width: 100%;
}

.roomtype {
  width: 100%;
  max-width: 370px;
  background-image: url(../img/washi.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 40px;
}

.room-name h4 {
  text-align: center;
  margin-top: 20px;
}

.room-name {
  margin-bottom: 15px;
}

.roomtype img {
  width: 90%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}

.roomtype .des {
  width: 90%;
  height: 100px;
}

.roomtype ul li {
  margin-top: 15px;
}

}
/* フェードイン等のアニメーション */
:root {
  /* アニメーションの時間を変更できます */
  --animation-duration: 2s;
}

.animate-target {
  opacity: 0;
  transition: opacity var(--animation-duration) ease,
    transform var(--animation-duration) ease;
}

/* パターン1：下からふわっと（初期位置を下に設定） */
.fade-in-up {
  transform: translateY(50px);
}

/* パターン2：左からスライド（初期位置を左に設定） */
.fade-in-left {
  transform: translateX(-50px);
}

/* パターン3：右からスライド（初期位置を右に設定） */
.fade-in-right {
  transform: translateX(50px);
}

/* パターン4：拡大表示（初期サイズを小さく設定） */
.zoom-in {
  transform: scale(0.5);
}

/* JavaScriptによってこのクラスが付与されると、アニメーションが実行される */
.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}