/* ---- 記事一覧用 ---- */
body {
    background-image: url('png/background.jpg');
    background-repeat: repeat;
    background-position: top left;
    background-attachment: scroll; /* 普通にスクロール */
    background-size: auto;   /* coverを消す */
    background-color: #000;  /* 念のため黒で塗りつぶす */
    color: #ff0000;
    font-family: "DotGothic16", sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.header {
    background: #000;
    padding: 10px;
}
.logo {
  width: 70%;
  height: auto;  
  max-width: 70%; 
  display: block; 
  margin: 0 auto; 
}
.container {
    
    max-width: 800px;
    margin: 20px auto;
    background: #000;
    padding: 20px;
    border: 5px solid #ff0000;
    box-shadow: 0 0 20px #ff0000;
}

/* ---- タイトル系 ---- */
h1 {
    color: #ff0000;
    font-weight: bold;
    font-size: 36px;
    margin: 10px 0;
    text-align: left;
}
h2 {
    color: #ff0000;
    font-size: 32px;
    margin: 20px 0;
}
h3 {
    color: #ff0000;
    font-weight: bold;
    font-size: 40px;
    margin: 10px 0;
    text-align: left;
}
h4 {
    color: #b82f2f;
    font-weight: bold;
    font-size: 40px;
    margin: 2px 0;
    text-align: center;
    text-shadow: 1px 1px #0000006a;
}

.dotgothic16-regular {
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.post-summary {
    text-align: left;         /* 一覧は左寄せ */
    margin-bottom: 20px;
}
.post-summary h3 {
    margin: 5px 0;
    font-size: 30px;
    color: #ff0000;
}
.post-summary h3 a {
    color: #ff0000;
    text-decoration: none;
}
.post-summary h3 a:hover {
    text-decoration: underline;
    color: #fff;
}
.post-summary p {
    margin: 0;
    font-size: 22px;
    color: #aaa;
    text-align: right;       /* 投稿日時だけ右寄せ */
}

.post-date {

    margin: 20px;
    font-size: 26px;
    color: #aaa;
    text-align: right;  

}
/* ---- 記事詳細ページ用 ---- */
.container h2 {
    text-align: left;
    font-size: 28px;
    margin-bottom: 10px;
}
.container .content {
    text-align: left;
    line-height: 1.8;
    margin-top: 20px;
    font-size: 24px;
    color: #aaa;
}
.container .content a {
    color: #0022ff;
    text-decoration: underline;
}
.container .content a:hover {
    color: #ffffff;
}


/* ---- 区切り線 ---- */
hr {
    border: none;
    border-top: 1px solid #ff0000;
    margin: 15px 0;
}

.back-link {
    font-size: 20px;   /* 文字大きめ */
    font-weight: bold; /* 太字にする場合 */
}

.exbutton {
    display: inline-block;
    font-size: 30px;
    color: #6640ff;
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 10px;   /* ← これを追加！ */
}