/* ==================================
   Kippis株式会社 - コーポレートサイト CSS
   Innovation Through Experience
   ================================== */

/* ==================================
   1. リセットと基本設定
   ================================== */

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

:root {
    /* カラーパレット - 調整後プロフェッショナルカラー */
    --primary-color: #0095DA;    /* スカンジナビアンブルー */
    --primary-dark: #0077B3;
    --primary-light: #00B3FF;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;      /* オレンジ */
    --danger-color: #ef4444;      /* レッド */
    
    /* グレースケール */
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    
    /* テキストカラー */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* 背景カラー */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    
    /* シャドウ */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* トランジション */
    --transition: all 0.3s ease;
    
    /* フォント */
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ja);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* ==================================
   2. レイアウト
   ================================== */

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

/* ==================================
   3. ヘッダー
   ================================== */

.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo a {
    text-decoration: none;
    display: block;
    line-height: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-en);
    margin: 0;
}

.logo-accent {
    font-family: var(--font-ja);
    font-weight: 400;
    font-size: 20px;
    margin-left: 0;
    color: #000000;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* モバイルメニュー */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    z-index: 1001;
}

@media (max-width: 768px) {
    .logo-image {
        height: 45px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-accent {
        font-size: 14px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-item {
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-link {
        display: block;
        padding: 16px 0;
    }

    .nav-cta {
        display: block;
        text-align: center;
        margin-top: 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* ==================================
   4. ヒーロー
   ================================== */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-image: url('https://sspark.genspark.ai/cfimages?u1=UnpXRQpyEmiFYGpgm3%2F3MvW9ccvGbFi1m7TbaLCW65Ca9AfUUa%2FBomBAyAGI21zkkxMHnOi0TQOFHOnp%2BRBrUqSmZk5grvClp5yyWFSobirVlMeZwEdRK2UNsfJ22FI%3D&u2=d9RyGSeYVVkc9%2F1I&width=2560');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.6s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge.emergency {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-en);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ==================================
   5. ボタン
   ================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* ==================================
   6. セクション共通
   ================================== */

section {
    padding: 80px 0;
}

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

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-family: var(--font-en);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==================================
   7. 特徴セクション
   ================================== */

.features {
    background-color: var(--bg-light);
}

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

.feature-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
    display: block;
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

.feature-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.feature-link i {
    transition: var(--transition);
}

/* ==================================
   8. サービスプレビュー
   ================================== */

.services-preview {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
    display: block;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-image-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.service-icon-emergency {
    background-color: var(--danger-color);
    color: white;
}

.emergency-badge-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--danger-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
}

.service-card-emergency .service-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.4));
    z-index: 1;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 149, 218, 0.3), rgba(0, 149, 218, 0.7));
}

.service-content {
    padding: 28px;
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.service-tag {
    background-color: white;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--gray-300);
}

/* ==================================
   9. メリット
   ================================== */

.benefits {
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==================================
   10. CTA セクション
   ================================== */

.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

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

.cta h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.95;
}

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

/* ==================================
   11. フッター
   ================================== */

.footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 30px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--gray-800);
    color: var(--gray-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-4px);
}

/* ==================================
   12. 企業情報ページ
   ================================== */

.page-hero {
    background: linear-gradient(135deg, rgba(0, 149, 218, 0.9) 0%, rgba(0, 119, 179, 0.95) 100%), url('https://sspark.genspark.ai/cfimages?u1=DhZXvreRLSBGW4FlVvxR4aYl1U4H8M4l1sMKzgBfq43jU32KUqw4ASQOc6RM7M9hhXXVRz9zVf9fsgppF6tz108YAuO2iTKyKtvnPKE89LLfTHcdlRmOHMY%3D&u2=IxVYZBQK3rVghz5t&width=2560');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 140px 20px 100px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 149, 218, 0.85) 0%, rgba(0, 119, 179, 0.9) 100%);
    z-index: 1;
}

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

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ==================================
   Company Subnav
   ================================== */
.company-subnav {
    background: white;
    padding: 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.subnav-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
}

.subnav-btn {
    flex: 1;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 32px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.subnav-btn i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.subnav-btn:hover {
    color: var(--primary-color);
    background: rgba(0, 149, 218, 0.05);
    border-bottom-color: var(--primary-color);
}

.subnav-btn:hover i {
    transform: scale(1.2);
}

.subnav-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(0, 149, 218, 0.08);
}

.company-overview {
    padding: 80px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.overview-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transition: width 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 149, 218, 0.2);
}

.overview-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.overview-number {
    display: inline-block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.15;
    margin-bottom: 16px;
    line-height: 1;
}

.overview-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Philosophy Section */
.company-info {
    padding: 80px 0;
    background-color: white;
}

.info-table-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--gray-200);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: left;
    padding: 24px 32px;
    font-weight: 600;
    font-size: 16px;
    width: 180px;
    vertical-align: top;
}

.info-table td {
    padding: 24px 32px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.business-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.business-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}

.business-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Philosophy Section */
.philosophy {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.philosophy-card {
    background: white;
    padding: 48px 36px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.philosophy-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 149, 218, 0.15);
}

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

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 28px;
    box-shadow: 0 8px 20px rgba(0, 149, 218, 0.25);
}

.philosophy-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.philosophy-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.philosophy-values {
    list-style: none;
    padding: 0;
}

.philosophy-values li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.philosophy-values li i {
    color: var(--secondary-color);
    font-size: 18px;
    margin-top: 4px;
}

.philosophy-values li strong {
    color: var(--text-primary);
}

/* CEO Message */
.ceo-message {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.ceo-message-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.ceo-message-text p {
    color: var(--text-secondary);
    line-height: 2;
    font-size: 16px;
    margin-bottom: 24px;
}

.ceo-greeting {
    font-size: 18px !important;
    font-weight: 600;
    color: var(--text-primary) !important;
    margin-bottom: 32px !important;
}

.company-values {
    background-color: var(--bg-light);
    padding: 80px 0;
}

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

.value-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==================================
   13. アクセス
   ================================== */

.access {
    padding: 80px 0;
}

.access-grid {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.access-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

/* ==================================
   14. サービス詳細ページ
   ================================== */

/* Service Detail Section */
.service-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-detail:nth-child(even) {
    background-color: var(--bg-light);
}

.service-detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 12px 30px rgba(0, 149, 218, 0.3);
    flex-shrink: 0;
}

.service-detail-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-detail-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
}

.service-detail-body {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-description p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 20px;
}

.service-detail-description h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 24px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

.service-detail-description ul {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.service-detail-description li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.service-detail-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

.service-detail-features {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-top: 48px;
    margin-bottom: 32px;
}

.service-detail-features h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-200);
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
}

.feature-item div h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-item div p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.price-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    margin-top: 32px;
}

.price-box h5 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    opacity: 0.9;
}

.price-box .price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-box .price-note {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.price-box .btn {
    background-color: white;
    color: var(--primary-color);
    width: 100%;
}

.price-box .btn:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

/* Additional Styles for Company and Service Pages */
.profile-content {
    max-width: 900px;
    margin: 0 auto;
}

.profile-details {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.profile-details h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 24px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

.profile-details h3:first-child {
    margin-top: 0;
}

.profile-details p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 20px;
}

.profile-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.profile-details li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.profile-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}

.service-pricing {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-top: 48px;
}

.service-pricing h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-table {
    display: grid;
    gap: 16px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.pricing-item:hover {
    border-color: var(--primary-color);
    background: white;
}

.pricing-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.pricing-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.ceo-signature {
    text-align: right;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--gray-200);
}

.ceo-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.ceo-info-with-photo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 32px;
    max-width: 100%;
}

.ceo-photo {
    width: 168px !important;
    height: 168px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    margin-right: 20px;
    margin-top: -30px;
    position: relative;
}

.ceo-photo-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

.ceo-name-title {
    text-align: right;
}

.ceo-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.ceo-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.ceo-closing {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 32px;
}

.ceo-message-image,
.profile-image {
    display: none;
}

.service-details {
    padding: 80px 0;
}

.service-details-grid {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.service-main h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.service-main h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.service-main p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-main ul {
    list-style: none;
    margin-bottom: 32px;
}

.service-main li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.service-main li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-sidebar {
    margin-top: 48px;
}

.sidebar-card {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    margin-bottom: 12px;
}

.sidebar-card a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-card a:hover {
    color: var(--primary-color);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.cta-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-box p {
    margin-bottom: 24px;
    opacity: 0.95;
}

/* ==================================
   15. FAQ
   ================================== */

.faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.faq-item {
    background-color: white;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon {
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--gray-200);
}

/* ==================================
   16. お問い合わせフォーム
   ================================== */

.contact-intro {
    padding: 60px 0;
    background: white;
}

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

.intro-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.intro-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.intro-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.intro-feature i {
    font-size: 40px;
    color: var(--primary-color);
}

.intro-feature span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-main {
    padding: 80px 0;
    background: var(--bg-light);
}

.google-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.form-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.google-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.google-form-iframe {
    border-radius: 12px;
    display: block;
}

.form-fallback {
    text-align: center;
    padding: 16px;
    background: rgba(0, 149, 218, 0.05);
    border-radius: 12px;
    margin-bottom: 60px;
}

.form-fallback p {
    color: var(--text-secondary);
    margin: 0;
}

.form-fallback a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.form-fallback a:hover {
    text-decoration: underline;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 149, 218, 0.15);
}

.contact-info-card.emergency {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 2px solid var(--danger-color);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(0, 149, 218, 0.3);
}

.contact-info-card.emergency .info-icon {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.info-detail {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-info-card.emergency .info-detail {
    color: var(--danger-color);
}

.info-note {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.location-section {
    padding: 80px 0;
    background: white;
}

.location-info {
    max-width: 900px;
    margin: 0 auto;
}

.location-details {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.location-details h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.address {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.address i {
    color: var(--primary-color);
    margin-right: 8px;
}

.access-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.access-info p {
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .intro-features {
        gap: 24px;
    }
    
    .google-form-wrapper {
        padding: 10px;
    }
    
    .google-form-iframe {
        height: 1000px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .location-details {
        padding: 24px;
    }
}

/* ==================================
   17. プライバシーポリシー
   ================================== */

.privacy-policy {
    padding: 80px 0;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.privacy-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.privacy-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.privacy-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.privacy-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ==================================
   18. レスポンシブデザイン
   ================================== */

@media (max-width: 1024px) {
    .access-grid,
    .contact-grid,
    .service-details-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        background-attachment: scroll !important;
        background-size: cover !important;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .page-hero h1 {
        font-size: 36px;
    }
    
    .features-grid,
    .services-grid,
    .benefits-grid,
    .values-grid,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .feature-image-container,
    .service-image-container {
        height: 200px;
    }

    .feature-image,
    .service-image {
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ==================================
   New Services Page Styles
   ================================== */

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.step-item {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 149, 218, 0.2);
}

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

.step-number {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(0, 149, 218, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.step-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-time {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 24px;
    text-align: center;
}

/* Steps Cycle Layout (Loop) */
.steps-cycle-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(0, 149, 218, 0.03) 0%, rgba(0, 179, 255, 0.05) 100%);
    border-radius: 24px;
}

.steps-cycle-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.steps-cycle-row:last-of-type {
    margin-bottom: 0;
}

.step-arrow-cycle {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.step-arrow-cycle.horizontal {
    animation: slideHorizontalCycle 1.5s ease-in-out infinite;
}

.step-arrow-cycle.horizontal.reverse {
    animation: slideHorizontalReverse 1.5s ease-in-out infinite;
}

@keyframes slideHorizontalCycle {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(8px);
        opacity: 0.7;
    }
}

@keyframes slideHorizontalReverse {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-8px);
        opacity: 0.7;
    }
}

.steps-center-arrows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.step-arrow-cycle.vertical-down {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: var(--primary-color);
    animation: slideDownCycle 1.5s ease-in-out infinite;
}

.step-arrow-cycle.vertical-up {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: var(--primary-color);
    animation: slideUpCycle 1.5s ease-in-out infinite;
}

@keyframes slideDownCycle {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.7;
    }
}

@keyframes slideUpCycle {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px);
        opacity: 0.7;
    }
}

.cycle-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-top: 32px;
    box-shadow: 0 2px 12px rgba(0, 149, 218, 0.1);
    border-left: 4px solid var(--primary-color);
}

.cycle-note i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 4px;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cycle-note p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Service Box */
.main-services {
    padding: 80px 0;
    background: var(--bg-light);
}

.service-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 48px;
    overflow: hidden;
}

.service-box.emergency {
    border: 3px solid var(--danger-color);
}

.service-box-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.service-box-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-box-icon.blue {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.service-box-icon.red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.service-box-icon.purple {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
}

.service-box-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.service-box-title h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-box-title p {
    font-size: 18px;
    color: var(--text-secondary);
}

.badge-urgent {
    display: inline-block;
    background: var(--danger-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 12px;
}

.service-box-body {
    padding: 48px 40px;
}

.service-description h4,
.service-solution h4,
.service-results h4,
.emergency-timeline h4,
.emergency-cases h4,
.development-flow h4,
.development-benefits h4,
.quality-services h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* Problem List */
.problem-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.problem-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fef2f2;
    border-radius: 12px;
    color: #991b1b;
    font-weight: 500;
}

.problem-list li i {
    font-size: 20px;
    color: #dc2626;
}

/* Solution Grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.solution-item {
    background: #f0f9ff;
    padding: 28px 24px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.solution-item h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.solution-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-item {
    text-align: center;
    padding: 32px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    color: white;
}

.result-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Timeline */
.emergency-timeline {
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 60px;
    top: 100%;
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.timeline-time {
    width: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.timeline-content h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Emergency Cases Grid */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.case-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fef2f2;
    border-radius: 12px;
    color: #991b1b;
    font-weight: 500;
}

.case-item i {
    font-size: 24px;
    color: var(--danger-color);
}

/* Development Flow - Cycle Layout */
.flow-cycle-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(0, 149, 218, 0.03) 0%, rgba(0, 179, 255, 0.05) 100%);
    border-radius: 24px;
}

.flow-cycle-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.flow-cycle-row:last-of-type {
    margin-bottom: 0;
}

.flow-step {
    background: white;
    padding: 28px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.flow-step:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 149, 218, 0.2);
}

.flow-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 149, 218, 0.3);
}

.flow-step h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.flow-step ul {
    list-style: none;
    padding: 0;
}

.flow-step ul li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.flow-step ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 18px;
}

.flow-arrow {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.flow-arrow.horizontal {
    animation: slideHorizontal 1.5s ease-in-out infinite;
}

@keyframes slideHorizontal {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(8px);
        opacity: 0.7;
    }
}

.flow-center-arrows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.flow-arrow.vertical-down {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: var(--primary-color);
    animation: slideDown 1.5s ease-in-out infinite;
}

.flow-arrow.vertical-up {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: var(--primary-color);
    animation: slideUp 1.5s ease-in-out infinite;
}

@keyframes slideDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.7;
    }
}

@keyframes slideUp {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px);
        opacity: 0.7;
    }
}

.flow-note {
    background: rgba(0, 149, 218, 0.08);
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 20px;
}

.flow-note i {
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.flow-note p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 14px;
}

/* Benefits Comparison */
.benefits-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}

.comparison-col {
    padding: 32px;
    border-radius: 16px;
}

.comparison-col.before {
    background: #fef2f2;
    border: 2px solid #fca5a5;
}

.comparison-col.after {
    background: #f0f9ff;
    border: 2px solid #93c5fd;
}

.comparison-col h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.comparison-col ul {
    list-style: none;
    padding: 0;
}

.comparison-col ul li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.comparison-arrow {
    font-size: 36px;
    color: var(--primary-color);
}

/* Quality Grid */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.quality-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.quality-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 149, 218, 0.15);
}

.quality-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.quality-card h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.quality-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.quality-tag {
    display: inline-block;
    background: rgba(0, 149, 218, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* Pricing Plans */
.pricing-plans {
    padding: 80px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 4列レイアウト用 */
.pricing-grid-four {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    gap: 20px;
}

.pricing-grid-four .pricing-plan {
    border-radius: 16px;
}

.pricing-grid-four .plan-header {
    padding: 28px 20px;
}

.pricing-grid-four .plan-header h3 {
    font-size: 20px;
    margin-bottom: 0;
}

.pricing-grid-four .plan-body {
    padding: 24px 20px;
}

.pricing-grid-four .plan-features li {
    padding: 8px 0;
    font-size: 14px;
}

.pricing-grid-four .plan-features li i {
    font-size: 16px;
}

.pricing-grid-four .plan-btn {
    padding: 12px 20px;
    font-size: 14px;
}

.pricing-plan {
    background: white;
    border-radius: 20px;
    border: 2px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.pricing-plan.featured {
    border-color: var(--primary-color);
    border-width: 3px;
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 6px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.plan-header {
    padding: 40px 32px;
    text-align: center;
}

.plan-header.basic {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.plan-header.standard {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.plan-header.premium {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
}

.plan-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 8px;
}

.price-value {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.price-unit {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

.plan-body {
    padding: 32px;
}

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

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.plan-features li i {
    color: var(--secondary-color);
    font-size: 18px;
}

.plan-btn {
    display: block;
    text-align: center;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 149, 218, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-arrow {
        display: none;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-grid-four {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .steps-container,
    .solution-grid,
    .results-grid,
    .cases-grid,
    .quality-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid-four {
        grid-template-columns: 1fr;
    }
    
    .problem-list {
        grid-template-columns: 1fr;
    }
    
    .service-box-header {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    
    .service-box-body {
        padding: 32px 24px;
    }
    
    .service-box-title h3 {
        font-size: 24px;
    }
    
    .flow-container {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .benefits-comparison {
        grid-template-columns: 1fr;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
        text-align: center;
    }
    
    .flow-cycle-container {
        display: flex;
        flex-direction: column;
        padding: 30px 15px;
    }
    
    .flow-cycle-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    /* モバイルで1→2→3→4の順番にするための順序指定 */
    .flow-step-1 {
        order: 1;
    }
    
    .arrow-1-2 {
        display: none; /* モバイルで矢印を非表示 */
    }
    
    .flow-step-2 {
        order: 3;
    }
    
    .flow-step-3 {
        order: 5;
    }
    
    .arrow-4-3 {
        display: none; /* モバイルで矢印を非表示 */
    }
    
    .flow-step-4 {
        order: 7;
    }
    
    .flow-center-arrows {
        display: none; /* モバイルで中央の矢印を非表示 */
    }
    
    /* 各ステップのサイズ統一 */
    .flow-step {
        width: 100%;
        min-height: auto;
        padding: 24px 20px;
    }
    
    .flow-cycle-row.reverse {
        direction: ltr;
    }
    
    .flow-arrow.horizontal {
        display: none; /* モバイルですべての矢印を非表示 */
    }
    
    .flow-arrow.vertical-up {
        display: none;
    }
    
    .flow-arrow.vertical-down {
        display: none;
    }
    
    .steps-cycle-container {
        display: flex;
        flex-direction: column;
        padding: 30px 15px;
    }
    
    .steps-cycle-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    /* モバイルで1→2→3→4の順番にするための順序指定 */
    .step-1 {
        order: 1;
    }
    
    .arrow-1-2 {
        display: none; /* モバイルで矢印を非表示 */
    }
    
    .step-2 {
        order: 3;
    }
    
    .step-3 {
        order: 5;
    }
    
    .arrow-4-3 {
        display: none; /* モバイルで矢印を非表示 */
    }
    
    .step-4 {
        order: 7;
    }
    
    .steps-center-arrows {
        display: none; /* モバイルで中央の矢印を非表示 */
    }
    
    /* 各ステップのサイズ統一 */
    .step-item {
        width: 100%;
        min-height: auto;
        padding: 24px 20px;
    }
    
    .step-arrow-cycle.horizontal,
    .step-arrow-cycle.horizontal.reverse {
        display: none; /* モバイルですべての矢印を非表示 */
    }
    
    .step-arrow-cycle.vertical-up {
        display: none;
    }
    
    .step-arrow-cycle.vertical-down {
        display: none;
    }
    
    .cycle-note {
        flex-direction: column;
        text-align: center;
    }
    
    .cycle-note i {
        margin: 0 auto;
    }
}

/* ==================================
   代表プロフィールセクション
================================== */
.profile-section {
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(0, 149, 218, 0.03) 0%, rgba(0, 119, 179, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 149, 218, 0.1);
}

.profile-section .section-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
}

.profile-content {
    max-width: 900px;
    margin: 0 auto;
}

.profile-details {
    display: grid;
    gap: 40px;
}

.profile-item {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.profile-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.profile-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-item h4 i {
    font-size: 24px;
}

.profile-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-item li {
    padding: 12px 0;
    padding-left: 32px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
}

.profile-item li:last-child {
    border-bottom: none;
}

.profile-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.profile-item li strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .info-table-container {
        border-radius: 12px;
    }
    
    .info-table th,
    .info-table td {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .info-table th {
        width: 120px;
    }
    
    .profile-section {
        padding: 40px 24px;
    }
    
    .profile-item {
        padding: 24px;
    }
    
    .profile-item h4 {
        font-size: 18px;
    }
}

/* ==================================
   事業展開計画（夢）セクション
================================== */
.vision {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.vision::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 149, 218, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.vision::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 179, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

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

.vision .container {
    position: relative;
    z-index: 1;
}

.vision .section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 16px;
}

.vision-timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.vision-item {
    position: relative;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.vision-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.vision-item:hover::before {
    transform: scaleX(1);
}

.vision-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 149, 218, 0.2);
}

.vision-item.current {
    background: linear-gradient(135deg, rgba(0, 149, 218, 0.05) 0%, rgba(0, 179, 255, 0.08) 100%);
    border: 2px solid var(--primary-color);
}

.vision-item.current::before {
    transform: scaleX(1);
}

.vision-item.future {
    opacity: 0.95;
}

.vision-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 149, 218, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vision-item.current .vision-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(16, 185, 129, 0.6);
    }
}

.vision-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.vision-item:hover .vision-icon {
    transform: scale(1.1) rotate(5deg);
}

.vision-icon.phase-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.vision-icon.phase-manufacturing {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
}

.vision-icon.phase-trading {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
}

.vision-icon.phase-community {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
}

.vision-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.vision-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 149, 218, 0.1);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 149, 218, 0.2);
}

.vision-item.current .vision-label {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}

.vision-content p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 16px;
}

.vision-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.vision-divider i {
    font-size: 32px;
    color: var(--primary-color);
    background: white;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 149, 218, 0.2);
    animation: bounce 2s ease-in-out infinite;
}

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

@media (max-width: 768px) {
    .vision {
        padding: 60px 0;
    }
    
    .vision-item {
        padding: 24px;
    }
    
    .vision-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .vision-content h3 {
        font-size: 20px;
    }
    
    .vision-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .company-subnav {
        top: 70px;
    }
    
    .subnav-buttons {
        flex-direction: column;
        gap: 0;
    }
    
    .subnav-btn {
        max-width: 100%;
        padding: 16px 24px;
        font-size: 15px;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .subnav-btn:last-child {
        border-bottom: none;
    }
    
    .subnav-btn i {
        font-size: 18px;
    }
}
/* ============================================
   営業注意文（コンパクト版）
   ============================================ */
.sales-notice-compact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 30px auto 50px; /* 上に30px、下に50pxの余白 */
  padding: 16px 20px;
  background-color: #fff9e6;
  border-left: 4px solid #ff9800;
  border-radius: 4px;
  max-width: 800px;
  font-size: 13px; /* 小さめの文字 */
  line-height: 1.6;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sales-notice-compact .notice-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sales-notice-compact .notice-content {
  flex: 1;
}

.sales-notice-compact .notice-content strong {
  display: block;
  color: #d84315;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.sales-notice-compact .notice-content p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

/* ============================================
   お問い合わせ方法カードセクション（間隔調整）
   ============================================ */
.contact-methods-section {
  padding: 60px 0; /* 上に十分な余白を確保 */
  background-color: #f8f9fa;
}

/* スマホ対応: 注意文とカードの間隔を確保 */
@media (max-width: 768px) {
  .sales-notice-compact {
    margin: 20px 15px 40px; /* スマホでは少しコンパクトに */
    padding: 14px 16px;
    font-size: 12px;
  }
  
  .sales-notice-compact .notice-content strong {
    font-size: 13px;
  }
  
  .contact-methods-section {
    padding: 50px 0; /* スマホでの上部余白をさらに確保 */
    margin-top: 20px; /* 追加の余白 */
  }
  
  .contact-info-grid {
    gap: 20px; /* カード間の間隔 */
  }
  
  /* CEO署名セクションのモバイル対応 */
  .ceo-info-with-photo {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }
  
  .ceo-photo {
    width: 140px !important;
    height: 140px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
  }
  
  .ceo-name-title {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .sales-notice-compact {
    flex-direction: column;
    gap: 8px;
    margin: 15px 10px 30px;
  }
  
  .sales-notice-compact .notice-icon {
    font-size: 18px;
  }
}

