@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@200;300;400;500;600;700;800;900&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  
  font-family: 'Roboto Slab', serif;
  scroll-behavior: smooth;
}


li {
  list-style: none;
}

a {
  text-decoration: none;
}

.container {
 
  max-width: 80%;
  margin: auto;
}


.head_container {
  max-width: 90%;
  margin: auto;
}
#backToTop {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 10px; /* Place the button at the bottom of the page */
  right: 3px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: 1px solid #ddb756; /* Remove borders */
  outline: none; /* Remove outline */
  font-size: 20px;
  background-color:rgb(231 181 73); /* Srgb(231 181 73);et a background color */
  color: rgb(12, 12, 12); /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 50%; /* Rounded corners */
}
#backToTop:hover {
  background-color: #ddb756; /* Add a dark-grey background on hover */
}

.logo img {
  /* display: none; */
  /* margin-left: 45px; */
  width: 180px;
}

.logo2 img{
    display: none;
    width: 100px;
    border-radius: 45%;

}
.logoname{
  text-align: center;
  color: #fff;
  font-family: serif;
  font-size: 15px;
}


.hambuger {
  display: none;
}
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}

header {
  position: fixed;
  z-index:10;
  top: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  transition: all 0.5s ease-in-out;
  
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}
header ul {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

header ul li {
  margin-left: 35px;    
  
}



header ul li a {
  font-size: 22px;
  color: white;
  transition: 0.5s;
}


header.sticky {
  z-index: 10;
  height: 14vh;
  background:#ffffff8a;
  padding: 10px 15px;
  box-shadow: 0px 5px 10px rgb(247, 246, 246);
 
}
header.sticky .logo img{
  display: none;
}
header.sticky .logo2 img{
  display: block;
  position: absolute;
  top: 15%;
  left: 10%;
}
header.sticky .logo h2{
  display: none;
}

header.sticky a {
  color: #000000e1;
  font-weight: bold;

}
.sticky h2{
  font-weight: bold;
  color: black;

}
header ul li:last-child a:hover{
  background-color: #ffffff;

}
header ul li a:hover {
  color: #f5b20aec;
}



/*--------------header--------*/
/*--------------home--------*/
.home .image img {
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: 3s;
}
.home .image .show{
  opacity: 1;
}



.home h1 {
  font-size: 80px;
  font-weight: 600;
}

.home p {
  font-weight: 400;
  line-height: 25px;
  font-family: sans-serif;
  font-size: 17px;
  margin: 50px 0 0 50px;
}

button {
  padding: 20px 40px;
  background: none;
  outline: none;
  border: 2px solid white;
  border-radius: 50px;
  color: white;
  margin-top: 20px;
}

.home .image_item {
  position: absolute;
  top: 20%;
  right: 20%;
  display: flex;
  flex-direction: column;
  cursor: pointer
  
}

.home .image_item img {
  width: 140px;
  height: 94px;
  margin: 10px;
  transition: 3s;
  
}

.home .image_item img.active {
  border: 2px solid white;
}

.home .text {
 color:#fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15%;
  opacity: 1;
  
}
.home .box .text {
  position: relative;
} 
.home .box .text img{
  width: 400px;
  height: auto;
  

}

.home .box .text::after {
  position: absolute;
  content: '9HOTEL TENJINの１階にプライベートサウナ併設、全１０室の宿泊施設です。 ビジネス利用、観光利用、デートなど。';
  margin-top: 50%;
  font-size: 20px;
  opacity: 0.5;
}


/*--------------home--------*/
/*--------------book--------*/
.flex {
  display: flex;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
}

.book {
  /* display: none; */
  
  width: 100%;
  height: 20vh;
  color: white;
}

.book .input {
  background: #242e5a;
  padding: 20px 20px 40px 20px;
}

.book .search {
  text-align: center;
  background: #03b2f7e3;
  padding: 20px;
 
}

.search:hover{
  background: #0eb3f5be;
}

.search a{
  margin: 20%;
  font-size: 28px;
  color: #fff;
}
.search a:hover {
  color: #0f0f0f;
}

input {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  outline: none;
  background: #263760;
  margin-top: 20px;
  color: white;
}

::placeholder {
  color: white;
}

.book .search {
  width: 20%;
}

.book .search input {
  background: none;
  border: none;
  font-weight: bold;
  font-size: 20px;
  margin-top: 40px;
}

/*--------------book--------*/
/*--------------about--------*/
.top {
  margin-top: 11%;
}

.mtop {
  margin-top: 20%;
}

.left, .right {
  width: 50%;
}

.about {
  margin-top: 70px;
  margin-bottom: 50px;
}

.about .img {
  position: relative;
}

.about .image1 {
  width: 310px;
  height: 450px;
}

.about .image2 {
  width: 325px;
  height: 220px;
  position: absolute;
  bottom: 5px;
  z-index: 1;
  right: 15%;
}

.button-text {
  padding: 15px 25px;
  background: #ddb756;
  font-size: 20px;
  border-radius: 20px;
  color: rgb(245, 244, 240);
  margin-top: 20px;
}

.home.button {
  margin-left: 50px;
}


.heading {
  position: relative;
}

.heading::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100px;
  height: 4px;
  background: #C1B086;
}

.heading h5 {
  font-weight: 400;
  letter-spacing: 2px;
  padding-top: 20px;
  color: #5f5f5f;
}

.heading h2 {
  font-size: 30px;
  font-weight: 400;
  margin: 10px 0 40px 0;
  color: #222222;
}

.heading p {
  margin-bottom: 20px;
  line-height: 25px;
  color: #5f5f5f;
  margin: 0 0 20px 50px;
}

.heading .btn1 {
  margin: 50px 0 20px 50px;
}

.btn1 {
  background: #C1B086;
  color: white;
}

/*--------------about--------*/
/*--------------wrapper--------*/
.wrapper {
  background-image: url("../image/font.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 480px;
  position: relative;
  /* margin-top: 12%; */
}

.wrapper .text {
  background: #17a0d693;
  padding: 50px;
  width: 40%;
  height: 575px;
  position: absolute;
  top: -10%;
  right: 10%;
  padding-top: 10%;
  color: white;
}

.wrapper .content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 30px;
}

.wrapper h2 {
  font-weight: 400;
}

.wrapper p {
  margin: 20px 0 50px 0;
  line-height: 30px;
}

.wrapper i {
  margin: 5px 20px 0 0;
}

/*--------------wrapper--------*/
/*--------------room--------*/
.flex1 {
  display: flex;
  justify-content: space-between;
}

.room .grid {
  grid-template-columns: repeat(3, 1fr);
}

.room img {
  width: 100%;
  height: 100%;
}

.room .box {
  box-shadow: 0 13px 43px 0 rgb(37 46 89/10%);
}

.room .text {
  padding: 20px;
  font-family: serif;
}

.room h3 {
  font-weight: 400;
  margin-bottom: 10px;
}

.room p span {
  font-size: 12px;
  color: grey;
}

.room p {
  font-size: 20px;
}

/*--------------room--------*/
/*--------------wrapper2--------*/
.wrapper2 {
  background-image: url("../image/調整1-02914.jpg");
}

.wrapper2 .text {
  left: 10%;
}

.wrapper2 h5,
.wrapper2 h2 {
  color: white;
}

.wrapper2 img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 20px;
}

.wrapper2 .para h5 {
  font-size: 13px;
  font-weight: 300;
  margin-top: 5px;
}

.wrapper2 .para {
  margin-left: 10%;
}

/*--------------wrapper2--------*/
/*よくある質問*/
.restaurant img {
  width: 100%;
  height: 100%;
}

.restaurant .right {
  padding: 0px 50px 50px 100px;
}

.restaurant h2 {
  margin-bottom: 20px;
  font-weight: 400;
}

.restaurant .text p {
  margin-bottom: 50px;
  line-height: 25px;
}

.accordionItem {
  margin-top: 30px;
}

.accordionItem p {
  font-size: 15px;
  opacity: 0.8;
  font-family: sans-serif;
  line-height: 20px;
}

.accordionIHeading {
  cursor: pointer;
  width: 100%;
  border-radius: 3px;
  font-weight: 400;
  font-size: 17px;
  color: #C1B086;
  margin-bottom: 20px;
}

.close .accordionItemContent {
  height: 0px;
  transition: height 1s ease-out;
  transform: scaleY(0);
  float: left;
  display: block;
  background-color: #fff;
}

.open .accordionItemContent {
  padding: 30px;
  background-color: #fff;
  width: 100%;
  margin: 0 0 10px 0;
  display: block;
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.4s ease;
  box-sizing: border-box;
  box-shadow: 0 13px 43px 0 rgb(37 46 89 / 10%);
}

/*--------------restaurant--------*/
/*--------------gallary--------*/
.gallary img {

  height: 350px;
  transition: 0.8s;
}

.owl-carousel .owl-next,
.owl-carousel .owl-prev {
  height: 50px;
  position: absolute;
  width: 50px;
  cursor: pointer;
  top: 35%;
  background: white !important;
  transition: 0.5s;
}

.owl-carousel .owl-prev {
  left: 33px;
}

.owl-carousel .owl-next {
  right: 33px;
}

.owl-carousel .owl-next:hover,
.owl-carousel .owl-prev:hover {
  background: #C1B086 !important;
}

/*--------------gallary--------*/
/*--------------map--------*/
.map iframe {
  width: 100%;
  
}

/*--------------map--------*/
/*--------------footer--------*/
footer h3 {
  margin-bottom: 20px;
}

footer li {
  margin-bottom: 15px;
  transition: 0.5s;
}

footer li:hover {
  color: #C1B086;
  cursor: pointer;
}

/*--------------footer--------*/
.slider{
  
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: serif;
  position: relative;
  margin-top: 100px;
  width: 100%;
  height: 370px;
  overflow: hidden;
}
.slider img{
  position: relative;
  margin-bottom: 20px;
  width: 100%;
  height: 150px;
  border-radius: 10px;
}
.slider h1{
  text-align: center;
}
.slider .item{
  position: absolute;
  width: 250px;
  height: 400px;
  text-align: justify;
  background-image: linear-gradient(to top right, #e2c36b, #e09137);
  border-radius: 20px;
  padding: 20px;
  transition:  0.5s;
  left: calc(50% - 110px);
  top: 0;
}
 #next{
  position: absolute ;
  right: 10%;
  
}
 #prev{
  position: absolute;
  left: 10%;
  
}
 #prev, #next{
  justify-content: center;
  color: orange;
  border: none;
  font-size: xxx-large;
  font-family: monospace;
  font-weight: bold;
  opacity: 0.5;
  transition: opacity 0.5s;
}
#prev:hover,
#next:hover{
  opacity: 1;
}
/* ----------------------mobile------------ */
@media screen and (max-width:1155px) {
  .home .image img{
    object-fit: cover;
  }
  .home .image_item {
    display: none;
  }
  
  header ul li a {
    
    font-size: 12px;
  }
  .book {
    display: none;
  }
  .logo img{
    
    width: 100px;
  }
  .logo2 img{
    width: 75px;
  }
  .logoname{
    font-size: 8px;
  }

  
}

@media only screen and (max-width: 768px) {
  .top{
    margin-top: 15%;
  }
  
  .logo img{
    width: 150px;
  }
  .logo2 img{

    width: 100px;
    top: 10%;
    left: 10%;
  }

  .logoname{
    text-align: center;
    color: #fff;
    font-size:10px;

  }

  header {
    height: 11vh;
    
  }
  .sticky h2{
    color: #fff;
  }


  header ul {
    display: block;
    position: fixed;
    left: -100%;
    top: 7rem;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.5s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 20;
  }

  header.sticky{
    background: none;
    box-shadow: none;
  }

  header ul.active {
    left: 0%;
  }

  header ul li {
    margin: 2.5rem 0;
  }
 .language-button img{
                
   margin-left: 100px;
  }
  header ul li a {
    color: black;
  }

  .hambuger {
    display: block;
    cursor: pointer;
  }
  .sticky .bar{
    background-color: black;
  }

  .hambuger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hambuger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hambuger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


@media only screen and (max-width:768px) {
  
  .restaurant .container,
  .about .container {
    flex-direction: column;
  }
  .home .box .text::after{
    display: none;
   
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .book {
    border-radius: 20px;
    padding-bottom: 50px;
    margin-top: 40%;
    height: auto;
  }
  
  .book .search {
    width: 100%;
  }

  .book .search input {
    margin-top: 0;
  }

  .left, .right {
    width: 100%;
  }

  .wrapper .text {
    width: 80%;
    top: -5%;
  }
  .wrapper{
    margin-top: 10%;
  }

  .room {
    margin-bottom: 100px;
  }

  .room .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .button-text {
    display: ruby;
    padding: 15px 30px;
    font-size: 20px;
  }
  .restaurant .right {
    padding: 0;
    margin-top: 50px;
  }

  footer .payment {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media only screen and (max-width:768px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .home .text {
    margin: 50% 0 50% 5%;
  }

  .home h1 {
    font-size: 50px;
  }

  .about p,
  .home p {
    margin: 50px 0 0 0;
  }

  .wrapper .text {
    padding: 10px;
    height: 115%;
  }

  .heading_top {
    margin-top: 100px;
  }

  .heading_top button {
    display: none;
  }

  .restaurant .flex {
    flex-direction: column-reverse;
  }
  
}
@media only screen and (max-width:500px){
  .home .box .text img {
    width: 250px;
      
  }
  .home .image img{
    height: 72%;
    object-fit: initial;
  }
  
  
  .book .heading h2 ,.book .heading h5{
    color: #fff;

  }
  .heading h5{
    font-size: 11px;
  } 
  .heading h2{
    font-size: 30px;

  }
  .about .image2{
    right: 2%;
  }
  .wrapper_name{
    margin-top: -10%;
    display: block;
  }
  #next{
    position: absolute ;
    right: 0;
    z-index: 2;
    padding: 0px;
    opacity: 2;
    
  }
   #prev{
    opacity: 2;
    padding: 0px;
    left: 0;
    
  }
  .man .shampoo{
    font-size: 12px;
  }
  
}
@media only screen and (max-height: 431px){
  .wrapper {
    margin-top: -20%;
}
.home .text {
  max-width: none;
  color: white;
  margin: 12% 0 0 10%;
}
.gallary img {
  object-fit: contain;
}
  
}