/* 2026-10-12 イラストを写真に差し替えた分の調整 */

/* 最初の画面：スマホでは写真を上、案内の枠を下に置く */
@media (max-width: 781px) {
  .komorebi-hero.wp-block-cover {
    display: block;
    min-height: 0 !important;
    padding: 0 0 8px !important;
  }
  .komorebi-hero .wp-block-cover__image-background {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 22% 60% !important;
  }
  .komorebi-hero .wp-block-cover__inner-container {
    padding: 0 16px;
  }
  .komorebi-hero .has-card-background-color {
    position: relative;
    margin-top: -40px;
    box-shadow: 0 6px 20px rgba(63, 49, 40, .10);
  }
}

/* 各ページ上の帯：写真の上でも見出しが読めるよう、薄い白をかぶせる */
.wp-block-cover:has(img[src*="page-header"]) .wp-block-cover__background {
  background-color: rgb(250, 246, 240) !important;
  opacity: .62 !important;
}
