/* =========================================================
   DOSIN Website v2.0
   Base Styles
========================================================= */

:root {
  --color-bg: #ffffff;
  --color-surface: #f5f4f0;
  --color-surface-light: #f9fafb;

  --color-text: #111827;
  --color-text-muted: #6b7280;

  --color-border: #e5e7eb;

  --color-primary: #111827;
  --color-primary-hover: #0b1220;

  --color-white: #ffffff;

  --font-family-base:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}


/* Reset
--------------------------------------------------------- */

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

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  background: var(--color-bg);
  color: var(--color-text);

  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
}


/* Typography
--------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin-top: 0;
}

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

a:hover {
  text-decoration: none;
}


/* Media
--------------------------------------------------------- */

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}


/* Lists
--------------------------------------------------------- */

ul,
ol {
  margin-top: 0;
}


/* Forms / Buttons
--------------------------------------------------------- */

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}


/* Accessibility
--------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}