/* 記事の段落 */
.MainArea section p {
  margin-bottom: 20px;
  line-height: 1.9;
  font-size: 18px;
  @media (max-width: 767px) {
    font-size: 15px;
  }
}

/* ヘッダー
-------------------------------------- */
.article-heading { /* ... */ }
.article-heading__category {
  margin-bottom: 10px;
}
p.article-heading__category {
  display: inline-block;
  margin: 0;
  padding: 2px 40px;
  background-color: #07283a;
  text-align: center;
  font-size: 11px;
  font-weight: normal;
  color: #fff;
}

.article-heading__title {
  margin-bottom: 5px;
  border-bottom: 3px #70a07b dotted;
}
h1.article-heading__title {
  margin: 0 0 5px 0;
  font-size: 24px;
  font-weight: bold;
  color: #444;
  @media (max-width: 767px) {
    font-size: 18px;
  }
}

.article-meta {
  margin-bottom: 20px;
  text-align: right;
}
time.article-meta__date {
  display: inline-block;
  padding-left: 20px;
  background: url(/img/com/ps01/ic-blog-clock.png) 0px center no-repeat;
  line-height: 16px;
  font-size: 13px;
  font-weight: bold;
}

/* キービジュアル
-------------------------------------- */
.kv {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}

.kv__img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* テキストブロックを重ねる */
.kv__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* 見やすくする影 */
  padding: 0 1em;
  width: 100%;
  max-width: 100%;  /* 明示的に制限なしに */
}

.kv__title {
  margin: 0;
  font-size: 48px;
  font-weight: bold;
}

.kv__subtitle {
  margin: 0.5em 0 0;
  font-size: 24px;
  font-weight: bold;
}

/* セクション見出し
-------------------------------------- */
h2.section-title {
  background-color: #e0f3ea;
  border-left: 8px solid #87c8a5;
  padding: 0.5em 1em;
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 30px;
  @media (max-width: 767px) {
    font-size: 18px;
  }
}

/* 目次
-------------------------------------- */
nav.toc {
  background-color: #ffffff;
  border: 1px solid #d5e3db;
  border-radius: 10px;
  padding: 1.5em;
  margin: 0 30px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
  @media (max-width: 767px) {
    margin: 0;
  }

  h2 {
    margin-top: 0;
    font-size: 1.3em;
    color: #555;
    border-bottom: 1px solid #d5e3db;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
  }

  ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }

  li {
    margin: 0.5em 0;
  }

  a {
    text-decoration: none;
    color: #3b6f5d;
    font-weight: normal;
    font-size: 1em;
    transition: color 0.2s ease;

    &:hover {
      color: #267d60;
      text-decoration: underline;
    }
  }
}
  
/* リスト
-------------------------------------- */
ul.idea-list,
ul.check-list,
ul.warn-list,
ul.note-list,
ul.link-list {
  list-style: none;
  padding-left: 1.2em; /* アイコン＋テキストの余白確保 */
}

ul.idea-list li::before {
  content: "💡";
  margin-right: 0.5em;
}
ul.check-list li::before {
  content: "✅";
  margin-right: 0.5em;
}
ul.warn-list li::before {
  content: "⚠️";
  margin-right: 0.5em;
}
ul.note-list li::before {
  content: "📝";
  margin-right: 0.5em;
}
ul.link-list li::before {
  content: "🔗";
  margin-right: 0.5em;
}

.list-reset {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* 記事内のタグ
-------------------------------------- */
#main_area {
  padding: 20px;
  box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.1);
  background-color: #fdfdf8;
  @media (max-width: 767px) {
    padding: 15px 10px;
  }

  section {
    padding: 0 30px;
    margin-bottom: 4em;
    @media (max-width: 767px) {
      padding: 0;
    }
  }

  h3 {
    margin-top: 1.5em;
  }
  h3 {
    font-size: 24px;
    font-weight: bold;
    border-left: 7px solid #87c8a5;
    margin-bottom: 15px;
    padding-left: 10px;
    @media (max-width: 767px) {
      font-size: 18px;
    }
  }

  h4 {
    margin-top: 1.5em;
  }
  h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    @media (max-width: 767px) {
      font-size: 18px;
    }
  }

  ul {
    list-style: none;
    padding-left: 1.2em;
  }

  ol {
    padding-left: 1.5em;
  }

  blockquote {
    background-color: #f4fdf9;
    border-left: 4px solid #aad3b5;
    padding: 1em;
    margin: 2em 0;
    font-style: italic;
  }

  figure {
    display: inline-block;
    margin-bottom: 20px;
  }
  figcaption {
    text-align: center;
    color: green;
  }
  figure.infographic {
    text-align: center;
    margin: 2em 0;

    img {
      max-width: 600px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      @media (max-width: 767px) {
        max-width: 100%;
      }
    }
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    margin-bottom: 2em;

    th,
    td {
      border: 1px solid #ccc;
      padding: 0.8em;
      text-align: left;
    }

    thead {
      background-color: #e6f5ee;
    }
  }

}

