/* ================================
   顧問契約・コンサルティングページ
================================ */

/* ページ全体のスタイル */
.consulting-page-wrapper {
    background: #f8f9fa;
}

/* ================================
   ページヘッダー（ヒーローセクション）
================================ */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

/* 背景パターン1: 格子模様 */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

/* 背景パターン2: 斜線 */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.05) 10px,
            rgba(255,255,255,0.05) 20px
        );
    opacity: 0.4;
}

/* 格子アニメーション */
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ヘッダーコンテンツ */
.page-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    margin-bottom: 30px;
}

.title-en {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    opacity: 0.9;
}

.title-ja {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* ================================
   サービス概要セクション
================================ */
.service-overview {
    padding: 100px 0;
    background: white;
    position: relative;
}

.service-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, #f8f9fa, white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .title-sub {
    display: block;
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title span:last-child {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

/* 概要グリッド */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.overview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.overview-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* アイコンラッパー */
.icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.overview-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.overview-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d;
}

/* ================================
   プランセクション
================================ */
.consulting-plans-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.plan-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: white;
    color: #6c757d;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.tab-btn i {
    font-size: 1.2rem;
}

/* タブコンテンツ */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.plan-category-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.plan-category-title i {
    color: #667eea;
    font-size: 1.8rem;
}

.plan-category-desc {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* コンサルティングカード */
.consulting-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.consulting-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.consulting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.consulting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.consulting-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.consulting-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.recommend-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.plan-badge {
    display: inline-block;
    background: #e9ecef;
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 価格セクション */
.price-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.annual-price {
    margin-bottom: 15px;
}

.price-label {
    display: block;
    font-size: 1rem;
    color: #495057;
    margin-bottom: 5px;
    font-weight: 600;
}

.price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.price-note {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.monthly-equivalent {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    position: relative;
}

.monthly-equivalent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0.1;
    border-radius: 20px;
    z-index: -1;
}

/* 価格セクションの強調表示 */
.price-section::before {
    content: '💰';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    background: white;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.price-section {
    position: relative;
}

/* 年額価格の特別な強調 */
.annual-price .price-amount {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.annual-price .price-amount::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* サービス内容 */
.service-content {
    margin-bottom: 25px;
}

.service-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-content h5::before {
    content: '✨';
    font-size: 1.1rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #495057;
}

.service-list li i.fa-check {
    color: #28a745;
    font-size: 1.1rem;
}

.service-list li i.fa-times {
    color: #dc3545;
    font-size: 1.1rem;
}

.service-list li.not-included {
    color: #6c757d;
    opacity: 0.7;
}

/* 特別サポート */
.special-features {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 15px;
    border-left: 4px solid #2196f3;
}

.special-features h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.special-features h5::before {
    content: '🚀';
    font-size: 1.1rem;
}

.special-features ul {
    list-style: none;
    padding: 0;
}

.special-features li {
    padding: 5px 0;
    color: #1565c0;
    font-size: 1rem;
}

/* ターゲットセクション */
.target-section {
    margin-bottom: 30px;
}

.target-section h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.target-section h5::before {
    content: '🎯';
    font-size: 1.1rem;
}

.target-section ul {
    list-style: none;
    padding: 0;
}

.target-section li {
    padding: 5px 0;
    color: #495057;
    font-size: 1rem;
    position: relative;
    padding-left: 20px;
}

.target-section li::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ボタン */
.btn-consulting {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-consulting::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-consulting:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-consulting:hover::before {
    left: 100%;
}

.btn-consulting.featured {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.btn-consulting.featured:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

/* ================================
   レスポンシブ対応
================================ */
@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 60px;
    }
    
    .title-en {
        font-size: 2rem;
    }
    
    .title-ja {
        font-size: 2.5rem;
    }
    
    .page-lead {
        font-size: 1.1rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .consulting-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .plan-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .title-en {
        font-size: 1.5rem;
    }
    
    .title-ja {
        font-size: 2rem;
    }
    
    .overview-item {
        padding: 30px 20px;
    }
    
    .consulting-card {
        padding: 30px 20px;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}
