/* 全体背景 */
body {
    margin: 0;
    padding: 0;
    font-family: "Yu Gothic", "游ゴシック体", "Hiragino Kaku Gothic Pro", sans-serif;
    background-color: #f0f3f5; /* 淡いグレー系 */
    background-image: url("https://github.com/imgrnb-art/imgrnb/blob/main/imgrnborg.jpg?raw=true");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #222;
}

/* コンテンツ全体のガラス風ボックス */
.content-bg {
    display: flex;
    justify-content: center;
    padding: 60px 30px; /* 上下左右の余白を広く */
}

/* 透過カード風の背景 */
.content-inner {
    background: rgba(255, 255, 255, 0.7); /* 透明度を少し上げて読みやすく */
    border-radius: 15px;
    padding: 40px 40px; /* 内側の余白を広く */
    max-width: 1100px; /* 幅を広くして文章を横に展開 */
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); /* 少し影を強めて浮かせる */
}

/* ヘッダー */
.top {
    display: flex;
    align-items: center;
    margin-bottom: 40px; /* 下の余白を広く */
}

.top img {
    width: 140px; /* 少し大きく */
    height: auto;
    border-radius: 10px;
    margin-right: 25px; /* 余白を広く */
    border: 2px solid #444;
}

.top div > div:first-child {
    font-size: 1.6em; /* 少し大きく */
    font-weight: bold;
    color: #1a1a1a;
}

/* 見出し */
h3, h4, h5, h6 {
    font-family: "Georgia", serif;
    color: #1b3a57;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
}

/* 段落 */
p {
    line-height: 1.8; /* 少し行間を広く */
    margin-bottom: 25px;
}

/* リスト */
ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

/* 分類1と分類2のカード風セクション */
.regulation h5, .regulation h6 {
    margin-top: 25px;
    margin-bottom: 12px;
    color: #d13f3f;
}

.regulation ul {
    background: rgba(255, 255, 255, 0.75); /* 少し透明度を上げて読みやすく */
    padding: 20px 25px; /* 内側余白を広く */
    border-radius: 12px;
    list-style-type: square;
}

/* Q&A */
.qa {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px dashed #ccc;
}

/* エモート */
.emote ul {
    background: rgba(240, 248, 255, 0.8);
    padding: 20px;
    border-radius: 12px;
}

/* リンクや強調 */
b {
    color: #d13f3f;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .top {
        flex-direction: column;
        align-items: flex-start;
    }

    .top img {
        margin-bottom: 15px;
    }

    .content-inner {
        padding: 30px 20px; /* モバイルでは少し余白を小さく */
    }
}

