@charset "UTF-8";

:root {
  --ink: #24390A;
  --muted: #59634F;
  --green: #96C21F;
  --green-dark: #456A13;
  --forest: #354F10;
  --paper: #F2F8E5;
  --line: #DCE6CC;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Manrope", var(--font);
  --gutter: clamp(1.25rem, 6.25vw, 6rem);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: #FFF; font-family: var(--font); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; line-break: strict; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 5px; }
.hero :focus-visible, .story-section :focus-visible, .site-footer :focus-visible { outline-color: #FFF; }
.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 96px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: 12px; left: -9999px; z-index: 100; padding: 10px 18px; background: #FFF; }
.skip-link:focus { left: 12px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 28px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: .015em; }
.brand-tag { font: 500 10px/1.5 var(--font-en); letter-spacing: .13em; color: var(--muted); }
.global-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.global-nav a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 13px; font-weight: 500; transition: color .2s; }
.global-nav a:hover, .global-nav a[aria-current="page"] { color: var(--green-dark); }
.global-nav .nav-contact { padding: 9px 22px; color: #FFF; background: var(--green-dark); border-radius: 2px; }
.global-nav .nav-contact:hover { color: #FFF; background: var(--forest); }
.nav-contact span { font-size: 18px; }
.nav-toggle { display: none; }

/* Shared elements */
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 28px; }
.section-label { font: 500 14px/1.5 var(--font-en); letter-spacing: .03em; color: var(--green-dark); }
.section-caption { color: var(--muted); font-size: 12px; }
.section-title { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.55; letter-spacing: .015em; }
.section-title span { display: block; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 500; line-height: 1.5; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--green-dark); color: #FFF; }
.button-dark:hover { background: var(--forest); }
.button span { font-size: 20px; line-height: 1; }
.arrow-link { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; font-size: 13px; font-weight: 500; }
.round-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font: 400 24px/1 var(--font-en); transition: background .2s, border-color .2s; }
.arrow-link:hover .round-arrow { background: var(--paper); border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 13px; font-weight: 500; }
.text-link:hover { text-decoration: underline; }
.line-icon { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Home */
.hero { color: #FFF; background: radial-gradient(ellipse at 100% 80%, #96C21F 0%, transparent 60%), linear-gradient(115deg, #456A13 18%, #668B17 100%); }
.hero-grid { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: clamp(480px,45.3vw,620px); padding-top: 72px; padding-bottom: 116px; }
.hero-copy { max-width: 1080px; }
.hero-eyebrow { margin-bottom: 48px; font-size: 13px; font-weight: 400; letter-spacing: .04em; }
.hero-name-en { margin-bottom: 14px; font: 500 20px/1.5 var(--font-en); letter-spacing: .12em; }
.hero-title { font-size: clamp(32px, 4.2vw, 58px); font-weight: 600; line-height: 1.5; letter-spacing: .005em; white-space: nowrap; }
.hero-message { display: flex; flex-wrap: wrap; gap: 0 .35em; margin-top: 30px; font-size: 21px; font-weight: 400; line-height: 1.8; letter-spacing: .04em; }
.hero-message span { display: inline-block; }
.hero-link { position: absolute; bottom: 30px; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.35); font-size: 13px; }
.hero-link-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); background: #FFF; font: 400 22px/1 var(--font-en); transition: transform .2s; }
.hero-link:hover .hero-link-arrow { transform: translateY(4px); }

/* Product details */
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.product-tags li { padding: 4px 12px; font-size: 11px; line-height: 1.8; border: 1px solid var(--line); border-radius: 99px; }

/* Business */
.fields-section { padding-block: 96px; }
.fields-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); align-items: center; gap: 64px; margin-top: 18px; margin-bottom: 56px; }
.fields-intro > p { font-size: 16px; line-height: 2; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--green-dark); }
.field { padding: 34px 32px 8px; }
.field:first-child { padding-left: 0; }
.field:last-child { padding-right: 0; }
.field + .field { border-left: 1px solid var(--line); }
.field-en { margin-bottom: 12px; font: 400 13px/1.5 var(--font-en); color: var(--green-dark); }
.field h3 { margin-bottom: 24px; font-size: 27px; line-height: 1.5; letter-spacing: .015em; }
.field > p:not(.field-en) { font-size: 15px; line-height: 2; color: var(--muted); }
.field .text-link { margin-top: 20px; }

/* Company */
.company-section { background: var(--paper); }
.company-section { padding-block: 80px; }
.company-grid { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); align-items: center; gap: clamp(40px,7vw,96px); }
.company-image img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.company-image figcaption { font-size: 10px; color: var(--muted); margin-top: 10px; }
.company-copy .section-label { margin-bottom: 24px; }
.company-copy .section-title { font-size: clamp(26px,2.8vw,36px); }
.company-location { margin: 12px 0 26px; color: var(--muted); font-size: 12px; }
.company-copy > p:not(.section-label):not(.company-location) { font-size: 16px; line-height: 2; color: var(--muted); }
.company-copy .arrow-link { margin-top: 26px; }

/* Contact and footer */
.contact-section { padding-block: 72px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 64px; }
.contact-grid .section-label { margin-bottom: 20px; }
.contact-grid h2 { font-size: clamp(24px,2.5vw,34px); letter-spacing: .005em; line-height: 1.65; }
.contact-grid h2 span { display: block; }
.contact-grid p:not(.section-label) { max-width: 660px; margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 2; }
.contact-link { background: var(--green-dark); color: #FFF; min-height: 56px; }
.contact-link:hover { background: var(--forest); }
.site-footer { padding-top: 64px; background: var(--forest); color: #FFF; }
.footer-main { display: flex; justify-content: space-between; gap: 48px; }
.footer-brand { display: inline-block; margin-bottom: 10px; font-size: clamp(20px,2vw,28px); font-weight: 500; line-height: 1.5; letter-spacing: .015em; }
.footer-main p { font-size: 13px; }
.footer-main p[lang="en"] { font: 400 12px/1.5 var(--font-en); letter-spacing: .12em; color: #D5E0C5; }
.footer-main .footer-address { margin-top: 22px; font-size: 11px; line-height: 2.2; color: #D5E0C5; }
.footer-main nav ul { display: grid; grid-template-columns: repeat(2,max-content); gap: 12px 48px; font-size: 12px; }
.footer-main nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 52px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.25); color: #D5E0C5; font-size: 10px; }
.footer-bottom small { font-size: 10px; }

/* App page */
.breadcrumb { padding-block: 28px; color: var(--muted); font-size: 11px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 12px; }
.breadcrumb li + li::before { content: "›"; margin-right: 12px; }
.breadcrumb a:hover { text-decoration: underline; }
.app-hero { padding-top: 8px; padding-bottom: 48px; background: var(--paper); }
.app-hero-copy { max-width: 840px; padding-block: 32px; }
.app-heading-icon { width: 72px; height: 72px; border-radius: 17px; margin-bottom: 24px; overflow: hidden; }
.app-hero-copy .section-label { color: var(--muted); margin-bottom: 12px; }
.app-title { font-size: clamp(28px,3.8vw,52px); line-height: 1.5; letter-spacing: -.045em; }
.app-lead { font-size: 14px; line-height: 2.05; margin-top: 24px; color: var(--muted); }
.app-hero-copy .product-tags { margin-top: 22px; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.app-subnav { display: flex; flex-wrap: wrap; gap: 40px; border-block: 1px solid var(--line); padding-top: 16px; padding-bottom: 16px; }
.app-subnav ul { display: flex; flex-wrap: wrap; gap: inherit; }
.app-subnav a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 12px; }
.section > .container > .section-label { margin-bottom: 18px; }
.app-subnav a:hover { text-decoration: underline; }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 64px; margin-top: 40px; }
.feature-card { padding-top: 28px; border-top: 1px solid var(--line); }
.feature-card .line-icon { margin-bottom: 22px; color: #55753C; }
.feature-card h3 { font-size: 22px; line-height: 1.6; margin-bottom: 14px; letter-spacing: -.025em; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 2; }
.story-section { background: var(--forest); color: #FFF; }
.story-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 96px; }
.story-grid .section-label { margin-bottom: 24px; color: #CDDABD; }
.story-copy { font-size: 14px; line-height: 2.1; color: #E0E6DD; }
.story-copy p + p { margin-top: 24px; }
.requirements-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 96px; }
.requirements-grid .section-label { margin-bottom: 24px; }
.requirements-grid .section-title { font-size: clamp(26px,3vw,40px); }
.requirements-grid p:not(.section-label):not(.note) { margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 2.1; }
.spec-list { border-top: 1px solid var(--line); }
.spec-list > div { padding-block: 20px; border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.spec-list dd { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 5px 16px; font-size: 14px; }
.spec-size { font: 500 25px/1.5 var(--font-en); letter-spacing: -.035em; }
.spec-note { grid-column: 1/-1; font-size: 11px; color: var(--muted); }
.note { margin-top: 18px; font-size: 11px; line-height: 2; color: var(--muted); }
.usage-note { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.usage-note h3 { font-size: 18px; line-height: 1.7; margin-bottom: 16px; }
.usage-note p { font-size: 12px; line-height: 2.1; color: var(--muted); }
.usage-note p + p { margin-top: 14px; }
.usage-note a { text-decoration: underline; }

@media (max-width: 1199px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: #FFF; font-size: 11px; cursor: pointer; }
  .menu-lines { position: relative; width: 16px; height: 8px; border-block: 1px solid var(--ink); }
  .global-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #FFF; border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px; }
  .global-nav.is-open { display: block; }
  .global-nav ul { display: block; }
  .global-nav a { display: flex; padding-block: 14px; }
  .global-nav .nav-contact { display: inline-flex; padding-inline: 22px; margin-top: 8px; }
  .fields-intro { gap: 40px; }
  .field-grid { display: block; }
  .field, .field:first-child, .field:last-child { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 0 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
  .field + .field { border-left: 0; }
  .field-en { grid-column: 1; grid-row: 1; }
  .field h3 { grid-column: 1; grid-row: 2; align-self: start; margin-bottom: 0; font-size: 25px; }
  .field > p:not(.field-en) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .field .text-link { grid-column: 2; justify-self: start; }
  .company-grid { gap: 40px; }
  .contact-grid { gap: 40px; }
  .app-hero-copy { max-width: 720px; }
  .story-grid, .requirements-grid { gap: 40px; }
}

@media (max-width: 639px) {
  .section { padding-block: 64px; }
  .header-inner { gap: 16px; }
  .brand { gap: 8px; }
  .brand img { width: 22px; }
  .brand-name { font-size: clamp(12px,3.5vw,16px); letter-spacing: 0; }
  .brand-tag { font-size: 9px; letter-spacing: .1em; }
  .nav-toggle { gap: 8px; padding-inline: 10px; }
  .hero-grid { min-height: 464px; padding-top: 48px; padding-bottom: 112px; }
  .hero-title { font-size: clamp(24px,7.3vw,32px); letter-spacing: 0; }
  .hero-name-en { margin-bottom: 16px; font-size: 15px; letter-spacing: .1em; }
  .hero-eyebrow { margin-bottom: 44px; font-size: 11px; }
  .hero-message { display: block; margin-top: 24px; font-size: 17px; line-height: 1.9; letter-spacing: .025em; }
  .hero-message span { display: block; }
  .hero-link { bottom: 24px; padding-top: 14px; font-size: 12px; }
  .section-heading { margin-bottom: 20px; }
  .section-label { font-size: 14px; }
  .section-caption { font-size: 10px; }
  .product-tags { gap: 7px; }
  .product-tags li { font-size: 10px; padding-inline: 9px; }
  .fields-section { padding-block: 64px; }
  .fields-intro { grid-template-columns: 1fr; gap: 24px; margin-top: 14px; margin-bottom: 36px; }
  .fields-intro > p { font-size: 15px; }
  .field-grid { display: block; }
  .field, .field:first-child, .field:last-child { display: block; padding: 28px 0; }
  .field + .field { border-left: 0; }
  .field-en { margin-bottom: 8px; font-size: 12px; }
  .field h3 { margin-bottom: 18px; font-size: 24px; }
  .field > p:not(.field-en) { font-size: 15px; }
  .field .text-link { margin-top: 14px; }
  .company-grid { grid-template-columns: 1fr; gap: 36px; }
  .company-copy .section-label { margin-bottom: 18px; }
  .company-copy > p:not(.section-label):not(.company-location) { font-size: 15px; }
  .company-location { margin-bottom: 20px; }
  .contact-section { padding-block: 64px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid h2 { font-size: clamp(21px,5.7vw,30px); }
  .contact-link { justify-self: start; }
  .site-footer { padding-top: 44px; }
  .footer-main { flex-direction: column; gap: 32px; }
  .footer-main nav ul { gap: 6px 32px; }
  .footer-bottom { align-items: flex-start; gap: 16px; margin-top: 32px; font-size: 9px; }
  .footer-bottom small { font-size: 9px; }
  .breadcrumb { padding-block: 20px; font-size: 10px; }
  .app-hero { padding-bottom: 32px; }
  .app-heading-icon { width: 58px; height: 58px; border-radius: 13px; }
  .app-hero-copy { padding-top: 12px; }
  .app-title { font-size: 30px; }
  .app-lead { font-size: 13px; margin-top: 18px; }
  .app-subnav { gap: 12px 24px; padding-block: 10px; }
  .app-subnav a { font-size: 11px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .feature-card h3 { font-size: 20px; }
  .feature-card p { font-size: 13px; }
  .story-grid, .requirements-grid { grid-template-columns: 1fr; gap: 30px; }
  .story-copy { font-size: 13px; }
  .requirements-grid p:not(.section-label):not(.note) { font-size: 13px; }
  .spec-list dd { font-size: 13px; }
  .spec-size { font-size: 22px; }
  .usage-note { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 会社概要ページ（2026-11-06） */
.company-profile .section-title { font-size: clamp(22px, 2.2vw, 30px); }
.profile-heading { margin-top: 72px; }
.profile-text { margin-top: 24px; font-size: 14px; line-height: 2.1; color: var(--muted); }
.profile-list { margin-top: 24px; border-top: 1px solid var(--line); }
.profile-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.profile-list dt { color: var(--muted); }
.profile-table-wrap { margin-top: 24px; overflow-x: auto; }
.profile-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.profile-table th, .profile-table td { padding: 16px 12px 16px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.profile-table thead th { font-weight: 500; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.company-profile .note { margin-top: 16px; font-size: 12px; color: var(--muted); }
.profile-link { margin-top: 32px; }
@media (max-width: 639px) {
  .profile-list > div { grid-template-columns: 1fr; gap: 4px; }
  .profile-table { min-width: 560px; }
}

/* AI先生：アプリの概要と開発の背景の一文（2026-11-06） */
.overview-section { padding-top: 0; }
.overview-section .profile-list { margin-top: 32px; }
.story-copy .story-statement { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.6; color: #FFF; letter-spacing: .02em; }

/* トップの緑の帯を狭くし，一文と対象分野の3欄を帯のすぐ下に入れる（事業者 2026-11-06） */
.hero-grid { min-height: clamp(320px, 27vw, 400px); padding-top: 48px; padding-bottom: 104px; }
.hero-eyebrow { margin-bottom: 28px; }
.hero-message { margin-top: 18px; }
.fields-section { padding-top: 48px; }
.fields-intro { margin-top: 8px; margin-bottom: 40px; }
@media (max-width: 639px) {
  .hero-grid { min-height: 340px; padding-top: 36px; padding-bottom: 104px; }
  .fields-section { padding-top: 40px; }
}

/* 「Business／主な対象分野」の見出しは画面に出さない（事業者 2026-11-06「これは不要」）．一文だけを3欄の上に置く */
.fields-intro { grid-template-columns: 1fr; gap: 0; margin-top: 0; margin-bottom: 32px; }

/* トップのプロダクト（事業者 2026-11-06「代わりにプロダクトセクションを入れよ」） */
.product-section { padding-top: 24px; }
.product-section .section-title { margin-top: 8px; }
.product-list { margin-top: 32px; border-top: 1px solid var(--green-dark); }
.product-item { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 28px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.product-icon { width: 64px; height: 64px; border-radius: 14px; }
.product-body h3 { font-size: 22px; line-height: 1.5; }
.product-body > p { margin-top: 8px; font-size: 14px; line-height: 2; color: var(--muted); }
.product-body .product-tags { margin-top: 12px; }
@media (max-width: 639px) {
  .product-item { grid-template-columns: 56px minmax(0,1fr); }
  .product-icon { width: 56px; height: 56px; }
  .product-more { grid-column: 1 / -1; }
}

/* プロダクトは枠で囲んだブロックにする（事業者 2026-11-06「そこにブロックでAI先生を入れよ」） */
.product-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; border-top: 0; }
.product-item { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 32px; border: 1px solid var(--line); border-radius: 4px; background: #FFF; transition: border-color .2s; }
.product-item:hover { border-color: var(--green-dark); }
.product-icon { margin-bottom: 20px; }
.product-body { flex: 1; }
.product-more { margin-top: 24px; }
@media (max-width: 959px) { .product-list { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 639px) { .product-list { grid-template-columns: 1fr; } .product-item { padding: 24px; } }

/* 帯の下の「事業について」を消した（事業者 2026-11-06「これを消せ」）ので，その分の余白を詰める */
.hero-grid { padding-bottom: 56px; }
@media (max-width: 639px) { .hero-grid { padding-bottom: 48px; } }
.hero-grid { min-height: 0; }
@media (max-width: 639px) { .hero-grid { min-height: 0; } }

/* 所属を英語名の後ろに同じ行で置く（大きさは元のまま。事業者 2026-11-06） */
.hero-name-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; margin-bottom: 14px; }
.hero-name-line .hero-name-en { margin-bottom: 0; }
.hero-dept { font-size: 13px; font-weight: 400; letter-spacing: .04em; }

/* 帯の下の一文を言葉の途中で折り返さない（文節で改行し、最後の行に1〜2字だけ残さない） */
.fields-intro > p { word-break: auto-phrase; text-wrap: pretty; }

/* お問い合わせの見出しは改行させず一続きに（狭い幅では文節で折り返す）。事業者 2026-11-06「ここの改行止めよ」 */
.contact-section h2 { word-break: auto-phrase; text-wrap: balance; }

/* 帯の下の余白をもう少し狭く（事業者 2026-11-06「まだ余白が広い」「もう少しだけ狭く」） */
.hero-grid { padding-bottom: 36px; }
@media (max-width: 639px) { .hero-grid { padding-bottom: 32px; } }

/* 狭めすぎたので倍くらいに（事業者 2026-11-06「狭めすぎ 倍くらい 広く」） */
.hero-grid { padding-bottom: 72px; }
@media (max-width: 639px) { .hero-grid { padding-bottom: 64px; } }

/* 帯の上下の余白をそろえる（事業者 2026-11-06「上下均等ぐらい望ましい」） */
.hero-grid { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 639px) { .hero-grid { padding-top: 48px; padding-bottom: 48px; } }

/* AI先生：操作画面（事業者 2026-11-06「操作画面を足してください」） */
.screens-section { padding-top: 0; }
.screen-list { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 48px; margin-top: 32px; }
.screen-list figure { margin: 0; }
.screen-list img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 24px; }
.screen-list figcaption { margin-top: 16px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.screen-list figcaption strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--ink); }
@media (max-width: 639px) { .screen-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .screen-list img { border-radius: 14px; } }

/* プロダクトの枠全体を押すと詳細ページへ（事業者 2026-11-06「詳しく見るではなく，このボックスを押したら飛べるように」） */
.product-item { padding: 0; }
.product-card { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 32px; color: inherit; text-decoration: none; border-radius: inherit; }
.product-card:hover h3 { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }
.product-card:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 639px) { .product-card { padding: 24px; } }
.product-body > p, .screen-list figcaption { word-break: auto-phrase; text-wrap: pretty; }
.story-copy p { word-break: auto-phrase; text-wrap: pretty; }

/* 会社概要：会社情報の横に代表の写真を置く（事業者 2026-11-06） */
.profile-info { display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: clamp(32px,5vw,64px); align-items: start; margin-top: 24px; }
.profile-info .profile-list { margin-top: 0; }
.representative-photo img { width: 100%; height: auto; }
.representative-photo figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 639px) {
  .profile-info { grid-template-columns: 1fr; }
  .representative-photo { order: -1; width: 200px; }
}
/* 代表者の欄：兼任の一行を字下げする（事業者 2026-11-06） */
.rep-affiliation { display: block; padding-left: 1em; }

/* 技術紹介・出版物（事業者 2026-11-06） */
.feature-card .text-link { margin-top: 12px; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.process-list li { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); }
.process-num { display: block; font: 500 14px/1.5 var(--font-en); color: #CDDABD; margin-bottom: 8px; }
.process-list h3 { font-size: 20px; line-height: 1.6; color: #FFF; }
.process-list p { margin-top: 8px; font-size: 14px; line-height: 2; color: #E0E6DD; }
.book-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 64px; }
.book-item { padding-top: 28px; border-top: 1px solid var(--line); }
.book-item h3 { font-size: 20px; line-height: 1.6; letter-spacing: -.01em; }
.book-authors { margin-top: 10px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.book-item .text-link { margin-top: 8px; }
.papers-section { padding-top: 0; }
@media (max-width: 639px) {
  .book-list { grid-template-columns: 1fr; }
  .process-list h3 { font-size: 18px; }
}
