@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/noto-sans-jp-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/noto-sans-jp-japanese-400-normal.woff2") format("woff2");
  unicode-range: U+3000-30FF, U+31F0-31FF, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/noto-sans-jp-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/noto-sans-jp-japanese-600-normal.woff2") format("woff2");
  unicode-range: U+3000-30FF, U+31F0-31FF, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/noto-sans-jp-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/noto-sans-jp-japanese-700-normal.woff2") format("woff2");
  unicode-range: U+3000-30FF, U+31F0-31FF, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

:root {
  color-scheme: light;
  --ink: #1f2937;
  --muted: #5b6b7c;
  --faint: #8a97a5;
  --bg: #e7eef5;
  --surface: #f7f4ee;
  --shadow: 0 22px 50px rgba(36, 48, 66, 0.1);
  --shadow-soft: 0 10px 28px rgba(36, 48, 66, 0.06);
  --accent: #3f8f5a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.03em; }
.nowrap { white-space: nowrap; }
a { color: #334155; }
a:hover { color: var(--ink); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--surface);
  padding: 8px 12px;
  box-shadow: var(--shadow-soft);
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  background: var(--bg);
}
.mark {
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover { color: var(--ink); }

.hero {
  position: relative;
  overflow-x: hidden;
  color: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #d7e3ef 0%, #e7eef5 42%, #e7eef5 100%);
}
.haze {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
}
.haze-a {
  width: 420px;
  height: 220px;
  left: -40px;
  top: 8%;
  background: rgba(255, 255, 255, 0.55);
}
.haze-b {
  width: 360px;
  height: 180px;
  right: 8%;
  top: 28%;
  background: rgba(255, 255, 255, 0.4);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 280px;
  gap: 64px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 28px 56px;
}
.kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
  font-weight: 650;
  color: var(--ink);
}
.lead {
  margin: 0;
  max-width: 34em;
  font-size: 17px;
  color: #3d4a57;
}
.warn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.72);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 13px;
}
.hero-actions { margin-top: 32px; }
.app-store-badge {
  display: inline-flex;
  line-height: 0;
}
.app-store-badge img {
  height: 60px;
  width: auto;
}
.legal-notice {
  margin: 16px 0 0;
  max-width: 36em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.talk-shot {
  width: 280px;
  height: calc(737px * 280 / 414);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  justify-self: end;
}
.talk-lcd {
  width: 414px;
  height: 737px;
  transform: scale(calc(280 / 414));
  transform-origin: top left;
  display: flex;
  flex-direction: column;
  background: #8CABD8;
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.2;
}
.talk-header {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: #8CABD8;
  flex-shrink: 0;
}
.talk-back {
  display: flex;
  align-items: center;
  padding-right: 16px;
  flex-shrink: 0;
}
.talk-name {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
}
.talk-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-shrink: 0;
}
.talk-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px 16px;
  background: #8CABD8;
}
.talk-date {
  align-self: center;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 12px;
  background: #7791B7;
  color: #fff;
  font-size: 11px;
  line-height: 13px;
}
.talk-row {
  display: flex;
  align-items: flex-end;
  overflow: visible;
}
.talk-row.them { justify-content: flex-start; }
.talk-row.them .talk-bubble-hit { margin-left: -5px; }
.talk-row.me { justify-content: flex-end; }
.talk-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.talk-bubble-hit {
  position: relative;
  max-width: 72%;
  overflow: visible;
}
.talk-bubble {
  padding: 10px 12px;
  font-size: 16px;
  line-height: 21px;
  color: #111;
}
.talk-bubble.them {
  background: #fff;
  border-radius: 18px;
  border-top-left-radius: 4px;
}
.talk-bubble.me {
  background: #79E278;
  border-radius: 18px;
  border-top-right-radius: 4px;
}
.talk-tail {
  position: absolute;
  top: 0;
  line-height: 0;
}
.talk-tail.them {
  left: -5px;
  transform: scaleX(-1);
}
.talk-tail.me { right: -5px; }
.talk-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 6px;
}
.talk-row.them .talk-time { margin-left: 6px; }
.talk-read,
.talk-time {
  font-size: 11px;
  line-height: 13px;
  color: #3d4f66;
}
.talk-composer {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 8px 12px;
  background: #fff;
  flex-shrink: 0;
}
.talk-field {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 18px;
  background: #f5f5f5;
}
.talk-placeholder {
  flex: 1;
  font-size: 16px;
  line-height: 21px;
  color: #8a8a8a;
}
.talk-send {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #06C755;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-footer .legal-notice,
.doc + .site-footer .legal-notice,
.site-footer p.legal-notice {
  color: var(--faint);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 28px;
  scroll-margin-top: 80px;
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--ink);
  font-weight: 650;
}
.section-lead {
  margin: 0 0 40px;
  color: var(--muted);
  max-width: 36em;
}
.icon {
  width: 20px;
  height: 20px;
  stroke: #94a3b8;
  fill: none;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.contact-form {
  max-width: 520px;
  display: grid;
  gap: 20px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { display: grid; gap: 8px; }
.field label {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.req {
  margin-left: 6px;
  color: #b91c1c;
  font-weight: 600;
  font-size: 12px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus {
  outline: 2px solid #94a3b8;
  outline-offset: 2px;
}
.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #b91c1c;
  font-size: 13px;
}
.field-error[hidden],
.form-status[hidden] { display: none; }
.form-status {
  margin: 0;
  font-size: 14px;
}
.form-status.is-error {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b91c1c;
}
.form-status.is-ok { color: #166534; }
.submit {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #f8fafc;
  font: inherit;
  font-weight: 650;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.submit:disabled { opacity: 0.6; cursor: wait; }
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.doc h1 {
  margin: 8px 0 20px;
  font-size: clamp(32px, 4vw, 44px);
}
.doc h2 {
  margin: 36px 0 10px;
  font-size: 20px;
}
.doc h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}
.doc .kicker { color: var(--muted); letter-spacing: 0.08em; }
.doc p, .doc li { color: #374151; }

.site-footer {
  padding: 36px 28px 56px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 48px;
  }
  .talk-shot { justify-self: center; }
  .site-header {
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 14px 16px;
  }
  .section {
    padding: 72px 20px;
    scroll-margin-top: 72px;
  }
}
