/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8fbff;
}

/* CSS Variables - 調整済みカラーパレット */
:root {
    --primary-color: #4a90d9;
    --secondary-color: #d63384;
    --accent-color: #5ba0e6;
    --text-color: #333;
    --light-bg: #f8fbff;
    --white: #ffffff;
    --gray-100: #f0f8ff;
    --gray-200: #e8f4f8;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    text-align: center;
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header and Navigation */
.header {
    background-color: #d1e9f4;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Logo */
.nav-logo h1 {
    display: none;
}

.header-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover .header-logo {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--primary-color);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    line-height: 1.2;
}

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

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

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

.btn-secondary:hover,
.btn-secondary:focus {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ヒーローセクション - 背景画像 + ロゴ + 低透過度画像アイコン */
.hero {
    position: relative;
    min-height: 100vh;
    margin-top: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景画像設定 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.hero-background-image:hover {
    transform: scale(1.05);
}

/* オーバーレイ（テキストを読みやすくするため） */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(74, 144, 217, 0.8) 0%,
        rgba(91, 160, 230, 0.7) 50%,
        rgba(74, 144, 217, 0.85) 100%
    );
    z-index: 2;
}

/* テキストコンテンツ */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    width: 100%;
    padding: 2rem 0;
}

/* ランダム画像アイコン配置 - 最上位レイヤー・低透過度・枠なし */
.hero-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* 最上位レイヤーに設定 */
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.85; /* 透過度を下げて画像をはっきり見せる */
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
}

.icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 枠・背景・パディングを全て削除 */
    border: none;
    background: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

/* 各アイコンの個別配置とアニメーション */
.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.icon-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 6s;
}

.icon-3 {
    top: 35%;
    left: 5%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.icon-4 {
    top: 45%;
    right: 8%;
    animation-delay: 0.5s;
    animation-duration: 5.5s;
}

.icon-5 {
    top: 55%;
    left: 12%;
    animation-delay: 3s;
    animation-duration: 6.5s;
}

.icon-6 {
    top: 65%;
    right: 20%;
    animation-delay: 1.5s;
    animation-duration: 5.8s;
}

.icon-7 {
    top: 75%;
    left: 18%;
    animation-delay: 2.5s;
    animation-duration: 6.2s;
}

.icon-8 {
    top: 20%;
    left: 85%;
    animation-delay: 4s;
    animation-duration: 5.3s;
}

.icon-9 {
    top: 80%;
    right: 12%;
    animation-delay: 3.5s;
    animation-duration: 6.8s;
}

.icon-10 {
    top: 10%;
    left: 50%;
    animation-delay: 1.8s;
    animation-duration: 5.9s;
}

.icon-11 {
    top: 85%;
    left: 75%;
    animation-delay: 4.5s;
    animation-duration: 6.3s;
}

.icon-12 {
    top: 40%;
    left: 88%;
    animation-delay: 0.8s;
    animation-duration: 5.7s;
}

/* フローティングアニメーション - 透過度調整 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.85; /* 基本透過度を0.85に設定 */
    }
    25% {
        transform: translateY(-15px) rotate(2deg) scale(1.05);
        opacity: 0.95; /* アニメーション中はほぼ完全に表示 */
    }
    50% {
        transform: translateY(-8px) rotate(-1deg) scale(0.95);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-20px) rotate(1deg) scale(1.1);
        opacity: 1; /* 最高透過度を1（完全表示）に */
    }
}

/* 製品ロゴ配置 */
.hero-logo {
    margin-bottom: 2rem;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.product-logo {
    width: 180px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.product-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* ロゴの輝くアニメーション */
@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) brightness(1);
    }
    100% {
        filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4)) brightness(1.1);
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ボタンスタイル */
.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-height: 70px;
    position: relative;
    overflow: hidden;
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.hero-cta-button:hover,
.hero-cta-button:focus {
    background: #ff4757;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 44, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    min-height: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta-button-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.hero-cta-button-secondary:hover,
.hero-cta-button-secondary:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.hero-cta-button .button-icon,
.hero-cta-button-secondary .button-icon {
    font-size: 1.3rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero {
        margin-top: 120px;
        min-height: 90vh;
    }

    /* モバイル用ロゴサイズ調整 */
    .product-logo {
        width: 140px;
        height: 90px;
    }

    /* モバイルでアイコンサイズ調整 - より見えやすく */
    .floating-icon {
        width: 40px;
        height: 40px;
        opacity: 0.75; /* モバイルでも十分見える透過度 */
    }

    /* アイコン配置をモバイル用に調整 */
    .icon-1 { top: 12%; left: 8%; }
    .icon-2 { top: 22%; right: 12%; }
    .icon-3 { top: 32%; left: 3%; }
    .icon-4 { top: 42%; right: 5%; }
    .icon-5 { top: 52%; left: 8%; }
    .icon-6 { top: 62%; right: 15%; }
    .icon-7 { top: 72%; left: 12%; }
    .icon-8 { top: 18%; right: 8%; }
    .icon-9 { top: 78%; right: 8%; }
    .icon-10 { top: 8%; left: 45%; }
    .icon-11 { top: 82%; left: 70%; }
    .icon-12 { top: 38%; right: 3%; }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-cta-button {
        width: 100%;
        max-width: 350px;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }

    .hero-cta-button-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* モバイルでのオーバーレイ調整 */
    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(74, 144, 217, 0.85) 0%,
            rgba(91, 160, 230, 0.75) 50%,
            rgba(74, 144, 217, 0.9) 100%
        );
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 96px;
        min-height: 85vh;
    }

    .hero-content {
        padding: 1rem 0;
    }

    /* 小画面用ロゴサイズ */
    .product-logo {
        width: 120px;
        height: 80px;
    }

    /* 小画面でアイコン数を減らす */
    .icon-7, .icon-8, .icon-9, .icon-10, .icon-11, .icon-12 {
        display: none;
    }

    /* 残りアイコンのサイズ調整 - より見えやすく */
    .floating-icon {
        width: 35px;
        height: 35px;
        opacity: 0.7; /* 小画面でも適度な視認性を確保 */
    }

    .hero-buttons {
        gap: 1rem;
    }

    .hero-cta-button {
        max-width: 100%;
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
    }

    .hero-cta-button-secondary {
        max-width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    /* 小画面でのオーバーレイを濃く */
    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(74, 144, 217, 0.9) 0%,
            rgba(91, 160, 230, 0.8) 50%,
            rgba(74, 144, 217, 0.95) 100%
        );
    }
}

/* 高解像度ディスプレイ対応 */
@media (min-width: 1024px) {
    .hero {
        min-height: 100vh;
    }

    .hero-title {
        font-size: clamp(2.5rem, 4vw, 4rem);
    }

    .hero-subtitle {
        font-size: clamp(1.4rem, 2vw, 2rem);
    }

    .product-logo {
        width: 220px;
        height: 140px;
    }

    .floating-icon {
        width: 70px;
        height: 70px;
        opacity: 0.9; /* デスクトップで非常にはっきりと表示 */
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .hero-background-image,
    .floating-icon {
        transition: none;
        animation: none;
    }
    
    .hero-background-image:hover {
        transform: none;
    }
    
    .hero-logo {
        animation: none;
    }
    
    .product-logo:hover {
        transform: none;
    }
    
    .hero-cta-button::before,
    .hero-cta-button-secondary::before {
        transition: none;
    }
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .floating-icon {
        opacity: 1; /* 高コントラストモードで完全表示 */
    }
    
    .icon-image {
        filter: contrast(1.4) brightness(1.2);
    }
    
    .product-logo {
        filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.8));
    }
    
    .hero-cta-button,
    .hero-cta-button-secondary {
        border-width: 3px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    }
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Need Section */
.need {
    background: var(--white);
}

.need-text {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.need-text p {
    text-align: center;
    margin: 2rem auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.need-intro {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 2.5rem auto !important;
    text-align: center;
    padding: 1rem 0;
}

.need-content {
    display: grid;
    gap: 3rem;
}

.need-issues {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.need-issues h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.need-issues-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.need-issues-text p {
    color: var(--gray-700);
    line-height: 1.8;
    margin: 0;
}

.issue-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.issue-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    min-height: 320px;
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.issue-image {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.issue-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.issue-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.issue-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    background: var(--light-bg);
}

.features-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    min-height: 320px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.feature-card img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature-card img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    display: none;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* Comparison Section */
.comparison-section {
    margin-top: 4rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

.comparison-table td strong {
    color: var(--secondary-color);
}

/* Usage Section */
.usage {
    background: var(--white);
}

.usage-content {
    display: grid;
    gap: 4rem;
}

.usage-scenarios {
    max-width: 1200px;
    margin: 0 auto;
}

.scenario-cards {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 2rem;
}

.scenario-card {
    display: flex;
    align-items: stretch;
    gap: 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    min-height: 280px;
}

.scenario-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.scenario-card:nth-child(1) {
    flex-direction: row;
}

.scenario-image {
    flex: 0 0 45%;
    max-width: 45%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    object-fit: contain;
    max-height: 200px;
    align-self: center;
}

.scenario-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.scenario-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scenario-content h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.scenario-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.scenario-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.scenario-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.scenario-content p {
    line-height: 1.8;
    color: var(--gray-700);
    margin: 0;
}

/* 施工実績セクション */
.construction-results {
    background: var(--light-bg);
    padding: 4rem 0;
}

.construction-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.construction-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* スライダーコンテナ - ナビゲーション非重複対応 */
.slider-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 80px; /* ナビゲーションボタン用の余白 */
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

/* ナビゲーションコントロールのラッパー */
.nav-controls-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none; /* 子要素のみクリック可能 */
    z-index: 15;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* 施工実績カードのクリック機能用スタイル */
.slide[data-link] {
    transition: all 0.3s ease;
    cursor: default;
}

.slide[data-link].active {
    cursor: pointer;
}

.slide[data-link].active:hover {
    transform: scale(1.02);
}

.slide[data-link].active:hover .construction-card {
    box-shadow: 0 12px 40px rgba(74, 144, 217, 0.15);
    border: 2px solid var(--primary-color);
}

.slide[data-link].active:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* 施工実績カード */
.construction-card {
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2.5rem;
    min-height: 300px;
    position: relative;
    transition: all 0.3s ease;
}

.construction-image {
    flex: 0 0 45%;
    max-width: 45%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.construction-content {
    flex: 1;
    padding-left: 1rem;
}

.construction-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.construction-content p {
    color: var(--gray-700);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* クリック可能インジケーター */
.click-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.slide[data-link].active:hover .click-indicator {
    opacity: 1;
}

/* ナビゲーションボタン - 外側配置 */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 20;
    pointer-events: all; /* クリック可能 */
    color: var(--primary-color);
}

.nav-button:hover,
.nav-button:focus {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 144, 217, 0.3);
}

.nav-button-prev {
    left: -60px; /* スライダー外側に配置 */
}

.nav-button-next {
    right: -60px; /* スライダー外側に配置 */
}

.nav-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

/* ドットナビゲーション */
.dots-container {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-400);
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--secondary-color);
}

/* 詳細ボタン */
.construction-button-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.construction-detail-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 144, 217, 0.3);
    min-height: 60px;
}

.construction-detail-button:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.4);
}

.construction-detail-button .button-icon {
    font-size: 1.3rem;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .slider-container {
        padding: 0 60px;
    }
    
    .nav-button-prev {
        left: -50px;
    }
    
    .nav-button-next {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        padding: 0 15px; /* モバイルでは内側配置 */
    }
    
    .nav-button {
        width: 40px;
        height: 40px;
    }
    
    .nav-button-prev {
        left: 10px; /* スライダー内側に配置 */
        top: 20px; /* 上部に配置してカードコンテンツと重ならない */
    }
    
    .nav-button-next {
        right: 10px; /* スライダー内側に配置 */
        top: 20px; /* 上部に配置してカードコンテンツと重ならない */
    }
    
    .construction-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1rem 2rem 1rem; /* 上部余白を確保 */
    }
    
    .construction-image {
        flex: none;
        max-width: 100%;
        height: 200px;
    }
    
    .construction-content {
        padding-left: 0;
    }
    
    .construction-detail-button {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nav-button {
        width: 36px;
        height: 36px;
    }
    
    .nav-arrow {
        font-size: 1.3rem;
    }
    
    .construction-card {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
    
    .construction-image {
        height: 150px;
    }
    
    .construction-content h3 {
        font-size: 1.2rem;
    }
    
    .construction-content p {
        font-size: 1rem;
    }
    
    .construction-detail-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* 超小型デバイス対応 */
@media (max-width: 320px) {
    .slider-container {
        padding: 0 10px;
    }
    
    .nav-button {
        width: 32px;
        height: 32px;
    }
    
    .nav-button-prev,
    .nav-button-next {
        top: 15px;
    }
    
    .nav-button-prev {
        left: 5px;
    }
    
    .nav-button-next {
        right: 5px;
    }
}

/* Flow Steps */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.flow-step {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Specs Section */
.specs {
    background: var(--light-bg);
}

.specs-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.specs-table th {
    background: var(--gray-100);
    font-weight: 700;
    color: var(--primary-color);
    width: 30%;
}

.specs-table td strong {
    color: var(--secondary-color);
}

/* FAQ Section Styles（改良版） */
.faq {
    background: var(--white);
    padding: 4rem 0;
}

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

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--gray-100);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--white);
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.faq-question span:first-child {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(74, 144, 217, 0.1);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: white;
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: var(--white);
}

.faq-item.active .faq-question .faq-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* テキスト見切れ対策の重要な部分 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    padding: 0 1.5rem;
    opacity: 0;
    box-sizing: border-box;
    transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    opacity: 1;
    overflow: visible !important;
    max-height: none !important;
}

.faq-answer p {
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    word-wrap: break-word;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq {
        padding: 3rem 0;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.25rem;
    }
    
    .faq-icon {
        width: 25px;
        height: 25px;
        font-size: 1.25rem;
    }
}

/* Contact Section - 3つのボタン対応版 */
.contact {
    background: var(--light-bg);
    padding: 5rem 0;
}

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

.contact-info {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-info p:first-child {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

/* 連絡先詳細情報 */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-detail-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.contact-detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.contact-detail-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
}

.contact-detail-content {
    flex: 1;
}

.contact-detail-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.contact-phone {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-email {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

/* 3つのボタン対応レイアウト */
.contact-button-wrapper {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    min-height: 60px;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    flex: 1;
    max-width: 250px;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

/* 電話ボタン */
.contact-button-phone {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(214, 51, 132, 0.3);
}

.contact-button-phone:hover {
    background: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(214, 51, 132, 0.4);
}

/* メールボタン */
.contact-button-email {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(74, 144, 217, 0.3);
}

.contact-button-email:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.4);
}

/* お問い合わせフォームボタン */
.contact-button-form {
    background: #28a745;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.contact-button-form:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.4);
}

.contact-button .button-icon {
    font-size: 1.3rem;
}

.contact-note {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--gray-600);
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(108, 117, 125, 0.1);
    border-radius: 6px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--gray-800);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo h3 {
    display: none;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    width: 192px;
    height: 192px;
    object-fit: contain;
    filter: none;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer-links a:hover,
.footer-links a:focus {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-600);
    color: var(--gray-400);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes arrowMove {
    0% {
        opacity: 1;
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        opacity: 0.5;
        transform: rotate(45deg) translate(5px, 5px);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) translate(0, 0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.contact-button:focus {
    animation: pulse 0.6s ease-in-out;
}

.contact-button:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* レスポンシブデザイン - 施工実績セクション */
@media (max-width: 768px) {
    .construction-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }

    .construction-image {
        flex: none;
        max-width: 100%;
        height: 200px;
    }

    .construction-content {
        padding-left: 0;
    }

    .nav-button {
        width: 40px;
        height: 40px;
    }

    .prev-button {
        left: 10px;
    }

    .next-button {
        right: 10px;
    }

    .construction-detail-button {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .construction-card {
        padding: 1.5rem;
    }

    .construction-image {
        height: 150px;
    }

    .construction-content h3 {
        font-size: 1.2rem;
    }

    .construction-content p {
        font-size: 1rem;
    }

    .construction-detail-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header-logo {
        width: 120px;
        height: 120px;
    }

    .nav-container {
        padding: 1.25rem 1rem;
    }

    .hero {
        height: 50vh;
        min-height: 300px;
        margin-top: 120px;
    }

    .hero-cta {
        padding: 3rem 0;
    }

    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-cta-button {
        width: 100%;
        max-width: 350px;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }

    .hero-cta-button-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .need-text {
        padding: 2rem 0.5rem;
    }

    .need-text p {
        margin: 1.5rem auto;
        font-size: 1rem;
    }

    .need-intro {
        font-size: 1.1rem;
        margin: 2rem auto !important;
    }

    .need-issues {
        padding: 2rem 0.5rem;
    }

    .need-issues-text {
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .issue-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .issue-card {
        padding: 1.5rem 1rem;
        min-height: auto;
    }

    .issue-image {
        max-height: 160px;
    }

    .issue-card h4 {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
        min-height: auto;
    }

    .feature-card img {
        max-height: 160px;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .scenario-cards {
        gap: 2.5rem;
    }

    .scenario-card {
        flex-direction: column !important;
        gap: 1.5rem;
        padding: 1.5rem;
        min-height: auto;
        align-items: center;
    }

    .scenario-image {
        flex: none;
        max-width: 100%;
        max-height: 180px;
        align-self: center;
    }

    .scenario-content {
        text-align: center;
        justify-content: flex-start;
    }

    .flow-steps {
        grid-template-columns: 1fr;
    }

    .footer-logo-img {
        width: 144px;
        height: 144px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-detail-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .contact-detail-content {
        text-align: center;
    }

    .contact-detail-content h3 {
        text-align: center;
    }

    .contact-button-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-button {
        width: 100%;
        max-width: 300px;
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
}

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

    .header-logo {
        width: 96px;
        height: 96px;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero {
        height: 40vh;
        min-height: 250px;
        margin-top: 96px;
    }

    .hero-cta {
        padding: 2.5rem 0;
    }

    .hero-cta-button {
        max-width: 100%;
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
    }

    .hero-cta-button-secondary {
        max-width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td,
    .specs-table th,
    .specs-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .issue-image {
        max-height: 140px;
    }

    .issue-card {
        padding: 1.25rem 0.75rem;
    }

    .feature-card img {
        max-height: 140px;
    }

    .feature-card {
        padding: 1.25rem 0.75rem;
    }

    .scenario-image {
        max-height: 150px;
    }

    .scenario-card {
        padding: 1.25rem;
    }

    .footer-logo-img {
        width: 112px;
        height: 112px;
    }

    .contact-detail-item {
        padding: 1.25rem;
    }

    .contact-detail-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .contact-phone {
        font-size: 1.2rem;
    }

    .contact-email {
        font-size: 1rem;
    }

    .contact-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }

    .contact-button .button-icon {
        font-size: 1.2rem;
    }
}

/* 3つのボタンが1行に収まるレイアウト調整 */
@media (min-width: 769px) {
    .contact-button-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .contact-button {
        flex: 0 1 auto;
        max-width: 220px;
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .contact-button {
        max-width: 250px;
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
    }

    .scenario-card {
        gap: 2rem;
        padding: 2rem;
        min-height: 250px;
    }

    .scenario-image {
        max-height: 180px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-image {
        transform: scale(1.1);
    }

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

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .hero-cta .btn {
        border-width: 3px;
    }

    .contact-button {
        border: 2px solid var(--white);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    .contact-button:hover,
    .contact-button:focus {
        border-color: var(--white);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .hero-cta,
    .contact-form,
    .footer,
    .hero-background {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: 40vh;
        margin-top: 0;
    }

    .section-title {
        color: #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
