/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 04 2026 | 03:03:35 */
/* REPLACE the existing 770–899px block ONLY. Do not append.
   Photo left 57%, panel unchanged, no source swap or photo hiding. */
/* Baby-J Nanny HERO — 770–899px unified composition.
   REPLACE ONLY the existing 770-899px unified composition block in Nanny CSS (2141).
   900px+ and <=769px are intentionally untouched.
   Keeps image left, readable copy panel right, no full-photo whitening. */
@media (min-width:770px) and (max-width:899px) {
  #nanny-top #nanny-hero {
    position:relative!important;
    display:block!important;
    height:clamp(490px,55vw,550px)!important;
    min-height:0!important;
    overflow:hidden!important;
    isolation:isolate;
    background:#faf7f2;
  }
  #nanny-top #nanny-hero::before,
  #nanny-top #nanny-hero::after {content:none!important;display:none!important;}
  #nanny-top #nanny-hero .nanny-hero__visual,
  #nanny-top #nanny-hero .nanny-hero__picture {
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
  }
  /* Only the photo viewport changes: child stays visible left of panel. */
  #nanny-top #nanny-hero .nanny-hero__visual {
    width:57%!important;
    right:auto!important;
    background:none!important;
  }
  #nanny-top #nanny-hero .nanny-hero__picture {
    width:100%!important;
    right:0!important;
  }
  #nanny-top #nanny-hero .nanny-hero__image {
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:52% center!important;
    visibility:visible!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
    visibility:visible!important;
    background-image:none!important;
  }
  #nanny-top #nanny-hero .nanny-hero__content {
    position:absolute!important;
    z-index:2!important;
    inset:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:clamp(18px,2.8vw,25px)!important;
    background:none!important;
    transform:none!important;
  }
  #nanny-top #nanny-hero .nanny-hero__panel {
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    width:43%!important;
    max-width:none!important;
    min-width:0!important;
    max-height:100%!important;
    margin:0!important;
    padding:clamp(20px,3vw,30px)!important;
    overflow:visible!important;
    border:0!important;
    border-radius:14px!important;
    background:rgba(255,253,249,.91)!important;
    box-shadow:0 8px 32px rgba(16,45,68,.06)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    transform:none!important;
  }
  #nanny-top #nanny-hero .nanny-hero__intro,
  #nanny-top #nanny-hero .nanny-hero__details {
    position:static!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    background:none!important;
    border:0!important;
    box-shadow:none!important;
    transform:none!important;
    text-align:left!important;
  }
  #nanny-top #nanny-hero .nanny-hero__details {margin-top:clamp(14px,2vw,20px)!important;}
  #nanny-top #nanny-hero .nanny-hero__eyebrow {margin:0 0 9px!important;font-size:10px!important;line-height:1.5!important;}
  #nanny-top #nanny-hero .nanny-hero__title {
    margin:0!important;
    font-size:clamp(17px,2.25vw,20px)!important;
    line-height:1.48!important;
    letter-spacing:-.045em!important;
    overflow-wrap:normal!important;
    word-break:keep-all!important;
  }
  /* Keep each authored title line together; prevents orphaned 「を。」. */
/* 770〜899pxの既存 @media 内に入れる */
#nanny-top #nanny-hero .nanny-hero__title {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:0!important;
  width:100%!important;
  margin:0!important;
  font-size:clamp(17px,2.25vw,20px)!important;
  line-height:1.48!important;
  letter-spacing:-.045em!important;
}

#nanny-top #nanny-hero .nanny-hero__title-line {
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  font-size:15px!important;
  letter-spacing:-.07em!important;
}

#nanny-top #nanny-hero .nanny-hero__title-line:nth-child(2) {
  font-size:15px!important;
  letter-spacing:-.07em!important;
}
	
  #nanny-top #nanny-hero .nanny-hero__subtitle {
    margin:0 0 9px!important;
    color:#c7504b!important;
    font-size:clamp(17px,2vw,19px)!important;
    line-height:1.4!important;
  }
  #nanny-top #nanny-hero .nanny-hero__description {
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    font-size:clamp(11px,1.35vw,12px)!important;
    line-height:1.75!important;
    overflow-wrap:anywhere!important;
  }
  #nanny-top #nanny-hero .nanny-hero__actions {display:block!important;width:100%!important;margin-top:15px!important;}
  #nanny-top #nanny-hero .nanny-hero__button {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-height:43px!important;
    padding:9px 12px!important;
    white-space:normal!important;
    font-size:11px!important;
  }
  #nanny-top #nanny-hero .nanny-hero__supporter {margin-top:8px!important;font-size:9px!important;text-align:center!important;}
}

/* Nanny HERO｜900–1100px タイトル2行固定 */
@media (min-width:900px) and (max-width:1100px) {
  #nanny-top #nanny-hero .nanny-hero__title {
    font-size:clamp(17px,2.1vw,21px)!important;
    line-height:1.5!important;
  }

  #nanny-top #nanny-hero .nanny-hero__title-line {
    display:block!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:keep-all!important;
  }
}

/* Nanny HERO｜900–1100px Typography Balance */
@media (min-width:900px) and (max-width:1100px) {

  #nanny-top #nanny-hero .nanny-hero__eyebrow {
    font-size:10px!important;
    letter-spacing:.20em!important;
    margin-bottom:12px!important;
  }

  #nanny-top #nanny-hero .nanny-hero__title {
    font-size:clamp(19px,2.25vw,22px)!important;
    line-height:1.55!important;
    letter-spacing:-.045em!important;
  }

  #nanny-top #nanny-hero .nanny-hero__title-line {
    display:block!important;
    white-space:nowrap!important;
  }

  #nanny-top #nanny-hero .nanny-hero__details {
    margin-top:18px!important;
  }

  #nanny-top #nanny-hero .nanny-hero__subtitle {
    font-size:17px!important;
    line-height:1.45!important;
    margin-bottom:12px!important;
  }

  #nanny-top #nanny-hero .nanny-hero__description {
    font-size:12.5px!important;
    line-height:1.85!important;
    letter-spacing:.005em!important;
  }

  #nanny-top #nanny-hero .nanny-hero__actions {
    margin-top:18px!important;
  }

  #nanny-top #nanny-hero .nanny-hero__button {
    font-size:12px!important;
  }

  #nanny-top #nanny-hero .nanny-hero__supporter {
    font-size:10px!important;
    margin-top:10px!important;
  }
}