/* reset CSS */

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;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

html {
  /*  scroll-behavior: smooth;*/
}

body {
  background: #f9f9f9;
  line-height: 1;
  min-width: -moz-fit-content;
  min-width: fit-content;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Helvetica Neue", Arial, Meiryo, sans-serif;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
  word-break: break-word;
  word-wrap: break-word;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul,
ol {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* change colours to suit your needs */
ins {
  background-color: #ffff99;
  color: #000000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ffff99;
  color: #000000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

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

td,
th {
  vertical-align: middle;
  word-break: break-word;
}

button {
  padding: 0.4rem;
  border-radius: 0.25em;
  font-weight: normal;
  font-family: unset;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
  font-family: inherit;
}

select,
input[type="text"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="email"],
input[type="password"],
textarea {
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  border: 1px solid #a2a2a2;
  padding-left: 0.5rem;
  height: 1.8rem;
  background: #f9f9f9;
  border-radius: 3px;
  width: 100%;
  color: #000000;
}

textarea {
  resize: vertical;
  overflow: auto;
  font-family: inherit !important;
}

select,
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="email"],
input[type="date"],
input[type="time"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select::-ms-expand,
input[type="date"]::-ms-expand {
  display: none;
}

input[type="submit"],
input[type="button"],
input[type="reset"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  width: 100%;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration,
input[type="reset"]::-webkit-search-decoration {
  display: none;
}

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

input[type="submit"] {
  box-shadow: inset 0 1px 0 #ffffff;
  background: linear-gradient(to bottom, #ffc107 0, #ff9800 100%);
  border: 1px solid #da8201;
  color: #000000;
}

input[type="submit"]:disabled {
  cursor: default;
  background: #bbbbbb;
  color: #000000;
  border: 1px solid #a2a2a2;
  pointer-events: none;
}

input[type="reset"] {
  border: 1px solid #000000;
}

input[type="submit"]:hover {
  opacity: 0.8;
  transition: 0.3s;
}

input[type="reset"]:hover {
  background: #cccccc;
  transition: 0.3s;
}

/* 1020px以下 */
@media screen and (max-width: 1020px) {
  input[type="text"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

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

img {
  max-width: 100%;
  height: auto;
}

/* reset CSS END */
