/* ==========================================================================
   Velina: stylesheet
   Clean Japanese corporate design: bright white and warm off-white sections,
   Noto Sans JP, a vermilion brand accent, pill buttons, generous spacing and
   large English section words above the Japanese titles.

   1. Tokens  2. Base  3. Layout & headings  4. Buttons & small parts
   5. Header  6. Hero  7. Sections  8. Use cases by role
   9. Contact & forms  10. Legal pages  11. Footer  12. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --white: #FFFFFF;
  --tint: #F8F5F0;
  --tint-2: #F1ECE4;
  --ink: #1F1F1F;
  --text: #3A3631;
  --muted: #6B655C;
  --line: #E8E2D8;
  --line-2: #D7CFC1;
  --shu: #C63F27;
  --shu-dark: #A8341F;
  --shu-50: #FCEFEA;
  --ai: #1F3A5F;
  --ai-50: #EAF0F6;
  --matcha: #4A7A42;
  --matcha-50: #EEF4EB;
  --kin: #85672F;

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, system-ui, sans-serif;
  --font-en: "Jost", "Noto Sans JP", system-ui, sans-serif;

  --container: 1160px;
  --gutter: 24px;
  --header-h: 76px;
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(31, 31, 31, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: .03em;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.7; letter-spacing: 0; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 .6em; font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--ink); font-feature-settings: "palt"; }
html[lang="en"] :is(h1, h2, h3) { line-height: 1.25; letter-spacing: -.005em; text-wrap: balance; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
:is(p, li, dd, h1, h2, h3, summary) { word-break: auto-phrase; line-break: strict; }
a { color: var(--shu); text-underline-offset: 3px; }
a:hover { color: var(--shu-dark); }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }
::selection { background: var(--shu); color: #fff; }

/* 3. Layout & headings ----------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(80px, 9vw, 128px); }
.sec--white { background: var(--white); }
.sec--tint { background: var(--tint); }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; max-width: none; }
.sec-head--split .sec-lead { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.sec-en { margin: 0 0 14px; font-family: var(--font-en); font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); font-weight: 300; line-height: 1; letter-spacing: .02em; color: var(--ink); }
.sec-en::first-letter { color: var(--shu); }
.sec-title { margin: 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.sec-lead { margin: 16px 0 0; color: var(--muted); }
@media (max-width: 860px) {
  .sec-head--split { grid-template-columns: 1fr; }
  .sec-head--split .sec-lead { grid-column: 1; grid-row: auto; margin-top: 16px; }
}

.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--shu); border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* 4. Buttons & small parts ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  font: inherit; font-size: .9375rem; font-weight: 700; line-height: 1.3; letter-spacing: .04em; text-align: center; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
html[lang="en"] .btn { letter-spacing: 0; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .8125rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn-primary { color: #fff; background: var(--shu); box-shadow: 0 10px 20px -12px rgba(198, 63, 39, .8); }
.btn-primary:hover { color: #fff; background: var(--shu-dark); transform: translateY(-1px); }
.btn-outline { color: var(--ink); background: var(--white); border-color: var(--line-2); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
@media (max-width: 640px) { .btn { white-space: normal; } }

.icon-circle { display: grid; place-items: center; width: 52px; height: 52px; flex: none; color: var(--shu); background: var(--shu-50); border-radius: 50%; }
.icon-circle .icon { width: 24px; height: 24px; }
.icon-circle--lg { width: 72px; height: 72px; }
.icon-circle--lg .icon { width: 30px; height: 30px; }
.chip { padding: 2px 10px; font-size: .75rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.bar { display: block; height: 6px; overflow: hidden; background: var(--tint-2); border-radius: 999px; }
.bar i { display: block; width: var(--p); height: 100%; background: var(--shu); border-radius: inherit; transition: width .5s var(--ease); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-en); font-size: .8125rem; letter-spacing: .06em; color: var(--muted); }
.lang-switch .icon { width: 15px; height: 15px; }
.lang-switch a { padding: 2px 3px; color: var(--muted); text-decoration: none; border-bottom: 1.5px solid transparent; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 500; border-bottom-color: var(--shu); }

/* 5. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(31, 31, 31, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-logo { display: block; width: auto; height: 44px; }
.gnav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 24px; margin-left: 32px; }
.gnav-list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.gnav-list a { position: relative; display: block; padding: 8px 12px; font-size: .875rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.gnav-list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--shu); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease); }
.gnav-list a:hover::after, .gnav-list a[aria-current="page"]::after { transform: scaleX(1); }
.gnav-mobile { display: none; }
.gnav-actions { display: flex; align-items: center; gap: 10px; }
.gnav-actions .lang-switch { margin-right: 6px; }
.menu-btn { display: none; }
/* Desktop: links centered between logo and actions, with equal space on both sides. */
@media (min-width: 1081px) { .gnav { margin-left: 0; } .gnav-list { margin-inline: auto; } }

@media (max-width: 1080px) {
  .menu-btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; color: var(--ink); background: var(--tint); border: 0; border-radius: 50%; cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), background-color .2s; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -6px; }
  .menu-lines::after { top: 6px; }
  .nav-open .menu-lines { background: transparent; }
  .nav-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
  .js .gnav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; margin: 0;
    flex-direction: column; align-items: stretch; gap: 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 28px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .js .nav-open .gnav { display: flex; }
  .gnav-list { flex-direction: column; }
  .gnav-mobile { display: block; }
  .gnav-list a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .gnav-list a::after { display: none; }
  .gnav-actions { flex-direction: column; align-items: stretch; }
  .gnav-actions .btn { min-height: 50px; font-size: .9375rem; }
  .gnav-actions .lang-switch { justify-content: center; margin: 4px 0 8px; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .header-inner, html:not(.js) .gnav, html:not(.js) .gnav-list { flex-wrap: wrap; }
}
@media (max-width: 640px) { :root { --gutter: 18px; --header-h: 64px; } .brand-logo { height: 38px; } }

/* 6. Hero ------------------------------------------------------------------ */
/* On the home page the header floats over the hero, so the blossoms run behind it. */
.page-home .site-header:not(.is-scrolled) { background: transparent; }
.page-home .hero { margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + 28px); }
.hero {
  position: relative; overflow: hidden; padding-bottom: 0;
  background: radial-gradient(55% 45% at 50% 8%, #FFFFFF 0%, transparent 70%), linear-gradient(180deg, #FDF7F5 0%, #FBF2EF 60%, #F8EFEB 100%);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-branch { position: absolute; width: clamp(240px, 26vw, 420px); }
.hero-branch--left { top: calc(var(--header-h) - 16px); left: -48px; }
.hero-branch--right { top: 150px; right: -70px; transform: scaleX(-1) rotate(-12deg); }
.hero-fuji { position: absolute; bottom: 70px; left: 0; width: min(760px, 58vw); opacity: .9; }
.hero-sun { position: absolute; top: 330px; right: 13%; width: 210px; height: 210px; background: radial-gradient(circle at 38% 32%, #F06E60, #D9382D 72%); border-radius: 50%; opacity: .85; }
.hero-sun--small { top: 600px; right: auto; left: 19%; width: 150px; height: 150px; opacity: .7; }
.petal { position: absolute; width: 14px; height: 14px; opacity: .85; animation: petal-drift 10s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.7s); }
@keyframes petal-drift { 50% { transform: translate(16px, 22px) rotate(110deg); } }

.hero-top { position: relative; z-index: 1; display: grid; grid-template-columns: 290px minmax(0, 1fr) 290px; gap: 24px; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.hero-head { grid-column: 2; grid-row: 1; padding-top: 24px; text-align: center; }
.hero-chips--left { grid-column: 1; grid-row: 1; }
.hero-chips--right { grid-column: 3; grid-row: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 18px; font-size: .875rem; font-weight: 700; color: var(--shu); background: #FBE4DE; border-radius: 999px; }
.hero-eyebrow span { width: 8px; height: 8px; background: var(--shu); border-radius: 50%; }
.hero-title { margin: 0 0 20px; font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(2.25rem, 1.1rem + 3.6vw, 4.25rem); font-weight: 900; line-height: 1.3; letter-spacing: .02em; color: var(--ink); }
html[lang="en"] .hero-title { line-height: 1.08; letter-spacing: -.02em; }
.hero-line { display: block; }
.hero-accent { color: var(--shu); }
.hero-lead { max-width: 700px; margin: 0 auto 30px; font-size: 1.0625rem; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Floating capability chips with dotted connectors */
.hero-chips { position: relative; padding-top: 14px; }
.hero-chips ul { position: relative; z-index: 1; display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.chip-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chip-line path { fill: none; stroke: #D9A79C; stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.hero-chip {
  position: relative; display: flex; align-items: center; gap: 14px; width: 236px; padding: 16px 18px;
  font-size: .9375rem; font-weight: 700; line-height: 1.35; color: var(--ink);
  background: rgba(255, 255, 255, .94); border-radius: 16px;
  box-shadow: 0 22px 40px -24px rgba(120, 60, 40, .4), 0 1px 2px rgba(120, 60, 40, .06);
  transform: rotate(var(--r, 0deg)); transition: transform .4s var(--ease);
}
.hero-chip:hover { transform: rotate(0) translateY(-3px); }
.hero-chips--left li:nth-child(1) { --r: 3deg; margin-left: 10px; }
.hero-chips--left li:nth-child(2) { --r: 2deg; margin-left: 64px; }
.hero-chips--left li:nth-child(3) { --r: -4deg; margin-left: 18px; }
.hero-chips--right li { justify-self: end; }
.hero-chips--right li:nth-child(1) { --r: -4deg; margin-right: 10px; }
.hero-chips--right li:nth-child(2) { --r: -3deg; margin-right: 54px; }
.hero-chips--right li:nth-child(3) { --r: -3deg; margin-right: 6px; }
.hero-chips--left .hero-chip::after, .hero-chips--right .hero-chip::after { content: ""; position: absolute; top: 50%; width: 11px; height: 11px; background: var(--white); border: 3px solid var(--shu); border-radius: 50%; transform: translateY(-50%); }
.hero-chips--left .hero-chip::after { right: -6px; }
.hero-chips--right .hero-chip::after { left: -6px; }
.hero-chip-icon { display: grid; place-items: center; flex: none; color: var(--shu); }
.hero-chip-icon .icon { width: 28px; height: 28px; }
.hero-chip-label { flex: 1; }
.hero-chip-mark { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; }
.hero-chip-mark .icon { width: 14px; height: 14px; stroke-width: 3; }
.hero-chip-mark--check { color: #fff; background: #2F8A57; }
.hero-chip-mark--dots { color: #fff; background: #F2B65A; }
.hero-chip-mark--arrow { color: var(--muted); background: var(--white); border: 1px solid var(--line-2); }

/* Dashboard flanked by two scene cards */
.hero-stage { position: relative; z-index: 1; display: grid; grid-template-columns: 230px minmax(0, 960px) 230px; align-items: end; justify-content: center; max-width: 1440px; margin: 52px auto 0; padding-inline: var(--gutter); }
.scene-card { position: relative; z-index: 2; margin: 0 0 56px; padding: 10px 10px 18px; background: var(--white); border-radius: 18px; box-shadow: 0 28px 50px -26px rgba(120, 60, 40, .45); }
.scene-card--left { margin-right: -24px; transform: rotate(-6deg); }
.scene-card--right { margin-left: -24px; transform: rotate(5deg); }
.scene-art { width: 100%; border-radius: 12px; }
.scene-card figcaption { padding: 12px 8px 0; font-family: "Noto Serif JP", serif; font-size: 1.0625rem; font-weight: 700; line-height: 1.45; color: var(--ink); }
.scene-card figcaption::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 10px; background: var(--shu); border-radius: 3px; }

.dash {
  position: relative; z-index: 1; display: grid; grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden; font-size: .78rem; line-height: 1.5; color: var(--text); letter-spacing: 0;
  background: var(--white); border: 1px solid #F0E5E0; border-bottom: 0; border-radius: 22px 22px 0 0;
  box-shadow: 0 30px 80px -30px rgba(120, 60, 40, .4);
}
.dash .icon { width: 16px; height: 16px; }
.dash-side { padding: 20px 14px; background: #FCFAF8; border-right: 1px solid var(--line); }
.dash-logo { display: flex; align-items: center; gap: 8px; }
.dash-logo span { font-family: var(--font-en); font-size: 1rem; font-weight: 500; letter-spacing: .06em; color: var(--ink); line-height: 1.1; }
.dash-logo small { display: block; font-size: .5rem; letter-spacing: .3em; color: var(--muted); }
.dash-side ul { display: grid; gap: 2px; margin: 22px 0 0; padding: 0; list-style: none; }
.dash-side li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--muted); border-radius: 8px; }
.dash-side li.is-active { font-weight: 700; color: var(--shu); background: var(--shu-50); }
.dash-main { min-width: 0; padding: 16px 22px 0; }
.dash-top { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.dash-sample { margin-right: auto; padding: 2px 10px; font-size: .68rem; font-weight: 700; color: #9A6A12; background: #FFF4DE; border-radius: 999px; }
.dash-search { display: flex; align-items: center; gap: 6px; width: 210px; padding: 6px 12px; color: #A39C90; border: 1px solid var(--line); border-radius: 999px; }
.dash-bell { color: var(--muted); }
.dash-me { width: 30px; height: 30px; background: linear-gradient(135deg, #F2B8A9, #C96A55); border-radius: 50%; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 14px; }
.dash-head strong { display: block; font-size: 1.05rem; color: var(--ink); }
.dash-head small { font-size: .7rem; color: var(--muted); }
.dash-add { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-weight: 700; color: #fff; white-space: nowrap; background: var(--shu); border-radius: 8px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.dash-kpi { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.dash-kpi-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; }
.dash-kpi--0 .dash-kpi-icon, .dash-kpi--3 .dash-kpi-icon { color: var(--shu); background: var(--shu-50); }
.dash-kpi--1 .dash-kpi-icon { color: var(--matcha); background: var(--matcha-50); }
.dash-kpi--2 .dash-kpi-icon { color: #C0841C; background: #FFF4DE; }
.dash-kpi strong { display: block; font-size: 1.15rem; line-height: 1.1; color: var(--ink); }
.dash-kpi small { color: var(--muted); white-space: nowrap; }
.dash-row { display: grid; grid-template-columns: 1.6fr 1fr 1.5fr .9fr; align-items: center; gap: 12px; padding: 9px 4px; border-top: 1px solid var(--line); }
.dash-row--head { padding-block: 8px; font-weight: 700; color: var(--muted); border-top: 0; }
.dash-person { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dash-avatar { display: grid; place-items: center; width: 28px; height: 28px; flex: none; font-size: .68rem; font-style: normal; color: #fff; border-radius: 50%; }
.dash-avatar--0 { background: #C96A55; }
.dash-avatar--1 { background: #8E6BB0; }
.dash-avatar--2 { background: #4F7FA8; }
.dash-avatar--3 { background: #D98AA0; }
.dash-dept { color: var(--muted); white-space: nowrap; }
.dash-progress { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.dash-progress .bar { flex: 1; }
.dash-progress--done .bar i { background: var(--matcha); }
.dash-progress--pending .bar i { background: #E08A3C; }
.dash-status { justify-self: start; padding: 3px 10px; font-weight: 700; white-space: nowrap; border-radius: 999px; }
.dash-status--progress { color: var(--shu); background: var(--shu-50); }
.dash-status--done { color: var(--matcha); background: var(--matcha-50); }
.dash-status--pending { color: #A86D12; background: #FFF4DE; }

/* Industries strip (honest alternative to a customer-logo bar) */
.hero-strip { position: relative; z-index: 2; background: rgba(255, 255, 255, .92); border-top: 1px solid var(--line); }
.hero-strip-inner { display: flex; align-items: center; gap: 32px; padding-block: 22px; }
.strip-label { flex: none; max-width: 190px; margin: 0; padding-right: 28px; font-size: .8125rem; font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--muted); border-right: 1px solid var(--line); }
.strip-list { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.strip-list li { font-size: .9375rem; font-weight: 700; color: #8E877C; }
.strip-note { display: flex; align-items: center; gap: 12px; max-width: 300px; margin: 0 0 0 auto; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
.strip-note .icon { width: 30px; height: 30px; color: var(--shu); }

@media (max-width: 1320px) {
  .hero-top { grid-template-columns: 250px minmax(0, 1fr) 250px; }
  .hero-chip { width: 210px; padding: 14px 16px; font-size: .875rem; }
  .hero-stage { grid-template-columns: 200px minmax(0, 900px) 200px; }
}
@media (max-width: 1140px) {
  .hero-top { display: block; }
  .hero-chips { display: none; }
  .hero-stage { grid-template-columns: minmax(0, 960px); }
  .scene-card { display: none; }
  .hero-strip-inner { flex-wrap: wrap; gap: 16px 28px; }
  .strip-note { margin-left: 0; }
}
@media (max-width: 760px) {
  .hero-stage { margin-top: 40px; }
  .dash { grid-template-columns: 1fr; }
  .dash-side, .dash-search, .dash-dept, .dash-progress { display: none; }
  .dash-main { padding: 14px 14px 0; }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dash-row--head span:nth-child(2), .dash-row--head span:nth-child(3) { display: none; }
  .strip-label { max-width: none; padding-right: 0; border-right: 0; }
  .hero-sun { top: 420px; right: -40px; width: 150px; height: 150px; }
  .hero-sun--small { display: none; }
  .hero-branch--right { display: none; }
}
@media (max-width: 560px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-branch--left { width: 200px; opacity: .8; }
  .dash-head { flex-wrap: wrap; }
}

/* 7. Sections -------------------------------------------------------------- */

/* Who it's for */
.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.who-card { padding: 30px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s; }
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.who-card h3 { margin: 20px 0 8px; }
.who-card p { margin: 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 1000px) { .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .who-grid { grid-template-columns: 1fr; } }

/* Problems: self-diagnosis */
.problems-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.problems-head { position: sticky; top: calc(var(--header-h) + 32px); }
.problems-head .sec-head { margin-bottom: 28px; }
.diag-result { display: flex; align-items: center; gap: 20px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
html:not(.js) .diag-result { display: none; }
.diag-count { font-family: var(--font-en); font-size: .875rem; color: var(--muted); white-space: nowrap; }
.diag-count b { font-size: 2.5rem; font-weight: 400; line-height: 1; color: var(--shu); }
.diag-result p { margin: 0; font-size: .875rem; line-height: 1.7; }
.diag-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: .8125rem; font-weight: 700; }
.diag-link .icon { width: 16px; height: 16px; }
.diag-link[hidden] { display: none; }
.diag ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.diag-item { position: relative; display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 16px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background-color .2s; }
.diag-item:hover { border-color: var(--line-2); }
.diag-item input { position: absolute; opacity: 0; pointer-events: none; }
.diag-box { display: grid; place-items: center; width: 26px; height: 26px; color: transparent; background: var(--white); border: 1.5px solid var(--line-2); border-radius: 7px; transition: background-color .2s, border-color .2s, color .2s; }
.diag-box .icon { width: 16px; height: 16px; stroke-width: 3; }
.diag-item input:checked ~ .diag-box { color: #fff; background: var(--shu); border-color: var(--shu); }
.diag-item input:focus-visible ~ .diag-box { outline: 2px solid var(--shu); outline-offset: 3px; }
.diag-item:has(input:checked) { background: var(--shu-50); border-color: var(--shu); }
.diag-text { font-size: .9375rem; font-weight: 500; line-height: 1.7; color: var(--ink); }
.bridge { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: clamp(56px, 7vw, 80px) 0 0; font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem); font-weight: 700; text-align: center; color: var(--ink); }
.bridge-arrow { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--shu); border-radius: 50%; }
@media (max-width: 900px) { .problems-grid { grid-template-columns: 1fr; } .problems-head { position: static; } }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature-card { position: relative; display: flex; flex-direction: column; padding: 28px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background-color .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; color: var(--ai); background: var(--ai-50); border-radius: 12px; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature-no { font-family: var(--font-en); font-size: .9375rem; font-weight: 500; letter-spacing: .08em; color: var(--line-2); }
.feature-card h3 { font-size: 1.0625rem; line-height: 1.6; }
.feature-card p { margin: 0; font-size: .875rem; line-height: 1.85; color: var(--muted); }
.tag-planned { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; margin-top: 16px; padding: 3px 10px; font-size: .6875rem; font-weight: 700; color: var(--kin); background: #FBF4E6; border-radius: 999px; }
.tag-planned .icon { width: 13px; height: 13px; }
.feature-badge { position: absolute; top: -11px; left: 22px; padding: 2px 12px; font-size: .6875rem; font-weight: 700; color: #fff; background: var(--shu); border-radius: 999px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.feature-card.is-match { background: var(--shu-50); border-color: var(--shu); }
.feature-card.is-match .feature-badge { opacity: 1; transform: none; }
.feature-card.is-match .feature-icon { color: #fff; background: var(--shu); }
.features-note { margin: 24px 0 0; font-size: .8125rem; color: var(--muted); }
@media (max-width: 1080px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin: 0; padding: 0; list-style: none; }
.flow-step { position: relative; display: flex; flex-direction: column; align-items: center; padding: 32px 24px; text-align: center; background: var(--white); border-radius: var(--radius); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -24px; width: 12px; height: 12px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: translateY(-50%) rotate(45deg); }
.flow-label { margin-bottom: 16px; font-family: var(--font-en); font-size: .75rem; font-weight: 500; letter-spacing: .16em; color: var(--shu); }
.flow-step h3 { margin: 18px 0 8px; font-size: 1.25rem; }
.flow-step > p { margin: 0 0 16px; font-size: .875rem; line-height: 1.85; color: var(--muted); }
.flow-owners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: auto 0 0; font-size: .75rem; color: var(--muted); }
@media (max-width: 1000px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .flow-step::after { display: none; }
}
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Company size */
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tier-card { padding: 32px 30px; background: var(--white); border-top: 4px solid var(--ai); border-radius: var(--radius); }
.tier-card:nth-child(2) { border-top-color: var(--shu); }
.tier-card:nth-child(3) { border-top-color: var(--ink); }
.tier-stage { margin: 0 0 8px; font-family: var(--font-en); font-size: .75rem; font-weight: 500; letter-spacing: .16em; color: var(--muted); }
.tier-card h3 { font-size: 1.25rem; }
.tier-card ul { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.tier-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .875rem; line-height: 1.75; }
.tier-card li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--matcha); }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Security */
.security-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.security-note { display: flex; gap: 12px; margin: 0; padding: 18px 20px; font-size: .8125rem; color: var(--muted); background: var(--tint); border-radius: var(--radius); }
.security-note .icon { color: var(--matcha); }
.security-list { margin: 0; padding: 0; list-style: none; }
.security-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.security-list li:first-child { padding-top: 0; }
.security-list h3 { margin: 4px 0 4px; font-size: 1.0625rem; }
.security-list p { margin: 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 900px) { .security-grid { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-copy .sec-head { margin-bottom: 28px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.values li { padding: 26px 24px; background: var(--white); border-radius: var(--radius); }
.value-mark { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; font-size: 1.25rem; font-weight: 700; color: var(--shu); border: 1.5px solid var(--shu); border-radius: 50%; }
.values h3 { margin: 0 0 4px; font-size: 1rem; }
.values p { margin: 0; font-size: .8125rem; line-height: 1.8; color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .values { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { max-width: 900px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 16px; padding: 22px 4px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover .faq-q { color: var(--shu); }
.faq-mark { display: grid; place-items: center; width: 34px; height: 34px; font-family: var(--font-en); font-size: 1rem; font-weight: 500; color: #fff; background: var(--shu); border-radius: 50%; }
.faq-mark--a { background: var(--ai); }
.faq-toggle { position: relative; width: 16px; height: 16px; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; top: 50%; left: 0; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.faq-toggle::after { transform: rotate(90deg); }
details[open] .faq-toggle::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 0 4px 24px; }
.faq-a p { margin: 4px 0 0; font-size: .9375rem; }

/* Call to action */
.cta { padding-bottom: clamp(80px, 9vw, 120px); background: var(--white); }
.cta-panel { padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px); text-align: center; background: var(--shu-50); border-radius: 28px; }
.cta-panel h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.cta-lead { max-width: 640px; margin-inline: auto; color: var(--muted); }
.cta-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; margin: 32px auto 22px; text-align: left; }
.cta-box { display: grid; grid-template-columns: 52px minmax(0, 1fr) 20px; align-items: center; gap: 18px; padding: 24px 26px; color: var(--ink); text-decoration: none; background: var(--white); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s; }
.cta-box:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.cta-box--primary { color: #fff; background: var(--shu); }
.cta-box--primary:hover { color: #fff; }
.cta-box--primary .icon-circle { color: var(--shu); background: #fff; }
.cta-box strong { display: block; font-size: 1.125rem; }
.cta-box-body > span { font-size: .8125rem; line-height: 1.6; opacity: .85; }
.cta-box-arrow { transition: transform .25s var(--ease); }
.cta-box:hover .cta-box-arrow { transform: translateX(4px); }
.cta-more { margin: 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 720px) { .cta-boxes { grid-template-columns: 1fr; } }

/* 8. Use cases by role ----------------------------------------------------- */
.roles { max-width: 1060px; margin-inline: auto; }
.role-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
html:not(.js) .role-tabs { display: none; }
.role-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
  font: inherit; font-size: .9375rem; font-weight: 700; color: var(--muted);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: color .2s, background-color .2s, border-color .2s;
}
.role-tab .icon { width: 18px; height: 18px; }
.role-tab:hover { color: var(--ink); border-color: var(--line-2); }
.role-tab.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.role-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 64px); padding: clamp(28px, 4vw, 56px); background: var(--tint); border-radius: 24px; }
html:not(.js) .role-panel + .role-panel { margin-top: 20px; }
.js .role-panel:not(.is-active) { display: none; }
.js .role-panel.is-active { animation: role-in .45s var(--ease); }
@keyframes role-in { from { opacity: 0; transform: translateY(10px); } }
.role-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 4px 14px; font-size: .8125rem; font-weight: 700; color: var(--shu); background: var(--white); border-radius: 999px; }
.role-label .icon { width: 16px; height: 16px; }
.role-copy h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); }
.role-copy > p:not(.role-label) { color: var(--muted); }
.role-points { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.role-points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 500; color: var(--ink); }
.role-points .icon { width: 22px; height: 22px; margin-top: 4px; padding: 4px; color: #fff; background: var(--matcha); border-radius: 50%; stroke-width: 3; }
.role-visual { display: grid; justify-items: center; gap: 12px; margin: 0; }
.role-visual figcaption { font-size: .75rem; color: var(--muted); }

/* Screen illustrations: decorative shapes only, no data */
.mock-window { width: 100%; max-width: 420px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.mock-dots { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-dots i { width: 9px; height: 9px; background: var(--tint-2); border-radius: 50%; }
.mock-body { display: grid; gap: 4px; padding: 20px; }
.mock-bar { display: block; height: 10px; background: var(--tint-2); border-radius: 5px; }
.mock-bar--title { width: 45%; height: 12px; margin-bottom: 10px; background: var(--ink); }
.mock-row { display: grid; grid-template-columns: 22px 1fr 56px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-row i { width: 22px; height: 22px; background: var(--tint-2); border-radius: 50%; }
.mock-row b { height: 8px; background: var(--tint-2); border-radius: 4px; }
.mock-row em { height: 18px; background: var(--shu-50); border-radius: 999px; }
.mock-row--done i { background: var(--matcha); }
.mock-row--done em { background: var(--matcha-50); }
.mock-row--review i { background: var(--ai); }
.mock-row--review em { background: var(--ai-50); }
.mock-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.mock-calendar i { aspect-ratio: 1; background: var(--tint); border-radius: 6px; }
.mock-calendar i.is-marked { background: var(--shu-50); box-shadow: inset 0 0 0 1.5px var(--shu); }
.mock-calendar i.is-today { background: var(--shu); box-shadow: none; }
.mock-phone { position: relative; display: grid; gap: 6px; width: 230px; padding: 36px 18px 22px; background: var(--white); border: 8px solid var(--ink); border-radius: 34px; box-shadow: var(--shadow); }
.mock-notch { position: absolute; top: 8px; left: 50%; width: 64px; height: 12px; background: var(--ink); border-radius: 999px; transform: translateX(-50%); }
.mock-phone .mock-bar--title { width: 60%; }
.mock-ring { display: grid; place-items: center; justify-self: center; width: 96px; height: 96px; margin: 4px 0 8px; background: conic-gradient(var(--shu) 0 50%, var(--tint-2) 0); border-radius: 50%; }
.mock-ring i { width: 72px; height: 72px; background: var(--white); border-radius: 50%; }
.mock-phone .mock-row { grid-template-columns: 22px 1fr; padding: 8px 0; }
.mock-button { height: 38px; margin-top: 10px; background: var(--shu); border-radius: 999px; }
@media (max-width: 860px) {
  .role-panel { grid-template-columns: 1fr; }
  .role-visual { order: -1; }
}
@media (max-width: 560px) {
  .role-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-tab { padding: 10px 12px; font-size: .8125rem; word-break: auto-phrase; }
  .role-tab .icon { display: none; }
}

/* 9. Contact & forms ------------------------------------------------------- */
.page-head { padding: 28px 0 56px; background: var(--tint); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; padding: 0; font-size: .75rem; color: var(--muted); list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.page-head-en { margin: 0 0 12px; font-family: var(--font-en); font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); font-weight: 300; line-height: 1; letter-spacing: .02em; color: var(--ink); }
.page-head-en::first-letter { color: var(--shu); }
.page-head h1 { margin: 0; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); }

.contact-body { padding-block: 64px 112px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-aside { font-size: .875rem; }
.channels-title { margin: 32px 0 0; font-size: .9375rem; }
.channels { margin: 12px 0 24px; padding: 0; list-style: none; }
.channels li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.channels li:first-child { border-top: 1px solid var(--line); }
.channels .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--shu); }
.channels h3 { margin: 0; font-size: .8125rem; }
.channels a { font-size: .8125rem; overflow-wrap: anywhere; }
.contact-address { margin: 12px 0 24px; padding-top: 14px; font-size: .875rem; font-style: normal; border-top: 1px solid var(--line); }
.contact-address strong { display: block; color: var(--ink); }
.contact-privacy { display: flex; gap: 10px; padding: 16px; font-size: .8125rem; color: var(--muted); background: var(--tint); border-radius: 12px; }
.contact-privacy .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--matcha); }

.form-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 40px; padding: 0; list-style: none; }
.form-steps li { position: relative; padding-top: 46px; font-size: .8125rem; font-weight: 700; text-align: center; color: var(--muted); }
.form-steps li:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: calc(50% + 26px); right: calc(-50% + 26px); height: 2px; background: var(--line); }
.form-step-num { position: absolute; top: 0; left: 50%; display: grid; place-items: center; width: 36px; height: 36px; font-family: var(--font-en); background: var(--white); border: 1.5px solid var(--line-2); border-radius: 50%; transform: translateX(-50%); }
.form-steps li.is-done .form-step-num { color: #fff; background: var(--ink); border-color: var(--ink); }
.form-steps li.is-current { color: var(--shu); }
.form-steps li.is-current .form-step-num { color: #fff; background: var(--shu); border-color: var(--shu); }

.ftable { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.frow { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.frow:last-child { border-bottom: 0; }
.frow-label { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 22px 20px; font-size: .875rem; font-weight: 700; color: var(--ink); background: var(--tint); }
.frow-field { display: grid; gap: 8px; margin: 0; padding: 14px 20px; overflow-wrap: anywhere; background: var(--white); }
dd.frow-field { padding-block: 20px; }
.frow-pre { white-space: pre-wrap; }
.badge { flex: none; padding: 0 8px; font-size: .6875rem; font-weight: 700; line-height: 1.8; color: #fff; border-radius: 4px; }
.badge-req { background: var(--shu); }
.badge-opt { background: #9A9388; }
.input {
  width: 100%; min-height: 50px; padding: 10px 14px;
  font: inherit; font-size: 1rem; letter-spacing: .02em; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #A39C90; }
.input:hover { border-color: #B9AF9E; }
.input:focus { outline: none; border-color: var(--shu); box-shadow: 0 0 0 4px rgba(198, 63, 39, .12); }
.input[aria-invalid="true"] { background: var(--shu-50); border-color: var(--shu); }
.input--select { padding-right: 42px; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1F1F' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
textarea.input { min-height: 200px; line-height: 1.8; resize: vertical; }
.field-error { margin: 0; font-size: .8125rem; font-weight: 700; color: var(--shu); }
.field-error:empty { display: none; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .75rem; color: var(--muted); }
.field-meta [data-count] { margin-left: auto; white-space: nowrap; }
.privacy-box { margin-top: 28px; padding: 22px; text-align: center; background: var(--tint); border-radius: var(--radius); }
.check { display: inline-flex; align-items: center; gap: 12px; font-size: .9375rem; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--shu); cursor: pointer; }
.check .badge { margin-left: 4px; }
.privacy-box .field-error { margin-top: 8px; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }
.form-actions .btn { min-width: 280px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.confirm-lead { margin-bottom: 24px; }
.alert { display: flex; gap: 12px; margin-bottom: 28px; padding: 16px 18px; font-size: .9375rem; font-weight: 500; color: #7A2414; background: var(--shu-50); border: 1px solid #F1CBC0; border-radius: 12px; }
.alert .icon { margin-top: 3px; color: var(--shu); }
.alert p { margin: 0; }
.alert:focus, .complete:focus { outline: none; }
.complete { display: grid; justify-items: center; gap: 4px; padding: 56px 24px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.complete-icon { display: grid; place-items: center; width: 80px; height: 80px; margin-bottom: 20px; color: var(--matcha); background: var(--matcha-50); border-radius: 50%; }
.complete-icon .icon { width: 38px; height: 38px; stroke-width: 2.5; }
.complete h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.complete-note { font-size: .8125rem; color: var(--muted); }
.complete .btn { margin-top: 20px; }
@media (max-width: 1000px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-main { order: -1; }
}
@media (max-width: 680px) {
  .frow { grid-template-columns: 1fr; }
  .frow-label { justify-content: flex-start; padding: 12px 16px; }
  .frow-field { padding: 12px 16px 18px; }
  dd.frow-field { padding-block: 12px 16px; }
  .form-actions .btn { min-width: 0; width: 100%; }
  .check { align-items: flex-start; text-align: left; }
}

/* 10. Legal pages ---------------------------------------------------------- */
.legal-body { padding-block: 56px 112px; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; font-size: 1.25rem; }
.notice { display: flex; gap: 12px; margin-bottom: 32px; padding: 16px 18px; font-size: .875rem; color: #5F4719; background: #FBF4E6; border-radius: 12px; }
.notice .icon { margin-top: 3px; color: var(--kin); }

/* 10b. Inner pages: features, security, company, FAQ ------------------------ */
.page-head-lead { max-width: 680px; margin: 18px 0 0; color: var(--muted); }
.sec--tight { padding-block: clamp(64px, 7vw, 96px); }
.more-link { margin: 40px 0 0; text-align: center; }

/* In-page index chips under the title band */
.page-index { position: relative; z-index: 2; margin-top: -26px; }
.page-index ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 10px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.page-index a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: .8125rem; font-weight: 700; color: var(--ink); text-decoration: none; border-radius: 999px; transition: background-color .2s, color .2s; }
.page-index a:hover { color: var(--shu); background: var(--shu-50); }
.page-index .icon { width: 14px; height: 14px; color: var(--shu); }
@media (max-width: 760px) {
  .page-index ul { border-radius: 18px; }
  .page-index a { padding: 6px 10px; }
}

/* Founder message (home teaser and company page) */
.founder { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.founder--full { align-items: start; }
.founder-photo { position: relative; margin: 0 0 28px 28px; }
.founder-photo::before { content: ""; position: absolute; inset: 28px 28px -28px -28px; background: var(--shu-50); border: 1px solid #F1CBC0; border-radius: 24px; }
.founder-photo::after { content: ""; position: absolute; top: -14px; right: -14px; width: 72px; height: 72px; background: radial-gradient(circle at 38% 32%, #F06E60, #D9382D 72%); border-radius: 50%; opacity: .9; }
.founder-photo img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; background: #E9EAEC; border-radius: 20px; box-shadow: 0 30px 60px -34px rgba(31, 31, 31, .45); }
.founder-plate { position: absolute; z-index: 2; left: -28px; bottom: 28px; display: grid; gap: 2px; padding: 14px 20px; background: var(--white); border-left: 4px solid var(--shu); border-radius: 0 12px 12px 0; box-shadow: var(--shadow); }
.founder-plate strong { font-size: .9375rem; color: var(--ink); }
.founder--full .founder-photo { position: sticky; top: calc(var(--header-h) + 40px); }
.founder-copy .sec-head { margin-bottom: 24px; }
.founder-quote { margin: 0 0 24px; padding-left: 20px; font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; line-height: 1.6; color: var(--ink); border-left: 3px solid var(--shu); }
html[lang="en"] .founder-quote { line-height: 1.35; }
.founder-copy > p:not(.founder-quote):not(.founder-sign) { color: var(--text); }
.founder-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.founder-sign { display: grid; justify-items: end; gap: 2px; margin: 36px 0 0; padding-top: 20px; text-align: right; border-top: 1px solid var(--line-2); }
.founder-sign strong { font-family: "Noto Serif JP", serif; font-size: 1.125rem; color: var(--ink); }
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { width: min(100%, 360px); margin-inline: auto; transform: translateX(14px); }
  .founder--full .founder-photo { position: relative; top: 0; }
}

/* Explore cards on the home page */
.explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.explore-card { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 28px 26px 56px; color: var(--ink); text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.explore-card:hover { color: var(--ink); border-color: var(--shu); transform: translateY(-4px); box-shadow: var(--shadow); }
.explore-card .icon-circle { margin-bottom: 14px; }
.explore-card strong { font-size: 1.0625rem; }
.explore-card > span:not(.icon-circle) { font-size: .8125rem; line-height: 1.8; color: var(--muted); }
.explore-arrow { position: absolute; right: 24px; bottom: 22px; color: var(--shu); transition: transform .25s var(--ease); }
.explore-card:hover .explore-arrow { transform: translateX(4px); }
@media (max-width: 1000px) { .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .explore-grid { grid-template-columns: 1fr; } }
.security-more { margin-top: 24px; }

/* Features in detail */
.fdetail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fdetail { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 22px; padding: 30px 30px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 24px); }
.fdetail-head { display: grid; justify-items: center; align-content: start; gap: 10px; }
.fdetail h3 { margin-bottom: 6px; font-size: 1.125rem; }
.fdetail-body > p { margin: 0 0 16px; font-size: .875rem; color: var(--muted); }
.fdetail-points { display: grid; gap: 8px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px dashed var(--line-2); }
.fdetail-points li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .875rem; line-height: 1.7; color: var(--ink); }
.fdetail-points .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--matcha); stroke-width: 2.5; }
@media (max-width: 860px) { .fdetail-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .fdetail { grid-template-columns: 1fr; padding: 24px 22px; } .fdetail-head { display: flex; justify-content: space-between; } }

/* Before / after table */
.compare-wrap { max-width: 1000px; }
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9375rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: .8125rem; color: var(--muted); background: var(--tint); }
.compare thead th.compare-after { color: var(--shu); background: var(--shu-50); }
.compare thead .logo-mark { display: inline-block; margin: -3px 8px 0 0; vertical-align: middle; }
.compare tbody th { width: 22%; font-weight: 700; color: var(--ink); background: var(--tint); }
.compare td { color: var(--muted); }
td.compare-after { font-weight: 700; color: var(--ink); background: #FFFBFA; }
.compare-cell { display: flex; gap: 10px; }
td.compare-after .icon { width: 20px; height: 20px; margin-top: 3px; padding: 3px; color: #fff; background: var(--shu); border-radius: 50%; stroke-width: 3; }

/* Security: information lifecycle and evaluation checklist */
.lifecycle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 0; padding: 0; list-style: none; }
.lifecycle-step { position: relative; display: flex; flex-direction: column; align-items: center; padding: 34px 28px; text-align: center; background: var(--white); border-radius: var(--radius); }
.lifecycle-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -24px; width: 12px; height: 12px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: translateY(-50%) rotate(45deg); }
.lifecycle-step h3 { margin: 18px 0 4px; font-size: 1.375rem; }
.lifecycle-step > p { margin: 0 0 18px; font-size: .875rem; font-weight: 700; color: var(--shu); }
.lifecycle-step ul { display: grid; gap: 8px; width: 100%; margin: 0; padding: 18px 0 0; text-align: left; list-style: none; border-top: 1px dashed var(--line-2); }
.lifecycle-step li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .875rem; line-height: 1.7; }
.lifecycle-step li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--matcha); stroke-width: 2.5; }
@media (max-width: 900px) { .lifecycle { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 20px; } .lifecycle-step::after { display: none; } }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 22px; font-weight: 500; color: var(--ink); background: var(--white); border-radius: 12px; }
.checklist .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--shu); }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }

/* Company: mission, values, profile, access */
.mission { max-width: 900px; text-align: center; }
.mission-title { margin: 0 0 32px; font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 900; line-height: 1.45; }
.mission-text p { color: var(--muted); }
.mission-vision { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 48px 0 0; text-align: left; }
.mission-vision div { padding: 26px 28px; background: var(--tint); border-radius: var(--radius); }
.mission-vision dt { margin-bottom: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--shu); }
.mission-vision dd { margin: 0; font-weight: 700; line-height: 1.8; color: var(--ink); }
@media (max-width: 700px) { .mission-vision { grid-template-columns: 1fr; } }
.values--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.values--wide li { background: var(--tint); text-align: center; }
.values--wide .value-mark { margin-inline: auto; }
@media (max-width: 1000px) { .values--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .values--wide { grid-template-columns: 1fr; } }
.profile-wrap { max-width: 900px; }
.profile { margin: 0; overflow: hidden; background: var(--white); border-radius: var(--radius); }
.profile-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.profile-row:last-child { border-bottom: 0; }
.profile dt { padding: 22px 26px; font-size: .875rem; font-weight: 700; color: var(--ink); border-right: 3px solid var(--shu-50); }
.profile dd { margin: 0; padding: 22px 26px; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .profile-row { grid-template-columns: 1fr; }
  .profile dt { padding: 16px 20px 0; border-right: 0; color: var(--shu); font-size: .8125rem; }
  .profile dd { padding: 4px 20px 16px; }
}
.access { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.access-card { display: grid; gap: 24px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.access-list { display: grid; gap: 18px; width: 100%; margin: 0; }
.access-list dt { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; color: var(--ink); }
.access-list dt .icon { width: 18px; height: 18px; color: var(--shu); }
.access-list dd { margin: 4px 0 0 26px; font-size: .9375rem; }
@media (max-width: 900px) { .access { grid-template-columns: 1fr; } }

/* FAQ page categories */
.faq-cat { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-cat + .faq-cat { margin-top: 56px; }
.faq-cat-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.25rem; }
.faq-cat-title span { width: 10px; height: 10px; background: var(--shu); border-radius: 2px; transform: rotate(45deg); }
.faq-more { display: grid; justify-items: center; gap: 4px; margin-top: 64px; padding: 36px 24px; text-align: center; background: var(--tint); border-radius: var(--radius); }
.faq-more p { font-weight: 700; color: var(--ink); }

/* 11. Footer --------------------------------------------------------------- */
.site-footer { padding-top: 64px; font-size: .875rem; color: var(--muted); background: var(--tint); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-desc { max-width: 380px; margin: 18px 0; font-size: .8125rem; line-height: 1.9; }
.footer-company { margin: 0 0 18px; padding-left: 14px; font-size: .8125rem; line-height: 1.8; border-left: 2px solid var(--line-2); }
.footer-company p, .footer-company address { margin: 0; font-style: normal; }
.footer-company-label { font-size: .6875rem; letter-spacing: .1em; }
.footer-company-name { font-weight: 700; color: var(--ink); }
.footer-email { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.footer-email .icon { width: 16px; height: 16px; }
.footer-title { margin: 0 0 16px; font-size: .875rem; color: var(--ink); }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer ul a { color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-block: 22px 26px; font-size: .75rem; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; }
.site-footer .social { display: flex; gap: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.page-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-2); border-radius: 50%; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s, color .2s, border-color .2s;
}
.page-top:hover { color: var(--shu); border-color: var(--shu); }
.page-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), color .2s, border-color .2s; }
.page-top .icon { width: 20px; height: 20px; }
html:not(.js) .page-top { opacity: 1; visibility: visible; transform: none; }

/* 12. Motion ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
