/* Base Reset & Variables */
:root {
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-color: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.3);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(226, 232, 240, 0.8);
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    /* プレミアムなバックグラウンドグラデーション */
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 20%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1e40af, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav ul {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--text-primary);
}

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

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    margin-top: 4rem;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
}

.hero h2 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #1e293b;
    white-space: nowrap;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

/* Specials Section */
.specials-section {
    padding: 8rem 2rem;
    background: rgba(255, 255, 255, 0.4);
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.special-card {
    min-height: 350px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    color: var(--text-primary);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--glass-border);
}

.special-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
    z-index: 1;
    transition: var(--transition);
}

.special-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.special-card:hover::after {
    background: linear-gradient(to top, rgba(37, 99, 235, 0.15) 0%, transparent 100%);
}

.special-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition);
}

.special-card:hover .special-content {
    transform: translateY(0);
}

.special-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--accent-color);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.special-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.special-desc {
    font-size: 1rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.special-card:hover .special-desc {
    opacity: 0.9;
    max-height: 100px;
}

.special-link {
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
}

/* Decades Section */
.decades-section {
    padding: 2rem 2rem 8rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.decades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Glassmorphism Cards */
.decade-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.decade-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.decade-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.decade-card:hover::before {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.decade-year {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    display: block;
    text-transform: uppercase;
}

.decade-title {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    color: #1e293b;
}

.decade-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.02);
    border-top: 1px solid var(--card-border);
    padding: 5rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Scrolled */
.header-scrolled {
    padding: 0.5rem 2rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Daily Tip Floating */
.daily-tip {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent-glow);
    padding: 1.25rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out;
}

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

.tip-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.tip-content p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.tip-content a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 700;
}

@media (max-width: 768px) {
    .daily-tip {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}
