@charset "UTF-8";

*{
  font-size: 62.5%;
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  list-style:none;
  text-decoration:none;
  color: #666565;
}
.mv{
  position:relative;
}
.mv img{
  width: 100%;
  height: auto;
  padding-top: 30%;
}

h1{
  position: absolute;
  top: 75%;
  left: 5%;
  color: white;
  text-shadow: 2px 2px 5px rgb(102 102 102 / 80%);
  font-size: 2.5rem;
}
.spview {
  display: none;
}

h2{
  font-size: 2.3rem;
  padding: 5%;
}
h2 {
  position: relative;
  text-align: center;
  margin-bottom: 1em;
}
h2:before {
  content: '';
  position: absolute;
  bottom: 30%;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: rebeccapurple;
  border-radius: 2px;
}


h3{
  font-size: 2rem;
  color: #666565;
}

header{
  padding-top: -20rem;
  position: fixed;
  top: 0;
  left: auto;
  z-index: 5;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}

header .flex{
  width: 80%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 4rem;
}
header nav{
  padding-top: 2%;
}
.header a{
  color:#75042afa
}
.facility dl{
  margin:2%;
}
.facility dd{
  margin: 2% auto;
  width: 70%;
  text-align: left;
  font-size: 1.2rem;
}
.facility dt{
  font-size: 1.5rem;
  font-weight: bold;
}


.container {
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr; 
  grid-template-rows: 1fr 1fr; 
  gap: 0 5%; 
  grid-template-areas: 
    "entrance lounge dining"
    "room bath consultation"
}
.entrance { grid-area: entrance; }
.lounge { grid-area: lounge; }
.dining { grid-area: dining; }
.room { grid-area: room; }
.bath { grid-area: bath; }
.consultation { grid-area: consultation; }

.facility ul{
  max-width: 100%;
}
.facility p{
  word-wrap: break-word;
}
.container{
  padding: 2% 0;
}


.flex-2{
  display: flex;
  justify-content: space-around;
  width: 80%;
  border-collapse: collapse;
  margin: 0 auto;
  padding-top:2% ;
}
.gmap,.info-t{
  width: 50%;
  margin: 0;
}
.info-t{
  margin: 0;
  width:100%;
}
.info-t th{
  font-size: 1.5rem;
  text-align: left;
  padding-left: 2%;
}
.info-t td{
  font-size: 1.2rem;
  text-align: left;
}

h4{
  padding: 3%;
  font-size: 1.7rem;
  color: #666565;
}

.guidance-t th,.guidance-t3 th{
  white-space: nowrap;
}
.guidance-t,.guidance-t3,.guidance-t2{
  border-collapse: collapse;
  border: solid 2px #663399;
}
.guidance-t th,.guidance-t td,.guidance-t3 th,.guidance-t3 td,.guidance-t2 td,.guidance-t2 th{
  border: dashed 1px rebeccapurple;
  font-size: 1.5rem;
}
.guidance-t,.guidance-t3{
  width: 75%;
}

.guidance,.guidance td,.guidance-t3 th,.guidance-t3 td{
  text-align: left;
}
.guidance-t td,.guidance td,.guidance-t3 td{
  padding-left: 2%;
}
.guidance1,.guidance2,.guidance3,.guidance4,.info-t th,.info-t td{
  font-size: 1.4rem;
}
.guidance1,.guidance2{
  padding: 2%;

}

.guidance3,.guidance4{
  width: 40%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

.contact p{
  font-size: 1.4rem;
  padding-bottom: 5%;
}
.contact a{
  font-size: 2rem;
  padding: 20px;
  margin-bottom: 10px; 
  border: 5px double #75042afa; 
  border-radius: 10px;
}
.g-form{
  margin: 5%;
}

footer{
  margin-top: 20%;
}
.header-logo-1{
  display: none;
}
.copyright{
  background-color: rebeccapurple;
  color: white;
}

@media(max-width: 959px) {
  .header-logo{
    display: none;
  }
  .header-logo-1{
    display: block;
  }
  header{
    padding-top: -20rem;
    position: fixed;
    top: 0;
    left: auto;
    z-index: 5;
    width: 100%;
    background-color:rebeccapurple;
  }
  header .flex{
    width: 95%;
  }
  header a{
    font-size: 1.5rem;
    color: white;
  }
  .mv{
    padding-top: 15%;
  }
  .mv img{
    width: 100%;
    padding: 0;
  }
  h1{
    font-size: 1.3rem;
  }
  .spview,.flex-2{
    display:block;
  }
  .container{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
  }
  .container dd{
    width: 52%;
  }
  .entrance,.lounge,.dining,.room,.bath,.consultation{
    grid-column: 1;
    grid-row: auto;
  }
  .container img{
    max-width: 100%;
  }
  .guidance th,.guidance td{
    text-align: left;
  }
  .gmap,.flex-2{
    width: 100%;
  }
  .info-t{
    margin: 0 auto;
  }
  .guidance3,.guidance4{
    width: 50%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
  .store-name,.store-address,.store-tel{
    display: none;
  }
}

@media(max-width: 519px) {
  .header
  .header-logo{
    display: none;
  }
  .header-logo-1{
    display: block;
  }
  header{
    padding-top: -20rem;
    position: fixed;
    top: 0;
    left: auto;
    z-index: 5;
    width: 100%;
    background-color:rebeccapurple;
  }
  header .flex{
    width: 95%;
  }
  header a{
    font-size: 1rem;
    color: white;
  }
  .mv{
    padding-top: 15%;
  }
  .mv img{
    width: 100%;
    padding: 0;
  }
  h1{
    font-size: 1.3rem;
  }
  h2:before {
    content: '';
    position: absolute;
    bottom: 15%;
    display: inline-block;
    width: 60px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: rebeccapurple;
    border-radius: 2px;
  }
  
  .spview,.flex-2{
    display:block;
  }
  .container{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
  }
  .container dd{
    width: 70%;
  }
  .entrance,.lounge,.dining,.room,.bath,.consultation{
    grid-column: 1;
    grid-row: auto;
  }
  .container img{
    max-width: 100%;
  }
  .guidance th,.guidance td{
    text-align: left;
  }
  .gmap,.flex-2{
    width: 100%;
  }
  .info-t{
    margin: 0 auto;
  }
  .guidance3,.guidance4{
    width: 50%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
  .store-name,.store-address,.store-tel{
    display: none;
  }

}