:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --soft: #f8fafc;
  --indigo: #4f46e5;
  --rose: #e11d48;
  --teal: #0f766e;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-japanese: "BIZ UDGothic", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #fff1f2 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .12vw, 1.08rem);
  line-height: 1.65;
  letter-spacing: -.005em;
}
button, input, select, textarea { font-family: inherit; }
p, li { line-height: 1.65; }
a { color: var(--indigo); text-decoration-thickness: .12em; text-underline-offset: .2em; }
a:hover { color: #3730a3; }
a:focus-visible, button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
.page-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.page-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(226,232,240,.9); background: rgba(255,255,255,.9); backdrop-filter: blur(16px); }
.page-nav { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 900; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 14px; box-shadow: 0 8px 18px rgba(79,70,229,.2); }
.brand span { font-size: 1.08rem; background: linear-gradient(90deg, #e11d48, #4f46e5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .65rem 1rem; font-size: .86rem; font-weight: 800; }
.nav-links a { color: #475569; text-decoration: none; }
.nav-links a:hover { color: var(--indigo); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .45rem; border-radius: 13px; padding: .65rem 1rem; background: var(--indigo); color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 8px 18px rgba(79,70,229,.18); }
.button:hover { background: #4338ca; color: #fff; }
.button.secondary { background: #fff; color: #3730a3; border: 1px solid #c7d2fe; box-shadow: none; }
.hero { margin: 2.2rem 0 1.2rem; border-radius: 28px; padding: clamp(1.5rem, 4vw, 3.3rem); background: radial-gradient(circle at 100% 0%, rgba(244,63,94,.26), transparent 35%), linear-gradient(135deg, #0f172a, #312e81 65%, #4338ca); color: #fff; box-shadow: 0 22px 55px rgba(30,41,59,.22); }
.eyebrow { margin: 0 0 .55rem; color: #a5b4fc; font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; }
h1 { margin: 0; max-width: 780px; font-size: clamp(2rem, 5vw, 3.7rem); }
.hero p { max-width: 760px; margin: 1rem 0 0; color: #e0e7ff; font-size: clamp(1rem, 2vw, 1.15rem); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); gap: 1rem; align-items: start; }
.card { border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.15rem, 3vw, 1.7rem); background: rgba(255,255,255,.92); box-shadow: 0 10px 28px rgba(15,23,42,.05); }
.card h2, .card h3 { margin: 0 0 .65rem; }
.card p { color: #475569; }
.card ul { margin: .7rem 0 0; padding-left: 1.2rem; color: #475569; }
.card li + li { margin-top: .4rem; }
.callout { border: 1px solid #c7d2fe; border-radius: 18px; padding: 1rem 1.1rem; background: #eef2ff; color: #312e81; }
.callout strong { color: #1e1b4b; }
.timeline { display: grid; gap: .85rem; }
.timeline article { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: .9rem; }
.timeline time { color: #4338ca; font-weight: 900; }
.timeline h3 { margin: 0; font-size: 1rem; }
.timeline p { margin: .2rem 0 0; color: var(--muted); font-size: .93rem; }
.page-footer { margin-top: 3rem; border-top: 1px solid var(--line); padding: 1.6rem 0 2.5rem; color: var(--muted); font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .65rem; font-weight: 800; }
.footer-links a { color: #475569; }
.small { color: var(--muted); font-size: .88rem; }
.hero, .card, .callout, .timeline, .feedback-card { overflow-wrap: anywhere; }
.contact-list { display: grid; gap: .65rem; margin: 1rem 0 0; }
.contact-list a { display: flex; align-items: center; gap: .6rem; font-weight: 800; }
.feedback-card { margin-top: 1rem; }
.feedback-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.feedback-heading h2 { margin-bottom: 0; }
.feedback-eyebrow { margin: 0 0 .3rem; color: var(--indigo); letter-spacing: .1em; }
.feedback-badge { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid #c7d2fe; border-radius: 999px; padding: .45rem .75rem; background: #eef2ff; color: #3730a3; font-size: .78rem; font-weight: 900; }
.feedback-intro { margin: .65rem 0 1.15rem; }
#feedback-form { display: grid; gap: .95rem; }
#feedback-form label:not(.feedback-trap) { display: grid; gap: .35rem; color: #334155; font-size: .88rem; font-weight: 900; }
#feedback-form label em { color: var(--muted); font-size: .76rem; font-style: normal; font-weight: 700; }
#feedback-form input:not([type="checkbox"]), #feedback-form select, #feedback-form textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 13px; padding: .7rem .8rem; background: #fff; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600; }
#feedback-form textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
#feedback-form input:focus, #feedback-form select:focus, #feedback-form textarea:focus { border-color: var(--indigo); outline: 3px solid rgba(99,102,241,.18); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.feedback-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.human-check { display: flex; align-items: center; gap: .55rem; border: 1px solid #cbd5e1; border-radius: 13px; padding: .7rem .8rem; background: #f8fafc; color: #334155; font-size: .88rem; font-weight: 800; }
.human-check input { width: 1.15rem; height: 1.15rem; accent-color: var(--indigo); }
.turnstile-slot { min-height: 65px; }
.security-note { margin: 0; color: var(--muted); font-size: .8rem; }
.feedback-submit { border: 0; cursor: pointer; }
.feedback-submit:disabled { cursor: wait; opacity: .65; }
.feedback-status { margin: 0; border-radius: 13px; padding: .7rem .8rem; font-size: .88rem; font-weight: 800; }
.feedback-status.info { background: #eef2ff; color: #3730a3; }
.feedback-status.success { background: #ecfdf5; color: #047857; }
.feedback-status.error { background: #fff1f2; color: #be123c; }
@media (max-width: 760px) {
  .page-shell { width: min(100% - 1.1rem, 680px); }
  .page-nav { align-items: flex-start; padding: .7rem 0; }
  .nav-links { gap: .35rem .7rem; font-size: .78rem; }
  .nav-links a:not(.button) { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: 1fr; gap: .15rem; }
  body { font-size: 1rem; line-height: 1.68; letter-spacing: 0; }
  .hero p, .card p, .card li, .callout { line-height: 1.68; }
  .nav-links { line-height: 1.45; }
  .button { min-height: 46px; }
  #feedback-form label:not(.feedback-trap), .human-check { font-size: .9375rem; line-height: 1.5; }
  #feedback-form input:not([type="checkbox"]), #feedback-form select, #feedback-form textarea { min-height: 48px; font-size: 16px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
