@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:700&display=swap');

body {
    background: #181d23;
    color: #e0e6ed;
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(90deg, #23272f 70%, #0f8bff 100%);
    padding: 24px 0 16px 0;
    box-shadow: 0 2px 8px #0f8bff33;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    display: flex;
    align-items: center;
    margin-left: 32px;
}

header .logo img {
    height: 42px;
    margin-right: 18px;
}

header nav {
    margin-right: 32px;
}

header nav a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    margin: 0 18px;
    letter-spacing: 1px;
    transition: color 0.2s;
}

header nav a:hover {
    color: #fff;
    text-shadow: 0 0 8px #0f8bff;
}

main {
    max-width: 900px;
    margin: 40px auto;
    background: #23272f;
    border-radius: 12px;
    box-shadow: 0 4px 24px #0f8bff22;
    padding: 36px 40px 32px 40px;
}

h1,
h2,
h3 {
    color: #0f8bff;
    letter-spacing: 2px;
    font-family: 'Roboto Mono', monospace;
}

ul.news-list {
    list-style: none;
    padding: 0;
}

ul.news-list li {
    margin-bottom: 18px;
    padding: 12px 18px;
    border-left: 4px solid #0f8bff;
    background: #181d23;
    border-radius: 6px;
    transition: background 0.2s;
}

ul.news-list li:hover {
    background: #2a313a;
}

ul.site-list {
    list-style: none;
    padding: 0;
}

ul.site-list li {
    margin-bottom: 14px;
    font-size: 1.1em;
}

a {
    color: #0f8bff;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px #0f8bff;
}

footer {
    margin-top: 60px;
    text-align: center;
    color: #6c7a89;
    font-size: 0.9em;
    padding: 18px 0;
    border-top: 1px solid #2a313a;
}

.footer_info {
    text-align: center;
}

.footer_info a {
    color: white;
    font-size: medium;

}

.link button {
    background-color: black;
    border: #0f8bff 1px solid;
    border-radius: 3px;
    color: white;
}

.news-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 14px 18px;
    border-left: 5px solid #0f8bff;
    background: #181d23;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0f8bff22;
    transition: background 0.2s;
    position: relative;
}

.news-card:hover {
    background: #23272f;
}

.news-logo {
    height: 36px;
    width: auto;
    margin-right: 16px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 4px #0f8bff22;
}

.news-meta {
    color: #0f8bff;
    font-size: 0.97em;
    margin-top: 2px;
}

.news-title {
    margin: 0 0 5px 0;
    font-size: 1.17em;
    font-weight: bold;
    letter-spacing: 1px;
}

.news-desc {
    margin-top: 5px;
    color: #b0bac5;
    font-size: 0.98em;
}

.filter-form {
    margin-bottom: 32px;
    padding: 18px 24px;
    background: #23272f;
    border-radius: 10px;
    box-shadow: 0 2px 8px #0f8bff22;
    display: flex;
    align-items: center;
    gap: 18px;
}

.filter-form select,
.filter-form input[type="text"] {
    padding: 7px 10px;
    border: 1px solid #0f8bff;
    border-radius: 4px;
    background: #181d23;
    color: #e0e6ed;
    font-size: 1em;
}

.bookmark-btn {
    display: flex;
    align-items: center;
    margin-left: 18px;
    cursor: pointer;
    user-select: none;
    font-size: 1.45em;
    color: #b0bac5;
    border: none;
    background: none;
    outline: none;
    padding: 0;
}

.bookmark-btn .star {
    font-size: 1.45em;
    color: #ffdf3c;
    margin-right: 0;
    transition: color 0.2s;
}

.bookmark-btn.bookmarked .star {
    color: #ffc700;
    text-shadow: 0 0 6px #ffd70088;
}

@media (max-width: 700px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .bookmark-btn {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* logoクラスの親要素にFlexboxを適用 */
.logo {
    display: flex;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center;     /* 垂直方向の中央寄せ */
}

/* imgタグのサイズを調整 */
.logo img {
    width: 50px;  /* 例：幅を100pxに設定 */
    height: auto;  /* 高さを自動調整してアスペクト比を維持 */
}