/* ===============================================
# reset
=============================================== */

/* box sizing */
html {
  box-sizing: border-box;
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* margin / padding reset */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dt,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

/* body */
body {
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1.6rem;
  font-family: sans-serif;
  text-rendering: optimizeLegibility;
}

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

/* link */
a {
  color: inherit;
  text-decoration: none;
}

/* media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* image border */
img {
  border-style: none;
}

/* form */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

button {
  cursor: pointer;
  padding: 0;
}

textarea {
  resize: vertical;
}

select {
  cursor: pointer;
}

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

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

/* iframe */
iframe {
  border: 0;
}

/* address */
address {
  font-style: normal;
}

/* emphasis */
em,
i {
  font-style: normal;
}

strong,
b {
  font-weight: bold;
}

/* small */
small {
  font-size: 100%;
}

/* sub / sup */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}
