.coping-page main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 46px;
}

.coping-hero {
  overflow: hidden;
  border: 1px solid #858b81;
  border-top: 6px solid #75674e;
  background:
    radial-gradient(circle at 88% 10%, rgba(158, 174, 140, 0.13) 0 92px, transparent 93px),
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(244, 240, 228, 0.88));
  box-shadow: 0 14px 32px rgba(28, 47, 39, 0.07);
}

.coping-hero-inner {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: #dce5d8;
  padding: 18px 12px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: 28px 32px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0.025em;
}

.hero-copy h1 em {
  color: var(--forest);
  font-style: normal;
}

.hero-lead {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.topic-section {
  margin-top: 28px;
}

.topic-heading {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #8f968e;
}

.topic-heading h2,
.common-patterns h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: 0.035em;
}

.thread-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.thread-card {
  overflow: hidden;
  border: 1px solid #9ca39b;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 9px 20px rgba(28, 47, 39, 0.05);
}

.thread-card > header {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #c4c6bb;
  background: rgba(97, 123, 94, 0.08);
}

.thread-card > header > span {
  display: grid;
  height: 100%;
  min-height: 58px;
  place-items: center;
  background: var(--forest);
  color: white;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.thread-card h3 {
  margin: 0;
  padding: 11px 15px;
  color: var(--forest-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  line-height: 1.4;
}

.thread-body {
  padding: 6px 20px 18px;
}

.detail-block {
  padding: 16px 0;
  border-bottom: 1px dotted #c5c8bf;
}

.detail-block:last-child {
  border-bottom: 0;
}

.detail-block h4 {
  margin: 0;
  color: var(--forest-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.96rem;
  line-height: 1.55;
}

.detail-block p,
.detail-block ul {
  margin: 9px 0 0;
}

.detail-block p,
.detail-block li {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.72;
}

.detail-block ul {
  padding-left: 1.25em;
}

.detail-block li {
  margin: 5px 0;
}

.detail-block strong {
  color: #354a3e;
}

.source-note {
  display: inline-block;
  margin-top: 10px !important;
  border-left: 3px solid var(--moss-light);
  color: #657166 !important;
  padding-left: 8px;
  font-size: 0.72rem !important;
  line-height: 1.5 !important;
}

.emergency-note {
  margin: 10px 0 2px;
  border: 1px solid #c9aa9f;
  border-left: 5px solid var(--seal);
  background: rgba(166, 75, 56, 0.05);
  padding: 14px 14px 15px;
}

.emergency-note h4 {
  color: #6f322a;
}

.inline-link {
  display: inline-block;
  margin-top: 9px;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 800;
}

.inline-link:hover {
  text-decoration: underline;
}

.common-patterns {
  margin-top: 28px;
  border-top: 1px solid #9da39b;
  border-bottom: 1px solid #9da39b;
  background: rgba(255, 253, 247, 0.55);
  padding: 20px 0;
}

.common-patterns > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.pattern-grid > div {
  display: grid;
  gap: 6px;
  border: 1px solid #a8afa6;
  background: rgba(255, 253, 247, 0.8);
  padding: 13px 14px;
}

.pattern-grid strong {
  color: var(--forest-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.9rem;
}

.pattern-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.soft-note {
  margin: 20px 0 0;
  border-top: 1px solid #b9c6b7;
  color: var(--muted);
  padding-top: 12px;
  font-size: 0.78rem;
  line-height: 1.65;
}

.coping-page > footer {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 28px;
}

@media (max-width: 680px) {
  .coping-page main,
  .coping-page > footer {
    width: min(100% - 24px, 980px);
  }

  .coping-page main {
    padding-top: 12px;
  }

  .coping-page .site-header nav {
    display: none;
  }

  .coping-page .header-inner {
    width: min(100% - 24px, 1180px);
    min-height: 56px;
  }

  .coping-page .brand {
    gap: 9px;
  }

  .coping-page .brand-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .coping-page .brand-copy {
    gap: 0;
  }

  .coping-page .brand-copy small {
    font-size: 0.46rem;
    letter-spacing: 0.11em;
  }

  .coping-page .brand-copy strong {
    font-size: 0.8rem;
    letter-spacing: 0.035em;
  }

  .coping-hero {
    border-top-width: 4px;
  }

  .coping-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-kicker {
    height: 22px;
    padding: 0 8px;
    font-size: 0.49rem;
    line-height: 1;
    letter-spacing: 0.09em;
    writing-mode: horizontal-tb;
  }

  .hero-copy {
    padding: 10px 12px 11px;
  }

  .hero-copy h1 {
    font-size: 1.35rem;
    line-height: 1.15;
    letter-spacing: 0.01em;
  }

  .hero-lead {
    margin-top: 6px;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .topic-section {
    margin-top: 18px;
  }

  .topic-heading {
    margin-bottom: 10px;
    padding-bottom: 7px;
  }

  .topic-heading h2,
  .common-patterns h2 {
    font-size: 1.1rem;
    line-height: 1.25;
  }

  .thread-grid {
    gap: 12px;
  }

  .thread-card > header {
    grid-template-columns: 36px 1fr;
    min-height: 48px;
  }

  .thread-card > header > span {
    min-height: 48px;
    font-size: 0.72rem;
  }

  .thread-card h3 {
    padding: 8px 10px;
    font-size: 0.94rem;
    line-height: 1.35;
  }

  .thread-body {
    padding: 2px 12px 12px;
  }

  .detail-block {
    padding: 12px 0;
  }

  .detail-block h4 {
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .detail-block p,
  .detail-block li {
    font-size: 0.77rem;
    line-height: 1.62;
  }

  .detail-block p,
  .detail-block ul {
    margin-top: 7px;
  }

  .detail-block li {
    margin: 4px 0;
  }

  .source-note {
    font-size: 0.68rem !important;
  }

  .emergency-note {
    margin-top: 7px;
    padding: 11px 10px 12px;
  }

  .inline-link {
    margin-top: 6px;
    font-size: 0.72rem;
  }

  .common-patterns {
    margin-top: 18px;
    padding: 15px 0;
  }

  .common-patterns > p {
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .pattern-grid {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 10px;
  }

  .pattern-grid > div {
    padding: 10px 11px;
  }

  .pattern-grid strong {
    font-size: 0.82rem;
  }

  .pattern-grid span {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .soft-note {
    margin-top: 16px;
    padding-top: 9px;
    font-size: 0.73rem;
    line-height: 1.55;
  }
}
