/* ====== Perfect Reset CSS ====== */

/* 全要素の初期化 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HTML・Body */
html {
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  word-break: break-word;
}

/* リスト系 */
ul, ol {
  list-style: none;
}

li {
  list-style: none;
}

/* 見出し・段落 */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* リンク */
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

/* 画像 */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

/* テーブル */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* フォーム要素 */
input, textarea, select, button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

/* 強調系 */
strong, b {
  font-weight: bold;
}

em, i {
  font-style: italic;
}

/* フォーム・ボタン系詳細リセット */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

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

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

/* 隠し要素対応 */
[hidden] {
  display: none !important;
}
