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

:root {
  --bg-0: #FAF6F0;
  --bg-1: #EFE4D4;
  --bg-2: #E4D5BF;
  --bg-card: #FFFDF9;
  --fg-0: #2B2118;
  --fg-1: #7A6A5A;
  --fg-2: #66564A;
  --hl: #C2552B;
  --hl-fg: #FFFFFF;
  --hl-ink: #A64420;
  --hl-deep: #8F3A19;
  --line: rgba(122, 106, 90, 0.38);
  --line-soft: rgba(122, 106, 90, 0.22);
  --sand: #DECFB8;
  --font-head: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Merriweather", Georgia, "Times New Roman", serif;
  --frame: 760px;
  --gutter: 16px;
  --step: 72px;
}

@media (min-width: 480px) {
  :root {
    --gutter: 24px;
  }
}

html {
  background: var(--bg-0);
  color: var(--fg-0);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body.page {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg-0);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

.page h1,
.page h2,
.page h3,
.page h4 {
  margin: 0;
  color: var(--fg-0);
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  text-wrap: balance;
}

:where(.page) p,
:where(.page) ul,
:where(.page) ol,
:where(.page) dl,
:where(.page) dd,
:where(.page) blockquote,
:where(.page) figure,
:where(.page) fieldset {
  margin: 0;
}

.page ul,
.page ol {
  padding: 0;
  list-style: none;
}

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

.page a:hover {
  color: inherit;
  text-decoration: none;
}

.page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page :focus {
  outline: none;
}

.page a:focus-visible,
.page button:focus-visible,
.page summary:focus-visible,
.page input:focus-visible {
  outline: 2px solid var(--hl);
  outline-offset: 3px;
}

.gh-wrap,
.gh-canvas {
  width: 100%;
  max-width: calc(var(--frame) + var(--gutter) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.gh-issue {
  background: var(--bg-0);
  border-top: 3px solid var(--hl);
}

.gh-issue-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  color: var(--fg-1);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gh-issue-month {
  display: none;
}

@media (min-width: 480px) {
  .gh-issue-month {
    display: inline;
  }
}

.gh-head {
  background: var(--bg-0);
}

.gh-head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 12px;
  border-bottom: 1px solid var(--line);
}

.gh-head-logo {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--fg-0);
}

.gh-head-logo::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 4px;
  margin-top: 10px;
  background: var(--hl);
}

.gh-head-nav {
  margin-right: -8px;
}

.gh-head-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gh-head-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fg-0);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.page .gh-head-nav a:hover {
  color: var(--hl-ink);
  text-decoration: underline;
  text-decoration-color: var(--hl);
}

@media (min-width: 480px) {
  .gh-head-nav a {
    padding: 0 10px;
    font-size: 15px;
  }
  .gh-head-nav {
    margin-right: -10px;
  }
}

.gh-main {
  display: block;
  padding-top: 24px;
  background: var(--bg-0);
}

@media (min-width: 840px) {
  .gh-main {
    padding-top: 40px;
  }
}

.gh-hero {
  background: var(--bg-1);
  padding: 24px 24px 56px;
}

.gh-article-tag {
  display: inline-block;
  margin: 0;
  padding: 8px 11px 7px;
  background: var(--hl);
  color: var(--hl-fg);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page .gh-article-title {
  margin-top: 20px;
  font-size: clamp(28px, calc(15px + 3vw), 40px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.012em;
}

.gh-article-title em {
  font-style: normal;
  color: var(--hl);
}

.gh-article-excerpt {
  margin-top: 16px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-0);
}

.gh-article-meta {
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--fg-2);
}

.gh-glance {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.gh-glance li {
  padding: 14px 0 0;
}

.gh-glance li + li {
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.gh-glance-key {
  display: block;
  margin-bottom: 4px;
  color: var(--hl-ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gh-glance-text {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-0);
}

@media (min-width: 840px) {
  .gh-hero {
    padding: 48px 48px 104px;
  }
  .gh-article-excerpt {
    margin-top: 20px;
    font-size: 17px;
  }
  .gh-article-meta {
    margin-top: 22px;
  }
  .gh-glance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 28px;
    margin-top: 28px;
  }
  .gh-glance li,
  .gh-glance li + li {
    margin-top: 0;
    padding-top: 16px;
    border-top: 0;
  }
  .gh-glance li + li {
    border-left: 1px solid var(--line-soft);
    padding-left: 28px;
    margin-left: -1px;
  }
}

.kg-image-card {
  margin: 0;
}

.kg-image-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.kg-image-card figcaption {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-1);
}

.gh-hero-photo {
  position: relative;
  margin: -32px 24px 0;
}

@media (min-width: 840px) {
  .gh-hero-photo {
    margin: -56px 48px 0;
  }
}

.page .gh-content > * {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page .gh-content > .kg-width-wide {
  max-width: none;
}

.gh-front .gh-content {
  padding-top: 56px;
}

.gh-front .gh-content > * + * {
  margin-top: var(--step);
}

.gh-post .gh-content,
.gh-text .gh-content {
  padding-top: 36px;
}

.gh-post .gh-content > * + *,
.gh-text .gh-content > * + * {
  margin-top: 1.1em;
}

.gh-post .gh-content > * + .kg-width-wide,
.gh-post .gh-content > .kg-width-wide + * {
  margin-top: 40px;
}

.page .gh-content > h2 {
  margin-top: 2.3em;
  margin-bottom: 0;
  font-size: clamp(22px, calc(16px + 1.6vw), 26px);
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.page .gh-content > h3 {
  margin-top: 1.9em;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.3;
}

.page .gh-content > h2 + *,
.page .gh-content > h3 + * {
  margin-top: 0.7em;
}

.gh-content > ul,
.gh-content > ol {
  padding-left: 0;
}

.gh-content > ul li,
.gh-content > ol li {
  position: relative;
  padding-left: 24px;
}

.gh-content > ul li + li,
.gh-content > ol li + li {
  margin-top: 0.55em;
}

.gh-content > ul li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 7px;
  height: 7px;
  background: var(--hl);
}

.gh-content > ol {
  counter-reset: gh-step;
}

.gh-content > ol li {
  counter-increment: gh-step;
}

.gh-content > ol li::before {
  content: counter(gh-step) ".";
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--hl-ink);
}

.page .gh-content p a,
.page .gh-content li a,
.page .gh-content dd a {
  color: var(--hl-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 2px;
}

.page .gh-content p a:hover,
.page .gh-content li a:hover,
.page .gh-content dd a:hover {
  color: var(--hl-deep);
  text-decoration-thickness: 2px;
}

.page .gh-content strong {
  font-weight: 700;
}

.gh-content > .kg-sign {
  margin-top: 1.4em;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.gh-article-head {
  max-width: 600px;
  margin: 0 auto;
}

.gh-article-head .gh-article-title {
  margin-top: 12px;
}

.gh-article-head .gh-article-excerpt {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  max-width: none;
  color: var(--fg-0);
}

.gh-article-head .gh-article-meta {
  margin-top: 14px;
}

.gh-post .gh-article-head + .kg-image-card {
  margin-top: 32px;
}

.kg-image-crop {
  overflow: hidden;
}

.kg-image-crop img {
  transform: scale(1.75);
  transform-origin: 100% 100%;
}

.text_meta {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--fg-2);
}

.gh-text .gh-content > p:first-child {
  font-size: 18px;
  line-height: 1.65;
}

.gh-text .gh-article-head {
  padding-top: 8px;
}

.gh-text .gh-article-head .gh-article-title {
  margin-top: 0;
}

@media (min-width: 840px) {
  .gh-post .gh-content,
  .gh-text .gh-content {
    padding-top: 44px;
  }
}

.kg-letter-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--hl-ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kg-letter-label::before {
  content: "";
  flex: none;
  width: 16px;
  height: 11px;
  border: 1.5px solid currentColor;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 0.75px), currentColor calc(50% - 0.75px), currentColor calc(50% + 0.75px), transparent calc(50% + 0.75px)) left top / 50% 70% no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - 0.75px), currentColor calc(50% - 0.75px), currentColor calc(50% + 0.75px), transparent calc(50% + 0.75px)) right top / 50% 70% no-repeat;
}

.page .gh-section h2 {
  margin-top: 10px;
  margin-bottom: 22px;
  font-size: clamp(22px, calc(16px + 1.6vw), 28px);
  line-height: 1.22;
  letter-spacing: -0.005em;
}

.kg-letter {
  position: relative;
  padding: 28px 20px 20px;
  background: var(--bg-1);
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--fg-0);
}

.kg-letter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--hl) 0 8px, var(--bg-1) 8px 14px);
}

.page .kg-letter p + p {
  margin-top: 12px;
}

.kg-letter .kg-letter-sign {
  margin-top: 14px;
  font-style: normal;
  font-variant: small-caps;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-2);
}

.kg-answer-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 14px;
  color: var(--fg-1);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kg-answer-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.page .kg-answer p + p,
.page .kg-answer p + .kg-note-card,
.page .kg-answer .kg-note-card + p {
  margin-top: 1.1em;
}

.kg-answer .kg-answer-sign {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.kg-note-card {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--hl);
}

.kg-note-card .kg-note-label {
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg-1);
}

.kg-note-card .kg-note-text {
  font-size: 15px;
  line-height: 1.65;
}

.kg-inline-cta {
  margin-top: 8px;
}

.page .kg-inline-cta a {
  display: inline-block;
  padding: 12px 0;
  color: var(--hl-ink);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.page .kg-inline-cta a:hover {
  color: var(--hl-deep);
  text-underline-offset: 7px;
}

.kg-end-card {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-1);
}

.kg-end-card p {
  font-size: 16px;
  line-height: 1.65;
}

.kg-end-card p + p {
  margin-top: 6px;
}

.page .kg-button,
.page .kg-end-card .kg-button {
  display: block;
  margin-top: 20px;
  padding: 14px 24px;
  background: var(--hl);
  color: var(--hl-fg);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.page .kg-button:hover {
  background: var(--hl-deep);
  color: var(--hl-fg);
}

@media (min-width: 480px) {
  .page .kg-button,
  .page .kg-end-card .kg-button {
    display: inline-block;
  }
  .kg-end-card {
    padding: 28px;
  }
}

.page .about_notice {
  padding-left: 16px;
  border-left: 2px solid var(--line);
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
}

.home-template,
.post-template,
.text-template {
  background: var(--bg-0);
  color: var(--fg-0);
}

.kg-card,
.gh-section,
.gh-more-list,
.gh-service-intro,
.gh-form,
.site_wrap {
  display: block;
  min-width: 0;
  background: var(--bg-0);
  color: var(--fg-0);
}

.gh-article,
.gh-canvas,
.gh-content {
  background: var(--bg-0);
}

.gh-hero,
.kg-end-card {
  color: var(--fg-0);
}

.gh-card .gh-form {
  background: transparent;
}

.gh-front .gh-content > .about_notice {
  margin-top: 40px;
}

.gh-front .gh-content > .about_notice + .gh-more {
  margin-top: 88px;
}

.gh-more {
  display: block;
}

.gh-more-title {
  margin-bottom: 8px;
  color: var(--hl-ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page .gh-more-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hl-ink);
}
