@charset "UTF-8";
/* ==========================================================================
   MiraiVets Partners ｜ reset.css
   --------------------------------------------------------------------------
   ◉ 役割：ブラウザごとに異なる「標準（UA）スタイル」をならし、
            こちら側のCSS（common / 各ページ）が意図どおりに効くようにします。
            ※ デザインの値はここには書きません。色・余白などは common.css 以降で。
   ◉ 読み込み順：reset.css → common.css → 各ページ用CSS（home / archive / article）
   ========================================================================== */

/* --- すべての要素を border-box に（幅計算を直感的に） --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --- 余白のリセット（ブラウザ既定のマージンを消す） --- */
* {
  margin: 0;
}

/* --- ルート／本文の基本 --- */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none; /* モバイルで勝手に文字サイズが変わるのを防ぐ */
}
body {
  min-height: 100vh;
  min-height: 100svh;
  line-height: 1.5;          /* 既定の窮屈な行間をならす（詳細は common で上書き） */
  -webkit-font-smoothing: antialiased;
}

/* --- 見出しのフォントサイズ継承を防がない：意図したサイズだけを使う --- */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* --- メディア要素はブロック化し、はみ出さないように --- */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* --- フォーム要素はフォントを継承（UA既定の別フォントを使わせない） --- */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* --- ボタンの既定の見た目を無効化（こちらで一から指定する） --- */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* --- リンクの既定下線・色を解除（common で再指定） --- */
a {
  color: inherit;
  text-decoration: none;
}

/* --- リスト記号を消す（ul / ol / menu） --- */
ul,
ol,
menu {
  list-style: none;
  padding: 0;
}

/* --- テーブルの罫線間隔をまとめる --- */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* --- 長い単語・URLの折り返し（はみ出し防止） --- */
p,
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* --- フォーカスは見やすく（キーボード操作のアクセシビリティ） --- */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* --- アニメーションを控えたい人への配慮（OSの設定を尊重） --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
