/* ================================================
   夜凪舎 - CSS Reset
   ブラウザのデフォルトスタイルをリセット
   ================================================ */

/* Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Margin & Padding Reset */
* {
  margin: 0;
  padding: 0;
}

/* HTML & Body */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  height: 100%;
}

/* Typography Reset */
body {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* List Reset */
ul,
ol {
  list-style: none;
}

/* Link Reset */
a {
  color: inherit;
  text-decoration: inherit;
}

/* Button Reset */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

button:focus {
  outline: none;
}

/* Table Reset */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Image Reset */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Form Reset */
input,
button,
textarea,
select {
  font: inherit;
}

/* Text Selection */
::selection {
  background-color: var(--color-gold);
  color: var(--color-navy-deep);
}

::-moz-selection {
  background-color: var(--color-gold);
  color: var(--color-navy-deep);
}
