@charset "utf-8";

* {
    box-sizing: border-box;
}

body {
    font-family: "DotGothic16", sans-serif;
    background: black;
    color: azure;

}


img {
    max-width: 100%;
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.inner {
    width: 90.625%;
    max-width: 390px;
    margin-right: auto;
    margin-left: auto;
}

header {
    padding: 30px 0;
}

header .inner {
    display: grid;
    grid-auto-flow: column;
}

header ul {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
}

header h1 {
    width: 40%;
}

.global {
    display: none;
}

.b {
    width: 220px;
    margin: 60px auto;
    text-align: center;
    color: #000;
    font-size: 60px;
    font-weight: bold;
    background-image: url(/blog/wp-content/themes/03_blog/images/white_kiban.png);
    background-size: cover;
    background-position: center;
    font-family: "Bytesized", sans-serif;
}

.article h2 {
    display: inline-block;
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.6rem;
    position: relative;
    padding: 0.8em;
    color: #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    height: 90px;
}

/* 上辺 (右だけ短く) */
.article h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    height: 2%;
    /* 上辺を少し短く */
    background-color: #fff;
}

/* 右辺 (斜め線) */
.article h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 109%;
    width: 2px;
    background-color: #fff;
    transform: rotate(-24.7deg);
    transform-origin: bottom right;
}

.blog_block {
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    column-gap: 40px;
    row-gap: 40px;
}

.img-box {
    aspect-ratio: 16/10.22;
    overflow: hidden;
}

.img-box img {
    border: 1px solid #fff;
}

.article-contents {
    border: 2px solid #fff;
    height: 90px;
    padding: 10px;
}

.category-title {
    width: 300px;
    margin: 150px auto 40px;
    text-align: center;
    color: #000;
    font-size: 60px;
    font-weight: bold;
    background-image: url(/blog/wp-content/themes/03_blog/images/white_kiban.png);
    background-size: cover;
    background-position: center;
    font-family: "Bytesized", sans-serif;
}

.category_list ul {
    font-size: 24px;
    display: grid;
    grid-auto-flow: row;
    row-gap: 20px;
}

.tags {
    vertical-align: middle;
    margin: 0 auto;
}

.mesi {
    color: #000;
    background-image: url("/blog/wp-content/themes/03_blog/images/mashitero.png");
    background-repeat: no-repeat;
    background-size: contain;
    padding: 10px;
    width: 190px;
}

.stad {
    background-image: url(/blog/wp-content/themes/03_blog/images/stady.png);
    background-repeat: no-repeat;
    background-size: contain;
    padding: 10px;
    width: 150px;
}

.hobb {
    background-image: url(/blog/wp-content/themes/03_blog/images/hobby.png);
    background-repeat: no-repeat;
    background-size: contain;
    padding: 10px;
    width: 165px;
}

.diar {
    background-image: url(/blog/wp-content/themes/03_blog/images/diary.png);
    background-repeat: no-repeat;
    background-size: contain;
    padding: 10px;
    width: 200px;
}

.p {
    width: 180px;
    margin: 120px auto 40px;
    text-align: center;
    color: #000;
    font-size: 60px;
    font-weight: bold;
    background-image: url(/blog/wp-content/themes/03_blog/images/white_kiban.png);
    background-size: cover;
    background-position: center;
    font-family: "Bytesized", sans-serif;
}

strong {
    font-weight: bold;
    font-weight: 600;
}


.side img {
    width: 200px;
    margin: 0 auto;
}

.side p {
    font-size: 18px;
    padding: 10px;
    border: 2px solid #fff;
    margin: 20px 0 80px;
}

footer {
    background-color: #666;
    padding: 120px 0 60px;
}

.cate {
    display: grid;
    grid-auto-flow: column;
    column-gap: 40px;
}

.cate h2 {
    width: 320px;
}

.comment {
    display: grid;
    grid-auto-flow: column;
    column-gap: 40px;
}

.icon {
    display: flex;
    margin-block: 2rem;
    justify-content: center;
    column-gap: 20px;
}

.icon a {
    display: inline-block;
    width: 24px;
    height: auto;
}

.swiper {
    max-width: 340px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.swiper-wrapper {
    transition-duration: 0ms;
    transition-delay: 0ms;
}

.swiper-wrapper {
    width: 100%;
    display: flex;
}


.comment-form-author input,
.comment-form-comment {
    border: 1px solid;
}

.wp-block-heading .rich-text {
    font-weight: bold;
}

.single h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 24px 0;
}

.single h2 {
    font-size: 40px;
    font-weight: bold;
    margin: 24px 0;
}

.single h3 {
    font-size: 34px;
    font-weight: bold;
    margin: 24px 0;
}

.single h4 {
    font-size: 28px;
    font-weight: bold;
    margin: 24px 0;
    ;
}

.single h5 {
    font-size: 23px;
    font-weight: bold;
    margin: 24px 0;
}

.single h6 {
    font-size: 18px;
    font-weight: bold;
}

.single p {
    margin: 24px 0;
}

.single cite {
    font-style: italic;
}

tbody td {
    text-align: center;
    vertical-align: middle;
}

tbody th {
    text-align: center;
    vertical-align: middle;
}

.single th {
    font-weight: bold;
}

.single ul {
    margin-left: 1.6em;
    list-style-type: disc;
}

.single ul ul {
    list-style-type: circle;
}

.single ul ul ul {
    list-style-type: square;
}

.single ol {
    margin-left: 1.6em;
    list-style-type: decimal;
}

.single strong {
    font-size: 18px;
}

.single .cate {
    display: block;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.comment-form-author input,
.comment-form-comment {
    border: 1px solid;
    width: 100%;
}

textarea {
    white-space: revert;
    width: 100%;
}

@media screen and (min-width: 600px) {
    /* ここにパソコン・タブレットのみに当たるCSSを設定 */
}

@media (width >=600px) {

    /* ここにパソコン・タブレットのみに当たるCSSを設定 */
    .inner {
        max-width: 1140px;
    }

    .blog_block {
        grid-template-columns: 1fr 1fr;
        ;
    }

    .side {
        display: grid;
        grid-auto-flow: column;
        column-gap: 60px;
    }

    .category_list ul {
        display: grid;
        justify-content: center;
        grid-auto-flow: column;
        column-gap: 20px;
        margin-bottom: 120px;
    }

    .swiper {
        max-width: 840px;
        margin-top: 40px;
        margin-bottom: 80px;
    }
}