/* ===== 全体 ===== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: #333;
}

/* ===== ヘッダー ===== */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    width: 88%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ */
.logo img {
    height: 48px;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ===== ナビ ===== */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: #444;
    position: relative;
    transition: 0.3s ease;
}

/* 下線アニメーション */
.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: #0072ff;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ===== メイン ===== */
.main-content {
    width: 88%;
    margin: 60px auto;
    min-height: 70vh;
}

/* ===== フッター ===== */
.main-footer {
    text-align: center;
    padding: 30px 0;
    background: #111;
    color: #aaa;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ===== ハンバーガー ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #333;
    transition: 0.3s ease;
    border-radius: 3px;
}

/* ハンバーガーアニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {

    .nav-menu {
        position: absolute;
        top: 80px;
        right: 0;
        background: white;
        width: 100%;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        transform: translateY(-200%);
        transition: 0.4s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .nav-menu li {
        padding: 15px 0;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    /* PCナビ隠す */
    .nav-menu ul {
        width: 100%;
    }
}

.main-footer {
    background: #000;
    color: #ccc;
    padding: 40px 20px 25px;
    text-align: center;
    font-size: 14px;
}

/* 上段リンク */
.footer-top ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-top a {
    color: #bbb;
    text-decoration: none;
    transition: 0.2s;
}

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

/* 中段ロゴ */
.footer-middle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 25px;
}

.footer-middle img {
    height: 34px;
    opacity: 0.8;
    transition: 0.3s ease;
}

.footer-middle img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* 下段コピー */
.footer-bottom {
    font-size: 13px;
    color: #888;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .footer-middle {
        flex-direction: column;
        gap: 20px;
    }
}

.notification-menu {
    position: relative;
}

.notification-badge {
    background: #38bdf8;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
}