/* 共通CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(135deg, #e8f4fd 0%, #b3e5fc 50%, #81d4fa 100%);
    min-height: 100vh;
}

/* ヘッダーナビゲーション */
.top-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #0277bd;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background-color: #e3f2fd;
    color: #01579b;
}

.nav-contact-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff9800 100%);
    color: white !important;
    padding: 10px 18px !important;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    font-size: 0.95rem;
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 50%, #ffc107 100%);
}

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

/* 個別ページのメインコンテンツ余白 */
main {
    margin-top: 20px;
}

/* 共通セクションスタイル */
.section {
    margin-bottom: 80px;
    background: rgba(255,255,255,0.9);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.section h2 {
    font-size: 2.8rem;
    color: #0277bd;
    margin-bottom: 35px;
    text-align: center;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0277bd, #29b6f6);
    margin: 20px auto;
    border-radius: 2px;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
}

/* CTAボタン */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff9800 100%);
    color: white;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 50%, #ffc107 100%);
}

/* フッター */
footer {
    background: linear-gradient(135deg, #01579b 0%, #0277bd 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-info {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

footer a {
    color: white !important;
    text-decoration: underline;
}

footer a:hover {
    color: #e3f2fd !important;
    text-decoration: underline;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .logo {
        height: 40px;
    }
    
    .main-nav {
        gap: 8px;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-menu li a {
        font-size: 0.85rem;
        padding: 6px 8px;
    }
    
    .nav-contact-btn {
        padding: 8px 14px !important;
        font-size: 0.85rem;
    }

    .section {
        padding: 40px 20px;
        margin-bottom: 40px;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        display: block;
        text-align: center;
        margin: 20px 0;
        font-size: 1.1rem;
        padding: 18px 35px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 35px;
    }
    
    .container {
        padding: 0 15px;
    }

    .main-nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }

    .nav-menu li a {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .nav-contact-btn {
        padding: 8px 16px !important;
        font-size: 0.8rem;
    }

    .section {
        padding: 30px 15px;
    }

    .section h2 {
        font-size: 1.6rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.8s ease-out;
}
