@charset "utf-8";

body {
    color: #333;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    word-break: break-all;
}

pre {
    word-break: break-all;
    white-space: pre-wrap;
}

.inner {
    width: 86.486%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    padding: 30px 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
}

blockquote {
    background-color: #fff9c4;
    margin: 1em auto;
    padding: 20px 20px;
    border-left: 5px solid #666;
    font-size: 1.1em;
    line-height: 1.6;
}

cite {
    font-style: italic;
    font-weight: bold;
    color: #333;
}

dt {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 20px;
    font-weight: bold;
}


dd {
    margin-left: 20px;
}

address {
    position: relative;
    font-style: normal;
    padding: 20px 20px 20px 40px;
    background: #fff;
    border-radius: 4px;
    line-height: 1.6;
}

address::before {
    content: "📍";
    position: absolute;
    left: 10px;
    top: 20px;
    font-size: 18px;
}

address p {
    margin: 5px 0;
}

.document h3 {
    font-size: 35px;
    font-weight: bold;
}

.has-text-align-center {
    text-align: left;
}

ins {
    background: #fff9c4;
    text-decoration: none;
    padding: 0 4px;
    border-radius: 3px;
    font-weight: bold;
}

.nav-previous {
    font-weight: bold;
    margin: 10px 0;
}

.nav-next {
    font-weight: bold;
    margin: 10px 0;
}

var {
    font-style: italic;
}

h2 {
    padding: 30px 0;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
}

h3 {
    font-size: 25px;
}

p {
    font-size: 16px;
}


/*----------
header--------- */
header {
    background-color: #a49e9e;
    padding: 20px 0;
}

header .inner {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
}

/* ハンバーガーボタン */
.menu-btn {
    display: inline-block;
    font-size: 60px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 900;
}

/* ナビゲーション（初期は左に隠す） */
.global {
    position: fixed;
    top: 140px;
    right: -200px;
    width: 200px;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 999;
}

/* メニュー内のリスト */
.global ul {
    background-color: #ccc;
    list-style: none;
    margin: 0;
    padding: 5px 0;
}


.global li {
    margin: 10px 0;
    padding-bottom: 3px;
    font-size: 18px;
    background-image: linear-gradient(#000, #000);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: background-size 0.3s;
}

.global li:hover {
    background-position: bottom left;
    background-size: 100% 1px;
}

.global a {
    display: block;
    padding: 5px;
    text-decoration: none;
    font-size: 18px;
}

/* チェックが入ったらメニューを表示 */
#menu-toggle:checked~.global {
    right: 0;
}

.logo {
    min-height: 80px;
    width: 40%;
}

.welcome {
    font-size: 25px;
    padding-bottom: 40px;
}


/* ----------
mainvisual----- */
.mainvisual {
    background-color: #d8a7b1;
}


/* ------------
body--------- */
.latest {
    background-color: #fae3e3;
}

.posts article {
    background-color: #fff;
}


.posts .tag {
    position: absolute;
    font-size: 8px;
    padding: 5px;
    text-align: center;
    background-color: rgba(245, 245, 245, 0.8);
    border-radius: 10px;
    font-weight: bold;
    top: 5px;
    left: 5px;
}

.box {
    position: relative;
}

.img-box {
    width: 100%;
    aspect-ratio: 1/1;
}

.img-box img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    overflow: hidden;
}

.posts .btn {
    display: block;
    width: 150px;
    margin-left: auto;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    background-color: #f28b82;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.posts .btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.posts article {
    margin-bottom: 30px;
    padding: 20px 20px;
}


.content {
    border-left: #000 solid 1px;
}

.category {
    padding: 0 10px;
    border-bottom: #000 solid 1px;
}

.cate {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.category h3 {
    font-weight: bold;
    text-decoration: underline;
}

.about {
    padding: 10px 10px;
}

.about h3 {
    font-weight: bold;
    text-decoration: underline;
}


.page ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 30px;
}

table {
    border: 1px solid #000;
}

td {
    padding: 20px 20px;
    border: 1px solid #000;
}

th {
    padding: 20px 20px;
    border: 1px solid #000;
}

/*------------
footer------- */
footer {
    background-color: #5c5c5c;
    color: #fff;
    font-size: 20px;
    padding: 30px 0;
}

.sns {
    font-size: 30px;
    color: #000;
}



/* PC(1140px) */
@media(640px<=width) {
    header {
        padding: 30px 0;
    }

    .logo {
        min-height: 100px;
        width: 50%;
    }


    h1 {
        font-size: 80px;
    }

    .posts article {
        display: grid;
        grid-template-columns: 150fr 550fr;
        column-gap: 30px;
        align-items: center;
        padding: 25px;
    }

    .latest-posts {
        display: grid;
        grid-template-columns: 3fr 2fr;
        column-gap: 30px;
        align-items: start;
        padding: 25px;
    }

    .category {
        border-bottom: #000 solid 1px;
    }

    .content {
        display: block;
        border-left: #000 solid 1px;
    }
}



/* /* .loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 555;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader .txt {
    font-size: 45px;
    font-weight: bold;
    color: rgb(30, 50, 93);
}

/* HTML: <div class="loader"></div> */
/* .loader {
    display: inline-flex;
    gap: 10px;
}

.loader:before,
.loader:after {
    content: "";
    height: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        linear-gradient(#222 0 0) top/100% 0% no-repeat,
        radial-gradient(farthest-side, #000 95%, #0000) 50%/8px 8px no-repeat #fff;
    animation: l9 4s infinite ease-in;
} */


/* -----------
single.html_style.css
--------------------- */
.single {
    body {
        color: #333;
        font-family: 'Times New Roman', Times, serif;
        font-size: 16px;
        line-height: 1.7;
        letter-spacing: 0;
    }

    img {
        max-width: 100%;
        height: auto;
        vertical-align: middle;
    }

    .inner {
        width: 86.486%;
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }

    .archive-title {
        font-family: 'Times New Roman', Times, serif;
        padding: 30px 0;
        font-size: 48px;
        font-weight: bold;
        line-height: 1.2;
    }

    .title {
        padding: 20px 0;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        font-size: 40px;
        font-weight: bold;
    }

    h3 {
        font-size: 25px;
        margin: 20px 0;
    }

    /*----------
    header--------- */
    header {
        background-color: #a49e9e;
        padding: 20px 0;
    }

    header .inner {
        display: grid;
        grid-auto-flow: column;
        justify-content: space-between;
        align-items: center;
    }

    /* ハンバーガーボタン */
    .menu-btn {
        display: inline-block;
        font-size: 60px;
        padding: 10px 15px;
        cursor: pointer;
        z-index: 900;
    }

    /* ナビゲーション（初期は左に隠す） */
    .global {
        position: fixed;
        top: 140px;
        right: -200px;
        width: 200px;
        height: 100vh;
        transition: left 0.3s ease;
        z-index: 999;
    }

    /* メニュー内のリスト */
    .global ul {
        background-color: #ccc;
        list-style: none;
        margin: 0;
        padding: 5px 0;
    }


    .global li {
        margin: 10px 0;
        padding-bottom: 3px;
        font-size: 18px;
        background-image: linear-gradient(#000, #000);
        background-repeat: no-repeat;
        background-position: bottom right;
        background-size: 0 1px;
        transition: background-size 0.3s;
    }

    .global li:hover {
        background-position: bottom left;
        background-size: 100% 1px;
    }

    .global a {
        display: block;
        padding: 5px;
        text-decoration: none;
        font-size: 18px;
    }

    /* チェックが入ったらメニューを表示 */
    #menu-toggle:checked~.global {
        right: 0;
    }

    .logo {
        min-height: 80px;
        width: 40%;
    }

    .welcome {
        font-size: 25px;
        padding-bottom: 40px;
    }


    /* ---------
    body------- */
    .breadcrumbs {
        margin: 20px 0;
    }

    .latest-post {
        background-color: #fff;
    }

    .date {
        text-align: start;
        font-size: 20px;
    }

    .text {
        padding-bottom: 20px;
    }

    .post-img-box {
        padding-bottom: 20px;
    }

    .picture {
        padding-bottom: 20px;
    }

    .about h3 {
        margin: 10px 0;
    }

    .about {
        padding: 10px 10px;
    }

    .latest-post ul {
        margin-left: 10px;
        list-style: disc;
    }

    .latest-post .about ul {
        list-style: none;
    }


    .latest-post ol {
        margin-left: 10px;
        list-style: disc;
    }

    .document li {
        list-style: none;
        margin: 10px 0;
    }

    .category h3 {
        margin: 10px 0;
    }

    .category h3 {
        font-weight: bold;
        text-decoration: underline;
    }

    .point ul {
        list-style: none;
    }

    .depth-1 {
        list-style: none;
    }

    .comment-author vcard {
        margin: 0;
    }


    /* === コメントフォーム全体 === */
    .comment-form {
        max-width: 600px;
        margin: 30px auto;
        padding: 20px;
        border: 2px solid #ddd;
        border-radius: 10px;
        background: #fafafa;
    }

    /* 各フィールドのラベル */
    .comment-form label {
        display: block;
        font-weight: bold;
        margin-bottom: 6px;
        color: #333;
    }

    /* テキストボックス & テキストエリア */
    .comment-form input[type="text"],
    .comment-form textarea {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background: #fff;
        transition: all 0.2s ease;
        box-sizing: border-box;
    }

    /* フォーカス時のスタイル */
    .comment-form input[type="text"]:focus,
    .comment-form textarea:focus {
        border-color: #0073aa;
        /* WordPress青 */
        box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
        outline: none;
    }

    /* textarea (コメント本文) */
    .comment-form textarea {
        min-height: 120px;
        resize: vertical;
    }

    /* 必須マーク */
    .comment-form .required {
        color: red;
        margin-left: 4px;
    }

    /* 送信ボタン */
    .comment-form input[type="submit"],
    .form-submit input {
        background: #0073aa;
        color: #fff;
        border: none;
        padding: 12px 20px;
        border-radius: 6px;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .comment-form input[type="submit"]:hover,
    .form-submit input:hover {
        background: #005f8d;
    }

    .has-text-align-center {
        text-align: left;
    }

    .has-text-align-right {
        text-align: left;
    }

    /* -----------
footer---------- */
    footer {
        background-color: #5c5c5c;
        color: #fff;
        font-size: 20px;
        padding: 30px 0;
    }

    .sns {
        color: #000;
    }

    /* PC(1140px) */
    @media(640px<=width) {
        header {
            padding: 30px 0;
        }

        header nav {
            display: block;
        }

        .logo {
            min-height: 100px;
            width: 50%;
        }

        .global {
            display: block;
        }

        .content {
            display: block;
        }

        .picture img {
            padding: 0 200px;
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            object-position: center 20%;
            overflow: hidden;
        }

        .single-post {
            display: grid;
            grid-template-columns: 1fr 1fr;
            column-gap: 30px;
            align-items: center;
            padding: 10px;
        }

    }


}