#kd-home-visual { position: relative; }
#kd-home-visual .kd-home-message {
  position: absolute; z-index: 5; top: 120px; left: 50%; width: 92%;
  box-sizing: border-box; pointer-events: none; transform: translateX(-50%);
  color: #fff; text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,.9), 0 4px 16px rgba(0,0,0,.65), 0 0 30px rgba(0,0,0,.35);
}
#kd-home-visual .kd-home-message p {
  margin: 0; font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(23px, 2.1vw, 32px); font-weight: 600; line-height: 1.7;
  letter-spacing: .06em; overflow-wrap: anywhere;
}
#kd-home-visual .kd-home-message p::first-line { font-size: 1.4em; }
@media (min-width: 1001px) {
  #kd-home-visual #header_slider .item2 .catch { left: 85%; }
  /* The second photo has a face at the top center. Keep its message below the face. */
  #kd-home-visual:has(.item2.slick-active) .kd-home-message { top: 290px; }
}
@media (max-width: 1000px) {
  #kd-home-visual { padding-top: 0; background: transparent; }
  #kd-home-visual .kd-home-message { top: auto; bottom: 80px; width: 94%; }
  #kd-home-visual .kd-home-message p { font-size: clamp(14px, 2.1vw, 20px); line-height: 1.7; letter-spacing: .015em; }
  #kd-home-visual .kd-home-message p::first-line { font-size: 1.35em; }
}
