/* =========================
   Diary CTA (img + overlay text)
========================= */

.diary-cta {
  width: 100%;
}

/* 画像コンテナ */
.diary-cta__media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 画像（ワイド100%） */
.diary-cta__img {
  display: block;
  width: 100%;
  height: auto;
}

.diary-cta__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38); 
  z-index: 1;
}

/* テキストを画像の上に */
.diary-cta__inner {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 56px 16px;
  text-align: center;
  color: #fff;
}

.diary-cta__eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  opacity: 0.85;
  margin-bottom: 14px;
}

.diary-cta__title {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 14px;
}

.diary-cta__lead {
  font-size: 1.2rem;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0 0 26px;
}

/* ボタン（伸びない） */
.diary-cta__button {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.diary-cta__button:hover {
  background: #fff;
  color: #111;
}

/* SP */
@media (max-width: 768px) {
  .diary-cta__inner {
    padding: 48px 14px;
  }

  .diary-cta__title {
    font-size: 32px;
  }

  .diary-cta__lead {
    font-size: 13px;
  }


  .diary-cta__button{
    margin-top: 14px;
  }
}
