﻿/* =========================================
   共通：色・フォント
========================================= */
:root {
    --primary-color: #0a192f;
    --accent-color: #e6b422;
    --support-color: #e73E90;
    --text-color: #333;
    --light-gray: #f4f4f4;
}

body {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* =========================================
   共通：固定ヘッダー
========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
}

/* PCナビ */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* 支援ボタン */
.btn-support {
    background: #e63946;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
    color: #fff !important;
}

.btn-support:hover {
    background: #c9302c;
    transform: scale(1.05);
}

/* =========================================
   ハンバーガーメニュー（スマホ）
========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
}

.nav-links.active {
    right: 0;
}

.no-scroll {
    overflow: hidden;
}

/* =========================================
   共通：フッター
========================================= */
footer {
    background: rgba(10, 25, 47, 0.95);
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 60px;
}

.footer-sub {
    font-size: 0.8rem;
    color: #ccc;
}

/* =========================================
   共通：フェードイン
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   スマホ最適化
========================================= */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -70%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 25, 47, 0.98);
        flex-direction: column;
        padding-top: 100px;
        gap: 25px;
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav-links a {
        font-size: 1.1rem;
    }
}
