/* ========================================
   WordPress Optimized Reset CSS (2026)
   ======================================== */

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

/* Remove margin */
* {
  margin: 0;
}

/* HTML */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Body */
body {
  min-height: 100vh;
  line-height: 1.6;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}

/* Typography reset */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* Lists */
ul, ol {
  padding: 0 0 0 1.5em;
  
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Forms */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Buttons */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Hidden */
[hidden] {
  display: none !important;
}

/* Focus (A11y) */
:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* iOS対策 */
button,
input,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
}

/* Number input */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* Motion reduce */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}