@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl, dt, dd,
ul, ol, li,
fieldset,
legend,
pre {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%; 
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.8;
  text-align: left;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.4;
}

address {
  font-style: normal;
}

small {
  font-size: inherit;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }

ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

picture,
video,
canvas,
svg,
iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

img {
  display: inline-block;
  max-width: 100%;
  border: 0;
  height: auto;
}
input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

textarea {
  overflow: auto;
  resize: vertical;
}

input[type="search"] {
  -webkit-appearance: none;
}
input::-webkit-search-decoration {
  -webkit-appearance: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 0;
  text-align: left;
  vertical-align: top;
  font-weight: inherit;
}

caption {
  text-align: left;
}

hr {
  height: 0;
  border: 0;
  border-top: 1px solid;
  color: inherit;
}

[hidden] {
  display: none !important;
}

/* キーボード操作時のフォーカスは残す（マウス操作時は出さない） */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}