.container {
  max-width: 80%;
  margin: 100px auto;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .container {
    max-width: 90%;
    margin: 100px auto;
  }
}

/* カード */
.diary-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* スライダー */
.slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    max-width: 500px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    object-fit: cover;
    border-radius: 15px;
}

/* 中央 */
.slide.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
}

/* 左 */
.slide.prev {
    opacity: 0.5;
    transform: translate(-150%, -50%) scale(0.8);
    z-index: 2;
}

/* 右 */
.slide.next {
    opacity: 0.5;
    transform: translate(50%, -50%) scale(0.8);
    z-index: 2;
}


/* ボタン */
.prevBtn,
.nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 50px;
  height: 50px;

  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);

  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);

  border-radius: 50%;
  cursor: pointer;

  font-size: 22px;
  font-weight: 300;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
  z-index: 10;
}

.prevBtn {
  left: 15px;
}

.nextBtn {
  right: 15px;
}

.prevBtn:hover,
.nextBtn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.prevBtn:active,
.nextBtn:active {
  transform: translateY(-50%) scale(0.95);
}

.prevBtn svg,
.nextBtn svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
  fill: none;
  z-index: 100;
}

/* テキスト */
.content {
  padding: 20px;
}

.content p {
  line-height: 1.9;
  font-size: 15px;
}

.diary-header {
  padding: 20px 20px 10px;
}

.meta {
  font-size: 13px;
  color: #888;
  display: flex;
  justify-content: space-between;
}

.title {
  margin: 8px 0 0;
  font-size: 20px;
}
