/*
Theme Name: MSprint Landing Page
Description: AI×SEOメディア運用サービス「エムスプ」のランディングページテーマ
Version: 1.0
*/

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    background: rgba(2, 6, 18, 0.30);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-container {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: grid; /* flexからgridに変更 */
    grid-template-columns: 1fr auto 1fr; /* 左・中央・右を均等に */
    align-items: center;
    padding: 0 40px; /* 左右の余白を均等に */
    position: relative;
}

.header-logo {
    width: 232px;
    height: 42px;
    justify-self: start; /* 左寄せ */
}

.header-nav {
    justify-self: center; /* 中央配置 */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(20px, 3vw, 45px);
    align-items: center;
}

.header-cta {
    width: 220px;
    height: 45px;
    justify-self: end; /* 右寄せ */
}

.nav-menu a {
    color: #85D4DD;
    font-size: 16px;
    font-weight: 700;
    word-wrap: break-word;
    transition: opacity 0.3s ease;
    white-space: nowrap; /* 改行防止 */
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* ヘッダーCTA */
.header-cta {
    width: 220px; /* 幅を調整 */
    height: 45px; /* 高さを調整 */
    flex-shrink: 0;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9AED4A 0%, #8EE83F 50%, #7ED321 100%);
    border-radius: 25px; /* 高さの半分くらいで丸みを調整 */
    color: #020612;
    font-size: 14px; /* フォントサイズ調整 */
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 
        0 2px 8px rgba(126, 211, 33, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    white-space: nowrap; /* テキストの改行を防ぐ */
    padding: 0 15px; /* 左右のパディング */
}

/* ヘッダーCTAの光るエフェクト */
.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-1px); /* ヘッダーでは控えめに */
    background: linear-gradient(135deg, #A8F055 0%, #9AED4A 50%, #8EE83F 100%);
    box-shadow: 
        0 4px 12px rgba(126, 211, 33, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:active {
    transform: translateY(0px);
    box-shadow: 
        0 1px 4px rgba(126, 211, 33, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #85D4DD;
    margin: 3px 0;
    transition: 0.3s;
}

/* ハンバーガーメニューの完全実装 */

/* モバイルメニューの初期状態（非表示） */
.mobile-menu {
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    height: calc(100vh - 88px);
    background: rgba(2, 6, 18, 0.95);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding: 40px 20px;
    overflow-y: auto;
    display: none;
}

/* アクティブ時に表示 */
.mobile-menu.active {
    transform: translateX(0);
    display: block;
}

/* モバイルナビゲーション */
.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid rgba(133, 212, 221, 0.2);
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
    margin-bottom: 40px;
}

.mobile-nav-menu a {
    display: block;
    color: #85D4DD;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 20px 0;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-menu a:hover {
    color: white;
    padding-left: 10px;
}

.mobile-nav-menu a::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-menu a:hover::after {
    opacity: 1;
}

/* モバイル用CTAボタン */
.mobile-cta-button {
    display: block;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #9AED4A 0%, #8EE83F 50%, #7ED321 100%);
    color: #020612;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 211, 33, 0.3);
    margin-top: 20px;
}

.mobile-cta-button:hover {
    background: linear-gradient(135deg, #A8F055 0%, #9AED4A 50%, #8EE83F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 211, 33, 0.4);
}

/* ハンバーガーアイコンのアニメーション強化 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #85D4DD;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* アクティブ時のハンバーガーアニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: white;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: white;
}

/* スマホ版でのみ表示 */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
    
    /* ハンバーガーメニューが開いている時のボディスクロール防止 */
    body.menu-open {
        overflow: hidden;
    }
}

/* PC版では確実に非表示 */
@media (min-width: 769px) {
    .hamburger,
    .mobile-menu {
        display: none !important;
    }
}

/* メインビジュアル */
.mainvisual {
	padding-top: 88px; /* ヘッダー高さ分を追加 */
	min-height: calc(100vh - 88px); /* ビューポート高さからヘッダー分を引く */
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px; /* 少し高めに設定 */
    overflow: hidden;
}

.mv-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mv-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-container {
    position: relative;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    align-items: center; /* 追加 */
    padding: 0 40px;
}

.mv-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transform: translateY(-55px); 
}

/* スマホ版での調整 */
@media (max-width: 768px) {
    .mainvisual {
        padding-top: 88px;
        min-height: calc(100vh - 88px);
    }
    
    .mv-text {
        padding-top: 40px; /* SP版では少し余裕を持たせる */
    }
    
    .mv-subtitle {
        margin-top: 20px; /* 上部に少し余白を追加 */
    }
}

/* 左側テキストエリア */
.mv-text {
    width: 48%;
    z-index: 3;
    padding-top: 88px; /* ヘッダー分の余白 */
}

.mv-subtitle {
    color: #85D4DD;
    font-size: clamp(14px, 1.9vw, 25px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
    margin-bottom: 20px;
}

.mv-title {
    color: white;
    font-size: clamp(24px, 4.5vw, 55px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(40px, 5.1vw, 73.50px);
    word-wrap: break-word;
    margin-bottom: 30px;
}

.mv-description {
    color: #85D4DD;
    font-size: clamp(12px, 1.1vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(18px, 1.7vw, 25px);
    word-wrap: break-word;
    margin-bottom: 40px;
}

/* 実績数値エリア（後で追加） */
.mv-stats {
    margin-bottom: 40px;
    display: flex;
    justify-content: flex-start;
	animation: float 3s ease-in-out infinite; /* ふわふわアニメーション追加 */
}

.mv-stats img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
}

/* CTAボタン */
.mv-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 580px;
    padding: 18px 30px;
    background: linear-gradient(135deg, #9AED4A 0%, #8EE83F 50%, #7ED321 100%); /* ホバー時の色をデフォルトに */
    color: #020612;
    font-size: clamp(16px, 1.7vw, 24px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-align: center;
    word-wrap: break-word;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 
        0 4px 15px rgba(126, 211, 33, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* 光るエフェクト */
.mv-cta-primary::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;
}

.mv-cta-primary:hover::before {
    left: 100%;
}

/* ホバーエフェクト（さらに明るく） */
.mv-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(154, 237, 74, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #A8F055 0%, #9AED4A 50%, #8EE83F 100%); /* さらに明るく */
}

/* アクティブエフェクト */
.mv-cta-primary:active {
    transform: translateY(0px);
    box-shadow: 
        0 2px 10px rgba(154, 237, 74, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 右側画像エリア */
.mv-image {
    width: 48%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    position: relative; /* 相対位置指定を追加 */
    top: 180px; /* 上から80px下に移動 */
}

.mv-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* 既存のスタイルはそのまま */
.mv-description {
    color: #85D4DD;
    font-size: clamp(12px, 1.1vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(18px, 1.7vw, 25px);
    word-wrap: break-word;
    margin-bottom: 30px;
}

/* ポイント装飾画像 */
.mv-point-decoration {
    display: none;
}

.mv-point-decoration img {
    width: 100%;
    height: auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* タブレット〜PC（769px以上）のみ適用 */
@media (min-width: 769px) and (max-width: 1200px) {
    .mv-image img {
        width: clamp(350px, 38vw, 700px);
    }
}

@media (min-width: 1201px) {
    .mv-image img {
        width: clamp(500px, 42vw, 900px);
    }
}

/* エムスプなら、まるっとお任せセクション */
.about-section {
    width: 100%;
    background: white;
    padding: clamp(60px, 8vw, 120px) 0;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-title {
    width: 100%;
    text-align: center;
    color: #1A2A5C;
    font-size: clamp(20px, 2.5vw, 36px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    word-wrap: break-word;
    margin-bottom: clamp(20px, 2vw, 80px);
}

.about-subtitle {
    width: 100%;
    text-align: center;
    color: black;
    font-size: clamp(14px, 1.2vw, 18px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
    margin-bottom: clamp(30px, 4vw, 60px);
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: clamp(30px, 4vw, 60px);
    justify-content: space-between;
}

.about-text {
    flex: 1;
    max-width: 50%;
}

.about-description {
    color: black;
    font-size: clamp(10px, 1vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: clamp(24px, 2.1vw, 30px);
    word-wrap: break-word;
}

.about-image {
    flex: 1;
    max-width: 50%;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 幅広い業種・業界対応セクション */
.industries-section {
    position: relative;
    width: 100%;
    min-height: 95vh;
    background-image: url('https://m-sprint.jp/wp-content/uploads/2025/06/3b-2.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
    overflow: hidden;
}

.industries-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(30px, 10vw, 200px) 40px;
    z-index: 2;
    text-align: center;
}

.industries-title {
    color: white;
    font-size: clamp(20px, 2.4vw, 36px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    word-wrap: break-word;
	margin-top: 30px;
    margin-bottom: clamp(30px, 4vw, 60px);
    text-align: center;
}

.industries-description {
    color: #85D4DD;
    font-size: clamp(16px, 1.2vw, 18px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(24px, 2.4vw, 35px);
    word-wrap: break-word;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.industries-icons {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto clamp(30px, 4vw, 60px) auto;
}

.industries-icons img {
    width: 100%;
    height: auto;
    display: block;
}

/* スマホ版（768px以下）で画像を切り替え */
@media (max-width: 768px) {
    .industries-icons img {
        content: url('https://m-sprint.jp/wp-content/uploads/2025/07/Group-2447-1.png');
    }
}
.industries-note {
    color: white;
    font-size: clamp(12px, 1.5vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    word-wrap: break-word;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* リード獲得フローセクション */
.lead-flow-section {
    position: relative;
    width: 100%;
    min-height: 140vh;
    overflow: hidden;
}

.lead-flow-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.lead-flow-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead-flow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) 40px;
    z-index: 2;
}

.lead-flow-title {
    color: white;
    font-size: clamp(20px, 2.4vw, 36px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
	margin-top: clamp(30px, 1vw, 20px);
    margin-bottom: clamp(30px, 1vw, 20px);
}

.case-info {
    text-align: left;
    margin-bottom: clamp(10px, 1vw, 20px);
}

.case-label {
    color: rgba(133, 212, 221, 0.90);
    font-size: clamp(32px, 3.3vw, 48px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    line-height: clamp(36px, 3.8vw, 54px);
    margin-bottom: 10px;
}

.case-description {
    color: rgba(133, 212, 221, 0.90);
    font-size: clamp(14px, 1.5vw, 24px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
}

.case-details {
    display: flex;
    gap: clamp(10px, 1vw, 20px);
    margin-bottom: clamp(20px, 3vw, 40px);
    flex-wrap: wrap;
}

.case-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.case-label-box {
    background: white;
    color: #1A2A5C;
    font-size: clamp(14px, 1.7vw, 24px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 5px;
    white-space: nowrap;
}

.case-content {
    color: white;
    font-size: clamp(14px, 1.7vw, 24px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

/* 4つのスマホ画面フロー */
.phone-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(15px, 2.5vw, 30px);
    margin-bottom: clamp(40px, 6vw, 80px);
    position: relative; /* 相対位置指定を追加 */
}

.phone-step {
    text-align: center;
    position: relative;
    z-index: 3; /* スマホ画像を前面に */
}

.phone-step-label {
    color: #85D4DD;
    font-size: clamp(13px, 2.5vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    margin-bottom: 15px;
}

.phone-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* フロー矢印（背景に配置） */
.flow-arrows {
    position: absolute;
    top: 60%; /* スマホ画像の中央あたり */
    left: 0;
    width: 100%;
    z-index: 1; /* スマホ画像の後ろに */
    display: flex;
    justify-content: center;
    transform: translateY(-50%); /* 垂直中央揃え */
}

.flow-arrows img {
    width: 100%;
    max-width: 1000px;
    height: auto;
}

/* SP版用のスマホフロー画像（768px以下で表示） */
@media (max-width: 768px) {
    /* PC版の4つのスマホフローを非表示 */
    .phone-flow {
        display: none;
    }
    
    /* フロー矢印も非表示 */
    .flow-arrows {
        display: none;
    }
    
    /* 問合わせ完了バッジも非表示 */
    .completion-badge {
        display: none;
    }
    
    /* SP版用の新しいスマホフロー画像を追加 */
    .phone-flow-sp {
        width: 100%;
        margin-bottom: clamp(40px, 6vw, 80px);
        display: block;
    }
    
    .phone-flow-sp img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* PC版では SP版の画像を非表示 */
@media (min-width: 769px) {
    .phone-flow-sp {
        display: none;
    }
}

/* キャンペーンバナー */
.campaign-banner {
    width: 100%;
    max-width: 1000px;
    margin: clamp(1px, 6vw, 80px) auto 0;
    display: block;
    z-index: 3;
    position: relative;
}

.campaign-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 問合わせ完了バッジ */
.completion-badge {
    position: absolute;
    top: 20%;
    right: -4%;
    width: clamp(80px, 8vw, 120px);
    height: clamp(80px, 8vw, 120px);
    background: #85D4DD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transform: rotate(-13deg);
    transform-origin: center;
    box-shadow: 0 4px 15px rgba(133, 212, 221, 0.4);
}

.completion-text {
    color: black;
    font-size: clamp(14px, 2.5vw, 18px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    word-wrap: break-word;
    text-align: center;
    line-height: 1.2;
}

/* AI×メディア成長速度セクション */
.ai-growth-section {
    width: 100%;
    background: white;
    padding: clamp(40px, 8vw, 100px) 0;
    position: relative;
}

.ai-growth-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.ai-growth-title {
    color: #1A2A5C;
    font-size: clamp(20px, 2.4vw, 36px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    word-wrap: break-word;
    text-align: center;
    margin-bottom: clamp(15px, 2vw, 30px);
}

.ai-growth-subtitle {
    color: black;
    font-size: clamp(16px, 1.4vw, 20px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(24px, 2.4vw, 35px);
    word-wrap: break-word;
    text-align: center;
    margin-bottom: clamp(20px, 3vw, 40px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.growth-graph {
    width: 100%;
    margin-bottom: clamp(40px, 6vw, 80px);
    display: flex;
    justify-content: center;
}

.growth-graph img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
}

/* 成長グラフの横スクロール対応 */
.growth-graph {
    width: 100%;
    margin-bottom: clamp(40px, 6vw, 80px);
    display: flex;
    justify-content: center;
}

.growth-graph img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
}

/* SP版用の新しいグラフ画像 */
.growth-graph-sp {
    display: none;
}

/* スマホ版（768px以下）での調整 */
@media (max-width: 768px) {
    /* 既存の画像を非表示 */
    .growth-graph {
        display: none;
    }
    
    /* SP版の画像を表示 */
    .growth-graph-sp {
        display: block;
        width: 100vw; /* ビューポート全幅 */
        margin-left: calc(-50vw + 50%); /* 画面全幅に拡張 */
        margin-bottom: clamp(40px, 6vw, 80px);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        /* 初期位置を画面中央に設定 */
        scroll-snap-type: x mandatory;
        position: relative;
    }
    
    .growth-graph-sp img {
        width: auto;
        min-width: 800px; /* 画像の実際のサイズに応じて調整 */
        height: auto;
        display: block;
        flex-shrink: 0;
        /* 画像の左端が画面中央に来るように調整 */
        margin-left: 50vw;
        transform: translateX(-20%);
    }
}

/* スクロールバーのスタイリング（Webkit系ブラウザ） */
.growth-graph-sp::-webkit-scrollbar {
    height: 6px;
}

.growth-graph-sp::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.growth-graph-sp::-webkit-scrollbar-thumb {
    background: rgba(26, 42, 92, 0.3);
    border-radius: 3px;
}

.growth-graph-sp::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 42, 92, 0.5);
}

.ai-growth-conclusion {
    color: #1A2A5C;
    font-size: clamp(16px, 2vw, 28px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
    text-align: center;
    margin-bottom: clamp(20px, 3vw, 40px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
	z-index: 3;
}

/* ハイライト下線 */
.highlight-underline {
    width: clamp(200px, 15vw, 220px);
    height: 16px;
    background: rgba(133, 212, 221, 0.90);
    margin: 0 auto;
    position: relative;
    top: -62px; /* テキストの下に重ねる */
	right: 7%;
}

/* コスト比較セクション */
.cost-comparison-section {
    width: 100%;
    background: #EEFDFF;
    padding: clamp(80px, 10vw, 150px) 0;
}

.cost-comparison-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.cost-comparison-title {
    color: #1A2A5C;
    font-size: clamp(24px, 2.8vw, 40px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    word-wrap: break-word;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.comparison-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: clamp(30px, 2vw, 10px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-label-item {
    flex: 1;
    display: flex;
    justify-content: center;
}

.label-box {
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-text {
    color: #1A2A5C;
    font-size: clamp(16px, 1.7vw, 24px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
    text-align: center;
}

.cost-chart {
    width: 100%;
    margin-bottom: clamp(10px, 3vw, 40px);
    display: flex;
    justify-content: center;
}

.cost-chart img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
}

.cost-conclusion {
    color: #1A2A5C;
    font-size: clamp(18px, 2.2vw, 32px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
    text-align: center;
    margin-bottom: clamp(20px, 3vw, 40px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.highlight-text {
    position: relative;
    display: inline-block;
	z-index: 1;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px; /* テキストの下に配置 */
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(133, 212, 221, 0.90);
    z-index: -1;
}

/* AI効果説明セクション */
.ai-effectiveness-section {
    width: 100%;
    background: #85D4DD;
    padding: clamp(80px, 10vw, 150px) 0;
}

.ai-effectiveness-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.ai-effectiveness-title {
    color: #1A2A5C;
    font-size: clamp(24px, 2.8vw, 40px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    word-wrap: break-word;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.ai-effectiveness-description {
    color: #1A2A5C;
    font-size: clamp(14px, 1.4vw, 20px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(24px, 2.4vw, 35px);
    word-wrap: break-word;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* エムスプが選ばれる5つの理由セクション */
.five-reasons-section {
    position: relative;
    width: 100%;
    min-height: 140vh;
    background-image: url('https://m-sprint.jp/wp-content/uploads/2025/06/3b-2.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* 水色のオーバーレイレイヤー（背景の上） */
.five-reasons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #85D4DD;
    z-index: 1; /* 背景の上 */
    transform: rotate(-180deg);
    transform-origin: top left;
}

.five-reasons-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(80px, 10vw, 150px) 40px;
    z-index: 2; /* 水色レイヤーの上 */
    /* transform: rotate(180deg); を削除（水色レイヤーが回転しているため） */
}

.five-reasons-title {
    color: white;
    font-size: clamp(24px, 2.8vw, 40px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
	margin-top: clamp(50px, 3vw, 40px);
    margin-bottom: clamp(20px, 3vw, 40px);
}

.five-reasons-subtitle {
    color: #85D4DD;
    font-size: clamp(14px, 1.4vw, 20px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.cyan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #85D4DD;
    z-index: 1;
    transform: rotate(-180deg);
    transform-origin: top left;
}

/* レイアウト */
.reasons-row {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: clamp(30px, 4vw, 60px);
}

.reasons-top {
    justify-content: space-between;
}

.reasons-bottom {
    justify-content: center;
    gap: clamp(20px, 3vw, 40px);
}

/* 上段・下段共通：同じサイズに統一 */
.reason-item {
    position: relative;
    width: calc((100% - clamp(40px, 6vw, 80px)) / 3);
    max-width: 500px;
    min-width: 330px;
    flex: 0 0 auto;
}

.reason-background {
    width: 100%;
    height: auto;
    display: block;
}

.reason-content {
    position: absolute;
    top: 58%;
    left: 49%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 85%; /* 90%から85%に調整してマージンを確保 */
    padding: 0 10px; /* 左右にパディング追加 */
}

.reason-title {
    margin-bottom: clamp(8px, 1.2vw, 15px); /* マージンを少し縮小 */
    text-align: center;
}

.highlight-number,
.highlight-speed,
.highlight-outsourcing,
.highlight-achievement,
.highlight-anything {
    position: relative;
    display: inline-block;
    color: #1A2A5C;
    font-size: clamp(17px, 2vw, 27px); /* 40pxから32pxに縮小 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    line-height: 1.2; /* 行間を調整 */
}

.reason-text {
    color: #1A2A5C;
    font-size: clamp(12px, 1.2vw, 18px); /* 23.25pxから20pxに縮小 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    line-height: 1.2; /* 行間を調整 */
}

.reason-description {
    color: #1A2A5C;
    font-size: clamp(14px, 1vw, 1px); /* 15.50pxから13pxに縮小 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: 1.3; /* 行間を少し狭く */
}

/* ハイライト下線のサイズも調整 */
.highlight-number::after,
.highlight-speed::after,
.highlight-outsourcing::after,
.highlight-achievement::after,
.highlight-anything::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 12px; /* 8pxから6pxに縮小 */
    background: rgba(157, 247, 116, 0.87);
    z-index: -1;
}

/* SP版用の1つの画像（初期は非表示） */
.five-reasons-single-image {
    display: none;
}

/* スマホ版（768px以下）での調整 */
@media (max-width: 768px) {
    /* PC版の5つの理由を非表示 */
    .reasons-row {
        display: none;
    }
    
    /* SP版の1つの画像を表示 */
    .five-reasons-single-image {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .five-reasons-single-image img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* 導入企業様の成果事例セクション */
.case-studies-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.case-studies-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.case-studies-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-studies-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(80px, 10vw, 150px) 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-studies-title {
    color: white;
    font-size: clamp(24px, 2.8vw, 40px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
    margin-top: clamp(40px, 6vw, 80px);
    margin-bottom: clamp(40px, 6vw, 80px);
}

/* カルーセルコンテナ */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* スライドラッパー */
.carousel-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: auto;
}

/* 各スライド */
.carousel-slide {
    width: 100%;
    display: none; /* 初期は全て非表示 */
}

.carousel-slide.active {
    display: block; /* アクティブなスライドのみ表示 */
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* 矢印ボタン */
.carousel-arrow {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 5;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

.carousel-arrow:hover {
    opacity: 0.8;
}

/* 左矢印 */
.carousel-arrow-left {
    left: -80px;
}

.carousel-arrow-left::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 30px solid white;
    transform: rotate(-90deg);
    transform-origin: center;
}

/* 右矢印 */
.carousel-arrow-right {
    right: -80px;
}

.carousel-arrow-right::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 30px solid white;
    transform: rotate(90deg);
    transform-origin: center;
}

/* スライドラッパー */
.carousel-wrapper {
    display: flex;
    width: 100%; /* 300%から100%に変更 */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

/* 各スライド */
.carousel-slide {
    width: 100%;
    display: none; /* 初期は非表示 */
}

.carousel-slide.active {
    display: block; /* activeクラスがあるスライドのみ表示 */
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* インジケーター（ドット） */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* SP版用の成果事例画像（初期は非表示） */
.case-studies-sp-images {
    display: none;
}

/* スマホ版（768px以下）での調整 */
@media (max-width: 768px) {
    /* PC版のカルーセルコンテンツのみ非表示（矢印とインジケーターは残す） */
    .carousel-wrapper {
        display: none;
    }
    
    /* インジケーターも非表示 */
    .carousel-indicators {
        display: none;
    }
    
    /* 矢印はそのまま表示される */
    
    /* SP版の横スクロール画像を表示 */
    .case-studies-sp-images {
        display: block;
        position: relative;
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        border-radius: 15px;
    }
    
    .case-studies-sp-wrapper {
        display: flex;
        gap: 20px;
        width: max-content;
        padding: 0 calc(50vw - 140px); /* 最初の画像を中央に配置（画像幅280pxの半分） */
    }
    
    .case-studies-sp-item {
        width: 280px; /* 固定幅 */
        flex-shrink: 0;
    }
    
    .case-studies-sp-item img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

/* SP版のスクロールバースタイル */
@media (max-width: 768px) {
    .case-studies-sp-images::-webkit-scrollbar {
        height: 6px;
    }
    
    .case-studies-sp-images::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .case-studies-sp-images::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }
    
    .case-studies-sp-images::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
}

/* 嬉しいお声セクション */
.testimonials-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.testimonials-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(80px, 10vw, 1px) 40px;
    z-index: 2;
}

.testimonials-title {
    color: white;
    font-size: clamp(24px, 2.8vw, 40px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
    margin-top: clamp(40px, 6vw, 80px);
    margin-bottom: clamp(40px, 6vw, 80px);
    word-wrap: break-word;
}

/* 3つ横並びグリッド */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
    width: 100%;
}

.testimonial-item {
    width: 100%;
}

.testimonial-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* SP版用のお客様の声画像（初期は非表示） */
.testimonials-sp-images {
    display: none;
}

/* スマホ版（768px以下）での調整 */
@media (max-width: 768px) {
    /* PC版のグリッドを非表示 */
    .testimonials-grid {
        display: none;
    }
    
    /* SP版の横スクロール画像を表示 */
    .testimonials-sp-images {
        display: block;
        position: relative;
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        border-radius: 15px;
    }
    
    .testimonials-sp-wrapper {
        display: flex;
        gap: 20px;
        width: max-content;
        padding: 0 calc(50vw - 140px); /* 最初の画像を中央に配置（画像幅280pxの半分） */
    }
    
    .testimonials-sp-item {
        width: 280px; /* 固定幅 */
        flex-shrink: 0;
    }
    
    .testimonials-sp-item img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

/* SP版のスクロールバースタイル */
@media (max-width: 768px) {
    .testimonials-sp-images::-webkit-scrollbar {
        height: 6px;
    }
    
    .testimonials-sp-images::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .testimonials-sp-images::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }
    
    .testimonials-sp-images::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
}

/* シンプルな料金プランセクション */
.pricing-section {
    position: relative;
    width: 100%;
    min-height: 175vh;
    overflow: hidden;
}

.pricing-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pricing-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pricing-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) 40px;
    z-index: 2;
    text-align: center;
}

.pricing-title {
    color: white;
    font-size: clamp(24px, 2.8vw, 40px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
    margin-bottom: clamp(40px, 3vw, 60px);
    margin-top: clamp(40px, 3vw, 60px);
    word-wrap: break-word;
}

/* 料金プラン画像 */
.pricing-plan {
    width: 100%;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.pricing-plan img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 対応メニュータイトル */
.menu-title {
    color: white;
    font-size: clamp(20px, 2.2vw, 32px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
    margin-bottom: clamp(30px, 4vw, 60px);
    word-wrap: break-word;
}

/* 対応メニュー画像 */
.menu-image {
    width: 100%;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.menu-image img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 対応可能コンテンツタイトル */
.content-title {
    color: white;
    font-size: clamp(20px, 2.2vw, 32px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
    margin-bottom: clamp(20px, 3vw, 40px);
    word-wrap: break-word;
}

/* 対応可能コンテンツリスト */
.content-list {
    color: white;
    font-size: clamp(14px, 1.3vw, 18.64px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(24px, 2.4vw, 35px);
    text-align: center;
    word-wrap: break-word;
    max-width: 1000px;
    margin: 0 auto;
}

/* キャンペーンバナーセクション */
.campaign-section {
    width: 100%;
    background: #183A53; /* 背景色 */
    padding: clamp(20px, 3vw, 40px) 0 clamp(60px, 8vw, 120px) 0; /* 下の余白を増加 */
}

.campaign-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
}

.campaign-banner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto; /* 上のmarginを削除、左右のautoのみ */
    display: block;
    z-index: 3;
    position: relative;
}

.campaign-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* SP版用の料金プラン画像（初期は非表示） */
.pricing-plan-sp {
    display: none;
}

/* スマホ版（768px以下）での調整 */
@media (max-width: 768px) {
    /* PC版の料金プラン画像を非表示 */
    .pricing-plan {
        display: none;
    }
    
    /* SP版の料金プラン画像を表示 */
    .pricing-plan-sp {
        display: block;
        width: 100vw; /* ビューポート全幅 */
        margin-left: calc(-50vw + 50%); /* 画面全幅に拡張 */
        margin-bottom: clamp(40px, 6vw, 80px);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        position: relative;
        white-space: nowrap; /* 横並びを強制 */
    }
    
    .pricing-plan-sp img {
        width: auto;
        min-width: 800px; /* 画像の実際のサイズに応じて調整 */
        height: auto;
        display: inline-block; /* inline-blockに変更 */
        flex-shrink: 0;
        /* 画像の左端が画面中央から少し左に来るように調整 */
        margin-left: 50vw;
        transform: translateX(-20%);
        vertical-align: top; /* 縦位置調整 */
    }
}

/* SP版のスクロールバースタイル */
@media (max-width: 768px) {
    .pricing-plan-sp::-webkit-scrollbar {
        height: 6px;
    }
    
    .pricing-plan-sp::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .pricing-plan-sp::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }
    
    .pricing-plan-sp::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
}

/* SP版用の対応メニュー画像（初期は非表示） */
.menu-image-sp {
    display: none;
}

/* スマホ版（768px以下）での調整 */
@media (max-width: 768px) {
    /* PC版の対応メニュー画像を非表示 */
    .menu-image {
        display: none;
    }
    
    /* SP版の対応メニュー画像を表示 */
    .menu-image-sp {
        display: block;
        width: 100%;
        margin-bottom: clamp(40px, 6vw, 80px);
    }
    
    .menu-image-sp img {
        width: 100%;
        max-width: 1000px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}

/* お問い合わせ〜スタートまでの流れセクション */
.flow-section {
    width: 100%;
    background: white;
    padding: clamp(80px, 10vw, 150px) 0;
}

.flow-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.flow-title {
    color: #1A2A5C;
    font-size: clamp(21px, 2.8vw, 40px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
    margin-bottom: clamp(20px, 3vw, 40px);
    word-wrap: break-word;
}

.flow-subtitle {
    color: #1A2A5C;
    font-size: clamp(14px, 1.4vw, 20px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(30px, 4vw, 60px);
    word-wrap: break-word;
}

.flow-brand {
    color: #5DB7C1;
    font-size: clamp(18px, 1.8vw, 26px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    text-align: left; /* 中央から左揃いに変更 */
    margin-bottom: clamp(10px, 2vw, 30px); /* マージンを少し調整 */
    word-wrap: break-word;
    max-width: 1000px; /* 画像と同じ最大幅 */
    margin-left: auto;
    margin-right: auto;
}

.flow-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.flow-image img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
}

/* SP版用のスプリントフロー画像（初期は非表示） */
.flow-image-sp {
    display: none;
}

/* スマホ版（768px以下）での調整 */
@media (max-width: 768px) {
    /* PC版のフロー画像を非表示 */
    .flow-image {
        display: none;
    }
    
    /* SP版のフロー画像を表示 */
    .flow-image-sp {
        display: block;
        width: 100vw; /* ビューポート全幅 */
        margin-left: calc(-50vw + 50%); /* 画面全幅に拡張 */
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        position: relative;
        white-space: nowrap; /* 横並びを強制 */
    }
    
    .flow-image-sp img {
        width: auto;
        min-width: 800px; /* 画像の実際のサイズに応じて調整 */
        height: auto;
        display: inline-block;
        flex-shrink: 0;
        /* 画像の左端が画面中央から少し左に来るように調整 */
        margin-left: 50vw;
        transform: translateX(-20%);
        vertical-align: top;
    }
}

/* SP版のスクロールバースタイル */
@media (max-width: 768px) {
    .flow-image-sp::-webkit-scrollbar {
        height: 6px;
    }
    
    .flow-image-sp::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }
    
    .flow-image-sp::-webkit-scrollbar-thumb {
        background: rgba(26, 42, 92, 0.3);
        border-radius: 3px;
    }
    
    .flow-image-sp::-webkit-scrollbar-thumb:hover {
        background: rgba(26, 42, 92, 0.5);
    }
}

/* 実施スケジュールイメージセクション */
.schedule-section {
    width: 100%;
    background: #EEFDFF;
    padding: clamp(80px, 10vw, 150px) 0;
}

.schedule-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.schedule-title {
    color: #1A2A5C;
    font-size: clamp(24px, 2.8vw, 40px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
    word-wrap: break-word;
}

.schedule-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.schedule-image img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
}

/* SP版用の実施スケジュール画像（初期は非表示） */
.schedule-image-sp {
    display: none;
}

/* スマホ版（768px以下）での調整 */
@media (max-width: 768px) {
    /* PC版のスケジュール画像を非表示 */
    .schedule-image {
        display: none;
    }
    
    /* SP版のスケジュール画像を表示 */
    .schedule-image-sp {
        display: block;
        width: 100vw; /* ビューポート全幅 */
        margin-left: calc(-50vw + 50%); /* 画面全幅に拡張 */
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        position: relative;
        white-space: nowrap; /* 横並びを強制 */
    }
    
    .schedule-image-sp img {
        width: auto;
        min-width: 800px; /* 画像の実際のサイズに応じて調整 */
        height: auto;
        display: inline-block;
        flex-shrink: 0;
        /* 画像の左端が画面中央から少し左に来るように調整 */
        margin-left: 50vw;
        transform: translateX(-20%);
        vertical-align: top;
    }
}

/* SP版のスクロールバースタイル */
@media (max-width: 768px) {
    .schedule-image-sp::-webkit-scrollbar {
        height: 6px;
    }
    
    .schedule-image-sp::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }
    
    .schedule-image-sp::-webkit-scrollbar-thumb {
        background: rgba(26, 42, 92, 0.3);
        border-radius: 3px;
    }
    
    .schedule-image-sp::-webkit-scrollbar-thumb:hover {
        background: rgba(26, 42, 92, 0.5);
    }
}

/* よくあるご質問セクション */
.faq-section {
    width: 100%;
    background: white;
    padding: clamp(80px, 10vw, 150px) 0;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.faq-title {
    color: #1A2A5C;
    font-size: clamp(24px, 2.8vw, 40px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: clamp(32px, 3.8vw, 54px);
    text-align: center;
    margin-bottom: clamp(20px, 3vw, 40px);
    word-wrap: break-word;
}

.faq-subtitle {
    color: #1A2A5C;
    font-size: clamp(16px, 1.4vw, 22px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
    word-wrap: break-word;
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: #F1F1F1;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #E8E8E8;
}

.question-text {
    color: black;
    font-size: clamp(14px, 1.1vw, 16px);
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    word-wrap: break-word;
    flex: 1;
    margin-right: 20px;
}

.faq-icon {
    color: #1A2A5C;
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    background: rgba(133, 212, 221, 0.90);
    padding: 20px 25px;
    display: none;
    animation: slideDown 0.3s ease-out;
}

.faq-answer p {
    color: black;
    font-size: clamp(14px, 1.1vw, 16px);
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    word-wrap: break-word;
    margin: 0;
    line-height: 1.6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

/* 導入のご検討・ご相談セクション */
.contact-section {
    width: 100%;
    background: linear-gradient(90deg, #1A2A5C 0%, #85D4DD 100%);
    padding: clamp(60px, 8vw, 120px) 0;
    overflow: hidden;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.contact-title {
    color: white;
    font-size: clamp(24px, 2.5vw, 36px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
    word-wrap: break-word;
}

.contact-cards {
    display: flex;
    gap: clamp(30px, 4vw, 60px);
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: #F5F5F5;
    padding: clamp(30px, 4vw, 50px) clamp(25px, 3vw, 40px);
    border-radius: 10px;
    flex: 1;
    max-width: 500px;
    min-height: 208px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: #1A2A5C;
    font-size: clamp(18px, 1.7vw, 24px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-align: center;
    margin: 0 0 clamp(15px, 2vw, 25px) 0;
    word-wrap: break-word;
}

.card-description {
    color: #1A2A5C;
    font-size: clamp(12px, 1.1vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: center;
    line-height: 1.6;
    margin: 0 0 clamp(20px, 3vw, 30px) 0;
    word-wrap: break-word;
}

/* フッターCTAボタンを緑色のグラデーションに変更 */
.contact-button {
    background: linear-gradient(135deg, #9AED4A 0%, #8EE83F 50%, #7ED321 100%);
    color: #020612;
    font-size: clamp(14px, 1.1vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    padding: clamp(8px, 1vw, 12px) clamp(15px, 2vw, 25px);
    border-radius: 25px; /* より丸くしてMVと統一 */
    box-shadow: 
        0 4px 15px rgba(126, 211, 33, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 180px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* 光るエフェクトを追加 */
.contact-button::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;
}

.contact-button:hover::before {
    left: 100%;
}

/* ホバーエフェクト */
.contact-button:hover {
    background: linear-gradient(135deg, #A8F055 0%, #9AED4A 50%, #8EE83F 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(154, 237, 74, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* アクティブエフェクト */
.contact-button:active {
    transform: translateY(0px);
    box-shadow: 
        0 2px 10px rgba(154, 237, 74, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* お問い合わせセクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .contact-section {
        padding: clamp(40px, 8vw, 80px) 0;
    }
    
    .contact-container {
        padding: 0 20px;
    }
    
    .contact-title {
        font-size: clamp(20px, 4vw, 28px);
        line-height: 1.4;
        margin-bottom: clamp(30px, 6vw, 50px);
    }
    
    /* カードを縦並びに */
    .contact-cards {
        flex-direction: column;
        gap: clamp(20px, 4vw, 30px);
        max-width: 100%;
    }
    
    .contact-card {
        max-width: 100%;
        min-height: auto;
        padding: clamp(25px, 5vw, 40px) clamp(20px, 4vw, 30px);
        text-align: center;
    }
    
    .card-title {
        font-size: clamp(16px, 3.5vw, 20px);
        margin-bottom: clamp(12px, 3vw, 20px);
    }
    
    .card-description {
        font-size: clamp(13px, 2.8vw, 15px);
        line-height: 1.5;
        margin-bottom: clamp(20px, 4vw, 25px);
    }
    
    .contact-button {
        font-size: clamp(14px, 3vw, 16px);
        padding: clamp(12px, 3vw, 15px) clamp(20px, 4vw, 30px);
        min-width: auto;
        width: 100%;
        max-width: 280px;
    }
}

/* フッターセクション */
.footer-section {
    width: 100%;
    background: #183A53;
    padding: clamp(40px, 6vw, 80px) 0;
    overflow: hidden;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* フッターロゴ */
.footer-logo {
    width: clamp(150px, 20vw, 250px);
    height: auto;
    margin-bottom: clamp(30px, 4vw, 60px);
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* フッターナビゲーション */
.footer-nav {
    display: flex;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
    justify-content: center;
}

.footer-link {
    color: white;
    font-size: clamp(14px, 1.1vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-decoration: none;
    word-wrap: break-word;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

/* お問い合わせページヘッダー */
.contact-page-header {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
    margin-top: 0; /* 88pxから0に変更 */
    padding-top: 88px; /* ヘッダーの高さ分をパディングで調整 */
}

.contact-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    z-index: 1;
}

.contact-header-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-header-container {
    position: relative;
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.contact-page-title {
    color: white;
    font-size: clamp(32px, 4.2vw, 60px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    text-align: center;
    word-wrap: break-word;
    margin: 0;
}

/* お問い合わせフォームセクション */
.contact-form-section {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* フォーム全体のスタイル */
#form-wrap {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto 5em auto;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

/* dl要素のスタイル */
#form-wrap dl {
    margin: 0 0 3em 0;
    display: flex;
    flex-wrap: wrap;
}

/* dt（ラベル）のスタイル */
#form-wrap dl dt {
    width: 300px;
    margin: 0;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せ */
	gap: 15px; /* ラベルと必須の間のスペース */
    flex-shrink: 0;
}
#form-wrap dt label {
    color: #1A2A5C;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    margin-bottom: 0;
    display: inline;
    flex: 1; /* 左側を占める */
}

#form-wrap dl dt label {
    display: inline-block;
    color: #1A2A5C;
    font-size: 18px;
    font-weight: 700;
}

/* 必須ラベルのスタイル */
.label-must::after {
    content: '必須';
    background: #FF4444;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #FF4444;
    vertical-align: middle;
    flex-shrink: 0; /* 縮まないように */
    display: inline-block;
    text-align: left; /* 左寄せ */
    margin-left: 0; /* 左に寄せる */
}

/* dd（入力フィールド）のスタイル */
#form-wrap dl dd {
    width: 90%;
    padding: 0.5em 0 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

/* テキスト入力フィールド */
#form-wrap dl dd input[type="text"],
#form-wrap dl dd input[type="email"],
#form-wrap dl dd input[type="tel"],
#form-wrap dl dd textarea {
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1em;
    border: 1px solid #dddddd;
    padding: 0.5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    outline: 0;
    box-sizing: border-box;
    background: white;
}

#form-wrap dl dd textarea {
    font-size: 1em;
    height: 14em;
}

#form-wrap dl dd textarea.consent-information {
    height: 10em;
    background: #F9F9F9;
    color: #666;
}

/* ラジオボタンのスタイル */
#form-wrap dl dd .wpcf7-radio input[type="radio"] {
    width: 0;
    margin: 0;
    visibility: hidden;
}

#form-wrap dl dd .wpcf7-radio input[type="radio"] + span {
    text-align: center;
    width: 14em;
    margin: 0 0.3em 0 0;
    padding: 0.5em 1em;
    display: inline-block;
    color: #1A2A5C;
    background-color: #fff;
    border: 1px solid #1A2A5C;
    border-radius: 3em;
    cursor: pointer;
    transition: all 0.3s ease;
}

#form-wrap dl dd .wpcf7-radio input[type="radio"]:checked + span {
    color: #020612;
    background: linear-gradient(135deg, #9AED4A 0%, #8EE83F 50%, #7ED321 100%);
    border-color: #7ED321;
}

/* チェックボックス */
#form-wrap dl dd .wpcf7-list-item,
#form-wrap dl dd input[type="checkbox"] {
    margin: 0;
    vertical-align: 3%;
}

#form-wrap .wpcf7-checkbox .wpcf7-list-item-label {
    color: #1A2A5C;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 送信ボタン */
#form-wrap input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 28em;
    margin: 0 auto;
    font-size: 1.5em;
    font-weight: bold;
    color: #020612;
    background: linear-gradient(135deg, #9AED4A 0%, #8EE83F 50%, #7ED321 100%);
    line-height: 2.8;
    letter-spacing: 0.1em;
    border: 0;
    border-radius: 0.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 211, 33, 0.3);
}

#form-wrap input[type="submit"]:hover {
    background: linear-gradient(135deg, #A8F055 0%, #9AED4A 50%, #8EE83F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 211, 33, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #form-wrap dl dt,
    #form-wrap dl dd {
        width: 100%;
        padding: 1em 0;
    }
    
    #form-wrap dl dd .wpcf7-radio input[type="radio"] + span {
        width: 100%;
        margin: 0 0 0.5em 0;
    }
}

/* エラーメッセージのスタイル */
#form-wrap .wpcf7-not-valid-tip {
    color: #FF4444;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

#form-wrap .wpcf7-not-valid {
    border-color: #FF4444 !important;
}

/* サンクスページヘッダー */
.thanks-page-header {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 300px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 88px;
}

.thanks-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.thanks-header-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thanks-header-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.thanks-page-title {
    color: white;
    font-size: clamp(24px, 3.5vw, 50px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    text-align: center;
    word-wrap: break-word;
    margin: 0;
}

/* サンクスページコンテンツ */
.thanks-content-section {
    width: 100%;
    background: white;
    padding: clamp(60px, 8vw, 120px) 0;
}

.thanks-content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.thanks-message {
    text-align: center;
}

.thanks-subtitle {
    color: #1A2A5C;
    font-size: clamp(20px, 2.2vw, 32px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    margin-bottom: clamp(20px, 3vw, 40px);
}

.thanks-description {
    color: #333;
    font-size: clamp(14px, 1.2vw, 18px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.thanks-notice {
    background: #F9F9F9;
    padding: clamp(20px, 3vw, 40px);
    border-radius: 10px;
    margin-bottom: clamp(40px, 6vw, 80px);
    text-align: left;
}

.notice-title {
    color: #1A2A5C;
    font-size: clamp(16px, 1.5vw, 20px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.notice-list {
    color: #333;
    font-size: clamp(12px, 1.1vw, 16px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    padding-left: 20px;
}

.notice-list li {
    margin-bottom: 8px;
}

.thanks-actions {
    text-align: center;
}

.home-button {
    background: linear-gradient(135deg, #9AED4A 0%, #8EE83F 50%, #7ED321 100%);
    color: #020612;
    font-size: clamp(16px, 1.5vw, 20px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 211, 33, 0.3);
    display: inline-block;
}

.home-button:hover {
    background: linear-gradient(135deg, #A8F055 0%, #9AED4A 50%, #8EE83F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 211, 33, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .campaign-section {
        padding: clamp(30px, 5vw, 60px) 0;
    }
    
    .campaign-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .campaign-container {
        padding: 0 15px;
    }
}

/* ===========================================
   MSprint SP版 完全対応 CSS
   =========================================== */

/* PC版でハンバーガーメニューを確実に非表示 */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

/* スマホ対応（768px以下） */
@media (max-width: 768px) {
    
    /* ヘッダー SP版 */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        grid-template-columns: none;
        padding: 0 20px;
    }
    
    .header-logo {
        width: 140px;
        height: 26px;
        justify-self: start;
    }
    
    /* ナビゲーションを非表示 */
    .header-nav {
        display: none;
    }
    
    /* ヘッダーCTAを非表示 */
    .header-cta {
        display: none;
    }
    
    /* ハンバーガーメニュー表示 */
    .hamburger {
        display: flex !important;
        order: 2;
        width: 28px;
        height: 20px;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }
    
    .hamburger span {
        width: 100%;
        height: 3px;
        background: #85D4DD;
        transition: all 0.3s ease;
    }
    
    /* ハンバーガーメニューのアニメーション */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* モバイルメニュー */
    .mobile-menu {
        position: fixed;
        top: 88px;
        left: 0;
        width: 100%;
        background: rgba(2, 6, 18, 0.95);
        backdrop-filter: blur(10px);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        padding: 30px 20px;
    }
    
    .mobile-menu.active {
        transform: translateY(0);
    }
    
    .mobile-nav-menu {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .mobile-nav-menu a {
        color: #85D4DD;
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
        padding: 10px 0;
        border-bottom: 1px solid rgba(133, 212, 221, 0.2);
    }
    
    .mobile-cta-button {
        width: 100%;
        padding: 15px;
        background: linear-gradient(135deg, #9AED4A 0%, #8EE83F 50%, #7ED321 100%);
        color: #020612;
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        border: none;
        border-radius: 25px;
        text-decoration: none;
        display: block;
    }

    /* メインビジュアル SP版 */
    .mainvisual {
        min-height: 100vh;
        height: auto;
    }
    
    .mv-container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .mv-content {
        flex-direction: column;
        text-align: center;
        padding-top: 0;
        transform: none;
        gap: 40px;
    }
    
    /* コンテンツの順序：テキスト → 実績 → CTAボタン → PC画像 */
    .mv-text {
        width: 100%;
        padding-top: 60px;
        margin-bottom: 0;
        order: 1;
    }
    
    .mv-stats {
        order: 2;
        margin-bottom: 40px;
    }
    
    .mv-cta-buttons {
        order: 3;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .mv-image {
        order: 4;
        margin-bottom: 40px;
    }
    
    /* 左側テキストエリア SP版 */
    .mv-subtitle {
        color: #85D4DD;
        font-size: 22px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 700;
        word-wrap: break-word;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .mv-title {
        color: white;
        font-size: 38px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 700;
        line-height: 42.50px;
        word-wrap: break-word;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .mv-description {
        color: #85D4DD;
        font-size: 16px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 700;
        line-height: 25px;
        word-wrap: break-word;
        margin-bottom: 30px;
        text-align: left;
    }
    
    /* 実績数値エリア SP版 */
    .mv-stats {
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
        order: 2;
        animation: float 4s ease-in-out infinite;
    }
    
    .mv-stats img {
        width: 100%;
        height: auto;
        max-width: 331px;
        display: block;
    }
    
    /* CTAボタン SP版 */
    .mv-cta-buttons {
        order: 3;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .mv-cta-primary {
        width: 100%;
        max-width: none;
        padding: 20px 30px;
        font-size: 21px;
        font-weight: 700;
        margin-top: 0;
        color: #020612;
    }
    
    /* 右側画像エリア SP版 */
    .mv-image {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        transform: none;
        order: 4;
        margin-bottom: 40px;
    }
    
    .mv-image img {
        width: 100%;
        max-width: 295px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    /* ふわふわアニメーション */
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-5px); }
    }
    
    /* ====================================
       エムスプなら、まるっとお任せセクション SP版
       ==================================== */
    
    .about-section {
        padding: clamp(40px, 8vw, 60px) 0;
    }
    
    .about-container {
        padding: 0 20px;
    }
    
    .about-title {
        color: #1A2A5C;
        font-size: 17px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 900;
        line-height: 27px;
        word-wrap: break-word;
        text-align: center;
        margin-bottom: clamp(20px, 4vw, 30px);
    }
    
    .about-subtitle {
        color: black;
        font-size: 18px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 700;
        word-wrap: break-word;
        text-align: center;
        margin-bottom: clamp(30px, 6vw, 40px);
    }
    
    .about-content {
        flex-direction: column;
        gap: clamp(20px, 4vw, 30px);
    }
    
    .about-text {
        max-width: 100%;
        order: 2;
    }
    
    .about-image {
        max-width: 100%;
        order: 1;
        margin-bottom: clamp(20px, 4vw, 30px);
    }
    
    .about-description {
        color: black;
        font-size: 16px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 400;
        line-height: 24px;
        word-wrap: break-word;
        text-align: left;
    }
    
    /* 全ての1000px設定 SP版も含む */
    .industries-container,
    .lead-flow-container,
    .ai-growth-container,
    .cost-comparison-container,
    .ai-effectiveness-container,
    .five-reasons-container,
    .case-studies-container,
    .testimonials-container,
    .pricing-container,
    .flow-container,
    .schedule-container,
    .faq-container,
    .contact-container,
    .footer-container {
        padding: 0 20px;
    }
    
    /* その他のSP版スタイルも1000px対応で統一 */
    .flow-arrows img,
    .campaign-banner,
    .growth-graph img,
    .cost-chart img,
    .pricing-plan img,
    .menu-image img,
    .flow-image img,
    .schedule-image img {
        max-width: 1000px;
    }
}