@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");

:root {
    --crimson: #b81c22;
    --deep-crimson: #7a0e12;
    --gold: #d4a24c;
    --ink: #1f1f1f;
    --paper: #f9f4ef;
    --glass: rgba(255, 255, 255, 0.65);
    --shadow: 0 18px 40px rgba(21, 21, 21, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 20% 20%, #fff7f0 0%, transparent 40%),
        radial-gradient(circle at 80% 0%, #fbe9ef 0%, transparent 45%),
        linear-gradient(180deg, #fff 0%, var(--paper) 45%, #ffffff 100%);
    min-height: 100vh;
}

main {
    margin-top: 110px;
    padding: 2rem 0 4rem;
}

/* ===== グラスモーフィズムヘッダー ===== */
.glassmorphism-header {
    position: fixed;
    top: 1%;
    width: 90%;
    z-index: 1000;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

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

.nav-left {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.nav-logo {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: inherit;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

/* ===== Hero ===== */
.donation-hero {
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(184, 28, 34, 0.95) 0%, rgba(122, 14, 18, 0.9) 60%, rgba(64, 10, 12, 0.95) 100%);
    color: #fff;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.donation-hero::after {
    content: "";
    position: absolute;
    inset: -20% -10% auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.5) 0%, transparent 70%);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeUp 0.9s ease-out;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: "Shippori Mincho", serif;
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    margin: 0 0 1.2rem;
}

.hero-lead {
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
    justify-content: center;
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: #fff;
    color: var(--deep-crimson);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-primary:hover,
.btn-ghost:hover {
    transform: translateY(-2px);
}

.hero-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.section {
    max-width: 1100px;
    margin: 0 auto 3.5rem;
    padding: 0 2.5rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-family: "Shippori Mincho", serif;
    font-size: clamp(1.6rem, 2.3vw, 2.1rem);
    margin-bottom: 0.6rem;
}

.section-subtitle {
    color: #3f3f3f;
    line-height: 1.8;
    max-width: 900px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.info-card {
    background: var(--glass);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.wide-card {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-text {
    line-height: 1.8;
    color: #2f2f2f;
}

.bank-info {
    display: grid;
    gap: 0.9rem;
}

.bank-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.bank-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bank-label {
    color: #6a6a6a;
    font-weight: 600;
}

.bank-value {
    font-weight: 500;
}

.rules {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem 2rem 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.rules summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
}

.rules-body {
    margin-top: 1.5rem;
    line-height: 1.8;
    color: #2c2c2c;
}

.rules-body ol {
    padding-left: 1.2rem;
    margin: 0.8rem 0 1.5rem;
}

/* ===== フッターセクション ===== */
.footer-section {
    background:#f8f9fa;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    position: relative;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 60px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-brand-name {
    color: #b81c22;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: #222;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 300px;
}

.footer-social {
    text-align: right;
}

.footer-social-title {
    color: #222;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.2);
}

.social-icon.tiktok {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    color: white;
}

.social-icon.line {
    background: #00c300;
    color: white;
}

.social-icon.youtube {
    background: #ff0000;
    color: white;
}

.social-icon.twitter {
    background: #000000;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
}

.footer-copyright {
    color: #222;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .nav-links {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .donation-hero,
    .section {
        padding: 2.5rem 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-social {
        text-align: center;
        margin-top: 2rem;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .bank-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    main {
        margin-top: 140px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .nav-logo {
        width: 30px;
    }

    .footer-section {
        padding: 2rem 0 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}
