@charset "utf-8";

.page-h1 {
	font-size: 24px;
}

.single .wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

/* 本文 */
.single .wrapper p {
    margin: 0 0 1.5em;
    font-size: 16px;
    line-height: 1.9;
}

/* 見出し */
.single .wrapper h2 {
    margin: 3em 0 1.2em;
    padding: 12px 16px;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
    border-left: 5px solid #288fc6;
    background: #f5f5f5;
}

.single .wrapper h3 {
    margin: 2.5em 0 1em;
    padding-bottom: 10px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    border-bottom: 2px solid #ddd;
}

.single .wrapper h4 {
    margin: 2em 0 0.8em;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

.single .wrapper h5,
.single .wrapper h6 {
    margin: 1.8em 0 0.8em;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

/* リスト */
.single .wrapper ul,
.single .wrapper ol {
    margin: 0 0 1.5em;
    padding-left: 1.8em;
}

.single .wrapper ul {
    list-style: disc;
}

.single .wrapper ol {
    list-style: decimal;
}

.single .wrapper li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

.single .wrapper li:last-child {
    margin-bottom: 0;
}

/* リスト内リスト */
.single .wrapper ul ul,
.single .wrapper ol ol,
.single .wrapper ul ol,
.single .wrapper ol ul {
    margin-top: 0.5em;
    margin-bottom: 0;
}

/* リンク */
.single .wrapper a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single .wrapper a:hover {
    opacity: 0.7;
}

/* 太字 */
.single .wrapper strong,
.single .wrapper b {
    font-weight: 700;
}

/* 引用 */
.single .wrapper blockquote {
    margin: 2em 0;
    padding: 20px 24px;
    border-left: 4px solid #ccc;
    background: #f7f7f7;
}

.single .wrapper blockquote p:last-child {
    margin-bottom: 0;
}

/* 画像 */
.single .wrapper img {
    max-width: 100%;
    height: auto;
}

.single .wrapper figure {
    margin: 2em 0;
}

.single .wrapper figcaption {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #777;
}

/* 区切り線 */
.single .wrapper hr {
    margin: 3em 0;
    border: 0;
    border-top: 1px solid #ddd;
}

/* テーブル */
.single .wrapper table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    font-size: 15px;
}

.single .wrapper th,
.single .wrapper td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.single .wrapper th {
    font-weight: 700;
    background: #f5f5f5;
}

/* WordPress標準 */
.single .wrapper .aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.single .wrapper .alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.single .wrapper .alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

/* SP */
@media screen and (max-width: 767px) {
    .single .wrapper {
        padding: 40px 20px;
        font-size: 16px;
    }

    .single .wrapper h2 {
        margin-top: 2.5em;
        padding: 10px 14px;
        font-size: 22px;
    }

    .single .wrapper h3 {
        margin-top: 2em;
        font-size: 20px;
    }

    .single .wrapper h4 {
        font-size: 18px;
    }

    .single .wrapper table {
        font-size: 14px;
    }

    .single .wrapper th,
    .single .wrapper td {
        padding: 10px;
    }

    .single .wrapper .alignright,
    .single .wrapper .alignleft {
        float: none;
        display: block;
        margin: 20px auto;
    }
}