/* ----------------------------------
   全体
---------------------------------- */

body {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fafafa;
}

/* ----------------------------------
   タイトル
---------------------------------- */

h1 {
    font-size: 1.8rem;
    border-left: 8px solid #ff8c42;
    padding-left: 15px;
    margin-bottom: 25px;
}

/* ----------------------------------
   メイン画像
---------------------------------- */

body > img:first-of-type {
    display: block;
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* ----------------------------------
   情報欄
---------------------------------- */

.info-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
}

.info-box p {
    margin: 8px 0;
}

/* ----------------------------------
   キーワード
---------------------------------- */

.keywords {
    margin: 20px 0;
}

.keywords a,
.keywords span {
    display: inline-block;
    margin: 4px;
    padding: 4px 10px;
    background: #eef5ff;
    border: 1px solid #c8dafc;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #3366cc;
}

.keywords a:hover {
    background: #dbe8ff;
}

/* ----------------------------------
   ダウンロードボックス
---------------------------------- */

.card-botton {
    text-align: center;
    background: #fff7e8;
    border: 2px solid #ffd27a;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.card-botton p {
    font-weight: bold;
    margin-bottom: 10px;
}

.card-botton img {
    transition: 0.2s;
}

.card-botton img:hover {
    transform: scale(1.05);
}

/* ----------------------------------
   前後リンク
---------------------------------- */

.nav-links {
    text-align: center;
    margin: 25px 0;
}

.nav-links a {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 5px;
    background: #f0f0f0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
}

.nav-links a:hover {
    background: #e0e0e0;
}

/* ----------------------------------
   一覧リンク
---------------------------------- */

.index-link {
    text-align: center;
    margin: 20px 0;
}

.index-link a {
    color: #0066cc;
    font-weight: bold;
}

/* ----------------------------------
   区切り線
---------------------------------- */

hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 25px 0;
}

/* ----------------------------------
   フッター
---------------------------------- */

.site-footer {
    margin-top: 50px;
    padding: 20px 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #ddd;
}

.site-footer a {
    color: #3366cc;
    text-decoration: none;
    transition: 0.2s;
}

.site-footer a:hover {
    color: #ff8c42;
    text-decoration: underline;
}
