/* METS記事専用。共有ガイドや広告の設定へ影響させない。 */
.metsGuide .guides__article {
  max-width: 800px;
  min-width: 0;
  margin: 0 auto;
}

.metsGuide .guides__header {
  margin-bottom: 32px;
}

.metsGuide__pr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.8;
}

.metsGuide__prLabel {
  padding: 2px 10px;
  border-radius: 4px;
  background: #065f46;
  color: #fff;
  font-weight: 700;
}

.metsGuide .guides__title {
  margin-bottom: 16px;
  color: #111827;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.55;
}

.metsGuide .guides__subtitle {
  margin-bottom: 16px;
  line-height: 1.8;
}

.metsGuide .guides__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.875rem;
}

.metsGuide .guides__body {
  min-width: 0;
  overflow-wrap: anywhere;
}

.metsGuide .answerCapsule__text,
.metsGuide .guides__section > p {
  line-height: 2;
}

.metsGuide .guides__section > p {
  margin-bottom: 24px;
}

.metsGuide .guides__section {
  margin: 40px 0;
}

.metsGuide .guides__sectionTitle {
  margin: 48px 0 24px;
  padding: 0 0 12px;
  border-bottom: 2px solid #a7f3d0;
  color: #111827;
  font-size: 1.375rem;
  line-height: 1.65;
}

.metsGuide .guides__subTitle {
  margin: 32px 0 16px;
  color: #111827;
  font-size: 1.125rem;
  line-height: 1.75;
}

.metsGuide .guides__figure {
  margin: 32px 0;
}

.metsGuide .guides__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.metsGuide .guides__figcaption {
  margin-top: 12px;
  color: #4b5563;
  font-size: 0.8125rem;
  line-height: 1.85;
}

.metsGuide .guides__section > ul {
  margin: 24px 0;
  padding-left: 1.5em;
}

.metsGuide .guides__section > ul > li {
  margin-bottom: 16px;
  line-height: 2;
}

.metsGuide__tableHint {
  color: #4b5563;
  font-size: 0.875rem;
}

.metsGuide__tableWrapper {
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 24px;
  overscroll-behavior-x: contain;
}

.metsGuide__table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9375rem;
}

.metsGuide__table th,
.metsGuide__table td {
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  text-align: left;
  vertical-align: top;
  line-height: 1.85;
}

.metsGuide__table th {
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
}

.metsGuide__tableWrapper:focus-visible,
.metsGuide a:focus-visible {
  outline: 3px solid #065f46;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .metsGuide .guides__sectionTitle {
    font-size: 1.25rem;
  }

  .metsGuide .guides__section > p {
    margin-bottom: 22px;
  }
}

@media (max-width: 380px) {
  body:has(.metsGuide) .header__inner {
    flex-wrap: wrap;
    gap: 4px 16px;
  }
}
