@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;
}
.spa-about-note,
.spa-onsen-note {
  margin: 0 auto;
  padding: 0 5vw;
}
.spa-about-note p,
.spa-onsen-note p {
  line-height: 2.5;
  text-align: center;
}
.spa-grid {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.spa-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spa-text {
  display: flex;
  align-items: flex-end;
  line-height: 2.5;
  font-size: 1rem;
  padding: 0 50px 50px 0;
  position: relative;
}

.spa-three-img {
  grid-column: 1 / -1;
  display: flex;
  gap: 20px;
}

.spa-three-thumb {
  flex: 1 1 0;
}

.spa-three-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.spa-text::before {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 1px;
  height: 40%;
  background-color: #bfa16f;
  box-shadow: 15px -15px 0 #767ec9;
}

/* 下の横線（2本） */
.spa-text p::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 60%;
  height: 1px;
  background-color: #bfa16f;
  box-shadow: 15px -15px 0 #767ec9;
}

h5 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.spa-gide {
  padding: 0 20px;
  max-width: 800px;
  margin: 0 auto;
}
.spa-gide p {
  margin-bottom: 30px;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .pc-br {
    display: none;
  }
  .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;
  }
  .spa-grid {
    display: block;
    padding: 24px 12px;
    margin-bottom: 10px;
  }

  .spa-main-img {
    order: 1;
    margin-bottom: 16px;
  }

  .spa-three-img {
    order: 2;
    display: flex;
    gap: 8px;
    margin: 0 0 16px 0;
  }

  .spa-three-thumb {
    flex: 0 0 calc(33.333% - 6px);
  }

  .spa-three-thumb img {
    width: 100%;
    height: 120px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .spa-text {
    order: 3;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-left: 10px;
  }

  h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .spa-gide {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  .spa-gide p {
    margin-bottom: 15px;
  }
  .spa-about-note p,
  .spa-onsen-note p {
    line-height: 2;
  }

  h4 {
    margin-bottom: 30px;
  }
}
