/**
 * 全体のリセット
 *
 * WordPress CSS Coding Standards準拠
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html,
body {
  width: 100%;
  height: auto;
}


/**
 * テキスト関連のリセット
 */
a {
  color: inherit;
  text-decoration: none;
}


ul,
ol {
  list-style: none;
}


blockquote {
  margin: 0;
  padding: 0;
}


mark {
  background-color: transparent;
  color: inherit;
}


code {
  margin: 0;
  padding: 0;
  background-color: transparent;
  color: inherit;
  font-family: monospace, monospace;
  font-size: inherit;
}


/**
 * フォーム要素のリセット
 */
button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}


input[type="submit"],
input[type="button"] {
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  cursor: pointer;
  appearance: button;
}


input[type="submit"]:focus,
input[type="button"]:focus {
  outline-offset: -2px;
}


fieldset {
  margin: 0;
  padding: 0;
  border: none;
}


legend {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}


/**
 * メディア要素のリセット
 */
img {
  display: block;
  max-width: 100%;
  height: auto;
}


iframe {
  border: none;
}


svg {
  display: block;
  fill: currentColor;
}


/**
 * テーブル関連のリセット
 */
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}


th,
td {
  padding: 0;
  text-align: left;
}


/**
 * その他の要素のリセット
 */
hr {
  height: 1px;
  border: none;
  background-color: var(--color-hr, #e6e6e6);
}


pre {
  margin: 0;
  padding: 0;
  overflow: auto;
  font-family: inherit;
  font-size: inherit;
}


button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}