body {
  background-color: #F7F5EC;
  font-family: 'Zen Kurenaido', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

#welcome-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #F7F5EC;
  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

#welcome-logo {
  opacity: 0;
  transform: translateY(50px) scale(0.8);
  animation: fadeInUpScale 3s ease-out 0.5s forwards;
}

@keyframes fadeInUpScale {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  50% {
    opacity: 0.7;
    transform: translateY(0) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#top {
  margin: 0 10% 0 10%;
}

#menu-sp, #nav-sp{
  display: none;
}

#main-content {
  margin: 0;
  overflow: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

#main-content.show {
  opacity: 1;
  transform: translateY(0);
}

#services{
  margin-top: 5%;
}

section:nth-of-type(2)#services,
section:nth-of-type(3)#services {
  margin-top: 15%;
}

header {
  text-align: center;
}

header p{
  text-align: end;
}

header a{
  text-decoration: none;
}

header img{
  margin-top: -3%;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 2s ease-out forwards;
}

#nav-sp img {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.info a{
  text-decoration: none;
}

.info p:hover{
  text-decoration: underline;
}

#nav-pc ul{
  display: flex;
  justify-content: space-between;
  padding-left: 0%;
}

#nav-pc li{
  list-style: none;
  margin: 0 15px;
}

#nav-pc a{
  text-decoration: none;
  margin-left: 20px;
  font-size: 20px;
}

#nav-pc a:hover{
  text-decoration: underline;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  margin-bottom: 3rem;
  margin-top: 15%;
  padding: 2rem 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

section > * {
  max-width: 1200px;
  margin: 0 auto;
}

#services-sp{
  display: none;
}

h2 {
  font-size: 2.5rem;
  color: #8B4513;
  margin-top: 0.5em;
  margin-left: 10%;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 2.3rem;
  padding: 2%;
  margin-bottom: 3%;
  text-align: center;
}

.room-type h3,
.room-type1 h3 {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 2s ease, transform 2s ease;
}

.room-type h3.show,
.room-type1 h3.show {
  opacity: 1;
  transform: translateX(0);
  letter-spacing: 0.3em;
  background: radial-gradient(ellipse 70% 100% at center, rgba(182, 203, 210, 0.95) 0%, rgba(182, 203, 210, 0.75) 50%, rgba(182, 203, 210, 0) 85%);
  padding: 0.5em 2em;
  display: inline-block;
}

h4{
  font-size: 1.3em;
  padding: 2%;
  background-color: #d5d4d1;
}

h5{
  font-size: 1.2em;
}

.rp-left p,
.rp-left1 p {
  font-size: 1.1rem;
  background-color: #e6e4dc;
  border-bottom: 1px solid #d9d6d6;
  padding: 5%;
}

.room{
  display: flex;
  border-bottom: 2px solid #8B4513;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  max-width: none;
  padding: 0;
}

.room img{
  margin-left: -1.5em;
}

.room-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 1rem;
}

.room-info {
  flex: 1;
}

.room-info ul {
  margin: 0 0 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.room-info li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.room-photo {
  flex: 1;
}

.room-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.home{
  width:25%;
  margin: 8% auto 8% 60%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home:hover {
  transform: translateY(-8px) scale(1.05);
}


footer {
  background-color: #CDDFE0;
  padding: 2rem 0;
  margin-top: 15%;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.footer-left{
  width:70%
}

.footer-right{
  width: 30%;
  margin-top: 5%;
}

.footer-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
  color: #8B4513;
}

.footer-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #8B4513;
}

.footer-content p {
  margin-left: 0%;
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

#nav-footer a{
  text-decoration: none;
  list-style: none;
  font-size: 20px;
}

#nav-footer a:hover{
  text-decoration: underline;
}

#nav-footer li{
  list-style: none;
  padding: 5%;
}

.footer-content-sp {
  display: none;
}

.rights{
  margin-top: 5%;
  text-align: center;
}

/* トップに戻るボタン */
.back-to-top-btn {
  position: fixed !important;
  bottom: 110px !important;
  right: 20px !important;
  width: 80px;
  height: 80px;
  background-color: #DEB887;
  color: #8B4513;
  border: 2px solid #D2B48C;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 10000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.6s ease, box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
  line-height: 0.8;
  text-decoration: none;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
}

.back-to-top-btn.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.back-to-top-btn:hover {
  background-color: #D2B48C;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top-btn:active {
  transform: translateY(-2px) scale(1.02);
  transition: transform 0.15s ease;
}

/* 空室検索ボタン */
.vacancy-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  background-color: #DEB887;
  color: #8B4513;
  border: 2px solid #D2B48C;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.6s ease, box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.vacancy-btn.show {
  opacity: 1;
  visibility: visible;
}

.vacancy-btn:hover {
  background-color: #D2B48C;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.vacancy-btn:active {
  transform: translateY(-2px) scale(1.02);
  transition: transform 0.15s ease;
}

.room-type,
.room-type1{
  margin-top: 15%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.room + .room-type {
  margin-top: 7%;
}

.room-intro{
  display: flex;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.room-intro1{
  display: flex;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.rp-left{
  width: 28%;
  margin-left: 4%;
}

.rp-left1{
  width: 28%;
  margin-left: 2%;
}

.rp-left2{
  width: 28%;
  margin: 5% auto auto auto;
}

.rp-right{
  margin-left: 5%;
  margin-right: calc(-50vw + 50% + 5%);
  position: relative;
  overflow: hidden;
  width: calc(63% + (50vw - 50%) - 5%);
  display: flex;
  flex-direction: column;
  align-items: right;
}

.rp-right1{
  margin-left: calc(-50vw + 50% + 13%);
  position: relative;
  overflow: hidden;
  width: calc(63% + (50vw - 50%) - 5%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rp-right2{
  margin: 5% auto 5% 2%;
  margin-right: calc(-50vw + 50% + 5%);
  position: relative;
  overflow: hidden;
  width: calc(63% + (50vw - 50%) - 5%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rp-right-images {
  position: relative;
  width: 85%;
  display: flex;
  align-items: center;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(139, 69, 19, 0.7);
  color: white;
  border: none;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.slideshow-arrow:hover {
  background-color: rgba(139, 69, 19, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.slideshow-arrow.prev {
  left: 10px;
}

.slideshow-arrow.next {
  right: 10px;
}

.rp-right img,
.rp-right1 img,
.rp-right2 img,
.rp-left img,
.rp-left1 img {
  width: 90%;
  height: auto;
  display: block;
  opacity: 1;
}


.rp-left1{
  margin-left: -5%;
} 

.rp-right-images img {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.rp-right-images img.active {
  opacity: 1;
  position: relative;
}

.slideshow-dots {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D2B48C;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #8B4513;
}

@media (max-width: 500px) {
#nav-pc{
 display: none;
}

.info p{
  display: none;
}

.info img{
  width: 50%;
  text-align: left;
}

#menu-sp {
  display: block;
  background-color: transparent;
  padding: 0;
  border: none;
  width: 70px;
  height: auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#menu-sp.hide {
  opacity: 0;
  visibility: hidden;
}

  #nav-sp {
    background-color:#EFE8DD;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    overflow-y: auto;
  }

 #close>img{
  width: 50px;
  height: auto;
  border: none;
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
 }

 #close{
  border: none;
 }

#nav-sp nav ul {
  padding-left: 0;
}

#nav-sp nav li {
  list-style: none;
  border-bottom: 1px solid #f5f3f3;
  padding: 2%;
  padding: 15px;
}

#nav-sp nav li a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 10%;
  box-sizing: border-box;
}

#nav-sp nav li:hover{
  border-bottom: 2px solid #cec9c9;
}

#nav-sp nav li img{
  width: 3%;
  margin-right: 10%;
}

#services{
  display: none;
}

#services-sp{
  display: block;
  margin-top: 8%;
}

section:nth-of-type(4)#services-sp,
section:nth-of-type(6)#services-sp {
  margin-top: 20%;
}

.room-sp{
  display: flex;
  border-bottom: 2px solid #8B4513;
  width: 100vw;
} 

.room-sp h2{
  font-size: 24px;
  margin-left: 10%;
}

.room-sp img{
  width: 30%;
  margin-left: -1.0em;
}

.room-type-sp{
  text-align: center;
}

.room-type-sp h3 {
  font-size: 22px;
  margin-top: 10%;
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 2s ease, transform 2s ease;
}

.room-type-sp h3.show {
  opacity: 1;
  transform: translateX(0);
  letter-spacing: 0.3em;
  background: radial-gradient(ellipse 70% 100% at center, rgba(182, 203, 210, 0.95) 0%, rgba(182, 203, 210, 0.75) 50%, rgba(182, 203, 210, 0) 85%);
  padding: 0.5em 2em;
  display: inline-block;
}

.room-type-sp .rp-right {
  width: 90%;
  height: 70%;
  margin: 0 auto;
  margin-right: auto;
}

.room-type-sp .rp-right-images {
  width: 100%;
}

.room-intro-sp{
  margin-top: 5%;
  text-align: left
}

.room-intro-sp h4{
  padding-left: 10%;
}

.room-intro-sp p{
  background-color: #e6e4dc;
  border-bottom: 1px solid #d9d6d6;
  padding-left: 10%;
  padding-top: 3%;
  padding-bottom: 3%;
}

.room23{
  margin-top: 20%;
}

.rp-right2-sp{
  margin-top: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rp-right2-sp .rp-right-images {
  width: 90%;
  aspect-ratio: 4/3;
  display: block;
  position: relative;
}

.rp-right2-sp .rp-right-images img {
  width: 100%;
  padding-top: 8%;
  object-fit: cover;
}

.rp-right2-sp .rp-right-images img.active {
  position: absolute;
}

.rp-right2-sp img{
  width: 85%;
  height: 90%;
}

.room-intro-sp h5{
  margin: 5% 10% auto 10%;
  font-size: 14px;
}

.footer-content {
  display: none;
}

.footer-content-sp {
  display: block;
}

#nav-footer-sp ul {
  padding: 0;
  margin: 0;
}

.footer-content-sp li {
  list-style: none;
  padding: 0;
  border-bottom: 1px solid #f5f3f3;
  padding: 2%;
}

.footer-content-sp li a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 10%;
  box-sizing: border-box;
  color: #8B4513;
}

.footer-content-sp li:hover {
  border-bottom: 2px solid #cec9c9;
}

.footer-content-sp li img {
  width: 3%;
  margin-right: 10%;
}

.footer2 {
  margin-top: 8%;
}

.footer2 img {
  width: 50%;
  display: block;
  margin: auto;
}

.footer2 p {
  margin-left: 10%;
  color: #8B4513;
  font-size: 13px;
}

/* SP: インデックスタブ */
.back-to-top-btn {
  width: 34px !important;
  height: 90px !important;
  border-radius: 0 8px 8px 0 !important;
  right: 0 !important;
  bottom: auto !important;
  top: calc(50% + 70px);
  writing-mode: vertical-rl;
  transform: rotate(180deg) !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  line-height: 1.4;
}

.back-to-top-btn br {
  display: none;
}

.back-to-top-btn span {
  display: inline-block;
  transform: rotate(90deg);
}

.back-to-top-btn:hover {
  transform: rotate(180deg) translateX(4px) !important;
}

.vacancy-btn {
  width: 34px;
  height: 90px;
  border-radius: 8px 0 0 8px;
  right: 0;
  bottom: auto;
  top: calc(50% + 170px);
  writing-mode: vertical-rl;
  display: block;
  text-align: center;
  padding: 8px 0;
  line-height: 1.4;
}

.vacancy-btn br {
  display: none;
}

.vacancy-btn span {
  margin-top: 0;
}

.vacancy-btn:hover {
  transform: translateX(-4px);
}
}

/* タブレット */
@media (min-width: 501px) and (max-width: 960px){

#nav-pc{
 display: none;
}

.info p{
  display: none;
}

.info img{
  width: 50%;
  text-align: left;
}

#menu-sp {
  display: block;
  background-color: transparent;
  padding: 0;
  border: none;
  width: 70px;
  height: auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#menu-sp.hide {
  opacity: 0;
  visibility: hidden;
}

  #nav-sp {
    background-color:#EFE8DD;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    overflow-y: auto;
  }

 #close>img{
  width: 50px;
  height: auto;
  border: none;
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
 }

 #close{
  border: none;
 }

#nav-sp nav ul {
  padding-left: 0;
}

#nav-sp nav li {
  list-style: none;
  border-bottom: 1px solid #f5f3f3;
  padding: 2%;
  padding: 15px;
}

#nav-sp nav li a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 10%;
  box-sizing: border-box;
}

#nav-sp nav li:hover{
  border-bottom: 2px solid #cec9c9;
}

#nav-sp nav li img{
  width: 3%;
  margin-right: 10%;
}

.room-type h3{
  font-size: 24px;
}

.room-type1 h3{
  font-size: 24px;
}

.rp-left p{
  font-size: 16px;
}

.rp-left1 p{
  font-size: 16px;
}

.rp-left{
  margin-left: 7%;
  width: 30%;
}

.rp-right{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: calc(-50vw + 50% + 0%);
  position: relative;
  overflow: hidden;
  margin-left: 1%;
  width: calc(63% + (50vw - 50%) - 5%);
  display: flex;
  flex-direction: column;
  align-items: right;
}

.rp-right1{
  margin-left: calc(-50vw + 50% + 10%);
  position: relative;
  overflow: hidden;
  width: calc(63% + (50vw - 50%) - 5%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 3%;
}

.room h2{
  font-size: 36px;
}

.rp-right2{
  display: flex;
  align-items: center;
  justify-content: center;
}

.room img{
  width: 25%;
}

.rp-left2{
  margin-top: 3%;
}

.rp-left2 h5{
  font-size: 18px;
}

.footer-content {
  display: none;
}

.footer-content-sp {
  display: block;
}

#nav-footer-sp ul {
  padding: 0;
  margin: 0;
}

.footer-content-sp li {
  list-style: none;
  padding: 0;
  border-bottom: 1px solid #f5f3f3;
  padding: 2%;
}

.footer-content-sp li a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 10%;
  box-sizing: border-box;
  color: #8B4513;
}

.footer-content-sp li:hover {
  border-bottom: 2px solid #cec9c9;
}

.footer-content-sp li img {
  width: 3%;
  margin-right: 10%;
}

.footer2 {
  margin-top: 8%;
}

.footer2 img {
  width: 50%;
  display: block;
  margin: auto;
}

.footer2 p {
  margin-left: 10%;
  color: #8B4513;
  font-size: 13px;
}

/* SP: インデックスタブ */
.back-to-top-btn {
  width: 34px !important;
  height: 90px !important;
  border-radius: 0 8px 8px 0 !important;
  right: 0 !important;
  bottom: auto !important;
  top: calc(50% + 70px);
  writing-mode: vertical-rl;
  transform: rotate(180deg) !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  line-height: 1.4;
}

.back-to-top-btn br {
  display: none;
}

.back-to-top-btn span {
  display: inline-block;
  transform: rotate(90deg);
}

.back-to-top-btn:hover {
  transform: rotate(180deg) translateX(4px) !important;
}

.vacancy-btn {
  width: 34px;
  height: 90px;
  border-radius: 8px 0 0 8px;
  right: 0;
  bottom: auto;
  top: calc(50% + 170px);
  writing-mode: vertical-rl;
  display: block;
  text-align: center;
  padding: 8px 0;
  line-height: 1.4;
}

.vacancy-btn br {
  display: none;
}

.vacancy-btn span {
  margin-top: 0;
}

.vacancy-btn:hover {
  transform: translateX(-4px);
}

}