*, *::before, *::after { box-sizing: border-box; }
:root { color-scheme: light; --ink: #17243a; --muted: #56657a; --blue: #286bc3; --line: #dce5f1; --pale: #f3f7fd; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body:lang(en) { line-height: 1.65; }
a { color: var(--blue); text-underline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, .gallery:focus-visible { outline: 3px solid #286bc3; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 200; padding: 8px 16px; background: #fff; }
.skip:focus { top: 10px; }
.header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(16px); }
.header-inner { max-width: 1200px; min-height: 72px; padding: 14px 28px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav > a { color: var(--muted); font-size: 13px; text-decoration: none; }
.languages { display: flex; gap: 3px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.languages a { padding: 3px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--muted); text-decoration: none; }
.languages a[aria-current="page"] { color: #fff; background: var(--ink); }
.container { max-width: 1160px; margin: auto; padding: 0 28px; }
.hero { background: linear-gradient(180deg,#f4f8ff,#fff); }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px; padding-top: 60px; padding-bottom: 52px; }
.eyebrow { display: block; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin: 0 0 20px; }
h1 { font-size: clamp(34px,4.4vw,56px); line-height: 1.35; letter-spacing: -.04em; margin: 0 0 24px; }
body:lang(en) h1 { font-size: clamp(38px,5vw,64px); line-height: 1.12; }
.hero-copy > p { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 0 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; border-radius: 999px; padding: 14px 24px; color: #fff; background: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; min-height: 48px; }
.button:hover { background: var(--blue); }
.hero-copy .device-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.hero-screen { margin: 0; display: flex; justify-content: center; }
.hero-screen a { display: block; width: 264px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 46px rgba(28,65,112,.12); }
.hero-screen img { width: 100%; }
.section { padding-top: 70px; padding-bottom: 70px; }
.section h2 { font-size: clamp(24px,3vw,34px); line-height: 1.4; letter-spacing: -.025em; margin: 0 0 14px; }
.section-lead { color: var(--muted); margin: 0 0 28px; font-size: 15px; max-width: 720px; }
.features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.feature { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; }
.feature-number { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--blue); background: #eef5ff; border-radius: 11px; margin-bottom: 20px; }
.feature h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.5; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }
.screens-section { background: var(--pale); }
.screens-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.tabs { display: inline-flex; flex-shrink: 0; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 4px 0 22px; background: #fff; }
.tabs button { border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 999px; padding: 8px 18px; min-height: 40px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 218px; gap: 18px; overflow-x: auto; padding: 6px 3px 22px; scroll-snap-type: x proximity; scrollbar-color: #aebed4 transparent; }
.gallery.ipad { grid-auto-columns: 330px; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery a { display: block; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: #fff; }
.gallery img { width: 100%; }
.gallery figcaption { padding: 13px 3px 0; font-size: 13px; font-weight: 600; }
.gallery-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.secondary article { padding: 28px; background: var(--pale); border-radius: 20px; }
.secondary h3 { margin: 0 0 10px; font-size: 19px; }
.secondary p, .secondary li { color: var(--muted); font-size: 14px; }
.secondary p { margin: 0; }
.secondary ul { padding-left: 20px; margin-bottom: 0; }
.voice { margin-top: 24px; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.voice h3 { font-size: 19px; margin: 0 0 10px; }
.voice p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.voice-names { display: flex; flex-wrap: wrap; gap: 8px; }
.voice-names span { font-size: 12px; padding: 5px 12px; border-radius: 999px; color: var(--blue); background: #eef5ff; }
.faq { max-width: 840px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 26px 0 0; color: var(--muted); font-size: 14px; }
.support { margin-top: 32px; max-width: 840px; padding: 25px; background: var(--pale); border-radius: 18px; }
.support h3 { font-size: 17px; margin: 0 0 8px; }
.support p { color: var(--muted); margin: 0; font-size: 14px; }
.closing { background: var(--pale); text-align: center; }
.closing h2 { margin-bottom: 24px; }
.credit { margin: 25px auto 0; color: var(--muted); font-size: 11px; max-width: 800px; overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: 1160px; margin: auto; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a, .footer p { color: var(--muted); font-size: 12px; }
.footer a { text-decoration: none; }
.footer p { margin: 0; }
.legal-wrap { max-width: 800px; margin: auto; padding: 60px 28px 80px; }
.legal-wrap h1 { font-size: clamp(28px,4vw,42px); line-height: 1.35; margin-bottom: 12px; }
.legal-updated { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.legal-wrap > p, .legal-section p, .legal-section li { font-size: 14px; color: var(--muted); }
.legal-section { margin-top: 34px; }
.legal-section h2 { font-size: 18px; line-height: 1.5; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.legal-section ul, .legal-section ol { padding-left: 22px; }
.legal-section li { margin-bottom: 9px; }
.legal-section a { overflow-wrap: anywhere; }
dialog { border: 0; padding: 0; background: #fff; border-radius: 16px; max-width: min(94vw,960px); max-height: 94dvh; box-shadow: 0 20px 80px #0005; }
dialog::backdrop { background: #10213ad9; }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; position: sticky; top: 0; background: #fff; z-index: 1; }
.dialog-toolbar p { margin: 0; font-size: 13px; font-weight: 600; }
.dialog-toolbar button { cursor: pointer; border: 1px solid var(--line); background: var(--pale); border-radius: 999px; padding: 8px 16px; font-size: 13px; min-height: 40px; }
.dialog-image { width: auto; max-width: 100%; max-height: calc(94dvh - 68px); margin: auto; object-fit: contain; }
@media (max-width: 800px) {
  .nav { gap: 14px; }
  .hero-inner { gap: 26px; }
  .features { gap: 12px; }
  .feature { padding: 22px; }
}
@media (max-width: 640px) {
  .header-inner { padding: 12px 16px; min-height: 64px; gap: 10px; }
  .brand { font-size: 12px; gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .nav > a { display: none; }
  .languages a { padding: 4px 10px; }
  .container { padding-left: 22px; padding-right: 22px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 40px; gap: 30px; }
  .hero-copy > p { font-size: 15px; margin-bottom: 22px; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  h1 { font-size: clamp(30px,7.8vw,43px); margin-bottom: 20px; }
  body:lang(en) h1 { font-size: clamp(36px,10vw,48px); }
  .hero-screen a { width: 228px; }
  .section { padding-top: 46px; padding-bottom: 46px; }
  .features, .secondary { grid-template-columns: 1fr; gap: 14px; }
  .feature { padding: 24px; }
  .feature-number { margin-bottom: 14px; }
  .screens-heading { display: block; }
  .gallery { grid-auto-columns: 204px; gap: 14px; }
  .gallery.ipad { grid-auto-columns: min(300px,82vw); }
  .gallery-note { line-height: 1.8; }
  .footer-inner { padding: 24px 22px; }
  .footer nav { gap: 14px; }
  .legal-wrap { padding: 42px 22px 60px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* アプリ専用のお問い合わせフォーム。 */
.contact-page { min-height: 100vh; display: flex; flex-direction: column; }
.contact-wrap { max-width: 680px; width: 100%; padding: 54px 28px 70px; margin: auto; flex: 1; }
.contact-wrap h1, body:lang(en) .contact-wrap h1 { font-size: clamp(30px,4vw,42px); line-height: 1.3; margin-bottom: 18px; }
.contact-lead { color: var(--muted); font-size: 14px; margin: 0 0 30px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.6; }
.form-group textarea { resize: vertical; min-height: 170px; }
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.contact-submit { width: 100%; border: 0; cursor: pointer; }
.contact-submit:disabled { opacity: .6; cursor: wait; }
.form-note { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 18px 0 0; }
.contact-success { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--pale); }
.contact-success p { margin: 0 0 14px; }
.contact-success a { font-size: 14px; }
.contact-error { padding: 16px; background: #fff2f0; border: 1px solid #efb8b0; border-radius: 12px; color: #9c3024; font-size: 14px; }
@media (max-width: 640px) { .contact-wrap { padding: 40px 22px 54px; } }
