/* NICE TAXI homepage: brochure blue/yellow and real Ver.2.1.0 product screens. */
:root {
    color-scheme: light;
    --blue: #284d99;
    --deep: #183a79;
    --yellow: #ffda36;
    --ink: #202c43;
    --muted: #596880;
    --line: #d6deeb;
    --bg: #f2f5fb;
    scroll-padding-top: 90px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; line-height: 1.8; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
p, li { line-break: strict; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #c47a00; outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
section { padding-block: 88px; }
section[id] { scroll-margin-top: 24px; }
mark { color: inherit; background: linear-gradient(transparent 73%, var(--yellow) 73%, var(--yellow) 94%, transparent 94%); padding: 0 .08em; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--blue); }
.skip:focus { top: 16px; }
.header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 40px; height: 40px; border-radius: 9px; }
.brand-title-svg { width: 176px; }
.nav { display: flex; align-items: center; gap: 25px; font-size: .88rem; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 12px 24px; background: var(--blue); border: 1px solid var(--blue); border-radius: 7px; color: #fff; font-weight: 700; text-decoration: none; transition: background .2s; }
.button:hover { background: var(--deep); }
.menu { display: none; min-height: 44px; border: 1px solid var(--line); padding: 6px 12px; background: #fff; border-radius: 6px; color: var(--blue); font-weight: 700; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 0; color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero { position: relative; isolation: isolate; padding: 78px 0 0; color: #fff; background: var(--deep); }
.hero-content, .hero-summary { position: relative; }
.hero-copy { max-width: min(480px, 47%); }
.hero-art { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
/* Show only the brochure's photo band and blend its edges into the hero background. */
.hero-photo {
    position: absolute;
    top: 50%;
    right: max(-22%, -345px);
    width: min(100%, 1250px);
    aspect-ratio: 2573 / 1440;
    overflow: hidden;
    transform: translateY(-50%);
}
.hero-photo img { position: absolute; top: 0; left: 0; width: 100%; transform: translateY(-36%); }
.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--deep), transparent 22%),
        linear-gradient(0deg, var(--deep), transparent 9% 90%, var(--deep));
}
.hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--deep) 0 28%, #183a79f5 39%, #183a79cc 46%, #183a7933 59%, transparent 68%),
        linear-gradient(0deg, var(--deep) 0 8%, transparent 23%);
}
.feature > *, .dashboard-overview > *, .pricing-layout > * { min-width: 0; }
.eyebrow { color: var(--blue); font-size: .8rem; font-weight: 700; letter-spacing: .07em; margin-bottom: 14px; }
.hero-audience { color: #e1e9fa; font-size: .81rem; letter-spacing: .025em; margin-bottom: 16px; }
h1 { font-size: clamp(2.55rem, 4.1vw, 3.6rem); line-height: 1.45; font-weight: 800; letter-spacing: -.045em; }
h1 em { font-style: normal; }
.hero-tagline { color: var(--yellow); font-size: 1.1rem; font-weight: 700; margin: 22px 0 16px; }
.lead { font-size: .96rem; color: #f0f4ff; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; }
.hero .button { background: var(--yellow); color: var(--deep); border-color: var(--yellow); }
.hero .button:hover { background: #ffe773; }
.hero .text-link { color: #fff; font-size: .9rem; }
.hero-case { display: inline-block; margin-top: 22px; font-size: .81rem; color: #e1e9fa; }
.hero-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; padding-block: 24px; margin-top: 54px; border-top: 1px solid #ffffff40; font-size: .88rem; font-weight: 700; }
.hero-summary span { padding-inline: 26px; border-right: 1px solid #ffffff40; }
.hero-summary span:last-child { border: 0; }
.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.5; letter-spacing: -.035em; margin-bottom: 18px; }
.section-head > p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.card-icon { width: 34px; height: 34px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.problems { background: #fff; }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.problem { padding: 25px 0 0; border-top: 3px solid var(--blue); }
.problem .card-icon { margin-bottom: 18px; }
.number { display: block; color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 12px; }
.problem h3 { font-size: 1.13rem; margin-bottom: 12px; }
.problem p { color: var(--muted); font-size: .92rem; }
.solution { background: var(--bg); }
.workflow { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; max-width: 1000px; margin-inline: auto; }
.workflow-source { background: var(--blue); color: #fff; padding: 30px; border-radius: 8px; }
.flow-no { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 7px; color: var(--yellow); }
.workflow h3 { font-size: 1.2rem; margin-bottom: 8px; }
.workflow p { font-size: .88rem; }
.workflow-branches { display: grid; gap: 18px; }
.workflow-destination { position: relative; padding: 22px 28px; border: 1px solid var(--line); border-left: 4px solid var(--yellow); background: #fff; border-radius: 5px; }
.workflow-destination::before { content: "→"; position: absolute; left: -45px; top: 36%; color: var(--blue); font-size: 1.5rem; }
.workflow-destination .flow-no { color: var(--blue); }
.workflow-destination p { color: var(--muted); }
.screen-disclaimer { margin-top: 18px; font-size: .8rem !important; }
.dashboard-overview { display: grid; grid-template-columns: .7fr 1.3fr; gap: 42px; align-items: center; padding: 34px; background: var(--bg); border-radius: 10px; margin-bottom: 34px; }
.dashboard-overview h3 { font-size: 1.7rem; line-height: 1.6; margin-bottom: 16px; }
.dashboard-overview p:not(.feature-label) { color: var(--muted); font-size: .91rem; }
.feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; padding: 54px 0; border-bottom: 1px solid var(--line); }
.feature-label { color: var(--blue); font-size: .81rem; font-weight: 700; margin-bottom: 14px; }
.feature h3, .setup-support h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.6; margin-bottom: 18px; letter-spacing: -.03em; }
.feature-copy > p:not(.feature-label) { color: var(--muted); font-size: .94rem; }
.checklist { list-style: none; padding: 0; margin: 20px 0; font-size: .9rem; font-weight: 600; }
.checklist li { position: relative; padding-left: 23px; margin: 8px 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); }
.feature-copy .feature-note { font-size: .78rem !important; border-left: 2px solid var(--line); padding-left: 13px; }
.screen-figure { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #ccd8ea; border-radius: 8px; box-shadow: 0 12px 30px #183a790a; }
.screen-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #e9eff9; padding: 10px 15px; color: var(--deep); font-size: .76rem; font-weight: 700; }
.screen-label span:last-child { flex: none; font-size: .68rem; font-weight: 500; }
.screen-image-link { display: block; }
.screen-image-link img { width: 100%; height: auto; }
.screen-image-link:focus-visible { outline-offset: -5px; }
.screen-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: .73rem; color: var(--muted); }
.screen-zoom { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 7px 9px; color: var(--blue); font-weight: 700; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.screen-zoom:hover { background: var(--bg); }
.supporting-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 38px; }
.supporting-features article { padding: 26px; background: var(--bg); border-radius: 6px; }
.supporting-features article:first-child { background: #fff8d4; }
.supporting-features h3 { color: var(--deep); font-size: 1.06rem; margin-bottom: 12px; }
.supporting-features p { font-size: .88rem; color: var(--muted); }
.resource-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; margin-top: 28px; font-size: .9rem; }

/* Customer profile and interview share one card. */
.case-study { background: var(--bg); }
.case-story { max-width: 960px; margin-inline: auto; padding: clamp(20px, 4vw, 40px); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 14px; background: #fff; }
.case-profile { display: flex; align-items: center; gap: clamp(14px, 3vw, 24px); padding-bottom: 22px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.case-logo { flex: none; width: clamp(54px, 10vw, 76px); }
.case-company { color: var(--blue); font-weight: 800; font-size: 1.15rem; }
.case-duration { color: var(--muted); font-size: .88rem; }
.case-duration strong { margin-right: .5em; color: var(--blue); }
.case-interview { color: var(--muted); }
.interview-intro { margin-bottom: 6px; font-size: .86rem; }
.interview-item { padding: 24px 0; border-bottom: 1px solid #dce6ef; }
.interview-item h3 { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; color: var(--ink); font-size: 1.05rem; line-height: 1.65; }
.interview-q { display: inline-grid; place-items: center; flex: none; width: 36px; min-height: 30px; border-radius: 7px; background: #e6f2fc; color: var(--blue); font-size: .82rem; font-weight: 800; }
.interview-item p { padding-left: 48px; font-size: .95rem; line-height: 1.9; }
.interview-item strong { color: var(--blue); font-weight: 700; }
.interview-note { padding-top: 22px; }
.case-note { font-size: .79rem; line-height: 1.7; margin-bottom: 0; }
.contact .eyebrow { color: #b4ddff; }
.contact-email { margin-top: 32px; }
.contact-email p { margin-bottom: 6px; font-size: .9rem; }
.contact-email a { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; overflow-wrap: anywhere; }
.contact-privacy { font-size: .83rem; margin: 24px 0; }
.contact a { text-underline-offset: 4px; }
.form-disclosure { text-align: left; }
.form-disclosure > summary { width: fit-content; margin-inline: auto; padding: 15px 24px; color: #fff; border: 1px solid #a8cbe8; border-radius: 12px; font-weight: 700; cursor: pointer; }
.form-disclosure > p { text-align: center; margin: 24px 0 0; font-size: .87rem; }
.form-placeholder { margin-top: 20px; }
/* Google Forms is cross-origin: the page cannot measure its content height.
   Keep internal scrolling available instead of clipping unknown form fields. */
.form-placeholder iframe { height: clamp(640px, 85svh, 1050px); }
.footer { color: #d3e2ef; }
.footer-company { margin-bottom: 18px; line-height: 1.9; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-bottom: 22px; }
.footer-links a { text-underline-offset: 4px; }
.pricing-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.price-panel { padding: 30px; color: #fff; background: var(--blue); border-radius: 8px; }
.pricing-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pricing-heading h3 { font-size: 1rem; }
.pricing-heading > span { font-size: .74rem; }
.monthly-price { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 16px 0 0; }
.monthly-price strong { font-family: Arial, sans-serif; color: var(--yellow); font-size: clamp(2.8rem, 5.4vw, 4.4rem); line-height: 1.3; letter-spacing: -.03em; }
.monthly-price > span { font-size: 1.2rem; font-weight: 700; }
.annual-price { text-align: center; font-size: .81rem; margin-bottom: 24px; }
.setup-price { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-block: 1px solid #ffffff55; }
.setup-price > span { font-weight: 700; font-size: .95rem; }
.setup-price small { display: block; font-size: .74rem; font-weight: 400; }
.setup-price strong { font-family: Arial, sans-serif; font-size: 1.8rem; white-space: nowrap; }
.setup-price strong span { font-family: sans-serif; font-size: .9rem; margin-left: 5px; }
.first-year { margin-top: 18px; font-size: .82rem; }
.first-year strong { font-size: 1.2rem; margin-left: 8px; }
.first-year small { display: block; font-size: .7rem; margin-top: 4px; }
.setup-support > p:last-child { color: var(--muted); font-size: .88rem; }
.price-note { color: var(--muted); font-size: .79rem; margin-top: 22px; }
.pricing-action { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 32px; }
.steps { background: var(--bg); }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { border-top: 1px solid #a1b4d4; padding: 22px 0 0; }
.step b { display: inline-block; font-size: 1.2rem; color: var(--blue); }
.step .card-icon { margin: 16px 0; }
.step h3 { font-size: 1.06rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .86rem; }
.step p br { display: none; }
.faq-list { max-width: 840px; margin: auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; font-family: Arial, sans-serif; font-size: 1.15rem; color: var(--blue); }
.faq summary::after { content: "＋"; margin-left: auto; flex: none; color: var(--blue); }
.faq[open] summary::after { content: "−"; }
.answer { padding: 0 28px 24px; font-size: .91rem; color: var(--muted); }
#subsidy { scroll-margin-top: 24px; }
.subsidy-answer p { margin-bottom: 12px; }
.subsidy-links { display: flex; flex-wrap: wrap; column-gap: 22px; font-size: .85rem; }
.subsidy-links a { justify-content: flex-start; min-height: 44px; text-decoration: underline; }
.contact { background: var(--deep); color: #fff; }
.contact-box { max-width: 1000px; text-align: center; }
.contact h2 { color: var(--yellow); }
.contact-box > p { color: #dce6fa; }
.contact .contact-privacy { margin: 24px 0; }
.form-placeholder { overflow: hidden; border-radius: 12px; background: #fff; }
.form-placeholder iframe { display: block; width: 100%; border: 0; background: #fff; }
.footer { padding: 34px 0; background: #102c5d; text-align: center; font-size: .78rem; }
.footer .brand { display: flex; justify-content: center; margin-bottom: 18px; }
.footer .brand-logo { width: 190px; filter: brightness(0) invert(1); }
.footer-company, .footer-trademark { margin-bottom: 18px; }
.screen-dialog { width: min(1320px, calc(100% - 24px)); max-height: 90svh; padding: 22px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; box-shadow: 0 24px 80px #183a7940; }
.screen-dialog::backdrop { background: #102341d9; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-heading h2 { margin: 0; font-size: 1.15rem; }
.dialog-close { flex: none; border: 1px solid var(--line); padding: 9px 14px; background: var(--bg); color: var(--blue); border-radius: 5px; font-weight: 700; }
.dialog-hint { margin: 14px 0; font-size: .79rem; color: var(--muted); }
.dialog-scroll { overflow: auto; max-height: 65svh; border: 1px solid var(--line); }
.dialog-content { min-width: 1200px; }
.dialog-content img { width: 100%; max-width: none; height: auto; }
body:has(.screen-dialog[open]) { overflow: hidden; }
@media (max-width: 1050px) {
    .header-inner { min-height: 68px; }
    .menu { display: block; }
    .nav { display: none; position: absolute; top: 68px; right: 24px; left: 24px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px #183a7920; }
    .nav.open { display: grid; gap: 16px; }
    h1 { font-size: 2.6rem; }
    .hero-summary span { padding-inline: 16px; }
    .feature { gap: 32px; }
    .dashboard-overview { gap: 28px; padding: 26px; }
    .pricing-layout { gap: 28px; }
}
@media (max-width: 900px) {
    .hero { --hero-photo-height: clamp(160px, 51vw, 410px); padding-top: var(--hero-photo-height); }
    .hero-art { bottom: auto; height: calc(var(--hero-photo-height) + 24px); }
    .hero-photo { top: 0; right: 0; width: 100%; transform: none; }
    .hero-photo::after { background: linear-gradient(0deg, var(--deep), transparent 25%); }
    .hero-art::after { background: linear-gradient(0deg, var(--deep) 2%, transparent 33%); }
    .hero-copy { max-width: 600px; }
}
@media (max-width: 800px) {
    section { padding-block: 64px; }
    .hero { padding-top: var(--hero-photo-height); padding-bottom: 0; }
    h1 { font-size: clamp(2.5rem, 6.5vw, 3.5rem); }
    .hero-summary { margin-top: 32px; gap: 12px; }
    .hero-summary span { padding-inline: 12px; font-size: .8rem; }
    .problem-grid { gap: 22px; }
    .problem h3 { font-size: 1rem; }
    .workflow { gap: 42px; grid-template-columns: .9fr 1.1fr; }
    .workflow-source, .workflow-destination { padding: 22px; }
    .workflow-destination::before { left: -32px; }
    .workflow h3 { font-size: 1.05rem; }
    .dashboard-overview, .feature, .pricing-layout { grid-template-columns: 1fr; }
    .feature { gap: 24px; padding-block: 40px; }
    .step-grid { grid-template-columns: 1fr; }
    .price-panel { max-width: 600px; width: 100%; margin-inline: auto; }
}
@media (max-width: 500px) {
    .container { width: calc(100% - 36px); }
    .header-inner { gap: 8px; }
    .brand-icon { width: 32px; height: 32px; }
    .brand-title-svg { width: 137px; }
    .brand { gap: 7px; }
    .menu { padding-inline: 9px; font-size: .8rem; }
    .hero-audience { font-size: .72rem; }
    h1 { font-size: clamp(2.05rem, 9vw, 2.8rem); }
    .hero-tagline { font-size: .96rem; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; }
    .hero-actions .button { padding-inline: 16px; }
    .hero-summary { justify-content: flex-start; gap: 10px 0; }
    .hero-summary span { font-size: .72rem; padding-inline: 10px; }
    .section-head { margin-bottom: 32px; }
    .section-head h2 { font-size: 1.65rem; }
    .problem-grid, .workflow, .supporting-features { grid-template-columns: 1fr; }
    .problem { padding-top: 22px; }
    .problem .card-icon { float: right; margin-left: 14px; }
    .workflow { gap: 36px; }
    .workflow-branches { position: relative; }
    .workflow-branches::before { content: "↓"; position: absolute; top: -37px; left: calc(50% - 8px); color: var(--blue); font-size: 1.4rem; }
    .workflow-destination::before { display: none; }
    .dashboard-overview { padding: 20px 15px; }
    .screen-label { padding: 10px; font-size: .67rem; }
    .screen-label span:last-child { font-size: .6rem; }
    .screen-caption { flex-wrap: wrap; gap: 9px; padding: 11px; }
    .screen-caption > span { flex-basis: 100%; }
    .screen-zoom { margin-left: auto; }
    .supporting-features { gap: 15px; }
    .interview-item p { padding-left: 0; }
    .interview-item h3 { font-size: 1rem; gap: 10px; }
    .price-panel { padding: 23px 18px; }
    .monthly-price strong { font-size: 3.2rem; }
    .annual-price { font-size: .72rem; }
    .setup-price { flex-wrap: wrap; gap: 8px; }
    .setup-price strong { margin-left: auto; }
    .first-year strong { display: block; margin-left: 0; }
    .first-year small { font-size: .68rem; }
    .step-grid { gap: 24px; }
    .step h3 { font-size: .95rem; }
    .step p { font-size: .8rem; }
    .answer { padding-inline: 0; }
    .screen-dialog { padding: 14px; }
    .dialog-heading h2 { font-size: .95rem; }
    .dialog-close { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
@media print {
    .header { position: static; }
    .menu, .screen-zoom, .form-disclosure, .screen-dialog { display: none !important; }
    .feature, .price-panel, .case-profile, .interview-item { break-inside: avoid; }
}
