/* ===== ベース設定 ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #e6f0ff 100%);
    color: #1a1a1a;
    overflow-x: hidden;
}

/* ===== ヘッダー ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-bottom: 2px solid #3399ff;
    box-shadow: 0 2px 8px rgba(51, 153, 255, 0.1);
}

.logo img {
    height: 50px;
}

.nav .main-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    border: 2px solid #007bff;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav .main-link:hover {
    background-color: #007bff;
    color: #fff;
}

/* ===== メインセクション ===== */
.main {
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

/* 背景に光粒子を追加 */
.main::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/dust.png');
    opacity: 0.15;
    z-index: 0;
}

.intro {
    position: relative;
    z-index: 1;
}

.intro h1 {
    font-size: 2.6rem;
    color: #0078ff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 120, 255, 0.3);
}

.intro p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
}

/* ===== Feature Cards ===== */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 70px;
    z-index: 1;
    position: relative;
}

.feature-card {
    background: #ffffff;
    border: 2px solid rgba(0, 120, 255, 0.3);
    border-radius: 12px;
    width: 280px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0, 120, 255, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 120, 255, 0.35);
}

.feature-card h2 {
    color: #0078ff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #333;
    font-size: 0.95rem;
}

/* ===== フッター ===== */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #f3f8ff;
    color: #666;
    border-top: 1px solid #e0e8ff;
    margin-top: 60px;
}

/* ===== フェードイン ===== */
.fadein {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.fadein.visible {
    opacity: 1;
    transform: translateY(0);
}

