:root {
  --white: #fff;
  --surface: #f5f5f7;
  --green: #2d7a4f;
  --green-dark: #205c3b;
  --green-pale: #edf5f0;
  --orange: #ff6a00;
  --orange-dark: #d95700;
  --orange-pale: #fff0e6;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --shadow: 0 18px 55px rgba(29, 29, 31, .08);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
  --section-space: clamp(54px, 6vw, 72px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(255, 106, 0, .5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 840px);
  margin-inline: auto;
}

.section { padding: var(--section-space) 0; }
.section--soft { background: var(--surface); }
.section--green { background: var(--green-pale); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  line-height: 1.35;
  letter-spacing: -.03em;
  overflow-wrap: normal;
  text-wrap: pretty;
  text-wrap: balance;
  word-break: keep-all;
}

.u-phrase { display: inline-block; white-space: nowrap; }

h1 { font-size: clamp(2.35rem, 6vw, 4.8rem); }
h2 { margin-bottom: 20px; font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.16rem, 2vw, 1.48rem); }

.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: .82rem; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(232, 232, 237, .9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.logo { display: inline-flex; flex: 0 0 auto; }
.logo img { width: 146px; height: auto; }

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  margin-left: auto;
}

.global-nav > a {
  color: #3b3b3e;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav > a:not(.button):hover { color: var(--green); }
.global-nav > .button { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 24px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button--small { min-height: 44px; padding: 10px 18px; font-size: .86rem; }
.button--primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 25px rgba(255, 106, 0, .22);
}
.button--primary:hover { background: var(--orange-dark); }
.button--secondary { color: var(--green); background: var(--white); border-color: var(--green); }
.button--green { color: var(--white); background: var(--green); }
.text-link { color: var(--green); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  background: transparent;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 76px);
  align-items: center;
  overflow: hidden;
  padding: clamp(42px, 6vh, 64px) 0;
  background: linear-gradient(135deg, #fff 8%, var(--green-pale) 48%, #f8fbf9 72%, #fff 96%);
  background-size: 180% 180%;
  animation: hero-gradient 16s ease-in-out infinite alternate;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 82% 18%, rgba(45, 122, 79, .1), transparent 34%);
  pointer-events: none;
}

@keyframes hero-gradient {
  from { background-position: 0% 30%; }
  to { background-position: 100% 70%; }
}

.hero-shell {
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 920px; }

.hero-label {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 13px;
  color: var(--green);
  background: var(--white);
  border: 1px solid rgba(45, 122, 79, .16);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
}

.hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(2.6rem, 5.3vw, 4.15rem); line-height: 1.1; letter-spacing: -.045em; }
.h1-kicker { display: block; margin-bottom: 8px; color: var(--green); font-size: .48em; line-height: 1.4; letter-spacing: -.02em; }
.h1-kicker em { font-style: normal; color: var(--orange); }
.h1-main { display: block; }
.h1-main em { font-style: normal; color: var(--orange); }
.hero-tagline { margin: 0 0 18px; color: var(--ink); font-size: clamp(1.05rem, 2.4vw, 1.5rem); font-weight: 700; line-height: 1.5; letter-spacing: -.01em; }
.emph-dot { text-emphasis: filled dot; text-emphasis-position: under right; text-emphasis-color: var(--orange); }
.hero-copy { max-width: 740px; color: #424246; font-size: clamp(1rem, 1.6vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-microcopy { margin: 12px 0 0; color: var(--muted); font-size: .8rem; }
.hero-grid { display: grid; grid-template-areas: "head" "visual" "sub" "cta"; }
.hero-head { grid-area: head; min-width: 0; }
.hero-visual { grid-area: visual; width: min(88%, 560px); margin: 14px 0 4px auto; }
.hero-visual img { width: 100%; height: auto; }
.hero-sub { grid-area: sub; min-width: 0; }
.hero-cta { grid-area: cta; min-width: 0; }
.hero-copy--short { display: none; }

.stats-band {
  position: relative;
  z-index: 2;
  margin-top: clamp(30px, 5vh, 46px);
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { min-width: 0; padding: 6px 24px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat__value { margin-bottom: 3px; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 900; line-height: 1.4; }
.stat__value strong { color: var(--orange); font-size: 1.45em; }
.stat__metric { display: inline-block; white-space: nowrap; }
.stat__label { margin: 0; color: var(--muted); font-size: .82rem; }
.stats-note { margin: 14px 0 0; color: var(--muted); font-size: .75rem; }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.problem-card, .work-card, .service-card, .reason-card, .article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.problem-card:hover, .work-card:hover, .article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(45, 122, 79, .25); }
.problem-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; }
.problem-card__icon { display: grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; color: var(--green); background: var(--green-pale); border-radius: 15px; }
.problem-card__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.problem-card h3 { margin: 3px 0 0; font-size: 1rem; line-height: 1.65; }
.problem-closing { max-width: 940px; margin: 28px auto 0; padding: 20px 24px; color: var(--green-dark); background: var(--green-pale); border-radius: 16px; font-size: 1.02rem; font-weight: 700; text-align: left; }

.service-stack { display: grid; gap: 18px; }
.service-card { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); min-width: 0; overflow: hidden; }
.service-card__image { display: block; width: 100%; max-width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.service-card__body { min-width: 0; padding: clamp(24px, 3vw, 34px); }
.service-card__number { color: var(--green); font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.service-card__body h3 { margin: 8px 0 10px; }
.service-card__body > p { margin-bottom: 12px; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 16px; }
.chip { display: flex; min-width: 0; min-height: 42px; align-items: center; padding: 6px 10px; color: var(--green-dark); background: var(--green-pale); border-radius: 10px; font-size: .76rem; font-weight: 700; line-height: 1.45; }
.service-note { margin-top: 12px; padding: 10px 12px; background: var(--surface); border-radius: 10px; font-size: .8rem; }
.industries { margin-top: 34px; padding: clamp(24px, 4vw, 36px); background: var(--surface); border-radius: var(--radius); }
.industry-primary, .industry-secondary { display: flex; flex-wrap: wrap; gap: 9px; }
.industry-primary span { padding: 10px 15px; color: var(--green-dark); background: var(--white); border: 1px solid rgba(45, 122, 79, .22); border-radius: 999px; font-weight: 800; }
.industry-secondary { margin-top: 14px; }
.industry-secondary span { padding: 7px 11px; color: var(--muted); background: var(--white); border-radius: 999px; font-size: .82rem; }
.industries p:last-child { margin: 24px 0 0; }

.work-card { display: flex; flex-direction: column; overflow: hidden; }
.work-card__image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.work-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.work-card__body h3 { margin-bottom: 12px; font-size: 1rem; }
.work-card__body p { color: var(--muted); }
.work-card__result { margin-bottom: 18px; font-size: .9rem; line-height: 1.65; }
.work-card__result strong { display: block; margin-bottom: 3px; color: var(--green-dark); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.35; }
.work-card__body a { margin-top: auto; }

.demo-invite {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 36px;
}
.demo-invite__visual { padding: 20px; background: var(--green-pale); border-radius: 22px; }
.demo-invite__visual img { display: block; width: 100%; height: auto; border-radius: 15px; box-shadow: var(--shadow); }
.tool-figure { margin: 34px 0 0; text-align: center; }
.tool-figure img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tool-figure figcaption { margin-top: 10px; color: var(--muted); font-size: .8rem; }
.mini-browser { padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.mini-browser__bar { height: 12px; margin-bottom: 12px; background: linear-gradient(90deg, var(--line) 0 12%, transparent 12%); border-bottom: 1px solid var(--line); }
.mini-browser__row { height: 32px; margin: 7px 0; background: var(--surface); border-radius: 8px; transform-origin: left; animation: build-row 3.2s ease-in-out infinite; }
.mini-browser__row:nth-child(3) { animation-delay: .35s; }
.mini-browser__row:nth-child(4) { animation-delay: .7s; }
@keyframes build-row { 0%, 20% { transform: scaleX(.15); opacity: .45; } 60%, 100% { transform: scaleX(1); opacity: 1; } }

.mission {
  position: relative;
  min-height: clamp(440px, 55svh, 580px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark) url("../images/mission_town.webp") center/cover no-repeat;
}
.mission::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(20, 61, 39, .94), rgba(20, 61, 39, .72)); }
.mission video { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); object-fit: cover; filter: blur(1px) saturate(.86); }
.mission__content { position: relative; z-index: 2; max-width: 820px; padding: 62px 0; }
.mission .eyebrow { color: var(--white); }
.mission h2 { max-width: 700px; }
.mission p:last-child { margin-bottom: 0; font-size: .96rem; line-height: 1.85; }

.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 20px; }
.reason-card { padding: 26px; }
.reason-card__art { display: grid; height: 88px; margin-bottom: 16px; place-items: center; color: var(--green); }
.reason-card__art svg { width: 100%; max-width: 180px; height: 88px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
.reason-card__art .accent { stroke: var(--orange); }
.reason-card__art .accent-fill { fill: var(--orange); stroke: var(--orange); }
.reason-card p:last-child { margin-bottom: 0; color: var(--muted); }
.reason-card--main { color: var(--white); background: var(--green); border-color: var(--green); transform: translateY(-10px); box-shadow: 0 22px 54px rgba(45, 122, 79, .22); }
.reason-card--main .reason-card__art { color: var(--white); }
.reason-card--main p:last-child { color: var(--white); }
.reason-card--main h3::after { display: block; width: 54px; height: 4px; margin-top: 18px; content: ""; background: var(--orange); border-radius: 4px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 18px; counter-reset: step; }
.step { position: relative; min-width: 0; padding: 24px 18px 0; border-top: 2px solid var(--green); counter-increment: step; }
.step::before { position: absolute; top: -18px; left: 18px; display: grid; width: 34px; height: 34px; content: counter(step); place-items: center; color: var(--white); background: var(--green); border: 4px solid var(--surface); border-radius: 50%; font-size: .82rem; font-weight: 900; }
.step h3 { margin: 8px 0; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .84rem; }

.faq-list { display: grid; gap: 9px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq-item summary { position: relative; padding: 17px 56px 17px 20px; font-size: .98rem; font-weight: 800; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 50%; right: 24px; color: var(--green); content: "+"; font-size: 1.55rem; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

.contact-callout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 34px;
  padding: clamp(28px, 4vw, 42px);
  color: var(--white);
  background: var(--green);
  border-radius: 32px;
}
.contact-callout h2 { margin-bottom: 18px; }
.contact-callout__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-callout__tel { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.contact-callout__number { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 900; line-height: 1.3; white-space: nowrap; }
.contact-callout__hours { margin-top: 2px; font-size: .84rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.contact-callout--single { grid-template-columns: 1fr; justify-items: center; gap: 0; text-align: center; }
.contact-callout--single .contact-callout__actions { align-items: center; }
.contact-callout--single h2 { margin-bottom: 14px; }
.contact-callout--single p { max-width: 620px; margin: 0 auto 24px; }

.contact-layout { display: grid; grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr); align-items: stretch; gap: 32px; }
.contact-aside { display: grid; min-width: 0; height: 100%; grid-template-rows: auto minmax(180px, 1fr) auto; gap: 18px; }
.contact-aside img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; border-radius: 20px; }
.contact-form-column { display: flex; min-width: 0; flex-direction: column; gap: 14px; }
.contact-form { padding: clamp(26px, 3vw, 34px); background: var(--surface); border-radius: var(--radius); }
.contact-layout .contact-form { width: 100%; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 8px; font-weight: 800; }
.required { color: var(--orange); font-size: .78rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d6d6da;
  border-radius: 10px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); outline: 3px solid rgba(45, 122, 79, .12); }
.form-actions { margin-top: 26px; }
.form-status { min-height: 1.8em; margin: 14px 0 0; font-weight: 700; }
.form-status.is-success { color: var(--green); }
.form-status.is-error { color: var(--orange-dark); }
.contact-quick { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: 12px 20px; padding: 14px 18px; background: var(--green-pale); border-radius: 14px; }
.contact-aside .contact-quick { grid-template-columns: 1fr; align-self: end; gap: 7px; }
.contact-quick strong { color: var(--green-dark); font-size: .82rem; }
.contact-quick p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.contact-quick a { color: var(--green-dark); font-weight: 800; }
.contact-quick span { color: var(--muted); font-size: .74rem; }

.site-footer { padding: 48px 0 22px; background: var(--surface); border-top: 1px solid var(--line); }
.site-footer .logo { padding: 0; background: transparent; border-radius: 0; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 44px; }
.footer-brand p { max-width: 390px; color: var(--muted); }
.footer-links strong { display: block; margin-bottom: 14px; }
.footer-links a { display: block; width: fit-content; margin: 7px 0; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.breadcrumbs { padding: 18px 0; color: var(--muted); font-size: .8rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: 8px; content: "/"; }
.breadcrumbs a { color: var(--green); }

.page-hero { padding: clamp(46px, 6vw, 64px) 0; background: var(--green-pale); }
.page-hero__grid { display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 34px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.page-hero p { color: var(--muted); font-size: 1.08rem; }
.page-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 280px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }

.case-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 16px; }
.case-stage { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.case-stage--after { background: var(--green-pale); border-color: rgba(45, 122, 79, .28); }
.case-stage__label { display: inline-flex; margin-bottom: 16px; padding: 5px 10px; color: var(--green); background: var(--white); border-radius: 999px; font-size: .75rem; font-weight: 900; }
.case-stage--before .case-stage__label { color: var(--orange-dark); background: var(--orange-pale); }
.case-arrow { display: grid; place-items: center; color: var(--orange); font-size: 2rem; font-weight: 900; }
.case-stage p:last-child { margin-bottom: 0; }
.case-profile { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 14px; }
.case-profile h2 { margin: 0; color: var(--muted); font-size: .82rem; font-weight: 700; }
.case-profile p { margin: 0; font-size: .95rem; font-weight: 700; }

.partner-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; list-style: none; }
.partner-list li { position: relative; padding: 16px 18px 16px 46px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.partner-list li::before { position: absolute; top: 16px; left: 18px; color: var(--green); content: "✓"; font-weight: 900; }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: flex; flex-direction: column; overflow: hidden; }
.article-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.article-card__date { color: var(--muted); font-size: .78rem; }
.article-card h2 { margin: 10px 0 14px; font-size: 1.25rem; }
.article-card p { color: var(--muted); font-size: .9rem; }
.article-card a { margin-top: auto; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: 46px; }
.article-body { font-size: 1.03rem; }
.article-body h2 { padding-top: 48px; margin-bottom: 18px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.article-body h3 { padding-top: 28px; margin-bottom: 12px; }
.article-body p { margin-bottom: 24px; }
.article-toc { position: sticky; top: 100px; padding: 22px; background: var(--surface); border-radius: 16px; }
.article-toc strong { display: block; margin-bottom: 12px; }
.article-toc ol { padding-left: 20px; margin: 0; }
.article-toc a { color: var(--muted); font-size: .83rem; text-decoration: none; }
.article-toc a:hover { color: var(--green); }
.article-figure { margin: 28px 0; padding: 20px; background: var(--green-pale); border-radius: 18px; text-align: center; }
.article-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 320px; object-fit: cover; border-radius: 12px; }
.article-cta { margin-top: 48px; padding: 30px; color: var(--white); background: var(--green); border-radius: 22px; }
.article-cta h2 { padding-top: 0; }
.related { margin-top: 54px; padding-top: 32px; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.related-grid a { padding: 18px; background: var(--surface); border-radius: 12px; font-weight: 700; text-decoration: none; }

.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.legal-section { padding-top: 32px; margin-bottom: 52px; }
.legal-section h2 { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.legal-section h3 { margin-top: 32px; }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { width: 28%; color: var(--green-dark); background: var(--green-pale); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 861px) {
  .hero-content { max-width: none; text-align: left; }
  .hero h1, .hero-copy { margin-inline: 0; }
  .hero h1 { max-width: none; width: fit-content; font-size: clamp(2.4rem, 3.8vw, 3.4rem); }
  .hero-grid { grid-template-columns: minmax(0, .58fr) minmax(0, .42fr); grid-template-areas: "head head" "sub sub" "visual cta"; column-gap: clamp(24px, 3vw, 48px); align-items: center; }
  .hero-sub { margin-top: 4px; }
  .hero-cta { display: flex; align-self: center; justify-self: start; flex-direction: column; align-items: center; text-align: center; padding-left: clamp(8px, 2vw, 36px); }
  .hero-cta .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 0; width: min(320px, 100%); }
  .hero-visual { width: 90%; max-width: none; margin: 8px 0 0 auto; }
  .h1-kicker { text-align: left; }
  .hero-copy { max-width: none; width: fit-content; text-align: left; }
  .hero-copy .u-line { display: inline; }
  .contact-callout__actions { flex-direction: row; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 44px); text-align: center; }
  .contact-callout__actions .button { min-height: 72px; padding: 20px 42px; font-size: 1.18rem; }
  .contact-callout__tel { align-items: center; }
  .contact-callout__number { font-size: clamp(1.9rem, 3.6vw, 3rem); }
  .hero-actions { justify-content: flex-start; }
  .section-head { max-width: none; }
  .section-head > p { max-width: 760px; }
}

@media (max-width: 1050px) {
  .global-nav { gap: 13px; }
  .global-nav > a { font-size: .78rem; }
  .problem-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .case-flow { grid-template-columns: 1fr; }
  .case-arrow { transform: rotate(90deg); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .global-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 76px);
    padding: 16px 20px 28px;
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .global-nav.is-open { display: flex; }
  .global-nav > a { padding: 13px 8px; font-size: 1rem; }
  .global-nav > .button { display: inline-flex; margin-top: 8px; }
  .hero { padding-top: 46px; }
  .demo-invite, .contact-layout, .page-hero__grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card__image { height: auto; aspect-ratio: 16 / 5; max-height: 210px; }
  .contact-callout { grid-template-columns: 1fr; }
  .contact-layout { gap: 24px; }
  .contact-aside { height: auto; grid-template-rows: auto auto auto; gap: 24px; }
  .contact-aside img { height: auto; min-height: 0; aspect-ratio: 16 / 7; }
  .contact-aside img { max-height: 210px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; order: -1; }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 24px; }
  h1 { font-size: 2.38rem; }
  h2 { font-size: 1.85rem; }
  .hero { min-height: 0; align-items: start; padding: 20px 0; }
  .hero::before { background: radial-gradient(circle at 90% 12%, rgba(45, 122, 79, .1), transparent 40%); }
  .hero-label { margin-bottom: 10px; padding: 5px 10px; font-size: .68rem; }
  .hero h1 { margin-bottom: 12px; font-size: clamp(1.85rem, 8.8vw, 2.3rem); line-height: 1.12; }
  .hero-tagline { margin-bottom: 10px; font-size: .98rem; }
  .mission { min-height: 0; }
  .mission__content { padding: 38px 0 44px; }
  .mission__content p { font-size: .85rem; line-height: 1.85; }
  .hero-copy { font-size: .82rem; line-height: 1.58; }
  .hero-actions { flex-wrap: nowrap; gap: 8px; margin-top: 16px; }
  .hero-actions .button { flex: 1 1 0; min-height: 44px; padding: 9px 11px; font-size: .76rem; }
  .stats-band { margin-top: 18px; padding-top: 4px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 9px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { padding-right: 0; border-bottom: 0; }
  .stat__value { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 1px; font-size: 1.02rem; line-height: 1.5; }
  .stat__value strong { font-size: 1.5em; }
  .stat__nums { text-align: right; }
  .stat__label { font-size: .66rem; line-height: 1.5; }
  .hero-copy--full { display: none; }
  .hero-copy--short { display: block; }
  .hero-visual { width: 82%; margin: 10px 0 2px auto; }
  .stats-note { margin-top: 7px; font-size: .62rem; }
  .problem-grid, .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partner-list, .articles-grid, .related-grid { grid-template-columns: 1fr; }
  .problem-card { display: block; padding: 16px; }
  .problem-card__icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .problem-card__icon svg { width: 29px; height: 29px; }
  .problem-card h3 { font-size: .85rem; line-height: 1.6; }
  .problem-closing { margin-top: 22px; padding: 16px; font-size: .9rem; text-align: left; }
  .service-stack { gap: 14px; }
  .service-card__image { aspect-ratio: 16 / 6; max-height: 150px; }
  .service-card__body { padding: 20px; }
  .service-card__body > p, .service-note { display: none; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .chip { min-height: 38px; padding: 5px 8px; font-size: .7rem; }
  .industries { margin-top: 24px; padding: 20px; }
  .industry-primary span { padding: 7px 10px; font-size: .76rem; }
  .industry-secondary span { padding: 6px 9px; font-size: .72rem; }
  .work-card__body { padding: 14px; }
  .work-card__body h3 { font-size: .79rem; line-height: 1.6; }
  .work-card__body p { font-size: .74rem; line-height: 1.65; }
  .work-card__result strong { font-size: .96rem; }
  .work-card__body .text-link { font-size: .76rem; }
  .demo-invite { gap: 24px; }
  .demo-invite__visual { padding: 14px; }
  .mission { min-height: 0; background-image: url("../images/mission_town.webp"); }
  .mission video { display: none; }
  .mission__content { padding: 32px 0; }
  .mission p:last-child { font-size: .82rem; line-height: 1.78; }
  .reasons-grid { grid-template-columns: 1fr; gap: 12px; }
  .reason-card { padding: 20px; }
  .reason-card--main { transform: none; }
  .reason-card__art { height: 66px; margin-bottom: 10px; }
  .reason-card__art svg { height: 66px; }
  .reason-card p { display: block; }
  .steps { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .step { padding: 0 0 20px 44px; border-top: 0; border-left: 2px solid var(--green); }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 0; left: -18px; }
  .step h3 { margin-top: 0; }
  .faq-item summary { padding: 15px 48px 15px 16px; font-size: .9rem; }
  .faq-item summary::after { right: 17px; }
  .contact-callout { padding: 26px 22px; border-radius: 22px; }
  .contact-callout__actions .button { width: 100%; }
  .contact-callout__number { font-size: 1.14rem; }
  .contact-layout { gap: 24px; }
  .contact-aside img { aspect-ratio: 16 / 7; max-height: 150px; }
  .contact-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .form-field input, .form-field select, .form-field textarea { padding: 12px; }
  .contact-quick { grid-template-columns: 1fr; gap: 7px; padding: 14px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 2.15rem; }
  .page-hero img { aspect-ratio: 16 / 7; max-height: 160px; border-radius: 18px; }
  .case-stage { padding: 20px; }
  .case-profile { padding: 18px; }
  .article-figure { padding: 14px; }
  .article-figure img { max-height: 220px; }
  .article-cta { padding: 24px 20px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; }
  .legal-table td { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .mission video { display: none; }
}

/* 看板の帯（全ページ最上部・1行・スクロールで流れる） */
.tagline-bar{background:var(--green-pale);border-bottom:1px solid var(--line);color:var(--green-dark);text-align:center;font-size:12px;line-height:1;padding:8px 12px;font-weight:600;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.tagline-bar{font-size:11px}.tagline-bar .tagline-sub{display:none}}
