@import url('https://fonts.googleapis.com/css2?family=Castoro+Titling&family=Zen+Old+Mincho&display=swap');

.site-footer a{
  color:#fafafa;
}

/* .render-container-inner {
  background: #252525;
} */

.coffe .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    margin: 20px 0 0;
    padding: 18px;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    background-image: linear-gradient(0deg, #57480f 0%, #b17416ba 100%);
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.coffe .button::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.green2{
  font-weight:600;
  color:#28968a;
}
ol > li::marker, ul > li::marker {
  color: #8f8f8f;
}
body,.markdown-preview-view{
  font-family: "Zen Old Mincho", serif;
}

iframe.mastodon-embed {
  width: 100%;
  height: 200px;
}

.detailed-status__link{
  display:none;
}

iframe.mastodon-embed body.embed {
  background: #212121;
  color: #fff;
  height: 100%;
  width: 100%;
}

.link-card {
  font-family: auto;
  font-weight: 200;
}

.link-card-description {
  color: #cfcfcf;
  font-size: 70%;
  font-weight: 400;
}

rt {
  margin-bottom: 2px;
}

.box2 {
  background: #292929;
  padding: 30px;
  line-height: 1.5;
  font-family: auto;
  margin: 20px 0;
  line-height: 2.0;
}

h3, .markdown-rendered h3 {
  color: #bca54f;
  font-weight: 600;
}

.cm-html-embed table, .markdown-rendered table {
  border-collapse: collapse;
  line-height: var(--table-line-height);
  background: #2e2e2e;
  border: 2px solid #444444;
}

.cm-html-embed thead tr > th, .markdown-rendered thead tr > th, .cm-html-embed thead tr > th:last-child, .markdown-rendered thead tr > th:last-child {
  padding: 9px;
  text-align: center;
  background: #222222;
  color: #ffffff;
  font-size: 15px;
}

.tree-item-self .tree-item-icon {
  color: #8e761d;
}

.nav-view-outer .tree-item-self:hover:not(.mod-collapsible):not(.mod-active) {
  border-left: 1px solid #8e761d;
}

.nav-view-outer .tree-item-self:not(.mod-collapsible) {
  border-left: 1px solid #626055;
}

.cm-html-embed thead tr > th:nth-child(2n+2), .markdown-rendered thead tr > th:nth-child(2n+2) {
  background: #222222;
}

.cm-html-embed tbody tr > td:first-child, .markdown-rendered tbody tr > td {
  vertical-align: middle;
  line-height: 1.5;
  font-size: 15px;
}

.markdown-preview-view img:not([width]), .markdown-rendered img:not([width]){
  margin:25px 0;
}

.markdown-preview-view.welcome img:not([width]){
  margin:0;
}


.cm-html-embed tbody tr > td:first-child, .markdown-rendered tbody tr > td:first-child {
  border-left-width: var(--table-column-first-border-width);
  white-space: nowrap;
}

.published-container .markdown-rendered h3, .published-container .markdown-rendered h4 {
  margin: 1.25em 0 1.25em;
  font-weight:400;
}

.site-header-logo img{
  border-radius:0;
  margin-top:8px;
}

.box{
  padding: 15px;
  background: #2e2e2e;
  margin: 15px 0;
  box-shadow: 0px 0px 2px #b8b8b8 inset;
  line-height: 1.8;
  font-size: 14px;
}

.box .sub-title{
  margin-bottom:5px;
}

strong{
  font-size:18px;
}

.border{
  border:none;
  margin:40px 0;
  display:block;
  border-bottom:1px dashed #212121;
}

.right{
  text-align: right;
  margin-left:auto;
  display:block;
}

.center{
  text-align: center;
}

.green{
  color:#79d779;
  font-weight:600;
}

.pink{
  color:palevioletred;
}

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

.red{
  color:#e79696;
}

.big{
  font-size:1.5em;
}

.orange{
  color:#f19853;
}

.tyuui{
  text-decoration: underline;
  font-weight:600;
}

.green2{
  font-weight:600;
  color:#28968a;
}

/************************/
/* card link
/************************/

/* Mobile */
@media screen and (max-width: 1024px) {
  .link-card {
    margin: 10px;
    padding: 25px 15px;
    position: relative;
    z-index: 1;
    background-color: rgba(100, 100, 100, 0.3);
  }

  .link-card-image {
    width: 100% !important;
    max-height: 200px !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
    margin: 10px 0 0 !important;
  }
}

/* PC */
@media screen and (min-width: 1024px) {
  .link-card {
    margin: 40px 15px;
    padding: 15px 30px;
    position: relative;
    z-index: 1;
    background-color: rgba(100, 100, 100, 0.3);
  }

  .link-card-body {
    display: flex;
    justify-content: space-between;
  }

  .link-card-content {
    padding-right: 50px;
  }

  .link-card-image {
    display: inline-block;
    vertical-align: middle;
    height: 100px !important;
    margin: 0 !important;
    -o-object-fit: contain;
       object-fit: contain;
  }
}

.link-card a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -999px;
  z-index: 2;
}

.link-card:hover {
  cursor: pointer;
  -webkit-backdrop-filter: brightness(150%);
          backdrop-filter: brightness(150%);
  transition: -webkit-backdrop-filter 0.5s;
  transition: backdrop-filter 0.5s;
  transition: backdrop-filter 0.5s, -webkit-backdrop-filter 0.5s;
}

.link-card-header {
  display: flex;
  align-items: center;
}

.markdown-rendered .link-card-title {
  font-weight: 600;
  font-size: 110%;
  word-break: break-all;
  color: #d1d1d1;
}

.link-card-description {
  color: grey;
  font-size: 90%;
}

.link-card-site-icon {
  -o-object-fit: contain !important;
     object-fit: contain !important;
  margin: 0 5px 0 0 !important;
  height: 15px !important;
}

.link-card-site-name {
  color: lightgray;
  font-size: 90%;
}

.podcast {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 400px;
  display: block;
  margin: auto;
  overflow: hidden;
}

  .outline-view-outer .tree-item-self {
      -webkit-padding-start: 0;
              padding-inline-start: 0;
      padding-right: 0.7em;
      color: var(--outline-heading-color);
  }
  .tree-item-self.is-clickable {
      cursor: pointer;
  }
  .tree-item-self {
      display: flex
  ;
      align-items: flex-start;
      padding: 5px 8px;
      border-radius: 3px;
      color: var(--nav-item-color);
  }
  * {
      -webkit-tap-highlight-color: transparent;
  }
  * {
      box-sizing: border-box;
  }
  user agent stylesheet
  div {
      display: block;
      unicode-bidi: -webkit-isolate;
      unicode-bidi: -moz-isolate;
      unicode-bidi: isolate;
  }
  .tree-item {
      line-height: var(--line-height-tight);
  }
  .site-body-right-column .site-body-right-column-inner {
      pointer-events: auto;
      width: var(--sidebar-right-width);
      max-width: var(--sidebar-right-width);
      margin: 0 24px;
      display: flex
  ;
      flex-direction: column;
      overflow: auto;
      scrollbar-gutter: stable;
      -ms-overflow-style: none;
      scrollbar-width: none;
  }
  .site-body-right-column {
      width: var(--sidebar-right-width);
      flex: 0 0 var(--sidebar-right-width);
      min-width: var(--sidebar-right-width);
      right: 0;
      top: 0;
      max-height: 100vh;
      background-color: var(--sidebar-right-background);
      border-left: var(--sidebar-right-border-width) solid var(--sidebar-right-border-color);
      overflow: hidden;
      display: none;
      pointer-events: none;
  }
  .site-body-left-column, .site-body-right-column {
      font-size: var(--sidebar-font-size);
      min-height: 0;
  }
  .published-container {
      width: 100%;
      height: 100%;
      overflow: auto;
      position: relative;
      display: flex
  ;
      flex-direction: column;
      -moz-user-select: none;
       -ms-user-select: none;
           user-select: none;
      -webkit-user-select: none;
  }
  .published-container {
      --page-width: 800px;
      --page-side-padding: 48px;
      --page-title-color: var(--h1-color);
      --page-title-font: var(--h1-font);
      --page-title-line-height: var(--h1-line-height);
      --page-title-size: 2.6em;
      --page-title-style: var(--h1-style);
      --page-title-variant: var(--h1-variant);
      --page-title-weight: var(--h1-weight);
      --component-title-color: var(--text-normal);
      --component-title-font: inherit;
      --component-title-size: var(--font-ui-small);
      --component-title-style: inherit;
      --component-title-transform: uppercase;
      --component-title-variant: inherit;
      --component-title-weight: var(--font-semibold);
      --input-height: 32px;
      --graph-height: 260px;
      --sidebar-font-size: 14px;
      --sidebar-left-width: 280px;
      --sidebar-left-background: #292929;
      --sidebar-left-border-width: 1px;
      --sidebar-left-border-color: var(--background-modifier-border);
      --sidebar-right-width: 300px;
      --sidebar-right-background: #292929;
      --sidebar-right-border-width: 0px;
      --sidebar-right-border-color: var(--background-modifier-border);
      --logo-width: auto;
      --logo-height: auto;
      --logo-max-width: calc(100% - 18px);
      --logo-max-height: 200px;
      --logo-radius: 8px;
      --header-height: 50px;
      --site-name-color: #a7a79f;
      --site-name-color-hover: var(--text-muted);
      --site-name-font: inherit;
      --site-name-size: 22px;
      --site-name-weight: var(--font-semibold);
      --site-menu-icon-color: var(--text-faint);
      --site-menu-icon-color-hover: var(--text-normal);
      --site-menu-icon-size: 24px;
      --nav-collapse-icon-color: var(--text-faint);
      --nav-collapse-icon-color-hover: var(--text-muted);
      --nav-parent-item-color: #bfbfbf;
      --nav-parent-item-color-active: var(--text-accent);
      --nav-parent-item-weight: var(--font-medium);
      --nav-item-color: var(--text-muted);
      --nav-item-color-hover: var(--text-normal);
      --nav-item-color-active: var(--text-accent);
      --nav-item-border-color: var(--background-modifier-border);
  }

  .published-container.has-outline .site-body-right-column, .published-container.has-graph .site-body-right-column {
    display: flex;
    height: 100%;
    border-left: 1px solid #363636;
  }

  .published-container.is-readable-line-width .site-body-right-column {
    margin-right: 10px;
    width: calc(((100vw - 30px) - var(--page-width)) / 2);
}


.nav-view-outer .tree-item-self a{
  font-size:15px;
}

  /* body:not(.native-scrollbars) ::-webkit-scrollbar-thumb {
    background-color: #89721b;
    -webkit-border-radius: var(--radius-l);
    background-clip: padding-box;
    border: 2px solid #120505;
    border-width: 3px 3px 3px 2px;
    min-height: 45px;
  } */

  body:not(.native-scrollbars) ::-webkit-scrollbar-thumb,  body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:active,  body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:hover,body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:hover, body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:active {
    background-color: #89721b;
  }

  body:not(.native-scrollbars) ::-webkit-scrollbar-track {
    background-color: #323232;
}

.theme-dark {
  color-scheme: dark;
  --highlight-mix-blend-mode: lighten;
  --mono-rgb-0: 0, 0, 0;
  --mono-rgb-100: 255, 255, 255;
  --color-red-rgb: 251, 70, 76;
  --color-red: #fb464c;
  --color-orange-rgb: 233, 151, 63;
  --color-orange: #e9973f;
  --color-yellow-rgb: 224, 222, 113;
  --color-yellow: #e0de71;
  --color-green-rgb: 68, 207, 110;
  --color-green: #44cf6e;
  --color-cyan-rgb: 83, 223, 221;
  --color-cyan: #53dfdd;
  --color-blue-rgb: 2, 122, 255;
  --color-blue: #027aff;
  --color-purple-rgb: 168, 130, 255;
  --color-purple: #a882ff;
  --color-pink-rgb: 250, 153, 205;
  --color-pink: #fa99cd;
  --color-base-00: #1e1e1e;
  --color-base-05: #212121;
  --color-base-10: #242424;
  --color-base-20: #262626;
  --color-base-25: #2a2a2a;
  --color-base-30: #363636;
  --color-base-35: #3f3f3f;
  --color-base-40: #555555;
  --color-base-50: #666666;
  --color-base-60: #999999;
  --color-base-70: #b3b3b3;
  --color-base-100: #dadada;
  --color-accent-hsl: var(--accent-h), var(--accent-s), var(--accent-l);
  --color-accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
  --color-accent-1: hsl(calc(258 - 3), calc(88% * 1.02), calc(66% * 1.15));
  --color-accent-2: hsl(calc(258 - 5), calc(88% * 1.05), calc(66% * 1.29));
  --background-modifier-form-field: #202020;
  --background-secondary-alt: var(--color-base-30);
  --interactive-normal: var(--color-base-30);
  --interactive-hover: var(--color-base-35);
  --text-accent: var(--color-accent-1);
  --interactive-accent: var(--color-accent);
  --interactive-accent-hover: var(--color-accent-1);
  --background-modifier-box-shadow: rgba(0, 0, 0, 0.3);
  --background-modifier-cover: rgba(10, 10, 10, 0.4);
  --text-selection: hsla(var(--interactive-accent-hsl), 0.25);
  --input-shadow: inset 0 0.5px 0.5px 0.5px rgba(255, 255, 255, 0.09), 0 2px 4px 0 rgba(0, 0, 0, 0.15), 0 1px 1.5px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 0 0 0 transparent;
  --input-shadow-hover: inset 0 0.5px 1px 0.5px rgba(255, 255, 255, 0.16), 0 2px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 1.5px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.4), 0 0 0 0 transparent;
  --shadow-s: 0px 1px 2px rgba(0, 0, 0, 0.121), 0px 3.4px 6.7px rgba(0, 0, 0, 0.179), 0px 15px 30px rgba(0, 0, 0, 0.3);
  --shadow-l: 0px 1.8px 7.3px rgba(0, 0, 0, 0.071), 0px 6.3px 24.7px rgba(0, 0, 0, 0.112), 0px 30px 90px rgba(0, 0, 0, 0.2);
  --pdf-shadow: 0 0 0 1px var(--background-modifier-border);
  --pdf-thumbnail-shadow: 0 0 0 1px var(--background-modifier-border);
}

.published-container .markdown-rendered h1.page-header{
  margin:20px 0;
  font-size:35px;
  line-height: 1.5;
  letter-spacing: 1px;
}

.callout{
  background:#2d2d2d;
}
.callout-title,.callout-icon .svg-icon{
color:#a1a1a1;
}

.callout-content{
  background: #1e1e1e;
  padding: 10px;
  margin:10px 8px 8px -5px;
}

.metadata-container .internal-link,.markdown-rendered .internal-link {
  color: #a79bed;
  margin: 4px 0;
  display: inline-block;
  text-decoration: underline;
}

.metadata-container .internal-link:hover,.markdown-rendered .internal-link:hover {
  color:#c3bcef;

}

.metadata-container ul .internal-link, .markdown-rendered ul .internal-link,.metadata-container ol .internal-link, .markdown-rendered ol .internal-link{
text-decoration: none;
color: #d9d9d9;
}

.markdown-rendered .callout-content  .internal-link{
  text-decoration: none;
  color: #c5c5c5;
  font-size: 14px;
}

.properties {
  display: flex;
  justify-content: end;
  gap: 8px;
}
.properties > .created {
  font-size: 0.75em;
  font-weight: bolder;
  position: relative;
  vertical-align: middle;
  padding-left: 23px;
}
.properties > .updated {
  font-size: 0.75em;
  font-weight: bolder;
  position: relative;
  vertical-align: middle;
  padding-left: 23px;
}
.properties > .created::before,
.properties > .updated::before {
  display: inline-block;
  -webkit-filter: invert(0.4) hue-rotate(180deg);
          filter: invert(0.4) hue-rotate(180deg);
  width: 14px;
  content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDA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: 7px;
}

.properties {
  display: flex;
  justify-content: end;
  gap: 8px;
  flex-flow: wrap-reverse;
}

.youtube-ratio{
  padding-top: 56.25%;
  width: 100%;
  position: relative;
}

.youtube-ratio  iframe{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
}


a.tag{
  background: #774c97;
  color: #ffffff;
  border-radius: 0;
  padding: 2px 10px;
  font-size: 12px;
}

a.tag:hover{
  background: #774c97;
  color: #fff;
  opacity:0.7;
}

.timeCount{
  background: #2e2e2f;
  padding: 10px;
}
.markdown-rendered p{
  line-height: 2.0;
  margin: 0;
  color: #cdcdcd;
}

.site-body-left-column-site-logo{
  text-align: left;
}

.site-body-left-column-site-name {
  display: inline-block;
  font-size: 25px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  margin: 0;
  background: linear-gradient(0deg, #ffffff 30%, #f5f0dc 31%, #ad9434 65%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  border-left: 6px solid #642828;
  padding: 0px;
  padding-left: 10px;
  font-family: "Castoro Titling", serif;
  font-weight: 900;
  font-style: normal;
}


.site-body-left-column-site-logo img {
  border:6px solid #585858;
  margin-bottom: 10px;
  box-shadow: 5px 5px 3px 0px #252525;
}

.nav-view-outer .tree-item-self.mod-active,.outline-view-outer .tree-item-self.mod-active {
  color: #8d85ce;
}

/* body:not(.native-scrollbars) ::-webkit-scrollbar-thumb  {
  background-color: #89721b;
}

body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:hover{
  background-color:#69560d;
} */

/* body.theme-dark:not(.native-scrollbars)::-webkit-scrollbar-thumb {
} */
/*
body.theme-dark {
  overflow-y: scroll;
} */

.tree-item-inner{
  font-size:16px;
}

#chapter-list ul {
  list-style: none;
  padding: 0;
}
#chapter-list li {
  cursor: pointer;
  color: #888124;
  margin-bottom: 5px;
  line-height: 1.5;
}
#chapter-list li:hover {
  color:#fefbdd;
}

input[type="button"]{
  --text-color: var(--text-normal);
  -webkit-app-region: no-drag;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: var(--font-ui-small);
  border-radius: var(--button-radius);
  border: 0;
  padding: var(--size-4-1) var(--size-4-3);
  height: var(--input-height);
  font-weight: var(--input-font-weight);
  cursor: var(--cursor);
  font-family: inherit;
  outline: none;
  user-select: none;
  white-space: nowrap;
}
input[type="button"]:not(.clickable-icon) {
  color: var(--text-color);
  background-color: var(--interactive-normal);
  box-shadow: var(--input-shadow);
}
input[type="button"]:not(.clickable-icon).mobile-tap {
  background-color: var(--interactive-hover);
  box-shadow: var(--input-shadow-hover);
}

input[type="button"]:hover {
  background-color: var(--interactive-hover);
  box-shadow: var(--input-shadow-hover);
}

.sns_icon {
  display: flex;  justify-content: space-between; align-items: center;
}

.transcript-accordion {
            margin-top: 30px;
        }

        .transcript-accordion summary {
            cursor: pointer;
            padding: 15px 20px;
            background-color: #114c4c;
            border-radius: 4px;
            font-weight: bold;
            font-size: 1.1em;
            user-select: none;
            transition: background-color 0.2s ease;
        }

        .transcript-accordion summary:hover {
            background-color: #114c4c;
        }

        .transcript-accordion[open] summary {
            background-color: #114c4c;
            border-radius: 4px 4px 0 0;
        }


@media screen and (max-width: 800px) {
  .sns_icon {
      flex-direction: column;
  }
}

@media screen and (max-width: 1000px) {
  .published-container.has-outline .site-body-right-column, .published-container.has-graph .site-body-right-column {
    display: none;
}
}@media screen and (max-width: 750px) {
  .site-body-left-column-site-name {
      display: none;
  }
}