@charset "utf-8";

@import url("../css/style.css?v=20260726-1");
@import url("https://fonts.googleapis.com/css2?family=LINE+Seed+JP:wght@400;700&display=swap");

/* Ernte Bell - てがろぐ専用スキン */

.tegalog-page{
    font-family:"Zen Old Mincho","Yu Mincho",serif;
}

.blog-content{
    min-width:0;
    padding-top:0;
}

.blog-header{
    padding-top:45px;
    text-align:center;
}

.blog-header h1{
    margin:0;
    padding-bottom:12px;
    border-bottom:2px solid #4f4b40;
    font-family:"Cormorant Garamond",serif;
    font-size:64px;
    line-height:1.1;
}

.blog-header h1 a{
    color:inherit;
    text-decoration:none;
}

.blog-header p{
    margin:18px 0 0;
    font-family:"Zen Kurenaido","Yu Mincho",serif;
    font-size:16px;
    font-weight:400;
    -webkit-text-stroke:.25px currentColor;
    letter-spacing:.08em;
}

.blog-main{
    width:100%;
    max-width:1120px;
    margin:58px auto 70px;
    font-family:"Zen Kurenaido","Yu Mincho",serif;
    font-weight:400;
    -webkit-text-stroke:.25px currentColor;
}

.blog-main a{
    color:#4b3b05;
}

.blog-top-tools{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    margin-bottom:34px;
    padding-bottom:16px;
    border-bottom:1px solid #aaa18d;
}

.blog-search form,
.blog-search p{
    margin:0;
}

.blog-search input[type="search"],
.blog-search input[type="text"]{
    width:min(280px,55vw);
    padding:8px 10px;
    border:1px solid #9c927c;
    border-radius:0;
    background:rgba(255,255,255,.28);
    color:var(--text);
    font:inherit;
}

.blog-search input[type="submit"],
.blog-search button,
.blog-quickpost input[type="submit"]{
    padding:8px 13px;
    border:1px solid #4b3b05;
    border-radius:0;
    background:#4b3b05;
    color:var(--bg);
    font:inherit;
    cursor:pointer;
}

.blog-control-links{
    display:flex;
    gap:18px;
    font-family:"Cormorant Garamond",serif;
    font-size:18px;
}

.blog-control-links a{
    text-decoration:none;
}

.blog-quickpost:empty,
.blog-situation:empty{
    display:none;
}

.blog-quickpost{
    margin:0 0 35px;
    padding:24px;
    border:1px solid #c8b995;
    background:#e6dcc2;
}

.blog-quickpost textarea{
    width:100%;
    min-height:120px;
    box-sizing:border-box;
    padding:12px;
    border:1px solid #9c927c;
    background:var(--bg);
    color:var(--text);
    font:inherit;
}

.blog-situation{
    margin-bottom:26px;
    padding:10px 14px;
    border-left:3px solid #756c43;
    font-size:14px;
}

.blog-situation:has(> p:empty:only-child){
    display:none;
}

.blog-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 260px;
    gap:58px;
    align-items:start;
}

.blog-entry{
    margin:0 0 48px;
    padding:0 0 42px;
    border-bottom:1px solid #aaa18d;
}

.blog-entry-header{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px 14px;
    margin:0 0 19px;
}

.blog-entry-date{
    color:#8b8377;
    font-family:"Zen Kurenaido","Yu Mincho",serif;
    font-size:12px;
    font-weight:400;
    letter-spacing:.02em;
    text-decoration:none;
}

.blog-entry .newsign{
    color:#8c4d41;
    font-size:11px;
}

.blog-entry .categories a{
    display:inline-block;
    margin-right:7px;
    padding:2px 8px;
    border:1px solid #b9ae96;
    font-size:11px;
    text-decoration:none;
}

.blog-entry-body{
    font-family:"LINE Seed JP",sans-serif;
    font-size:15px;
    font-weight:400;
    letter-spacing:.01em;
    line-height:2.1;
    -webkit-text-stroke:0;
    overflow-wrap:anywhere;
}

.blog-entry-body p{
    margin:0 0 1.25em;
}

.blog-entry-body img,
.blog-entry-body video{
    max-width:min(100%,360px);
    height:auto;
}

.blog-entry-body .imagelink{
    display:inline-block;
    max-width:100%;
}

.blog-entry-body .imagelink img{
    display:block;
}

.blog-entry-body .embeddedimage{
    max-width:min(100%,360px);
}

.blog-entry-footer{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
    gap:12px 20px;
    min-height:0;
    margin:24px 0 0;
    padding:0;
    color:#766f63;
    font-size:11px;
    text-align:right;
}

.blog-entry-meta{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    align-items:center;
    gap:8px 12px;
    margin-left:auto;
}

.blog-heart-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-width:42px;
    min-height:30px;
    margin:0;
    padding:3px 7px;
    border:0;
    border-radius:999px;
    background:transparent;
    color:#766f63;
    font:inherit;
    line-height:1;
    cursor:pointer;
    transition:background-color .18s ease,color .18s ease;
}

.blog-heart-button:hover{
    background:rgba(140,77,65,.08);
    color:#8c4d41;
}

.blog-heart-button:focus-visible{
    outline:2px solid #8c4d41;
    outline-offset:2px;
}

.blog-heart-button:disabled{
    opacity:1;
    cursor:default;
}

.blog-heart-icon{
    width:18px;
    height:18px;
    overflow:visible;
    fill:transparent;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
    transform-origin:center;
}

.blog-heart-button.is-hearted{
    color:#8c4d41;
}

.blog-heart-button.is-hearted .blog-heart-icon{
    fill:currentColor;
}

.blog-heart-button.is-bumping .blog-heart-icon{
    animation:blog-heart-bump .36s ease-out;
}

.blog-heart-count{
    min-width:1ch;
    font-family:"LINE Seed JP",sans-serif;
    font-size:11px;
    font-variant-numeric:tabular-nums;
    text-align:left;
}

@keyframes blog-heart-bump{
    0%{ transform:scale(1); }
    45%{ transform:scale(1.28); }
    100%{ transform:scale(1); }
}

.blog-entry-footer .newsign:empty,
.blog-entry-footer .categories:empty{
    display:none;
}

.blog-entry-footer a{
    color:inherit;
}

.blog-pagination{
    display:grid;
    gap:10px;
    margin-top:55px;
    text-align:center;
}

.blog-pagination:empty{
    display:none;
}

.blog-sidebar{
    position:sticky;
    top:35px;
    padding-left:26px;
    border-left:1px solid #aaa18d;
    font-size:12px;
    line-height:1.7;
}

.blog-sidebar section{
    margin-bottom:34px;
}

.blog-sidebar-search{
    margin-bottom:42px;
}

.blog-sidebar .blog-search input[type="search"],
.blog-sidebar .blog-search input[type="text"]{
    width:calc(100% - 55px);
}

.blog-sidebar h2{
    margin:0 0 13px;
    font-family:"Zen Kurenaido","Yu Mincho",serif;
    font-size:22px;
    font-weight:400;
}

.blog-sidebar ul{
    margin:0;
    padding-left:18px;
}

.blog-sidebar .hashtaglist,
.blog-sidebar .latestpostlist,
.blog-sidebar .categoryTree ul{
    margin:0;
}

.blog-sidebar select,
.blog-sidebar input,
.blog-sidebar button{
    max-width:100%;
    box-sizing:border-box;
    font:inherit;
}


.blog-sidebar .datelimitbox{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px 8px;
    align-items:center;
}

.blog-sidebar .datelimitpull{
    width:100%;
}

.blog-sidebar .datelimitboxoptions{
    display:flex;
    grid-column:1 / -1;
    flex-direction:column;
    gap:3px;
}

.blog-sidebar .datelimitboxoptions label{
    display:block;
}

.blog-sub-links{
    display:flex;
    align-items:center;
    gap:15px;
}

.rss-link,
.admin-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#4b3b05;
}

.rss-link svg,
.admin-link svg{
    width:18px;
    height:18px;
}

.rss-link:hover,
.admin-link:hover{
    opacity:.65;
}

.blog-footer{
    padding-top:40px;
    font-family:"Zen Kurenaido","Yu Mincho",serif;
    font-weight:400;
    -webkit-text-stroke:.25px currentColor;
}

.blog-footer small{
    display:block;
}

.blog-footer a{
    color:#4b3b05;
}

.blog-footer a:hover{
    opacity:.65;
}

.blog-footer .poweredby{
    margin:8px 0 0;
    font-size:11px;
}

/* てがろぐが生成する共通要素 */

.datefunclinks,
.utilitylinks{
    display:none;
}

.url,
.taglink{
    overflow-wrap:anywhere;
}

.decorationE{
    font-size:1.25em;
}

.decorationD{
    opacity:.68;
}

.decorationT{
    text-decoration:line-through;
}

.searchword{
    background:#e9d982;
}

@media (max-width:1000px){
    .blog-layout{
        grid-template-columns:minmax(0,1fr) 220px;
        gap:38px;
    }
}

@media (max-width:760px){
    .blog-content{
        padding:0 18px 20px;
    }

    .blog-header{
        padding-top:28px;
    }

    .blog-header h1{
        padding-bottom:8px;
        font-size:48px;
    }

    .blog-header p{
        margin-top:12px;
        font-size:14px;
    }

    .blog-main{
        margin:40px auto 35px;
    }

    .blog-top-tools{
        display:block;
        margin-bottom:28px;
    }

    .blog-search input[type="search"],
    .blog-search input[type="text"]{
        width:calc(100% - 78px);
    }

    .blog-control-links{
        margin-top:18px;
    }

    .blog-layout{
        display:block;
    }

    .blog-entry{
        margin-bottom:35px;
        padding-bottom:28px;
    }

    .blog-entry-date{
        font-size:12px;
    }

    .blog-entry-body{
        font-size:14px;
        line-height:2;
    }

    .blog-heart-button{
        min-width:39px;
        min-height:28px;
        padding:3px 5px;
    }

    .blog-heart-icon{
        width:17px;
        height:17px;
    }

    .blog-sidebar{
        position:static;
        margin-top:60px;
        padding:32px 0 0;
        border-top:1px solid #aaa18d;
        border-left:0;
    }

    .blog-sidebar section{
        margin-bottom:28px;
    }

    .blog-quickpost{
        padding:15px;
    }
}

@media (prefers-reduced-motion:reduce){
    .blog-heart-button,
    .blog-heart-icon{
        transition:none;
        animation:none !important;
    }
}
