/*
Theme Name: Tsunagu+ Child
Description: Tsunagu+のCocoon子テーマ - 企業の課題解決と成長支援サイト
Template: cocoon-master
Version: 1.0.0
*/

@import url("../cocoon-master/style.css");

/* ==========================================================================
   カスタム変数定義
   ========================================================================== */
:root {
    /* カラースキーム */
    --main-color: #0066cc; /* メインカラー: 信頼感のあるブルー */
    --accent-color: #ff6600; /* アクセントカラー: 活力のあるオレンジ */
    --text-color: #333333; /* テキストカラー */
    --bg-color: #ffffff; /* 背景色 */
    --light-gray: #f8f9fa; /* ライトグレー */
    --border-color: #e9ecef; /* ボーダーカラー */
    
    /* フォント設定 */
    --font-family-base: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;
    
    /* レイアウト */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   基本設定
   ========================================================================== */
html, body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* レスポンシブコンテナ */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* フルワイドページ用の横スクロール防止 */
.full-width-page {
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.header-container {
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-name-text {
    color: var(--main-color);
    font-weight: 700;
    font-size: 28px;
}

.tagline {
    color: var(--accent-color);
    font-size: 14px;
    margin-top: 5px;
}

/* ==========================================================================
   SNS運用代行ページ専用スタイル
   ========================================================================== */

/* SNSページ基本レイアウト */
.sns-service-page {
    overflow-x: hidden;
    width: 100%;
    background-color: #fafafa;
}

.sns-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ヒーローセクション */
.sns-hero {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.sns-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.sns-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 600px;
}

.sns-hero-text {
    color: white;
}

.sns-hero-title {
    margin-bottom: 32px;
}

.title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 16px;
    background: linear-gradient(45deg, #fff, #e5e5e5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-sub {
    display: block;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
}

.sns-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 48px;
    color: #ccc;
}

.sns-hero-cta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.sns-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.sns-cta-button.primary {
    background: white;
    color: #000;
}

.sns-cta-button.primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.sns-cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.sns-cta-button.secondary:hover {
    background: white;
    color: #000;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.sns-cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

.sns-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    filter: invert(1) opacity(0.9);
}

/* セクション共通スタイル */
.sns-problems,
.sns-features,
.sns-plans,
.sns-results,
.sns-platforms,
.sns-flow,
.sns-faq,
.sns-cta-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    text-align: center;
}

.title-en {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

.title-ja {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
}

/* 課題セクション */
.sns-problems {
    background: white;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.problem-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
}

.problem-icon {
    width: 64px;
    height: 64px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.icon-number {
    font-weight: 800;
    font-size: 1.25rem;
    color: #666;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.problem-desc {
    color: #666;
    line-height: 1.6;
}

/* 特徴セクション */
.sns-features {
    background: #fafafa;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
}

.feature-item.reverse {
    grid-template-columns: 1fr auto;
}

.feature-item.reverse .feature-content {
    order: 2;
}

.feature-item.reverse .feature-visual {
    order: 1;
}

.feature-number {
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.feature-content {
    max-width: 600px;
}

.feature-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.feature-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #666;
}

.feature-visual {
    max-width: 400px;
}

.feature-visual img {
    width: 100%;
    height: auto;
}

/* プランセクション */
.sns-plans {
    background: white;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.plan-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    border-color: #1a1a1a;
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: white;
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6600;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
}

.price-unit {
    font-size: 1rem;
    color: #666;
}

.plan-card.featured .price-unit {
    color: #ccc;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.plan-card.featured .plan-features li {
    border-bottom-color: #333;
}

.plan-features li::before {
    content: "✓";
    color: #00cc66;
    font-weight: bold;
    margin-right: 12px;
}

.plan-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.plan-card.featured .plan-button {
    background: white;
    color: #1a1a1a;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 実績セクション */
.sns-results {
    background: #1a1a1a;
    color: white;
}

.sns-results .title-ja {
    color: white;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.result-card {
    text-align: center;
}

.result-stat {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #ff6600;
}

.stat-unit {
    font-size: 2rem;
    font-weight: 600;
    color: #ff6600;
    margin-left: 4px;
}

.result-desc {
    font-size: 1.125rem;
    color: #ccc;
    line-height: 1.5;
}

/* プラットフォームセクション */
.sns-platforms {
    background: white;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.platform-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.platform-item:hover {
    transform: translateY(-8px);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    color: #ff6600;
}

.platform-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.platform-desc {
    color: #666;
    line-height: 1.6;
}

/* フローセクション */
.sns-flow {
    background: #fafafa;
}

.flow-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 39px;
    top: 80px;
    width: 2px;
    height: 48px;
    background: #ddd;
}

.step-marker {
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-number {
    font-weight: 800;
    font-size: 1.25rem;
}

.step-content {
    padding-top: 8px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.step-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.step-duration {
    font-size: 0.875rem;
    color: #ff6600;
    font-weight: 600;
}

/* FAQ */
.sns-faq {
    background: white;
}

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

.faq-item {
    border-bottom: 1px solid #f0f0f0;
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #666;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* CTAセクション */
.sns-cta-section {
    background: #1a1a1a;
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.cta-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 48px;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-button-large.primary {
    background: white;
    color: #1a1a1a;
}

.cta-button-large.primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.cta-button-large.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button-large.secondary:hover {
    background: white;
    color: #1a1a1a;
}

.cta-info {
    margin-top: 32px;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ccc;
    font-size: 0.875rem;
}

.cta-note i {
    color: #00cc66;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .sns-hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .feature-item,
    .feature-item.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-item.reverse .feature-content,
    .feature-item.reverse .feature-visual {
        order: unset;
    }
}

@media (max-width: 768px) {
    .sns-container {
        padding: 0 16px;
    }
    
    .sns-hero {
        padding: 60px 0;
    }
    
    .title-main {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .sns-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .sns-cta-button,
    .cta-button-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .problems-grid,
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .flow-step {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .flow-step::after {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-unit {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   メインビジュアル・ヒーローセクション
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--main-color) 0%, #004499 100%);
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.hero-main-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-sub-title {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================================================
   フルワイドページ対応
   ========================================================================== */
.full-width-page {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow-x: hidden;
}

.full-width-page .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* セクションのフルワイド対応 */
.full-width-page section {
    width: 100%;
    position: relative;
}

.full-width-page .hero-section,
.full-width-page .page-hero,
.full-width-page .service-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.full-width-page .services-section,
.full-width-page .results-section,
.full-width-page .mission-vision,
.full-width-page .values,
.full-width-page .company-info,
.full-width-page .history,
.full-width-page .about-cta,
.full-width-page .main-pricing,
.full-width-page .pricing-philosophy,
.full-width-page .pricing-faq,
.full-width-page .pricing-cta,
.full-width-page .contact-methods,
.full-width-page .contact-faq,
.full-width-page .cta-section,
.full-width-page .case-studies,
.full-width-page .testimonials,
.full-width-page .free-consultation,
.full-width-page .service-features,
.full-width-page .service-pricing,
.full-width-page .service-process,
.full-width-page .service-faq {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .full-width-page .hero-section,
    .full-width-page .page-hero,
    .full-width-page section {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        overflow-x: hidden;
    }
    
    .hero-main-title {
        font-size: 2.4rem;
        line-height: 1.2;
    }
    
    .hero-sub-title {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 16px;
        width: auto;
        min-width: 200px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* さらに小さいスクリーン対応 */
@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-sub-title {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .services-section .container,
    .results-section .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .results-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   サービスページ用レスポンシブ対応
   ========================================================================== */
.service-hero {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}

/* サービスページのヒーローセクション */
@media (max-width: 768px) {
    .service-hero {
        min-height: 90vh !important;
        padding: 60px 0 !important;
    }
    
    .service-hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        text-align: left !important;
    }
    
    .service-hero p {
        font-size: 1.1rem !important;
        margin-bottom: 25px !important;
        text-align: left !important;
    }
    
    .hero-stats {
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
        padding: 15px 0 !important;
    }
    
    .hero-stats .stat {
        text-align: center;
        padding: 8px 12px !important;
    }
    
    .hero-stats .stat div:first-child {
        font-size: 1.6rem !important;
        margin-bottom: 3px !important;
    }
    
    .hero-stats .stat div:last-child {
        font-size: 0.85rem !important;
    }
    
    .hero-cta {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    .hero-cta .cta-button {
        text-align: center !important;
        padding: 16px 25px !important;
        font-size: 1rem !important;
        margin-bottom: max(15px, env(safe-area-inset-bottom)) !important;
    }
    
    /* グリッドレイアウトの調整 */
    .features-grid,
    .pricing-plans,
    .process-steps {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* テーブルのレスポンシブ対応 */
    .pricing-table {
        font-size: 0.9rem !important;
        overflow-x: auto !important;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px !important;
        font-size: 0.8rem !important;
    }
    
    /* アコーディオンの調整 */
    .faq-item h3 {
        font-size: 1.1rem !important;
        padding: 15px !important;
    }
    
    .faq-content {
        padding: 15px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem !important;
        text-align: left !important;
    }
    
    .service-hero p {
        font-size: 1rem !important;
        text-align: left !important;
    }
    
    .hero-stats .stat div:first-child {
        font-size: 1.3rem !important;
        margin-bottom: 2px !important;
    }
    
    .hero-stats .stat div:last-child {
        font-size: 0.8rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
    }
    
    .container {
        padding: 0 15px !important;
    }
}

.cta-button:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    color: white;
    text-decoration: none;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid white;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: white;
    color: var(--main-color);
    transform: translateY(-2px);
}

/* ==========================================================================
   サービスセクション
   ========================================================================== */
.services-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--main-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--main-color), var(--main-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--main-color);
    text-decoration: none;
    transform: translateX(5px);
}

/* ==========================================================================
   実績・事例セクション
   ========================================================================== */
.results-section {
    padding: var(--section-padding);
    background: white;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--container-max-width);
    margin: 60px auto 0;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    background: var(--light-gray);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

/* ==========================================================================
   CTAセクション
   ========================================================================== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--main-color) 0%, #004499 100%);
    color: white;
    text-align: center;
}

.cta-section .section-title {
    color: white;
    margin-bottom: 20px;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* ==========================================================================
   お問い合わせフォーム
   ========================================================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8"><path fill="%23666" d="M1 2l5 5 5-5"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 45px;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .hero-sub-title {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .results-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        margin: 0 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .results-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    :root {
        --section-padding: 60px 0;
    }
}

/* ==========================================================================
   ユーティリティクラス
   ========================================================================== */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-md-6 {
    flex: 0 0 50%;
}

.col-md-4 {
    flex: 0 0 33.333333%;
}

.col-md-3 {
    flex: 0 0 25%;
}

@media (max-width: 768px) {
    .col-md-6,
    .col-md-4,
    .col-md-3 {
        flex: 0 0 100%;
    }
}