/* ============================================================
   Blue Academy — Base Styles (Design Tokens, Reset, Typography)
   ============================================================ */

/* ============ Design Tokens ============ */
:root {
  /* Colors — Blue brand */
  --blue: #0066FF;
  --blue-dark: #0052CC;
  --blue-light: #4D94FF;
  --navy: #001A4D;

  /* Colors — Neutrals */
  --ink: #0A1224;
  --muted: #4A5568;
  --border: #E5E9F0;
  --soft-bg: #F5F7FA;
  --white: #FFFFFF;

  /* Typography */
  --font-en: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-base: var(--font-jp);

  /* Layout */
  --container-max: 1280px;
  --container-padding: 24px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
}

/* ============ Reset ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--blue);
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* ============ Typography ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-jp);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}

p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

strong {
  font-weight: 700;
}

/* ============ Utility ============ */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============ WordPress core blocks (最低限) ============ */
.alignleft { float: left; margin-right: 16px; }
.alignright { float: right; margin-left: 16px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 8px; }
.screen-reader-text { position: absolute; left: -9999px; }
