/* --- 全体ラッパー --- */
.s-wrap {
    padding: 2em;
    font-family: "Helvetica Neue", sans-serif;
    color: #222;
    line-height: 1.8;
  }

  /* --- タイトル・見出し --- */
  .main-title {
    font-size: 3em;
    font-weight: bold;
    border-bottom: 2px solid #E8DFDF;
    padding-bottom: 0.3em;
    margin-bottom: 1em;
    margin-top: 1.5em;
  }

  .sub-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 0.2em;
    border-bottom: 1px solid #E8DFDF;
    padding-bottom: 0.3em;
  }

  .sub-sub-title {
    font-size: 2em;
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
  }

  /* --- リード文 --- */
  .txt-lead {
    font-size: 1.6em;
    margin-bottom: 1em;
  }



  /* --- マーカー付き見出し --- */
  .marker-text {
    display: flex;
    align-items: flex-start;
    gap: 0.4em;
    font-size: 1.6em;
    line-height: 1.5;
    margin-bottom: 0.6em;
  }

  .marker-text .marker {
    flex-shrink: 0;
    font-size: 0.8em;
    line-height: 1;
    margin-top: 0.5em;
    margin-bottom: 0.6em;
  }

  .marker-text .text {
    flex: 1;
    font-size: 1.6rem;
  }

  /* --- ネストリスト（circle-list） --- */
  .circle-list {
    list-style: none;
    padding-left: 1.6em;
    margin-bottom: 1.5em;
  }
  
  .circle-list li {
    position: relative;
    padding-left: 1.4em;        /* マーカーと文字の間隔 */
    margin-bottom: 0.5em;
    font-size: 1.6em;
    line-height: 1.8;
  }
  
  .circle-list li::before {
    content: "○";
    position: absolute;
    left: 0;
    top:0.9em;                
    font-size: 0.65em;         
    line-height: 1;
    color: #222;
  }
  .main-list > li {
    margin-left: 2em;
  }
  .square-list {
    list-style: none;
    padding-left: 1.6em;
    margin-bottom: 1.5em;
  }
  
  .square-list li {
    position: relative;
    padding-left: 1.4em;        /* マーカーと文字の間隔 */
    margin-bottom: 0.5em;
    font-size: 1.6rem;
    line-height: 1.8;
  }
  
  .square-list li::before {
    content: "▪︎";
    position: absolute;
    left: 0;
    top:0.9em;                
    font-size: 0.65em;         
    line-height: 1;
    color: #222;
  }
  .txt-right {
    text-align: right;
    margin-top: 3em;
  }


  ol.ref-list {
    list-style: decimal !important;
    list-style-position: outside;
    padding-left: 2em;
    font-size: 1.6rem;
    line-height: 2;
    margin-top: 1em;
    
  }
  
  ol.ref-list li {
    list-style-type: decimal !important;
    
  }
  
  ul.circle-list {
    list-style: none; 
    
  }
  .ref-list li a {
    color: #2892d7; 
  }
  .link-blue {
    color: #2892d7;
    text-decoration: none;
  }
  
  .link-blue:hover {
    text-decoration: underline;
  }
  
  html {
    scroll-behavior: smooth;
  }


  .toc ul li {
    margin-bottom: 0.5em;
    font-size: 1.6rem;
  }
  .toc a {
    color: inherit;            
    text-decoration: none;     
    transition: color 0.2s;    
  }
  
  .toc a:hover {
    color: #2892d7;           
  }

  .toc {
    border: 1px solid #E8DFDF;
    padding: 1.5em;
    border-radius: 8px;    
    background-color: transparent; 
    max-width: 600px;      
    margin: 2em auto;       
  }
  



  @media screen and (max-width: 768px) {
    .s-wrap {
      padding: 0 8vw;
    }
    .main-title {
      font-size: 2.3rem;
      margin-top: 1.5em;
      margin-bottom: 1em;
    }
    .sub-title {
      font-size: 2rem;
      margin-top: 1.5em;
      margin-bottom: 0.5em;
    }
    .txt-lead {
      font-size: 1.4rem;
      margin-bottom: 2em;
      
    }
    .circle-list li {
      font-size: 1.4rem;
      padding-left: 1.2em; 
      line-height: 1.4;
    }
    .marker-text {
      font-size: 1.4rem;
    }
    .marker-text .text {
      font-size: 1.4rem;
    }
    .sub-title, .sub-sub-title {
      line-height: 1.4;
    }
    .sub-sub-title {
      font-size: 1.8rem;
      margin-top: 1.2em;
      margin-bottom: 0.4em;
    }
    .circle-list li::before
    {
      font-size: 0.6em; 
      top: 0.7em; 
    }
    .marker-text .marker {
      font-size: 0.7em; 
      margin-top: 0.5rem; 
      margin-bottom: 0.4em; 
    }
    .toc a {
      font-size: 1.4rem; 
    }
  }