@charset "utf-8";

/*--------------------*/
/*$B%U%)%s%H(B*/
/*--------------------*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap");

/*--------------------*/
/*$B?'(B*/
/*--------------------*/

:root {
    --color__main: #f9f9f9;
    --color__sabu: #edeff1;
    --color__sabu2: #c8ccd0;
    --color__sabu3: #899199;
    --color__sabu4: #4b535b;
    --color__text: #2c3238;
}


/*--------------------*/
/*$BB>JQ?t(B*/
/*--------------------*/

:root {
    /*$B4pK\J8;z%5%$%:(B*/
    /*$B$3$N%5%$%:$r4p=`$KB?$/$N%5%$%:$,7h$^$k(B*/
    --text: 12px;
    /*$B%Z!<%82#I}(B*/
    --page_width: 50rem;
    /*$BM>Gr%5%$%:(B*/
    --space_xs: 0.25rem;
    --space_s: 0.5rem;
    --space_m: 1rem;
    --space_l: 2rem;
    --space_xl: 4rem;
    /*$B3Q4]%5%$%:(B*/
    --rounded: 0.25rem;
    /*$B%U%)%s%H(B*/
    --font-family: "Montserrat", "Noto Sans JP", YuGothic, "Yu Gothic", "$B%R%i%.%N3Q%4%7%C%/(B", "Hiragino Sans", sans-serif;

}


/*--------------------*/
/*$B%Y%?BG$A(B*/
/*--------------------*/

* {
    /*$B4J0W%j%;%C%H(BCSS*/
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*$B$=$NB>(BCSS*/
    line-height: 2em;
}

html {
    font-family: var(--font_family);
    font-size: var(--text);
    color: var(--color__text);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color__main);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1em;
    margin: 0 0 0.5em;
    font-weight: bold;
}

h1 {
    text-align: center;
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.15rem;
}

h6 {
    font-size: 1.10rem;
}

small {
    font-size: 0.75rem;
}

a {

    color: var(--color__sabu3);
    text-decoration: underline dotted;

    &:visited {
        color: var(--color__sabu3);
    }

    &:hover {
        filter: brightness(0.9);
    }

}

img {
    /*$B2hA|2<$N6uGr$,L5$/$J$k(B*/
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

ul, ol {
    /*$B%j%9%H$,%\%C%/%9Fb$K<}$^$k(B*/
    list-style-position: inside;
    /*$B2~9T$7$?$H$-!"9TF,$,!V!&!W$N1&B&$GB7$&(B*/
    padding-left: 1em;
    text-indent: -1em;
}

audio {
    /*line-height$B$NBeMQ(B*/
    margin: 1rem 0;
}

strong {
    /*$B$F$,$m$0K\BN$G@8@.$5$l$kCm0U=q$-$N%G%6%$%s$rJQ99(B*/
    color: var(--color__text);
    line-height: 2em;
    border-radius: var(--rounded);
    border: var(--color__sabu2) 1px solid;
    background-color: var(--color__sabu);
}

input[type=text], input[type=button], input[type=submit], input[type="file"], textarea, select {
    font-family: var(--font_family);
    color: var(--color__text);
}

input[type=button], input[type=submit], input[type="file"], select {
    padding: calc(var(--space_xs) / 2) var(--space_xs);
    border-radius: var(--rounded);
    border: var(--color__sabu2) 1px solid;
    background-color: var(--color__main);

    &:hover {
        filter: brightness(0.95);
    }

}

input[type=text] {
    border-radius: var(--rounded);
    border: var(--color__sabu2) 1px solid;
    background-color: var(--color__main);
}

input[type=button], input[type=submit] {

    &:hover {
        cursor: pointer;
    }
}

input[type="file"] {

    &:hover {
        cursor: pointer;
    }
}

textarea {
    padding: var(--space_m);
    border-radius: var(--rounded);
    border: var(--color__sabu2) 1px solid;
    background-color: var(--color__main);
}

hr {
    margin: var(--space_l) 0;
    border: none;
    border-top: var(--color__sabu2) 1px solid;
}

/*--------------------*/
/*$B%Z!<%8%5%$%:(B*/
/*--------------------*/

header, main, nav.tools, footer {
    width: min(var(--page_width), calc(100% - 1rem));
}

/*--------------------*/
/*$B%X%C%@!<(B*/
/*--------------------*/

header {
    padding: var(--space_l);
    text-align: center;

    .site_title {
        color: var(--color__sabu4);

        * {
            color: var(--color__sabu4);
            text-decoration: none;
        }

    }

    .sub_title {
        font-size: 1rem;
        color: var(--color__sabu2);
    }

}

/*--------------------*/
/*$B%a%$%s(B*/
/*--------------------*/

/*$B4J0WEj9F%(%j%"(B*/

.postarea {
    width: 100%;
}

.tegalogpost {
    width: 100%;
    min-height: 10rem;
}

.line-control {
    margin-top: var(--space_s);
    margin-bottom: var(--space_xl);
}

.line-control span {
    margin-top: var(--space_xs);
}

input[type=submit].postbutton {
    padding: var(--space_s) var(--space_m);
    border-radius: calc(var(--space_s) * 3) / 50%;
}

.hashtagEasyInput {
    margin-right: var(--space_xs);
}

.changelink {
    display: none;
}

.decoBtns input[type=button] {
    margin-right: var(--space_xs);
}

.catChecks label {
    margin-right: var(--space_xs);
    font-size: 0.75rem;
}

/*$B%G!<%?%;%Q%l!<%?(B*/

.dateseparator {
    display: none;
}

/*$B5-;v(B*/

article.post {
    position: relative;
    margin: calc(var(--space_xl) * 2) 0;

    &:first-of-type {
        margin-top: 0;
    }

    &:last-of-type {
        margin-bottom: 0;
    }

    .header {
        display: flex;
        justify-content: right;
        gap: var(--space_m);
    }

    .footer {
        display: flex;
        justify-content: right;
        gap: var(--space_m);
    }

    .postdate {
        font-weight: bold;
    }

}

/*$B8GDjEj9F(B*/

.fixed {
    display: none;
}

.logstatus-fixed {

    .fixed {
        display: block;
        position: absolute;
        top: -1.25rem;
        right: 0;
        color: var(--color__sabu2);
    }

    & .material-symbols-outlined {
        font-size: 1.25rem;
        color: var(--color__sabu2);
    }

}

/*$B80IU$-Ej9F(B*/

.passkeybox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space_s);
    margin-bottom: var(--space_s);

    .passkeyguide, .passkeyinput, .submitcover {
        display: block;
        line-height: 1em;
    }

    .passkeyguide {
        width: 100%;
    }

    .passkeyinput {
        width: min(18rem ,100%);
        padding: var(--space_s);
        font-size: 1rem;
    }

    .passkeysubmit {
        padding: calc(var(--space_xs) / 2) var(--space_m);
    }

}

.locked {
    display: none;
}

.logstatus-lock {

    .locked {
        display: block;
        position: absolute;
        top: -1.25rem;
        right: 0;
        color: var(--color__sabu2);
    }

    & .material-symbols-outlined {
        font-size: 1.25rem;
        color: var(--color__sabu2);
    }
}

/*$B%Z!<%8%j%9%H(B*/

.pagenavi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: var(--space_m);
    margin: var(--space_xl) 0;

    .prev {
        text-align: right;
    }

    .pagelist {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--space_s);

        a {
            display: block;
            width: 3rem;
            aspect-ratio: 1 / 1;
            padding: 1rem 0;
            box-sizing: border-box;
            overflow-x: visible;
            line-height: 1em;
            text-align: center;
            text-decoration: none;
            border-radius: 50%;
            border: var(--color__main) 1px solid;
        }

        a:hover {
            border: var(--color__sabu2) 1px solid;
        }

        .pagenumhere {
            background-color: var(--color__sabu);
        }

        .omitted {
            color: var(--color__sabu2);
        }

    }

    .next {
        text-align: left;
    }

}

/*$B8DJLEj9F%Z!<%8(B*/

.utilitylinks {
    display: none;

    & ul {
        list-style: none;
    }

}

/*--------------------*/
/*$B%J%S%2!<%7%g%s(B*/
/*--------------------*/

/*$B$F$,$m$0$N3F<o5!G=$r%J%S%2!<%7%g%s$H$7$F$^$H$a$F$$$k(B*/

nav.tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space_xl);
    margin-bottom: var(--space_xl);

    .title {
        .site_title {
            font-size: 1.25rem;
            font-weight: bold;
            text-decoration: none;
            color: var(--color__text);

        }

        .sub_title {
            font-size: 0.75rem;
        }

    }

    .other {
        display: flex;
        flex-direction: column;
        gap: var(--space_l);
    }

    & h2 {
        font-size: 1rem;
    }

    & ul {
        list-style: none;

        .num {
            display: none;
        }
    }
}

/*$B8!:w(B*/

.search {

    .searchbox {
        line-height: 1em;
    }

    & span.searchinputs {
        display: flex;
        gap: var(--space_s);

        > * {
            display: block;
            flex-grow: 1;

            > * {
                display: block;
                width: 100%;
            }

        }

    }

}

/*$BJ#9g8!:w(B*/

.complexsearch {
    
    & p.searchbox {
        display: flex;
        gap: var(--space_s);
        margin-bottom: var(--space_s);

        > * {
            display: block;
            flex-grow: 1;

            > * {
                display: block;
                width: 100%;
            }

        }
    }

    & ul {
        display: flex;
        flex-direction: column;
        gap: var(--space_s);
        list-style: none;
    }

}

/*$B%+%l%s%@!<(B*/

div.calendar {
    & table.calendar {
        width: 100%;
        text-align: center;
    }

}

/*$B?7Ce2hA|(B*/

.imagelist {

    .list {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space_s);
    }

    .imagelistitem {
        display: block;
        width: calc((100% - var(--space_s))/2);
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 0.25rem;

        & a {
            display: block;
            width: 100%;
            height: 100%;
        }

        & img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

}

/*$B%+%F%4%j!<(B*/

.categoryarea {
    column-count: 2;

    ul {
        padding-left: 0;
        text-indent: 0;
        list-style: none;
    }

}

/*$B%O%C%7%e%?%0(B*/
.hashtag {
    ul {
        padding-left: 0;
        text-indent: 0;
        list-style: none;
    }

    ul.hashtaglist {
        li {
            display: inline-block;
            margin-right: var(--space_m);
        }

        li:last-child {
            margin-right: 0;
        }

    }

    .taglink {

        &::before {
            /*$B%O%C%7%e%?%0I=<((B*/
            content: "#";
        }

    }
}

/*$B:G6a$NEj9F(B*/

.latestpostlist {
    padding-left: 0;
    text-indent: 0;

    .username {
        display: none;
    }

}

/*--------------------*/
/*$B%U%C%?!<(B*/
/*--------------------*/

footer {
    display: flex;
    justify-content: center;
    padding-top: var(--space_m);

    .settings {
        font-size: 1rem;
        
        a {
            text-decoration: none;
        }
    }

}

/*--------------------*/
/*$BHFMQAu>~(B*/
/*--------------------*/

/* B:$BB@;z(B(Bold) */
.decorationB {
    font-weight: bold;
}

/* D:$B:o=|(B(Delete) */
.decorationD {
    color: var(--color__sabu3);
    text-decoration: line-through var(--color__sabu3);
}

/* E:$B6/D4(B(Emphasis) */
.decorationE {
    background:linear-gradient(transparent 60%, var(--color__sabu2) 40%);
}

/* I:$B<PBN(B(Italic) */
.decorationI {
    font-style: italic;
}

/* Q:$B0zMQ(B(Quote) */
.decorationQ {
    margin: var(--space_m) 0;
    padding: var(--space_m);
    border: var(--color__sabu2) 1px solid;
    border-radius: var(--rounded);
    background-color: var(--color__sabu);
}

.decorationQ::before,
.decorationQ::after {
    /*$B0zMQId$NHsI=<($K(B*/
    content: '';
}

.decorationQ + br {
    display: none;
}

/* S:$B>.J8;z(B(Small) */
.decorationS {
    font-size: 0.8em;
}

/* T:$B6K>.J8;z(B(Tiny) */
.decorationT {
    font-size: 0.6em;
}

/* U:$B2<@~(B(Underline) */
.decorationU {
    text-decoration: underline var(--color__text);
}

/*$BB3$-$rFI$`(B*/
.readmorebutton {
    display: block;
    width: fit-content;
    padding: var(--space_xs) var(--space_m);
    text-decoration: none;
    font-size: 1rem;
    border: var(--color__sabu2) 1px solid;
    border-radius: calc(1rem + var(--space_xs));
}

/*$BB3$-$rFI$`!JJD$8$k%\%?%s!K(B*/
/*
.readmoreclose {

}
*/

/*$B%j%9%H(B*/

.decorationL {
    & + br {
        display: none;
    }
}

dl.decorationL {
    & dd {
        padding-left: 2rem;
    }
}

/*--------------------*/
/* $BKd$a9~$_2hA|(B */
/*--------------------*/

figure.nsfw {
    overflow: hidden; /* $B$\$+$7NN0h$,(Bfigure$B$N%\%C%/%9$+$i$O$_=P$J$$$h$&$K$9$k(B */
}

.imagelink.nsfw {
    overflow: hidden; /* $B$\$+$7NN0h$,(Bfigure$B$N%\%C%/%9$+$i$O$_=P$J$$$h$&$K$9$k(B */
}

img.nsfw {
    filter: blur(15px); /* $B$\$+$9(B */
}
  
.imagelink {
    display: inline-block;
    overflow: hidden;
}

.embeddedpictbox {

    margin-bottom: var(--space_s);
    line-height: 1em;

    &:last-child {
        margin-bottom: 0;
    }

    /*
    .imagelink  {
    }
    */

    & figcaption{
        font-size: 0.75rem;
    }

    & + br {
        display: none;
    }
}

/*--------------------*/
/*$B%l%9%]%s%7%V(B*/
/*--------------------*/

@media screen and (max-width: 500px) {

    .pagenavi {
        .prev > *, .next > * {
            display: none;
        }
    }

    nav.tools {
        grid-template-columns: none;
        grid-template-rows: auto;
    }

}

/*--------------------*/
/*$B<+M3Au>~!J2hA|J#?t%+%i%`2=!K(B*/
/*--------------------*/

.deco-2column, .deco-3column, .deco-2column_m, .deco-3column_m {
    .imagelink {
        display: block;
    
        & + br {
            display: none;
        }
    }

    img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/*$B2hA|$NFs%+%i%`2=(B*/

.deco-2column {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space_m) var(--space_s);
    margin-top: var(--space_s);

    & .imagelink {
        max-width: calc((100% - var(--space_s))/2);
        margin: 0;
        height: fit-content;
    }

    & .embeddedpictbox {
        max-width: calc((100% - var(--space_s))/2);
        margin: 0;
        height: fit-content;
        
        & .imagelink {
            max-width: 100%;
        }
    }
}

/*$B2hA|$N;0%+%i%`2=(B*/

.deco-3column {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space_m) var(--space_s);
    margin-top: var(--space_s);

    & .imagelink {
        max-width: calc((100% - 1rem)/3);
        margin: 0;
        height: fit-content;
    }

    & .embeddedpictbox {
        max-width: calc((100% - 1rem)/3);
        margin: 0;
        height: fit-content;

        & .imagelink {
            max-width: 100%;
        }
    }
    
}

/*$BFs%+%i%`(Bmasonry$BHG!JI_$-5M$a$k$h$&$J%G%6%$%s!K(B*/
/*$B0[$J$k2hA|I}$N2hA|$rJB$Y$k$H$-$O$3$A$i$r?d>)(B*/

.deco-2column_m {
    display: block;
    column-count: 2;
    margin-top: var(--space_s);

    & .imagelink {
        max-width: 100%;
        break-inside: avoid;
        margin: 0 0 var(--space_s);
    }

    & .embeddedpictbox {
        max-width: 100%;
        break-inside: avoid;
        margin: 0 0 var(--space_s);

        .imagelink  {
            margin: 0;
        }
    }
}

/*$B;0%+%i%`(Bmasonry$BHG(B*/

.deco-3column_m {
    display: block;
    column-count: 3;
    margin-top: var(--space_s);

    & .imagelink {
        max-width: 100%;
        break-inside: avoid;
        margin: 0 0 var(--space_s);
    }

    & .embeddedpictbox {
        max-width: 100%;
        break-inside: avoid;
        margin: 0 0 var(--space_s);

        .imagelink  {
            margin: 0;
        }
    }
}

/*--------------------*/
/*$B$=$NB>(B*/
/*--------------------*/

.url {
    /*$B#U#R#L$,%\%C%/%9$+$i?)$_=P$J$$$h$&$K@_Dj!#(B*/
    /*$B#U#R#L$,%\%C%/%9$+$i?)$_=P$k$H!"%l%9%]%s%7%V%G%6%$%s$,Jx$l$k$3$H$,$"$k!#(B*/
    word-break: break-all;
}

.embeddedmovie{
    /*$BF02h$,%\%C%/%9$+$i?)$_=P$J$$$h$&$K@_Dj!#(B*/
    /*$BF02h$,%\%C%/%9$+$i?)$_=P$k$H!"%l%9%]%s%7%V%G%6%$%s$,Jx$l$k$3$H$,$"$k!#(B*/
    display: block;
    max-width:100%;
}

.embeddedmovie iframe{
    /*$BKd$a9~$_%3%s%F%s%D!JF02h!K$,%\%C%/%9$+$i?)$_=P$J$$$h$&$K@_Dj!#(B*/
    /*$BKd$a9~$_%3%s%F%s%D!JF02h!K$,%\%C%/%9$+$i?)$_=P$k$H!"%l%9%]%s%7%V%G%6%$%s$,Jx$l$k$3$H$,$"$k!#(B*/
    display: block;
    max-width:100%;
}

iframe.instagram-media {
    /*$BKd$a9~$_%3%s%F%s%D!J%$%s%9%?!K$,%\%C%/%9$+$i?)$_=P$J$$$h$&$K@_Dj(B*/
    /*$BKd$a9~$_%3%s%F%s%D!J%$%s%9%?!K$,%\%C%/%9$+$i?)$_=P$k$H!"%l%9%]%s%7%V%G%6%$%s$,Jx$l$k$3$H$,$"$k!#(B*/
    max-width: 100% !important;
    min-width: initial !important;
}

.embeddedmusic iframe {
    /*$BKd$a9~$_%3%s%F%s%D!J2;@<!K$,%\%C%/%9$+$i?)$_=P$J$$$h$&$K@_Dj!#(B*/
    /*$BKd$a9~$_%3%s%F%s%D!J2;@<!K$,%\%C%/%9$+$i?)$_=P$k$H!"%l%9%]%s%7%V%G%6%$%s$,Jx$l$k$3$H$,$"$k!#(B*/
    max-width: 100% !important;
    min-width: initial !important;
}
