/* ========================================
   CONSULTATION EXTENDED STYLES - 相談セクション拡張スタイル
   sections.cssの基本相談スタイルを拡張・上書き
   ======================================== */

/* ========== メイン相談拡張スタイル ========== */
/* ⚠️ 注意: sections.cssの基本スタイルを拡張・上書きします */

/* 相談方法配置 - 詳細調整版 */
.consultation-methods {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 40px !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 800px !important;
    padding: 0 20px !important;
}

/* 相談セクション - 詳細調整版 */
.consultation-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
    margin-bottom: 0;
}

.consultation-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.consultation-title {
    font-size: 6rem;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.consultation-title.visible {
    opacity: 0.9;
    transform: translateX(0);
}

/* 相談メッセージボックス - サイズ調整版 */
.consultation-message {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 40px 50px; /* 60px 80px → 40px 50px に縮小 */
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(100px) scale(0.8);
    transition: all 1.2s ease-out;
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    max-height: 85vh; /* 🔧 【追加】最大高さを画面の85%に制限 */
    overflow-y: auto; /* 🔧 【追加】必要に応じて縦スクロール可能 */
    box-sizing: border-box; /* 🔧 【追加】パディングを含めたサイズ計算 */
}

.consultation-message.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: float 6s ease-in-out infinite;
}

.consultation-message:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 相談メインタイトル - サイズ調整版 */
.consultation-main-title {
    font-size: 2.2rem; /* 2.5rem → 2.2rem に縮小 */
    line-height: 1.3;
    color: #2c3e50;
    margin: 0 0 25px 0; /* 30px → 25px に縮小 */
    text-align: center;
    font-weight: 700;
    position: relative;
}

/* 相談説明文 - 余白調整版 */
.consultation-description {
    text-align: center;
    margin-bottom: 30px; /* 40px → 30px に縮小 */
}

.consultation-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px 0;
    text-align: center;
    font-weight: 400;
}

/* ========== 相談ボタンスタイル ========== */

.consultation-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px; /* 20px → 15px に縮小 */
    margin-bottom: 35px; /* 50px → 35px に縮小 */
}

.consultation-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 25px; /* 18px 30px → 15px 25px に縮小 */
    border: none;
    border-radius: 25px;
    font-size: 1rem; /* 1.1rem → 1rem に縮小 */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 55px; /* 65px → 55px に縮小 */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.consultation-btn-primary {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.9), rgba(68, 160, 141, 0.8));
    color: white;
    border: 2px solid rgba(78, 205, 196, 0.3);
}

.consultation-btn-secondary {
    background: linear-gradient(135deg, rgba(123, 185, 255, 0.9), rgba(65, 105, 225, 0.8));
    color: white;
    border: 2px solid rgba(123, 185, 255, 0.3);
}

.consultation-btn-calendar {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.9), rgba(255, 140, 0, 0.8));
    color: white;
    border: 2px solid rgba(255, 159, 67, 0.3);
}

.consultation-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.consultation-btn-primary:hover {
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.consultation-btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(123, 185, 255, 0.4);
}

.consultation-btn-calendar:hover {
    box-shadow: 0 8px 25px rgba(255, 159, 67, 0.4);
}

.btn-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.btn-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========== フィーチャー要素スタイル ========== */

.consultation-features {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* 30px → 20px に縮小 */
    margin-top: 15px; /* 20px → 15px に縮小 */
}

.feature-item {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 15px; /* 20px → 15px に縮小 */
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px; /* 15px → 12px に縮小 */
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(78, 205, 196, 0.4);
}

.feature-icon {
    font-size: 2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.2;
}

.feature-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.3;
}

/* ========== レスポンシブ対応相談スタイル ========== */

/* タブレット・中間サイズ対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .consultation-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    
    .consultation-title {
        font-size: 4rem;
        text-align: center;
    }
    
    .consultation-message {
        padding: 30px 20px; /* 40px 30px → 30px 20px により縮小 */
        max-width: 100%;
        max-height: 90vh; /* モバイル版は少し高めに設定 */
    }
    
    .consultation-main-title {
        font-size: 1.8rem; /* 2rem → 1.8rem に縮小 */
        margin-bottom: 20px; /* 25px → 20px に縮小 */
    }
    
    .consultation-description p {
        font-size: 1.1rem;
    }
    
    .consultation-buttons {
        gap: 12px; /* 15px → 12px に縮小 */
        margin-bottom: 25px; /* モバイル版のマージンを調整 */
    }
    
    .consultation-btn {
        padding: 14px 20px; /* 16px 25px → 14px 20px に縮小 */
        min-height: 50px; /* 60px → 50px に縮小 */
    }
    
    .btn-icon {
        font-size: 1.3rem;
        margin-right: 12px;
    }
    
    .btn-text {
        font-size: 1rem;
    }
    
    .consultation-features {
        flex-direction: column;
        gap: 15px; /* 20px → 15px に縮小 */
        margin-top: 10px; /* モバイル版のマージンを調整 */
    }
    
    .feature-item {
        padding: 12px; /* 15px → 12px に縮小 */
    }
    
    .feature-icon {
        font-size: 1.8rem;
        margin-right: 12px;
    }
    
    .feature-title {
        font-size: 0.95rem;
    }
}

/* 480px以下でのモバイル専用対応 */
@media (max-width: 480px) {
    /* トップページお問い合わせセクションのモバイル対応 */
    .consultation-content {
        padding: 0 20px;
        gap: 30px;
    }
    
    .consultation-methods {
        flex-direction: column !important;
        gap: 25px !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    .consultation-method-card {
        min-width: auto;
        max-width: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .consultation-method-card .method-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
        margin: 0 auto;
    }
    
    .consultation-method-card .method-content h4 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .consultation-method-card .method-content p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .consultation-method-card .method-action {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .consultation-method-card .method-arrow {
        display: none; /* モバイルでは矢印を非表示 */
    }
    
    /* 超小型画面用お問い合わせセクション */
    .consultation-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .consultation-content {
        padding: 0 15px;
        gap: 25px;
        max-width: 100%;
    }
    
    .consultation-title {
        font-size: 3rem; /* より小さく */
        margin-bottom: 20px;
        text-align: center;
    }
    
    .consultation-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
        text-align: center;
        line-height: 1.4;
    }
    
    .consultation-methods {
        flex-direction: column !important;
        gap: 20px !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .consultation-method-card {
        min-width: auto;
        max-width: 100%;
        padding: 20px 15px;
        margin: 0;
    }
    
    .method-icon {
        font-size: 2rem; /* アイコンサイズ調整 */
        margin-bottom: 15px;
    }
    
    .method-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .method-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }
} 