:root {
  --paper: #fff;
  --content-max: 1100px;
  --page-gutter: clamp(24px, 6vw, 88px);
  --ink: #29222f;
  --muted: #69616e;
  --purple: #663480;
  --purple-dark: #49235d;
  --canvas: #ffffff;
  --lilac: #fbf9fc;
  --lavender: #d6c3df;
  --notice: #fff4d6;
  --notice-ink: #715000;
  --ease: cubic-bezier(0.2, 0.75, 0.3, 1);
  font-family:
    Meiryo, "メイリオ", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
h2 {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: 0.035em;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  border: 0;
  cursor: pointer;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
[hidden] {
  display: none;
}
::selection {
  background: var(--lavender);
  color: var(--purple-dark);
}
.shell {
  width: min(var(--content-max), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}
.section-space {
  padding-block: 64px;
}
section[id],
main {
  scroll-margin-top: 120px;
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 72px);
  }
  :root {
    --page-gutter: 24px;
  }
  .section-space {
    padding-block: 52px;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 15px;
  }
  .shell {
    width: calc(100% - 40px);
  }
  :root {
    --page-gutter: 16px;
  }
  .section-space {
    padding-block: 38px;
  }
  h2 {
    font-size: clamp(25px, 6.8vw, 28px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s;
    transition-duration: 0s;
    scroll-behavior: auto;
  }
}
