:root {
  color-scheme: light;
  --paper: #fbfaf6; --ink: #173e37; --body: #344c46; --muted: #5c6d66;
  --green: #176b61; --line: #d7dfd8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--body); background: var(--paper); font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #b86e20; outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 16px; padding: 10px 20px; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.portal-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.ponj-brand { display: inline-flex; align-items: center; gap: 14px; font-size: 2rem; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.4; letter-spacing: -.03em; }
.ponj-brand img { width: 44px; height: 44px; flex-shrink: 0; }
.ponj-brand span { font-size: .75rem; font-weight: 500; letter-spacing: .11em; color: var(--muted); }
.portal-header nav, .portal-footer > div { display: flex; flex-wrap: wrap; gap: 24px; }
.portal-header nav a, .portal-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: none; }
.portal-header a:hover, .portal-footer a:hover { text-decoration: underline; }
.portal-intro { padding-block: 48px 44px; }
.eyebrow { color: var(--green); font-size: .875rem; font-weight: 600; letter-spacing: .08em; }
h1 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.55; }
.portal-intro h1 { margin-top: 16px; }
.intro-lead { margin-top: 20px; color: var(--muted); }
.common-benefits { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.common-benefits p { font-size: .875rem; color: var(--muted); }
.common-benefits ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.common-benefits li { padding: 6px 14px; border: 1px solid #b8cfc1; border-radius: 4px; background: #eaf2ed; color: var(--ink); font-weight: 600; }
.list-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.list-heading h2 { font-size: 1.125rem; font-weight: 600; }
.list-heading p { color: var(--muted); font-size: .875rem; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.app-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 0 0 6px 6px; }
.app-kakeibo { background: #eaf2ed; }
.app-reader { background: #eaf2f3; border-top-color: #096b62; }
.app-koyomi { background: #f3f0e6; border-top-color: #5f7147; }
.app-heading { display: flex; gap: 18px; align-items: center; }
.app-heading img { width: 64px; height: 64px; border-radius: 13px; flex-shrink: 0; }
.app-purpose { font-size: .875rem; color: var(--ink); font-weight: 600; }
.app-purpose span { display: block; margin-top: 4px; font-size: .75rem; font-weight: 400; letter-spacing: .045em; color: var(--muted); }
.app-card h3 { font-size: 1.625rem; line-height: 1.6; min-height: 3.2em; margin-top: 22px; letter-spacing: -.035em; }
.app-name-part { display: inline-block; white-space: nowrap; }
.app-description { margin-top: 14px; }
.app-features { list-style: none; padding: 0; margin: 22px 0 26px; color: var(--muted); font-size: .875rem; }
.app-features li { padding: 7px 0; border-top: 1px solid #ccd7cf; }
.app-features li:last-child { border-bottom: 1px solid #ccd7cf; }
.app-bottom { margin-top: auto; }
.app-platform { display: flex; flex-wrap: wrap; gap: 2px 10px; color: var(--muted); font-size: .875rem; }
.availability { color: var(--ink); }
.app-link { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 16px; padding: 10px 18px; border: 1px solid #8baba0; border-radius: 4px; color: var(--ink); font-weight: 600; text-decoration: none; background: #ffffff80; }
.app-link:hover { background: var(--ink); color: #fff; }
.portal-support { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 36px; margin-block: 48px 56px; background: #173e37; border-radius: 6px; color: #dcebe2; }
.portal-support .eyebrow { color: #a2ddce; }
.portal-support h2 { margin-top: 12px; color: #fff9ec; font-size: 1.625rem; line-height: 1.65; }
.portal-support h2 + p { margin-top: 16px; max-width: 40em; }
.portal-support .support-note { margin-top: 12px; color: #b8d8c8; font-size: .875rem; }
.support-link { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 20px; max-width: 100%; background: #fff; color: var(--ink); font-weight: 600; border-radius: 4px; text-decoration: none; }
.support-link:hover { background: #b9e5d8; }
.support-actions p { margin-top: 12px; font-size: .75rem; }
.portal-footer { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
/* とにかく速いコードリーダーの紹介 */
.product-hero { padding-block: 56px 48px; max-width: 820px; }
.product-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.product-heading img { width: 64px; height: 64px; border-radius: 13px; }
.product-platform { display: block; margin-top: 4px; font-size: .75rem; }
.product-hero .intro-lead { max-width: 36em; }
.product-hero-with-visual { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.product-copy { min-width: 0; }
.reader-visual { margin: 0; padding: 28px; background: #edf2f0; border: 1px solid #d7e2dc; border-radius: 18px; }
.reader-visual-title { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; color: var(--ink); font-size: 1.625rem; line-height: 1.6; text-align: center; }
.reader-code-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.reader-code-card { min-width: 0; padding: 12px 8px; border: 1px solid #d8e4df; border-radius: 10px; background: #fff; text-align: center; }
.reader-code-card img { width: 100%; height: 116px; object-fit: contain; }
.reader-code-card p { margin-top: 6px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.reader-read-arrow { margin: 16px 0 12px; font-size: .875rem; text-align: center; color: var(--green); }
.reader-read-arrow span { display: block; font-size: 1.75rem; line-height: 1.25; }
.reader-result-example { padding: 20px; background: #fff; border: 1px solid #d8e4df; border-radius: 10px; }
.reader-result-label { font-size: .8125rem; color: var(--muted); }
.reader-example-url { margin-top: 8px; font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.reader-example-actions { display: flex; gap: 10px; margin-top: 14px; }
.reader-example-actions span { padding: 7px 24px; background: #d5ece4; color: var(--green); border-radius: 4px; font-size: .875rem; }
.reader-example-actions span:first-child { background: var(--green); color: #fff; }
.reader-visual figcaption { margin-top: 16px; text-align: center; font-size: .8125rem; color: var(--muted); }
.product-tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.product-tags li { font-size: .875rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 4px; }
.release-note { margin-top: 24px; padding-left: 16px; border-left: 3px solid var(--green); color: var(--muted); }
.feature-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 48px; }
.feature-summary article { border-top: 1px solid var(--line); padding-top: 22px; }
.feature-summary h3 { font-size: 1.125rem; margin-bottom: 12px; }
.feature-summary p { color: var(--muted); }
.product-data { padding: 30px; margin-bottom: 48px; background: #eaf2f3; border-radius: 6px; }
.product-data h2 { font-size: 1.375rem; margin-bottom: 16px; }
.product-data p + p { margin-top: 14px; }
@media (max-width: 1040px) {
  .wrap { width: calc(100% - 56px); }
  .app-card { padding: 22px; }
  .app-heading { gap: 12px; }
  .app-heading img { width: 54px; height: 54px; }
  .app-purpose { font-size: .8125rem; }
}
@media (max-width: 900px) {
  .product-hero-with-visual { grid-template-columns: 1fr; gap: 28px; }
  .reader-visual { width: min(100%, 520px); margin-inline: auto; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { padding: 28px; }
  .app-heading img { width: 64px; height: 64px; }
  .app-purpose { font-size: .875rem; }
  .app-card h3 { min-height: 0; margin-top: 18px; }
  .app-link { width: min(100%, 320px); }
  .portal-support { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .portal-header { flex-wrap: wrap; gap: 8px; padding-block: 16px; }
  .portal-header nav { gap: 10px 20px; }
  .ponj-brand img { width: 40px; height: 40px; }
  .ponj-brand span { font-size: .75rem; }
  .portal-intro { padding-block: 34px; }
  .intro-lead br { display: none; }
  .app-card { padding: 24px; }
  .app-link { width: 100%; }
  .portal-support { padding: 24px; margin-block: 32px 40px; }
  .portal-footer > div { gap: 16px; }
  .product-hero { padding-block: 36px; }
  .reader-visual { padding: 20px 16px; }
  .reader-visual-title { font-size: 1.375rem; }
  .reader-code-sources { gap: 10px; }
  .reader-code-card img { height: 100px; }
  .reader-result-example { padding: 16px; }
  .feature-summary { grid-template-columns: 1fr; gap: 24px; }
  .product-data { padding: 24px; }
}
@media (max-width: 360px) {
  .portal-intro h1, .product-hero h1 { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* APKの配布 */
.product-download { margin-top: 26px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; max-width: 100%; padding: 12px 24px; border-radius: 6px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; }
.download-button:hover { background: #173e37; color: #fff; }
.download-version { margin: 12px 0 0; font-size: .875rem; color: var(--green); line-height: 1.8; }
.download-help { margin: 10px 0 0; max-width: 36em; font-size: .8125rem; color: var(--muted); line-height: 1.8; }
