@charset "UTF-8";

@font-face {
  font-family: "GENEE Noto Sans JP";
  src: url("../font/NotoSansJP-Reg400_SubSet.woff2") format("woff2"),
       url("../font/NotoSansJP-Reg400_SubSet.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "GENEE Noto Sans JP";
  src: url("../font/NotoSansJP-SemBld600_SubSet.woff2") format("woff2"),
       url("../font/NotoSansJP-SemBld600_SubSet.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --unit: 0.375rem; /* 6px */

  --font-family-sans: "GENEE Noto Sans JP", sans-serif;
  --font-family-mono: "Source Code Pro", monospace;

  --wrapper-md: 60rem; /* 960px */

  --space-xxs: calc(var(--unit) * 1);   /*  6px */
  --space-xs:  calc(var(--unit) * 2);   /* 12px */
  --space-sm:  calc(var(--unit) * 4);   /* 24px */
  --space-md:  calc(var(--unit) * 6);   /* 36px */
  --space-lg:  calc(var(--unit) * 8);   /* 48px */
  --space-xl:  calc(var(--unit) * 12);  /* 72px */
  --space-xxl: calc(var(--unit) * 20);  /*120px */

  --fs-xs : 0.75rem;
  --fs-sm : 0.875rem;
  --fs-md : 1rem;
  --fs-lg : clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-xl : clamp(1.5rem, 2.7vw, 2.25rem);
  --fs-xxl: clamp(2.25rem, 3.6vw, 3rem);

  --lh-xs: 1.5;
  --lh-sm: 1.75;
  --lh-md: 2;

  --color-text-drk-100: #222;
  --color-text-drk-200: #888;
  --color-text-drk-300: #666;
  --color-text-lgt-100: #eee;
  --color-text-lgt-200: #ccc;
  --color-text-lgt-300: #888;

  --color-bg-drk-100: #222;
  --color-bg-drk-200: #0a0a0a;
  --color-bg-lgt-100: #eee;
  --color-bg-lgt-200: #e1e1e1;
  --color-bg-lgt-300: #f7f7f7;
  --color-bg-lgt-400: #d7d7d7;

  --color-white: #fff;
  --color-link-100: #00a500;
  --color-link-200: #008c00;
  --color-accent-100: #00ff00;
  --color-border-100: #ddd;
  --color-border-drk-200: #888;
}

html {
  font-size: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  background: var(--color-bg-drk-100);
  color: var(--color-text-lgt-100);
  font-family: var(--font-family-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-md);
}

img { max-width: 100%; height: auto; }

a:link, a:visited {
  color: var(--color-link-100);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--color-link-200);
}
a img {
  transition: opacity 0.3s;
}
a:hover img { opacity: 0.7; }

h1, h2, h3, h4 {
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  font-weight: 600;
}

h1, h2 {
  font-size: var(--fs-xxl);
  line-height: var(--lh-xs);
}

h3 {
  font-size: var(--fs-xl);
  line-height: var(--lh-xs);
}

h4 {
  font-size: var(--fs-lg);
  line-height: var(--lh-sm);
}

h1 span, h2 span, h3 span, h4 span {
  font-weight: 400;
  font-size: var(--fs-sm);
  letter-spacing: 0;
}

p {
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  padding-bottom: var(--space-sm);
  text-align: justify;
}

p:last-child { padding-bottom: var(--space-lg); }

ul {
  list-style: none;
  padding-left: 1.25rem;
  margin: 0 0 0.625rem;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
  }
}