:root {
  --green: #155c43;
  --deep: #0a3024;
  --lime: #b8d765;
  --cream: #f6f4ed;
  --ink: #1d2924;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

body.menu-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

b,
strong {
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

p {
  text-align: justify;
  text-justify: inter-character;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  padding: 12px 18px;
  border: 0;
  color: #fff;
  background: var(--green);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s, transform .2s, visibility .2s;
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--deep);
}

@media (max-width: 760px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
  }
}
