@charset "utf-8";

/*
===============================================
 Foundation: デザイントークン
===============================================
*/

:root {
  --color-base: #fff;
  --color-bg: #f5f6f8;
  --color-sidebar: #f9fafb;
  --color-text: #1f2430;
  --color-muted: #5b6270;
  --color-faint: #9aa0ab;
  --color-accent: #ff7a00;
  --color-accent-dark: #e66e00;
  --color-accent-pale: #fff3e6;
  --color-accent-faint: #fffaf4;
  --color-border: #e6e8ec;
  --color-success: #2e9e5b;
  --color-success-pale: #e9f6ee;
  --color-error: #d64545;
  --color-favorite: #ec4a6a;
  --color-favorite-dark: #d8365a;
  --color-favorite-pale: #fdebef;
  --font-base: 'Noto Sans JP', -apple-system, blinkmacsystemfont, 'Hiragino Kaku Gothic ProN', meiryo, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  /* ブランドロゴが角ばったデザインのため、UIも角丸を基本的に使わない方針 */
  --radius: 0;
  --radius-lg: 0;
  --shadow-card: 0 0.125rem 0.75rem rgba(31, 36, 48, 0.08);
  --shadow-card-hover: 0 0.25rem 1rem rgba(255, 122, 0, 0.2);
  --l-sidebar-width: 15rem;
  --l-sidebar-width-collapsed: 4.5rem;
  --l-topbar-height: 3.75rem;
}

/*
===============================================
 Foundation: リセット
===============================================
*/

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  background-color: var(--color-base);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

button {
  cursor: pointer;
}

/*
===============================================
 Foundation: ベース
===============================================
*/

html {
  scroll-behavior: smooth;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--color-accent-dark);
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.4;
}

:focus-visible {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
