/* Compact homepage: detail routes carry the longer explanations. */
.home-compact .c-section { padding-block: 76px; }
.home-compact h2 { font-size: clamp(26px, 3.1vw, 42px); line-height: 1.5; letter-spacing: -.035em; }
.home-compact .c-hero-lede { max-width: 620px; }
.home-trial-note { margin-top: 14px; color: var(--c-muted); font-size: 12px; }
.home-compact .c-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.home-compact .c-hero-facts div { padding-inline: 22px; }
.home-compact .c-hero-facts div:first-child { padding-left: 0; }
.home-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.home-feature-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: #fff; border: 1px solid #dfe9f5; border-radius: 22px; }
.home-feature-number { font: 700 12px Inter,sans-serif; color: #4672b8; padding: 8px 10px; border-radius: 10px; background: #edf4ff; }
.home-feature-grid h3 { margin-top: 18px; font-size: 20px; line-height: 1.6; color: var(--c-ink); }
.home-feature-grid p { margin: 12px 0 24px; font-size: 14px; line-height: 1.9; color: var(--c-muted); }
.home-feature-grid a { margin-top: auto; font-size: 13px; font-weight: 700; line-height: 1.8; color: #245fc2; }
.home-feature-grid a:hover,.home-detail-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-detail-link { display: inline-block; margin-top: 24px; font-size: 14px; font-weight: 700; line-height: 1.8; color: #245fc2; }
.home-customize { background: #f0f5fd; }
.home-custom-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.home-custom-grid p { margin-top: 20px; color: var(--c-muted); font-size: 15px; line-height: 1.9; }
.home-custom-visual { position: relative; padding-bottom: 18px; }
.home-custom-visual > img:not(.home-lumi) { display: block; width: 100%; height: auto; border: 6px solid white; border-radius: 14px; box-shadow: 0 14px 40px #24477b14; }
.home-compact .c-training-copy h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.45; }
.home-compact .c-training-lede { margin-top: 18px; font-size: 15px; }
.home-compact .c-training-grid { gap: 52px; }
.home-compact .c-training-visual { min-height: 360px; }
.home-compact .c-training-phone { width: 128px; right: -4px; }
.home-compact .c-training-phone-frame { height: 264px; }
.home-compact .c-training-phone-frame img { width: 100%; height: auto; }
.home-compact .c-industry-entry { padding-block: 55px; }
.home-compact .c-industry-entry-card { min-height: 0; padding: 20px; }
.home-compact .c-industry-entry-card h3 { font-size: 17px; line-height: 1.6; }
.home-compact .c-industry-entry-card p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--c-blue); }
.home-compact .c-industry-entry-card:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 4px; }
.home-diagnose { margin-top: 22px; text-align: center; }
.home-compact .c-customer-button { margin: 0; padding: 0 24px 52px; }
.home-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin-inline: auto; }
.home-plan { display: flex; flex-direction: column; align-items: flex-start; padding: 34px; border: 1px solid #dce6f4; border-radius: 22px; background: #fff; }
.home-plan:first-child { border-color: #94baff; background: linear-gradient(155deg,#fff,#f4f8ff); }
.home-plan h3 { color: var(--c-ink); font-size: 23px; margin-top: 10px; }
.home-plan h3 b { color: #245fc2; }
.home-plan-for { color: var(--c-muted); font-size: 13px; margin-top: 10px; }
.home-plan .c-price { flex-wrap: wrap; margin: 22px 0 10px; gap: 4px; }
.home-plan .c-price strong { font-size: clamp(38px,4.5vw,55px); }
.home-plan .c-price em { font-size: 12px; }
.home-plan ul { padding-left: 1.2em; margin: 12px 0 26px; font-size: 14px; line-height: 2.1; color: var(--c-muted); }
.home-plan .btn { margin-top: auto; width: 100%; }
.home-plan-note { align-self: center; font-size: 12px; color: var(--c-muted); margin-top: 10px; }
.home-price-terms { text-align: center; margin: 24px 0; font-size: 13px; color: var(--c-muted); line-height: 1.9; }
.home-plan-details { max-width: 960px; margin-inline: auto; border: 1px solid #dce6f4; border-radius: 16px; background: #fff; }
.home-plan-details > summary { padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--c-ink); }
.home-plan-details > .c-plan-comparison { border: 0; margin: 0; padding: 0 24px 24px; }
.home-plan-details .c-plan-table-wrap { margin-top: 12px; }
.home-comparison-link { display: block; text-align: center; }
.home-compact .home-faq { padding-block: 72px; }
.home-faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; }
.home-faq .faq-list { max-width: none; }
.home-faq .faq-list summary { font-size: 15px; }
.home-faq .faq-list p { font-size: 14px; }
.home-compact .c-final-cta { padding-block: 68px; }
.home-compact .c-final-inner h2 { font-size: clamp(28px,3vw,42px); }
.home-compact .c-final-actions { flex-wrap: wrap; }
.home-compact :is(#features,#concept,#customize,#training,#pricing,#faq) { scroll-margin-top: 110px; }
@media (max-width: 1000px) {
 .home-feature-grid { gap: 12px; }
 .home-feature-grid article { padding: 22px; }
 .home-custom-grid { gap: 40px; }
 .home-compact .c-training-visual { min-height: 310px; }
 .home-compact .c-training-grid { gap: 30px; }
 .home-plan { padding: 26px; }
 .home-faq-grid { gap: 30px; }
}
@media (max-width: 700px) {
 .home-compact .c-hero-facts { grid-template-columns: 1fr; }
 .home-compact .c-section { padding-block: 48px; }
 .home-heading-with-lumi h2 { font-size: clamp(22px,5.8vw,30px); }
 .home-heading-with-lumi .c-kicker { font-size: 9px; }
 .home-feature-grid { grid-template-columns: 1fr; gap: 12px; }
 .home-feature-grid article { padding: 22px; }
 .home-feature-grid h3 { margin-top: 10px; font-size: 18px; }
 .home-feature-grid p { margin-bottom: 14px; }
 .home-custom-grid,.home-faq-grid { grid-template-columns: 1fr; gap: 30px; }
 .home-custom-visual { margin-top: 10px; }
 .home-compact .c-training-visual { min-height: 285px; margin-top: 0; }
 .home-compact .c-training-phone { width: 112px; right: 0; }
 .home-compact .c-training-phone-frame { height: 232px; }
 .home-compact .c-industry-entry-grid { gap: 10px; }
 .home-compact .c-industry-entry-card { padding: 16px; }
 .home-compact .c-industry-entry-card h3 { font-size: 15px; }
 .home-compact .c-industry-entry-card span { font-size: 9px; }
 .home-plan-grid { grid-template-columns: 1fr; gap: 16px; }
 .home-plan { padding: 26px; }
 .home-plan-details > summary { padding: 18px; font-size: 13px; }
 .home-plan-details > .c-plan-comparison { padding-inline: 12px; }
 .home-compact .home-faq { padding-block: 48px; }
 .home-compact .c-final-cta { padding-block: 46px; }
 .home-compact .c-final-actions { gap: 12px; }
}

/* Keep Lumi attached to the content she introduces. */
.home-compact .home-lumi {
 display: block; flex: 0 0 auto; width: 80px; height: 80px;
 object-fit: cover; object-position: center top; border-radius: 50%;
 background: #e8f1ff; border: 3px solid #fff;
 pointer-events: none; user-select: none;
}
.home-heading-with-lumi { display: flex; align-items: center; gap: 22px; margin-bottom: 30px; }
.home-heading-with-lumi .c-section-head { margin: 0; }
.home-lumi-link { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.home-compact .home-lumi-link .home-lumi { width: 60px; height: 60px; }
.home-lumi-link :is(.home-detail-link,.c-training-detail-link) { margin: 0; flex: 1; }
.home-faq-intro { display: flex; align-items: center; align-self: start; gap: 18px; }
.home-compact .home-faq-intro h2 { font-size: clamp(24px,2.2vw,32px); }
.home-compact .c-final-inner { padding-inline: 24px; }
.home-final-heading { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 18px; }
.home-final-heading h2 { margin: 0; text-align: left; }
.home-compact .home-final-heading .home-lumi { width: 96px; height: 96px; background: #dceaff; border-color: #dceaff; }
@media (max-width: 1000px) {
 .home-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
 .home-heading-with-lumi { gap: 14px; margin-bottom: 24px; }
 .home-compact .home-heading-with-lumi .home-lumi { width: 60px; height: 60px; }
 .home-heading-with-lumi h2 { font-size: clamp(20px,5.4vw,28px); }
 .home-faq-intro { gap: 16px; }
 .home-compact .home-faq-intro .home-lumi { width: 64px; height: 64px; }
 .home-final-heading { gap: 14px; }
 .home-compact .home-final-heading .home-lumi { width: 64px; height: 64px; }
 .home-compact .home-final-heading h2 { font-size: clamp(19px,5.4vw,28px); }
}

/* Photo-led first view: the message and the shop form one scene. */
.home-photo-hero { padding-top: 72px; background: #f5efe5; }
.home-hero-scene { position: relative; isolation: isolate; min-height: 590px; overflow: hidden; }
.home-hero-photo { position: absolute; z-index: -2; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; object-position: center 78%; }
.home-hero-scene::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#f5efe5 0%,#f5efe5 43%,#f5efe500 67%); }
.home-hero-layout { display: flex; align-items: center; min-height: 590px; }
.home-hero-message { padding-block: 48px; max-width: 650px; }
.home-hero-eyebrow { color: #635442; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.home-hero-message h1 { margin: 22px 0 0; font-family: 'Noto Sans JP',sans-serif; font-size: clamp(36px,3.8vw,54px); font-weight: 800; line-height: 1.45; letter-spacing: -.04em; color: #272e38; }
.home-hero-message h1 span { color: #174e9c; }
.home-hero-description { margin: 22px 0 0; font-size: 15px; line-height: 1.9; color: #4d4842; }
.home-hero-entry { background: #fff; border-bottom: 1px solid #e7e2da; }
.home-hero-entry-inner { display: flex; align-items: center; justify-content: center; gap: 44px; padding-block: 26px; }
.home-hero-offer p { display: flex; align-items: baseline; gap: 4px; color: #323940; font-size: 13px; }
.home-hero-offer strong { font-size: 28px; line-height: 1.3; letter-spacing: -.02em; }
.home-hero-offer strong span { font-size: 16px; }
.home-hero-offer small { font-size: 10px; }
.home-hero-offer > span { display: block; margin-top: 5px; color: #64696e; font-size: 12px; }
.home-hero-buttons { min-width: 280px; text-align: center; }
.home-hero-buttons .btn { display: flex; align-items: center; justify-content: center; gap: 25px; width: 100%; min-height: 54px; border-radius: 8px; background: #125ac3; border-color: #125ac3; box-shadow: 0 3px 0 #0b408d; font-size: 16px; font-weight: 700; }
.home-hero-buttons .btn:hover { background: #0d4ca8; }
.home-hero-buttons p { margin-top: 10px; font-size: 11px; color: #64696e; }
.home-hero-contact { color: #174e9c; font-size: 14px; font-weight: 700; white-space: nowrap; text-underline-offset: 5px; }
.home-hero-contact:hover { text-decoration: underline; }
@media (max-width: 1000px) and (min-width: 701px) {
 .home-hero-entry-inner { gap: 24px; }
 .home-hero-buttons { min-width: 240px; }
 .home-hero-scene,.home-hero-layout { min-height: 550px; }
 .home-hero-message h1 { font-size: 38px; }
 .home-hero-description { max-width: 340px; font-size: 14px; }
 .home-hero-description br { display: none; }
}
@media (max-width: 700px) {
 .home-hero-scene { min-height: 0; height: clamp(455px,133vw,570px); }
 .home-hero-photo { width: 100%; object-position: center bottom; }
 .home-hero-scene::before { background: linear-gradient(180deg,rgba(250,245,237,.94) 0%,rgba(250,245,237,.88) 43%,rgba(250,245,237,.12) 56%,transparent 65%); }
 .home-hero-layout { min-height: 0; align-items: flex-start; }
 .home-hero-message { padding: 26px 0 0; width: 100%; }
 .home-hero-eyebrow { font-size: 11px; letter-spacing: .04em; }
 .home-hero-message h1 { margin-top: 12px; font-size: clamp(28px,8vw,36px); line-height: 1.4; letter-spacing: -.045em; }
 .home-hero-description { margin-top: 12px; font-size: 12px; line-height: 1.8; }
 .home-hero-entry-inner { flex-wrap: wrap; gap: 12px; padding-top: 17px; padding-bottom: 82px; }
 .home-hero-offer { display: flex; align-items: baseline; justify-content: center; gap: 12px; width: 100%; }
 .home-hero-offer strong { font-size: 22px; }
 .home-hero-offer strong span { font-size: 13px; }
 .home-hero-offer p { font-size: 11px; gap: 2px; }
 .home-hero-offer small { font-size: 9px; }
 .home-hero-offer > span { display: none; }
 .home-hero-buttons { min-width: 0; width: 100%; }
 .home-hero-buttons p { font-size: 10px; margin-top: 8px; }
 .home-hero-contact { font-size: 13px; }
}
