/*
Theme Name: My Documents Theme
Theme URI: 
Author: ???
Author URI: https://localhost8888.net/
Description: 
Tags: blog, white, black, seo, minimal, simple
Version: 2026
*/
  

/************************* Reset CSS *************************/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IBM Plex Sans JP", sans-serif;
    line-break: anywhere;
}
body.blog h1,
body.archive h1,
body.category h1,
body.page h1,
body.home h2 a,
body.category-datelog main h2,
aside .my-documents-cat > *,
body main article section time,
.wrap-footer nav ul li a,
.wrap-footer span,
.post-meta time,
body.home h2,
nav.tree-view ul li a,
nav.navigation .nav-links > *{
    font-family: "Space Grotesk", serif;
}
html {
    height: 100%;
}
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    background-color: #fff;
}
ul,ol,li{
    list-style: none;
}
a{
    color: #0a5dbd;
    font-weight: 500;
    text-decoration: none;
}
strong {
    font-weight: bold;
}
pre, code{
    font-family: Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;
    margin: 0 2px;
    color: #2a2627;
    background: #f0f0f0;
}
pre{
    padding: 3.5px 6.5px 4px 6.5px;
}
code{
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 14.5px;
}
h1, h2, h3, h4, h5, h6{
    font-weight: bold;
}
/************************************************** 

header.php

**************************************************/
header{
    margin: 30px 0 40px;
}
header nav.tree-view{
    width: 600px;
    margin: auto;
}
nav.tree-view ul{
    display: flex;
    align-items: center;
}
nav.tree-view ul li{
    display: flex;
    align-items: center;
    margin-left: 5px;
}
nav.tree-view ul li:first-child {
    margin-left: 0;
}
nav.tree-view ul li a {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin: 0 5px;
    color: #0D0D0D;
    text-decoration: underline;
}
nav.tree-view ul li span {
    font-size: 18px;
}
@media screen and (max-width: 1150px) {
    header nav.tree-view {
        width: 95%;
        margin: 0 2.5%;
    }
}


/************************************************** 

page-front.php(front page)

**************************************************/
body.home section {
    padding-bottom: 50px;
}
body.home section h2 {
    margin-bottom: 10px;
}
body.home h2 a {
    font-size: 22px;
    font-weight: bold;
    padding-bottom: 10px;
    color: #0D0D0D;
}
body.home h2 a:hover {
    text-decoration: underline;
}
body.home section ul li {
    display: flex;
    align-items: baseline;
    margin: 4px;
}
body.home section ul li time {
    font-size: 14px;
    color: #808080;
    white-space: nowrap;
    margin-right: 10px;
}
body.home section ul li h3 a {
    font-size: 14px;
    color: #0D0D0D;
    text-decoration: underline;
    font-weight: 500;
}
body.home section ul li h3 a:hover {
    text-decoration: none;
}
body.home section .btn-more{
    display: flex;
    justify-content: center;
}
body.home section .btn-more a{
    padding: 5px 15px;
    margin: 10px;
    font-size: 13px;
    background: #0D0D0D;
    color: #fff;
    border-radius: 4px;
}
@media screen and (max-width: 900px) {
    body.home section ul li {
        display: flex;
        flex-wrap: wrap;
        padding: 10px 0;
    }
    body.home section ul li time {
        width: 100%;
    }
    body.home section ul li h3 {
        width: 100%;
    }
}

/************************************************** 

.container main

**************************************************/

.container{
    max-width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.container main{
    width: 96%;
    margin: 0 2%;
    max-width: 600px;
}
.container main article{
    overflow-wrap: break-word;
    line-height: 1.8;
}
.post-meta{
    display: flex;
    align-items: center;
}
.post-meta time{
    font-size: 14px;
    color: #777;
}
.container main article p{
    margin-bottom: 20px;
}
body.single .container main article a,
body.page .container main article a
{
    color: #0a5dbd;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
body.single .container main article a:hover,
body.page .container main article a:hover{
    text-decoration: none;
}
.container main article p code{
    white-space: break-spaces;
}
.container main article p a code{
    color: #0a5dbd;
}
@media screen and (max-width: 1150px) {
    .container main {
        width: 100%;
        margin: 0;
    }
}

/****************** index.php ******************/
.container main article h1,
body.blog h1 {
    font-size: 30px;
    margin-bottom: 1em;
}
ul.my-documents-cat {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
ul.my-documents-cat h2 {
    font-size: 22px;
    font-weight: bold;
    padding-bottom: 20px;
}
ul.my-documents-cat li {
    display: inline-block;
    margin: 4px 2px;
}
ul.my-documents-cat li a {
    font-size: 14px;
    font-weight: 400;
    color: #222;
    border: 1px solid #bababa;
    padding: 2px 12px;
    border-radius: 6px;
    transition: 200ms;
}
ul.my-documents-cat li a span {
    color: #999;
}
ul.my-documents-cat li a:hover {
    background: #F6F6F6;
}
body main article section {
    display: flex;
    align-items: baseline;
    margin: 4px 0;
}
body main article section .posts-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
}
body main article section time {
    color: #808080;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 10px;
}
body main article section a {
    line-height: 1;
    color: #0D0D0D;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
}
body main article section a:hover {
    text-decoration: none;
}

/************************************************** 
    
single.php 

**************************************************/
body.single main article h1{
    font-size: 24px;
    margin-bottom: 1em;
}
body.single main article h2,
body.single main article h3,
body.single main article h4 {
    margin-top: 2.14em;
    margin-bottom: 1em;
}
body main article h2{
    font-size: 20px;
}
body main article h3{
    font-size: 18px;
}
body main article h4{
    font-size: 16px;
}
body main article .wp-block-media-text__content h3{
    font-size: 17px;
}
body main article .wp-block-media-text__content p{
    font-size: 15px;
}
body main article .wp-block-embed__wrapper{
    height: 0;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
}
.wp-block-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
body main article figure.wp-block-image {
    width: 100%;
    margin: 20px 0 20px;
    text-align: center;
}
.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
    width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2);
}
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    background: #222;
    object-fit: contain;
}
body main article figcaption.wp-element-caption,
figcaption.blocks-gallery-caption {
    font-size: 14px;
    color: #111;
    text-decoration: underline;
}
body main article figure.wp-block-gallery{
    width: 100%;
    padding: 20px 0;
}
.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){
    width: 100%;
}
figure.wp-block-gallery.has-nested-images{
    display: grid;
    grid-template-columns: repeat(auto-fit, 32.4%);
    grid-auto-rows: 200px;
}
body main article .wp-block-media-text{
    margin: 50px 0;
}
body main article pre.wp-block-code{
    margin: 10px 0;
}
body main article pre.wp-block-code code{
    white-space: inherit;
    overflow-x: overlay;
    padding: 15px;
    margin: 0;
    font-weight: 500;
    border-radius: 6px;
    color: #ebe6e7;
    background: #2a2627;
}
.wp-block-code{
    border: none;
    border-radius: 30px;
    font-family: Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;
    padding: 0;
}
body.single main article ul,
body.single main article ol{
    margin: 20px 0 25px 25px;
}
body.single main article ul li{
    list-style: disc;
}
body.single main article ul li::marker{
    color: #444;
}
body.single main article ol li{
    list-style: auto;
    margin: 4px 0;
}
body main article blockquote.wp-block-quote{
    border-left: 4px solid #0D0D0D;
    padding: 10px 4%;
    width: 100%;
    margin: 20px 0;
    font-weight: bold;
    font-style: italic;
}
body main article blockquote.wp-block-quote h2{
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: 400;
}
body main article blockquote.wp-block-quote cite{
    color: #444;
    font-size: 13px;
}
body main article blockquote.wp-block-quote cite::before{
    content:"-";
    font-weight: bold;
    font-size: 16px;
    margin-right: 10px;    
}
body main article blockquote.wp-block-quote p{
    color: #0D0D0D;
    font-size: 15px;
}
.wp-block-table td, .wp-block-table th{
    border: none;
}
.wp-block-table table{
    display: table;
    border-collapse: collapse;
    border-radius: 6px;
    margin: 20px 0px;
}
.wp-block-table thead{
    border-bottom: none;
}
.wp-block-table thead tr th{
    text-align: start;
}
body main article table td,
body main article table th{
    padding: 15px 5px;
}
body main article .wp-block-table table thead tr{
    border-bottom: 1px solid #000;
    color: #000;
    text-wrap: pretty;
}
body main article .wp-block-table table tbody tr{
    border-bottom: 1px solid #999;
    font-size: 14px;
}
body main article figure.wp-block-pullquote{
    padding: 30px 5%;
    width: 100%;
    margin: 50px 0 50px;
    box-shadow: 5px 5px 15px 10px rgba(125, 125, 125, .3);
    font-size: small;
    text-align: right;
}
body main article figure.wp-block-pullquote blockquote p{
    font-style: italic;
    text-align: left;
}
@media screen and (max-width: 900px){
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content{
        padding: 25px 0%;
    }
}


/************************************************** 

sidebar-left.php

**************************************************/
.container aside.left-side{
    width: 20%;
}
.container aside .display-ad{
    margin: auto;
    max-width: 1000px;
    width: 100%;
    height: 100px;
}
@media screen and (max-width: 1150px) {
    .container aside.left-side {
        width: 100%;
    }
    .container aside .display-ad{
        margin: auto;
        width: 100%;
    }
}


/************************************************** 

sidebar-right.php

**************************************************/
.container aside.right-side{
    width: 20%;
}
.container aside .multiplex-ad{
    margin: auto;
    width: 100%;
    padding-top: 100px;
}
@media screen and (max-width: 1150px) {
    .container aside.right-side {
        width: 30%;
        margin-left: 2%;
    }
}
@media screen and (max-width: 900px){
    .container {
        display:flex;
        flex-flow: column;
    }
    .container aside{
        width: 100%;
    }
    .container aside .wrap-ad{
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        position: static;
        top: 0 !important;
        height: auto !important;
    }
    .container main{
        width: 100%;
        max-width: 100%;
        padding: 40px 1% 0;
        margin-bottom: 100px;
    }
    .container aside.right-side {
        width: 100%;
        margin-left: 0;
    }
}


/**************************************************
    
    archive-datelog.php

**************************************************/
body.post-type-archive-datelog main article h2{
    border-bottom: 1px solid #d9d7d7;
}
body.post-type-archive-datelog article ul{
    width: 95%;
    margin: 0 2.5%;
}
body.post-type-archive-datelog article ul li{
    display: flex;
    align-items: center;
    margin: 10px 0;
}
body.post-type-archive-datelog article ul li:before{
    font-family: "Material Icons";
    content: "\eac9";
    padding-right: 5px;
    color: #555;
}
body.post-type-archive-datelog article ul li a{
    font-size: 15px;
    color: #0D0D0D;
    text-decoration: underline;
    font-weight: 500;
}
body.post-type-archive-datelog article ul li a:hover{
    text-decoration: none;
}
body.post-type-archive-datelog .posts-meta{
    font-size: 14px;
    color: #808080;
    white-space: nowrap;
    margin-right: 10px;
}
.datelog-last-update{
    color: #bababa;
    padding: 10px 0;
    text-align: right;
}


/************************************************** 

single page Datelog

**************************************************/
body.single-datelog main article h2,
body.single-datelog main article h3 {
    font-size: medium;
    font-family: "IBM Plex Sans JP", sans-serif;
}

/************************************************** 

navigation

**************************************************/
nav.navigation{
    width: 100%;
    margin-top: 50px;
}
nav.navigation .nav-links{
    display: flex;
    justify-content: center;
}
nav.navigation .nav-links span,
nav.navigation .nav-links a,
nav.navigation a.prev,
nav.navigation a.next{
    padding: 0 15px;
    margin: 0 5px;
    color: #222;
    border: 1px solid;
    border-radius: 6px;
    transition: 200ms;
}
nav.navigation .nav-links span{
    color: #d9d7d7;
}
nav.navigation .nav-links span.page-numbers.dots{
    color: #222;
    border: none;
}
nav.navigation .nav-links a:hover{
    color: #d9d7d7;
}
@media screen and (max-width: 900px){
    nav.navigation{
        width: 95%;
        margin: 0 2.5%;
    }
    nav.navigation .nav-links{
        justify-content: start;
        flex-wrap: wrap;
    }
    nav.navigation .nav-links span,
    nav.navigation .nav-links a{
        padding: 0 12px;
        margin: 4px;
    }
}



/************************* footer.php *************************/
footer{
    width: 100%;
    margin-top: 100px;
}
footer .wrap-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 50px 0;
}
footer .wrap-footer nav ul{
    display: flex;
}
.wrap-footer nav ul li::after{
    content: '/';
    font-size: 14px;
}
.wrap-footer nav ul li:last-child::after{
    content: '';
}
.wrap-footer nav ul li a{
    color: #999;
    font-weight: 500;
    font-size: 12px;
    margin: 0 6px;
}
.wrap-footer nav ul li a:hover{
    color: #111;
}
.wrap-footer nav ul li a.act{
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.wrap-footer span{
    font-size: 14px;
}
@media screen and (max-width: 900px){
    footer{
        width: 100%;
        padding: 50px 0;
    }
    footer .wrap-footer{
        flex-wrap: wrap;
        justify-content: center;
    }
    footer .wrap-footer ul{
        width: 100%;
        margin: 20px 0;
    }
    .wrap-footer span{
        width: 100%;
        text-align: center;
    }
}