/*
Theme Name: a4r-article
Description: A simple custom theme for WordPress.
Author: Altair
Version: 1.0
Text Domain: simple
*/


/* 全体のデフォルトスタイル */

html {
    min-height: 100%;
    position: relative;
  }

body {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif !important;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    line-height: 1.5;
    color: #333;
  }
    
  /* すべてのaタグ */
a {
    color: #333;
    text-decoration: none;
}
  
a:hover {
    text-decoration: underline;
}

/* 見出し */
h1, h2, h3 {
    margin: 0;
    padding: 0;
}
  
  /* 中央寄せ用のコンテナ */
.container {
    max-width: 912px;     /* コンテンツの最大幅 */
    margin: 5rem auto 1rem auto;       /* 左右を自動でマージン = 中央寄せ */
    padding: 0 0 5rem 0;        /* 余白 */
    background-color: #fff;
}
/* 画面幅が 768px 以下（スマホ向け） */
@media (max-width: 768px) {
    .container {
        width: 90%;
        max-width: 600px;
    }
}

/* ヘッダーやフッターの背景色 */
header {
    padding: 1rem;
    height: 30px;
    width: 100%;
    background-color: rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

footer {
    padding: 1rem 0 1rem 0;
    height: 30px;
    background-color: rgba(0,0,0,0.1);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.alta-post-date {
    text-align: center;
}
  
.alta-title {
    text-align: center;
}
  
.post-content {
    width: 720px;
    margin: 0 auto;
    line-height: 1.8rem;
}
/* 画面幅が 768px 以下（スマホ向け） */
@media (max-width: 768px) {
    .post-content {
        width: 100%;
        max-width: 600px;
    }
}

.text-copyright {
    font-size: 0.8rem;
    color: #333;
}

blockquote {
    border-left: 4px solid #808080; /* 左側の縦線 */
    padding-left: 1rem; /* 左に余白を作る */
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
}

