@charset "utf-8";
main {
  padding-top: 100px;
}

.wrapper {
  max-width: 780px;
  margin: 0 auto;
}
.img-box img {
  position: relative;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  display: block; 
}


header {
  width: 100%;
  height: 100px;
  position: fixed;
  display: flex;
  justify-content: space-between;
  top: 0;
  left: 0;
  right: 0;
  align-items: center;
  z-index: 100;
  background-color: white;
}

li {
  list-style-type: none;
}
.page-header li {
  margin-left: 1rem;
}
p , tr , li{
  color: #666666;
  font-family: sans-serif;
}
.noroom {
background-color: green;
}
h1 {
  color: #ffffff;
  padding-top: 100px;
  margin-bottom: 50px;
  font-size: 3.5em;
}
h2 {
  color: #666666;
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 4%;
}

.room :is(p,h1,h2,li){
  text-align: center;
  color: green;
}
.noroom :is(p,h1,h2,li){
  text-align: center;
  color: white;
}
.room h1 {
padding-top: 30px;
}
.home-content-left p {
  font-size: 1.2em;
}
.button {
  display: block;      /* ブロック要素にする */
  width: fit-content;  /* 幅を中身に合わせる（または 200px など指定） */
  margin: 0 auto;  
  padding: 10px 20px;
  background-color: green;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.button:active {
  transform: scale(0.95);      /* 0.95倍に少し小さくする */
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2); /* 影を短く、薄くする */
  background-color: darkgreen;  /* 色を少し濃くする */
}
.home-content-right span {
  font-size: 1.5em;
  font-weight: bold;
}

/* class="room"を消す */
.room {
  display: none;
}
/* class="noroom"を消す */
/* .noroom {
  display: none;
} */

.contact li {
  text-align: center;
}

.footer {
  background-color: #EFF6EE;
}
.footer h2 {
  padding-top: 50px;
  margin-bottom: 50px;
  color: #666666;
}
.footertable {
  display: flex;
  justify-content: center;
  padding-bottom: 50px;
}

.drawer_hidden {
  display: none;
}
h2 {
  height: 1px;
  display: block;
  padding-top: 100px;
  margin-top: -50px;
}
.contact_text{
  height: 200px;
}
/* モバイル版 
--------------------------------*/
@media screen and (max-width: 600px)

{
  header {
    height: 80px;
    width: auto;

  }
  .page-header {
    align-items: center;
   position: fixed; top:0;
   background-color: white;
  }
  i.page-header img {
  max-width: 100%; /* 親要素の幅を超えないようにする */
  height: auto;    /* 縦横比を維持したまま縮小させる */
  display: block;  /* 画像の下にできる謎の隙間を消す */
}


  /* .nav_list {
    flex-direction: column;
  }


  .img-box {
    width: 100%;
  }
  .home-content {
    flex-direction:  column;
    align-items: center;
    height: auto;
    padding: 20px;
  }


  .detail {
    margin-top: -150px;
    padding-top: 150px;
  }


/* .detail-text p {
  padding: 10px;
}
.detail img {
  width: 100%;
} */
.footertable table{
  padding-left: 4px;
  padding-right: 4px;
}
 }

 /* スマホ版 
--------------------------------*/
@media screen and (max-width: 380px)
{
  .tabl {
    white-space: nowrap;
  }
  /* .img-box {
    width: 100%;
  } */
  
  header {
    height: 70px; /* スマホでは少し細くするのも手です */
  }

}
