/* ====== リセットCSS ====== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5要素をブロックに */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* リスト・テーブル・引用のリセット */
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
blockquote, q { quotes: none; }
blockquote::before, blockquote::after,
q::before, q::after { content: ''; content: none; }

/* ====== リンク統一 ====== */
a {
  text-decoration: none;   /* 下線を消す */
  color: inherit;          /* 親要素の色を継承 */
}

/* リンクの状態を明示的に上書き（全体用） */
a:link,
a:visited {
  color: inherit;  /* 通常リンク・訪問済みリンクは親要素色 */
}

a:hover,
a:active {
  color: inherit;  /* ホバー・クリック中も親要素色 */
}

/* ====== ナビゲーション専用リンク ====== */
nav ul li a:link,
nav ul li a:visited {
  color: white !important; /* ナビリンクは白固定 */
}

nav ul li a:hover,
nav ul li a:active {
  color: #d8d6cc !important; /* ホバー・クリックで薄グレー */
}
