@charset "utf-8";
.main-view {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}
.main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-view-side {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  width: 20vw;
  height: 100%;
  padding: 10px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: right;
}

.main-view-line {
  height: 80%;
  width: 50px;
  /* border-bottom: 1px solid #000; */
  border-left: 1px solid #000;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: flex-end;
}

.vertical-h3 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.7rem;
  margin-bottom: 20px;
  margin-right: 4px;
  white-space: nowrap;
}
.vertical-content {
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
}
.border-line {
  margin: 10vh auto 15vh;
  max-width: 1000px;
  border-top: 1px solid #000;
  font-size: 1.3rem;
  text-align: center;
  position: relative;
}
h4 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 60px;
}
section {
  padding: 0 5vw 5vw;
  margin: 0 auto 10vh;
}
.stay-box {
  display: flex;
  max-width: 1100px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.stay-img {
  width: 40%;
  height: auto;
  aspect-ratio: 5/3;
}
.stay-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stay-text {
  width: 55%;
  margin-left: 30px;
  padding: 10px;
  line-height: 2;
}
h5 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .main-view {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
  }
  .main-view-side {
    width: 30vw;
  }
  .vertical-content {
    font-size: 0.9rem;
  }
  .vertical-h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  .stay-box {
    flex-direction: column;
  }
  .stay-img {
    width: 100%;
    aspect-ratio: 5/3;
  }
  .stay-img img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    height: auto;
  }
  .stay-text {
    width: 100%;
    margin-left: 0px;
    padding: 10px;
    line-height: 1.7;
  }
}
