/* ========================================
   SECTIONS STYLES - Main Content Sections
   セクション - メインコンテンツ（Hero/Vision/Service/Consultation）
   ======================================== */

/* ========== SERVICE SECTION専用アニメーション群 ========== */
/* ⚠️ 注意: float, bounceChar, fadeInUpは既にcomponents.cssで定義済み */

/* シャボン玉の浮遊アニメーション */
@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

/* 🔧🔧🔧 風船の中央統合アニメーション - 最後まで中央に集約 */
@keyframes balloonMerge {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    20% {
        /* 少し膨らんで各方向に移動開始 */
        transform: scale(1.05) translate(var(--merge-x, 0), var(--merge-y, 0));
        opacity: 0.95;
    }
    50% {
        /* 中央に向かって移動しながら縮小開始 */
        transform: scale(0.8) translate(calc(var(--merge-x, 0) * 1.5), calc(var(--merge-y, 0) * 1.5));
        opacity: 0.8;
    }
    75% {
        /* 中央により近づく */
        transform: scale(0.5) translate(calc(var(--merge-x, 0) * 0.3), calc(var(--merge-y, 0) * 0.3));
        opacity: 0.5;
    }
    90% {
        /* 🔧🔧🔧 【完全統合】全てのシャボン玉が中央シャボン玉の位置に集約 */
        transform: scale(0.2) translate(0, 0);
        opacity: 0.2;
    }
    100% {
        /* 🔧🔧🔧 【完全統合】全てのシャボン玉が中央シャボン玉の位置で完全に消失 */
        transform: scale(0.05) translate(0, 0);
        opacity: 0;
    }
}

/* 🔧🔧🔧 コンテンツの透明度変化のみ - 移動は親要素(.professional-role)が担当 */
@keyframes contentFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    20% {
        opacity: 0.95;
        transform: scale(1.05);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.8);
    }
    75% {
        opacity: 0.5;
        transform: scale(0.5);
    }
    90% {
        /* 🔧 文字のフェードアウト（移動は親要素が担当） */
        opacity: 0.2;
        transform: scale(0.2);
    }
    100% {
        /* 🔧 文字の完全消失（移動は親要素が担当） */
        opacity: 0;
        transform: scale(0.05);
    }
}

/* シャボン玉のような浮遊アニメーション */
@keyframes balloonFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1);
    }
    25% { 
        transform: translateY(-10px) translateX(5px) scale(1.02);
    }
    50% { 
        transform: translateY(-5px) translateX(-3px) scale(0.98);
    }
    75% { 
        transform: translateY(-15px) translateX(8px) scale(1.01);
    }
}

/* 風船出現アニメーション - 最終位置でフェードイン */
@keyframes balloonEmerge {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 統合円内文字のフェードインアニメーション */
@keyframes textEmerge {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 統合矢印の消失アニメーション */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* 3つの専門職ロゴの浮遊アニメーション */
@keyframes logoFloat1 {
    0%, 100% { transform: rotate(-10deg) scale(1.1) translateY(0); }
    50% { transform: rotate(-10deg) scale(1.1) translateY(-8px); }
}

@keyframes logoFloat2 {
    0%, 100% { transform: rotate(5deg) scale(1.05) translateY(0); }
    50% { transform: rotate(5deg) scale(1.05) translateY(-6px); }
}

@keyframes logoFloat3 {
    0%, 100% { transform: rotate(-5deg) scale(0.95) translateY(0); }
    50% { transform: rotate(-5deg) scale(0.95) translateY(-4px); }
}

/* ========== HERO SECTION ========== */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
    white-space: normal;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ========== VISION SECTION ========== */

.vision-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
    margin-bottom: 0;
}

.vision-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.vision-title {
    font-size: 5rem;                /* 🔧 7rem → 5rem（適切なサイズに統一） */
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.vision-title.visible {
    opacity: 0.9;
    transform: translateX(0);
}

.vision-message {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 80px 60px;
    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;
}

.vision-message.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: float 6s ease-in-out infinite;
}

.vision-message:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vision-main-title {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #333;
    margin: 0 0 25px 0;
    text-align: center;
    font-weight: 600;
    position: relative;
    top: -25px;
    white-space: nowrap;
    width: 100%;
}

.vision-description {
    text-align: center;
    position: relative;
    top: 20px;
}

/* 🔧🔧🔧 【PC版デフォルト】PC版テキスト表示・モバイル版非表示 🔧🔧🔧 */
.vision-text-desktop {
    display: block;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 12px 0;
    text-align: center;
    font-weight: 400;
    white-space: nowrap;
    width: 100%;
}

.vision-text-mobile {
    display: none;
}

/* 🔧🔧🔧 【PC版デフォルト】hero-subtitle-mobileを非表示 🔧🔧🔧 */
.hero-subtitle-mobile {
    display: none !important;
}

/* 🔧🔧🔧 【PC版デフォルト】service-mobile-listを非表示 🔧🔧🔧 */
.service-mobile-list {
    display: none !important;
}

/* 🔧🔧🔧 【PC版デフォルト】service-tagline表示制御 🔧🔧🔧 */
.service-tagline-desktop {
    display: block; /* PC版ではデスクトップ版を表示 */
}

.service-tagline-mobile {
    display: none !important; /* PC版ではモバイル版を非表示 */
}

/* 🔧🔧🔧 【PC版デフォルト】service-mobile-title表示制御 🔧🔧🔧 */
.service-mobile-title-desktop {
    display: block; /* PC版ではデスクトップ版を表示 */
}

.service-mobile-title-mobile {
    display: none !important; /* PC版ではモバイル版を非表示 */
}

/* 🔧🔧🔧 【PC版デフォルト】service-mobile-description表示制御 🔧🔧🔧 */
.service-mobile-description-desktop {
    display: block; /* PC版ではデスクトップ版を表示 */
}

.service-mobile-description-mobile {
    display: none !important; /* PC版ではモバイル版を非表示 */
}

/* 🔧🔧🔧 【PC版デフォルト】section-title表示制御 🔧🔧🔧 */
.section-title-desktop {
    display: block; /* PC版ではデスクトップ版を表示 */
}

.section-title-mobile {
    display: none !important; /* PC版ではモバイル版を非表示 */
}

/* 🔧🔧🔧 【PC版デフォルト】service-benefit-title表示制御 🔧🔧🔧 */
.service-benefit-title-desktop {
    display: block !important; /* PC版ではデスクトップ版を表示（強化） */
}

.service-benefit-title-mobile {
    display: none !important; /* PC版ではモバイル版を非表示 */
}

/* 🔧🔧🔧 【PC版デフォルト】service-benefit-description表示制御 🔧🔧🔧 */
.service-benefit-description-desktop {
    display: block !important; /* PC版ではデスクトップ版を表示（強化） */
}

.service-benefit-description-mobile {
    display: none !important; /* PC版ではモバイル版を非表示 */
}

/* 🔧🔧🔧 【PC版デフォルト】service-section-title表示制御 🔧🔧🔧 */
.service-section-title-desktop {
    display: block !important; /* PC版ではデスクトップ版を表示 */
}

.service-section-title-mobile {
    display: none !important; /* PC版ではモバイル版を非表示 */
}

/* 🔧🔧🔧 【PC版デフォルト】mobile-service-card非表示 🔧🔧🔧 */
.mobile-service-card {
    display: none !important; /* PC版では393幅専用カードを非表示 */
}

/* 🔧 レガシー対応：既存の.vision-description pスタイルも維持 */
.vision-description p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 12px 0;
    text-align: center;
    font-weight: 400;
    white-space: nowrap;
    width: 100%;
}

.vision-message .char {
    display: inline-block;
    animation-duration: 1.0s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: both;
    transform-origin: center;
}

/* ========== SERVICE SECTION ========== */

.service-section {
    position: relative;
    min-height: 200vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: transparent;
    overflow: visible;
    padding-top: 100px;
    margin-top: 0;
}

.service-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.service-title {
    font-size: 5rem;                /* 🔧 7rem → 5rem（適切なサイズに統一） */
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    opacity: 0;
    text-align: center;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.service-title.visible {
    opacity: 0.9;
    transform: translateX(0);
}

/* サービス名と概要 */
.service-hero-container {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 60px 80px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    text-align: center;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* 🎯 「ぷちっ」傾きアニメーション */
.service-puchi-text {
    display: inline-block;
    animation: puchiShake 3s ease-in-out infinite;
    transform-origin: center bottom;
    transition: transform 0.3s ease;
}

.service-dx-text {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* ホバー時のエフェクト */
.service-name:hover .service-puchi-text {
    animation: puchiShake 0.6s ease-in-out;
}

.service-name:hover .service-dx-text {
    transform: scale(1.05);
}

/* 🎯 「ぷちっ」傾きアニメーション - キーフレーム定義 */
@keyframes puchiShake {
    0%, 85%, 100% {
        transform: rotate(0deg);
    }
    12% {
        transform: rotate(-15deg);
    }
    16% {
        transform: rotate(-18deg);
    }
    20% {
        transform: rotate(-15deg);
    }
    26% {
        transform: rotate(0deg);
    }
}

.service-hero-container.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* サービス内容 - 五角形レイアウト */
.service-visual-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.service-visual-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 中央のタイトル */
.service-center-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    padding: 15px 25px;
    border-radius: 15px;
    /* backdrop-filter: blur(5px); */
}

/* サービス円形の共通スタイル */
.service-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 
                inset 0 2px 10px rgba(255, 255, 255, 0.3);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: scale(0.3) translateY(-100px);
    text-decoration: none;
    color: inherit;
}

.service-circle:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 
                inset 0 2px 15px rgba(255, 255, 255, 0.6);
    color: inherit;
    text-decoration: none;
    filter: brightness(1.1);
}

/* ========== 5つの円の位置調整エリア ========== */
/* 🎯 円の位置を微調整したい場合は、以下のtop/bottom/left/rightの値を変更してください */

/* 円1 (ピンク・業務フロー) - 上部の円 */
.service-circle-1 {
    top: 30px;        /* 🔧 上からの距離 */
    left: 40.5%;       /* 🔧 左からの距離（%またはpx） */
    transform: translateX(-50%) scale(0.3) translateY(-100px);
    background: linear-gradient(135deg, rgba(254, 208, 231, 0.9), rgba(255, 20, 145, 0.227));
    border: rgba(255, 20, 145, 0.345);  /* 🔧 枠線を細く（3px→1px） */
    animation: bubbleFloat 6s ease-in-out infinite;
    animation-delay: 0s;
}

.service-visual-container.visible .service-circle-1 {
    opacity: 1;
    transform: translateX(-50%) scale(1) translateY(0);
    transition-delay: 0.5s;
}

/* 円2 (青・GoogleWorkspace) - 右上の円 */
.service-circle-2 {
    top: 160px;       /* 🔧 上からの距離 */
    right: 150px;      /* 🔧 右からの距離 */
    background: linear-gradient(135deg, rgba(209, 230, 255, 0.9), rgba(65, 105, 225, 0.308));
    border: rgba(65, 105, 225, 0.8);  /* 🔧 枠線を細く（3px→1px） */
    animation: bubbleFloat 6s ease-in-out infinite;
    animation-delay: -1s;
}

.service-visual-container.visible .service-circle-2 {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 1s;
}

/* 円3 (緑・AppSheet) - 右下の円 */
.service-circle-3 {
    bottom: 40px;     /* 🔧 下からの距離 */
    right: 240px;     /* 🔧 右からの距離 */
    background: linear-gradient(135deg, rgba(154, 255, 154, 0.248), rgba(50, 205, 50, 0.275));
    animation: bubbleFloat 6s ease-in-out infinite;
    animation-delay: -2s;
}

.service-visual-container.visible .service-circle-3 {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 1.5s;
}

/* 円4 (オレンジ・管理業務) - 左下の円 */
.service-circle-4 {
    bottom: 40px;     /* 🔧 下からの距離 */
    left: 240px;      /* 🔧 左からの距離 */
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.16), rgba(255, 153, 0, 0.166));
    animation: bubbleFloat 6s ease-in-out infinite;
    animation-delay: -3s;
}

.service-visual-container.visible .service-circle-4 {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 2s;
}

/* 円5 (紫・データ入力) - 左上の円 */
.service-circle-5 {
    top: 160px;       /* 🔧 上からの距離 */
    left: 150px;       /* 🔧 左からの距離 */
    background: linear-gradient(135deg, rgba(137, 43, 226, 0.348), rgba(76, 0, 130, 0.266));
    animation: bubbleFloat 6s ease-in-out infinite;
    animation-delay: -4s;
}

.service-visual-container.visible .service-circle-5 {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 2.5s;
}

/* シャボン玉の光沢効果 */
.service-circle:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 30px;
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    filter: blur(3px);
    opacity: 0.8;
    z-index: 1;
}

.service-circle:after {
    content: '';
    position: absolute;
    bottom: 30px;
    right: 40px;
    width: 20px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.6;
    z-index: 1;
}

/* 🎯 円内テキストのスタイル - 各円の薄い色を使用 */
.service-circle-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);  /* 🔧 ほぼ白だが少し透明 */
    z-index: 2;
    position: relative;
}

/* 🎯 各円ごとの薄い色設定 */
.service-circle-1 .service-circle-text {
    color: rgb(255, 255, 255);  /* 薄いピンク */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.service-circle-2 .service-circle-text {
    color: rgb(255, 255, 255);  /* 薄い青 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.service-circle-3 .service-circle-text {
    color: rgb(255, 255, 255);  /* 薄い緑 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.service-circle-4 .service-circle-text {
    color: rgb(254, 254, 254);  /* 薄いオレンジ */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.service-circle-5 .service-circle-text {
    color: rgb(255, 255, 255);  /* 薄い紫 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* 顧客メリット - カルーセル部分 */
.service-benefits-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
    min-height: auto;
}

.service-benefits-container .section-title {
    font-size: 5rem;                /* 🔧 7rem → 5rem（適切なサイズに調整） */
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 40px 0;
    text-align: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.service-benefits-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-benefits-container.visible .section-title {
    opacity: 0.9;
    transform: translateX(0);
}

/* カルーセルコンテナ */
.service-carousel-container {
    overflow: hidden; /* 重要: はみ出し部分を隠す */
    width: 80%; /* 🔧 70% → 80% 横幅を広く */
    max-width: 950px; /* 🔧 800px → 950px さらに広く */
    height: 60vh;
    margin: 0 auto;
    position: relative;
    display: block;
    box-sizing: border-box;
}

.service-carousel-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    /* 🔧 【修正】JavaScriptカルーセル制御用の重要設定 */
    width: 500%; /* 5つのアイテム（4つ + 最初の複製）用 */
    /* 🔧 【追加】確実な横スクロール制御 */
    transform: translateX(0%); /* 初期位置を明示 */
}

.carousel-item {
    width: 20%; /* 5つのアイテムなので20%ずつ */
    flex-shrink: 0;
    padding: 0 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item.carousel-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.carousel-item.carousel-visible .service-benefit-item {
    opacity: 1; /* カルーセルアイテムが表示される時にservice-benefit-itemも表示 */
}

.service-benefit-item {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 30px 40px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    opacity: 0; /* 初期状態を非表示に修正 */
    transform: translateX(0);
    height: 60vh; /* カルーセルコンテナと同じ高さ */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-benefit-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(78, 205, 196, 0.4);
}

.service-benefit-title {
    font-size: 2.2rem; /* 1.3remから1.6remに拡大 */
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
    text-align: center;
    line-height: 1.4;
}

.service-benefit-description {
    font-size: 1rem;
    color: #555;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* カルーセルコントロール */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 100;
    opacity: 0;
    transform: translateX(-50%) translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-controls.carousel-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-indicators {
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.indicator.active {
    background: rgba(78, 205, 196, 0.8);
    border-color: rgba(78, 205, 196, 1);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* 🔧 重複したcarousel-btnとhoverスタイルは上部で定義済み */

.carousel-indicators {
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.indicator.active {
    background: rgba(78, 205, 196, 0.8);
    border-color: rgba(78, 205, 196, 1);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* サービス統合部分 */
.service-example-container {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
    min-height: 450px;
}

.service-example-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-example-content {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 25px;                     /* 🔧 統合前後で同じパディング */
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 500px;                 /* 🔧 400px → 500px 統合後も十分な高さを確保 */
    height: 500px;                     /* 🔧 【追加】固定高さで統合前後のサイズを統一 */
    box-sizing: border-box;            /* 🔧 パディングを含めたサイズ計算 */
}

.service-section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.service-example-container.visible .service-section-title {
    opacity: 1;
    transform: translateY(0);
}

/* 3つの専門職 */
.professional-roles {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 30px auto;  /* 🔧 上マージンを増やして位置を下げる（15px→50px） */
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
}

.professional-role {
    position: relative;
    min-width: 150px;
    flex: 1;
    max-width: 220px;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

/* 🔧🔧🔧 中央統合アニメーション用の方向設定 - 最終的に全て中央シャボン玉の位置へ収束 */
.professional-role:nth-child(1) {
    --merge-x: 120px;  /* 🔧 左シャボン玉: 初期は右方向に移動 → 最終的に中央シャボン玉の位置(0,0)で消失 */
    --merge-y: 0px;    /* 🔧 横方向のみなので縦移動なし */
}

.professional-role:nth-child(2) {
    --merge-x: 0px;    /* 🔧 中央シャボン玉: 移動なし → 統合目標地点として機能 */
    --merge-y: 0px;    /* 🔧 横方向のみなので縦移動なし */
}

.professional-role:nth-child(3) {
    --merge-x: -120px; /* 🔧 右シャボン玉: 初期は左方向に移動 → 最終的に中央シャボン玉の位置(0,0)で消失 */
    --merge-y: 0px;    /* 🔧 横方向のみなので縦移動なし */
}

.professional-role.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.professional-role:hover .role-content {
    transform: translateY(-5px) scale(1.02);
}

.professional-role:hover .balloon {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* 🔧🔧🔧 【根本修正】professional-role要素全体の統合アニメーション */
.professional-role.merging {
    animation: balloonMerge 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 🔧 風船背景は要素と一緒に動くので個別アニメーション不要 */
.professional-role.merging .balloon {
    /* balloonMergeアニメーションは親要素で適用済み */
}

/* 🔧 コンテンツも要素と一緒に動くが、フェードアウトのみ適用 */
.professional-role.merging .role-content {
    animation: contentFadeOut 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 風船の背景 */
.balloon {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: -1;
}

.balloon-engineer {
    background: radial-gradient(circle at 30% 30%, rgba(78, 205, 196, 0.7), rgba(78, 205, 196, 0.4));
    box-shadow: 0 0 40px rgba(78, 205, 196, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.balloon-secretary {
    background: radial-gradient(circle at 30% 30%, rgba(255, 107, 107, 0.7), rgba(255, 107, 107, 0.4));
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.balloon-accounting {
    background: radial-gradient(circle at 30% 30%, rgba(196, 181, 253, 0.7), rgba(196, 181, 253, 0.4));
    box-shadow: 0 0 40px rgba(196, 181, 253, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.balloon-integrated {
    background: linear-gradient(135deg, 
        rgba(123, 185, 255, 0.8), 
        rgba(65, 105, 225, 0.6),
        rgba(255, 215, 0, 0.3));  /* 🔧 金色を追加して豪華に */
    box-shadow: 
        0 0 60px rgba(123, 185, 255, 0.6),    /* 🔧 より強い外側の輝き */
        0 0 30px rgba(255, 215, 0, 0.4),      /* 🔧 金色の輝き */
        inset 0 0 40px rgba(255, 255, 255, 0.2);  /* 🔧 より強い内側の光沢 */
    animation: luxuryGlow 3s ease-in-out infinite;  /* 🔧 豪華な輝きアニメーション */
}

/* 🔧 豪華な輝きアニメーション */
@keyframes luxuryGlow {
    0%, 100% {
        box-shadow: 
            0 0 60px rgba(123, 185, 255, 0.6),
            0 0 30px rgba(255, 215, 0, 0.4),
            inset 0 0 40px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 80px rgba(123, 185, 255, 0.8),
            0 0 50px rgba(255, 215, 0, 0.6),
            inset 0 0 60px rgba(255, 255, 255, 0.3);
    }
}

/* 🔧 キラキラエフェクト用 */
.balloon-integrated::before {
    content: '✨';
    position: absolute;
    top: 20%;
    left: 20%;
    font-size: 1.5rem;
    opacity: 0;
    animation: sparkle1 4s ease-in-out infinite;
    z-index: 10;
}

.balloon-integrated::after {
    content: '⭐';
    position: absolute;
    bottom: 25%;
    right: 15%;
    font-size: 1.2rem;
    opacity: 0;
    animation: sparkle2 4s ease-in-out infinite 2s;
    z-index: 10;
}

@keyframes sparkle1 {
    0%, 20%, 80%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    30%, 70% { opacity: 1; transform: scale(1) rotate(360deg); }
}

@keyframes sparkle2 {
    0%, 20%, 80%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    30%, 70% { opacity: 0.8; transform: scale(1.2) rotate(-360deg); }
}

/* 統合風船の浮遊アニメーション */
.service-box.balloon-visible .balloon-integrated {
    animation: balloonFloat 8s ease-in-out infinite;
}

/* 風船表示状態 */
.professional-role.balloon-visible .balloon,
.service-box.balloon-visible .balloon {
    opacity: 1;
    transform: scale(1);
}

/* コンテンツ */
.role-content {
    position: relative;
    z-index: 2;
    padding: 15px 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: none;
    border: none;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.role-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.role-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.role-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 🔧 統合矢印は廃止 */



/* 統合されたサービス */
.integrated-service {
    margin-top: 30px;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s ease 0.6s;
    position: relative;
}

.integrated-service.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.integrated-service.final-position {
    position: absolute;
    top: 60%;  /* 🔧 60% → 65% 位置をもう少し下げる */
    left: 50%;  /* 🔧 【修正】60% → 50% 水平中央配置を修正 */
    transform: translate(-50%, -50%) !important;  /* 🔧 【修正】!important追加でtranslateY移動を上書き */
    margin: 0;
    z-index: 15;
    transition: none !important;  /* 🔧 【追加】final-position時は遷移効果を無効化 */
}

/* 🔧 【重要】統合後の円専用 - 背景なしの透明シャボン玉 */
.integrated-service .service-box,
.integrated-service.final-position .service-box {
    /* 🔧 【修正】白い背景を削除 - 統合後は透明なシャボン玉のみ */
    background: transparent !important;  /* 背景を透明に */
    border: none !important;            /* 枠線を削除 */
    border-radius: 50% !important;      /* 完全な円形 */
    padding: 15px !important;           /* 適切なパディング */
    text-align: center !important;
    backdrop-filter: none !important;   /* ブラー効果を削除 */
    box-shadow: none !important;        /* 影を削除 */
    position: relative !important;
    min-width: 350px !important;        /* 🔧 シャボン玉のサイズをもう一回り大きく（300px → 350px） */
    max-width: 350px !important;
    width: 350px !important;
    height: 350px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
}

/* 🔧 【修正】.balloon-integrated要素も最終位置でフェードイン */
.service-box.balloon-emerging .balloon-integrated {
    animation: balloonEmerge 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* 🔧🔧🔧 【統合後コンテンツ】大きなシャボン玉内のコンテンツ全体レイアウト 🔧🔧🔧 */
.integrated-service .service-content,
.integrated-service.final-position .service-content {
    position: relative !important;
    z-index: 2 !important;
    /* 🔧🔧🔧 【位置調整】コンテンツを高くしたい場合は以下を調整 🔧🔧🔧 */
    padding-top: 5px !important;      /* 🔧 【上余白】少なくすると高い位置に */
    padding-bottom: 25px !important;   /* 🔧 【下余白】多くすると上寄りに見える */
    padding-left: 20px !important;     /* 🔧 【左右余白】そのまま */
    padding-right: 20px !important;    /* 🔧 【左右余白】そのまま */
    /* 🔧🔧🔧 または transform で直接移動したい場合は下記を有効化 🔧🔧🔧 */
    /* transform: translateY(-5px) !important; */ /* 🔧 【直接移動】マイナス値で上に移動 */
    color: white !important;           /* 🔧 透明背景なので白文字に */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;  /* 🔧 視認性のため影を追加 */
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;           /* シャボン玉いっぱいに */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;    /* 🔧 【縦位置】flex-start=上寄せ center=中央 flex-end=下寄せ */
    box-sizing: border-box !important;
    gap: 12px !important;              /* 🔧 8px → 12px シャボン玉大型化に合わせて要素間隔を調整 */
}

/* 統合前の3つの円用のロゴスタイル */
.service-logo {
    font-size: 2rem;
    margin-bottom: -50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -5px;
    position: relative;
}

/* 🔧🔧🔧 【統合後ロゴ】大きなシャボン玉内のロゴサイズと配置 🔧🔧🔧 */
.integrated-service .service-logo,
.integrated-service.final-position .service-logo {
    font-size: 2.8rem !important;     /* 🔧 2.2rem → 2.8rem シャボン玉大型化に合わせてロゴを大きく */
    margin-bottom: 5px !important;    /* 🔧 0 → 5px ロゴと文字間に適切な間隔 */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;              /* 🔧 3px → 5px シャボン玉内のアイコン間隔を調整 */
    position: relative !important;
    /* 🔧 【修正】初期状態を非表示に（!importantを削除してアニメーション優先） */
    opacity: 0;
    transform: scale(0.8);
}

/* 🔧 【修正】統合円出現時にロゴもフェードイン - 正しいセレクタ */
.service-box.balloon-emerging .service-logo {
    animation: textEmerge 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s forwards !important;
}

.logo-engineer {
    position: relative;
    z-index: 3;
    transform: rotate(-10deg) scale(1.1);
    animation: logoFloat1 3s ease-in-out infinite;
}

.logo-secretary {
    position: relative;
    z-index: 2;
    margin-left: -8px;
    transform: rotate(5deg) scale(1.05);
    animation: logoFloat2 3.5s ease-in-out infinite;
}

.logo-accounting {
    position: relative;
    z-index: 1;
    margin-left: -8px;
    transform: rotate(-5deg) scale(0.95);
    animation: logoFloat3 4s ease-in-out infinite;
}

/* 統合前の3つの円用のスタイル */
.service-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* 🔧🔧🔧 【統合後サービス名】大きなシャボン玉内のメインタイトルサイズ 🔧🔧🔧 */
.integrated-service .service-name,
.integrated-service.final-position .service-name {
    font-size: 2.2rem !important;     /* 🔧 1.8rem → 2.2rem シャボン玉大型化に合わせてサービス名を大きく */
    font-weight: 700 !important;
    color: white !important;          /* 🔧 透明背景なので白文字に */
    margin: -10px 0 !important;         /* 🔧 0 → 8px 0 上下に適切な余白を追加 */
    line-height: 1.3 !important;     /* 🔧 1.2 → 1.3 少し行間を広げて読みやすく */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;  /* 🔧 視認性のため影を追加 */
    white-space: nowrap !important;
    /* 🔧 【修正】初期状態を非表示に（!importantを削除してアニメーション優先） */
    opacity: 0;
    transform: scale(0.8);
}

/* 🔧 【修正】統合円出現時に文字もフェードイン - 正しいセレクタ */
.service-box.balloon-emerging .service-name {
    animation: textEmerge 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s forwards !important;
}

.service-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 🔧🔧🔧 【統合後タグライン】大きなシャボン玉内のサブテキストサイズ 🔧🔧🔧 */
.integrated-service .service-tagline,
.integrated-service.final-position .service-tagline {
    font-size: 1.2rem !important;     /* 🔧 1rem → 1.2rem シャボン玉大型化に合わせてタグラインを大きく */
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;  /* 🔧 透明背景なので白文字に */
    margin: 5px 0 !important;         /* 🔧 0 → 5px 0 上下に適切な余白を追加 */
    line-height: 1.4 !important;     /* 🔧 1.3 → 1.4 少し行間を広げて読みやすく */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;  /* 🔧 視認性のため影を追加 */
    white-space: normal !important;
    /* 🔧 【修正】初期状態を非表示に（!importantを削除してアニメーション優先） */
    opacity: 0;
    transform: scale(0.8);
}

/* 🔧 【修正】統合円出現時に説明文もフェードイン - 正しいセレクタ */
.service-box.balloon-emerging .service-tagline {
    animation: textEmerge 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.6s forwards !important;
}

/* 🔧🔧🔧 【統合後の円専用文字】予備スタイル（現在未使用・必要に応じて調整可能） 🔧🔧🔧 */
.integrated-service .service-name-integrated,
.integrated-service.final-position .service-name-integrated,
.service-name-integrated {
    font-size: 1.0rem !important;  /* 🔧 微調整: サイズを変更したい場合はここを調整 */
    font-weight: 700 !important;
    color: white !important;
    margin: 0 !important;          /* 🔧 微調整: 余白を変更したい場合はここを調整 */
    line-height: 1.0 !important;  /* 🔧 微調整: 行間を変更したい場合はここを調整 */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    white-space: nowrap !important;
}

.integrated-service .service-tagline-integrated,
.integrated-service.final-position .service-tagline-integrated,
.service-tagline-integrated {
    font-size: 0.6rem !important;  /* 🔧 微調整: サイズを変更したい場合はここを調整 */
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;          /* 🔧 微調整: 余白を変更したい場合はここを調整 */
    line-height: 1.0 !important;  /* 🔧 微調整: 行間を変更したい場合はここを調整 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    white-space: nowrap !important;
}

/* ========== CONSULTATION SECTION ========== */

.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;
    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;
    overflow-y: auto;
    box-sizing: border-box;
}

.consultation-message.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* コンサルテーションメソッド */
.consultation-methods {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

/* 特別オファー */
.special-offer {
    position: relative;
    padding: 20px;
    margin: 20px 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.05));
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    overflow: hidden;
    /* 🔧 【追加】横並び配置のためのflexbox */
    display: flex;
    align-items: center;
    gap: 15px;
}

.offer-badge {
    /* 🔧 【修正】position: absoluteを削除して通常フローで横並び配置 */
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;  /* 🔧 【修正】角丸を統一 */
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    /* 🔧 【追加】flexboxで縮まないように */
    flex-shrink: 0;
    /* 🔧 【追加】テキストとの高さを揃える */
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.offer-text {
    /* 🔧 【修正】flexboxでの横並び配置に合わせて調整 */
    font-size: 1.1rem;
    line-height: 1.4;  /* 🔧 【追加】バッジの高さに合わせる */
    margin: 0;         /* 🔧 【修正】marginを削除してflexbox中央揃えを有効に */
    display: flex;     /* 🔧 【追加】内部テキストの垂直配置調整 */
    align-items: center; /* 🔧 【追加】バッジとの高さを揃える */
    font-weight: 600;
    color: #e67e22;
} 

/* 重複削除済み - ビジョンセクションのスタイルは上部で定義 */

/* =============================================================================
   💬 CONTACT SECTION - 問い合わせセクション専用スタイル
   ============================================================================= */

/* 🔧🔧🔧 【問い合わせセクション】メインコンテナ 🔧🔧🔧 */
.services-contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
    margin-bottom: 0;
}

/* 🔧🔧🔧 【問い合わせコンテンツ】レイアウトコンテナ 🔧🔧🔧 */
.services-contact-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

/* 🔧🔧🔧 【問い合わせタイトル】大きな見出し 🔧🔧🔧 */
.services-contact-title {
    font-size: 8rem;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.services-contact-title.visible {
    opacity: 0.9;
    transform: translateX(0);
}

/* 🔧🔧🔧 【問い合わせ説明】説明文テキスト 🔧🔧🔧 */
.services-contact-description {
    text-align: center;
    margin-bottom: 35px;
}

.services-contact-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px 0;
    text-align: center;
    font-weight: 400;
}

/* 🔧🔧🔧 【汎用セクション】他の問い合わせセクションにも適用可能 🔧🔧🔧 */

/* 問い合わせセクション基本レイアウト */
.contact-section-base {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
    margin-bottom: 0;
}

/* 問い合わせコンテンツ基本レイアウト  */
.contact-content-base {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

/* 問い合わせタイトル基本スタイル */
.contact-title-base {
    font-size: 8rem;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.contact-title-base.visible {
    opacity: 0.9;
    transform: translateX(0);
}

/* 🔧🔧🔧 【レスポンシブ対応】モバイル・タブレット対応 🔧🔧🔧 */
@media (max-width: 1024px) {
    .services-contact-content,
    .contact-content-base {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    
    .services-contact-title,
    .contact-title-base {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .services-contact-title,
    .contact-title-base {
        font-size: 4rem;
        text-align: center;
    }
    
    .services-contact-description p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-contact-title,
    .contact-title-base {
        font-size: 3rem;
    }
    
    .services-contact-content,
    .contact-content-base {
        padding: 0 15px;
        gap: 30px;
    }
} 