@charset "UTF-8";

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  border: 0;
  padding: 0;
  box-sizing: border-box;
  vertical-align: baseline;
  background-color: transparent;
  outline: 0;
}

body {
  min-width: 320px;
  min-height: 100vh;
  line-height: 1;
  tab-size: 4;
  -webkit-text-size-adjust: 100%;

  /* スクロールバーの幅を考慮に入れて、やや早めからoverflow-xをautoにしておく */
  @media screen and (min-width: 500px) {
    & {
      overflow-x: hidden;
    }
  }
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul,
li {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  font-size: 100%;
  text-decoration: none;
  background-color: transparent;
}

ins {
  text-decoration: none;
}

/* change colours to suit your needs */

mark {
  font-weight: bold;
  font-style: italic;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */

hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  border: 0;
  padding: 0;
}

input,
textarea,
select {
  border: none;
  border-radius: 2px;
  vertical-align: middle;
}

input:focus {
  outline: 0;
}

button {
  border: none;
  padding: 0;
  background-color: transparent;
  appearance: none;
  cursor: pointer;
  outline: none;
}

label {
  cursor: pointer;
}

textarea {
  font: initial;
  font-family: inherit;
  line-height: 1.5;
}

*::before,
*::after {
  box-sizing: border-box;
}