:root {
  --aiwt-accent: #0ea5a8;
  --aiwt-accent-dark: #0a8f94;
  --aiwt-navy: #12304a;
  --aiwt-text: #1f2937;
  --aiwt-muted: #667085;
  --aiwt-border: #e5e7eb;
  --aiwt-bg-soft: #f5f8fa;
  --aiwt-white: #ffffff;
  --aiwt-content-width: 1156px;
  --aiwt-site-padding: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--aiwt-white);
  color: var(--aiwt-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--aiwt-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
.site-main { min-height: 45vh; }
.page-shell {
  width: min(calc(100% - (var(--aiwt-site-padding) * 2)), var(--aiwt-content-width));
  margin: 0 auto;
  padding: 64px 0 86px;
}
.front-page-entry__content > *:first-child { margin-top: 0; }
.front-page-entry__content > *:last-child { margin-bottom: 0; }
.page-shell--legal { max-width: 920px; }
.page-entry__header { margin-bottom: 40px; }
.page-entry__title {
  margin: 0;
  color: var(--aiwt-navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.35;
  letter-spacing: -.02em;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
  margin: 56px 0 22px;
  color: var(--aiwt-navy);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.45;
}
.entry-content h3 {
  margin: 40px 0 16px;
  color: var(--aiwt-navy);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.5;
}
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content table,
.entry-content figure { margin-top: 0; margin-bottom: 24px; }
.entry-content ul,
.entry-content ol { padding-left: 1.45em; }
.entry-content li + li { margin-top: 8px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th,
.entry-content td { padding: 13px 15px; border: 1px solid #dfe6e9; text-align: left; vertical-align: top; }
.entry-content th { background: #f6f9fa; color: var(--aiwt-navy); }
.post-entry { padding: 28px 0; border-bottom: 1px solid var(--aiwt-border); }
.post-entry__title { margin: 0; font-size: clamp(24px, 2.5vw, 32px); }
.post-entry__title a { color: inherit; }
.simple-error { max-width: 720px; margin: 60px auto; text-align: center; }
.simple-error__code { margin: 0; color: var(--aiwt-accent-dark); font-size: 72px; font-weight: 900; line-height: 1; }
