@charset "UTF-8";
/*
  hp.nodavis.com landing page. Layout follows the "phone-width column with side panels" pattern;
  colours stay Nodavis (teal, navy) so it still reads as the same company as www.nodavis.com; typefaces follow the reference LP
  (Noto Sans JP for text, Noto Serif JP 900 for section headings, Inter italic for Latin labels) at the user's request (2026-11-05).
  Written mobile-first on its own: the corporate site.css is laid out by viewport width, which breaks inside a fixed-width column.
*/

:root {
  color-scheme: light dark;
  --navy: #1a2b5e;
  --teal: #1a8c8c;
  --page: #e6eae7;
  --grid-line: rgb(26 43 94 / 8%);
  --bg: #f7f8f6;
  --card: #ffffff;
  --text: #252d35;
  --muted: #57616b;
  --line: #cdd3d4;
  --ink: #1c2430;
  --accent: var(--teal);
  --accent-ink: #126c6c;
  --accent-soft: #dcefed;
  --dark: var(--navy);
  --on-dark: #f7f8f6;
  --on-dark-muted: #c6cee3;
  --gold: #e0a526;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-heading: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-latin: Inter, "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --column: 460px;
  --pad: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0d1217;
    --grid-line: rgb(255 255 255 / 5%);
    --bg: #141a21;
    --card: #1c242d;
    --text: #edf0f3;
    --muted: #b6bfc8;
    --line: #46515d;
    --ink: #edf0f3;
    --accent: #75ceca;
    --accent-ink: #75ceca;
    --accent-soft: #1f3a3b;
    --dark: #0b1630;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body {
  margin: 0; color: var(--text); font: 500 16px/1.9 var(--font-body); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
  /* The graph-paper backdrop only shows beside the column on wider screens. */
  background-color: var(--page);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
}
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
/* Break Japanese at phrase boundaries where the browser supports it (Chrome/Edge), so short lines don't split a word like 見に／くい. */
h1, h2, h3, p, li, summary { word-break: auto-phrase; }
h1, h2, h3 { font-family: var(--font-body); font-weight: 900; line-height: 1.55; letter-spacing: .03em; overflow-wrap: normal; }
/* Section headings use the serif, as on the reference, so they stand apart from the heavy sans text around them. */
h2 { font-family: var(--font-heading); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 4px; }
svg.ph { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 10px 20px; border-radius: 999px; background: var(--card); color: var(--accent-ink); font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- the column ---------- */
.column { position: relative; width: 100%; max-width: var(--column); margin-inline: auto; min-height: 100vh; background: var(--bg); }
@media (min-width: 500px) {
  .column { border-inline: 2px solid var(--ink); box-shadow: 0 0 60px rgb(26 43 94 / 12%); }
}

/* ---------- pill buttons ---------- */
.pill {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 62px; padding: 10px 30px; border-radius: 999px;
  border: 3px solid var(--card); box-shadow: 0 0 0 2px var(--teal), 0 10px 22px rgb(26 140 140 / 32%);
  background: linear-gradient(135deg, #1f9c99, #1a8c8c 55%, #146f6f);
  /* 19px bold counts as large text, so white on this teal meets contrast. */
  color: #fff; font-size: 19px; font-weight: 900; line-height: 1.4; text-align: center;
}
.pill > span { display: grid; }
.pill small { font-size: 13px; font-weight: 700; opacity: .92; }
.pill .ph { font-size: 22px; }
.pill-sm { min-height: 44px; padding: 6px 18px; gap: 8px; font-size: 15px; border-width: 2px; box-shadow: 0 0 0 2px var(--teal); }
.pill-sm .ph { font-size: 16px; }
.pill-ghost { background: var(--card); color: var(--accent-ink); box-shadow: 0 0 0 2px var(--accent-ink); }
@media (hover: hover) {
  .pill:hover { filter: brightness(1.08); }
  .pill-ghost:hover { background: var(--accent-soft); filter: none; }
}

/* ---------- header and tags ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 12px 12px 0; padding: 10px 10px 10px 18px; border-radius: 18px;
  background: var(--dark); border: 2px solid var(--teal);
}
.brand { display: grid; gap: 2px; width: 120px; color: var(--on-dark); }
.brand span { font-size: 11px; letter-spacing: .14em; color: var(--on-dark-muted); line-height: 1.4; }

.tags { display: flex; overflow: hidden; padding: 12px 0; border-bottom: 2px solid var(--ink); }
.tags-track { display: flex; flex-shrink: 0; gap: 8px; padding-right: 8px; }
.tags-track li { padding: 3px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 700; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { padding: 16px 14px 8px; }
.hero-card {
  position: relative; overflow: hidden; padding: 26px var(--pad) 0;
  border: 2px solid var(--ink); border-radius: 26px;
  background-color: var(--card);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.offer-tag { display: inline-block; margin-top: 14px; padding: 2px 16px; border-radius: 999px; background: var(--gold); color: #2a2104; font-weight: 700; letter-spacing: .06em; }
/* Sized so 「月1万円（税別）だけで」 stays on one line down to 360px wide; the em numbers are 1.5x. */
.hero h1 { margin-top: 12px; font-size: clamp(26px, 7.6vw, 36px); font-weight: 900; line-height: 1.5; letter-spacing: .02em; }
.hero h1 em, .side-catch em { font-style: normal; color: var(--accent-ink); font-size: 1.5em; line-height: 1; letter-spacing: 0; }
.tax-note { font-size: .45em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.hero-sub { margin-top: 14px; color: var(--muted); }
.hero-visual { position: relative; margin-top: 22px; padding-right: 72px; }
.hero-device { border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: 6px 6px 0 var(--ink); }
.hero-mascot { position: absolute; right: -10px; bottom: 6px; width: 118px; }
.hero-visual figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.hero-actions { display: grid; gap: 14px; margin-top: 20px; }
.hero-band {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 24px calc(var(--pad) * -1) 0; padding: 16px var(--pad); background: var(--dark);
}
.hero-band img { width: 140px; }
.hero-band p { color: var(--on-dark-muted); font: 800 11px/1.5 var(--font-latin); letter-spacing: .16em; text-align: right; }

/* ---------- sections ---------- */
.sec { padding: 64px var(--pad); }
.sec-dark { background: var(--dark); color: var(--on-dark); --muted: var(--on-dark-muted); }
.sec-tint { background: var(--accent-soft); }
.sec-head { margin-bottom: 30px; }
.sec-label { display: flex; align-items: baseline; gap: 10px; color: var(--accent-ink); font: italic 900 22px/1.2 var(--font-latin); letter-spacing: .02em; }
.sec-label span { font-style: normal; font-size: 14px; color: var(--muted); }
.sec-dark .sec-label { color: #75ceca; }
.sec-head h2 { margin-top: 10px; font-size: clamp(26px, 7vw, 30px); }
.sec-head > p:last-child:not(.sec-label) { margin-top: 14px; color: var(--muted); }

.pain-list { display: grid; gap: 14px; }
.pain-list li { display: flex; align-items: center; gap: 16px; padding: 18px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 4px 4px 0 var(--ink); font-weight: 700; }
.pain-list .ph { font-size: 34px; color: var(--accent-ink); }
.industry-line { margin-top: 22px; color: var(--muted); }

.steps { display: grid; gap: 34px; counter-reset: step; }
.steps li { position: relative; padding: 22px; border-radius: 18px; background: var(--card); color: var(--text); --muted: #57616b; }
/* A dashed connector between cards reads as "and then", like the reference flow. */
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -30px; height: 26px; border-left: 3px dashed #75ceca; }
.step-number { display: block; color: var(--teal); font: italic 900 40px/1 var(--font-latin); }
.steps h3 { margin-top: 6px; font-size: 22px; }
.steps p { margin-top: 6px; color: var(--muted); }
@media (prefers-color-scheme: dark) {
  .steps li { --muted: #b6bfc8; }
  .step-number { color: #75ceca; }
}

.plan-list { display: grid; gap: 24px; }
.plan-card { padding: 26px var(--pad); border: 2px solid var(--ink); border-radius: 22px; background: var(--card); }
.plan-featured { box-shadow: 6px 6px 0 var(--teal); }
.plan-badge { display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--accent-ink); color: var(--card); font-weight: 700; font-size: 15px; }
.plan-badge-plain { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.plan-card h3 { margin-top: 14px; font-size: 24px; }
.plan-price { margin-top: 4px; color: var(--accent-ink); font: 900 26px/1.3 var(--font-latin); }
.plan-amount { font-size: 50px; letter-spacing: .02em; }
.plan-price .tax-note { font-size: 15px; font-family: var(--font-body); }
.plan-lead { margin-top: 10px; }
.plan-terms { margin-top: 18px; }
.plan-terms > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); }
.plan-terms > div:last-child { border-bottom: 1px solid var(--line); }
.plan-terms dt { color: var(--muted); }
.plan-terms dd { font-weight: 700; }
.tax-incl { display: block; color: var(--muted); font-size: 14px; font-weight: 500; }
.plan-list-title { margin-top: 22px; font-weight: 700; }
.plan-includes { margin-top: 6px; }
.plan-includes li { display: flex; gap: 10px; padding-block: 4px; }
.plan-includes .ph { margin-top: 6px; font-size: 20px; color: var(--accent-ink); }
.plan-note { margin-top: 20px; padding-left: 14px; border-left: 3px solid var(--accent); font-size: 15px; }

.works-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
  margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad) 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); overscroll-behavior-x: contain;
}
.work-card { scroll-snap-align: start; padding: 12px 12px 18px; border: 2px solid var(--ink); border-radius: 18px; background: var(--card); }
.work-card img { border-radius: 10px; border: 1px solid var(--line); }
.work-card h3 { margin-top: 14px; font-size: 18px; }
.work-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.works-hint { margin-top: 6px; text-align: center; font-size: 13px; color: var(--muted); }
.examples-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.after-body { display: grid; gap: 14px; }
.after-note { color: var(--on-dark-muted); }

.faq-list details { border-bottom: 2px solid var(--line); }
.faq-list details:first-child { border-top: 2px solid var(--line); }
.faq-list summary { position: relative; display: flex; gap: 12px; padding: 18px 34px 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list details p::before { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: italic 900 16px/1 var(--font-latin); }
.faq-list summary::before { content: "Q"; background: var(--accent-ink); color: var(--card); }
.faq-list summary::after { content: "+" / ""; position: absolute; right: 4px; top: 16px; color: var(--accent-ink); font-size: 24px; line-height: 1.2; }
.faq-list details[open] summary::after { content: "−" / ""; }
.faq-list details p { display: flex; gap: 12px; padding-bottom: 20px; color: var(--muted); }
.faq-list details p::before { content: "A"; border: 2px solid var(--accent-ink); color: var(--accent-ink); }

.closing { padding: 24px 14px 72px; }
.closing-card { position: relative; padding: 34px var(--pad) 30px; border: 2px solid var(--ink); border-radius: 26px; background: var(--card); text-align: center; }
.closing-mascot { width: 140px; margin: -4px auto 10px; }
.closing .sec-label { justify-content: center; }
.closing h2 { margin-top: 10px; font-size: clamp(26px, 7vw, 30px); }
.closing-card > p:not(.sec-label):not(.contact-note) { margin-top: 12px; }
.closing .pill { width: 100%; margin-top: 24px; }
.contact-note { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: left; }

.line-steps { display: grid; gap: 10px; margin-top: 24px; text-align: left; counter-reset: line-step; }
.line-steps li { position: relative; padding-left: 42px; counter-increment: line-step; }
.line-steps li::before {
  content: counter(line-step); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-ink); color: var(--card); font: italic 900 15px/1 var(--font-latin);
}
.inline-link { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { display: grid; gap: 22px; padding: 40px var(--pad) 120px; background: var(--dark); color: var(--on-dark); }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.footer-brand img { width: 40px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.site-footer small { color: var(--on-dark-muted); }
@media (hover: hover) { .footer-nav a:hover { text-decoration: underline; } }

/* ---------- floating contact (phones and tablets; site.js decides when it shows) ---------- */
.floating-contact {
  position: fixed; z-index: 20; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(calc(var(--column) - 40px), calc(100% - 32px));
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 8px 20px;
  overflow: hidden; isolation: isolate; border-radius: 999px; border: 3px solid var(--card);
  box-shadow: 0 0 0 2px var(--teal), 0 10px 22px rgb(0 0 0 / 22%);
  background: linear-gradient(135deg, #1f9c99, #1a8c8c 55%, #146f6f); color: #fff; font-size: 19px; font-weight: 900;
}
.floating-contact .ph { font-size: 20px; }
.floating-contact.is-hidden:not(:focus-within) { visibility: hidden; }
@media (max-width: 760px) {
  /* Hide only once JS manages the button, so it stays reachable if site.js fails. */
  .floating-contact.is-managed:not(.is-mobile-visible):not(:focus-within) { visibility: hidden; }
}

/* ---------- side panels (wide screens) ---------- */
.side { display: none; }
@media (min-width: 1100px) {
  .side { position: fixed; top: 0; bottom: 0; z-index: 5; display: grid; place-items: center; width: calc((100% - var(--column)) / 2); padding: 32px; }
  .side-left { left: 0; }
  .side-right { right: 0; }
  .side-inner { width: min(100%, 320px); }
  .side-left .side-inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
  .side-brand { display: grid; justify-items: center; gap: 4px; width: 100%; padding: 18px 26px; border: 2px solid var(--teal); border-radius: 18px; background: var(--dark); color: var(--on-dark-muted); font-size: 13px; letter-spacing: .14em; }
  .side-brand img { width: 170px; }
  /* The service name leads and the logo steps back, echoing the column's bold cards (offset shadow, graph-paper texture). */
  .side-brand-bold {
    gap: 6px; padding: 22px 24px 20px; border-color: var(--ink); box-shadow: 6px 6px 0 var(--teal);
    background-image: linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
    background-size: 18px 18px;
  }
  .side-brand-bold img { width: 104px; opacity: .85; }
  .side-brand-bold .sb-ja { position: relative; padding-bottom: 10px; color: var(--on-dark); font: 900 30px/1.3 var(--font-body); letter-spacing: .06em; }
  .side-brand-bold .sb-ja::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 36px; height: 4px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); }
  .side-brand-bold .sb-en { color: #75ceca; font: italic 900 12px/1.4 var(--font-latin); letter-spacing: .14em; }
  .side-catch { font: 900 21px/1.6 var(--font-heading); letter-spacing: .02em; }
  .side-catch em { font-size: 1.35em; }
  .side-catch small { font-size: 13px; font-weight: 500; color: var(--muted); font-family: var(--font-body); }
  .side-mascot { width: 130px; }
  .side-left .pill { width: 100%; }

  .index-title { font: italic 900 38px/1 var(--font-latin); letter-spacing: 0; }
  .index-list { margin-top: 22px; display: grid; gap: 4px; }
  .index-list a { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; color: var(--muted); font-weight: 700; }
  .index-list span { width: 1.6em; color: var(--muted); font: 800 14px/1 var(--font-latin); }
  .index-list a[aria-current="true"] { color: var(--text); }
  .index-list a[aria-current="true"] span { color: var(--accent-ink); }
  .index-list a[aria-current="true"]::after { content: ""; flex: 1; align-self: center; max-width: 40px; border-top: 2px solid var(--accent); }
  @media (hover: hover) { .index-list a:hover { color: var(--text); } }

  .floating-contact { display: none; }
  .site-footer { padding-bottom: 48px; }
}

/* ---------- motion (all of it switches off with the OS "reduce motion" setting) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .tags-track { animation: tags-scroll 32s linear infinite; }
  @keyframes tags-scroll { to { transform: translateX(-100%); } }

  /* The hero runs on CSS alone so it never waits for JS; short delays keep the main copy and image (the LCP) from being held back. */
  .hero-card > * { animation: lp-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-card > :nth-child(2) { animation-delay: .06s; }
  .hero-card > :nth-child(3) { animation-delay: .12s; }
  .hero-card > :nth-child(4) { animation-delay: .18s; }
  .hero-card > :nth-child(n+5) { animation-delay: .24s; }
  @keyframes lp-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  .hero-mascot, .side-mascot, .closing-mascot { animation: lp-float 3.6s ease-in-out infinite; }
  @keyframes lp-float { 50% { transform: translateY(-8px); } }

  /* hp.js adds these only to blocks below the first screen, so no JS means no hidden content. */
  .reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
  .reveal-pending { opacity: 0; transform: translateY(28px); }

  /* A light sweeps across the contact buttons now and then, to show where to press without moving the button. */
  .pill:not(.pill-ghost)::after, .floating-contact::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent, rgb(255 255 255 / 38%), transparent);
    transform: translateX(-150%) skewX(-20deg);
    animation: lp-shine 5s ease-in-out 1.5s infinite;
  }
  @keyframes lp-shine { 0%, 72% { transform: translateX(-150%) skewX(-20deg); } 92%, 100% { transform: translateX(330%) skewX(-20deg); } }
  .pill, .floating-contact { transition: filter .2s, background-color .2s; }
}
@media (prefers-reduced-motion: reduce) {
  /* Without the loop, show every tag once instead of cutting them off. */
  .tags { flex-wrap: wrap; padding-inline: 12px; }
  .tags-track { flex-wrap: wrap; flex-shrink: 1; gap: 8px; }
  .tags-track[aria-hidden="true"] { display: none; }
}
@media print {
  .reveal-pending { opacity: 1; transform: none; }
  .side, .floating-contact, .tags { display: none; }
}
