:root{
    --0black: #111;
    --glay: #ddd;
    --0white: #fff;

    --bc: rgb(255, 250, 250);
    --bd: solid 1px rgb(218,220,224);
    --br: 10px;
    --bs: 0 0 8px 1px rgba(0,0,0,0.1);
    --boxpad: 10px 1em 10px 1em;

    --maxwidth: 800px;
    --center:1em auto;
}
body {
    background-color: rgb(249, 249, 249);
    font-size: 18px;
	text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-family:
    -apple-system,
    "Helvetica Neue",
    Arial,
    "Yu Gothic Medium", 
    "游ゴシック Medium", 
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    sans-serif;
    -webkit-text-size-adjust: 100%;
}

img, video {
    max-width: 100%;
    height: auto;
}

svg {
    max-width: 150px;
    /* width: 1em; */
    display: inline-block;
}

iframe{
    display: block;
    max-width: 100%;
    margin: var(--center);
}


/* .exlink::before{
    content: "▶";
} */

a {
    text-decoration: none;
}
/* a:hover,
a:active,
a:visited {
    color: inherit;
} */
a:hover {
    color: rgba(255, 213, 0, 0.844);
    fill: rgba(155, 155, 155, 0.773);
    cursor: pointer;
}
/* .headerSvg:hover {
    fill: rgba(155, 155, 155, 0.773);
    cursor: pointer;
} */



li.L0, li.L1, li.L2, li.L3,
li.L5, li.L6, li.L7, li.L8 {
  list-style-type: decimal !important;
}

li {
    margin: 5px 0 0 0;
}

ul {
    padding: 0 0 0 1em;
    margin: 0 0 1.5em 0;
}

table {
    border-collapse:  collapse; 
}

table,th,td {
    border: solid 1px;
    padding: 3px;
}

h1 {
    font-weight: bold;
    font-size: 1.3em;
}

h2 {
    font-weight: bold;
    font-size: 1.2em;
}
h3,h4,h5,h6{
    font-weight: bold;
    font-size: 1.1em;
}

p {
    margin-block-start: 1em;
    margin-block-end: 1em;
    word-break:break-word;
    overflow-wrap: break-word;

}

header {
    padding: 10px 0 0 0;
    width: 100%;
    white-space: nowrap;
    background: var(--0white);
}




.x-scroll{
    overflow-x: auto;
    &::-webkit-scrollbar {
        display: none;
      }
    &:hover {
        -webkit-overflow-scrolling: touch;
      }
}











#site-title {
    max-width: var(--maxwidth);
    width: auto;
    margin: auto;
    padding: 0 0 0 10px;
}

a.site-title-link {
    color: var(--0black);
    font-weight: bold;
    font-size: 1.4em;
}

.header-back{
    background: var(--0black);
}
  
.header-nav {
    max-width: var(--maxwidth);
    width: auto;
    margin: auto;
}

.nav-list {
    list-style: none;
    align-items: center;
    margin: 10px 0 0 0;
    padding: 0 0 5px 8px;
    display: flex;
    gap: 30px;
    font-size: 16px;
    font-weight: bold;

}

.nav-link {
    color: var(--0white);
    /* flex-grow: 1; */
}

.header-svg{
    fill: var(--0white);
    display: inline-block;
    width: 1em;
}


.notice{
    background: orange;
    width: auto;
    height: 1.5em;
    display: flex;
    align-items: center;
    margin: 0 0 2em 0;
}

.notice-txt{
    max-width: 1000px;
    width: auto;
    margin: auto;
    font-size: 16px;
    font-weight: bold;
    padding: 0 0 0 10px;

}
















#container {
    padding: 10px;
    width: auto;
    max-width: 1000px;
    margin: auto;
    
    word-break:break-word;
    overflow-wrap: break-word;
    display: flex;
    /* gap: 1em; */

}

main{
    flex: 7;
    width: 100%;
    word-break:break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}



.block{
    margin: 10px;
    padding: 20px;

    background: var(--0white);
    border: #7979793b solid 1px;
    border-radius: 12px;
    box-shadow: 0 0 10px 4px rgb(0 0 0 / 10%);
}

.post-list {
    display: flex;
    flex-direction: column;
    /* gap: 59px; */
}
/* .post{
} */


.neighbor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 0.8em;
    margin: 10px 23px;
}

.after-link,.before-link{
    color: blue;
    cursor: pointer;
}




.sort-block{
    margin: 0 20px;
    /* padding: 2px; */
    display: flex;
    flex-direction: row-reverse;
}
.sort{
    cursor: pointer;
    color: blue;
}
.sort:hover{
    color: var(--glay);
}





.list-h2{
    color: inherit;
}
.list-h2:hover{
    color: inherit;
}

.post-date{
    font-size: 0.8em;
    text-align: right;
}
.copy-block{
    display: flex;
    justify-content: flex-end;
    margin: 7px;
    height: 1.7em;
}
.copy-link{
    cursor: pointer;
    display: inline-block;
    align-items: center;
    justify-content: center; 
    position: relative;
    height: 1.7em;
}
.copy-svg{
    width: 1.7em;
    height: 1.7em;
}
.copy-message {
    display: none;
    position: absolute;
    top: -30px; /* 必要に応じて調整 */ 
    left: 50%;
    transform: translateX(-50%);
    background-color: #4caf50;
    color: white;
    padding: 5px;
    border-radius: 3px;
    white-space: nowrap;
}

/* .main-txt,.note-editing-area{
} */
.main-txt a,.note-editing-area a{
    text-decoration: underline;
}
.main-txt img,
.note-editing-area img,
.main-txt iframe,
.note-editing-area iframe
.main-txt canvas,
.note-editing-area canvas{
    display: block;
    margin: auto;
}



pre {
    font-size: 0.8em;
    white-space: pre;
    /* overflow-x: hidden; */
    overflow-x: auto;

    word-wrap: normal;
    position: relative;
    border-radius: 6px;
    scrollbar-width: none;
    color: #eee;
    background: #111;
    /* padding: 10px; */

}
code{
    scrollbar-width: none;
    padding: 0.1em;
    border-radius: 6px;
    color: #eee;
    background: #111;
    font-size: 0.8em;
    font-family: 
        SFMono-Regular,
        Consolas,
        Liberation Mono, 
        Menlo,
        monospace,
        Apple Color Emoji,
        Segoe UI Emoji,
        Segoe UI Symbol,
        Noto Color Emoji;
}
.hljs {
    font-size: 0.95em;
}

/* font-family: Consolas, "Liberation Mono", Menlo, Courier, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, monospace; */














.tag-list{
    margin: 25px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}
.tag{
    display: flex;
    cursor: pointer;
    margin: 5px;
    padding: 2px 8px;
    gap: 0 2px;
    

    color: var(--0black);
    border: 1px solid #05050551;
    border-radius: 100px;

}
.tag:hover{
    background-color: rgb(113, 231, 255);
}
.tag-list object{
    --tagsize: 1.7em;
    margin: auto;
    width: var(--tagsize);
    height: var(--tagsize);
}
.tag-list img{
    --tagsize: 1.7em;
    margin: auto;
    width: var(--tagsize);
    height: var(--tagsize);
}
object {
    pointer-events: none;
}
.tag-icon{
    width: 1em;

}
/* .tag-link{
    color: inherit;
} */

.tag-txt{
    margin: auto;
    font-weight: bold;
    font-size: 0.8em;
}



 




.side{
    flex: 3;
    width: 50%;
    margin-top: 31px
}




.twitter-tweet {
    margin: var(--center);
}
.easyLink-box.easyLink-size-s {
    margin: var(--center);
}







footer{
    background: var(--0black);
    color: var(--0white);
    width: 100%;
    height: 100px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    margin: 100px 0 0 0;
    padding: 10px;
}
.footer-link{
    color: var(--0white);
    text-decoration: underline;
}






@media (max-width: 800px){
    body{
        font-size: 17px;
    }

    .notice{
        margin: 0 0 1em 0;
    }

    #container{
        display: block;
        padding: 10px 0;
    }

    main{
        max-width: 100%;
        /* margin: 0 0 1em 0 ; */
        /* padding: 20px 15px; */
    }

    .block{
        margin: 10px 5px;
        padding: 20px 13px;
    }

    .side{
        width: 100%;
    }

    aside{
        max-width: 100%;

    }

    h1{
        font-size: 1.3em;
    }
}












.note-editable pre {
    white-space: pre-wrap;
}
