/* KEYPER OSAKA 3.5.2 | unified type hierarchy + top payment/travel
 * Foundation sizes: 12/14/16/18/28/36(px) desktop; 11/14/16/24(px) mobile.
 * Bigger only when meaningfully needed (hero, coupon and monetary figures).
 * Loaded after v3.5.1's price guide to prevent stale overrides. */
:root{--kp52-xs:12px;--kp52-body:15px;--kp52-lead:16px;--kp52-label:14px;--kp52-sub:18px;--kp52-h2:32px;--kp52-number:24px;--kp52-ink:#292b2b;--kp52-accent:#bd4618}
body{font-family:"Noto Sans JP","Hiragino Sans",Meiryo,sans-serif;font-size:var(--kp52-body);line-height:1.7}
/* Header and footer */
.kos-header .kos-nav a,.kos-header .kos-btn,.kos-footer-main>div:not(:first-child)>a{font-size:13px;line-height:1.5}
.kos-footer h3,.kos-footer-maincol p,.kos-final p:not(.kos-kicker){font-size:var(--kp52-label)}
.kos-final h2{font-size:var(--kp52-h2);line-height:1.35}
/* Shared title, paragraph and overline. */
.kos-section-head h2,.kos-faq-lead h2,.kos-workscope-heading h2,.home .kos-cases-section .kos-section-head h2,.home .kos-faq-lead h2,.home .kgp-heading h2{font-size:var(--kp52-h2);line-height:1.36}
.kos-section-head>p,.kos-faq-lead>p,.kos-workscope-heading>p:not(.kos-kicker),.home .kos-workscope-item div>p,.kos-faq-answer,.home .ksp-qualified-copy p,.kos-final p:not(.kos-kicker){font-size:var(--kp52-body);line-height:1.8}
.home .kos-kicker,.home .kgp-kicker,.kos-kicker,.home .ksp-overline,.kos-hero-fee-kicker{font-size:var(--kp52-xs);line-height:1.45;letter-spacing:.1em}
.kos-workscope-item h3,.kos-case-info h3,.kos-faq-item summary,.home .kgp-step-heading h3{font-size:var(--kp52-sub);line-height:1.52}
.home .kos-workscope-type,.home .kos-workscope-type span{font-size:var(--kp52-label)}
.kos-case-price,.home .ksp-coupon-term{font-size:var(--kp52-label)}
/* Guided price selection: short texts all one consistent size. */
.home .kgp-step-heading h3{font-size:var(--kp52-sub)}
.home .kgp-goal,.home .kgp-place-label,.home .kgp-rate-name strong,.home .kgp-call{font-size:var(--kp52-label)}
.home .kgp-panel-head h4{font-size:24px;line-height:1.36}
.home .kgp-rate-price{font-size:var(--kp52-number);line-height:1.25}
.home .kgp-rate-name small,.home .kgp-note,.home .kgp-panel-head>span,.home .kgp-support-links a{font-size:var(--kp52-xs);line-height:1.6}
/* Theme inner pages. */
.kos-price-main h1,.kos-price-page h1,.kos-page-main h1{line-height:1.35}
.kos-price-main p,.kos-price-page p,.kos-page-main p{line-height:1.75}
/* TOP PAYMENT: two aligned elements, minimal space, no pseudo-separators. */
.home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment{display:flex!important;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:clamp(15px,2.5vw,34px);padding:10px 0!important;min-height:0!important;margin:0!important;border:0!important;border-bottom:0!important;background:transparent!important}
.home .kos-hero-v342 .kp52-payment-heading{display:flex;align-items:center;gap:11px;flex:0 0 auto;min-width:0;letter-spacing:0}
.home .kos-hero-v342 .kp52-payment-heading strong{font-size:var(--kp52-label);font-weight:900;color:var(--kp52-ink);white-space:nowrap;line-height:1.4}
.home .kos-hero-v342 .kp52-payment-heading>span{font-size:var(--kp52-label);color:#7e5d48;font-weight:700;line-height:1.45;white-space:nowrap}
.home .kos-hero-v342 .kp52-payment-heading small{font-size:var(--kp52-xs);font-weight:500;color:#796d65}
.home .kos-hero-v342 .kp52-payment-logos{display:flex!important;align-items:center;justify-content:flex-start;gap:18px!important;flex:0 0 auto;width:auto!important;min-width:0}
.home .kos-hero-v342 .kp52-payment-method{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:30px!important;width:auto!important;min-width:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;white-space:nowrap;font-weight:700;color:#383635}
.home .kos-hero-v342 .kp52-payment-method img{display:block;object-fit:contain;flex:none;width:24px!important;height:24px!important;max-width:none}
.home .kos-hero-v342 .kp52-payment-method span{font-size:var(--kp52-label);line-height:1.35}
.home .kos-hero-v342 .kp52-paypay img{width:105px!important;height:30px!important}
.home .kos-hero-v342 .kp52-payment-method::before,.home .kos-hero-v342 .kp52-payment-method::after{content:none!important;display:none!important}
/* TOP TRAVEL: single clean typographic line; no individual cards, no borders. */
.home .kos-hero-v342 .kp52-travel{margin-top:4px;padding:0!important;border:0!important;background:transparent!important}
.home .kos-hero-v342 .kp52-travel .kp47-travel-inner{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:8px 0 4px!important;border:0!important}
.home .kos-hero-v342 .kp52-travel .kp47-travel-lead{display:flex;flex-direction:column;gap:2px;align-items:flex-start;justify-content:center;min-width:0}
.home .kos-hero-v342 .kp52-travel .kp47-travel-lead>span{font-size:var(--kp52-xs);line-height:1.25;letter-spacing:.1em}
.home .kos-hero-v342 .kp52-travel .kp47-travel-lead h2{font-size:var(--kp52-sub)!important;line-height:1.35;margin:0!important;white-space:nowrap}
.home .kos-hero-v342 .kp52-travel .kp47-travel-tiers{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;width:100%;align-items:center;justify-content:stretch;padding:0!important}
.home .kos-hero-v342 .kp52-travel .kp47-travel-tier{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;min-width:0;padding:0!important;border:0!important;background:transparent!important}
.home .kos-hero-v342 .kp52-travel .kp47-range{font-size:var(--kp52-label)!important;font-weight:800;line-height:1.3;white-space:nowrap;color:#4f4440}
.home .kos-hero-v342 .kp52-travel .kp47-range small{font-size:var(--kp52-xs)!important;line-height:1.3;margin-left:2px}
.home .kos-hero-v342 .kp52-travel .kp47-travel-tier strong{font-size:var(--kp52-number)!important;line-height:1.08;letter-spacing:-.04em;white-space:nowrap}
.home .kos-hero-v342 .kp52-travel .kp47-travel-tier .kp47-free{font-size:var(--kp52-number)!important;color:#327451}
.home .kos-hero-v342 .kp52-travel .kp47-travel-tier strong small{font-size:.58em}
.home .kos-hero-v342 .kp52-travel .kp47-travel-subline{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:8px 16px!important;padding:5px 0 0!important;margin:0!important;min-width:0}
.home .kos-hero-v342 .kp52-travel .kp47-regions summary{font-size:var(--kp52-xs)!important;font-weight:700}
.home .kos-hero-v342 .kp52-travel .kp47-travel-map{display:inline-flex;align-items:center;min-height:35px!important;padding:7px 12px!important;margin:0!important;font-size:var(--kp52-xs)!important;border-radius:6px!important;white-space:nowrap}
.home .kos-hero-v342 .kp52-travel .kp47-travel-note{flex-basis:100%;font-size:11px!important;line-height:1.45!important;margin:0!important;color:#70635c}
.home .kos-hero-v342 .kp52-travel .kp47-regions-body{font-size:var(--kp52-label);line-height:1.75}
/* Night bar shares a controlled typography scale and remains one-row mobile. */
.home .kos-hero-v342 .kp42-night .kos-band-head h2{font-size:var(--kp52-label)}
.home .kos-hero-v342 .kp42-night .kos-night-band-time{font-size:var(--kp52-label);line-height:1.35}
.home .kos-hero-v342 .kp42-night .kos-night-band-charge b{font-size:var(--kp52-number);line-height:1.2}
.home .kos-hero-v342 .kp42-night .kos-night-band-link{font-size:var(--kp52-xs)}
@media (max-width:980px){
 .home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment{gap:14px}
 .home .kos-hero-v342 .kp52-payment-heading{gap:8px}
 .home .kos-hero-v342 .kp52-payment-logos{gap:12px!important}
}
@media (max-width:700px){
 :root{--kp52-xs:11px;--kp52-body:14px;--kp52-lead:15px;--kp52-label:13px;--kp52-sub:16px;--kp52-h2:25px;--kp52-number:22px}
 body{font-size:var(--kp52-body)}
 .kos-section-head h2,.kos-faq-lead h2,.kos-workscope-heading h2,.home .kos-cases-section .kos-section-head h2,.home .kos-faq-lead h2,.home .kgp-heading h2{font-size:var(--kp52-h2)}
 .home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment{display:flex!important;gap:10px!important;padding:8px 0!important;justify-content:space-between!important}
 .home .kos-hero-v342 .kp52-payment-heading{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;flex:1 0 auto}
 .home .kos-hero-v342 .kp52-payment-heading strong{font-size:12px}
 .home .kos-hero-v342 .kp52-payment-heading>span{font-size:11px;line-height:1.3}
 .home .kos-hero-v342 .kp52-payment-heading small{font-size:10px}
 .home .kos-hero-v342 .kp52-payment-logos{display:flex!important;gap:8px!important;flex:0 1 auto;justify-content:flex-end!important}
 .home .kos-hero-v342 .kp52-payment-method{gap:4px!important;min-height:27px!important}
 .home .kos-hero-v342 .kp52-card img{width:20px!important;height:20px!important}
 .home .kos-hero-v342 .kp52-card span{font-size:11px!important;white-space:nowrap}
 .home .kos-hero-v342 .kp52-paypay img{width:81px!important;height:24px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-inner{grid-template-columns:54px minmax(0,1fr)!important;gap:5px!important;padding:5px 0 2px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-lead h2{font-size:15px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-lead>span{font-size:9px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-tiers{gap:5px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-range{font-size:12px!important;letter-spacing:-.035em}
 .home .kos-hero-v342 .kp52-travel .kp47-range small{font-size:10px!important;margin-left:1px}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-tier strong{font-size:20px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-tier .kp47-free{font-size:20px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-subline{gap:3px 8px!important;padding-top:5px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-regions summary{font-size:11px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-map{min-height:32px!important;padding:5px 8px!important;font-size:11px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-note{font-size:10px!important;line-height:1.4!important}
 .home .kgp-step-heading h3{font-size:var(--kp52-sub)}
 .home .kgp-goal,.home .kgp-place-label,.home .kgp-rate-name strong,.home .kgp-call{font-size:13px}
 .home .kgp-panel-head h4{font-size:21px}
 .home .kgp-rate-price{font-size:20px}
 .home .kgp-rate-name small,.home .kgp-note,.home .kgp-support-links a{font-size:11px}
 .kos-footer-maincol p{font-size:12px}
}
@media (max-width:359px){
 .home .kos-hero-v342 .kp52-payment-heading strong{font-size:11px}
 .home .kos-hero-v342 .kp52-payment-heading>span{font-size:10px}
 .home .kos-hero-v342 .kp52-card span{font-size:10px!important}
 .home .kos-hero-v342 .kp52-paypay img{width:72px!important;height:22px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-inner{grid-template-columns:51px minmax(0,1fr)!important;gap:4px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-tiers{gap:3px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-range{font-size:11px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-tier strong{font-size:18px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-tier .kp47-free{font-size:18px!important}
}
@media (prefers-reduced-motion:reduce){.home .kos-hero-v342 .kp52-travel .kp47-travel-map{transition:none}}

/* Keep the payment row genuinely compact; override the older span decoration and wrap. */
.home .kos-hero-v342 .kos-hero-payment-strip.kp42-payment.kp52-payment{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:clamp(14px,2.2vw,28px)!important}
.home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment .kp52-payment-heading{flex:0 0 auto!important;width:auto!important;max-width:100%!important}
.home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment .kp52-payment-logos{flex:0 0 auto!important;width:auto!important;max-width:100%!important}
.home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment .kp52-payment-method{display:inline-flex!important;flex-wrap:nowrap!important;gap:7px!important;padding:0!important;margin:0!important;min-height:30px!important;height:auto!important;line-height:1.3!important;border:0!important;box-shadow:none!important}
.home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment .kp52-payment-method::before,.home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment .kp52-payment-method::after{display:none!important;content:none!important}
.home .kos-hero-v342 .kp52-card-short{display:none}
@media(max-width:700px){
 .home .kos-hero-v342 .kos-hero-payment-strip.kp42-payment.kp52-payment{flex-wrap:nowrap!important;gap:8px!important;justify-content:space-between!important;min-height:0!important;padding:8px 0!important}
 .home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment .kp52-payment-heading{flex:0 1 145px!important;width:auto!important;min-width:0!important}
 .home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment .kp52-payment-logos{display:flex!important;justify-content:flex-end!important;gap:8px!important;flex:0 0 auto!important}
 .home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment .kp52-payment-method{min-height:24px!important;padding:0!important;gap:3px!important}
 .home .kos-hero-v342 .kp52-card-long{display:none!important}
 .home .kos-hero-v342 .kp52-card-short{display:inline!important;font-size:12px!important}
 .home .kos-hero-v342 .kp52-card img{width:20px!important;height:20px!important}
 .home .kos-hero-v342 .kp52-paypay img{width:81px!important;height:23px!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-lead>span{display:none!important}
 .home .kos-hero-v342 .kp52-travel .kp47-travel-lead h2{font-size:15px!important}
}
@media(max-width:359px){
 .home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment .kp52-payment-heading{flex-basis:125px!important}
 .home .kos-hero-v342 .kp52-card-short{font-size:11px!important}
 .home .kos-hero-v342 .kp52-paypay img{width:72px!important;height:22px!important}
}

/* Final night fee: override historical mobile flex-wrap and column rules. */
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night{
 display:block!important;min-height:0!important;margin:6px 0 0!important;
 padding:11px 14px!important;border:0!important;border-radius:0!important;
 background:linear-gradient(90deg,#ffefe0 0%,#ffead8 100%)!important;
}
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-band-head{display:none!important}
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-row{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;
 gap:clamp(6px,2vw,24px)!important;align-items:center!important;
 flex-wrap:nowrap!important;min-height:0!important;height:auto!important;
 margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;
 background:transparent!important;line-height:1.25!important;
}
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-time{
 display:block!important;white-space:nowrap!important;min-width:0!important;
 font-weight:800!important;font-size:var(--kp52-label)!important;
 line-height:1.3!important;
}
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-charge{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
 justify-content:center!important;align-items:baseline!important;gap:5px!important;
 width:auto!important;min-width:0!important;margin:0!important;
 white-space:nowrap!important;line-height:1.2!important;
}
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-charge b{
 display:inline!important;font-size:var(--kp52-number)!important;font-weight:900!important;
 line-height:1.15!important;margin:0!important;white-space:nowrap!important;
}
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-charge b em{font-size:.65em!important;font-style:normal!important}
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-charge small{
 display:inline!important;font-size:var(--kp52-xs)!important;line-height:1.15!important;
 white-space:nowrap!important;margin:0!important;
}
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-link{
 display:inline-flex!important;justify-content:flex-end!important;align-items:center!important;
 margin:0!important;white-space:nowrap!important;font-size:var(--kp52-xs)!important;
 line-height:1.25!important;font-weight:800!important;
}
@media(max-width:700px){
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night{padding:9px 10px!important}
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-row{
  grid-template-columns:minmax(0,1fr) auto 28px!important;gap:5px!important;
 }
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-charge small:first-child{display:none!important}
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-charge{gap:3px!important}
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-time{font-size:clamp(11px,3.4vw,14px)!important}
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-charge b{font-size:clamp(19px,5.3vw,23px)!important}
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-charge small:last-child{font-size:10px!important}
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-link{font-size:11px!important}
}
/* 2026-10-28 final small-screen clarity and separation */
.home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-row{grid-template-columns:minmax(0,1fr) auto auto!important;column-gap:clamp(13px,2.4vw,35px)!important}
@media(max-width:700px){
 .home .kos-hero-v342 .kp52-payment-heading small{display:none!important}
 .home .kos-hero-v342 .kp52-payment-heading{flex:0 0 auto!important;gap:0!important}
 .home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment{justify-content:flex-start!important;gap:clamp(11px,4vw,22px)!important}
 .home .kos-hero-v342 .kp52-payment-logos{flex:0 1 auto!important;justify-content:flex-start!important;gap:8px!important}
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-row{grid-template-columns:minmax(0,1fr) auto auto!important;column-gap:clamp(9px,2.7vw,15px)!important}
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-charge{gap:5px!important}
}
@media(max-width:359px){
 .home .kos-hero-v342 .kos-hero-payment-strip.kp52-payment{display:flex!important;align-items:center!important}
 .home .kos-hero-v342 .kp52-payment-heading strong{font-size:12px!important}
 .home .kos-hero-v342 .kp52-payment-heading>span{font-size:10px!important}
 .home .kos-hero-v342 .kp52-payment-logos{flex:0 1 auto!important;gap:6px!important}
 .home .kos-hero-v342 .kp52-card span{font-size:11px!important}
 .home .kos-hero-v342 .kp52-card img{width:18px!important;height:18px!important}
 .home .kos-hero-v342 .kp52-paypay img{width:67px!important;height:22px!important}
 .home .kos-hero-v342 .kos-hero-info-bands .kos-night-band.kp52-night .kos-night-band-row{column-gap:7px!important}
}
