@charset "UTF-8";

html,body {
  font-size: 100%;
  font-family: "ah-hakushu-sutra-typeface", sans-serif;
  color: #fff;
  font-style: normal;
  font-weight: 200;
  max-width: 100%;
  margin: 0;
  height:auto;
  padding: 0;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

a {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
}

h2 {
  font-size: 2rem;
}

p {
  font-size: 1.8rem;
}

#header .logo {
  position: absolute;
  width: 10%;
  margin-top: 1%;
  margin-left: 2%;
  z-index: 1000;
}

/* ハンバーガーメニューの三本線 */
#toggle {
  position: fixed;
  top: 3%;
  right: 2%;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000;
}

#toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}

#nav-menu {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 35vw;
  height: 100vw;
  background: rgba(0, 0, 0, 0.95);
  transition: right 0.4s;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#nav-menu.active {
  right: 0;
}

#nav-menu .navi {
  position: absolute;
  top: 5%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  padding: 0;
}

#nav-menu .sns {
  position: absolute;
  top: 30%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  padding: 0;
}

#nav-menu li {
  margin: 24px 0;
}

#nav-menu a {
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
}

#navi-menu img {
  width: 90%;
  max-width: 80%;
}
/* ====================================================-bg */
#background-img {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  pointer-events: none;
  display: flex;
  z-index: -1;
  justify-content: center;
  align-items: center;
  filter: brightness(0.4);
}

#background-img img {
  width: 100vw;
  height: 100vh;
}

/* =======================================================mv */
.div-mv {
  position: relative;
  width: 80%;
  height: 50vh; /* 画像の高さに合わせて調整 */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5% auto 0 auto;
}

.div-mv .mv {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  /* left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); */
  object-fit: cover;
}


.sec-title {
  color: #ffffff;
  font-size: 5rem;
  margin: 0.3em auto;
}

.sec-title,
.div-mv,
.gide-title,
.text-small
{
  opacity: 0;
  filter: blur(8px);
  transition: opacity 2s, filter 2s;
}

.sec-title.fadein,
.div-mv.fadein,
.gide-title.fadein,
.text-small.fadein
{
  opacity: 1;
  filter: blur(0);
}


#first-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* ================================================== */
.room-gide {
  text-align: left;
  margin: 5em auto 20em auto;
  width: 75%;
}

.room-gide h2 {
  font-size: 3rem;
  margin-bottom: 5%;
  text-align: center;
}

.room-root {
  /* display: flex; */
  margin-top: 5%;
  margin-bottom: 20em;
  gap: 3%;
}

.room-img {
  display: block;
  width: 80%;
  object-fit: contain;
  margin: 0 auto;
}

.room-text {
  flex-direction: column;
  margin: 2em 3em;
}

.room-title {
  font-size: 2.3em;
}

.text-small {
    text-align: center;
}

/* ======================================================bed */
.room-room {
  align-items: center;
  margin-top: 5%;
  margin-bottom: 20em;
}

.bed-img {
  width: 80%;
  height: auto;
  object-fit: cover;
  display: block;
}

.bed-text {
  width: 60%;
}


/* =================================================sideroom */
.side-room {
  text-align: left;
  margin: 0 auto;
  width: 80%;
}

.side-room .side-title  {
  font-size: 3em;
  margin-bottom: 5%;
  text-align: center;
}

.side-room-img {
  display: block;
  width: 80%;
  object-fit: contain;
}

.text {
  flex-direction: column;
  margin: auto 3%;
}

.room-text-1 {
  padding: 1%;
}

.room-text-2 {
  padding: 1%;
  margin-top: 3%;
}

.side-title span {
  opacity: 0;
  filter: blur(4px);
  display: inline-block;
  transition: opacity 1.2s, filter 0.8s;
}
.side-title span.visible {
  opacity: 1;
  filter: blur(0);
}

.room-img {
  opacity: 0;
  filter: blur(4px);
  transform: translateX(-40px);
  transition: opacity 1.2s, filter 0.8s, transform 1.2s;
}

.room-img.fadein {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

/* ==============================================================
==================================================================*/
#amenities .amenities-title {
  text-align: center;
  color: #333;
}

#amenities {
  background: #e8e8e8b0;
  border-radius: 18px;
  margin: 0 15em;
  padding: 0.5em;
  line-height: 1.5;
}

.amenities-list dt {
  font-size: 1.3em;
  text-align: center;
  font-weight: bold;
  margin-top: 1em;
  color: #333;
  line-height: 1;
}
.amenities-list dd {
  text-align: center;
  margin-left: 1em;
  color: #555;
  font-size: 0.95em;
  font-size: 1.2em;
}

/* ========================================================-
===============================================footer */
#footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
  margin-top: 40px;
  bottom: 0;
  width: 100%;
}

.sns-list {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 16px 0 0 0;
  padding: 0;
  justify-content: center;
}

small {
  font-size: 1.2rem;
}

#footer .name {
  margin-left: 1em;
  padding: 2%;
  color: cornsilk;
}
/* =======================================================--
======================================================レスポンシブ */

@media screen and (max-width: 1024px) {
    #header .logo {
    width: 30%;
    margin-top: 3%;
    margin-left: 3%;
  }

  #toggle {
    top: 5%;
    right: 3%;
    width: 80px;
    height: 48px;
  }

  #nav-menu a {
    font-size: 3em;
  }

   #nav-menu {
    height: 100%;
    width: 70vw;
  }

  #nav-menu .navi {
    top: 15%;

  }

  #nav-menu .sns {
    top: 55%;
  }

  small {
    font-size: 1.8rem;
  }

  #footer .name {
    font-size: 1.8rem;
    padding: 2%;
    color: cornsilk;
  }
}

/* =============================================================
========================640==================================-= */
@media screen and (max-width: 640px) {

    #header .logo {
    width: 30%;
    margin-top: 3%;
    margin-left: 3%;
  }



  #toggle {
    top: 5%;
    right: 3%;
    width: 60px;
    height: 40px;
  }

  #nav-menu a {
    font-size: 2em;
  }

   #nav-menu {
    height: 100%;
    width: 70vw;
  }

  #nav-menu .navi {
    top: 10%;

  }

  #nav-menu .sns {
    top: 45%;
  }
  /* ================================================mv */
  .div-nav {
    margin: 0 auto;
    width: 90%;
  }

  /* ================================================section */
.room-gide h2{
  font-size: 2.5rem;
  margin: 5em auto;
}

.text-small {
  font-size: 1.5rem;
  line-height: 1.5;
}

.room-title {
  font-size: 1.8em;
  margin-bottom: 1em;
}

.room-text-2 {
  font-size: 1.5em;
  line-height: 1.5;
}

.side-room {
  width: 90%;
}

.side-room .side-title {
  font-size: 2.2rem;
}

.room-title {
  font-size: 1.6rem;
}

/* =======================================================amenities */
#amenities {
  margin: 0;
  padding: 1em;
}

 #footer {
    font-size: 0.7rem;
    padding: 16px 0;
    margin-top: 24px;
  }

  #footer .sns-list {
    flex-direction: column;
  }

  #footer .sns-list a {
    font-size: 1em;
    color: #fff;
  }
small {
    display: flex;
    flex-direction: column;
  }

  #footer .name {
    font-size: 1.2em;
    padding: 2%;
    color: cornsilk;
  }
}