@charset "UTF-8";

/*
 * モダンリセットCSS & ベースCSS (2025年版)
 * vwとclampを使用したフレキシブルなタイポグラフィを実装
 */

/* ============================================
   リセット部分
   ============================================ */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ベースとなるフォントサイズを設定 (1rem = 10px) */
html {
  font-size: 62.5%; /* 16px × 62.5% = 10px */
  -webkit-text-size-adjust: 100%;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  letter-spacing:0.1em;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
/*img,*/
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Preserve aspect ratio for embedded content */
iframe {
  max-width: 100%;
  border: 0;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Remove all button styles and clickability when not needed */
button:not([class]),
input[type="button"]:not([class]),
input[type="reset"]:not([class]),
input[type="submit"]:not([class]) {
  cursor: pointer;
  background: transparent;
  border: 0;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Modern form controls */
input,
textarea {
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Remove iOS input shadow */
input,
textarea {
  -webkit-appearance: none;
  appearance: none;
}

/* Remove default focus styles and add custom focus styles */
:focus {
  outline: 0;
}

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

/* Set default tab-size */
pre, code {
  tab-size: 2;
}

/* Table resets */
table {
  border-collapse: collapse;
  width: 100%;
}

/* List defaults */
ol, ul, li {
  list-style: none;
}

/* Variable system colors support */
:root {
  color-scheme: light dark;
}

address {
    font-style: normal;
}