/* Roomie test v6 definitive overrides - 2026-09-30 */
/* Desktop header: nav only. Legacy CTA area is removed from HTML; ensure mobile-only content can never leak. */
@media (min-width: 769px){
  header .content_sp,
  header .content_sp.sp,
  header nav > .content_sp{display:none!important;}
  header .h_inner{display:flex!important;align-items:center!important;justify-content:space-between!important;}
  header .h_right{display:flex!important;align-items:center!important;justify-content:flex-end!important;padding-right:0!important;}
  header .nav_list{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:0!important;}
}

/* Keep mobile hamburger content available only on mobile. */
@media (max-width: 768px){
  header .content_sp.sp{display:block;}
  .mobile-menu-cv{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:18px!important;}
}

/* Footer: symmetric, centered and stable regardless of older stylesheet cascade. */
.site-footer .ft_top{padding:54px 0 28px!important;}
.site-footer .ft_top>.inner.footer-grid{
  max-width:1180px!important;margin:0 auto!important;padding-left:24px!important;padding-right:24px!important;
  display:grid!important;grid-template-columns:1fr!important;gap:28px!important;align-items:start!important;
}
.site-footer .footer-brand{max-width:900px!important;margin:0 auto!important;text-align:center!important;}
.site-footer .footer-brand .ft_info_logo,.site-footer .footer-kakuzan{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0 14px 16px!important;}
.site-footer .footer-brand .ft_info_logo img{width:200px!important;height:auto!important;}
.site-footer .footer-kakuzan img{width:210px!important;max-height:74px!important;object-fit:contain!important;}
.site-footer .footer-brand .tt-ft1,.site-footer .footer-brand .tt-ft{max-width:820px!important;margin:6px auto!important;text-align:center!important;line-height:1.8!important;}
.site-footer .footer-nav{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;border-top:1px solid #e5e5e5!important;border-bottom:1px solid #e5e5e5!important;padding:24px 0!important;}
.site-footer .footer-nav__col{padding:0 28px!important;text-align:center!important;border-right:1px solid #ececec!important;}
.site-footer .footer-nav__col:last-child{border-right:0!important;}
.site-footer .footer-nav__title{font-weight:900!important;margin:0 0 12px!important;}
.site-footer .footer-nav ul{margin:0!important;padding:0!important;list-style:none!important;}
.site-footer .footer-nav li{margin:7px 0!important;}
.site-footer .footer-cta{width:100%!important;max-width:920px!important;margin:0 auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;}
.site-footer .footer-cta__item{min-height:92px!important;border-radius:14px!important;padding:16px 20px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important;}
.site-footer .footer-cta__item--ai{background:#ff3679!important;color:#fff!important;}
.site-footer .footer-cta__item--ai small{color:#fff34f!important;font-weight:900!important;}
.site-footer .footer-cta__item--ai strong{font-size:22px!important;color:#fff!important;}
.site-footer .footer-cta__item--buy{background:#fff34f!important;color:#222!important;border:2px solid #222!important;}
.site-footer .footer-cta__item--buy strong{font-size:21px!important;}
.site-footer .footer-cta__tel,.site-footer .footer-cta__contact{min-height:54px!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:900!important;text-decoration:none!important;}
.site-footer .footer-cta__tel{background:#fff!important;color:#222!important;border:1px solid #d6d6d6!important;}
.site-footer .footer-cta__contact{background:#222!important;color:#fff!important;}
.site-footer address{grid-column:1/-1!important;text-align:center!important;margin-top:8px!important;}
@media (max-width: 768px){
  .site-footer .footer-nav{grid-template-columns:1fr!important;}
  .site-footer .footer-nav__col{border-right:0!important;border-bottom:1px solid #ececec!important;padding:18px 10px!important;}
  .site-footer .footer-nav__col:last-child{border-bottom:0!important;}
  .site-footer .footer-cta{grid-template-columns:1fr!important;}
}

/* New/additional image blocks: use real images from /roomie/images root and never show huge empty placeholder boxes. */
.roomie-image-slot__inner--filled{min-height:0!important;}
.roomie-image-slot__inner--filled img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important;}
.roomie-image-slot--portrait .roomie-image-slot__inner--filled img{max-height:460px!important;margin:auto!important;}
.roomie-image-slot--landscape .roomie-image-slot__inner--filled img,
.roomie-image-slot--wide .roomie-image-slot__inner--filled img{max-height:520px!important;margin:auto!important;}

/* Bottom sticky LINE button: always visible above other fixed UI. */
.sp_contact{z-index:9998!important;}
.sp_contact .btn_line,.sp_contact .line-pending,.btn_fixed.btn_line{visibility:visible!important;opacity:1!important;}
@media (max-width: 768px){
  .sp_contact{display:block!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:9998!important;}
}

/* Preserve four target icons in original order/position. */
.strength-targets{align-items:stretch!important;}
.strength-targets__item{position:relative!important;transform:none!important;}
.strength-targets__icon{transform:none!important;margin-left:auto!important;margin-right:auto!important;}
