.guide-article-page main {
  background: #f5f1e8;
  color: #1e281d;
}

.guide-hero {
  padding: 5.5rem 0 4rem;
  background: linear-gradient(135deg, #111713 0%, #283722 58%, #5f6b42 100%);
  color: #f8f4e9;
}

.guide-hero-grid,
.guide-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  gap: 3rem;
  align-items: start;
}

.guide-hero-copy h1 {
  max-width: 780px;
  margin: 0 0 1.35rem;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.25rem, 4vw, 4.35rem);
  line-height: 1.14;
}

.guide-hero-lead {
  max-width: 720px;
  margin: 0;
  color: #e4ead7;
  font-size: 1.08rem;
  line-height: 1.95;
}

.guide-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.7rem 0;
}

.guide-facts span {
  display: grid;
  gap: .15rem;
  min-width: 10rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(239, 218, 151, .35);
  border-radius: .7rem;
  background: rgba(255, 255, 255, .08);
  color: #e5e8d9;
  font-size: .84rem;
}

.guide-facts strong {
  color: #efd995;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.guide-hero-media,
.guide-figure {
  margin: 0;
}

.guide-hero-media img,
.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.1rem;
  box-shadow: 0 1.5rem 3.5rem rgba(17, 23, 19, .2);
}

.guide-hero-media figcaption,
.guide-figure figcaption {
  margin-top: .7rem;
  color: #a8b69e;
  font-size: .82rem;
  line-height: 1.7;
}

.guide-content-layout {
  grid-template-columns: minmax(12rem, .28fr) minmax(0, 1fr);
  gap: 2rem;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.guide-toc {
  position: sticky;
  top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #ded7c5;
  border-radius: 1rem;
  background: #fffdf8;
}

.guide-toc-label {
  margin: 0 0 .8rem;
  color: #6c7b47;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-toc ol {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding-left: 1.15rem;
}

.guide-toc a {
  color: #3e4b2c;
  font-size: .9rem;
  line-height: 1.5;
  text-decoration: none;
}

.guide-toc a:hover,
.guide-toc a:focus-visible {
  color: #9a6d2f;
  text-decoration: underline;
}

.guide-main {
  min-width: 0;
  max-width: 860px;
}

.guide-answer,
.guide-summary {
  margin-bottom: 2.5rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid #d5c38d;
  border-radius: 1rem;
  background: #fffaf0;
  box-shadow: 0 .8rem 2rem rgba(76, 69, 42, .07);
}

.guide-answer h2,
.guide-summary h2,
.guide-section-heading h2,
.guide-sources h2 {
  margin: 0 0 .85rem;
  color: #27331f;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.35;
}

.guide-answer p,
.guide-section p,
.guide-summary p,
.guide-sources p {
  margin: 0 0 1rem;
  color: #43503d;
  line-height: 1.95;
}

.guide-answer ul {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: #3d4c31;
  line-height: 1.75;
}

.guide-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 1.5rem;
}

.guide-section-heading {
  margin-bottom: 1.15rem;
  padding-left: 1rem;
  border-left: .25rem solid #b3914a;
}

.guide-point-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.guide-point-card {
  position: relative;
  padding: 1.25rem;
  border: 1px solid #ded7c5;
  border-radius: .9rem;
  background: #fffdf8;
}

.guide-point-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .75rem;
  border-radius: 50%;
  background: #6c7b47;
  color: #fffdf8;
  font-size: .78rem;
  font-weight: 800;
}

.guide-point-card h3,
.guide-steps h3 {
  margin: 0 0 .45rem;
  color: #2e3d26;
  font-size: 1.05rem;
}

.guide-point-card p,
.guide-steps p {
  margin: 0;
  font-size: .92rem;
}

.guide-table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid #d9d1bc;
  border-radius: .85rem;
  background: #fffdf8;
}

.guide-table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.guide-table-wrap th,
.guide-table-wrap td {
  padding: .85rem .9rem;
  border-bottom: 1px solid #e7e0d0;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.guide-table-wrap th {
  background: #e9e2cf;
  color: #314126;
  font-size: .84rem;
}

.guide-table-wrap td {
  color: #43503d;
  font-size: .9rem;
}

.guide-figure {
  margin: 1.5rem 0;
}

.guide-figure figcaption {
  color: #6c735f;
}

.guide-video {
  margin: 1.5rem 0;
}

.guide-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #172018;
  box-shadow: 0 1.25rem 2.5rem rgba(17, 23, 19, .15);
}

.guide-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.guide-video figcaption {
  margin-top: .7rem;
  color: #6c735f;
  font-size: .82rem;
  line-height: 1.7;
}

.guide-steps {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: .85rem;
  padding: 1rem;
  border: 1px solid #ded7c5;
  border-radius: .9rem;
  background: #fffdf8;
}

.guide-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .65rem;
  background: #27331f;
  color: #f3dfa0;
  font-weight: 800;
}

.guide-note {
  padding: 1rem 1.1rem;
  border-left: .25rem solid #b3914a;
  background: #eee9dc;
  color: #465239 !important;
  font-size: .92rem;
}

.guide-faq details {
  margin-bottom: .8rem;
  border-bottom: 1px solid #ddd4c1;
}

.guide-faq summary {
  padding: .95rem 0;
  color: #304027;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.65;
}

.guide-faq details p {
  padding: 0 0 .85rem;
}

.guide-sources {
  margin-bottom: 2.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid #d9d1bc;
  border-bottom: 1px solid #d9d1bc;
}

.guide-sources ul {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.guide-sources li {
  display: grid;
  gap: .2rem;
}

.guide-sources a {
  color: #536b32;
  font-weight: 800;
}

.guide-sources span {
  color: #65715d;
  font-size: .88rem;
  line-height: 1.65;
}

.guide-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.guide-related-links a {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  padding: .7rem .9rem;
  border: 1px solid #b6a36a;
  border-radius: 99rem;
  color: #445631;
  font-weight: 800;
  text-decoration: none;
}

.guide-related-links a:hover,
.guide-related-links a:focus-visible {
  background: #ece5d1;
}

@media (max-width: 900px) {
  .guide-hero-grid,
  .guide-content-layout {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
  }

  .guide-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .guide-hero {
    padding: 3.75rem 0 2.5rem;
  }

  .guide-hero-copy h1 {
    font-size: 2.1rem;
  }

  .guide-content-layout {
    padding-top: 2rem;
  }

  .guide-toc ol,
  .guide-point-grid {
    grid-template-columns: 1fr;
  }

  .guide-answer,
  .guide-summary {
    padding: 1.2rem;
  }

  .guide-facts span {
    min-width: calc(50% - .4rem);
  }
}
