/* お問い合わせ　見積もりページ専用スタイル */

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* アクティブナビゲーションリンク */
.nav-link.active {
    color: #3498db !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100% !important;
    background-color: #3498db;
}

/* サービス流程 */
.service-flow {
    background: #f8f9fa;
    padding: 80px 0;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* お問い合わせ・見積もりセクション */
.contact-quote-section {
    padding: 80px 0;
}

.contact-quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section,
.quote-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2,
.quote-form-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form-section h2 i,
.quote-form-section h2 i {
    color: #3498db;
}

.contact-form-section p,
.quote-form-section p {
    color: #7f8c8d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* フォームスタイル */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
}

/* 連絡先情報セクション */
.contact-info-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 1.8rem;
}

.contact-details h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-details small {
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .contact-quote-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .flow-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section,
    .quote-form-section {
        padding: 1.5rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .contact-form-section,
    .quote-form-section {
        padding: 1rem;
    }
    
    .contact-form-section h2,
    .quote-form-section h2 {
        font-size: 1.4rem;
    }
    
    .service-flow,
    .contact-quote-section,
    .contact-info-section {
        padding: 60px 0;
    }
}

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

.step-item,
.contact-form-section,
.quote-form-section,
.contact-info-item {
    animation: fadeInUp 0.6s ease forwards;
}

.step-item:nth-child(2) { animation-delay: 0.1s; }
.step-item:nth-child(3) { animation-delay: 0.2s; }
.step-item:nth-child(4) { animation-delay: 0.3s; }
.step-item:nth-child(5) { animation-delay: 0.4s; }
.step-item:nth-child(6) { animation-delay: 0.5s; }

.contact-info-item:nth-child(2) { animation-delay: 0.1s; }
.contact-info-item:nth-child(3) { animation-delay: 0.2s; }
.contact-info-item:nth-child(4) { animation-delay: 0.3s; }
