/*
Theme Name: Milestone Corporate Theme
Description: 株式会社マイルストーン企業サイト用WordPressテーマ
Version: 1.0
Author: Your Name
Text Domain: milestone-theme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    font-size: 15px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #0066cc;
}

.nav-menu a:hover::after {
    width: 100%;
}

.contact-btn {
    background: #0066cc;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #004499;
    transform: translateY(-1px);
}

/* リッチなグラデーションヒーロー */
.hero {
    min-height: 100vh;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 102, 204, 0.9) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 68, 153, 0.8) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(0, 85, 170, 0.7) 0%, transparent 50%),
        linear-gradient(135deg, #0066cc 0%, #004499 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.1) 0%, transparent 40%);
    animation: gradientShift 3s ease-out forwards;
}

@keyframes gradientShift {
    0% { 
        opacity: 0;
        transform: scale(1.1);
    }
    100% { 
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: heroContentFade 1.8s ease-out 0.3s both;
}

@keyframes heroContentFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroButtonsUp 1.2s ease-out 1s both;
}

@keyframes heroButtonsUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background: white;
    color: #0066cc;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-1px);
}

/* サービス */
.services {
    padding: 120px 20px;
    background: white;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* 料金表 */
.pricing {
    padding: 120px 20px;
    background: #f8f9fa;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 40px 25px;
    padding-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:nth-child(2) {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    transform: scale(1.05);
}

.pricing-card:nth-child(2) .pricing-price {
    color: white;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card:nth-child(2):hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 30px;
}

.pricing-cta {
    text-align: center;
}

.pricing-button {
    background: #0066cc;
    color: white;
    padding: 16px 60px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pricing-button:hover {
    background: #004499;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

/* 会社情報 */
.about {
    padding: 120px 20px;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
}

.company-table {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    margin-top: -2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

/* お問い合わせ */
.contact {
    padding: 120px 20px;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 16px;
    background: white;
    color: #0066cc;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-button:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

/* WordPressメニュー対応 */
.menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.menu li {
    margin: 0;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #0066cc;
}

.menu a:hover::after {
    width: 100%;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
    }

    .nav-menu, .menu {
        display: none;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card:nth-child(2) {
        transform: none;
    }

    .pricing-card:nth-child(2):hover {
        transform: translateY(-5px);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}