/*!
 * Bootstrap Reboot v5.3.6 (https://getbootstrap.com/)
 * Copyright 2011-2025 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33, 37, 41;--bs-body-bg:#fff;--bs-body-bg-rgb:255, 255, 255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0, 0, 0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33, 37, 41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233, 236, 239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33, 37, 41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248, 249, 250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13, 110, 253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10, 88, 202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222, 226, 230;--bs-body-bg:#212529;--bs-body-bg-rgb:33, 37, 41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255, 255, 255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222, 226, 230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52, 58, 64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222, 226, 230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43, 48, 53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110, 168, 254;--bs-link-hover-color-rgb:139, 185, 254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,*::before,*::after{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:#fff0}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,h5,h4,h3,h2,h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + 0.9vw)}@media (min-width:1200px){h2{font-size:2rem}}h3{font-size:calc(1.3rem + 0.6vw)}@media (min-width:1200px){h3{font-size:1.75rem}}h4{font-size:calc(1.275rem + 0.3vw)}@media (min-width:1200px){h4{font-size:1.5rem}}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:.875em}mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;line-height:inherit;font-size:calc(1.275rem + 0.3vw)}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}


:root {
  scroll-behavior:auto;
  color-scheme: light dark;
  --bodybg: light-dark( var( --bs-body-bg ), #18191b );
  --asidebg: light-dark( var( --bs-gray-100 ), var( --bs-gray-900 ) );
  --bodytxtclr: light-dark( #444, var( --bs-gray-100 ) );
  --bodytxtclr02: light-dark( var( --bs-gray-500 ), var( --bs-gray-600 ) );
  --bodytxtclr03: light-dark( var( --bs-gray-600 ), var( --bs-gray-400 ) );
  --bodytxtclr04: light-dark( var( --bs-gray-700 ), var( --bs-gray-300 ) );
  --hdrlogoclr: light-dark( #717171, var( --bs-gray-500 ) );
  --cmnMb: 20px;
  --cmnSecMl: 40px;
  --cmnbdr: light-dark( var( --bs-gray-400 ), var( --bs-gray-800 ) );
  --cmnbdr02: light-dark( var( --bs-gray-600 ), var( --bs-gray-600 ) );
  --cmnbdr03: light-dark( var( --bs-gray-800 ), var( --bs-gray-400 ) );
  --cmnbdr04: light-dark( var( --bs-gray-500 ), var( --bs-gray-700 ) );
  --cmnbg01: light-dark( var( --bs-gray-200 ), var( --bs-gray-800 ) );
  --cmnbg02: light-dark( var( --bs-gray-300 ), var( --bs-gray-700 ) );
  --cmnbg03: light-dark( var( --bs-gray-400 ), var( --bs-gray-600 ) );
  --linktxt_color: light-dark( var(--bs-link-color) , #fff );
  --linktxt_color_blue: light-dark( var( --bs-link-color ) , #6ea8fe );
  --linktxt_hovercolor: light-dark( var( --bs-link-hover-color ) , #a4cefe );
  --linktxt_hovercolor_blue: light-dark( var( --bs-link-hover-color ) , #8bb9fe );
  --linktxt_color_inactive: light-dark( var( --bs-gray-300 ), var( --bs-gray-700 ) );

  --file_icon_clr: light-dark( var( --bs-gray-300 ), var( --bs-primary-bg-subtle ) );
  --dir_icon_clr: light-dark( var( --bs-gray-300 ), var( --bs-warning-border-subtle ) );
  --ctr_btn_clr: light-dark( var( --bs-gray-300 ), var( --bs-primary-border-subtle ) );

}
@media (prefers-color-scheme: light) {
  :root {
    --marker: linear-gradient(transparent 64%, #ffa 0%);
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --marker: linear-gradient(transparent 64%, #493600 0%);
  }
}
html {
  font-size: 16px;
}
body {
  line-height: 1.8;
  font-family: YakuHanJP, "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  overflow-wrap: anywhere;
  font-feature-settings: "palt";
  font-weight: 400;
  padding: 13px 40px 48px;
  padding-left: 320px;
  padding-right: 300px;
  position: relative;
  min-height: 100svh;
  background: var( --bodybg );
  color: var( --bodytxtclr );
  letter-spacing: 0.05em;
  @media screen and (max-width:1200px) {
    padding: 13px 20px 48px;
    padding-right: 290px;
    padding-left: 270px;
  }
  @media screen and (max-width:1050px) {
    padding: 13px 20px 48px;
    padding-right: 20px;
    padding-left: 270px;
  }
  @media screen and (max-width:750px) {
    padding: 13px 20px 48px;
    padding-left: 270px;
  }
  @media screen and (max-width:750px) {
    padding-left: 20px;
  }
  ::-webkit-scrollbar {
    background: none;
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-thumb {
    background: var( --bs-gray-500 );
    border-radius: 100px;
  }
  ::-webkit-scrollbar-track {
    background: none;
  }
  &.no_aside02 {
      padding-right: 30px;
      @media screen and (max-width:1200px) {
        padding-right: 20px;
      }
      @media screen and (max-width:1050px) {
        padding-right: 20px;
      }
  }
}

img {
  display: block;
  width: 100%;
  max-width: 700px;
  border: 1px solid var( --cmnbdr );
  margin-bottom: var( --cmnMb );
}

a {
  color: var( --linktxt_color );
  &:hover {
    color: var( --linktxt_hovercolor );
  }
}



/**********

Parts

**********/
.file_list {
  margin-bottom: 0;
  list-style-type: none;
  padding-left: 0;
  ul {
    margin-bottom: 0;
    list-style-type: none;
    padding-left: 1.1rem;
  }
  li {
    line-height: 1.2;
    margin-bottom: 13px;
    &.dir {
      border-top: 1px solid var( --cmnbdr );
      margin-bottom: 0;
    }
  }
  a {
    text-decoration: none;
  }
  .dir_list {
    height: 0;
    overflow: hidden;
    transition: all 0.2s;
    &.dir_open {

    }
  }
  .file_icon , .dir_icon , .other_icon , .root_icon {
    display: block;
    vertical-align: top;
    font-size: .95rem;
    &.active {
      color: var( --linktxt_hovercolor );
      position: relative;
      padding-left: 10px;
      &:before {
        position: absolute;
        display: inline-block;
        content: '\e5df';
        font-family: 'Material Symbols Rounded';
        vertical-align: -6px;
        font-size: 1.6rem;
        text-indent: -0.6rem;
        width: 0.5rem;
        text-decoration: none;
        margin-right: 2px;
        line-height: 1;
        left: 0;
        top: 50%;
        margin-top: -0.85rem;
      }
    }
    .ttl {
      &:before {
        font-family: 'Material Symbols Rounded';
        vertical-align: -2px;
        font-size: 1.1rem;
        text-decoration: none;
        margin-right: 3px;
      }
    }
  }
  .file_icon {
    .ttl {
      &:before {
        color: var( --file_icon_clr );
        content: '\ef42';
      }
    }
    &.active {
      color: var( --file_icon_clr );
    }
  }
  .other_icon {
    .ttl {
      &:before {
        content: '\e66d';
      }
    }
  }
  .dir_icon {
    cursor: pointer;
    display: block;
    padding: 15px 0;
    &:hover {
      color: var( --linktxt_hovercolor );
    }
    .ttl {
      &:before {
        color: var( --dir_icon_clr );
        content: '\e2c7';
      }
    }
    &.active {
      color: var( --dir_icon_clr );
    }
  }
  .root_icon {
    cursor: pointer;
    color: var( --linktxt_color );
    display: block;
    padding: 15px 0;
    &:hover {
      color: var( --linktxt_hovercolor );
    }
    &.active {
      color: inherit;
      padding-left: 0;
      &:before {
        display: none;
      }
    }
   .ttl {
      &:before {
        content: '\e88a';
      }
    }
  }

  .date {
    display: block;
    font-size: 74%;
    line-height: 1.7;
    margin-left: 0.1rem;
  }
  .ttl {
    margin-bottom: .1rem;
    display: inline-block;
  }
  .file_name {
    display: block;
    font-size: 74%;
    line-height: 1.4;
    margin-left: 0.1rem;
  }
  .dir-controll , .file-controll {
    margin-top: -10px;
    margin-bottom: 10px;
    button {
      font-size: 0;
      background: 0;
      border: none;
      padding: 0;
      &:before {
        vertical-align: -3px;
        display: inline-block;
        font-family: 'Material Symbols Rounded';
        font-size: 1.4rem;
        text-decoration: none;
        margin-right: .15em;
        font-weight: 500;
        line-height: 1;
        color: var(--ctr_btn_clr);
      }
      &[ctr-type="add"]{
        &:before {
          content: '\e2cc';
        }
      }
      &[ctr-type="makefile"]{
        &:before {
          content: '\ef42';
        }
      }
      &[ctr-type="rename"]{
        &:before {
          content: '\eb60';
        }
      }
      &[ctr-type="delete"]{
        &:before {
          content: '\e872';
        }
      }
      &[disabled]{
        &:before {
          color: var(--linktxt_color_inactive);
        }
      }
    }
  }
  .file-controll {
    margin-top: 5px;
  }

}

.title_list {
  .H1_ttl , .H2_ttl , .H3_ttl , .H4_ttl , .H5_ttl , .H6_ttl {
    margin: 0 0 0.3em;
    line-height: 1.5;
  }
  .H2_ttl a, .H3_ttl a , .H4_ttl a, .H5_ttl a, .H6_ttl a {
    display: -webkit-box;
    white-space: nowrap;         
    -webkit-box-orient: vertical;      /* 垂直方向に配置 */
    overflow: hidden;                  /* 溢れた部分を隠す */
    text-overflow: ellipsis;           /* 溢れた部分に「...」を表示 */
    -webkit-line-clamp: 1; 
  }
  .index_ttl {
    font-size: 1.2rem;
    color: var( --bodytxtclr02 );
    border-bottom: 1px solid var(--cmnbdr04);
    padding-bottom: 6px;
    margin-bottom: 15px;
    font-weight: 900;
    letter-spacing: 0.1em;
  }

  .H1_ttl {
    a {
      display: block;
      font-size: 1.1rem;
      background: var( --cmnbg03 );
      border-radius: .5rem .5rem 0 0;
      margin-bottom: 15px;
      padding: .4em 20px .4em;
      letter-spacing: 0.02em;
      &:first-child {
        margin-top: 0;
      }
      &:before {
        display: none;
      }
      &:before {
        vertical-align: -3px;
        display: inline-block;
        font-family: 'Material Symbols Rounded';
        font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
        font-size: 120%;
        text-decoration: none;
        margin-right: .15em;
        content: '\ef42';
        font-weight: 500;
        line-height: 1.35;
      }
    }
  }
  .H2_ttl {
    font-size: 1rem;
    overflow: hidden;
    margin-top: 15px;
    &:first-of-type {
      margin-top: 0;
    }

  }
  .H3_ttl {
    font-size: .9rem;
    margin-top: 10px;
    a {
      margin-left: 15px;
      background: var( --cmnbg01 );
      padding: .5em;
      border-radius: 5px;
    }
  }
  .H4_ttl {
    margin-left: 30px;
    font-size: .9rem;
    border-bottom: .16em dotted var(--cmnbdr03 );
    padding-bottom: 0.5em;
  }
  .H5_ttl {
    margin-left: 45px;
    font-size: .9rem;
    border-left: .25em solid var(--cmnbdr03 );
    padding-left: 0.5em;
  }
  .H6_ttl {
    margin-left: 60px;
    font-size: .9rem;
    a {
      &:before {
        content: '◯ ';
      }
    }
  }
  a {
    text-decoration: none;
    &.active {
      color: var(--linktxt_hovercolor);
    }
  }
  br {
    display: none;
  }
}

.aside_menu_btn {
  background: none;
  display: none;
  @media screen and (max-width:750px) {
    padding: 0;
    color: inherit;
    border: none;
    background: none;
    position: fixed;
    z-index: 1006;
    right: 20px;
    top: 16px;
    width: 60px;
    text-indent: -.40em;
    display: block;
    transition: left .2s , box-shadow .2s ease-in;
    margin-bottom: 0;
    line-height: 1;
    text-align: right;
  }


  &.open {
    @media screen and (max-width:750px) {
      left: auto;
    }
  }

  &:before {
    @media screen and (max-width:750px) {
      display: inline-block;
      font-family: 'Material Symbols Rounded';
      vertical-align: middle;
      font-size: 45px;
      text-decoration: none;
      content: "\e5d2" ;
      font-weight: 600;
    }
  }

  &.open {
    &:before {
      @media screen and (max-width:750px) {
        content: "\e5cd" ;
      }
    }
  }
}


/**********

main内の各種タグ

**********/
main {
  h1 {
    font-size: 2.2rem;
    padding-bottom: .5em;
    margin-bottom: 0;
    background: var( --cmnbg02 );
    padding: .8em 20px .8em;
    font-weight: 500;
    border-radius: .8rem .8rem 0 0;
    margin-bottom: 30px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    &:before {
      display: inline-block;
      font-family: 'Material Symbols Rounded';
      font-size: 120%;
      text-decoration: none;
      margin-right: .15em;
      content: '\ef42';
      font-weight: 500;
      line-height: 1.35;
    }
    @media screen and (max-width:600px) {
      font-size: 2.0rem;
      padding: .5em .5em  .5em;
      margin-bottom: 20px;
    }
  }

  h1 , h2 , h3 , h4 , h5 , h6 {
    line-height: 1.5;
  }

  section {
    margin-top: 40px;
    &:has(>h2){
      margin-top: 120px;
      @media screen and (max-width:600px) {
        margin-top: 80px;
      }
      &:first-of-type {
        margin-top: 0;
      }
      &:last-of-type {
        margin-bottom: 80px;
      }
      section {
        padding-left: 20px;
        @media screen and (max-width:750px) {
          padding-left: 0;
        }
      }
    }
    &:has(>h3){
      margin-top: 80px;
      @media screen and (max-width:600px) {
        margin-top: 80px;
      }
      &:first-of-type {
        margin-top: 40px;
      }
      &:last-of-type {
        margin-bottom: 80px;
      }
    }
    &:has(>h4){
      margin-top: 60px;
      @media screen and (max-width:600px) {
        margin-top: 60px;
      }
      &:first-of-type {
        margin-top: 40px;
      }
      &:last-of-type {
        margin-bottom: 80px;
      }
    }



    h1 , h2 , h3 , h4 , h5 , h6 {
      margin-bottom: 1rem;
      margin-left: 0;
      line-height: 1.5;
    }
    h1 , h2 , h3 , h4 , h5 , h6 {
       & + section {
        margin-top: 0;
      }
    }
    h2 {
      font-size: 2.2rem;
      font-weight: 500;
      @media screen and (max-width:600px) {
        font-size: 1.8rem;
      }
    }
    h3 {
      font-size: 1.5rem;
      background: var( --cmnbg01 );
      padding: .7em .7em .8em;
      border-radius: .4rem;
      font-weight: 500;
      @media screen and (max-width:600px) {
        padding: .7rem .7rem .75rem;
        font-size: 1.3rem;
      }
    }
    h4 {
      font-size: 1.5rem;
      border-bottom: .23em dotted var(--cmnbdr03 );
      padding-bottom: 0.5em;
      font-weight: 500;
      @media screen and (max-width:600px) {
        font-size: 1.3rem;
      }
    }
    h5 {
      width: auto;
      font-size: 1.2rem;
      font-weight: 500;
      margin-right: auto;
      border-left: .25em solid var(--cmnbdr03 );
      padding-left: 0.5em;
      @media screen and (max-width:600px) {
        font-size: 1rem;
      }
    }
    h6 {
      font-size: 1rem;
      font-weight: 500;
      margin-bottom: .5rem;
      &:before {
        content: '◯ ';
      }
    }
    a {
      color: var( --linktxt_color_blue );
      &:hover {
        color: var( --linktxt_hovercolor_blue );
        text-decoration: none;
      }
    }
  }

  .marker {
    background: var(--marker);
  }

  ul , ol {
    padding-left: 1.8rem;
    li {
      margin-bottom: 5px;
    }
  }
  dl {
    clear: both;
    dl {
      margin-left: 1.2em;
    }
    dt {
      margin-bottom: 0;
      margin-top: 15px;
      &:first-child {
        margin-top: 0;
      }
    }
    dd {
      margin-bottom: 0;
      text-indent: -1.2em;
      margin-left: 1.2em;
      margin-bottom: 5px;
      &:before {
        content: 'ー';
        color: #ccc;
        padding-right: 0.2em;
      }
    }
  }

  blockquote {
      position: relative;
      padding: 30px;
      background: var( --cmnbg01 );
      border-radius: 5px;
      *:last-child {
        margin-bottom: 0;
      }
  }

  blockquote::before {
      display: inline-block;
      position: absolute;
      content: '';
  }

  blockquote::before {
      top: -15px;
      left: 10px;
    content: '❝';
    font-size: 60px;
    line-height: 1;
    color: #ccc;
  }

  blockquote cite {
      display: block;
      color: #737373;
      font-size: .8em;
      text-align: right;
      margin-bottom: 0;
  }

  .fl {
    float: left;
    margin-right: 1em;
  }
  .cl {
    clear: both;
  }
  table {
    border-top: 1px solid var(--cmnbdr04);
    border-spacing: 0;
  }

  thead {
    tr {
      background: var(--cmnbdr02);
      color: #fff;
      text-align: center;
      font-weight: bold;
    }
  }
  tr {
    &:nth-child(2n){
      background: var(--asidebg);
    }
  }
  tbody {
    tr {
      &:hover {
        background: var(--cmnbg01);
      }
    } 
  }
  td , th {
    border-left: 1px solid var(--cmnbdr04);
    border-bottom: 1px solid var(--cmnbdr04);
    padding: 5px;
    &:first-child {
      border-left: none;
    }
    @media screen and (max-width:600px) {
      white-space: nowrap;
    }
  }
  .table_wrap {
    overflow-x: auto;
    display: block;
    margin-bottom: 1rem;
  }
  .youtube_wrap {
    margin-top: 10px;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 700px;
    margin-bottom: 1rem;
    iframe {
      width: 100%;
      height: 100%;
    }
  }

  textarea , input {
    display: block; 
    border: 1px solid #d3d5e5;
    border-radius: 5px;
    padding: 10px;
    &:focus {
      border-color: #a8cbff;
      outline: none;
    }
  }
  input[type="checkbox"] {
    display: inline-block;
    background: var( --bodytxtclr );
    width: 1.2rem;
    height: 1.2rem;
    vertical-align: -.2em;
  }

  textarea {
    max-width: 800px;
    width: 100%;
    height: 600px;
  }

  button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    font-size: 1rem;
    font-weight: 700;
    background: var(--bs-primary);
    color: #fff;
    padding: .5em;
    border-radius: 5px;
    margin-bottom: 1rem;
    transition: opacity , .2s ;
    opacity: 1;
    &:hover {
      background: var( --bs-link-hover-color );
    }
  }

  pre {
    padding: 15px;
    border: 1px solid var( --cmnbdr );
  }
  code {
    margin: -15px;
  }

  .memo {
    color: #f00;
  }
  .memo_box {
    border: 1px solid var( --cmnbdr02 );
    padding: 20px;
    margin-bottom: 1rem;
    *:last-child {
      margin-bottom: 0;
    }
  }

  .website_img_box , .website_movie_box {
    width: 100%;
    margin-bottom: 30px;
    overflow: auto;
    aspect-ratio: 16 / 9;
    max-width: 1300px;
    border: 1px solid #000;
    font-size: 0;
    vertical-align: top;
    &.sp {
      max-width: 400px;
      aspect-ratio: 375 / 812;
    }
    &.tab {
      max-width: 768px;
      aspect-ratio: 4 / 3;
      margin-right: 15px;
    }
  }

  .website_img_box img {
    width: 100%;
    max-width: none;
    border: none;
    margin: 0;
  }
  .website_movie_box video {
    width: 100%;
  }


  
}

.index_list_honbun {
  display: none;
  border: 1px solid var(--cmnbdr02);
  margin-bottom: 30px;
  padding: 20px;
  max-width: 700px;
  margin: 0 auto 20px;
  @media screen and (max-width:1050px) {
    display: block;
  }
  .index_ttl {
    font-size: 1.2rem;
    font-weight: 800;
    color: var( --bodytxtclr02 );
    border-bottom: 1px solid var(--cmnbdr03);
    padding-bottom: 10px;
  }

}


/**********

header

**********/
header {
  h1.logo {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    display: inline-block;
    margin-bottom: 25px;
    @media screen and (max-width:600px) {
      padding: .2rem 0 0rem;
      font-size: 2.55rem;
    }
    a {
     display: inline-block;
     text-decoration: none;
      color: var( --hdrlogoclr );
    }
  }
  .breadcrumb {
    ul {
      padding: 0;
      margin: 0;
      list-style-type: none;
      border-top: 1px solid #000;
      margin: 0 -30px 40px;
      padding: 0 30px;
      background: var( --cmnbg01 );
      border-top: 1px solid var( --cmnbdr04 );
      border-bottom: 1px solid var( --cmnbdr04 );

      @media screen and (max-width:1200px) {
        margin: 0 -20px 30px;
        padding: 0 20px;
      }
      li {
        display: inline-block;
        line-height: 1.5;
        font-size: .9rem;
        &:after {
          content: '\e315';
          display: inline-block;
          font-family: 'Material Symbols Rounded';
          vertical-align: -6px;
          font-size: 1.5rem;
          line-height: 1;
          color: var( --cmnbdr02 );
        }
        &:last-child {
          &:after {
            display: none;
          }
        }
        a {
          text-decoration: none;
        }
      }
    }
  }
}

/**********

aside01

**********/
aside.aside01 {
  border-right: 1px solid var( --cmnbdr02 );
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 290px;
  height: 100%;
  background: var( --asidebg );
  overflow-y: auto;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .2);
  @media screen and (max-width:1200px) {
    width: 250px;
  }
  @media screen and (max-width:750px) {
    left: -250px;
    transition: left .2s  , box-shadow .2s ease-in;
    box-shadow: 0px 0px 0 rgba(0, 0, 0, 0);
  }
  @media screen and (max-width:600px) {
    width: 100%;
    left: auto;
    right: -100%;
    transition: right .2s ease-in , box-shadow .2s ease-in;
    background: var( --asidebg );
    box-shadow: 0px 0px 0 rgba(0, 0, 0, 0);
  }
  &.open {
    @media screen and (max-width:750px) {
      width: 270px;
      left: 0;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, .2);
    }
    @media screen and (max-width:600px) {
      width: 100%;
      left: auto;
      right: 0%;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, .2);
    }
  }
  .aside_inner {
    padding: 30px 20px 20px;
    .index_ttl {
      font-size: 1.2rem;
      color: var( --bodytxtclr02 );
      border-bottom: 1px solid var(--cmnbdr04);
      padding-bottom: 10px;
      margin-bottom: 15px;
      font-weight: 900;
      letter-spacing: 0.1em;
      position: relative;
      line-height: 1;
      .file-edit {
        display: inline-block;
        font-size: 0;
        background: 0;
        border: none;
        padding: 0;
        vertical-align: middle;
        margin-left: 15px;
        line-height: 1;
        &:before {
          content: '\f88d';
          display: inline-block;
          font-family: 'Material Symbols Rounded';
          font-size: 1.6rem;
          text-decoration: none;
          margin-right: .15em;
          font-weight: 500;
          line-height: 1;
          color: var(--bodytxtclr);
        }
      }
    }
  }
}


/**********

aside02

**********/
aside.aside02 {
  background: var( --bodybg );
  border-left: 1px solid var( --cmnbdr );
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  width: 270px;
  height: 100%;
  overflow-y: auto;
  @media screen and (max-width:1050px) {
    display: none;
  }
  .aside_inner {
    padding: 20px 20px;
  }
}


/**********

totop

**********/
.totop {
  position: sticky;
  bottom: 20px;
  right: 10px;
  text-align: right;
  display: block;
  width: 60px;
  margin-left: auto;
  z-index: 998;

  a {
    background: var( --bodybg );
    border: 1px solid var( --linktxt_color );
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 100px;
    text-decoration: none;
    text-align: center;
    line-height: 1.8;
    color: var( --linktxt_color );
    &:before {
      font-family: 'Material Symbols Rounded';
      content: '\e5d8';
      font-size: 2rem;
    }
    &:hover {
      border: 1px solid var( --linktxt_hovercolor );
      color: var( --linktxt_hovercolor );
    }
  }
}

/**********

footer

**********/
footer {
  background: var( --cmnbg02 );
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  text-align: center;
  p {
    margin-bottom: 0;
    font-size: 0.9rem;
    padding: .2em 0;
  }
}


