:root {
  --color-black: #000;
  --color-white: #fff;
  --color-gray: #efefef;
  --color-line: #707070;
  --sidebar-width: 240px;
  --font-sans: "Noto Sans JP", "Yaku Han JP", sans-serif;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-gray);
  color: var(--color-black);
  font-family: var(--font-sans);
  line-height: 1.5;
}

body.is-menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-main {
  min-height: 100vh;
}

.site-main--home {
  min-height: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .site-main {
    padding-left: var(--sidebar-width);
  }
}
