:root {
    --snow-white: #f8fafc;
    --ice-blue: #e0f2fe;
    --winter-blue: #bae6fd;
    --frost-gray: #cbd5e1;
    --night-blue: #0f172a;
    --warm-highlight: #fef3c7;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--snow-white);
    color: var(--night-blue);
    overflow-x: hidden;
}


.section1 a{
    text-decoration: underline;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.7;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) translateX(100px) rotate(360deg);
    }
}

.hexagon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 0 L45 0 L60 25.98 L45 51.96 L15 51.96 L0 25.98 Z' stroke='%23bae6fd' fill='none' /%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.section {
    position: relative;
    margin-bottom: 4rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.download-button {
    background: linear-gradient(135deg, var(--winter-blue), var(--ice-blue));
    color: var(--night-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-button:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--warm-highlight), var(--winter-blue));
    transition: all 0.3s ease;
    z-index: -1;
}

.download-button:hover:after {
    height: 100%;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(12, 74, 110, 0.1);
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--winter-blue), transparent);
    opacity: 0.15;
    z-index: -1;
}

.license-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    z-index: 100;
    overflow: auto;
}

.modal-content {
    background-color: var(--snow-white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 80%;
    max-width: 700px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* スノーフレークアニメーション用のCSS */
.create-snowflakes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.download-card {
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(12, 74, 110, 0.15);
}

.download-type-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(12, 74, 110, 0.15);
}