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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 80px;
}

/* Image Loading Optimization */
.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container img.loaded {
    opacity: 1;
}

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

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e40af;
    font-weight: 700;
}

.highlight {
    color: #0ea5e9;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: block;
    text-decoration: none;
}

.header-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

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

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    min-width: fit-content;
}

.nav-link:hover {
    color: #0ea5e9;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ea5e9;
    transition: width 0.3s ease;
}

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

/* Header CTA */
.header-cta {
    flex-shrink: 0;
}

.header-cta-button {
    background: linear-gradient(135deg, #0ea5e9, #1e40af);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.header-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #1e40af;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-header img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    padding: 1rem 0;
}

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

.mobile-nav-item {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-link {
    display: block;
    color: #1e40af;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f8fafc;
    color: #0ea5e9;
}

.mobile-cta {
    padding: 1.5rem;
}

.mobile-cta-button {
    display: block;
    background: linear-gradient(135deg, #0ea5e9, #1e40af);
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(135deg, #0ea5e9, #1e40af);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #1e40af;
    border-color: #1e40af;
}

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

.cta-button.tertiary {
    background: #f0f9ff;
    color: #1e40af;
    border-color: #0ea5e9;
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: none;
}

.floating-btn {
    background-color: #065ccc;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5);
}

/* Hero Section - 背景画像とオーバーレイを追加 */
.hero {
    position: relative;
    background-image: url('image/12_1_3.jpg'); /* 背景画像を追加 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #C0EBFE; /* フォールバック色 */
    padding: 4rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ヒーロー背景オーバーレイ - 透過度の高い水色 */
.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(56, 189, 248, 0.15) 0%, 
        rgba(125, 211, 252, 0.12) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2; /* オーバーレイより前面に配置 */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af; /* ブランドカラーを維持 */
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8); /* 白い影で背景から浮き立たせる */
}

.hero-title .highlight {
    color: #0ea5e9; /* アクセントカラー */
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* ヒーローサブタイトル - 白色に変更 */
.hero-subtitle {
    color: white; /* 白色に変更 */
    font-size: 1.3rem; /* サイズを少し大きく */
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 600; /* フォントを太くして視認性向上 */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 黒い影で背景から浮き立たせる */
    letter-spacing: 0.3px; /* 文字間隔を調整 */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual {
    margin: 3rem 0;
}

.before-after {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.before, .after {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.before img, .after img {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}
/* ヒーロービジュアルの画像を強制表示 */
.before img, .after img {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

/* フッターロゴを強制表示 */
.footer-logo img {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

/* モバイルメニューのロゴも同様に */
.mobile-menu-header img {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

/* ヘッダーロゴも念のため */
.header-logo img {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

.visual-text {
    color: #1e40af;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.arrow {
    font-size: 2rem;
    color: #0ea5e9;
    font-weight: bold;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Problem Section */
.problem {
    padding: 5rem 0;
    background: #fff;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.problem-item {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.1);
}

.problem-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    padding: 8px;
    flex-shrink: 0;
    font-size: 3rem;
    color: #dc2626;
}

.problem-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-item h3 {
    font-size: 1.5rem;
    color: #dc2626;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    flex-shrink: 0;
}

.problem-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Solution Section */
.solution {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.solution-text h3 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.solution-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.solution-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #dbeafe;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    color: #1e40af;
}

.badge-icon {
    font-size: 1.2rem;
}

.company-info {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.company-info strong {
    color: #1e40af;
}

.certifications {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* Solution Video Styles */
.solution-video {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px 15px 0 0;
}

.video-caption {
    padding: 1rem;
    text-align: center;
    background: #f8fafc;
}

.video-caption p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Section - Full Width 4 Column Layout */
.features {
    padding: 5rem 0;
    background: #fff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.features .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e40af;
    font-weight: 700;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: none;
    padding: 0 20px;
    box-sizing: border-box;
}

.feature-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 320px;
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    padding: 12px;
    flex-shrink: 0;
    font-size: 3rem;
    color: #1e40af;
}

.feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-weight: 600;
    flex-shrink: 0;
}

.feature-tech {
    color: #0ea5e9;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.feature-card p:last-child {
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}

/* How it Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.works-diagram h3 {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 2rem;
    text-align: center;
}

.works-diagram img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mechanism-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    background: #0ea5e9;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.installation-info h3 {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 2rem;
}

.installation-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.installation-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.installation-item h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.installation-item p {
    color: #64748b;
    line-height: 1.6;
}

.usage-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Construction Results Section */
.construction-results {
    padding: 5rem 0;
    background: #fff;
    text-align: center;
}

.results-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    line-height: 1.6;
}

/* 施工実績カード */
.results-card-container {
    max-width: 1000px;
    margin: 0 auto 4rem auto;
}

.results-card {
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.results-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #0ea5e9;
}

/* カード画像部分 */
.results-card-image {
    position: relative;
    flex: 1;
    min-height: 300px;
    overflow: hidden;
}

.results-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(30, 64, 175, 0.8), 
        rgba(14, 165, 233, 0.6)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.results-card:hover .image-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* カードコンテンツ部分 */
.results-card-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-card-title {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

.results-card-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* 特徴アイコン */
.results-card-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0f9ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #e0f2fe;
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    color: #1e40af;
    font-weight: 600;
    font-size: 0.9rem;
}

/* CTA部分 */
.results-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0ea5e9;
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.results-card:hover .cta-arrow {
    transform: translateX(5px);
}

/* 従来のボタンスタイル */
.results-button-container {
    margin-bottom: 0;
}

.results-main-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #0ea5e9, #1e40af);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.2);
    border: 2px solid transparent;
}

.results-main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
    background: linear-gradient(135deg, #0284c7, #1e3a8a);
}

.results-main-button:active {
    transform: translateY(-1px);
}

.button-icon {
    font-size: 1.5rem;
}

.button-text {
    flex-grow: 1;
}

.button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.results-main-button:hover .button-arrow {
    transform: translateX(5px);
}

.results-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .results-card {
        flex-direction: column;
    }
    
    .results-card-image {
        min-height: 200px;
    }
    
    .results-card-content {
        padding: 2rem 1.5rem;
    }
    
    .results-card-title {
        font-size: 1.5rem;
    }
    
    .results-card-description {
        font-size: 1rem;
    }
    
    .results-card-features {
        gap: 0.5rem;
    }
    
    .feature-item {
        padding: 0.4rem 0.8rem;
    }
    
    .feature-text {
        font-size: 0.8rem;
    }
    
    .results-main-button {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .construction-results {
        padding: 3rem 0;
    }
    
    .results-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .results-card-content {
        padding: 1.5rem 1rem;
    }
    
    .results-card-title {
        font-size: 1.3rem;
    }
    
    .results-card-features {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .results-main-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .button-arrow {
        display: none;
    }
}


/* Flow Section - Full Width Layout */
.flow {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.flow .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e40af;
    font-weight: 700;
    padding: 0 20px;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    counter-reset: step-counter;
}

.flow-step {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    padding: 8px;
    flex-shrink: 0;
    font-size: 2.5rem;
    color: #1e40af;
}

.step-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flow-step h3 {
    font-size: 1.2rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1.3;
}

.flow-step p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #0ea5e9;
    font-weight: bold;
    flex-shrink: 0;
    margin: 0 0.25rem;
}

/* ステップ番号の追加 */
.flow-step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #0ea5e9;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.flow-arrow {
    counter-increment: none;
}

.flow-arrow::before {
    display: none;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: #fff;
}

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

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: #f8fafc;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.faq-question:hover {
    background: #e0f2fe;
    color: #0ea5e9;
}

.faq-question:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #0ea5e9;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: #0ea5e9;
    color: white;
}

.faq-item.active .faq-question {
    background: #dbeafe;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background: white;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    overflow: visible;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.faq-item.active {
    margin-bottom: 1.5rem;
}

/* CTA Section - 3つのお問い合わせボタン対応 */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
    color: white;
    text-align: center;
}

.cta .section-title {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* お問い合わせ方法カード */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
}

.contact-method-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* アイコン */
.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.phone-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.email-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.form-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* タイトルと説明 */
.contact-method-title {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-method-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 連絡先情報 */
.contact-method-info {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.phone-hours {
    color: #64748b;
    font-size: 0.9rem;
}

.email-address {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.email-note {
    color: #64748b;
    font-size: 0.9rem;
}

.form-features {
    margin-bottom: 0.5rem;
}

.feature-tag {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0.25rem;
}

.form-note {
    color: #64748b;
    font-size: 0.9rem;
}

/* ボタンスタイル */
.contact-method-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    max-width: 280px;
}

.phone-button {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.phone-button:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.email-button {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.email-button:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.form-button {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.form-button:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.button-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.contact-method-button:hover .button-arrow {
    transform: translateX(3px);
}

/* 追加情報 */
.contact-additional-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-notice h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-notice ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-notice li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .contact-method-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .contact-method-title {
        font-size: 1.3rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
    
    .email-address {
        font-size: 1rem;
    }
    
    .contact-method-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-additional-info {
        padding: 1.5rem;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .cta {
        padding: 3rem 0;
    }
    
    .cta-description {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .contact-method-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .contact-method-title {
        font-size: 1.2rem;
    }
    
    .phone-number {
        font-size: 1.3rem;
    }
    
    .contact-method-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .feature-tag {
        display: block;
        margin: 0.25rem 0;
    }
}


/* Footer - 会社情報追加版 */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* 会社情報セクション */
.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    margin-bottom: 0;
}

.footer-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.footer-logo img:hover {
    opacity: 0.8;
}

.company-details h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.company-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* お問い合わせ情報セクション */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #0ea5e9;
    padding-bottom: 0.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid #0ea5e9;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 50%;
}

.contact-details {
    flex: 1;
}

.contact-label {
    color: #0ea5e9;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: #0ea5e9;
    border-bottom-color: #0ea5e9;
}

.contact-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0;
}

/* リンクセクション */
.footer-links-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.links-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #0ea5e9;
    padding-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.footer-links a:hover {
    color: white;
    border-left-color: #0ea5e9;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 5px 5px 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-policies {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: #0ea5e9;
}

.separator {
    color: rgba(255, 255, 255, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-links-section {
        grid-column: 1 / -1;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-item {
        text-align: left;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .company-details h4 {
        font-size: 1.1rem;
    }
    
    .contact-title,
    .links-title {
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-links a {
        text-align: center;
        padding: 0.75rem;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
    
    .footer-links a:hover {
        border-left: none;
        background: rgba(255, 255, 255, 0.1);
    }
}


/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    transition: top 0.3s;
    border-radius: 4px;
}

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

/* Keyboard Navigation */
.keyboard-navigation *:focus {
    outline: 2px solid #0ea5e9 !important;
    outline-offset: 2px !important;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .flow-steps {
        gap: 0.25rem;
        padding: 0 15px;
    }
    
    .flow-step {
        padding: 1.75rem 1.25rem;
        min-width: 120px;
        max-width: 180px;
    }
    
    .step-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }
    
    .step-icon img {
        width: 40px;
        height: 40px;
    }
    
    .flow-step h3 {
        font-size: 1.1rem;
    }
    
    .flow-step p {
        font-size: 0.85rem;
    }
}

@media (max-width: 1200px) {
    .nav-list {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .features-grid {
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .feature-card {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }
    
    .feature-icon img {
        width: 40px;
        height: 40px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .flow-steps {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .flow-step {
        min-width: 200px;
        max-width: 250px;
        height: 250px;
    }
    
    .flow-arrow {
        display: none;
    }
    
    .step-icon {
        width: 64px;
        height: 64px;
    }
    
    .step-icon img {
        width: 48px;
        height: 48px;
    }
    
    .flow-step:nth-child(1),
    .flow-step:nth-child(3),
    .flow-step:nth-child(5) {
        order: 1;
    }
    
    .flow-step:nth-child(7),
    .flow-step:nth-child(9),
    .flow-step:nth-child(11) {
        order: 2;
    }
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 15px;
    }
    
    .feature-card {
        min-height: 280px;
    }
    
    .problem-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .problem-item {
        padding: 2rem 1.5rem;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .floating-cta {
        display: block;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .header-container {
        height: 70px;
    }
    
    .header-logo img {
        height: 50px;
    }
    
    body {
        padding-top: 70px;
    }
    
    /* ヒーローセクション - モバイル対応 */
    .hero {
        background-attachment: scroll; /* モバイルでfixed効果を無効化 */
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-background-overlay {
        background: linear-gradient(
            135deg, 
            rgba(56, 189, 248, 0.18) 0%, 
            rgba(125, 211, 252, 0.15) 100%
        ); /* モバイルでは少し濃く */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.6),
            0 1px 2px rgba(0, 0, 0, 0.8); /* モバイルでテキストシャドウを強化 */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .before-after {
        flex-direction: column;
        gap: 1rem;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-video {
        order: -1;
    }
    
    .video-container {
        margin: 0 -10px;
    }
    
    .works-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .feature-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
    }
    
    .feature-icon img {
        width: 36px;
        height: 36px;
    }
    
    .problem {
        padding: 3rem 0;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .problem-item {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .problem-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }
    
    .problem-icon img {
        width: 40px;
        height: 40px;
    }
    
    .problem-item h3 {
        font-size: 1.3rem;
    }
    
    .construction-results {
        padding: 3rem 0;
    }
    
    .results-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .results-main-button {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }
    
    .flow {
        padding: 3rem 0;
    }
    
    .flow .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .flow-steps {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .flow-step {
        min-width: auto;
        max-width: 100%;
        height: auto;
        padding: 2rem;
    }
    
    .step-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 1.5rem;
    }
    
    .step-icon img {
        width: 56px;
        height: 56px;
    }
    
    .flow-step h3 {
        font-size: 1.3rem;
    }
    
    .flow-step p {
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button.large {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-main-button {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.25rem;
    }
    
    .faq-icon {
        width: 20px;
        height: 20px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .header-logo img {
        height: 40px;
    }
    
    .mobile-menu {
        width: 280px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: 70vh;
    }
    
    .hero-background-overlay {
        background: linear-gradient(
            135deg, 
            rgba(56, 189, 248, 0.2) 0%, 
            rgba(125, 211, 252, 0.18) 100%
        );
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        text-shadow: 
            0 2px 6px rgba(0, 0, 0, 0.7),
            0 1px 3px rgba(0, 0, 0, 0.9);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .before img, .after img {
        max-width: 100%;
    }
    
    .problem-item {
        padding: 1.5rem 1rem;
    }
    
    .problem-icon {
        width: 48px;
        height: 48px;
    }
    
    .problem-icon img {
        width: 32px;
        height: 32px;
    }
    
    .problem-item h3 {
        font-size: 1.2rem;
    }
    
    .problem-item p {
        font-size: 0.9rem;
    }
    
    .features {
        padding: 2rem 0;
    }
    
    .features .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .feature-icon img {
        width: 32px;
        height: 32px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-tech {
        font-size: 0.85rem;
    }
    
    .feature-card p:last-child {
        font-size: 0.9rem;
    }
    
    .results-main-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .button-arrow {
        display: none;
    }
    
    .flow {
        padding: 2rem 0;
    }
    
    .flow .section-title {
        font-size: 1.8rem;
    }
    
    .flow-step {
        padding: 1.5rem;
    }
    
    .step-icon {
        width: 64px;
        height: 64px;
    }
    
    .step-icon img {
        width: 48px;
        height: 48px;
    }
    
    .flow-step h3 {
        font-size: 1.2rem;
    }
    
    .flow-step p {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-info p {
        font-size: 0.8rem;
    }
    
    .contact-main-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .faq {
        padding: 3rem 0;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    .cta-button.primary {
        background: #000;
        border-color: #000;
    }
    
    .cta-button.secondary {
        border-width: 3px;
    }
}

/* Print styles */
@media print {
    .floating-cta,
    .hero-cta,
    .cta-buttons,
    .header,
    .mobile-menu-overlay {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        padding-top: 0;
    }
    
    .section-title {
        font-size: 18pt;
    }
}

/* Dynamic styling for JavaScript functionality */
.keyboard-navigation *:focus {
    outline: 3px solid #0ea5e9 !important;
    outline-offset: 2px !important;
}

.loaded {
    opacity: 1 !important;
}

.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

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

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