/* 既存スタイルの上書き */
.sos-seo .content-detail-outline {
  margin-top: 56px;
}
@media screen and (max-width: 768px) {
  .sos-seo .content-detail-outline {
    margin-top: 40px;
  }
}

.sos-seo .content-detail-items-header--fukidashi01 {
  top: 0;
}

.sos-seo .content-detail-items-header--fukidashi02 p {
  margin-bottom: 18px;
  top: 0;
}

.sos-seo
  .content-detail-items-header--fukidashi02
  .content-detail-items__title {
  display: block;
  margin-bottom: 24px;
  padding: 0 8px 8px;
  border-bottom: 1px solid #d96862;
  text-align: left;
}

.sos-seo .content-detail-tips__header {
  cursor: pointer;
}

.sos-seo .content-detail-supervision {
  margin-top: 40px;
}

.sos-seo .content-detail-items__star-content-text p + p {
  margin-top: 1em;
}

/* sos-seo */
.sos-seo {
  color: #212121;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .sos-seo .lead {
    margin: 0 28px;
  }
}

.sos-seo__main {
  display: flex;
  flex-direction: column;
  gap: 56px;
  background: #fffce6;
  padding: 56px 32px;
}

@media screen and (max-width: 768px) {
  .sos-seo__main {
    gap: 40px;
    padding: 40px 28px;
  }
}

.sos-seo__main
  h2:not(.content-detail-items__title-fukidashi, .content-detail-items__title) {
  margin-bottom: 24px;
  padding: 8px 16px;
  background: #43b9a6;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

.sos-seo__main h3 {
  margin-top: 24px;
  color: #2fa58e;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: normal;
}

.sos-seo__main h4 {
  margin-top: 16px;
  font-size: 1.8rem;
  font-weight: 700;
}

.sos-seo__main strong {
  background: #ffd290;
  font-weight: 500;
}

.sos-seo__main section > p {
  margin-top: 16px;
}

.sos-seo__main p a {
  color: revert;
  text-decoration: underline;
}

.sos-seo__main section > img,
.sos-seo__main section > figure img {
  display: block;
  margin-inline: auto;
  margin-top: 16px;
}

.sos-seo__main figcaption {
  margin-top: 16px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.sos-seo__main ul,
.sos-seo__main ol,
.sos-seo__main .checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  line-height: 1.6;
}

.sos-seo__main ul {
  padding-left: 1.5em;
  list-style: disc;
}

.sos-seo__main ul li::marker {
  color: #43b9a6;
}

.sos-seo__main ol {
  counter-reset: circle-num;
}

.sos-seo__main ol li {
  position: relative;
  padding-left: 1.5em;
}

.sos-seo__main ol li::before {
  display: grid;
  place-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #43b9a6;
  color: #fff;
  counter-increment: circle-num;
  content: counter(circle-num);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  position: absolute;
  top: 0.95em;
  left: 0;
  transform: translateY(-50%);
}

.sos-seo__main .checklist label {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 6px;
  cursor: pointer;
}

.sos-seo__main .checklist input[type="checkbox"] {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 4px;
  border: 1px solid #e0e0e2;
  background: #fff;
  margin-top: 0.3em;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}

.sos-seo__main .checklist input[type="checkbox"]:checked {
  background: #d96862;
  border-color: #d96862;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cg clip-path='url(%23clip0_52_21)'%3E%3Cpath d='M1 3.51L4.68 7L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_52_21'%3E%3Crect width='12' height='8' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.sos-seo__main table {
  width: 100%;
  margin-top: 24px;
  background: #fff;
  table-layout: fixed;
}

.sos-seo__main th {
  background: #a5e4da;
  font-weight: 500;
}

.sos-seo__main th,
.sos-seo__main td {
  border: 1px solid #212121;
  line-height: 1.6;
  padding: 5px 7px;
}

.nayami > img {
  display: block;
  max-width: 563px;
  margin-inline: auto;
}

@media screen and (max-width: 768px) {
  .nayami > img {
    max-width: 100%;
  }
}

.nayami > p {
  margin-top: 24px;
}

.nayami header:not(:first-child) {
  margin-top: 40px;
}

.button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  margin-inline: auto;
}

.button p {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
}

.button a {
  line-height: 1.2;
}
