/*
 * Skillova's reusable type system, based on the computed typography and
 * foreground colors audited from https://studio.design/ja on 2026-08-16.
 *
 * Page-specific styles may override these defaults. This file is the source
 * of truth for the shared family, weight, size, color, and opacity tokens used
 * by the service site, app shell, and static design previews.
 */
@font-face {
  font-family: "LayGrotesk";
  src: url("/design11-assets/assets/t/LayGrotesk-Medium.woff") format("woff");
  font-weight: 300 500;
  font-display: swap;
}

@font-face {
  font-family: "LayGrotesk";
  src: url("/design11-assets/assets/t/LayGrotesk-Semibold.woff") format("woff");
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --studio-font-family: "LayGrotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --studio-font-family-structural: sans-serif;
  --studio-font-family-icon: sans-serif;

  --studio-font-weight-light: 300;
  --studio-font-weight-regular: 400;
  --studio-font-weight-medium: 500;
  --studio-font-weight-semibold: 600;
  --studio-font-weight-bold: 700;

  --studio-font-size-h1: 40px;
  --studio-font-size-h2: 28px;
  --studio-font-size-h3: 20px;
  --studio-font-size-h4: 22px;
  --studio-font-size-h5: 20px;
  --studio-font-size-body: 16px;
  --studio-font-size-body-sm: 14px;
  --studio-font-size-label: 13px;
  --studio-font-size-caption: 12px;
  --studio-font-size-fine: 9px;
  --studio-font-size-display: 44px;

  --studio-font-color-primary: #222222;
  --studio-font-color-body: #333333;
  --studio-font-color-inverse: #f6f6f6;
  --studio-font-color-inverse-strong: #f7f7f7;
  --studio-font-color-secondary: #acacac;
  --studio-font-color-fine: #858585;
  --studio-font-color-footer: #707070;
  --studio-font-color-label: #fafafa;
  --studio-font-color-black: #000000;
  --studio-font-opacity-secondary: 0.7;
  --studio-font-opacity-footer: 0.75;

  --studio-leading-tight: 1;
  --studio-leading-heading: 1.3;
  --studio-leading-copy: 1.6;
  --studio-leading-body: 1.9;
}

@media (max-width: 540px) {
  :root {
    --studio-font-size-h1: 36px;
    --studio-font-size-h2: 26px;
    --studio-font-size-h3: 17px;
    --studio-font-size-h4: 22px;
    --studio-font-size-h5: 18px;
    --studio-font-size-body: 15px;
    --studio-font-size-body-sm: 14px;
    --studio-font-size-label: 12px;
    --studio-font-size-caption: 12px;
    --studio-font-size-display: 36px;
  }
}

html {
  color: var(--studio-font-color-black);
  font-family: var(--studio-font-family);
  font-size: var(--studio-font-size-body);
  font-weight: var(--studio-font-weight-regular);
}

body {
  color: var(--studio-font-color-primary);
  font-family: var(--studio-font-family);
  font-feature-settings: "palt" 1;
  font-size: var(--studio-font-size-body);
  font-style: normal;
  font-weight: var(--studio-font-weight-regular);
}

h1,
h2,
h3,
h4,
h5,
p {
  font-family: var(--studio-font-family);
  font-style: normal;
}

h1 {
  color: var(--studio-font-color-primary);
  font-size: var(--studio-font-size-h1);
  font-weight: var(--studio-font-weight-medium);
}

h2 {
  color: var(--studio-font-color-primary);
  font-size: var(--studio-font-size-h2);
  font-weight: var(--studio-font-weight-medium);
}

h3 {
  color: var(--studio-font-color-primary);
  font-size: var(--studio-font-size-h3);
  font-weight: var(--studio-font-weight-medium);
}

h4 {
  color: var(--studio-font-color-primary);
  font-size: var(--studio-font-size-h4);
  font-weight: var(--studio-font-weight-medium);
}

h5 {
  color: var(--studio-font-color-primary);
  font-size: var(--studio-font-size-h5);
  font-weight: var(--studio-font-weight-medium);
}

p {
  color: var(--studio-font-color-primary);
  font-size: var(--studio-font-size-body);
  font-weight: var(--studio-font-weight-regular);
}

button {
  color: var(--studio-font-color-black);
  font-family: var(--studio-font-family);
  font-size: var(--studio-font-size-body);
  font-weight: var(--studio-font-weight-regular);
}

/* Explicit roles for components whose visible text is nested in a span or div. */
.studio-type-display {
  color: var(--studio-font-color-primary);
  font-family: var(--studio-font-family);
  font-size: var(--studio-font-size-display);
  font-weight: var(--studio-font-weight-medium);
  line-height: var(--studio-leading-heading);
}

.studio-type-body-sm {
  color: var(--studio-font-color-primary);
  font-family: var(--studio-font-family);
  font-size: var(--studio-font-size-body-sm);
  font-weight: var(--studio-font-weight-regular);
}

.studio-type-caption {
  color: var(--studio-font-color-secondary);
  font-family: var(--studio-font-family);
  font-size: var(--studio-font-size-caption);
  font-weight: var(--studio-font-weight-medium);
}

.studio-type-fine {
  color: var(--studio-font-color-fine);
  font-family: var(--studio-font-family);
  font-size: var(--studio-font-size-fine);
  font-weight: var(--studio-font-weight-regular);
}

.studio-icon {
  font-family: var(--studio-font-family-icon);
  font-style: normal;
  font-weight: var(--studio-font-weight-regular);
}
