:root {
    /* くすんだ3色をベースに */
    --primary-color: #0F213D;    /* 指定された紫色（ビジネス感） */
    --secondary-color: #CAE490;  /* 指定されたライトグリーン（落ち着いたポップ感） */
    --accent-color: #D4A574;     /* くすんだオレンジ（温かみのあるアクセント） */
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --background-light: #FAFAFA;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* ヘッダー */
.header {
    background: var(--white);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-cta {
    padding: 12px 24px;
    font-size: 16px;
}

.logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'メイリオ', sans-serif;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* ファーストビュー */
.hero {
    text-align: center;
    padding: 60px 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-fallback,
.hero-video:not([src]) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    z-index: -2;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(56px, 10vw, 84px);
    font-weight: 700;
    font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'メイリオ', sans-serif;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

/* PC版の改行設定（デスクトップ） */
.hero h1 .line1::after {
    content: "\A";
    white-space: pre;
}

.hero h1 .line2::after {
    content: "";
}

.hero h1 .line3 {
    display: inline;
}

.hero p {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 40px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.6);
}

/* セクション共通スタイル */
section {
    padding: 80px 20px;
    max-width: none;
    margin: 0;
    width: 100%;
}

/* セクションごとの背景色 */
.header {
    background: var(--white);
}

/* .hero の背景は動画で設定 */

.problems {
    background: linear-gradient(135deg, rgba(202, 228, 144, 0.15), rgba(130, 30, 129, 0.05));
}

.why-video {
    background: var(--white);
}

.service {
    background: linear-gradient(135deg, rgba(130, 30, 129, 0.05), rgba(202, 228, 144, 0.15));
}

.pricing {
    background: var(--white);
}

.support-option {
    background: linear-gradient(135deg, rgba(202, 228, 144, 0.1), rgba(212, 165, 116, 0.1));
}

.results {
    background: var(--white);
}

.flow {
    background: linear-gradient(135deg, rgba(130, 30, 129, 0.05), rgba(202, 228, 144, 0.1));
}

.faq {
    background: var(--white);
}

.closing {
    background: #87A0FF !important;
}

.future {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(202, 228, 144, 0.1));
}

/* セクション内のコンテナを中央揃え */
section .container,
section > h2,
section > div:not(.features),
section > p {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* .featuresは個別に制御 */
.features {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

h2 {
    font-size: clamp(24px, 4vw, 32px);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 共感・課題提示セクション */
.problems {
    border-radius: 0;
}

.problem-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.problem-item {
    background: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.price-highlight {
    text-align: center;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: var(--white);
    padding: 30px 25px;
    border-radius: 20px;
    margin: 30px auto;
    max-width: 500px;
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.3);
    transform: perspective(1000px) rotateX(10deg);
    transition: all 0.3s ease;
}

.price-highlight:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.4);
}

.price-text {
    display: block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.price-amount {
    display: block;
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.price-suffix {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
}

.solution-intro {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* なぜ動画が必要か */
.why-video {
    padding: 80px 20px;
}

.why-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.why-item {
    background: linear-gradient(135deg, rgba(130, 30, 129, 0.05), rgba(202, 228, 144, 0.05));
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--secondary-color);
}

.why-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.why-item:hover .why-image {
    transform: scale(1.05);
}

.why-item h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.why-item p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

/* サービス紹介 */
.service-description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.features {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 30px;
    margin: 50px auto !important;
    max-width: 1000px !important;
    padding-left: 20px;
    padding-right: 20px;
}

.feature-item {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-dark);
    flex: 0 1 280px;
    max-width: 280px;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-left-color: var(--accent-color);
}

.sample-videos {
    text-align: center;
    margin-top: 50px;
}

.sample-videos h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.video-embeds {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.video-wrapper {
    width: 300px;
    height: auto;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.video-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    width: 100%;
    height: 533px;
    border: none;
    border-radius: 15px;
}

.video-thumbnail {
    width: 100%;
    height: 533px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.video-stats {
    position: static;
    display: inline-block;
    margin: 15px auto 0;
    background: #121D3D;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-align: center;
    white-space: nowrap;
    max-width: 280px;
    width: fit-content;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-stats:hover {
    background: #fe2c55;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.3);
    color: var(--white);
}

/* 料金セクション */
.pricing {
    text-align: center;
}

.pricing-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.pricing-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.option-title {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 60px 0 40px 0;
    position: relative;
}

.option-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.option-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.option-image {
    max-width: 560px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.option-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

/* 個別サポートオプション */
.support-option {
    padding: 80px 20px;
}

.support-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* まずはPC（デフォルト） */
.support-text {
    /* 固定 800px にしたい場合は width だけでもいいですが、
       Flexレイアウトなら flex-basis も揃えると安定します */
    width: 800px;
    max-width: 800px;
    flex: 0 0 800px;  /* flexコンテナ内で幅を固定 */
    box-sizing: border-box;
}

.support-text h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
}

.support-text p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.support-highlight {
    background: #CAE490;
    color: var(--text-dark) !important;
    padding: 20px 25px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 18px !important;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.support-image {
    flex: 0 0 auto;
    width: fit-content;
    text-align: center;
    position: relative;
}

.sasa-image {
    max-width: 100%;
    width: 750px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.follower-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 20px rgba(130, 30, 129, 0.4);
    line-height: 1.2;
}

.follower-count span {
    font-size: 18px;
    font-weight: 700;
    display: block;
}

/* 実績・お客様の声 */
.results {
    border-radius: 0;
}

.achievements, .testimonials {
    margin: 40px 0;
}

.achievements h3, .testimonials h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.testimonial-item {
    margin-bottom: 40px;
}

.testimonial-item h4 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.achievement-item {
    background: var(--white);
    padding: 20px;
    margin: 15px 0;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.3s ease;
}

.achievement-item:nth-child(even) {
    transform: perspective(1000px) rotateY(-5deg);
}

.achievement-item:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
}

blockquote {
    background: var(--white);
    padding: 25px;
    margin: 20px 0;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
    font-style: italic;
    color: var(--text-dark);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 60px;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

/* 利用の流れ */
.flow-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 150px;
    background: var(--white);
    padding: 30px 20px;
    border-radius: 50%;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: scale(1.05) rotate(5deg);
    background: var(--secondary-color);
    color: var(--white);
}

.step::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--accent-color);
}

.step:last-child::after {
    display: none;
}

/* FAQ */
.faq-item {
    background: var(--white);
    margin: 25px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(10px);
}

.faq-item h3 {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 20px 25px;
    margin: 0;
    font-size: 18px;
}

.faq-item p {
    padding: 25px;
    color: var(--text-dark);
    font-weight: 500;
}

/* クロージング */
.closing {
    background: #87A0FF;
    color: var(--white);
    text-align: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}


.closing h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.closing h2::after {
    background: var(--white);
}

/* お客様が得られる未来 */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: var(--white);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateX(10deg);
}

.benefit-item:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.4);
}

/* フッター */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .flow-steps {
        flex-direction: column;
    }
    
    .step {
        border-radius: 15px;
    }
    
    .step::after {
        content: '↓';
        right: 50%;
        transform: translateX(50%);
        top: auto;
        bottom: -25px;
    }
    
    .problem-list {
        flex-direction: column;
        align-items: center;
    }
    
    .video-embeds {
        flex-direction: column;
        align-items: center;
    }
    
    .video-wrapper {
        width: 280px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .video-thumbnail {
        height: auto;
        max-height: 400px;
        object-fit: contain;
        margin-bottom: 10px;
    }
    
    .support-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* スマホ（～767px）での上書き */
    .support-text, .support-image {
        min-width: auto; /* 必要なら明示しておく */
    }

    .support-text {
        width: auto;          /* 自動調整 */
        flex: 0 1 auto;       /* 収縮可にして自然な折返し */
        max-width: 350px;     /* 最大350pxに制限 */
    }
    
    /* ヘッダーのモバイル調整 */
    .site-title {
        font-size: 20px;     /* モバイルでフォントサイズを小さく */
    }
    
    .header-cta {
        padding: 8px 16px;   /* ボタンのパディングを小さく */
        font-size: 14px;     /* ボタンのフォントサイズを小さく */
    }
    
    .logo {
        height: 30px;        /* ロゴサイズを小さく */
    }
    
    .logo-container {
        gap: 10px;           /* ロゴとタイトルの間隔を小さく */
    }
    
    /* モバイル版のヒーローセクション改行設定 */
    .hero h1 .line1::after {
        content: "\A";
        white-space: pre;
    }
    
    .hero h1 .line2::after {
        content: "\A";
        white-space: pre;
    }
    
    .hero h1 .line3 {
        display: inline;
    }
}