/*
Theme Name:BlankSlate child
Theme URI:
Description:BlankSlateのカスタマイズ用
Template:blankslate
Author:Set
Author URI:https://www.set-inter.com/
Version:2022
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #4761a0;
    color: #808080;
}

a {
    text-decoration: none;
    color: #4F6DB7;
}
a:hover {
    color: #617CBE;
}
a:visited {
    color: #4F6DB7;
}

#wrapper {
    width: 800px;
    margin: auto;
    background-color: white;
}

#branding #main_img {
    border-bottom: 0.5rem solid #4761a0;
}

#branding #main_img img {
    vertical-align: top;
}

#branding #site-title {
    text-align: center;
    background-color: #aab4d2;
}

#branding #site-title a {
    line-height: 3.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #30426b;
}

#site-description {
    padding: 2rem;
}
#site-description p {
    font-size: 0.9rem;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 1.1rem;
    padding-bottom: 0.3rem;
}

.menu-top-container {
    margin: 0 2rem;
    border-top: 2px solid lightgray;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}
.menu-top-container ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 13rem;
}

.menu-top-container ul li{
    line-height: 1.5rem;
}

.menu-top-container ul li:nth-child(4),
.menu-top-container ul li:nth-child(10),
.menu-top-container ul li:nth-child(12),
.menu-top-container ul li:nth-child(20) {
    padding-bottom: 1rem;
}

#container {
    display: flex;
    justify-content: center;
}

#content {
    width: 68%;
    padding: 1rem;
}

#sidebar {
    width: 30%;
    padding: 1rem 2rem 1rem 1rem;
}

#wp-calendar caption {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

#wp-calendar td,
#wp-calendar th {
    background-color: transparent;
    border: none;
    font-size: 0.8rem;
}
#wp-calendar th {
    font-weight: bold;
}
#wp-calendar th:first-child {
    color: red;
}
#wp-calendar th:last-child {
    color: blue;
}

.wp-block-search__inside-wrapper {
    border: 1px solid lightgray;
    padding: 0.2rem;
    font-size: 0.9rem;
}

.wp-block-search__input {
    border: none;
    min-width: 2.5rem;
    padding: 0.2rem 0.5rem;
}
.wp-block-search__button {
    width: 6rem;
    padding: 0.5rem 0.5rem;
    background: #4761a0;
    color: white;
    border: none;
}

.xoxo h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.wp-block-latest-posts__list a {
    color: #4761a0;
    text-decoration: none;
    line-height: 1.3rem;
}

main#content {
    padding-left: 2rem;
}
main#content h1,
main#content h2 {
    font-size: 1.15rem;
    font-weight: bold;
    padding-bottom: 1rem;
}

main#content .entry-summary {
    line-height: 1.5rem;
}

main#content .entry-meta {
    text-align: right;
    font-size: 0.8rem;
    padding-top: 0.5rem;
}

main#content .read_more a {
    display: block;
    width: 100%;
    padding: 0.7rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
    text-align: center;
    border: 1px solid #4f6db7;
}

main#content .read_more a:hover {
    background-color: #4f6db7;
    color: white;
}

#copyright {
    font-size: 0.5rem;
    text-align: center;
    padding-bottom: 0.5rem;
}

main#content.single_post .entry-meta {
    text-align: left;
    margin-bottom: 1rem;
    font-weight: bold;
}
main#content.single_post h1 a {
    pointer-events: none;
    color: #808080;
}

main#content img {
    max-width: 100%;
    height: auto;
}

main#content h3 {
    border-left: 4px solid #4F6DB7;
    background-color: rgba(79, 109, 183, 0.2);
    padding-left: 0.2rem;
    margin-bottom: 1rem;
    line-height: 2rem;
    font-weight: bold;
}

main#content ol {
    list-style: decimal;
    font-size: 0.95rem;
    padding: 1.5rem 0;
    padding-left: 1.5rem;
}
main#content ul {
    list-style: disc;
    font-size: 0.95rem;
    padding: 1.5rem 0;
    padding-left: 1.5rem;
}

main#content blockquote {
    color: #4e5f8a;
    background: #ebeffa;
    border: 2px dotted #95a9d6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    padding: 0;
}

main#content blockquote p {
    padding: 0.5rem 1rem;
}

main#content blockquote span {
    line-height: 2rem;
}

main#content blockquote a {
    text-decoration: underline;
}

main#content blockquote blockquote {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}
main#content blockquote ul {
    list-style-type: disc;
    padding-top: 0;
    padding-left: 2.5rem;
    padding-bottom: 0.5rem;
}

.has-post-thumbnail div.entry-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.has-post-thumbnail div.entry-summary a {
    width: 30%;
    height: auto;
    display: block;
    padding-right: 1rem;
}
.has-post-thumbnail div.entry-summary a + div {
    width: 70%;
}

.cat-links {
    padding: 1.5rem 0;
}

.cat-links svg{
    width: 1.7rem;
    vertical-align: middle;
    padding-right: 0.3rem;
}

.widget-container p {
    font-size: 1rem;
    line-height: 1.5rem;
}
.widget-container p:empty {
    height: 0.7rem;
}

.widget-container hr {
    margin: 0.5rem 0;
}

#block-2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#block-10 {
    text-align: center;
}

#block-13 {
    font-weight: bold;
    margin-top: 1rem;
}
.entry-content span[style] {
    line-height: 3rem;
}

.entry-content {
    line-height: 1.7rem;
    font-size: 0.95rem;
}
.entry-content .wp-post-image {
    display: none;
}

.entry-content a {
    text-decoration: underline;
}

.wp-block-latest-posts li a {
    font-size: 0.9rem;
}

.wp-block-latest-posts li:last-child {
    margin-bottom: 2rem;
}

.wp-block-calendar {
    position: relative;
}

.wp-calendar-nav {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 12rem;
    font-size: 0.8rem;
}

footer.entry-footer {
    margin-top: 5rem;
}

footer.entry-footer .cat-links {
    display: block;
    padding: 0.7rem 1rem;
    border: 1px solid #808080;
    border-radius: 0.2rem;
    font-size: 0.8rem;
    width: fit-content;
    margin-left: auto;
    margin-bottom: 2rem;
}

footer.entry-footer .cat-links svg{
    width: 1.2rem;
    vertical-align: middle;
    padding-right: 0.3rem;
}

.nav-links {
    display: flex;
    justify-content: center;
}
.nav-links span,
.nav-links a {
    display: block;
    width: 1.7rem;
    line-height: 1.7rem;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #4F6DB7;
    margin: 0.7rem;
}

.single_post .nav-links {
    justify-content: flex-start;
}

.single_post .nav-links > div {
    width: 50%;
    display: flex;

}
.single_post .nav-links a {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #4F6DB7;
    margin: 0;
}
.single_post .nav-links .meta-nav {
    width: 1.5rem;
    color: white;
    font-weight: bold;
    margin: 0;
}

.single_post .nav-links .meta-nav-img {
    width: calc((100% - 1.5rem) / 2);
    height: 100%;
    background-color: white;
    padding: 0.5rem;
    text-align: center;
    border: none;
    display: flex;
    align-items: center;
    margin: 0;
}
.single_post .nav-links .meta-nav-img img {
    vertical-align: baseline;
}

.single_post .nav-links .meta-nav-txt {
    width: calc((100% - 1.5rem) / 2);
    height: 100%;
    background-color: white;
    color: #808080;
    padding: 0.5rem;
    text-align: left;
    line-height: 1rem;
    font-size: 0.8rem;
    border: none;
    display: flex;
    align-items: center;
    margin: 0;
}

#footer {
    padding-top: 2rem;
}

.trackback_content {
    padding: 2rem;
}

.trackback_title {
    padding-bottom: 1rem;
    font-size: 1.1rem;
}

.trackback_item {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1rem;
}
.trackback_content .trackback_item:nth-child(even) {
    background-color: #f4f4f4;
}

.trackback_item a {
    font-size: 1rem;
    font-weight: bold;
    padding-bottom: 0.5rem;
    display: block;
}

.spbr {
    display: none;
}

.text_red {
    color: red;
}

.text_blue {
    color: blue;
}

em {
    font-style: italic;
}

th {
     font-weight:bold;
     vertical-align:middle;
}

@media screen and (max-width: 480px) {
    #wrapper {
        width: 100%;
    }
    #site-description,
    #menu,
    .cat-links {
        display: none;
    }
    #container{
        display: block;
    }
    main#content {
        width: 100%;
        padding: 1rem;
    }
    .entry-content span[style] {
        line-height: normal;
    }
    .spbr {
        display: block;
    }
    #branding #site-title h1 {
        padding: 1rem 0;
    }
    #branding #site-title a {
        line-height: 1.2rem;
        font-size: 1rem;
    }
    main#content h1,
    main#content h2 {
        font-size: 1rem;
    }
    .single_post .nav-links .meta-nav-img {
        display: none;
    }
    .single_post .nav-links .meta-nav-txt {
        width: 100%;
    }
    footer.entry-footer {
        margin-top: 0;
    }
    footer.entry-footer .cat-links {
        margin:2rem auto;
    }
    #sidebar {
        width: 100%;
    }
    #block-3,
    #block-30,
    #block-16,
    #block-10,
    #block-17,
    #block-18 {
        display: none;
    }
    #block-15,
    #block-20 {
        text-align: center;
    }
    .has-post-thumbnail div.entry-summary {
        display: block;
    }
.has-post-thumbnail div.entry-summary a + div {
      width: 100%;
}
	.has-post-thumbnail div.entry-summary a {
        width: 80%;
        margin: auto;
        padding-right: 0;
        padding-bottom: 1rem;
    }
}

@media print {

    html {
        font-size: 24px;
    }
    html body {
        background: white;
        color: black;
    }
    header#header,
    aside,
    footer,
    div.Permalink,
    div#trackback {
        display: none;
    }

    main#content {
        display: block;
        margin: 0;
        padding: 0;
        width: 742px;
        min-width: auto;
        min-height: auto;
        margin: auto;
    }
    main#content h1.entry-title{
        font-size: 1.7rem;
    }
    main#content h1.entry-title a {
        color: #000;
    }
    /*
    main#content.single_post .entry-meta{
        font-size:  1.2rem;
    }
    
    .entry-content {
        font-size: 1.42rem;
        line-height: 2.6rem;
    }
    main#content ol {
        font-size: 1.4rem;
        padding: 2rem 0;
        padding-left: 2.5rem;
    }
    main#content ul {
        font-size: 1.4rem;
    }

    main#content hr {
        margin: 3rem auto;
    }
    
    .cat-links {
        font-size: 1.1rem;
    }
    */
    .Article__content div a img {
        width: 100%;
    }
    
    div.Article__content img {
        margin-bottom: 0;
    }
}

#main_img img {
     width: 100%;
}

