:root {
  --color-primary: #007b3d;
  --color-primary-dark: #004d2b;
  --color-accent: #9bd400;
  --color-mint: #55d6a5;
  --color-bg: #f8fbf8;
  --color-text: #15231b;
  --color-muted: #5f6f66;
  --color-border: #dceadf;
  --color-white: #ffffff;
  --gradient-brand: linear-gradient(135deg, #b7e000 0%, #008f4c 55%, #3fcf9c 100%);
  --shadow-soft: 0 18px 48px rgba(0, 77, 43, 0.10);
  --shadow-card: 0 12px 30px rgba(0, 77, 43, 0.08);
  --radius-lg: 30px;
  --radius-md: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16.5px;
  line-height: 1.78;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; object-fit: contain; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.90);
  border-bottom: 1px solid rgba(220, 234, 223, 0.9);
  box-shadow: 0 8px 26px rgba(0, 77, 43, 0.06);
  backdrop-filter: blur(16px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; }
.brand-logo { width: 54px; height: 54px; border-radius: 16px; filter: drop-shadow(0 8px 14px rgba(0, 123, 61, .14)); }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { color: var(--color-primary-dark); letter-spacing: .02em; }
.brand-text small { color: var(--color-muted); font-size: 12.5px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 8px; color: var(--color-muted); font-size: 14.5px; font-weight: 800; }
.nav-links a { border-radius: 999px; padding: 10px 13px; transition: color .2s ease, background .2s ease, transform .2s ease; }
.nav-links a:hover { color: var(--color-primary-dark); background: #eef9ef; transform: translateY(-1px); }
.nav-contact { background: var(--gradient-brand); color: #fff !important; box-shadow: 0 10px 24px rgba(0, 143, 76, 0.22); }
.menu-toggle { display: none; min-height: 44px; border: 1px solid var(--color-border); border-radius: 14px; background: #fff; color: var(--color-primary-dark); padding: 10px 14px; font-weight: 900; }

.hero { position: relative; isolation: isolate; padding: clamp(46px, 5.2vw, 64px) 0 clamp(42px, 4.6vw, 56px); background: linear-gradient(180deg, #fff 0%, #f7fff8 100%); }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background: var(--gradient-brand); opacity: .72; }
.hero::before { width: min(52vw, 720px); height: min(52vw, 720px); right: -180px; top: -300px; border-radius: 42% 0 55% 48%; filter: blur(.2px); animation: floatShape 9s ease-in-out infinite; }
.hero::after { width: min(58vw, 860px); height: 280px; left: -210px; bottom: -130px; border-radius: 0 95% 45% 0; opacity: .38; animation: floatShape 12s ease-in-out infinite reverse; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 42px); align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--color-primary); font-size: 14.5px; font-weight: 900; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy .eyebrow { font-size: clamp(1.02rem, 1.35vw, 1.22rem); font-weight: 700; letter-spacing: .08em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0 0 22px; font-size: clamp(3rem, 5vw, 5.2rem); line-height: 1.14; letter-spacing: -.04em; color: #07170f; }
.hero-copy h1 { font-size: clamp(2rem, 3.1vw, 3.05rem); line-height: 1.22; letter-spacing: -.04em; }
h2 { margin: 0 0 16px; font-size: clamp(27px, 3.25vw, 38px); line-height: 1.36; letter-spacing: -.03em; color: var(--color-primary-dark); }
h3 { margin: 0 0 12px; font-size: clamp(18px, 1.65vw, 20.5px); line-height: 1.5; color: var(--color-primary-dark); }
p { margin: 0; color: var(--color-muted); }
.lead { max-width: 650px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.82; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15.5px; font-weight: 900; line-height: 1.25; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 77, 43, 0.16); }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 14px 28px rgba(0, 143, 76, 0.22); }
.btn-secondary { background: #fff; border-color: var(--color-border); color: var(--color-primary-dark); }
.btn-light { background: #fff; color: var(--color-primary-dark); }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid rgba(85, 214, 165, .65); outline-offset: 3px; }

.inspection-ui { position: relative; width: 100%; max-width: 660px; justify-self: end; padding: 18px; border: 1px solid rgba(220, 234, 223, .95); border-radius: var(--radius-lg); background: rgba(255,255,255,.92); box-shadow: var(--shadow-soft); }
.inspection-ui::before { content: ""; position: absolute; inset: -18px -10px auto auto; width: 130px; height: 130px; border-radius: 999px; background: var(--gradient-brand); opacity: .18; }
.ui-topbar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--color-primary-dark); font-size: 13.5px; line-height: 1.4; }
.ui-topbar span { width: 11px; height: 11px; border-radius: 50%; background: var(--color-border); }
.ui-topbar span:first-child { background: #80d43b; }
.ui-topbar strong { margin-left: auto; letter-spacing: .08em; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-tags li { position: relative; padding: 8px 16px 8px 40px; border: 1px solid var(--color-border); border-radius: 999px; background: rgba(255,255,255,.84); color: var(--color-primary-dark); font-weight: 900; line-height: 1.35; box-shadow: 0 8px 20px rgba(0, 77, 43, .05); }
.hero-tags li::before { content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid #2f8a45; border-radius: 50%; color: #2f8a45; font-size: 12px; line-height: 1; }
.hero-flow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 22px; }
.hero-flow-step { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; min-width: 0; }
.hero-flow-step:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -18px; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 12px solid rgba(0, 123, 61, .25); }
.hero-flow-step .flow-label { margin: 0; color: var(--color-primary-dark); font-size: 13px; }
.hero-flow-step .flow-icon { width: 52px; height: 52px; border-radius: 18px; background: var(--gradient-brand); border: 0; color: #fff; box-shadow: 0 12px 24px rgba(0, 143, 76, .18); }
.hero-flow-step .flow-icon::before, .hero-flow-step .flow-icon::after { border-color: currentColor; }
.hero-flow-step .icon-ai::before { content: "AI"; position: static; border: 0; color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .04em; }
.hero-flow-step .icon-ai::after { width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 50%; opacity: .42; }
.hero-flow-step .icon-result::before { width: 28px; height: 20px; border: 2px solid currentColor; border-radius: 5px; }
.hero-flow-step .icon-result::after { width: 14px; height: 8px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); }
.hero-flow-image { width: 100%; margin: 0; overflow: hidden; border: 1px solid #cfead5; border-radius: 14px; background: #f7fbf7; }
.hero-flow-image img { width: 100%; height: clamp(96px, 9vw, 128px); object-fit: cover; object-position: center; filter: saturate(.92) contrast(.96); }
.hero-result-panel { display: grid; align-content: center; gap: 14px; width: 100%; min-height: clamp(96px, 9vw, 128px); padding: 16px; border: 1px solid #8cc99d; border-radius: 14px; background: #fbfffc; text-align: left; }
.hero-result-panel div { display: grid; grid-template-columns: 18px auto 1fr; align-items: center; gap: 10px; }
.hero-result-panel strong { color: var(--color-primary); font-size: 18px; line-height: 1; }
.hero-result-panel small { color: var(--color-muted); font-size: 12.5px; font-weight: 900; }
.status-dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; }
.ok-dot { background: #11975a; }
.ng-dot { background: #c73b35; }
.hero-flow-note { margin-top: 16px; color: var(--color-muted); font-size: 14px; font-weight: 800; text-align: center; }

.camera-frame { position: relative; min-height: 300px; overflow: hidden; border-radius: 24px; border: 1px solid #bfe8ca; background: radial-gradient(circle at 52% 48%, #e7f8e5 0 14%, transparent 15%), linear-gradient(135deg, #f5fff7, #eafbf6); }
.inspection-ui-photo { overflow: hidden; background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 248, 239, .92)); }
.hero-inspection-photo { margin: 0; overflow: hidden; padding: clamp(14px, 2vw, 24px); border-radius: 24px; border: 1px solid #bfe8ca; background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 248, 239, .92)); }
.hero-inspection-photo img { width: auto; max-width: min(100%, 360px); max-height: 360px; margin: 0 auto; object-fit: contain; object-position: center top; opacity: .9; filter: saturate(.9) contrast(.96); }
.hero-inspection-photo figcaption { padding: 14px 16px; color: var(--color-primary-dark); font-weight: 900; text-align: center; }
.target-object { position: absolute; left: 50%; top: 52%; width: 150px; height: 92px; transform: translate(-50%, -50%); border-radius: 45% 55% 48% 52%; background: linear-gradient(135deg, #c4e957, #3fcf9c); box-shadow: inset -18px -16px 30px rgba(0,77,43,.12); }
.detect-box { position: absolute; left: 50%; top: 52%; width: 230px; height: 150px; transform: translate(-50%, -50%); border: 3px solid #00a85a; border-radius: 18px; }
.detect-box span, .analysis-label { position: absolute; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--color-primary-dark); font-size: 12.5px; font-weight: 900; box-shadow: var(--shadow-card); }
.detect-box span { left: 12px; top: -18px; }
.analysis-label { right: 18px; bottom: 18px; }
.scan-line { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 46%, rgba(85,214,165,.36) 49%, transparent 52%); animation: scan 2.8s ease-in-out infinite; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.result-grid div { padding: 14px; border: 1px solid var(--color-border); border-radius: 16px; background: #fbfffc; }
.result-grid small { display: block; color: var(--color-muted); font-size: 13.5px; font-weight: 800; line-height: 1.35; }
.result-grid strong { font-size: 20px; }
.ok { color: #008f4c; } .ng { color: #b45309; }
.flow-mini { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; color: var(--color-primary-dark); font-size: 13.5px; font-weight: 900; }
.flow-mini i { width: 26px; height: 2px; background: var(--color-accent); }

section { padding: 70px 0; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card, .feature-card, .app-visual { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-card); }
.service-card { display: flex; flex-direction: column; padding: 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #aedfbb; box-shadow: 0 22px 44px rgba(0, 77, 43, 0.12); }
.service-card:nth-child(5) { grid-column: 1 / -1; }
.service-card p + p { margin-top: 10px; }
.service-link { width: fit-content; margin-top: auto; padding-inline: 18px; }
.icon { position: relative; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 18px; background: var(--gradient-brand); box-shadow: 0 12px 24px rgba(0, 143, 76, .18); }
.icon::before, .icon::after { content: ""; position: absolute; border: 3px solid #fff; }
.icon-camera::before { width: 30px; height: 20px; left: 13px; top: 20px; border-radius: 5px; } .icon-camera::after { width: 10px; height: 10px; left: 24px; top: 25px; border-radius: 50%; }
.icon-crop::before { width: 28px; height: 36px; left: 14px; top: 10px; border-radius: 60% 0 60% 0; transform: rotate(-35deg); } .icon-crop::after { width: 3px; height: 30px; left: 29px; top: 20px; border-width: 0 0 0 3px; }
.icon-workflow::before { width: 33px; height: 22px; left: 12px; top: 13px; border-radius: 4px; } .icon-workflow::after { width: 28px; height: 10px; left: 15px; bottom: 10px; border-width: 0 0 3px 3px; transform: skewX(-18deg); }
.icon-web::before { inset: 12px; border-radius: 50%; } .icon-web::after { width: 34px; height: 0; top: 28px; left: 12px; border-width: 3px 0 0; }

.split { display: grid; grid-template-columns: .96fr 1.04fr; gap: 36px; align-items: center; }
.inspection-section { background: linear-gradient(180deg, #f8fbf8, #fff); }
.steps { display: grid; gap: 14px; margin-top: 26px; }
.steps div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--color-border); border-radius: 18px; background: #fff; }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-weight: 900; }
.steps p { color: var(--color-text); font-weight: 800; }
.inspection-flow-card { position: relative; display: grid; gap: 14px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: linear-gradient(135deg, #fff, #effdf5); box-shadow: var(--shadow-soft); overflow: hidden; }
.inspection-flow-card::before { content: ""; position: absolute; inset: 24px auto 24px 54px; width: 2px; background: linear-gradient(180deg, rgba(0, 123, 61, .08), rgba(0, 143, 76, .32), rgba(0, 123, 61, .08)); }
.flow-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 16px; border: 1px solid #d7eadb; border-radius: 20px; background: rgba(255, 255, 255, .88); box-shadow: 0 10px 24px rgba(0, 77, 43, .06); }
.flow-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #eef9ef; border: 1px solid #cfead5; color: var(--color-primary); }
.flow-icon::before, .flow-icon::after { content: ""; position: absolute; }
.flow-step-camera .flow-icon::before { width: 27px; height: 18px; border: 2px solid currentColor; border-radius: 5px; }
.flow-step-camera .flow-icon::after { width: 9px; height: 9px; border: 2px solid currentColor; border-radius: 50%; }
.flow-step-analysis .flow-icon::before { width: 28px; height: 24px; border: 2px solid currentColor; border-radius: 7px; background: linear-gradient(90deg, transparent 45%, rgba(0, 123, 61, .14) 45% 55%, transparent 55%); }
.flow-step-analysis .flow-icon::after { width: 16px; height: 12px; right: 9px; bottom: 10px; border: 2px solid #55d6a5; border-radius: 5px; }
.flow-step-result .flow-icon::before { width: 28px; height: 20px; border: 2px solid currentColor; border-radius: 5px; }
.flow-step-result .flow-icon::after { width: 15px; height: 8px; border-left: 3px solid #008f4c; border-bottom: 3px solid #008f4c; transform: rotate(-45deg); }
.flow-label { margin-bottom: 2px; color: var(--color-primary); font-size: 12px; font-weight: 900; letter-spacing: .12em; line-height: 1.35; }
.flow-step h3 { margin-bottom: 2px; font-size: 18px; line-height: 1.35; }
.flow-step p:not(.flow-label) { font-size: 14.5px; line-height: 1.6; }
.result-panel { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 9px 12px; border: 1px solid #cfead5; border-radius: 14px; background: #fbfffc; box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
.result-panel strong { color: #008f4c; font-size: 22px; line-height: 1; }
.result-panel span { color: var(--color-primary-dark); font-size: 13.5px; font-weight: 900; }
.inspection-result-card { display: grid; grid-template-columns: minmax(180px, .85fr) minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.inspection-result-image { overflow: hidden; border-radius: 20px; border: 1px solid #cfead5; background: #f7fbf7; }
.inspection-result-image img { width: 100%; max-height: 300px; object-fit: cover; object-position: center top; filter: saturate(.92) contrast(.96); }
.inspection-result-body h3 { font-size: clamp(19px, 2vw, 24px); }
.compact-result-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.compact-result-list span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #d7eadb; border-radius: 999px; background: #fbfffc; color: var(--color-primary-dark); font-size: 13.5px; font-weight: 900; }
.compact-result-list .status-dot { width: 13px; height: 13px; }
.inspection-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.inspection-photo-card { overflow: hidden; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.inspection-photo-card:hover { transform: translateY(-4px); border-color: #aedfbb; box-shadow: 0 20px 40px rgba(0, 77, 43, 0.11); }
.inspection-photo { display: flex; align-items: center; justify-content: center; padding: 8px; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 248, 239, .92)); }
.inspection-photo img { width: auto; max-width: 100%; max-height: 360px; object-fit: contain; object-position: center top; border-radius: 12px; opacity: .9; filter: saturate(.9) contrast(.96); }
.inspection-photo-body { padding: 18px; }
.inspection-photo-body h3 { font-size: clamp(18px, 1.55vw, 20px); line-height: 1.5; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-card { padding: 24px; }
.works-section { background: linear-gradient(180deg, #f8fbf8, #fff); }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.work-card { display: flex; flex-direction: column; overflow: hidden; min-height: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.work-card:hover { transform: translateY(-5px); border-color: #aedfbb; background: #fdfffd; box-shadow: 0 22px 44px rgba(0, 77, 43, 0.12); }
.work-card:focus-within { border-color: #8bd4a0; box-shadow: 0 0 0 4px rgba(85, 214, 165, .18), var(--shadow-card); }
.work-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; padding: 12px; background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 248, 239, .92)); }
.work-thumb > a { display: block; width: 100%; height: 100%; }
.work-thumb img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; object-position: center top; filter: saturate(.95) contrast(.98); }
.work-thumb-contain img { object-fit: contain; object-position: center; }
.work-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.work-category { width: fit-content; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: #eef9ef; color: var(--color-primary-dark); font-size: 13px; font-weight: 900; line-height: 1.35; }
.work-body h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 20px 0 0; list-style: none; }
.tag-list li { padding: 6px 10px; border-radius: 999px; background: #f2faf3; color: var(--color-primary-dark); border: 1px solid #d7eadb; font-size: 12.5px; font-weight: 900; line-height: 1.25; }
.work-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--color-border); color: var(--color-primary-dark); font-size: 14px; font-weight: 900; }
.work-link::after { content: "↗"; font-size: 13px; }
.work-link:hover { color: var(--color-primary); }
.consultation-section { background: linear-gradient(180deg, #fff, #f8fbf8); }
.consultation-box { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); }
.consultation-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.consultation-list li { position: relative; min-height: 64px; padding: 16px 16px 16px 50px; border: 1px solid var(--color-border); border-radius: 18px; background: #fbfffc; color: var(--color-text); font-weight: 800; line-height: 1.55; }
.consultation-list li::before { content: "✓"; position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-size: 14px; font-weight: 900; }
.app-section { background: #fff; }
.app-visual { padding: 24px; text-align: center; }
.regi-icon { width: 112px; margin: 0 auto 18px; border-radius: 24px; box-shadow: var(--shadow-card); }
.app-screen { width: min(100%, 520px); margin: 0 auto; border: 1px solid var(--color-border); border-radius: 22px; box-shadow: var(--shadow-card); }
.youtube-section { background: linear-gradient(180deg, #fff, #f8fbf8); }
.youtube-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); }
.youtube-box h2 { font-size: clamp(22px, 2.65vw, 30px); }
.youtube-box p:not(.eyebrow) { max-width: 720px; }
.btn-youtube { background: #fff; border-color: #e5d8d8; color: var(--color-primary-dark); }
.btn-youtube:hover { background: #fffafa; border-color: #e2c8c8; }
.contact-box { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 54px); border-radius: var(--radius-lg); background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-soft); }
.contact-box::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.18); }
.contact-box .eyebrow, .contact-box p { color: rgba(255,255,255,.88); }
.contact-box h2 { color: #fff; }
.mail-link { color: #fff; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.site-footer { padding: 42px 0; background: var(--color-primary-dark); color: #dff6e5; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 900; }
.footer-brand img { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.12); }
.footer-services { margin: 0; padding-left: 1.2em; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: #fff; }

.section-observe { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.section-observe.is-visible { opacity: 1; transform: translateY(0); }
@keyframes scan { 0%,100% { transform: translateY(-36%); } 50% { transform: translateY(36%); } }
@keyframes floatShape { 0%,100% { transform: translate3d(0,0,0) rotate(0deg); } 50% { transform: translate3d(0,18px,0) rotate(2deg); } }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .inspection-ui-photo { display: none; }
}
@media (max-width: 980px) { .service-grid, .inspection-photo-grid, .works-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .nav { min-height: 70px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 76px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--color-border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 46px; display: flex; align-items: center; padding: 12px 14px; }
  .hero { padding: 58px 0 54px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .youtube-box { align-items: flex-start; flex-direction: column; }
  .inspection-ui { order: 2; justify-self: stretch; max-width: none; }
  .hero-flow-steps { gap: 14px; }
  .inspection-result-card { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(1.95rem, 8.7vw, 2.8rem); line-height: 1.18; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 16px; line-height: 1.76; }
  .container { width: min(calc(100% - 24px), var(--max)); }
  .brand-logo { width: 48px; height: 48px; }
  .brand-text strong { font-size: 15px; }
  .service-grid, .inspection-photo-grid, .works-grid, .consultation-list, .feature-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(5) { grid-column: auto; }
  section { padding: 54px 0; }
  .actions .btn, .service-link, .work-link { width: 100%; }
  .inspection-ui, .service-card, .feature-card, .app-visual { border-radius: 22px; padding: 20px; }
  .work-card { border-radius: 22px; }
  .work-body { padding: 20px; }
  .work-thumb { aspect-ratio: 16 / 9; padding: 10px; }
  .hero-copy h1 { font-size: clamp(1.85rem, 8.4vw, 2.6rem); line-height: 1.18; letter-spacing: -.045em; }
  .camera-frame { min-height: 248px; }
  .hero-inspection-photo { padding: 16px; }
  .hero-inspection-photo img { max-width: min(100%, 360px); max-height: 360px; }
  .detect-box { width: 190px; height: 130px; }
  .result-grid { grid-template-columns: 1fr; }
  .hero-tags { gap: 10px; }
  .hero-tags li { width: 100%; }
  .hero-flow-steps { grid-template-columns: 1fr; }
  .hero-flow-step:not(:last-child)::after { top: auto; right: auto; bottom: -17px; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .hero-flow-image img, .hero-result-panel { height: auto; min-height: 132px; }
  .flow-mini { flex-wrap: wrap; }
  .inspection-flow-card { padding: 18px; }
  .inspection-flow-card::before { left: 42px; }
  .flow-step { grid-template-columns: 50px 1fr; gap: 12px; padding: 14px; }
  .flow-icon { width: 42px; height: 42px; border-radius: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .section-observe { opacity: 1; transform: none; }
}
