/* ===== Spots Show - Elegant Minimal Ethereal Design ===== */

/* フェード・イン アニメーション */


@keyframes fadeInEthereal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spots-show-container {
  margin: 70px auto 0;
  padding: 60px 50px;
  background: #fefdfb;
  min-height: 100vh;
  max-width: 1100px;
}



.spot-title {
  font-size: 24px;
  font-family: 'Sawarabi Mincho', serif;
  color: #5a5a5a;
  margin: 0 0 20px 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(180, 160, 140, 0.15);
  font-weight: 100;
  letter-spacing: 0.8px;
  animation: fadeInEthereal 0.8s ease-out 0.1s forwards;
  opacity: 0;
  max-width: calc(100% - 40px);
  overflow-x: auto;
  text-overflow: clip;

}

/* ===== Main Layout ===== */

.paper-main-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  /* align-items: stretch; */
  animation: fadeInEthereal 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.paper-left-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.gallery-image {
  height: auto;
  max-height: 750px;
  width: 100%;
  object-fit: contain;
  border: none;
  opacity: 0;
  /* padding: 50px 30px; */
  animation: fadeInEthereal 0.8s ease-out 0.3s forwards;
}


.left-info-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  animation: fadeInEthereal 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.like-action {
  display: flex;
  align-items: center;
  gap: 5px;
}

.like-btn {
  font-size: 20px;
  color: #d4a5a5;
  transition: color 0.3s ease;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  opacity: 0.7;
}

.like-btn.liked {
  color: #b04266;
  opacity: 0.9;
}

.like-btn:hover {
  color: #cf507b;
  opacity: 1;
}

.like-count {
  font-size: 14px;
  color: #aaa;
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0.8;

}

.info-label {
  font-size: 13px;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  color: #5a5a5a;
  letter-spacing: 1.5px;
}

.info-value {
  font-size: 16px;
  font-family: 'Sawarabi Mincho', serif;
  color: #5a5a5a;
  text-decoration: none;
  transition: opacity 0.3s ease;
  border-bottom: 0.8px solid rgb(230, 216, 202);
  display: inline-block;
  padding-bottom: 2px;
}

.info-value:hover {
  border-bottom: 0.8px solid rgb(192, 179, 166);
}

.paper-content {
  margin: 30px auto;
  writing-mode: vertical-rl;
  animation: fadeInEthereal 0.8s ease-out 0.25s forwards;
  opacity: 0;
  max-width: 100%;
  overflow-x: auto;
}

.paper-content p {
  max-height: 1300px;
  font-size: 17px;
  line-height: 2.7;
  color: #5a5a5a;
  font-family: 'Sawarabi Mincho', serif;
  margin: 0;
  opacity: 0.7;
  font-weight: 300;
  text-decoration: underline 0.1px rgb(146, 150, 162);
  text-shadow: 1px 2px 20px rgba(132, 124, 124, 0.3);
  text-underline-offset: 8px;
  /* writing-mode: vertical-rl; */
  text-orientation: upright;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;


}

/* ===== Footer ===== */
.paper-footer {
  margin-top: 50px;
  animation: fadeInEthereal 0.8s ease-out 0.5s forwards;
  opacity: 0;
}

.delete-button {
  position: relative;
  top: 20px;
  font-size: 14px;
  color: #5a5a5a;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px ;
  border-bottom: 1px solid rgba(200, 180, 160, 0.15);
  display: inline-block;
  opacity: 0.7;
}

.delete-button:hover {
  border-bottom: 1px solid rgba(133, 121, 108, 0.3);
  opacity: 1;
}

/* ===== Responsive Design ===== */

/* Tablet: 1024px以下 */ 


@media screen and (max-width: 1024px) {

  .paper-main-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-image {
    max-height: 450px;
  }

  .spot-title {
    font-size: 22px;
    margin: 0 0 18px 30px;
    letter-spacing: 1px;
  }
  .paper-content p {
    max-height: 900px;
  }
}

/* Small Tablet: 768px以下 */ 
@media screen and (max-width: 768px) {
  .spots-show-container {
    padding: 40px 24px;
    margin: 30px auto 0;
    max-width: 100%;
    min-width: auto;
  }

  .spot-title {
    font-size: 19px;
    letter-spacing: 0.1px;

    border-bottom: 1px solid rgba(180, 160, 140, 0.1);
  }
  
  .paper-left-section {
    gap: 28px;
  }


  .paper-content {
    padding: 24px 0;
  }

  .paper-content p {
    font-size: 15px;
    text-underline-offset: 5px;
    max-height: 1300px;
  
  }


}

/* Mobile: 524px以下 */
@media screen and (max-width: 524px) {
  /* body {
  padding: 0 10px;
  } */

  .spots-show-container {
    padding: 20px 8px;
  }

  .spot-title {
    font-size: 21px;
    margin: 0 0 14px 8px;
  }

  .left-info-section {
    gap: 14px;
    padding-top: 12px;
  }

  .paper-content p {

    line-height: 1.7;
  }

  .delete-button {
    position: relative;
    top: 0px;
    left: 20px;
  }




}
