/* =========================================================
   Renadyl LP ヒーロー(v2) — スコープ: #renadyl-lp .renadyl-hero-v2
   ヘッダー/ナビはSWELL共通ヘッダーに一本化(LP独自ヘッダーは撤去済み)。
   ========================================================= */
#renadyl-lp .renadyl-hero-v2 {
  --rh-blue: #1557a5;
  --rh-blue-deep: #104b92;
  --rh-blue-soft: #dceafa;
  --rh-orange: #f46d14;
  --rh-ink: #24282e;
  color: var(--rh-ink);
  font-family: "YakuHanJP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  /* overflow-x: hidden 単独指定だとブラウザが overflow-y: auto を補完して
     内部スクロールが発生するため、明示的に両軸を visible にする */
  overflow-x: clip;
  overflow-y: visible;
}
#renadyl-lp .renadyl-hero-v2 * { box-sizing: border-box; }
#renadyl-lp .renadyl-hero-v2 a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
#renadyl-lp .renadyl-hero-v2 button { -webkit-tap-highlight-color: transparent; }

/* page-shell相当: ヒーロー全体を背景画像でラップ
   ※ center center / cover で viewport を常に埋めるよう変更(以前 1672px auto + center top で
      画面幅次第で被写体や下端が見切れる場面があったため) */
#renadyl-lp .renadyl-hero-v2 .page-shell {
  background-image: url("assets/hero-v2-bg.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #f7fbff;
}

/* ヒーロー本体
   ※ 既存 style.css の #renadyl-lp .hero { background: 紺グラデ; padding: 152px; ... } が
      specificity ID+class で勝つため、ここで明示的にリセット */
#renadyl-lp .renadyl-hero-v2 .hero {
  position: relative;
  z-index: 1;
  height: auto;
  min-height: 620px;
  background: none;
  padding: 0;
  overflow: visible;
  color: var(--rh-ink);
}
#renadyl-lp .renadyl-hero-v2 .hero-inner {
  width: min(1544px, calc(100% - 128px));
  height: 100%;
  margin: 0 auto;
  position: relative;
}
#renadyl-lp .renadyl-hero-v2 .hero-copy {
  position: absolute;
  top: 48px;
  left: 13px;
  width: 870px;
}
#renadyl-lp .renadyl-hero-v2 .eyebrow {
  display: none; /* 一旦非表示。復活させる場合はこの行を削除 */
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 21px 7px 16px;
  border: 1px solid #aec8e7;
  border-radius: 999px;
  color: #16529d;
  background: rgba(255,255,255,.69);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1;
}
#renadyl-lp .renadyl-hero-v2 .eyebrow-shield { width: 24px; height: 24px; display: inline-flex; flex: 0 0 auto; }
#renadyl-lp .renadyl-hero-v2 .eyebrow-shield svg { width: 100%; height: 100%; }
#renadyl-lp .renadyl-hero-v2 .eyebrow-shield path:first-child { fill: var(--rh-blue); }
#renadyl-lp .renadyl-hero-v2 .shield-check { fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }

#renadyl-lp .renadyl-hero-v2 h1 {
  margin: 20px 0 0;
  font-family: "YakuHanMP", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 44px;
  line-height: 1.5;
  letter-spacing: .02em;
  font-weight: 500;
  color: #24272b;
  white-space: nowrap;
}
#renadyl-lp .renadyl-hero-v2 h1 span { display: block; }
#renadyl-lp .renadyl-hero-v2 h1 em { color: var(--rh-blue); font-style: normal; font-size: 1.08em; font-weight: 500; }

#renadyl-lp .renadyl-hero-v2 .lead {
  margin: 18px 0 0 3px;
  color: var(--rh-blue);
  font-size: 23px;
  line-height: 1.76;
  letter-spacing: .105em;
  font-weight: 700;
}
#renadyl-lp .renadyl-hero-v2 .description {
  margin: 12px 0 0 3px;
  color: #3e454d;
  font-size: 16.5px;
  line-height: 2;
  letter-spacing: .035em;
  font-weight: 500;
}

#renadyl-lp .renadyl-hero-v2 .hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  margin-left: -16px;
}
#renadyl-lp .renadyl-hero-v2 .action-card {
  position: relative;
  display: flex;
  align-items: center;
  width: 280px;
  height: 96px;
  padding-right: 52px; /* round-arrow と本文が重ならないよう確保 */
  border-radius: 8px;
  background: rgba(255,255,255,.84);
  box-shadow: 5px 6px 0 rgba(206, 220, 236, .48);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
#renadyl-lp .renadyl-hero-v2 .action-card:hover,
#renadyl-lp .renadyl-hero-v2 .action-card:focus-visible {
  transform: translateY(-3px);
  background: rgba(255,255,255,.96);
  box-shadow: 7px 11px 22px rgba(38, 86, 136, .14);
}
#renadyl-lp .renadyl-hero-v2 .action-owner { border: 1.5px solid #2867b5; color: #1254a0; padding: 0 52px 0 16px; }
#renadyl-lp .renadyl-hero-v2 .action-vet { border: 1.5px solid var(--rh-orange); color: #262c33; padding: 0 52px 0 18px; }
#renadyl-lp .renadyl-hero-v2 .action-icon { width: 46px; height: 46px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; margin-right: 12px; }
#renadyl-lp .renadyl-hero-v2 .action-icon svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.35; stroke-linecap: round; stroke-linejoin: round; }
/* CTAアイコンは FontAwesome(SWELL同梱)を使用。色はカードのcolorを継承 */
#renadyl-lp .renadyl-hero-v2 .action-icon .fa-solid { font-size: 30px; line-height: 1; }
#renadyl-lp .renadyl-hero-v2 .action-vet .action-icon { width: 44px; height: 44px; margin-right: 12px; color: var(--rh-orange); }
#renadyl-lp .renadyl-hero-v2 .action-text { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
#renadyl-lp .renadyl-hero-v2 .action-text small { color: currentColor; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
#renadyl-lp .renadyl-hero-v2 .action-text strong { color: #123f7f; font-size: 15px; line-height: 1.4; letter-spacing: .02em; font-weight: 700; }
#renadyl-lp .renadyl-hero-v2 .action-vet .action-text small { color: #dc5907; }
#renadyl-lp .renadyl-hero-v2 .action-vet .action-text strong { color: #252b31; font-size: 13.5px; line-height: 1.4; }
#renadyl-lp .renadyl-hero-v2 .round-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2062ad;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  padding-bottom: 3px;
}
#renadyl-lp .renadyl-hero-v2 .action-vet .round-arrow { background: var(--rh-orange); right: 14px; }

#renadyl-lp .renadyl-hero-v2 .trust-strip {
  display: none; /* 一旦非表示。復活させる場合はこの行を削除 */
  margin-top: 35px;
  margin-left: -11px;
  width: 876px;
  min-height: 60px;
  padding: 0 40px;
  border-radius: 12px;
  background: rgba(247,249,252,.82);
  align-items: center;
  gap: 18px;
  color: #315e95;
  font-size: 16px;
  letter-spacing: .07em;
  font-weight: 500;
  white-space: nowrap;
}
#renadyl-lp .renadyl-hero-v2 .trust-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2c67ad;
  background: #dceaf8;
  font-size: 15px;
  font-weight: 900;
}
#renadyl-lp .renadyl-hero-v2 .trust-strip i { width: 1px; height: 18px; background: #5b84b5; opacity: .72; }

@media (max-width: 1180px) {
  /* PC定義の center center / cover を継承(個別指定不要) */
  #renadyl-lp .renadyl-hero-v2 .hero { height: auto; min-height: 859px; }
  #renadyl-lp .renadyl-hero-v2 .hero-inner { width: calc(100% - 48px); }
  #renadyl-lp .renadyl-hero-v2 .hero-copy { top: 55px; left: 0; width: 720px; }
  #renadyl-lp .renadyl-hero-v2 h1 { font-size: 52px; }
  #renadyl-lp .renadyl-hero-v2 .lead { font-size: 20px; }
  #renadyl-lp .renadyl-hero-v2 .action-card { width: 330px; }
  #renadyl-lp .renadyl-hero-v2 .trust-strip { width: 800px; padding: 0 25px; font-size: 14px; }
}

@media (max-width: 820px) {
  /* SP/小タブレット: 縦長画面で元画像(横長)を使うと被写体が画面外に切れるため、
     被写体だけクロップした SP用画像(hero-v2-bg-sp.webp 920x941)を画面全幅で表示。
     被写体は元々画像中央にクロップ済み = フルワイドでも自然に中央揃え */
  #renadyl-lp .renadyl-hero-v2 .page-shell {
    background-image:
      linear-gradient(to bottom, rgba(247,251,255,0) 0%, rgba(247,251,255,0) 70%, rgba(247,251,255,.8) 88%, #f7fbff 98%),
      url("assets/hero-v2-bg-sp.webp");
    background-size: 100% 100%, 100% auto;
    /* 画像を少し上に押し上げて犬の上の余白を詰める */
    background-position: top, center -40px;
    background-repeat: no-repeat, no-repeat;
    background-color: #f7fbff;
  }
  #renadyl-lp .renadyl-hero-v2 .hero { min-height: auto; padding-bottom: 32px; }
  #renadyl-lp .renadyl-hero-v2 .hero-inner { width: calc(100% - 32px); }
  /* H1/キャッチコピーは中央揃え、CTAも中央配置。
     画像エリアと文字エリアを少しオーバーラップさせるため padding-top は 100vw * 0.9 */
  #renadyl-lp .renadyl-hero-v2 .hero-copy { position: relative; top: 0; width: 100%; padding-top: calc(100vw * 0.9); text-align: center; }
  #renadyl-lp .renadyl-hero-v2 .hero-actions { justify-content: center; align-items: center; margin-left: 0; }
  #renadyl-lp .renadyl-hero-v2 h1 {
    margin-top: 0;
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.5;
    letter-spacing: .01em;
    white-space: normal;
  }
  #renadyl-lp .renadyl-hero-v2 h1 span { display: block; white-space: normal; }
  #renadyl-lp .renadyl-hero-v2 .lead { margin-top: 14px; font-size: 16px; line-height: 1.7; letter-spacing: .04em; }
  /* SPでは description は非表示(scroll 量を抑えるため) */
  #renadyl-lp .renadyl-hero-v2 .description { display: none; }
  #renadyl-lp .renadyl-hero-v2 .hero-actions { flex-direction: column; margin: 22px 0 0; gap: 12px; max-width: 360px; margin-left: auto; margin-right: auto; }
  #renadyl-lp .renadyl-hero-v2 .action-card { width: 100%; height: auto; min-height: 70px; padding: 10px 44px 10px 14px; }
  #renadyl-lp .renadyl-hero-v2 .action-owner,
  #renadyl-lp .renadyl-hero-v2 .action-vet { padding: 10px 44px 10px 14px; }
  #renadyl-lp .renadyl-hero-v2 .action-icon { width: 36px; height: 36px; margin-right: 10px; }
  #renadyl-lp .renadyl-hero-v2 .action-vet .action-icon { width: 34px; height: 34px; margin-right: 10px; }
  #renadyl-lp .renadyl-hero-v2 .action-icon .fa-solid { font-size: 24px; }
  #renadyl-lp .renadyl-hero-v2 .action-text { gap: 2px; text-align: left; min-width: 0; }
  #renadyl-lp .renadyl-hero-v2 .action-text small { font-size: 10.5px; }
  /* SP: 各CTAのstrongを1行に収めるため字下げ＋nowrap。長文側はsizeをやや小さく */
  #renadyl-lp .renadyl-hero-v2 .action-text strong { font-size: 13.5px; line-height: 1.4; white-space: nowrap; }
  #renadyl-lp .renadyl-hero-v2 .action-vet .action-text strong { font-size: 11.5px; line-height: 1.4; padding-right: 0; }
}

@media (max-width: 430px) {
  /* 小型SP: フォントサイズだけ小さく(画像位置はparentメディアの calc(100vw...) を継承) */
  #renadyl-lp .renadyl-hero-v2 h1 { font-size: 26px; line-height: 1.55; }
  #renadyl-lp .renadyl-hero-v2 .lead { font-size: 15px; }
  #renadyl-lp .renadyl-hero-v2 .lead br,
  #renadyl-lp .renadyl-hero-v2 .description br { display: none; }
}
