@charset "UTF-8";

/*
  公開ページ本文用のスタイル。
  全体 reset には触れず、本文ブロックだけにスタイルを適用する。
*/

.entry-content,
.wp-block-post-content,
.single__wrapper__description {
    color: var(--charcoal-grey, #333);
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.entry-content > *:first-child,
.wp-block-post-content > *:first-child,
.single__wrapper__description > *:first-child {
    margin-top: 0;
}

.entry-content > * + *,
.wp-block-post-content > * + *,
.single__wrapper__description > * + * {
    margin-top: 1.2em;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content li,
.entry-content blockquote,
.entry-content pre,
.entry-content table,
.entry-content figure,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content p,
.wp-block-post-content ul,
.wp-block-post-content ol,
.wp-block-post-content li,
.wp-block-post-content blockquote,
.wp-block-post-content pre,
.wp-block-post-content table,
.wp-block-post-content figure,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6,
.single__wrapper__description p,
.single__wrapper__description ul,
.single__wrapper__description ol,
.single__wrapper__description li,
.single__wrapper__description blockquote,
.single__wrapper__description pre,
.single__wrapper__description table,
.single__wrapper__description figure,
.single__wrapper__description h1,
.single__wrapper__description h2,
.single__wrapper__description h3,
.single__wrapper__description h4,
.single__wrapper__description h5,
.single__wrapper__description h6 {
    margin-top: 0;
    margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6,
.single__wrapper__description h1,
.single__wrapper__description h2,
.single__wrapper__description h3,
.single__wrapper__description h4,
.single__wrapper__description h5,
.single__wrapper__description h6 {
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.7em;
}

.entry-content h1,
.wp-block-post-content h1,
.single__wrapper__description h1 { font-size: 2.4rem; }
.entry-content h2,
.wp-block-post-content h2,
.single__wrapper__description h2 { font-size: 2rem; }
.entry-content h3,
.wp-block-post-content h3,
.single__wrapper__description h3 { font-size: 1.6rem; }
.entry-content h4,
.wp-block-post-content h4,
.single__wrapper__description h4 { font-size: 1.3rem; }
.entry-content h5,
.wp-block-post-content h5,
.single__wrapper__description h5 { font-size: 1.15rem; }
.entry-content h6,
.wp-block-post-content h6,
.single__wrapper__description h6 { font-size: 1rem; }

.entry-content a,
.wp-block-post-content a,
.single__wrapper__description a {
    color: #0d5bd9;
    text-decoration: underline;
}

.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol,
.single__wrapper__description ul,
.single__wrapper__description ol {
    padding-left: 1.5em;
}

/* common.css の reset (list-style: none) で消えた箇条書きマーカーを復元 */
.entry-content ul,
.wp-block-post-content ul,
.single__wrapper__description ul {
    list-style: disc;
}

.entry-content ol,
.wp-block-post-content ol,
.single__wrapper__description ol {
    list-style: decimal;
}

.entry-content ul ul,
.wp-block-post-content ul ul,
.single__wrapper__description ul ul {
    list-style: circle;
}

.entry-content img,
.wp-block-post-content img,
.single__wrapper__description img {
    max-width: 100%;
    height: auto;
}

.entry-content blockquote,
.wp-block-post-content blockquote,
.single__wrapper__description blockquote {
    border-left: 4px solid #d9e4f7;
    padding-left: 1em;
    margin-left: 0;
}

/* common.css の reset で消えた表の罫線・セル余白を復元 */
.entry-content table,
.wp-block-post-content table,
.single__wrapper__description table {
    width: 100%;
    border: 1px solid #d9d9d9;
}

.entry-content th,
.entry-content td,
.wp-block-post-content th,
.wp-block-post-content td,
.single__wrapper__description th,
.single__wrapper__description td {
    border: 1px solid #d9d9d9;
    padding: 0.6em 1em;
    text-align: left;
}

.entry-content th,
.wp-block-post-content th,
.single__wrapper__description th {
    background: #f5f7fa;
    font-weight: 700;
}

.entry-content .wp-block-group,
.entry-content .wp-block-columns,
.entry-content .wp-block-column,
.entry-content .wp-block-list,
.entry-content .wp-block-paragraph,
.entry-content .wp-block-heading,
.wp-block-post-content .wp-block-group,
.wp-block-post-content .wp-block-columns,
.wp-block-post-content .wp-block-column,
.wp-block-post-content .wp-block-list,
.wp-block-post-content .wp-block-paragraph,
.wp-block-post-content .wp-block-heading,
.single__wrapper__description .wp-block-group,
.single__wrapper__description .wp-block-columns,
.single__wrapper__description .wp-block-column,
.single__wrapper__description .wp-block-list,
.single__wrapper__description .wp-block-paragraph,
.single__wrapper__description .wp-block-heading {
    margin-top: 0;
    margin-bottom: 0;
}
