/* Self-hosted, unmodified Rubik Regular; OFL notice is served alongside it. */
@font-face {
  font-family: 'NAMs Rubik';
  src: url('/assets/brand-rubik-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #303238;
  --muted: #5e6167;
  --accent: #b64b08;
  --brand: #f58220;
  --line: #dedfe1;
  --surface: #f5f5f5;
  --accent-soft: #fff0e3;
  --paper: #fff;
  --max: 1240px;
  --radius: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --surface-gradient: linear-gradient(115deg, #fff 12%, #f6f5f4 65%, #f8e6d7 100%);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 18px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
html:lang(ja) body { font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif; line-height: 1.9; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
a, button, input, select, textarea, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #b64b08; outline-offset: 4px; }
p { margin: 0 0 22px; }
h1, h2, h3 { font-weight: 500; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 22px; }
h1 { font-size: 46px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
.container { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 15px; top: -100px; z-index: 100; background: #fff; padding: 12px 20px; border-radius: var(--radius); }
.skip:focus { top: 10px; }
.draft-bar { background: #f0f0f0; color: #5e6167; padding: 8px 24px; font-size: 14px; text-align: center; line-height: 1.5; }
.header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); transition: background-color 240ms, box-shadow 240ms; }
.header.is-scrolled { background: #ffffffed; box-shadow: 0 5px 24px #3032380b; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: 'NAMs Rubik', Arial, sans-serif; font-size: 32px; font-weight: 400; font-synthesis: none; letter-spacing: -.025em; white-space: nowrap; line-height: 1.2; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; display: block; overflow: visible; }
.brand-mark .brand-color { fill: var(--brand); }
.brand-mark .brand-outline { stroke: var(--brand); }
.header nav { display: flex; align-items: center; gap: 21px; margin-left: auto; }
.nav-link, .nav-group summary { font-size: 16px; white-space: nowrap; padding: 12px 0; }
.nav-link.active, .nav-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.header .nav-link, .header .nav-group > summary { position: relative; }
.header .nav-link::before, .header .nav-group > summary::before { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: linear-gradient(90deg, var(--brand), #efb78b); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.header .nav-link:is(:hover, :focus-visible, .active) { text-decoration: none; }
.header .nav-link:is(:hover, :focus-visible, .active)::before, .header .nav-group:is([open], .active) > summary::before, .header .nav-group > summary:is(:hover, :focus-visible)::before { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.language { font-size: 16px; white-space: nowrap; }
.language:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--ink); background: var(--brand); border: 1px solid transparent; border-radius: var(--radius); text-align: center; box-shadow: 0 2px 4px #30323810; transition: transform 220ms var(--ease), box-shadow 220ms; }
.button:hover, .button:focus-visible { color: var(--ink); }
.button:active { transform: translateY(0); box-shadow: 0 1px 2px #30323814; }
.button:disabled { cursor: not-allowed; opacity: .65; }
.button.compact { padding: 10px 16px; font-size: 16px; }
.menu-toggle { display: none; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cdd0d3; border-radius: 8px; padding: 8px 13px; }
.nav-group { position: relative; }
.nav-group summary { list-style: none; display: flex; align-items: center; gap: 8px; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ''; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-2px); transition: transform 220ms var(--ease); }
.nav-group[open] summary::after { transform: rotate(225deg); }
.nav-group.active summary { color: var(--accent); }
.nav-dropdown { position: absolute; top: calc(100% + 12px); left: -20px; min-width: 290px; padding: 14px; border: 1px solid #d7d8da; border-radius: var(--radius); background: linear-gradient(145deg, #fff 65%, #f7f6f5); box-shadow: 0 14px 36px #30323812, 0 2px 5px #30323806; }
.nav-group[open] .nav-dropdown { animation: surface-in 200ms var(--ease); }
.nav-dropdown a { display: block; padding: 10px 13px; line-height: 1.5; font-size: 16px; border-radius: 5px; transition: background-color 180ms, color 180ms; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current=page], .nav-dropdown a.active { background: var(--surface); }
.analysis-dropdown { width: 350px; left: auto; right: -25px; }
.nav-group:has(.mega-menu) { position: static; }
.mega-menu { left: auto; right: 0; top: calc(100% - 2px); width: min(960px,100%); padding: 24px; }
.mega-heading { padding-bottom: 14px; margin-bottom: 19px; border-bottom: 1px solid var(--line); }
.mega-heading a { display: inline-block; font-weight: 600; }
.nav-families { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 24px; }
.nav-family p { padding: 0 13px; font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.section { padding-block: 64px; }
.eyebrow { font-size: 16px; font-weight: 500; letter-spacing: .015em; color: var(--accent); margin-bottom: 22px; line-height: 1.6; }
.lead { font-size: 21px; line-height: 1.75; color: var(--muted); max-width: 930px; }
.read-more, .text-link { display: inline-block; font-size: 17px; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.read-more:hover, .text-link:hover { color: var(--ink); }
.read-more::after { content: '→'; display: inline-block; margin-left: 11px; text-decoration: none; transition: transform 220ms var(--ease); }
.read-more:is(:hover, :focus-visible)::after { transform: translateX(4px); }
.home-hero { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 96% 12%, #f0bd958c 0%, transparent 54%), linear-gradient(115deg, #fcfcfc 7%, #f5f3f1 53%, #f6e4d5 100%); }
.home-hero-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 52px; align-items: center; padding-block: 62px; }
.home-hero h1 { font-size: clamp(38px,3.5vw,49px); max-width: 720px; margin-bottom: 28px; }
.home-hero .lead { font-size: 20px; }
.home-hero .button { margin-top: 8px; }
.home-hero .science-figure { margin: 0; }
.home-hero .figure-scroll { background: #fff; border-color: #d5d1cc; box-shadow: 0 18px 55px #66503d10, 0 2px 8px #66503d06; }
.home-hero-layout > div, .content-header > .container { animation: content-in 520ms var(--ease); }
.home-hero .figure-scroll svg { min-width: 480px; }
.home-hero, .content-header, .page-hero, .contact-band { position: relative; isolation: isolate; overflow: clip; }
.home-hero::before, .home-hero::after, .content-header::before, .content-header::after, .page-hero::before, .page-hero::after, .contact-band::before, .contact-band::after { content: ''; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.home-hero::before { width: 640px; height: 640px; right: -125px; top: -225px; border: 1px solid #f5822040; box-shadow: 0 0 0 68px #ffffff24; }
.home-hero::after { width: 320px; height: 320px; right: 130px; bottom: -200px; border: 1px solid #696c7230; background: linear-gradient(145deg, #ffffff36, #f5822005); }
.content-header::before, .page-hero::before { width: 470px; height: 470px; right: -165px; top: -230px; border: 1px solid #f582203b; box-shadow: 0 0 0 54px #ffffff24; }
.content-header::after, .page-hero::after { width: 108px; height: 108px; right: 120px; bottom: -66px; border: 1px solid #696c7226; }
.contact-band::before { width: 390px; height: 390px; right: -115px; top: -225px; border: 1px solid #f5822057; }
.contact-band::after { width: 245px; height: 245px; right: 120px; bottom: -200px; border: 1px solid #ffffff24; }
.service-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 46px; margin-top: 36px; }
.service-family { border-top: 0; padding-top: 26px; background: linear-gradient(90deg, var(--brand), #f1cbaa) left top / 100% 2px no-repeat; }
.service-family h3 { font-size: 26px; }
.service-family p { color: var(--muted); }
.service-family ul { margin: 26px 0 0; padding: 0; list-style: none; }
.service-family li { margin-bottom: 12px; }
.service-family a { font-size: 17px; text-decoration: underline; text-underline-offset: 5px; }
.editorial-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.editorial-split p { color: var(--muted); }
.bio-introduction { border-block: 1px solid var(--line); background: linear-gradient(105deg, #f4f4f4, #fcfcfc 56%, #f7f1eb); }
.home-analysis-links { border-top: 1px solid var(--line); }
.home-analysis-links a { position: relative; display: block; padding: 11px 32px 11px 0; border-bottom: 1px solid var(--line); font-size: 18px; background: linear-gradient(90deg, #f8e6d7b3, transparent) no-repeat; background-size: 0 100%; transition: padding-left 240ms var(--ease), background-size 320ms var(--ease); }
.home-analysis-links a::after { content: '→'; position: absolute; right: 7px; top: 11px; color: var(--accent); transition: transform 220ms var(--ease); }
.home-analysis-links a:is(:hover, :focus-visible) { background-size: 100% 100%; padding-left: 10px; }
.home-analysis-links a:is(:hover, :focus-visible)::after { transform: translateX(4px); }
.contact-band { position: relative; background: linear-gradient(112deg, #2b2e33 5%, #3b3e44 58%, #4b4e54 100%); color: #fff; padding-block: 52px; border-top: 1px solid var(--brand); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-inner h2 { font-size: 32px; margin-bottom: 15px; }
.contact-inner p { color: #e4e4e5; margin: 0; font-size: 18px; }
.contact-inner .button { flex-shrink: 0; }
.footer { padding-top: 45px; background: linear-gradient(180deg, #fff, #f3f3f3); }
.footer-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 35px; }
.footer-top p { margin-top: 18px; font-size: 16px; color: var(--muted); max-width: 460px; }
.footer-links { display: flex; align-content: start; flex-wrap: wrap; gap: 12px 26px; max-width: 520px; }
.footer-links a { font-size: 16px; padding: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); padding: 22px 0 30px; font-size: 15px; color: var(--muted); }
.breadcrumb { font-size: 16px; color: var(--muted); margin-bottom: 27px; line-height: 1.7; }
.breadcrumb span { margin-inline: 8px; color: #858990; }
.breadcrumb a:hover { text-decoration: underline; }
.content-header, .page-hero { padding: 40px 0 48px; border-bottom: 1px solid var(--line); background: var(--surface-gradient); }
.content-header h1, .page-hero h1 { max-width: 970px; }
.content-header .lead, .page-hero .lead { margin: 0; }
.page-hero .eyebrow { font-size: 16px; margin-bottom: 17px; }
.analysis-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 70px; padding-block: 50px 70px; align-items: start; }
.analysis-sidebar { position: sticky; top: 120px; font-size: 16px; line-height: 1.6; }
.analysis-navigation-disclosure > summary { display: none; }
.analysis-navigation { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.analysis-navigation a { padding: 12px 12px; border-bottom: 1px solid var(--line); transition: background-color 180ms, color 180ms; }
.analysis-navigation a[aria-current=page] { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.analysis-navigation a:hover { background: var(--surface); }
.analysis-overview-link { font-weight: 600; }
.section-nav { margin-top: 30px; padding-inline: 15px; }
.section-nav p { margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.section-nav a { display: block; padding: 7px 0; font-size: 16px; color: var(--muted); transition: color 160ms; }
.section-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-nav a[aria-current=location] { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.analysis-article { min-width: 0; }
.analysis-article p, .method-points, .study-specification { max-width: 75ch; color: var(--muted); }
.analysis-article h2 { font-size: 30px; margin-bottom: 20px; }
.service-introduction { padding-bottom: 18px; }
.analysis-service-entry { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.analysis-service-entry h2 { font-size: 27px; margin-bottom: 17px; }
.analysis-service-entry h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.analysis-service-entry p { margin-bottom: 18px; }
.analysis-orientation { padding-bottom: 26px; }
.analysis-question-links { list-style: none; padding: 0; margin: 24px 0 0; }
.analysis-question-links a { display: flex; align-items: baseline; gap: 20px; justify-content: space-between; padding: 13px 0; color: var(--ink); border-top: 1px solid var(--line); }
.analysis-question-links a:hover { color: var(--accent); }
.analysis-question-links a span { flex-shrink: 0; color: var(--accent); }
.analysis-service-entry, .analysis-reporting { scroll-margin-top: 120px; }
.analysis-output-summary strong { color: var(--ink); font-weight: 600; }
.analysis-brief { padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.analysis-brief h2 { font-size: 22px; margin-bottom: 12px; }
.analysis-brief p { color: var(--ink); }
.analysis-reporting h3 { font-size: 22px; margin-top: 30px; }
.analysis-related { border-top: 1px solid var(--line); margin-top: 35px; }
.analysis-related a { display: block; padding: 6px 0; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.analysis-section { border-bottom: 1px solid var(--line); padding: 42px 0 48px; scroll-margin-top: 115px; }
.analysis-section:first-child { padding-top: 0; }
.method-points { padding-left: 24px; margin: 20px 0 27px; }
.method-points li { padding-left: 5px; margin-bottom: 12px; }
.science-figure { margin: 32px 0 0; max-width: 780px; width: 100%; min-width: 0; }
.figure-scroll { overflow-x: auto; overflow-y: hidden; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px 5px; background: #fdfdfd; scrollbar-width: thin; transition: border-color 220ms, box-shadow 220ms; }
.figure-scroll svg { width: 100%; min-width: 520px; height: auto; display: block; }
.science-figure figcaption { font-size: 16px; line-height: 1.7; color: var(--muted); padding-top: 14px; }
.analysis-reporting { margin-top: 38px; }
.study-specification { margin: 25px 0; }
.study-specification > div { padding: 18px 0; border-top: 1px solid var(--line); }
.study-specification dt { font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.study-specification dd { margin: 0; }
.interpretation-note { font-size: 17px; }
.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; }
.prose p { color: var(--muted); }
.modality-scope { max-width: 75ch; border-top: 1px solid var(--line); padding-top: 32px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 50px; }
.feature { border-top: 1px solid var(--line); padding-top: 26px; min-width: 0; }
.feature .eyebrow { display: none; }
.feature p { color: var(--muted); margin: 0; }
.section-heading { margin-bottom: 36px; }
.section-heading .eyebrow { display: none; }
.section-heading h2 br { display: none; }
.subsection { margin-top: 50px; }
.subsection h2 { margin-bottom: 28px; }
.related-links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 34px; }
.related-link { font-size: 17px; text-decoration: underline; text-underline-offset: 5px; }
.list-clean { padding: 0; margin: 0; list-style: none; }
.list-clean li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.deliverable { border-radius: var(--radius); background: var(--surface); padding: 32px 36px; margin-top: 45px; }
.stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-block: 1px solid var(--line); padding-block: 28px; margin-bottom: 20px; gap: 25px; }
.stat strong { font-size: 42px; color: var(--accent); font-weight: 500; display: block; }
.stat span { font-size: 18px; }
.note { font-size: 18px; line-height: 1.8; color: var(--muted); }
.faq { margin-top: 32px; }
.faq details { border: 1px solid var(--line); border-radius: 8px; padding: 22px 25px; margin-bottom: 14px; transition: border-color 180ms, background-color 180ms; }
.faq details[open] { border-color: #d9a780; background: #fffaf5; }
.faq details[open] p { animation: surface-in 240ms var(--ease); }
.faq summary { font-size: 19px; line-height: 1.65; }
.faq p { margin: 18px 0 0; color: var(--muted); }
.full-faq { max-width: 930px; margin: 0 auto 35px; }
.method-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 55px; align-items: start; }
.method-hero-grid.solo { grid-template-columns: 1fr; }
.method-hero-grid .science-figure { margin-top: 0; }
.method-hero-grid h1 { font-size: 42px; }
.method-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 70px; align-items: start; }
.method-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.method-section:first-child { padding-top: 0; }
.method-section > .row-index { display: none; }
.method-section h2 { font-size: 28px; }
.method-section p { margin: 0; color: var(--muted); }
.method-sidebar { border-top: 2px solid var(--accent); padding-top: 25px; }
.method-sidebar .eyebrow { display: none; }
.method-sidebar h2 { font-size: 26px; }
.method-sidebar h3 { margin-top: 30px; font-size: 22px; }
.method-sidebar .related-links { margin-top: 18px; flex-direction: column; gap: 14px; }
.service-path { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 55px; padding-top: 40px; border-top: 1px solid var(--line); }
.service-path .eyebrow { display: none; }
.service-path p { color: var(--muted); }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 60px; }
.resource-card { border-top: 1px solid var(--line); padding-top: 25px; }
.resource-card .eyebrow { display: none; }
.resource-card h2 { font-size: 27px; }
.resource-card p { color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.65fr); gap: 48px; padding-block: 40px; align-items: start; }
.contact-layout p { color: var(--muted); }
.contact-layout > div { min-width: 0; }
.field { margin-bottom: 24px; }
.field label { font-size: 18px; display: block; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #91949a; border-radius: 8px; padding: 12px 14px; background: #fff; color: var(--ink); font-size: 18px; line-height: 1.6; }
.field textarea { min-height: 160px; resize: vertical; }
.field input, .field select, .field textarea { transition: border-color 180ms, box-shadow 180ms; }
.field :is(input, select, textarea):focus { border-color: var(--accent); box-shadow: 0 0 0 4px #b64b0810; }
.form-status { font-size: 17px; margin-top: 20px; color: var(--accent); }
.form-status:empty { display: none; }
.button-secondary { background: #fff; border-color: #92959b; box-shadow: none; }
.footer-privacy { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-bottom: 26px; font-size: 16px; }
.footer-privacy a, .form-help a, .check-field a, .policy-article a, .privacy-policy-links a, .cookie-banner-copy a { text-decoration: underline; text-underline-offset: 4px; }
.form-preferences { min-width: 0; padding: 22px 0 4px; margin: 28px 0 22px; border: 0; border-top: 1px solid var(--line); }
.form-preferences legend { padding: 0 14px 0 0; font-size: 21px; font-weight: 500; }
.check-field { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: start; gap: 13px; margin-bottom: 20px; }
.check-field input { width: 22px; height: 22px; margin: 6px 0 0; accent-color: var(--accent); cursor: pointer; }
.check-field label { cursor: pointer; line-height: 1.7; }
.field-qualifier { color: var(--muted); font-size: 16px; white-space: nowrap; }
.form-help { font-size: 17px; line-height: 1.75; color: var(--muted); }
.inquiry-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; }
.inquiry-fields .field { margin: 0; min-width: 0; }
.inquiry-fields .field-wide { grid-column: 1 / -1; }
.inquiry-fields label { margin-bottom: 5px; line-height: 1.5; }
.inquiry-fields input, .inquiry-fields textarea { display: block; padding: 9px 12px; line-height: 1.5; }
.inquiry-fields textarea { min-height: 120px; }
#inquiry-form .form-preferences { padding: 14px 0 0; margin: 20px 0 18px; }
#inquiry-form .form-preferences legend { font-size: 19px; }
#inquiry-form .check-field { gap: 10px; margin-bottom: 12px; }
#inquiry-form .check-field input { margin-top: 3px; }
#inquiry-form .check-field label { line-height: 1.5; }
#inquiry-form .form-help { margin: 0; line-height: 1.6; }
.newsletter-band { border-top: 1px solid var(--line); background: var(--surface-gradient); padding-block: 46px; }
.newsletter-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.newsletter-band-inner > div { max-width: 740px; }
.newsletter-band .eyebrow { margin-bottom: 12px; }
.newsletter-band h2 { margin-bottom: 16px; }
.newsletter-band p:last-child { margin-bottom: 0; }
.newsletter-band .button { flex-shrink: 0; }
.newsletter-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; }
.newsletter-topic { padding: 24px 0; border-bottom: 1px solid var(--line); }
.newsletter-topic:first-of-type { padding-top: 10px; }
.newsletter-topic h3 { margin-bottom: 9px; }
.newsletter-topic p { color: var(--muted); margin: 0; }
.newsletter-layout > section > .form-help { margin-top: 26px; }
.newsletter-preview { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.newsletter-preview pre { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.policy-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 75px; align-items: start; }
.policy-directory { position: sticky; top: 128px; }
.policy-directory > p { margin-bottom: 14px; font-weight: 600; }
.policy-directory nav { display: grid; gap: 12px; font-size: 17px; line-height: 1.55; }
.policy-directory a:hover { text-decoration: underline; text-underline-offset: 4px; }
.policy-article { max-width: 790px; min-width: 0; }
.policy-date { color: var(--muted); font-size: 16px; }
.policy-section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 125px; }
.policy-section h2 { font-size: 29px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section button { margin-bottom: 24px; }
.storage-details { margin: 0; }
.storage-details > div { padding-block: 16px; border-bottom: 1px solid var(--line); }
.storage-details dt { font-weight: 600; margin-bottom: 5px; }
.storage-details dd { margin: 0; color: var(--muted); }
.storage-details code { overflow-wrap: anywhere; font-size: 16px; }
.cookie-banner { position: fixed; z-index: 50; inset: auto 24px 24px; display: flex; align-items: center; gap: 30px; max-width: 1320px; margin-inline: auto; padding: 24px 28px; background: #fff; color: var(--ink); border: 1px solid #cbcccf; border-radius: 14px; box-shadow: 0 10px 48px #30323824; max-height: calc(100dvh - 40px); overflow-y: auto; }
.cookie-banner-copy { flex: 1; }
.cookie-banner-copy h2 { font-size: 22px; margin: 0 0 9px; }
.cookie-banner-copy p { font-size: 17px; line-height: 1.65; margin: 0; }
.cookie-banner-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cookie-banner-actions .button { font-size: 16px; padding: 12px 17px; }
.privacy-dialog { width: min(720px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 24px 90px #18191d38; }
.privacy-dialog::backdrop { background: #20222780; }
.privacy-dialog-inner { padding: 30px; }
.privacy-dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 15px; }
.privacy-dialog-heading h2 { font-size: 29px; margin: 0; }
.privacy-dialog-heading h2:focus { outline: none; }
.dialog-close { display: grid; place-items: center; flex: 0 0 44px; height: 44px; margin-top: -5px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; }
.dialog-close:hover { background: var(--surface); }
.privacy-dialog p { font-size: 17px; line-height: 1.7; }
.privacy-category { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 20px; padding-block: 23px; border-top: 1px solid var(--line); }
.privacy-category h3 { font-size: 20px; margin-bottom: 9px; }
.privacy-category p { margin: 0; color: var(--muted); }
.privacy-category-state { font-size: 16px; color: var(--muted); white-space: nowrap; padding-top: 1px; }
.privacy-category-state.essential { color: var(--accent); }
.privacy-choice-status { padding-top: 18px; border-top: 1px solid var(--line); }
.privacy-dialog-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-button { font: inherit; font-size: 17px; color: var(--ink); border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
.privacy-policy-links { display: flex; flex-wrap: wrap; gap: 20px; margin: 24px 0 0; }
body:has(.privacy-dialog[open]) { overflow: hidden; }
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3 { line-height: 1.5; letter-spacing: -.015em; }
html:lang(ja) .home-hero h1 { font-size: 39px; }
html:lang(ja) .content-header h1 { font-size: 40px; }
html:lang(ja) .header nav { gap: 17px; }
html:lang(ja) .header-actions .button { font-size: 15px; }
@keyframes surface-in { from { opacity: .3; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes content-in { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); box-shadow: 0 7px 19px #6b381d24; }
  .button:active { transform: translateY(0); }
}
@media (max-width: 1300px) {
  .header-actions .compact { display: none; }
  .container { width: calc(100% - 72px); }
  .analysis-layout { gap: 45px; grid-template-columns: 245px minmax(0,1fr); }
  .home-hero-layout, .method-hero-grid { gap: 35px; }
}
@media (max-width: 1100px) {
  .cookie-banner { align-items: start; flex-direction: column; gap: 18px; }
  .policy-layout, .newsletter-layout { gap: 42px; }
  .header-inner { flex-wrap: wrap; min-height: 80px; gap: 18px; }
  .header-actions { margin-left: auto; order: 2; }
  .menu-toggle { display: block; order: 3; }
  .header nav { display: none; order: 4; width: 100%; margin: 0; padding-bottom: 20px; flex-direction: column; align-items: stretch; gap: 3px; max-height: calc(100dvh - 130px); overflow-y: auto; }
  .header nav.open { display: flex; }
  .nav-link, .nav-group summary { font-size: 18px; padding: 10px 0; }
  .nav-dropdown, .mega-menu, .analysis-dropdown { position: static; width: 100%; min-width: 0; margin-block: 5px 15px; padding: 18px; box-shadow: none; }
  .nav-families { grid-template-columns: 1fr; gap: 25px; }
  .nav-family p { font-size: 18px; }
  .nav-dropdown a { font-size: 17px; }
  .home-hero-layout, .method-hero-grid { grid-template-columns: 1fr; }
  .home-hero .science-figure, .method-hero-grid .science-figure { max-width: 720px; }
  .home-hero-layout { gap: 40px; }
  .home-hero h1, html:lang(ja) .home-hero h1 { max-width: 880px; }
  .service-directory { column-gap: 28px; }
  .analysis-layout { gap: 35px; grid-template-columns: 225px minmax(0,1fr); }
  .analysis-article h2 { font-size: 28px; }
  .editorial-split { gap: 40px; }
  .footer-top { flex-direction: column; gap: 25px; }
  .footer-links { max-width: none; }
  .method-body { gap: 40px; }
}
@media (max-width: 820px) {
  .policy-layout, .newsletter-layout { grid-template-columns: 1fr; }
  .policy-directory { position: static; }
  .policy-directory nav { grid-template-columns: 1fr 1fr; gap: 12px 22px; }
  .newsletter-band-inner { flex-direction: column; align-items: start; gap: 24px; }
  .analysis-layout { grid-template-columns: 1fr; gap: 38px; }
  .analysis-sidebar { position: static; }
  .analysis-navigation-disclosure > summary { display: list-item; font-size: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; }
  .analysis-navigation-disclosure[open] > summary { margin-bottom: 16px; }
  .analysis-navigation { display: grid; grid-template-columns: 1fr 1fr; }
  .analysis-overview-link { grid-column: 1 / -1; }
  .section-nav { display: none; }
  .service-directory { grid-template-columns: 1fr; row-gap: 36px; }
  .service-family ul { margin-top: 22px; }
  .editorial-split, .two-col, .method-body, .service-path, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .contact-layout { gap: 24px; }
  .feature-grid, .resource-grid { grid-template-columns: 1fr; }
  .contact-inner { align-items: start; flex-direction: column; gap: 28px; }
}
@media (max-width: 560px) {
  .inquiry-fields { grid-template-columns: 1fr; }
  .section.contact-layout { padding-block: 30px; }
  .cookie-banner { inset: auto 12px 12px; padding: 20px; border-radius: 12px; }
  .cookie-banner-copy h2 { font-size: 21px; }
  .cookie-banner-copy p { font-size: 16px; }
  .cookie-banner-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 10px; }
  .cookie-banner-actions .button { padding-inline: 9px; }
  .privacy-dialog-inner { padding: 24px 20px; }
  .privacy-dialog-heading h2 { font-size: 26px; }
  .privacy-category { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
  .privacy-category-state { grid-row: 1; font-size: 16px; }
  .privacy-category h3 { font-size: 21px; }
  .privacy-dialog-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .privacy-dialog-actions .text-button { text-align: center; }
  .policy-directory nav { grid-template-columns: 1fr; }
  .policy-section h2 { font-size: 27px; }
  .footer-privacy { gap: 12px 22px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; gap: 12px; }
  .brand { font-size: 29px; gap: 9px; }
  .brand-mark { width: 31px; height: 31px; }
  .home-hero::before { width: 380px; height: 380px; right: -235px; top: -170px; }
  .home-hero::after { width: 230px; height: 230px; right: -110px; bottom: -145px; }
  .content-header::before, .page-hero::before { width: 320px; height: 320px; right: -235px; top: -155px; box-shadow: none; }
  .content-header::after, .page-hero::after { display: none; }
  .header-actions { gap: 0; }
  .language, .menu-toggle { font-size: 15px; }
  .menu-toggle { padding: 8px 10px; }
  .draft-bar { text-align: left; font-size: 14px; padding: 8px 20px; }
  .home-hero-layout { padding-block: 38px 40px; }
  .home-hero h1, h1, .method-hero-grid h1 { font-size: 36px; }
  html:lang(ja) .home-hero h1, html:lang(ja) .content-header h1 { font-size: 31px; }
  .home-hero .lead, .lead { font-size: 19px; }
  h2, .contact-inner h2 { font-size: 28px; }
  .eyebrow { font-size: 16px; }
  .section { padding-block: 46px; }
  .content-header, .page-hero { padding-block: 27px 36px; }
  .breadcrumb { margin-bottom: 23px; font-size: 16px; }
  .analysis-layout { padding-block: 34px 50px; }
  .analysis-navigation { grid-template-columns: 1fr; }
  .analysis-navigation a { font-size: 17px; padding: 10px 12px; }
  .analysis-article h2 { font-size: 27px; }
  .analysis-service-entry { padding-block: 27px; }
  .analysis-section { padding-block: 35px; }
  .method-points { padding-left: 22px; }
  .science-figure { margin-top: 25px; }
  .figure-scroll { padding-inline: 0; }
  .science-figure figcaption { font-size: 16px; }
  .figure-caption-copy::after { content: "Scroll horizontally to view the full figure."; display: block; margin-top: 5px; }
  html:lang(ja) .figure-caption-copy::after { content: "図全体は横にスクロールしてご覧ください。"; }
  .service-family h3 { font-size: 26px; }
  .feature-grid { gap: 28px; }
  .stats { gap: 15px; }
  .stat strong { font-size: 35px; }
  .stat span { font-size: 17px; }
  .deliverable { padding: 24px; }
  .faq details { padding: 18px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-links { gap: 14px 24px; }
  .footer-top p { font-size: 16px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 9px; }
  .brand { font-size: 26px; gap: 7px; }
  .language, .menu-toggle { font-size: 14px; }
  .menu-toggle { padding-inline: 8px; }
  .home-hero h1 { font-size: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .button:hover, .read-more::after, .home-analysis-links a::after { transform: none; }
}
@media print {
  .cookie-banner, .privacy-dialog { display: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .header { position: static; }
}
