@charset "utf-8";
/* CSS Document */

article,
#pages{
}
article #post-header{
    padding-bottom: 2.8em;
}
article #post-header h3{
    font-size: 240%;
    font-family: 'Noto Serif JP', sans-serif;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.6em;
}
article #post-header p.date{
    font-size: 105%;
    text-align: left;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
article div.letterbody p,
#pages p{
    font-size: 105%;
    line-height: 1.8;
    margin-bottom: 2em;
}
article div.letterbody hr.has-alpha-channel-opacity,
#pages hr.has-alpha-channel-opacity{
    margin-top: 2em;
    margin-bottom: 2em;
    border: solid 1px #121212;
}

/* title layout */

article div.letterbody h1,
#pages h1{
}
article div.letterbody h2,
#pages h2{
    color: #ffffff;
    font-size: 160%;
    line-height: 1.6;
    padding: 0.75em 1em;
    margin-bottom: 1em;
    background: #121212;
    border-radius: 5px;
}
article div.letterbody h3,
#pages h3{
    color: inherit;
    font-size: 140%;
    line-height: 1.6;
    padding: 0.5em 1em;
    margin-bottom: 1.25em;
    background: #e5e5e5;
    border-bottom: solid 3px #121212;
    border-radius: 3px 3px 0 0;
}
article div.letterbody h4,
#pages h4{
    font-size: 120%;
    line-height: 1.6;
    padding-bottom: 0.2em;
    margin-bottom: 1.2em;
    border-bottom: solid 3px #121212;
}
article div.letterbody h5,
#pages h5{
    font-size: 115%;
    line-height: 1.6;
    margin-bottom: 1em;
}
article div.letterbody h6,
#pages h6{
    font-size: 105%;
    line-height: 1.6;
    margin-bottom: 0.5em;
}

/* images layout */

article div.letterbody figure figcaption,
#pages figure figcaption{
    color: #333333;
    font-size: 95%;
    line-height: 1.6;
    margin-top: 0.5em;
    margin-bottom: 0 !important;
}
article div.letterbody figure.wp-block-image.size-full,
#pages figure.wp-block-image.size-full{
    margin-bottom: 2em;
}

/* list layout */

article div.letterbody ul,
article div.letterbody ol,
#pages ul,
#pages ol{
    display: grid;
    gap: 0.5em 0;
    margin-left: 1.25em;
    margin-bottom: 2em;
    list-style-position: outside;
}
article div.letterbody ul,
#pages ul{
}
article div.letterbody ol,
#pages ol{
}
article div.letterbody ul>li,
article div.letterbody ol>li,
#pages ul>li,
#pages ol>li{
    font-size: 105%;
    line-height: 1.6;
}
article div.letterbody ul>li,
#pages ul>li{
    list-style-type: disc;
}
article div.letterbody ol>li,
#pages ol>li{
    list-style-type: decimal;
}

/* table layout */

article div.letterbody .wp-block-table,
#pages .wp-block-table{
    margin-bottom: 2em;
}
article div.letterbody .wp-block-table>table,
#pages .wp-block-table>table{
    border-collapse: separate;
    border-spacing: 1px;
    background: #121212;
}
article div.letterbody .wp-block-table>table th,
article div.letterbody .wp-block-table>table td,
#pages .wp-block-table>table th,
#pages .wp-block-table>table td{
    font-size: 105%;
    line-height: 1.6;
    border: none;
}
article div.letterbody .wp-block-table>table thead th,
#pages .wp-block-table>table thead th{
    color: inherit;
    padding: 0.5em 1em;
    background: #e5e5e5;
}
article div.letterbody .wp-block-table>table tbody th,
#pages .wp-block-table>table tbody th{
    color: inherit;
    padding: 0.5em 1em;
    background: #ffffff;
}
article div.letterbody .wp-block-table>table tbody td,
#pages .wp-block-table>table tbody td{
    color: inherit;
    padding: 0.5em 1em;
    background: #ffffff;
}

/* blockquote layout */

article div.letterbody blockquote.wp-block-quote,
#pages blockquote.wp-block-quote{
    padding: 2em;
    padding-left: calc(2em + 1.5em);
    margin-bottom: 2em;
    border-left: solid 4px #121212;
    background: #e5e5e5;
    font-style: italic;
    position: relative;
}
article div.letterbody blockquote.wp-block-quote:before,
#pages blockquote.wp-block-quote:before{
    content: '\f10d';
    font-size: 105%;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
    position: absolute;
    top: 1.5em;
    left: 2em;
}
article div.letterbody blockquote.wp-block-quote p,
#pages blockquote.wp-block-quote p{
    text-align: justify;
    margin-bottom: 1em;
}
article div.letterbody blockquote.wp-block-quote cite,
#pages blockquote.wp-block-quote cite{
    font-size: 100%;
    opacity: 0.6;
}
article div.letterbody blockquote.wp-block-quote>*:last-child,
#pages blockquote.wp-block-quote>*:last-child{
    margin-bottom: 0;
}

article div.letterbody .wp-block-pullquote,
#pages .wp-block-pullquote{
    padding: 2em;
    padding-top: 3em;
    margin-bottom: 2em;
    background: #e5e5e5;
    font-style: italic;
    position: relative;
}
article div.letterbody .wp-block-pullquote blockquote,
#pages .wp-block-pullquote blockquote{
}
article div.letterbody .wp-block-pullquote blockquote:before,
#pages .wp-block-pullquote blockquote:before{
    content: '\f10d';
    font-size: 105%;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
    position: absolute;
    top: 1em;
    left: 50%;
    transform: translate(-50%, 0%);
}
article div.letterbody .wp-block-pullquote blockquote p,
#pages .wp-block-pullquote blockquote p{
    font-size: 130%;
    font-weight: 600;
    margin-bottom: 0.5em;
}
article div.letterbody .wp-block-pullquote blockquote cite,
#pages .wp-block-pullquote blockquote cite{
    font-size: 85%;
    opacity: 0.6;
}
article div.letterbody .wp-block-pullquote blockquote>*:last-child,
#pages .wp-block-pullquote blockquote>*:last-child{
    margin-bottom: 0;
}

/* code layout */

article div.letterbody pre.wp-block-code,
#pages pre.wp-block-code{
    padding: 1em;
    margin-bottom: 2em;
    border: solid 1px #121212;
}
article div.letterbody pre.wp-block-code code,
#pages pre.wp-block-code code{
    font-size: 95%;
    line-height: 1.6;
}

/* buttons layout */

article div.letterbody .wp-block-buttons,
#pages .wp-block-buttons{
    margin-top: 2em;
    margin-bottom: 2em;
}
article div.letterbody .wp-block-buttons .wp-block-button,
#pages .wp-block-buttons .wp-block-button{
}
article div.letterbody .wp-block-buttons .wp-block-button a,
#pages .wp-block-buttons .wp-block-button a{
    font-size: 105%;
    font-weight: 600;
    line-height: 1;
    padding: 1em 2em;
}

/* embed layout */

article div.letterbody .wp-block-embed,
#pages .wp-block-embed{
    margin-bottom: 2em;
}
article div.letterbody .wp-block-embed.is-type-video,
#pages .wp-block-embed.is-type-video{
}
article div.letterbody .wp-block-embed.is-type-video .wp-block-embed__wrapper,
#pages .wp-block-embed.is-type-video .wp-block-embed__wrapper{
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}
article div.letterbody .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe,
#pages .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

article div.letterbody .wp-block-embed.is-type-wp-embed,
#pages .wp-block-embed.is-type-wp-embed{
}
article div.letterbody .wp-block-embed.is-type-wp-embed .wp-block-embed__wrapper,
#pages .wp-block-embed.is-type-wp-embed .wp-block-embed__wrapper{
}
article div.letterbody .wp-block-embed.is-type-wp-embed .wp-block-embed__wrapper iframe,
#pages .wp-block-embed.is-type-wp-embed .wp-block-embed__wrapper iframe{
    width: 100%;
}


nav.post-navigation{
    border-top: solid 1px #cccccc;
    border-bottom: solid 1px #cccccc;
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2.8em;
    margin-bottom: 2.8em;
}
nav.post-navigation:before{
    content: "";
    order: 2;
    display: block;
    width: 1px;
    background: #cccccc;
}
nav.post-navigation div{
    width: calc((100% - 1px) / 2);
}
nav.post-navigation div.prev-post{
    order: 3;
    text-align: right;
}
nav.post-navigation div.next-post{
    order: 1;
    text-align: left;
}
nav.post-navigation div a{
    min-height: 8em;
    display: grid;
    align-items: center;
    font-size: 90%;
    line-height: 1.6;
}