/* 基本設定とフォント */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap');

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8fafc;
    color: #0f172a;
}

main {
    flex: 1;
    width: 100%;
    max-width: 56rem;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* ヘッダー */
nav.bg-black {
    background-color: #000;
    padding: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    color: #fff !important; /* 強制的に白文字 */
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    cursor: pointer;
    text-decoration: none;
    margin: 0;
}

/* フッター */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 30px 20px;
    font-size: 14px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
}

.footer-logo {
    font-weight: bold;
    font-size: 18px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.footer-nav li {
    margin-left: 20px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #888;
    font-size: 12px;
}

/* レスポンシブ */
@media (max-width: 600px) {
    .footer-content { flex-direction: column; text-align: center; }
    .footer-nav li { margin: 5px 10px; }
    main { margin: 1rem; padding: 1.5rem; }
}
