/* Cocoonのスマートフォン下部固定メニュー（ピンクの帯）だけを非表示にします。 */
body.v5retime-baby-repaired .mobile-footer-menu-buttons.mobile-menu-buttons {
  display: none !important;
}

/* Approved banner placement: centered, with clear separation from following content. */
body.v5retime-baby-repaired.page-id-22 .application-banner {
  margin-top: 28px !important;
  margin-bottom: 16px !important;
}

@media (max-width: 800px) {
  body.v5retime-baby-repaired.page-id-22 .application-banner {
    margin-top: 20px !important;
    margin-bottom: 12px !important;
  }
}

body.v5retime-baby-repaired {
  padding-bottom: 0 !important;
}

/* Cocoon側の最下部は、独自フッターの後ろに重複するため表示しません。 */
body.v5retime-baby-repaired #footer {
  display: none !important;
}

/* 中央ロゴの大きさは維持し、上下の余白だけを詰めます。 */
body.v5retime-baby-repaired #header {
  background: #fffaf2 !important;
}

body.v5retime-baby-repaired #header-in {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  height: 136px !important;
  min-height: 136px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
}

body.v5retime-baby-repaired #header-in .tagline {
  display: none !important;
}

body.v5retime-baby-repaired #header-in .logo-header {
  margin: 0 !important;
  padding: 0 !important;
}

body.v5retime-baby-repaired #header-in .header-site-logo-image {
  display: block !important;
  width: 300px !important;
  height: 200px !important;
  max-height: none !important;
  object-fit: contain !important;
}

/* 中央上のCocoonロゴを採用し、独自ヘッダー左側の重複ロゴだけを外します。 */
body.v5retime-baby-repaired .entry-content .site-header .brand,
body.v5retime-baby-repaired.page-id-22 .site-header .brand {
  display: none !important;
}

body.v5retime-baby-repaired.page-id-22 .site-header .header-inner {
  justify-content: flex-start !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

body.v5retime-baby-repaired.page-id-22 .site-header .header-inner::-webkit-scrollbar {
  display: none !important;
}

body.v5retime-baby-repaired.page-id-22 .site-header .menu-button {
  display: none !important;
}

body.v5retime-baby-repaired.page-id-22 .site-header .site-nav {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: max-content !important;
  min-width: max-content !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}

body.v5retime-baby-repaired.page-id-22 .site-header .site-nav a {
  white-space: nowrap !important;
}

/* 黄色い丸の中へ切り抜き済みの太陽を戻します。 */
body.v5retime-baby-repaired .hero__sun {
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
}

body.v5retime-baby-repaired .hero__sun img {
  display: block !important;
  width: 82% !important;
  height: 82% !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 一次抽選カード右上の赤い丸（受付中）は削除します。 */
body.v5retime-baby-repaired .application-card .ribbon {
  display: none !important;
}

/* オープニングは黒背景で、映像を画面いっぱいに大きく表示します。 */
body.v5retime-baby-repaired .opening {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #000 !important;
  overflow: hidden !important;
}

body.v5retime-baby-repaired .opening[hidden] {
  display: none !important;
}

html.v5baby-opening-pending {
  background: #000 !important;
}

html.v5baby-opening-pending::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147482999;
  background: #000;
  pointer-events: none;
}

html.v5baby-opening-skip #opening {
  display: none !important;
}

body.v5retime-baby-repaired .opening.is-done {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body.v5retime-baby-repaired.page-id-22 #opening.opening video {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  background: #000 !important;
}

/* ページ移動時は全面黒。右下の小さなNOW LOADINGだけを表示します。 */
body.v5retime-baby-repaired .loading-pet {
  display: none !important;
}

body.v5retime-baby-repaired .loading-pet.is-active {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147482999 !important;
  display: block !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 10px !important;
  background: #000 !important;
  pointer-events: all !important;
}

body.v5retime-baby-repaired .loading-pet.is-active video {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  width: 76px !important;
  height: 76px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 480px) {
  body.v5retime-baby-repaired #header-in {
    height: 112px !important;
    min-height: 112px !important;
  }

  body.v5retime-baby-repaired #header-in .header-site-logo-image {
    width: 260px !important;
    height: 174px !important;
  }

  body.v5retime-baby-repaired .loading-pet.is-active video {
    right: 6px !important;
    bottom: 6px !important;
    width: 60px !important;
    height: 60px !important;
  }
}

@media (max-width: 800px) {
  body.v5retime-baby-repaired {
    overflow-x: hidden !important;
  }

  body.v5retime-baby-repaired .opening,
  html body.v5retime-baby-repaired.page-id-22 #opening.opening video {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
  }

  html body.v5retime-baby-repaired.page-id-22 #opening.opening video {
    object-fit: contain !important;
    object-position: center !important;
  }

  body.v5retime-baby-repaired.page-id-22 .site-header .header-inner {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 10px !important;
    overflow: visible !important;
  }

  body.v5retime-baby-repaired.page-id-22 .site-header .site-nav {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    opacity: 1 !important;
  }

  body.v5retime-baby-repaired.page-id-22 .site-header .site-nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 6px 5px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .72) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body.v5retime-baby-repaired.page-id-22 .site-header .site-nav .nav-cta {
    background: #ee7b69 !important;
    color: #fff !important;
  }

  body.v5retime-baby-repaired.page-id-22 .hero,
  body.v5retime-baby-repaired.page-id-22 .hero-inner,
  body.v5retime-baby-repaired.page-id-22 .hero-copy {
    max-width: 100% !important;
  }

  body.v5retime-baby-repaired.page-id-22 .hero h1 {
    max-width: 100% !important;
    font-size: clamp(27px, 8.4vw, 34px) !important;
    overflow-wrap: anywhere !important;
  }

  body.v5retime-baby-repaired.page-id-22 .gift-plan-grid figure {
    background: #f8fbfb !important;
  }

  body.v5retime-baby-repaired.page-id-22 .gift-plan-grid figure img {
    background: #f8fbfb !important;
    border-radius: 14px !important;
    mix-blend-mode: multiply !important;
  }
}

/* 1.2.2: compact logo band and controlled Japanese heading breaks */
body.v5retime-baby-repaired.page-id-22 .v5retime-overview-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 8px !important;
  padding: 7px 13px !important;
  border: 1px solid rgba(118, 92, 81, .24) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .48) !important;
  color: #765c51 !important;
  text-decoration: none !important;
}
body.v5retime-baby-repaired.page-id-22 .v5retime-overview-link span {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
}
body.v5retime-baby-repaired.page-id-22 .v5retime-overview-link small {
  color: #a38176 !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
}

@media (min-width: 801px) {
  body.v5retime-baby-repaired #header-in {
    height: 138px !important;
    min-height: 138px !important;
  }
  body.v5retime-baby-repaired.page-id-22 .welcome .section-title h2,
  body.v5retime-baby-repaired.page-id-22 #practice-comments-title,
  body.v5retime-baby-repaired.page-id-22 .comparison-intro h2,
  body.v5retime-baby-repaired.page-id-22 .data-copy h2,
  body.v5retime-baby-repaired.page-id-22 .faq .section-title h2 {
    white-space: nowrap !important;
  }
  body.v5retime-baby-repaired.page-id-22 .welcome .section-title h2 { font-size: clamp(29px, 2.35vw, 34px) !important; }
  body.v5retime-baby-repaired.page-id-22 .practice-comments .section-heading { max-width: 1180px !important; }
  body.v5retime-baby-repaired.page-id-22 #practice-comments-title { font-size: clamp(29px, 2.7vw, 39px) !important; }
  body.v5retime-baby-repaired.page-id-22 .comparison-intro {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }
  body.v5retime-baby-repaired.page-id-22 .comparison-intro h2 { font-size: clamp(29px, 3vw, 41px) !important; }
  body.v5retime-baby-repaired.page-id-22 .comparison-intro > div:last-child { max-width: 980px !important; }
  body.v5retime-baby-repaired.page-id-22 .data-copy h2 { font-size: clamp(22px, 1.75vw, 25px) !important; }
  body.v5retime-baby-repaired.page-id-22 .faq .section-title h2 { font-size: clamp(29px, 2.6vw, 37px) !important; }
}

@media (max-width: 800px) {
  body.v5retime-baby-repaired.page-id-22 .welcome .section-title h2,
  body.v5retime-baby-repaired.page-id-22 #practice-comments-title,
  body.v5retime-baby-repaired.page-id-22 .comparison-intro h2,
  body.v5retime-baby-repaired.page-id-22 .data-copy h2,
  body.v5retime-baby-repaired.page-id-22 .faq .section-title h2 {
    max-width: 100% !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  body.v5retime-baby-repaired.page-id-22 #practice-comments-title { font-size: clamp(21px, 6.1vw, 25px) !important; }
  body.v5retime-baby-repaired.page-id-22 .comparison-intro h2,
  body.v5retime-baby-repaired.page-id-22 .data-copy h2 { font-size: clamp(21px, 6vw, 24px) !important; }
}

@media (max-width: 480px) {
  body.v5retime-baby-repaired #header-in {
    height: 96px !important;
    min-height: 96px !important;
  }
}

/* 1.3.1: remove the obsolete ribbon tails that overlap the red status badge. */
body.v5retime-baby-repaired.page-id-22 .application-card--main .ribbon::before,
body.v5retime-baby-repaired.page-id-22 .application-card--main .ribbon::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

/* 1.2.1: top and pricing balance */
@media (min-width: 801px) {
  body.v5retime-baby-repaired #header-in {
    height: 172px !important;
    min-height: 172px !important;
  }

  body.v5retime-baby-repaired #header-in .header-site-logo-image {
    width: 420px !important;
    height: 250px !important;
  }

  body.v5retime-baby-repaired.page-id-22 .site-header .header-inner {
    justify-content: center !important;
    overflow: visible !important;
  }

  body.v5retime-baby-repaired.page-id-22 .site-header .site-nav {
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
  }

  body.v5retime-baby-repaired.page-id-22 .hero-actions {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  body.v5retime-baby-repaired.page-id-22 .hero-actions .button {
    padding: 14px 18px !important;
    gap: 10px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  body.v5retime-baby-repaired.page-id-22 .hero-inner,
  body.v5retime-baby-repaired.page-id-22 .section-inner {
    width: min(1240px, calc(100% - 64px)) !important;
    max-width: 1240px !important;
  }

  body.v5retime-baby-repaired.page-id-22 .pricing-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 38px !important;
  }

  body.v5retime-baby-repaired.page-id-22 .pricing-copy {
    width: min(100%, 1080px) !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  body.v5retime-baby-repaired.page-id-22 .pricing-title__service { font-size: 1em !important; }
  body.v5retime-baby-repaired.page-id-22 .pricing-title__data { font-size: .78em !important; }
  body.v5retime-baby-repaired.page-id-22 .price-main { justify-content: center !important; }

  body.v5retime-baby-repaired.page-id-22 .pricing-copy > p:not(.eyebrow):not(.price-main),
  body.v5retime-baby-repaired.page-id-22 .gift-free,
  body.v5retime-baby-repaired.page-id-22 .pricing-note {
    max-width: 880px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.v5retime-baby-repaired.page-id-22 .pricing-image {
    width: min(100%, 1040px) !important;
    margin: 0 auto !important;
  }

  body.v5retime-baby-repaired.page-id-22 .gift-heading { max-width: 1040px !important; }
  body.v5retime-baby-repaired.page-id-22 .gift-heading h3 { white-space: nowrap !important; }
  body.v5retime-baby-repaired.page-id-22 .section-title h2 br,
  body.v5retime-baby-repaired.page-id-22 .section-heading h2 br,
  body.v5retime-baby-repaired.page-id-22 .comparison-intro h2 br,
  body.v5retime-baby-repaired.page-id-22 .data-copy h2 br { display: none !important; }
}

body.v5retime-baby-repaired.page-id-22 .gift-heading h3,
body.v5retime-baby-repaired.page-id-22 .section-heading h2,
body.v5retime-baby-repaired.page-id-22 .contact h2 {
  text-wrap: balance;
}

body.v5retime-baby-repaired.page-id-22 .footer-links {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}

@media (max-width: 800px) {
  body.v5retime-baby-repaired.page-id-22 .pricing-image { order: 0 !important; }
  body.v5retime-baby-repaired.page-id-22 .footer-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(100%, 330px) !important;
    margin: 0 auto !important;
  }
}

/* 固定ナビの下に各セクション見出しが隠れない位置で止めます。 */
body.v5retime-baby-repaired.page-id-22 #about,
body.v5retime-baby-repaired.page-id-22 #application,
body.v5retime-baby-repaired.page-id-22 #pricing,
body.v5retime-baby-repaired.page-id-22 #comparison,
body.v5retime-baby-repaired.page-id-22 #experience,
body.v5retime-baby-repaired.page-id-22 #videos,
body.v5retime-baby-repaired.page-id-22 #flow,
body.v5retime-baby-repaired.page-id-22 #faq,
body.v5retime-baby-repaired.page-id-22 #contact {
  scroll-margin-top: 96px !important;
}

@media (max-width: 800px) {
  body.v5retime-baby-repaired.page-id-22 #about,
  body.v5retime-baby-repaired.page-id-22 #application,
  body.v5retime-baby-repaired.page-id-22 #pricing,
  body.v5retime-baby-repaired.page-id-22 #comparison,
  body.v5retime-baby-repaired.page-id-22 #experience,
  body.v5retime-baby-repaired.page-id-22 #videos,
  body.v5retime-baby-repaired.page-id-22 #flow,
  body.v5retime-baby-repaired.page-id-22 #faq,
  body.v5retime-baby-repaired.page-id-22 #contact {
    scroll-margin-top: 150px !important;
  }
}

/* 特商法・個人情報保護方針：トップページと同じ暖色・ロゴ構成へ統一します。 */
body.v5retime-baby-repaired.page-id-3,
body.v5retime-baby-repaired.page-id-6 {
  background: #fffaf2 !important;
  color: #524b59 !important;
}

body.v5retime-baby-repaired.page-id-3 .article-header,
body.v5retime-baby-repaired.page-id-6 .article-header,
body.v5retime-baby-repaired.page-id-3 .article-footer,
body.v5retime-baby-repaired.page-id-6 .article-footer,
body.v5retime-baby-repaired.page-id-3 .breadcrumb,
body.v5retime-baby-repaired.page-id-6 .breadcrumb,
body.v5retime-baby-repaired.page-id-3 .sns-share,
body.v5retime-baby-repaired.page-id-6 .sns-share,
body.v5retime-baby-repaired.page-id-3 .sns-follow,
body.v5retime-baby-repaired.page-id-6 .sns-follow {
  display: none !important;
}

body.v5retime-baby-repaired.page-id-3 #main,
body.v5retime-baby-repaired.page-id-6 #main,
body.v5retime-baby-repaired.page-id-3 .article,
body.v5retime-baby-repaired.page-id-6 .article,
body.v5retime-baby-repaired.page-id-3 .entry-content,
body.v5retime-baby-repaired.page-id-6 .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fffaf2 !important;
  box-shadow: none !important;
}

body.v5retime-baby-repaired.page-id-3 .entry-content > .wp-block-group,
body.v5retime-baby-repaired.page-id-6 .entry-content > .wp-block-group {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

body.v5retime-baby-repaired.page-id-3 .entry-content .site-header,
body.v5retime-baby-repaired.page-id-6 .entry-content .site-header {
  background: #fffdf8ed !important;
  border-top: 1px solid #f3e9e0 !important;
  border-bottom: 1px solid #f3e9e0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.v5retime-baby-repaired.page-id-3 .entry-content .header-inner,
body.v5retime-baby-repaired.page-id-6 .entry-content .header-inner {
  width: min(1080px, calc(100% - 44px)) !important;
  min-height: 72px !important;
  margin: auto !important;
  justify-content: flex-end !important;
}

body.v5retime-baby-repaired.page-id-3 .back-link,
body.v5retime-baby-repaired.page-id-6 .back-link {
  margin-left: auto !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: #ee7b69 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.v5retime-baby-repaired.page-id-3 .simple-main,
body.v5retime-baby-repaired.page-id-6 .simple-main {
  width: min(900px, calc(100% - 36px)) !important;
  max-width: 900px !important;
  margin: auto !important;
  padding: 68px 0 86px !important;
}

body.v5retime-baby-repaired.page-id-3 .simple-title h1,
body.v5retime-baby-repaired.page-id-6 .simple-title h1 {
  color: #765c51 !important;
  font-family: "Zen Maru Gothic", sans-serif !important;
}

body.v5retime-baby-repaired.page-id-3 .simple-title .eyebrow,
body.v5retime-baby-repaired.page-id-6 .simple-title .eyebrow,
body.v5retime-baby-repaired.page-id-3 .legal-list dt,
body.v5retime-baby-repaired.page-id-6 .legal-list dt {
  color: #d87a69 !important;
}

body.v5retime-baby-repaired.page-id-3 .legal-card,
body.v5retime-baby-repaired.page-id-6 .legal-card {
  border: 1px solid #eaded4 !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 13px 30px #8e5b3a18 !important;
}

body.v5retime-baby-repaired.page-id-3 .legal-list div,
body.v5retime-baby-repaired.page-id-6 .legal-list div {
  background: #fff7e9 !important;
  box-shadow: none !important;
}

body.v5retime-baby-repaired.page-id-3 .legal-list dt::before,
body.v5retime-baby-repaired.page-id-6 .legal-list dt::before {
  content: "●" !important;
  color: #f8c960 !important;
  font-size: 11px !important;
}

/* 技術体制・登録情報・応援購入ページ */
body.v5retime-baby-repaired.page-id-78 {
  background: #fffaf2 !important;
  color: #524b59 !important;
}

body.v5retime-baby-repaired.page-id-78 .article-header,
body.v5retime-baby-repaired.page-id-78 .article-footer,
body.v5retime-baby-repaired.page-id-78 .breadcrumb,
body.v5retime-baby-repaired.page-id-78 .sns-share,
body.v5retime-baby-repaired.page-id-78 .sns-follow {
  display: none !important;
}

body.v5retime-baby-repaired.page-id-78 #main,
body.v5retime-baby-repaired.page-id-78 .article,
body.v5retime-baby-repaired.page-id-78 .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fffaf2 !important;
  box-shadow: none !important;
}

.v5r-tech-page,
.v5r-tech-page * {
  box-sizing: border-box;
}

.v5r-tech-page {
  padding: 36px 20px 92px;
  background: linear-gradient(180deg, #fffaf2 0%, #fff5eb 58%, #fffaf2 100%);
  color: #524b59;
  font-family: "M PLUS Rounded 1c", "Hiragino Sans", Meiryo, sans-serif;
}

.v5r-tech-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.v5r-tech-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 52px;
}

.v5r-tech-brand {
  margin: 0 !important;
  color: #765c51;
  font-size: 24px;
  font-weight: 800;
}

.v5r-tech-brand span {
  color: #ee7b69;
  font-weight: 600;
}

.v5r-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #ee7b69;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 9px 20px rgba(219, 105, 87, .22);
}

.v5r-tech-heading {
  margin-bottom: 32px;
  text-align: center;
}

.v5r-kicker,
.v5r-registration-kicker {
  margin: 0 0 8px !important;
  color: #d87a69;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.v5r-tech-heading h1,
.v5r-support-card h2 {
  margin: 0 !important;
  color: #765c51;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  line-height: 1.45;
}

.v5r-tech-heading h1 {
  font-size: clamp(29px, 4vw, 43px);
}

.v5r-letter-card,
.v5r-registration-card,
.v5r-support-card {
  margin: 0 0 30px;
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(118, 92, 81, .13);
}

.v5r-letter-card {
  padding: clamp(28px, 5vw, 52px);
  background: #efe5d8;
  color: #514947;
}

.v5r-letter-card h2 {
  margin: 0 0 20px !important;
  color: #765c51;
  font-size: 19px;
}

.v5r-letter-card p {
  margin: 0 0 17px !important;
  font-size: 14px;
  line-height: 1.95;
}

.v5r-letter-card p:last-child {
  margin-bottom: 0 !important;
}

.v5r-registration-card {
  padding: clamp(30px, 5vw, 52px);
  background: #27282b;
  color: #fff;
}

.v5r-registration-kicker,
.v5r-registration-number,
.v5r-registration-card dt {
  color: #f2cf83;
}

.v5r-registration-card h2 {
  margin: 0 0 8px !important;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
}

.v5r-registration-number {
  margin: 0 0 18px !important;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 17px;
  font-weight: 700;
}

.v5r-registration-card dl {
  margin: 0;
}

.v5r-registration-card dl div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.v5r-registration-card dl div:last-child {
  border-bottom: 0;
}

.v5r-registration-card dt,
.v5r-registration-card dd {
  margin: 0;
  font-size: 14px;
}

.v5r-support-card {
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid #eaded4;
  background: #fff;
}

.v5r-support-card h2 {
  font-size: clamp(25px, 3vw, 36px);
}

.v5r-support-description {
  margin: 24px 0 28px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff7e9;
}

.v5r-support-description p {
  margin: 0 0 10px !important;
  color: #675d66;
  font-size: 14px;
  line-height: 1.8;
}

.v5r-support-description p:last-child {
  margin-bottom: 0 !important;
}

.v5r-form-error {
  margin: 0 0 18px !important;
  padding: 12px 15px;
  border: 1px solid #e48776;
  border-radius: 10px;
  background: #fff0ee;
  color: #9d4032;
  font-size: 13px;
  font-weight: 700;
}

.v5r-support-form label {
  display: block;
  margin-bottom: 8px;
  color: #765c51;
  font-size: 14px;
  font-weight: 800;
}

.v5r-amount-field {
  display: flex;
  align-items: center;
  border: 1px solid #dfd2c7;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.v5r-amount-field:focus-within {
  border-color: #ee7b69;
  box-shadow: 0 0 0 3px rgba(238, 123, 105, .14);
}

.v5r-amount-field span {
  padding-left: 17px;
  color: #d87a69;
  font-size: 20px;
  font-weight: 800;
}

.v5r-amount-field input {
  width: 100%;
  min-height: 58px;
  padding: 13px 16px 13px 8px !important;
  border: 0 !important;
  background: transparent !important;
  color: #524b59 !important;
  font-size: 18px !important;
  font-weight: 700;
  outline: 0 !important;
  box-shadow: none !important;
}

#v5r-amount-help {
  margin: 8px 0 18px !important;
  color: #897b78;
  font-size: 12px;
}

.v5r-support-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 56px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: #765c51;
  color: #fff;
  font: 800 14px/1.4 "M PLUS Rounded 1c", sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(118, 92, 81, .24);
}

@media (max-width: 600px) {
  .v5r-tech-page {
    padding: 24px 15px 68px;
  }

  .v5r-tech-topbar {
    margin-bottom: 38px;
  }

  .v5r-tech-brand {
    font-size: 19px;
  }

  .v5r-home-button {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .v5r-registration-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Keep this final so the older Cocoon balance rules cannot restore the wide band. */
@media (min-width: 801px) {
  body.v5retime-baby-repaired #header-in {
    height: 138px !important;
    min-height: 138px !important;
  }
}

/* 1.2.3: full logo, support-only page and warm three-dimensional registration card. */
body.v5retime-baby-repaired #header-in .header-site-logo-image {
  width: min(420px, calc(100vw - 36px)) !important;
  height: auto !important;
  max-height: 94px !important;
  object-fit: contain !important;
}

body.v5retime-baby-repaired.page-id-78 .v5r-tech-topbar {
  justify-content: flex-end;
  margin-bottom: 24px;
}
body.v5retime-baby-repaired.page-id-78 .v5r-support-card h1 {
  margin: 0 !important;
  color: #765c51;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(25px, 3.6vw, 40px);
  line-height: 1.45;
}
body.v5retime-baby-repaired.page-id-78 .v5r-support-only .v5r-tech-inner {
  width: min(920px, 100%);
}

body.v5retime-baby-repaired.page-id-22 .registration-home {
  position: relative;
  padding: 70px 0 78px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff4e9 0%, #fffaf2 100%);
}
body.v5retime-baby-repaired.page-id-22 .registration-home::before,
body.v5retime-baby-repaired.page-id-22 .registration-home::after {
  content: "";
  position: absolute;
  border-radius: 24px;
  transform: rotate(18deg);
  pointer-events: none;
}
body.v5retime-baby-repaired.page-id-22 .registration-home::before {
  width: 150px;
  height: 150px;
  right: 8%;
  top: -85px;
  background: linear-gradient(145deg, rgba(248,201,96,.30), rgba(238,123,105,.10));
  box-shadow: 18px 18px 0 rgba(238,123,105,.07);
}
body.v5retime-baby-repaired.page-id-22 .registration-home::after {
  width: 86px;
  height: 86px;
  left: 7%;
  bottom: -48px;
  background: rgba(255,255,255,.72);
  box-shadow: 12px 12px 0 rgba(118,92,81,.06);
}
body.v5retime-baby-repaired.page-id-22 .registration-home__card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
  gap: 42px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(222,186,157,.72);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,247,236,.96));
  box-shadow: 0 9px 0 #efd5c0, 0 24px 48px rgba(118,92,81,.15);
}
body.v5retime-baby-repaired.page-id-22 .registration-home__heading { align-self: center; }
body.v5retime-baby-repaired.page-id-22 .registration-home__heading p {
  margin: 0 0 8px !important;
  color: #d87a69;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}
body.v5retime-baby-repaired.page-id-22 .registration-home__heading h2 {
  margin: 0 0 12px !important;
  color: #765c51;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.35;
}
body.v5retime-baby-repaired.page-id-22 .registration-home__heading strong {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 10px;
  background: #fff0d3;
  color: #8b6845;
  font-size: 12px;
}
body.v5retime-baby-repaired.page-id-22 .registration-home dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
}
body.v5retime-baby-repaired.page-id-22 .registration-home dl div {
  padding: 12px 0;
  border-bottom: 1px solid rgba(234,222,212,.9);
}
body.v5retime-baby-repaired.page-id-22 .registration-home dt {
  color: #a06f64;
  font-size: 10px;
  font-weight: 800;
}
body.v5retime-baby-repaired.page-id-22 .registration-home dd {
  margin: 2px 0 0;
  color: #5d555a;
  font-size: 13px;
  font-weight: 700;
}

/* Cocoon renders the page title outside the_content. Page 78 is a dedicated
   support-purchase screen, so keep only its replacement content. */
body.v5retime-baby-repaired.page-id-78 .article-header.entry-header {
  display: none !important;
}
body.v5retime-baby-repaired.page-id-78 .entry-content > :not(.support-purchase-section) {
  display: none !important;
}
body.v5retime-baby-repaired.page-id-78 .entry-content > .support-purchase-section {
  display: block !important;
}
body.v5retime-baby-repaired.page-id-78 .menu-item-80 {
  display: none !important;
}

body.v5retime-baby-repaired.page-id-22 .welcome-grid,
body.v5retime-baby-repaired.page-id-22 .faq-grid {
  grid-template-columns: 1fr !important;
  gap: 34px !important;
}
body.v5retime-baby-repaired.page-id-22 .welcome-copy {
  padding-top: 0 !important;
}
body.v5retime-baby-repaired.page-id-22 .video-grid {
  align-items: start !important;
}
body.v5retime-baby-repaired .mobile-footer-menu-buttons,
body.v5retime-baby-repaired .mobile-menu-buttons {
  display: none !important;
}

/* 1.3.2: center the comparison bar and keep both halves visually balanced. */
body.v5retime-baby-repaired.page-id-22 .feature-link {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 16px 24px !important;
}
body.v5retime-baby-repaired.page-id-22 .feature-link b,
body.v5retime-baby-repaired.page-id-22 .feature-link span {
  display: block !important;
  text-align: center !important;
}

/* Keep only the requested V5retime overview link in the footer brand area. */
body.v5retime-baby-repaired.page-id-22 .footer-brand--overview {
  width: 100% !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
}
body.v5retime-baby-repaired.page-id-22 .footer-brand--overview .v5retime-overview-link {
  margin: 0 !important;
}

body.v5retime-baby-repaired.page-id-22 .footer-brand--overview img,
body.v5retime-baby-repaired.page-id-22 .footer-brand--overview p {
  display: none !important;
}

@media (max-width: 480px) {
  body.v5retime-baby-repaired.page-id-22 .feature-link {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    padding: 14px 16px !important;
  }
}
body.v5retime-baby-repaired.page-id-22 .application-card--main .ribbon {
  position: static !important;
  display: table !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 14px auto !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
}

/* 1.2.6: keep the opening modal fixed and prevent the page behind it from moving. */
html.is-opening,
body.v5retime-baby-repaired.is-opening {
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.v5retime-baby-repaired.is-opening,
body.v5retime-baby-repaired.is-opening .opening {
  touch-action: none;
}

/* Keep native WordPress movie players centered and equal in height. */
body.v5retime-baby-repaired.page-id-22 .video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

body.v5retime-baby-repaired.page-id-22 .area-guide-link-wrap {
  width: 100%;
  margin: 22px auto 0;
  text-align: center;
}

body.v5retime-baby-repaired.page-id-22 .area-guide-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8em;
  width: 100%;
  min-height: 64px;
  padding: 15px 24px;
  border: 1px solid rgba(122, 145, 127, .38);
  border-radius: 18px;
  color: #5f6e62;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(234,242,232,.9));
  box-shadow: 0 10px 24px rgba(71, 91, 75, .09);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .055em;
  transition: transform .2s ease, box-shadow .2s ease;
}

body.v5retime-baby-repaired.page-id-22 .area-guide-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(71, 91, 75, .14);
}

body.v5retime-baby-repaired.page-id-22 .area-guide-link span {
  color: #e2786b;
  font-size: 1.2em;
}

@media (max-width: 720px) {
  body.v5retime-baby-repaired.page-id-22 .area-guide-link-wrap { margin-top: 16px; }
  body.v5retime-baby-repaired.page-id-22 .area-guide-link {
    min-height: 58px;
    padding: 13px 16px;
    font-size: .92rem;
  }
}

/* Preserve the approved desktop spacing around the centered logo. */
@media (min-width: 801px) {
  body.v5retime-baby-repaired.page-id-22 .wp-center-logo {
    height: 114px !important;
    min-height: 114px !important;
  }
  body.v5retime-baby-repaired.page-id-22 .wp-center-logo img {
    top: 25px !important;
    transform: translateX(-50%) !important;
  }
  body.v5retime-baby-repaired.page-id-22 .site-header .header-inner {
    height: 72px !important;
  }
}

@media (max-width: 800px) {
  body.v5retime-baby-repaired #header-in .header-site-logo-image {
    width: min(310px, calc(100vw - 32px)) !important;
    max-height: 68px !important;
  }
  body.v5retime-baby-repaired.page-id-22 .registration-home { padding: 52px 0 60px; }
  body.v5retime-baby-repaired.page-id-22 .registration-home__card {
    grid-template-columns: 1fr;
    gap: 24px;
    box-shadow: 0 7px 0 #efd5c0, 0 18px 34px rgba(118,92,81,.13);
  }
}

@media (max-width: 480px) {
  body.v5retime-baby-repaired.page-id-22 .registration-home dl { grid-template-columns: 1fr; }
}

/* 1.2.7: make the public Cocoon shell match the approved local Baby header. */
body.v5retime-baby-repaired #navi {
  display: none !important;
}

body.v5retime-baby-repaired #content {
  margin-top: 0 !important;
}

body.v5retime-baby-repaired #main {
  padding-top: 0 !important;
}

@media (min-width: 801px) {
  body.v5retime-baby-repaired #header,
  body.v5retime-baby-repaired #header-in {
    height: 114px !important;
    min-height: 114px !important;
  }
}

/* 1.3.4: mobile media and gift presentation fixes from physical-device checks. */
@media (max-width: 800px) and (orientation: portrait) {
  html body.v5retime-baby-repaired.page-id-22 #opening.opening video {
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    object-position: center center !important;
    transform: none !important;
  }
}

body.v5retime-baby-repaired.page-id-22 .gift-plan-grid figure,
body.v5retime-baby-repaired.page-id-22 .gift-plan-grid figure img,
body.v5retime-baby-repaired.page-id-22 .hero-visual,
body.v5retime-baby-repaired.page-id-22 .hero-visual > img {
  background-color: #cbd5d0 !important;
}

body.v5retime-baby-repaired.page-id-22 .gift-plan-grid figure img,
body.v5retime-baby-repaired.page-id-22 .hero-visual > img {
  mix-blend-mode: multiply !important;
  filter: brightness(.88) contrast(1.08) saturate(.96) !important;
}

/* Extend the A PLAN photograph itself into its side margins. */
body.v5retime-baby-repaired.page-id-22 .gift-plan-grid figure:first-child img {
  background-image: url("https://www.v5retime.jp/baby/wp-content/uploads/2026/08/hero-a-plan.jpg") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Keep the decorative sun fully coloured and deliberately placed. */
body.v5retime-baby-repaired.page-id-22 .hero__sun {
  top: 18px !important;
  right: 18px !important;
  width: clamp(76px, 9vw, 118px) !important;
  height: clamp(76px, 9vw, 118px) !important;
  opacity: .94 !important;
  transform: none !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

body.v5retime-baby-repaired.page-id-22 .hero__sun img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* The HERO label belongs below the image, not on top of it. */
body.v5retime-baby-repaired.page-id-22 .data-image span {
  position: static !important;
  display: block !important;
  width: max-content !important;
  margin: 12px 0 0 auto !important;
  padding: 8px 14px !important;
}

@media (max-width: 800px) {
  body.v5retime-baby-repaired.page-id-22 .hero__sun {
    top: 12px !important;
    right: 12px !important;
    width: 72px !important;
    height: 72px !important;
  }
}

/* Final opening rule: never crop the movie on any device or admin state. */
html body.v5retime-baby-repaired.page-id-22 #opening.opening #opening-video,
html body.v5retime-baby-repaired.page-id-22 #opening.opening video {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  background: #000 !important;
}

@media (max-width: 600px) {
  body.v5retime-baby-repaired.page-id-22 .video-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  body.v5retime-baby-repaired.page-id-22 .video-grid figure,
  body.v5retime-baby-repaired.page-id-22 .video-frame {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.v5retime-baby-repaired.page-id-22 .video-frame video,
  body.v5retime-baby-repaired.page-id-22 .video-frame iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto !important;
    object-position: center center !important;
  }

  body.v5retime-baby-repaired.page-id-22 .video-soon {
    grid-column: auto !important;
  }
}

/* 1.3.6: preserve complete media in short landscape phone screens. */
@media (orientation: landscape) and (max-height: 600px) {
  body.v5retime-baby-repaired.page-id-22 .brand-movie__inner {
    width: min(100%, calc(100dvh * 16 / 9)) !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    margin-inline: auto !important;
    background: #000 !important;
    overflow: hidden !important;
  }

  body.v5retime-baby-repaired.page-id-22 #brand-movie-video {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  body.v5retime-baby-repaired.page-id-22 .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 18px !important;
  }

  body.v5retime-baby-repaired.page-id-22 .video-grid figure,
  body.v5retime-baby-repaired.page-id-22 .video-frame {
    width: 100% !important;
    min-width: 0 !important;
    margin-inline: auto !important;
  }

  body.v5retime-baby-repaired.page-id-22 .video-frame {
    position: relative !important;
    aspect-ratio: 9 / 16 !important;
    height: auto !important;
    overflow: hidden !important;
  }

  body.v5retime-baby-repaired.page-id-22 .video-frame iframe,
  body.v5retime-baby-repaired.page-id-22 .video-frame video {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  body.v5retime-baby-repaired.page-id-22 .video-soon {
    display: none !important;
  }
}