body.page-home {
  --home-bg: #f6f3ee;
  --home-ink: #151515;
  --home-muted: #68625d;
  --home-line: rgba(21, 21, 21, 0.14);
  --home-line-strong: rgba(21, 21, 21, 0.28);
  --home-panel: rgba(255, 252, 246, 0.82);
  --home-accent: #245b49;
  --home-accent-dark: #173c31;
  --home-warm: #8f4b39;
  background: var(--home-bg);
  color: var(--home-ink);
  font-family: "Manrope", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  overflow-x: hidden;
}

body.page-home main {
  padding-bottom: 64px;
}

body.page-home > .site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  color: #fffaf0;
  backdrop-filter: none;
}

body.page-home .site-header__inner {
  max-width: 1280px;
  padding-top: 22px;
}

body.page-home .site-brand,
body.page-home .site-nav a {
  color: rgba(255, 250, 240, 0.9);
}

body.page-home .site-nav a:hover,
body.page-home .site-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

body.page-home footer .ft_bottom p {
  color: var(--home-muted);
}

body.page-home button,
body.page-home input,
body.page-home textarea,
body.page-home select {
  border-radius: 999px;
  background: #ffffff;
  color: var(--home-ink);
  border: 1px solid transparent;
}

.home-shell {
  min-height: 100vh;
}

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

.home-shell img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.home-shell a {
  color: inherit;
}

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

.home-hero {
  position: relative;
  width: auto;
  min-height: min(760px, 92svh);
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: none;
  gap: 0;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 0;
  background: #191613;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0;
  background: #191613;
}

.home-hero__media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 15, 13, 0.86) 0%, rgba(17, 15, 13, 0.62) 42%, rgba(17, 15, 13, 0.2) 78%),
    linear-gradient(180deg, rgba(17, 15, 13, 0.62) 0%, rgba(17, 15, 13, 0.14) 38%, rgba(17, 15, 13, 0.82) 100%);
}

.home-hero__content {
  grid-column: auto;
  grid-row: auto;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 128px 0 56px;
  color: #fffaf0;
  min-width: 0;
}

.home-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(44px, 9vh, 92px);
}

.home-quick a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.08);
  color: rgba(255, 250, 240, 0.9);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.home-quick a:hover,
.home-quick a:focus-visible {
  border-color: rgba(255, 250, 240, 0.5);
  background: rgba(255, 250, 240, 0.16);
}

.home-kicker {
  margin: 0;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.home-hero .home-kicker {
  color: rgba(255, 250, 240, 0.72);
}

.home-hero h1 {
  max-width: none;
  margin: 14px 0 0;
  font-family: "Cormorant Garamond", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(56px, 6.3vw, 104px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  word-break: keep-all;
}

.home-hero h1 span {
  white-space: nowrap;
}

@media (min-width: 760px) {
  .home-hero h1 {
    white-space: nowrap;
  }
}

.home-hero__lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.home-search {
  max-width: 720px;
  margin: 34px 0 0;
  width: 100%;
  box-sizing: border-box;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.14);
  backdrop-filter: blur(18px);
}

.home-search input {
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.94);
  color: var(--home-ink);
  font-size: 15px;
  outline: 0;
}

.home-search input::placeholder {
  color: #79716a;
}

.home-search button {
  min-width: 88px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--home-accent);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.home-search button:hover,
.home-search button:focus-visible {
  background: var(--home-accent-dark);
}

.home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  max-width: 780px;
  margin-top: 24px;
  color: rgba(255, 250, 240, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.home-hero__meta span + span::before {
  content: "/";
  margin-right: 18px;
  color: rgba(255, 250, 240, 0.34);
}

.home-ledger,
.home-platform,
.home-content {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.home-ledger {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(34px, 5vw, 58px) 0 clamp(28px, 4vw, 48px);
}

.home-ledger__intro h2,
.home-section-head h2,
.home-index h2 {
  margin: 8px 0 0;
  color: var(--home-ink);
  font-family: inherit;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.home-ledger__intro .home-kicker,
.home-featured .home-kicker {
  color: var(--home-accent);
}

.home-topic-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--home-line-strong);
}

.home-topic {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 48px);
  padding: 18px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-topic a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: baseline;
  color: var(--home-ink);
  text-decoration: none;
}

.home-topic a:hover strong {
  color: var(--home-accent);
}

.home-topic span,
.home-topic em,
.home-featured__meta,
.home-recent-item span,
.home-recent-item time {
  color: var(--home-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.home-topic span {
  grid-column: 1 / -1;
}

.home-topic strong {
  min-width: 0;
  color: var(--home-ink);
  font-family: inherit;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 800;
  line-height: 1.25;
  transition: color 0.16s ease;
}

.home-topic p {
  max-width: 52ch;
  margin: 0;
  color: var(--home-muted);
  line-height: 1.75;
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-platform {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(30px, 5vw, 54px) 0;
  border-top: 1px solid var(--home-line);
}

.home-platform__intro h2 {
  margin: 8px 0 0;
  color: var(--home-ink);
  font-family: inherit;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.home-platform__intro p:not(.home-kicker) {
  max-width: 38ch;
  margin: 16px 0 0;
  color: var(--home-muted);
  line-height: 1.8;
}

.home-platform__intro .home-kicker {
  color: var(--home-warm);
}

.home-platform__list {
  display: grid;
  border-top: 1px solid var(--home-line-strong);
}

.home-platform-item {
  display: grid;
  grid-template-columns: 96px minmax(140px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--home-line);
  color: inherit;
  text-decoration: none;
}

.home-platform-item span {
  color: var(--home-warm);
  font-size: 12px;
  font-weight: 800;
}

.home-platform-item strong {
  color: var(--home-ink);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.25;
  font-weight: 800;
  transition: color 0.16s ease;
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-platform-item em {
  color: var(--home-muted);
  font-style: normal;
  line-height: 1.75;
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-platform-item:hover strong,
.home-tags__list a:hover {
  color: var(--home-accent);
}

.home-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(34px, 6vw, 76px);
  padding: clamp(34px, 5vw, 58px) 0 0;
  border-top: 1px solid var(--home-line);
}

.home-main {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
  min-width: 0;
}

.home-featured {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 52px);
}

.home-featured__body {
  min-width: 0;
}

.home-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 16px;
}

.home-featured__meta span {
  color: var(--home-warm);
}

.home-featured h2 {
  max-width: 850px;
  margin: 0;
  font-family: inherit;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.22;
}

.home-featured h2 a,
.home-recent-item a,
.home-index a,
.home-section-head a {
  color: inherit;
  text-decoration: none;
}

.home-featured h2 a:hover,
.home-recent-item a:hover strong,
.home-index a:hover span,
.home-section-head a:hover {
  color: var(--home-accent);
}

.home-featured__excerpt {
  max-width: 74ch;
  margin: 14px 0 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.home-section-head h2 {
  font-size: clamp(21px, 2.2vw, 30px);
}

.home-section-head a {
  color: var(--home-accent);
  font-size: 13px;
  font-weight: 800;
}

.home-recent__list {
  display: grid;
  border-top: 1px solid var(--home-line-strong);
}

.home-recent-item a {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 88px;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-recent-item strong {
  color: var(--home-ink);
  font-family: inherit;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 800;
  line-height: 1.34;
  transition: color 0.16s ease;
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-recent-item time {
  justify-self: end;
  white-space: nowrap;
}

.home-empty {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.8;
}

.home-side {
  display: grid;
  align-content: start;
  gap: 34px;
  min-width: 0;
}

.home-glyph {
  aspect-ratio: 1 / 0.72;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.68);
}

.home-glyph img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  opacity: 0.74;
}

.home-index {
  position: sticky;
  top: 92px;
}

.home-index ul {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line-strong);
}

.home-index a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-index span {
  color: var(--home-ink);
  line-height: 1.45;
  transition: color 0.16s ease;
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-index strong {
  color: var(--home-muted);
  font-size: 12px;
}

.home-tags,
.home-links {
  border-top: 1px solid var(--home-line-strong);
  padding-top: 18px;
}

.home-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.home-tags__list a {
  color: var(--home-accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.home-links p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  body.page-home > .site-header {
    position: relative;
    border-bottom: 0;
    background: #151515;
    color: #fffaf0;
  }

  body.page-home .site-header__inner {
    padding-top: 12px;
  }

  .home-hero {
    min-height: 720px;
    grid-template-columns: none;
  }

  .home-ledger,
  .home-platform,
  .home-content,
  .home-featured {
    grid-template-columns: 1fr;
  }

  .home-content {
    gap: 52px;
  }

  .home-side {
    grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1fr);
  }

  .home-index {
    position: static;
  }
}

@media (max-width: 720px) {
  body.page-home main {
    padding-bottom: 44px;
  }

  .home-hero {
    width: auto;
    min-height: 700px;
    padding: 0;
  }

  .home-hero::before {
    background:
      linear-gradient(180deg, rgba(17, 15, 13, 0.82) 0%, rgba(17, 15, 13, 0.46) 34%, rgba(17, 15, 13, 0.88) 100%),
      linear-gradient(90deg, rgba(17, 15, 13, 0.74), rgba(17, 15, 13, 0.22));
  }

  .home-hero__content,
  .home-ledger,
  .home-platform,
  .home-content {
    width: min(100% - 32px, 1180px);
  }

  .home-hero__content {
    padding: 28px 0 34px;
  }

  .home-quick {
    display: flex;
    margin-bottom: 120px;
  }

  .home-hero h1 {
    max-width: 5em;
    font-size: clamp(58px, 18vw, 86px);
  }

  .home-hero__lead {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.75;
  }

  .home-search {
    grid-template-columns: 1fr;
    margin-top: 26px;
    padding: 6px;
    border-radius: 24px;
  }

  .home-search input,
  .home-search button {
    height: 46px;
    border-radius: 18px;
  }

  .home-hero__meta {
    display: grid;
    gap: 6px;
  }

  .home-hero__meta span + span::before {
    content: none;
  }

  .home-ledger {
    gap: 28px;
    padding-top: 34px;
  }

  .home-topic {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-platform {
    gap: 26px;
  }

  .home-platform-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .home-topic a {
    grid-template-columns: 1fr;
  }

  .home-topic em {
    justify-self: start;
  }

  .home-featured {
    gap: 18px;
  }

  .home-featured h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .home-recent-item a {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .home-recent-item time {
    justify-self: start;
  }

  .home-side {
    grid-template-columns: 1fr;
  }

  .home-glyph {
    display: none;
  }
}
