/* Self-hosted fonts (SIL OFL; licenses in assets/fonts/) */
@font-face { font-family: "Noto Sans JP"; src: url("fonts/NotoSansJP-sub.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* Intentia home v2 — product-page layout (2026-11)
   Loaded after site.css. Overrides palette to navy/blue and defines the v2 sections. */
:root {
  --surface: #ffffff;
  --surface-muted: #faf7f0;
  --surface-paper: #ffffff;
  --surface-dark: #c88800;
  --text: #181818;
  --text-body: #383732;
  --text-muted: #55534d;
  --text-on-dark: #ffffff;
  --text-muted-on-dark: #ffffff;
  --brand-gold: #c88800;
  --accent: #c88800;
  --accent-ink: #181818;
  --accent-soft: #f3e3b8;
  --line: #e6e1d6;
  --line-strong: #c9c2b2;
  --line-dark: #57534b;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-serif: var(--font-sans);
  --font-latin: var(--font-sans);
  --page: 1180px;
}

body.home-v2 { background: var(--surface); color: var(--text-body); font-size: 15.5px; line-height: 1.8; }
body.home-v2 { font-family: var(--font-sans); }
html[lang="en"] body.home-v2 { font-size: 16px; line-height: 1.7; }
body.home-v2 .v2-eyebrow, body.home-v2 .v2-numbered li > span, body.home-v2 .v2-stats small, body.home-v2 .v2-news time { font-family: var(--font-latin); }
.brand-logo { display: block; width: 168px; height: auto; object-fit: contain; }
.site-footer__brand .brand-logo { width: 170px; }
.site-footer__brand span { display: none; }
.sp-only { display: none; }
@media (max-width: 900px) { .sp-only { display: inline; } }
@media (max-width: 760px) { .brand-logo { width: 144px; } }
body.home-v2 .container { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* header tweaks */
body.home-v2 .site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
body.home-v2 .site-nav a.site-nav__cta { background: var(--brand-gold); color: #181818; border-radius: 0; }
body.home-v2 .site-nav a.site-nav__cta:hover { background: #d99a1a; }

/* buttons */
.v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--brand-gold); border-radius: 0; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.v2-btn--primary { background: var(--brand-gold); color: #181818; }
.v2-btn--primary:hover { background: #d99a1a; border-color: #d99a1a; }
.v2-btn--ghost { background: #fff; color: var(--accent-ink); border-color: var(--line-strong); }
.v2-btn--ghost:hover { border-color: var(--brand-gold); }
.v2-btn--light { background: #fff; color: var(--accent-ink); border-color: #fff; }
.v2-btn--light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

/* typography */
.v2-h1, .v2-h2, .v2-h3 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; color: var(--text); }
.v2-h1 { font-size: clamp(44px, 5.4vw, 74px); }
.v2-h2 { font-size: clamp(30px, 3.6vw, 48px); }
.v2-h3 { font-size: clamp(24px, 2.5vw, 34px); }
.v2-h1 em, .v2-h2 em, .v2-h3 em { font-style: normal; color: var(--accent); }
.v2-lead { font-size: 16px; line-height: 1.75; color: var(--text-body); max-width: 46em; }
.v2-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.v2-center { text-align: center; }
.v2-center .v2-lead { margin-inline: auto; }

/* sections */
.v2-section { padding: clamp(56px, 8vw, 112px) 0; }
.v2-section--tint { background: var(--surface-muted); }
.v2-section--dark { background: var(--surface-dark); color: var(--text-on-dark); }
.v2-section--dark .v2-h2 { color: #fff; }
.v2-section--dark .v2-lead { color: var(--text-muted-on-dark); }
.v2-section + .v2-section { border-top: 1px solid var(--line); }
.v2-section--tint + .v2-section, .v2-section--dark + .v2-section, .v2-section + .v2-section--dark { border-top: 0; }

/* hero */
.v2-hero { background: linear-gradient(180deg, #faf7f0 0%, #ffffff 100%); padding: clamp(40px, 6vw, 88px) 0 0; }
.v2-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.v2-hero__copy .v2-lead { margin-top: 20px; }
.v2-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.v2-hero__note { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.v2-hero__visual { position: relative; }
.v2-hero__visual img, .v2-hero__visual svg { display: block; width: 100%; height: auto; }
.v2-hero__frame { padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 20px 40px -30px rgba(24, 24, 24, .35); }
.v2-hero__frame img { border-radius: 3px; background: #fff; }
.v2-anchor-tabs { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.v2-anchor-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.v2-anchor-tabs a { display: inline-block; padding: 16px 0; font-size: 13.5px; font-weight: 600; color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent; }
.v2-anchor-tabs a:hover { color: var(--accent-ink); border-color: var(--brand-gold); }

/* channels: numbered list beside visual */
.v2-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.v2-split--rev > :first-child { order: 2; }
.v2-split__visual img, .v2-split__visual svg { display: block; width: 100%; height: auto; }
.v2-split__visual--card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 12px; box-shadow: 0 20px 40px -30px rgba(24, 24, 24, .35); }
.v2-split__visual--card img { border-radius: 3px; }
.v2-numbered { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.v2-numbered li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.v2-numbered li > span { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; padding-top: 6px; }
.v2-numbered h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 500; margin-bottom: 6px; line-height: 1.3; }
html[lang="ja"] .v2-numbered h3 { font-weight: 600; font-size: 21px; }
.v2-numbered p { color: var(--text-body); font-size: 14.5px; }

/* checklist */
.v2-check { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.v2-check li { position: relative; padding-left: 26px; color: var(--text-body); font-size: 14.5px; }
.v2-check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--brand-gold); border-bottom: 2px solid var(--brand-gold); transform: rotate(-45deg); }
.v2-split .v2-lead { margin-top: 16px; }
.v2-split .text-link { display: inline-block; margin-top: 18px; color: var(--accent-ink); font-weight: 600; }

/* stats */
.v2-stats { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v2-stats li { background: #c88800; color: #fff; padding: 36px 28px 30px; text-align: center; border-radius: 6px; }
.v2-stats strong { display: block; font-family: var(--font-serif); font-size: clamp(40px, 4vw, 56px); font-weight: 500; white-space: nowrap; color: #fff; line-height: 1; font-weight: 600; letter-spacing: -.01em; }
.v2-stats small { display: inline-block; margin-top: 12px; padding: 4px 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; background: #fff; color: var(--accent-ink); border-radius: 999px; }
.v2-stats p { margin-top: 18px; font-size: 14.5px; color: var(--text-muted-on-dark); }
.v2-footnote { margin-top: 18px; font-size: 12.5px; color: var(--text-muted); }

/* feature blocks stack */
.v2-features { display: grid; gap: clamp(48px, 7vw, 96px); margin-top: clamp(40px, 6vw, 72px); }

/* integration */
.v2-integration { margin-top: clamp(40px, 6vw, 72px); }
.v2-integration svg { display: block; width: 100%; height: auto; }
.v2-integration-note { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v2-integration-note div { background: #fff; border: 1px solid var(--line); padding: 20px 22px; border-radius: 6px; }
.v2-integration-note h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.v2-integration-note p { font-size: 14.5px; color: var(--text-body); }

/* testimonials */
.v2-quotes { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.v2-quotes li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px 28px 24px; display: grid; gap: 16px; align-content: start; }
.v2-quotes blockquote { margin: 0; font-family: var(--font-serif); font-size: 19px; line-height: 1.6; color: var(--text); }
.v2-quotes blockquote::before { content: "“"; color: var(--accent); font-size: 1.4em; line-height: 0; margin-right: .1em; }
.v2-quotes footer { font-size: 13.5px; color: var(--text-muted); }

/* case card */
.v2-case { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.4fr; }
.v2-case__head { background: var(--surface-dark); color: #fff; padding: 32px; }
.v2-case__head dl { display: grid; gap: 10px; margin-top: 18px; }
.v2-case__head dt { font-size: 12px; letter-spacing: .08em; color: var(--text-muted-on-dark); text-transform: uppercase; }
.v2-case__head dd { font-size: 15px; margin: 2px 0 0; }
.v2-case__body { padding: 32px; }
.v2-case__result { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.v2-case__result div { border-left: 3px solid var(--accent); padding-left: 14px; }
.v2-case__result strong { display: block; font-family: var(--font-serif); font-size: 32px; line-height: 1.1; }
.v2-case__result span { font-size: 13.5px; color: var(--text-muted); }
.v2-case table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14px; }
.v2-case th, .v2-case td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-top: 1px solid var(--line); }
.v2-case th { width: 4.5em; color: var(--text-muted); font-weight: 600; }
.v2-case thead th { border-top: 0; color: var(--accent-ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* CTA banner */
.v2-banner { background: #c88800; color: #fff; border-radius: 8px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.v2-banner h2 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 600; color: #fff; }
.v2-banner p { margin-top: 8px; color: var(--text-muted-on-dark); }

/* FAQ */
.v2-faq { margin-top: 36px; border-top: 1px solid var(--line); }
.v2-faq details { border-bottom: 1px solid var(--line); }
.v2-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 17px; font-weight: 600; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--accent); font-weight: 400; }
.v2-faq details[open] summary::after { content: "−"; }
.v2-faq details > div { padding: 0 0 22px; color: var(--text-body); max-width: 60em; }
.v2-faq details > div p + p { margin-top: 8px; }

/* company */
.v2-company { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 36px; }
.v2-founders { display: grid; gap: 22px; }
.v2-founders article { border-top: 2px solid var(--brand-gold); padding-top: 14px; }
.v2-founders article > p:first-child { font-size: 12.5px; color: var(--text-muted); letter-spacing: .05em; }
.v2-founders h3 { font-family: var(--font-serif); font-size: 22px; margin: 4px 0 8px; }
.v2-founders h3 span { font-family: var(--font-ja); font-size: 12px; color: var(--text-muted); letter-spacing: .1em; margin-left: 8px; }
.v2-founders article > p:last-child { font-size: 14.5px; color: var(--text-body); }
.v2-company-data { display: grid; gap: 0; border-top: 1px solid var(--line); }
.v2-company-data > div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.v2-company-data dt { color: var(--text-muted); font-weight: 600; }
.v2-company-data dd { margin: 0; }
.v2-news { margin-top: 28px; }
.v2-news h3 { font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--accent-ink); margin-bottom: 10px; }
.v2-news ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2-news li { display: grid; grid-template-columns: 7em 1fr; gap: 10px; font-size: 14.5px; }
.v2-news time { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.v2-news a { color: var(--text); }

/* contact */
.v2-contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); margin-top: 36px; align-items: start; }
.v2-contact-copy p + p { margin-top: 10px; }
.v2-contact-copy a { color: var(--accent-ink); font-weight: 600; }
body.home-v2 .contact-form { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
body.home-v2 .button.button--primary { background: var(--brand-gold); border-color: var(--brand-gold); color: #181818; border-radius: 0; }
body.home-v2 .button.button--primary:hover { background: #d99a1a; border-color: #d99a1a; }

/* footer */
body.home-v2 .site-footer { background: var(--surface-muted); color: var(--text); border-top: 1px solid var(--line); }
body.home-v2 .site-footer a { color: var(--text-body); }
body.home-v2 .site-footer__tagline { margin-top: 10px; font-size: 14px; color: var(--text-muted); }

/* responsive */
@media (max-width: 900px) {
  .v2-hero__grid, .v2-split, .v2-company, .v2-contact-grid, .v2-case, .v2-quotes { grid-template-columns: 1fr; }
  .v2-split--rev > :first-child { order: 0; }
  .v2-split__visual { order: -1; }
  .v2-stats, .v2-integration-note { grid-template-columns: 1fr; }
  .v2-banner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .v2-case__result { grid-template-columns: 1fr; }
  .v2-anchor-tabs ul { gap: 0 18px; }
  .v2-company-data > div, .v2-news li { grid-template-columns: 1fr; gap: 2px; }
}

/* demo block + legacy component recolor */
.demo-single { scroll-margin-top: 100px; }
.demo-single__media { max-width: 1040px; margin: 0 auto; text-align: center; }
.demo-single__media video { display: block; width: 100%; height: auto; aspect-ratio: 8/5; object-fit: contain; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 48px -28px rgba(11, 26, 70, .45); }
.demo-single__media .demo-expand { margin: 16px 0 0; border-color: var(--line-strong); color: var(--accent-ink); border-radius: 0; }
.demo-single__media .demo-expand:hover { background: var(--surface-muted); border-color: var(--brand-gold); }
.demo-single__media .demo-expand:focus-visible { outline-color: var(--accent); }
.demo-single__note { margin: 10px 0 0; font-size: 13px; color: var(--text-muted); }
body.home-v2 .text-link { min-height: 0; border-bottom: 0; gap: 6px; }
body.home-v2 .text-link:hover { text-decoration: underline; }
body.home-v2 .site-footer .brand-logo { filter: none; }
.v2-case__head { align-content: start; }
body.home-v2 .site-footer__bottom { border-top-color: var(--line); color: var(--text-muted); }
body.home-v2 .site-footer__brand span { color: var(--text); }

/* photos */
.v2-hero__visual--phone { display: flex; justify-content: center; }
.v2-hero__visual--phone img { width: auto; max-width: 100%; max-height: 560px; height: auto; filter: drop-shadow(0 30px 40px rgba(128, 87, 0, .25)); }
.v2-split__visual--photo img { border-radius: 8px; box-shadow: 0 24px 48px -28px rgba(24, 24, 24, .35); }
@media (max-width: 900px) { .v2-hero__visual--phone img { max-height: 440px; } }

/* centered section intros (特徴・導入実績): larger, like the reference */
.v2-center .v2-h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.25; }
.v2-center .v2-eyebrow { font-size: 15px; letter-spacing: .16em; margin-bottom: 16px; }
.v2-center .v2-lead { font-size: 17px; margin-top: 18px; }
#overview .v2-integration { margin-top: clamp(36px, 5vw, 64px); }

/* --- 2026-11-10: reference-style tabs, stats, process; single gold (#c88800) --- */
.v2-anchor-tabs { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.v2-anchor-tabs ul { justify-content: center; gap: 0 clamp(24px, 4vw, 56px); }
.v2-anchor-tabs a { padding: 22px 0; font-size: 17px; font-weight: 500; color: var(--text-body); }
.v2-anchor-tabs a:hover { color: var(--brand-gold); }
.v2-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.v2-stats li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 260px; padding: 44px 24px 36px; border-radius: 10px; }
.v2-stats strong { font-size: clamp(52px, 5.4vw, 76px); font-weight: 700; }
.v2-stats strong span { font-size: .38em; font-weight: 700; margin-left: .1em; letter-spacing: 0; }
.v2-stats strong span:first-child { margin: 0 .1em 0 0; }
.v2-stats small { margin-top: 18px; padding: 6px 16px; font-size: 12px; color: var(--accent-ink); }
.v2-stats p { margin-top: 22px; font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--text); }
.v2-process__visual { max-width: 1040px; margin: 0 auto clamp(36px, 5vw, 64px); }
.v2-process__visual img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .v2-stats { grid-template-columns: 1fr; } .v2-stats li { min-height: 0; } .v2-anchor-tabs a { font-size: 15px; padding: 14px 0; } }
