/* ==========================================================================
   reset.css
   Modern minimal reset + accessibility baseline
   ========================================================================== */

/* 基本構造の初期化 */
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,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5要素のデフォルトブロック化 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

/* ルート設定 */
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* body初期値 */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #1B1F23;
  background-color: #fff;
  word-wrap: break-word;
}

/* リンク */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  text-underline-offset: 3px;
}

button:hover,
a:hover,
a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: .2s;
  filter: brightness(.8);
  cursor: pointer;
  text-decoration-thickness: 2px;
}

/* リスト */
ol,
ul {
  list-style: none;
}

/* 画像 */
img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}

/* テーブル */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  text-align: left;
  font-weight: normal;
  vertical-align: top;
}

/* フォーム要素の初期化 */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.5;
  margin: 0;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

button:disabled {
  cursor: default;
}

textarea {
  resize: vertical;
}

p {
  margin-bottom: .5em;
}

/* 見出し */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
}

/* 引用など */
blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

/* スキップリンク */
.skip-link {
  position: absolute;
  top: -55px;
  left: 0;
  background: #004080;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* 隠し要素（アクセシビリティ対応） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ボックスサイズを統一 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* strong, em の初期設定 */
strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* 見やすいフォーカスリング（アクセシブルなテーマ対応） */
:focus-visible {
  /* outline: 2px solid #1F7AE0;
  outline-offset: 3px; */
}

/* メディア要素の初期状態（余白除去） */
figure {
  margin: 0;
}

/* code系 */
pre,
code {
  font-family: "Source Code Pro", monospace;
  font-size: 0.95em;
}