:root {
  --persons-green: #285c3a;
  --persons-green-dark: #173d28;
  --persons-pink: #c94f73;
  --persons-pink-accessible: #a9385d;
  --persons-pink-soft: #fbe7ed;
  --persons-green-soft: #edf5ef;
  --persons-cream: #fff9f0;
  --persons-text: #25322a;
  --persons-white: #fff;
  --persons-border: #d9e2db;
  --persons-shadow: 0 0.75rem 2rem rgb(23 61 40 / 14%);
  --persons-shadow-soft: 0 0.5rem 1.5rem rgb(23 61 40 / 10%);
  --persons-radius-small: 0.75rem;
  --persons-radius-medium: 1.25rem;
  --persons-radius-large: 2rem;
  --persons-content: 47.5rem;
  --persons-wide: 73.75rem;
  --persons-header-height: 4.5rem;
  --persons-page-gutter: clamp(1rem, 4vw, 2rem);
  --persons-section-space: clamp(4rem, 9vw, 7.5rem);
  --persons-font-family: "BIZ UDPGothic", "BIZ UDゴシック", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--persons-header-height) + 1rem);
}

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

body {
  margin: 0;
  overflow-wrap: break-word;
  overflow-x: clip;
  background: var(--persons-white);
  color: var(--persons-text);
  font-family: var(--persons-font-family);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.75;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--persons-green-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

:focus-visible {
  outline: 0.1875rem solid var(--persons-pink);
  outline-offset: 0.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--persons-green-dark);
  font-family: var(--persons-font-family);
  font-weight: 700;
  line-height: 1.45;
}

p {
  margin-block: 0 1.5em;
}

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--persons-white);
  color: var(--persons-green-dark);
  font-weight: 700;
  white-space: normal;
}

.content-container {
  width: min(calc(100% - (2 * var(--persons-page-gutter))), var(--persons-wide));
  margin-inline: auto;
}

.content-container--narrow,
.entry-content > :where(:not(.alignwide):not(.alignfull)) {
  max-width: var(--persons-content);
}

.section {
  padding-block: var(--persons-section-space);
}

.site-main:not(.site-main--front) {
  min-height: 55vh;
}

.entry-title,
.archive-title {
  margin-top: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.alignwide {
  width: min(100%, var(--persons-wide));
  max-width: var(--persons-wide);
}

.alignfull {
  width: 100%;
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
