/* shared/base.css */

/* =========================
   CSS Variables / Theme
========================= */
:root {
  --color-main: #FD869F;
  --color-sub: #8C7CF0;
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #555555;
  --color-border: #eeeeee;
  --color-border-warning: #f8e1d7;
  --color-red:#e60012;
  --color-warning:#e65a00;

  --font-fallback:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    Arial,
    "Yu Gothic",
    Meiryo,
    sans-serif;
}

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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* =========================
   Base Typography
========================= */
body {
  background: var(--color-bg);
  color: var(--color-text);
  /* next/font が付ける class のフォントを優先し、ダメな時だけフォールバック */
  font-family: var(--font-fallback);
  font-weight: 500;
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
}
