/* =============================================================================
   🎴 CARD COMPONENTS - 汎用カードコンポーネント
   ============================================================================= */

/* 🔧🔧🔧 【問い合わせ方法カード】2つ用に最適化されたスタイル - 配置統一 🔧🔧🔧 */
.contact-method-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 35px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex !important;          /* 🔧 強制的にフレックス */
    align-items: flex-start !important; /* 🔧 上端揃えで統一 */
    justify-content: flex-start !important; /* 🔧 左端揃えで統一 */ 
    gap: 25px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box !important;  /* 🔧 ボックスサイジング統一 */
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--method-color);
    border-radius: 20px 20px 0 0;
}

.contact-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--method-color);
}

/* 🔧🔧🔧 【カード色分け】各問い合わせ方法の色分け 🔧🔧🔧 */
.email-contact {
    --method-color: linear-gradient(90deg, #3498db, #2980b9);
}

.phone-contact {
    --method-color: linear-gradient(90deg, #2ecc71, #27ae60);
}

.meeting-contact {
    --method-color: linear-gradient(90deg, #9b59b6, #8e44ad);
}

/* 🔧🔧🔧 【コンテンツボックス】汎用コンテンツカード 🔧🔧🔧 */
.content-box {
    background: rgba(255, 182, 193, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 182, 193, 0.2);
    transition: all 0.2s ease;
    flex: 1;
}

.content-box:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 182, 193, 0.15);
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.3);
}

.content-box h2 {
    color: #ffb6c1;
    margin-bottom: 1rem;
    font-size: 1.5em;
}

.content-box ul {
    list-style: none;
    padding-left: 0;
}

.content-box li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.content-box li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #add8e6;
    animation: arrow 2s ease-in-out infinite;
}

.content-box li:hover {
    color: #ffb6c1;
    transform: translateX(5px);
}

/* 🔧🔧🔧 【メッセージカード】問い合わせメッセージ専用 🔧🔧🔧 */
.services-contact-message {
    background: rgba(255, 255, 255, 0.75);  /* 🔧🔧 統一されたシンプルな透明度 */
    border: none;  /* 🔧🔧 枠線削除してシンプルに */
    border-radius: 12px;  /* 🔧🔧 統一された控えめな角丸 */
    padding: 25px 35px;  /* 🔧🔧 統一された小さめサイズ */
    backdrop-filter: blur(6px);  /* 🔧🔧 統一された自然なブラー */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);  /* 🔧🔧 統一された薄い影 */
    opacity: 0;
    transform: translateY(100px) scale(0.8);
    transition: all 1.2s ease-out;
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 600px;  /* 🔧🔧 統一された小さめサイズ */
    max-height: 85vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.services-contact-message.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: float 6s ease-in-out infinite;
}

/* 🔧🔧🔧 【カードコンテンツ】テキスト系要素 🔧🔧🔧 */
.services-contact-main-title {
    font-size: 1.8rem;  /* 🔧🔧 2.2rem → 1.8rem 統一されたタイトルサイズ */
    line-height: 1.3;
    color: #2c3e50;
    margin: 0 0 20px 0;  /* 🔧🔧 25px → 20px 統一されたマージン */
    text-align: center;
    font-weight: 700;
}

.services-contact-description {
    text-align: center;
    margin-bottom: 30px;  /* 🔧🔧 35px → 30px 統一されたマージン */
}

.services-contact-description p {
    font-size: 1rem;  /* 🔧🔧 1.1rem → 1rem 統一されたフォントサイズ */
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px 0;
    text-align: center;
    font-weight: 400;
}

/* 🔧🔧🔧 【カードコンテント】メソッドカード内のコンテンツ - 幅制限で均等配置 🔧🔧🔧 */
.method-content {
    flex-grow: 0 !important;                   /* 🔧 flex: 1 → flex-grow: 0（拡張禁止） */
    flex-shrink: 1 !important;                 /* 🔧 縮小は許可 */
    flex-basis: auto !important;               /* 🔧 内容に応じた基本サイズ */
    text-align: left !important;               /* 🔧 明示的に左寄せを指定 */
    margin: 0 !important;                      /* 🔧 不要なマージンを削除 */
    padding: 0 !important;                     /* 🔧 不要なパディングを削除 */
    display: flex !important;                  /* 🔧 フレックスレイアウトで整列 */
    flex-direction: column !important;
    justify-content: flex-start !important;    /* 🔧 上端揃え */
    align-items: flex-start !important;        /* 🔧 左端揃え */
    width: auto !important;                    /* 🔧 自動幅 */
    max-width: 70% !important;                 /* 🔧 最大幅を70%に制限 */
}

.method-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0 !important;    /* 🔧 左右マージンを強制的に0 */
    text-align: left !important;      /* 🔧 強制的に左寄せ */
    width: 100% !important;          /* 🔧 幅いっぱいを使用 */
}

.method-content p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 15px 0 !important;    /* 🔧 左右マージンを強制的に0 */
    line-height: 1.5;
    text-align: left !important;      /* 🔧 強制的に左寄せ */
    width: 100% !important;          /* 🔧 幅いっぱいを使用 */
}

/* 矢印の非表示 */
.method-arrow {
    display: none;
}

.contact-method-card:hover .method-arrow {
    display: none;
} 