body {
    padding-top: 60px; 
}

header {
    position: fixed; /*← fixedで固定 */
    width: 100%; 
    height: 60px; 
    background: #CCC; 
    padding: 20px 60px; 
    box-sizing: border-box;
    top: 0; 
    left: 0; 
    display: flex; 
    align-items: center; 
  
   /* ロゴとメニューを横並びにする */
    display: flex; 
    justify-content:space-between;
}

header .nav .menu {
    display: flex; 
}

header .nav .menu li {
    list-style: none; 
    margin-left: 40px;
}

header .nav .menu li a{
   color: #000000;
   font-weight:bold;
   text-decoration: none;
}

header .nav .menu li a:hover{
    color: #0000FF;
}

main {
    text-align:center;
}

main img {
  width: 56.25%;
  object-fit: contain;
}

.exclude {
    text-align:center;
}

main pre {
    color: White;
    background: Black; 
}

main pre code {
    text-align:left;
    display: inline-block;
}

main code {
    color: White;
    background: Black; 
}

main .caution {
    background: #000000; 
}

footer {
    background-color: #4169E1;
    padding:1em;
    margin-top:100px;
}

footer p {
    font-size: .8em;
    color: #ffffff;
    max-width: 800px;
    padding: 0;
    text-align:center;
    margin:0 auto;
    font-weight:bold;
}

.flex {
    display: flex;
}

.twitter-tweet {
    padding: 5px; /* 1つのツイートの周りに5pxの余白をつける */
    margin: 10px auto; /* ツイートを中央寄せにする */
}

/* 画面サイズ960px以下ではTwitterを縦並びに変える */
@media (max-width: 960px) {
.flex {
    display: block; /* 横並びを解除 */
}
.twitter-tweet {
    padding: 0; /* 縦並びでは余白なし */
}