header a {
  text-decoration: none;
  color: #000;
}

html {
  scroll-padding-top: 120px; /* 固定ヘッダの高さ分 */
  background: #EEEEEE;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    min-height: 100px;
    margin-top: 105px;
}

.grovalNavigation {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #FFF;
    box-shadow: 0 2px 8px rgba(30, 30, 80, .3);
}

.grovalNavigation p{
   padding-left: 100px;
   text-align: left;
   color: #000;
   font-size: 30px;
   font-family:sans-serif;
   font-weight: bold;
   border-bottom: ridge 5px;
}


.fix-02 {
    background: #fff;
    right: 0;
    line-height: 1;
    position: fixed;
    top: 50%;
    z-index: 100;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(30, 30, 80, .3);
}

.leftcontent{
   width: 20%;
   min-width: 0;
}

.content {
    margin-top: 5px;
    margin-right: 0px;
    padding-left: 30px;
    padding-right: 30px;
    width:75%;
    max-width: 900px;
    min-width: 300px;
    min-height: 1600px;
    box-shadow: 0 2px 8px rgba(30, 30, 80, .3);
    background-color: #FFF;
}

.content p{
  margin-left: 20px;
  margin-block-start: 10px;
  margin-block-end: 0px;
  
}
.content h1{
    color: #494949;
}
.content h2{
  padding-left: 10px;
  color: #494949;
  background: #f4f4f4;
  border:solid 1px #d7d7d7;
  border-bottom:solid 4px #d7d7d7;
  border-left: solid 5px #7db4e6;
}


.content h3{
border-bottom: solid 2px #87CEFA;
}

.content pre {
    font-family: 'Courier New', monospace;
    background-color: #2d2d2d;         
    margin-block-start: 0px;
    margin-block-end: 0px; 
    margin-top: 0px;
    margin-bottom: 0px;
    color: white;
    margin-left: 20px;
    padding: 7px;
    border-radius: 5px;
    max-width: 100%;        /* 親要素からはみ出さない */
    overflow-x: auto;
    white-space: pre-wrap;  /* 長い行を折り返し */
    word-wrap: break-word;  /* 単語の途中でも折り返す */
  }
  .content  code {
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    display: block;
  }
  .content table {
    margin-left: 20px;
    max-width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  .content th, .content td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
  }
  .content th {
    background-color: #f4f4f4;
  }
  .content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-block-start: 0px;
  }
  .content h2~ul{
    margin-left: 0px;
  }

  .content hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0;
  }
  .content img {
width: 100%;
margin-left: 20px;         
margin-block-start: 10px;
margin-block-end: 10px;  /* 親要素の幅に合わせて縮小 */
max-width: 400px;      /* 最大幅は 300px */
height: auto;          /* 縦横比を維持 */
display: block;        /* ブロック要素化 */
border: 1px solid #888; /* 枠線を追加 */
}

.content #amazon_pic{
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  border: 1px solid #888;
}
.content #amazon_pic:hover{
  border: 1px solid #888;
}

.left-fixed-field {
    background: #FFF;
    position: fixed;
    margin: 0px;
    width: 15%;
    max-width: 400px;
    min-width: 300px;
    box-shadow: 0 2px 8px rgba(30, 30, 80, .3);
    background: #FFF;
}

.localNavigation {
    position: relative;
    margin-top: 5px;
    
    left: 5px;
    width: 100%;
    max-width: 400px;
    min-width: 270px;
    outline:none;
}

.localNavigation p {
    text-align: center;
}

.left-fixed-field .LinkSelecter {
    color: #fff;
    display: block;
}

.LinkSelecter li {
    margin-top: 5px;
    width: 100%;
}

.LinkSelecter a {
    width: 100%;
    word-wrap:break-word;
    text-decoration: none;
    line-height: none;
    font-size: 15px;
    color:#000
}

.LinkSelecter li:hover {
    width: 100%;
    background: #BBBBBB;
}

.LinkSelecter ol {
    width: 80%;
    padding-left: 30px;
    padding-right: 10px;
    color: black;
}

.LinkSelecter ul {
    padding-left: 0px;
    list-style: none;
}

.writer-content {
    margin-top: 5px;
    position: absolute;
    padding-bottom: 10px;
    width: 100%;
    color: black;
    box-shadow: 0 2px 8px rgba(30, 30, 80, .3);
    background: #FFF;
}

.writer-content h3{
 margin: 5px;
 padding: 5px;
 padding-left: 15px;
   border-bottom: ridge 5px;
}

.writer-content p{
 font-size: 14px;
 margin: 5px;
 padding: 5px;
 padding-top: 0px;
 text-align: left;
 background: #EEE;
}
