:root {
  --bg: #f0f4ff;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #1e293b;
  --text-body: #334155;
  --muted: #475569;
  --muted-light: #64748b;
  --line: rgba(15, 23, 42, 0.09);
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --accent: #0ea5e9;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.07);
  --shadow-card-hover: 0 12px 36px rgba(15, 23, 42, 0.13);
  --shadow-hero: 0 24px 64px rgba(15, 23, 42, 0.13);
  --shadow-brand: 0 8px 28px rgba(37, 99, 235, 0.28);
  --container: min(100% - 3rem, 1080px);
  --container-narrow: min(100%, 860px);
  --section-space: clamp(4rem, 6vw, 6rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* scroll-behavior は prefers-reduced-motion: no-preference 内で定義 */
}

body {
  margin: 0;
  font-family:
    "Inter",
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.material-symbols-rounded {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
  vertical-align: middle;
  user-select: none;
}

/* icon + text inline contexts */
.btn .material-symbols-rounded,
.founder-role .material-symbols-rounded,
.hero-eyebrow .material-symbols-rounded,
.toast .material-symbols-rounded,
.value-item .material-symbols-rounded {
  margin-inline-end: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 999;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px) saturate(160%);
  background: rgba(240, 244, 255, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 36px;
  aspect-ratio: 1;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.brand-mark .material-symbols-rounded {
  font-size: 20px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
  background: rgba(37, 99, 235, 0.08);
}

.site-nav .nav-cta {
  background: linear-gradient(130deg, #2d6ef7, var(--brand-strong));
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.38);
  filter: brightness(1.06);
}

/* ── Hero ── */
.hero {
  padding: clamp(3.2rem, 6vw, 5.4rem) 0 var(--section-space);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(37, 99, 235, 0.14), transparent 42%),
    radial-gradient(ellipse at 92% 20%, rgba(14, 165, 233, 0.12), transparent 38%),
    radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.06), transparent 55%);
}

.hero-inner {
  max-width: var(--container-narrow);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hero);
  padding: clamp(2rem, 4vw, 3rem);
  backdrop-filter: blur(8px);
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-eyebrow .material-symbols-rounded {
  font-size: 18px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.2rem, 4.8vw, 2.85rem);
  font-weight: 800;
  color: var(--text);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  color: var(--text);
}

.hero-lead {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
  text-wrap: pretty;
}

.cta-row {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  padding: 0.75rem 1.25rem;
}

.btn .material-symbols-rounded {
  font-size: 19px;
}

.btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.4);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, #2d6ef7, var(--brand-strong));
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.36);
  filter: brightness(1.04);
}

.btn-secondary {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--brand-strong);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.value-strip {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1rem 1rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.value-item .material-symbols-rounded {
  font-size: 22px;
  color: var(--brand);
}

.value-item p {
  margin: 0;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Sections ── */
.section {
  padding: var(--section-space) 0;
}

.section-alt {
  background: linear-gradient(180deg, #fff 0%, rgba(240, 244, 255, 0.5) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.section-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.section-lead {
  margin-top: 0.9rem;
  max-width: 56ch;
  color: var(--muted);
  text-wrap: pretty;
  line-height: 1.8;
}

.section#pricing .section-lead,
.section#contact .section-lead,
.section#company .section-lead {
  max-width: none;
}

/* ── Cards ── */
.stack-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.4vw, 1.45rem);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

.card-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.09);
  color: var(--brand);
}

.card-icon--warn {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}

.card-icon--accent {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
  color: var(--brand-strong);
}

.card-icon .material-symbols-rounded {
  font-size: 23px;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-body h3 {
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 700;
}

.card-body > p {
  margin: 0.5rem 0 0;
  color: var(--text-body);
  line-height: 1.75;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: anywhere;
}

.center-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

/* ── Value chips ── */
.value-chips {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.value-chips li {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 0.83rem;
}

/* ── Profile list ── */
.profile-list {
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.1rem;
  row-gap: 0.45rem;
}

.profile-list dt {
  color: var(--muted-light);
  font-weight: 700;
  font-size: 0.9rem;
}

.profile-list dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── Toast banner ── */
.toast {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-100% - 2.5rem));
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0.88rem 1.3rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  max-width: min(90vw, 480px);
  white-space: nowrap;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast.is-success {
  background: #14532d;
  color: #f0fdf4;
  border: 1px solid #166534;
}

.toast.is-error {
  background: #7f1d1d;
  color: #fef2f2;
  border: 1px solid #991b1b;
}

.toast-icon {
  font-size: 21px;
  flex-shrink: 0;
}

/* ── Founder card ── */
.founder-card {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  min-height: 320px;
}

.founder-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.founder-photo-col {
  flex: 0 0 260px;
  overflow: hidden;
}

.founder-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-text-col {
  flex: 1;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(14, 165, 233, 0.03) 100%);
  border-left: 1px solid var(--line);
}

.founder-name {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.founder-section-title {
  margin: 1.1rem 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.founder-role {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  padding: 0.35rem 0.7rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
  width: fit-content;
}

.founder-role .material-symbols-rounded {
  font-size: 15px;
}

.founder-text-col > p:not(.founder-role) {
  margin: 0;
  color: var(--text-body);
  line-height: 1.85;
  text-wrap: pretty;
  font-size: 0.97rem;
}

/* ── Pricing ── */
.pricing-card {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.pricing-card-header {
  padding: clamp(1.8rem, 3.5vw, 2.4rem) clamp(1.5rem, 3vw, 2.2rem) 1.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.04) 100%);
  border-bottom: 1px solid var(--line);
}

.pricing-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.pricing-price {
  font-size: clamp(2.8rem, 7vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.pricing-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-features {
  margin: 0;
  padding: clamp(1.2rem, 2.5vw, 1.8rem) clamp(1.5rem, 3vw, 2.2rem);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-features .material-symbols-rounded {
  font-size: 20px;
  color: var(--brand);
  flex-shrink: 0;
}

.pricing-cta {
  padding: clamp(1.2rem, 2.5vw, 1.8rem) clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.pricing-note {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.87rem;
  color: var(--muted);
  font-weight: 500;
}

.pricing-note .material-symbols-rounded {
  font-size: 17px;
  flex-shrink: 0;
}

/* ── Contact ── */
.section#contact {
  padding-top: calc(var(--section-space) + 0.8rem);
}

.contact-form {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.09);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.message-field {
  margin-top: 0.9rem;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: var(--radius-md);
  background: #fafbff;
  color: var(--text);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  margin-top: 0.2rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #fff;
}

.contact-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-end;
}

/* ── Footer ── */
.site-footer {
  padding: 1.8rem 0 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.75);
}

.footer-wrap {
  display: flex;
  justify-content: center;
}

.site-footer p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ── Responsive ── */
@media (max-width: 840px) {
  .nav-wrap {
    min-height: 64px;
    flex-wrap: wrap;
    padding: 0.65rem 0;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .value-strip {
    grid-template-columns: 1fr;
  }

  .founder-card {
    flex-direction: column;
    min-height: unset;
  }

  .founder-photo-col {
    flex: none;
    width: 100%;
    height: 320px;
  }

  .founder-photo-col img {
    object-position: center 20%;
  }

  .founder-text-col {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(100% - 1.2rem, 1080px);
  }

  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-top: 0.9rem;
  }

  .hero-inner {
    border-radius: var(--radius-lg);
    padding: 1.4rem;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    display: grid;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card,
  .founder-card {
    transition: box-shadow 200ms ease, transform 200ms ease;
  }

  .btn {
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 150ms;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
  }

  .btn-secondary:hover {
    transform: translateY(-1px);
  }

  .site-nav .nav-cta:hover,
  .site-nav .nav-cta:focus-visible {
    transform: translateY(-1px);
  }

  .site-nav a {
    transition: color 150ms, background 150ms;
  }

  .site-nav .nav-cta {
    transition: transform 150ms, box-shadow 150ms, filter 150ms;
  }

  .contact-form input,
  .contact-form textarea {
    transition: border-color 150ms, box-shadow 150ms;
  }

  .toast {
    transition: transform 400ms cubic-bezier(0.34, 1.5, 0.64, 1), opacity 300ms ease;
  }

  html {
    scroll-behavior: smooth;
  }
}
