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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* CSS Variables */
:root {
    --primary-color: #26A7E1;
    --primary-dark: #1e88c7;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e9ecef;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 25px rgba(0,0,0,0.15);
    --gradient: linear-gradient(135deg, #26A7E1 0%, #4FC3F7 100%);
    --section-padding: 80px 0;
    --container-width: 1200px;
}

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

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.5;
}

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

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

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* Hero Section - フルサイズ背景 & オーバーレイ版 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    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-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(38, 167, 225, 0.7) 0%,
        rgba(38, 167, 225, 0.5) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: heroTitleFadeIn 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: heroSubtitleFadeIn 1s ease-out 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroCTAFadeIn 1s ease-out 0.6s both;
}

.hero-cta .btn {
    min-width: 180px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-cta .btn-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.hero-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* アニメーション */
@keyframes heroTitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* パララックス効果（オプション） */
.hero:hover .hero-bg-image {
    transform: scale(1.05);
}

/* スクロールダウンインジケーター */
.hero::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    z-index: 4;
    animation: scrollIndicator 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% {
        opacity: 0.4;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .hero {
        min-height: 500px;
        max-height: 700px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 450px;
        max-height: 600px;
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
        max-height: 500px;
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-cta .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(38, 167, 225, 0.8) 0%,
            rgba(38, 167, 225, 0.6) 50%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }
}

/* 動きを少なくする設定 */
@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-bg-image {
        animation: none;
        transition: none;
    }
    
    .hero::after {
        animation: none;
    }
    
    .hero:hover .hero-bg-image {
        transform: none;
    }
}

/* フォーカス表示の改善 */
.hero-cta .btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

/* 印刷時の調整 */
@media print {
    .hero {
        height: auto;
        min-height: auto;
        max-height: none;
        page-break-inside: avoid;
    }
    
    .hero-background,
    .hero-overlay {
        display: none;
    }
    
    .hero-content-wrapper {
        color: black;
        background: white;
        padding: 2rem;
    }
    
    .hero-title,
    .hero-subtitle {
        text-shadow: none;
    }
}
/* 水泡アニメーション */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: bubble-float linear infinite;
    opacity: 0;
    backdrop-filter: blur(2px);
    box-shadow: 
        inset 0 0 10px rgba(255, 255, 255, 0.1),
        0 0 10px rgba(38, 167, 225, 0.2);
}

/* 各水泡のサイズとアニメーション設定 */
.bubble:nth-child(1) {
    width: 20px;
    height: 20px;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 15px;
    height: 15px;
    left: 20%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 25px;
    height: 25px;
    left: 30%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 12px;
    height: 12px;
    left: 40%;
    animation-duration: 9s;
    animation-delay: 0.5s;
}

.bubble:nth-child(5) {
    width: 18px;
    height: 18px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 1.5s;
}

.bubble:nth-child(6) {
    width: 22px;
    height: 22px;
    left: 60%;
    animation-duration: 8.5s;
    animation-delay: 3s;
}

.bubble:nth-child(7) {
    width: 16px;
    height: 16px;
    left: 70%;
    animation-duration: 9.5s;
    animation-delay: 0.8s;
}

.bubble:nth-child(8) {
    width: 14px;
    height: 14px;
    left: 80%;
    animation-duration: 10.5s;
    animation-delay: 2.2s;
}

.bubble:nth-child(9) {
    width: 28px;
    height: 28px;
    left: 15%;
    animation-duration: 7.5s;
    animation-delay: 1.8s;
}

.bubble:nth-child(10) {
    width: 13px;
    height: 13px;
    left: 25%;
    animation-duration: 9.8s;
    animation-delay: 0.3s;
}

.bubble:nth-child(11) {
    width: 19px;
    height: 19px;
    left: 35%;
    animation-duration: 8.8s;
    animation-delay: 2.5s;
}

.bubble:nth-child(12) {
    width: 17px;
    height: 17px;
    left: 45%;
    animation-duration: 10.2s;
    animation-delay: 1.2s;
}

.bubble:nth-child(13) {
    width: 21px;
    height: 21px;
    left: 55%;
    animation-duration: 7.8s;
    animation-delay: 3.2s;
}

.bubble:nth-child(14) {
    width: 24px;
    height: 24px;
    left: 65%;
    animation-duration: 9.2s;
    animation-delay: 0.7s;
}

.bubble:nth-child(15) {
    width: 26px;
    height: 26px;
    left: 85%;
    animation-duration: 8.2s;
    animation-delay: 2.8s;
}

/* 水泡の浮上アニメーション */
@keyframes bubble-float {
    0% {
        bottom: -50px;
        opacity: 0;
        transform: translateX(0) rotate(0deg) scale(0.5);
    }
    10% {
        opacity: 0.6;
        transform: translateX(10px) rotate(36deg) scale(0.8);
    }
    20% {
        opacity: 0.8;
        transform: translateX(-10px) rotate(72deg) scale(1);
    }
    30% {
        opacity: 1;
        transform: translateX(15px) rotate(108deg) scale(1.1);
    }
    40% {
        opacity: 0.9;
        transform: translateX(-5px) rotate(144deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(8px) rotate(180deg) scale(0.9);
    }
    60% {
        opacity: 0.7;
        transform: translateX(-12px) rotate(216deg) scale(1);
    }
    70% {
        opacity: 0.6;
        transform: translateX(6px) rotate(252deg) scale(1.05);
    }
    80% {
        opacity: 0.5;
        transform: translateX(-8px) rotate(288deg) scale(0.95);
    }
    90% {
        opacity: 0.3;
        transform: translateX(4px) rotate(324deg) scale(0.8);
    }
    100% {
        bottom: 110vh;
        opacity: 0;
        transform: translateX(0) rotate(360deg) scale(0.5);
    }
}

/* 水泡のぷるぷる効果 */
@keyframes bubble-wobble {
    0%, 100% {
        border-radius: 50%;
    }
    25% {
        border-radius: 45% 55% 50% 50%;
    }
    50% {
        border-radius: 50% 50% 45% 55%;
    }
    75% {
        border-radius: 55% 45% 55% 45%;
    }
}

/* 一部の水泡にぷるぷる効果を追加 */
.bubble:nth-child(odd) {
    animation-name: bubble-float, bubble-wobble;
    animation-duration: inherit, 2s;
    animation-delay: inherit, 0s;
    animation-iteration-count: infinite, infinite;
    animation-timing-function: linear, ease-in-out;
}

/* ホバー時の水泡速度変化 */
.hero:hover .bubble {
    animation-play-state: paused;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .bubble {
        transform: scale(0.8);
    }
    
    .bubble:nth-child(n+11) {
        display: none; /* モバイルでは水泡数を減らす */
    }
}

@media (max-width: 480px) {
    .bubble {
        transform: scale(0.6);
    }
    
    .bubble:nth-child(n+8) {
        display: none; /* 小さい画面ではさらに減らす */
    }
}

/* 動きを少なくする設定 */
@media (prefers-reduced-motion: reduce) {
    .bubble {
        animation: none !important;
        opacity: 0.1;
        position: static;
    }
    
    .bubbles-container {
        display: none;
    }
}

/* 高性能デバイス向けの追加効果 */
@media (min-width: 1200px) and (-webkit-min-device-pixel-ratio: 2) {
    .bubble {
        box-shadow: 
            inset 0 0 15px rgba(255, 255, 255, 0.15),
            0 0 15px rgba(38, 167, 225, 0.25),
            0 0 30px rgba(255, 255, 255, 0.1);
    }
    
    .bubble::before {
        content: '';
        position: absolute;
        top: 20%;
        left: 25%;
        width: 30%;
        height: 30%;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        filter: blur(1px);
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .bubble {
        background: rgba(38, 167, 225, 0.1);
        border-color: rgba(38, 167, 225, 0.3);
        box-shadow: 
            inset 0 0 10px rgba(38, 167, 225, 0.1),
            0 0 10px rgba(38, 167, 225, 0.3);
    }
}


/* Section */
.section {
    padding: var(--section-padding);
}

.section:nth-child(even) {
    background: var(--secondary-color);
}

/* About Section - 画像スライダー対応版 */
.about {
    background: #f8f9fa;
    padding: var(--section-padding);
}

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

.about-text {
    padding-right: 2rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}



/* 画像スライダー */
.about-image {
    position: relative;
}

.image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.slide-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 20px;
}

.slide-image.active {
    opacity: 1;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(38, 167, 225, 0.5);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.slider-play-pause {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
}

.slider-play-pause:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.slider-play-pause:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* プログレスバー */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 0 20px 20px;
}

/* アニメーション効果 */
@keyframes slideProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.slide-progress.animating {
    animation: slideProgress 2s linear;
}

/* ホバー時の効果 */
.image-slider:hover .slider-controls {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.image-slider .slider-controls {
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        padding-right: 0;
        text-align: center;
    }
    
    .slide-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .about-content {
        gap: 2rem;
    }
    
    .slide-container {
        height: 280px;
    }
    
    .slider-controls {
        bottom: 15px;
        padding: 8px 16px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-play-pause {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .about-text {
        padding: 0 1rem;
    }
    
    .slide-container {
        height: 220px;
    }
    
    .slider-controls {
        bottom: 10px;
        padding: 6px 12px;
        gap: 10px;
    }
    
    .about-features li {
        font-size: 1rem;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .slide-image {
        transition: none;
    }
    
    .dot,
    .slider-play-pause {
        transition: none;
    }
    
    .slide-progress {
        animation: none;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .about {
        background: #1a1a1a;
    }
    
    .slider-controls {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .dot {
        background: rgba(255, 255, 255, 0.3);
    }
    
    .dot.active {
        background: var(--primary-color);
    }
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Technology Section - 画像垂直中央揃え版 */
.technology-content {
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    gap: 4rem;
    margin-top: 3rem;
}

.technology-diagram {
    flex: 0 0 45%; /* 幅を固定 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.technology-diagram img {
    max-height: 350px; /* 画像の最大高さを制限 */
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.technology-features {
    flex: 1; /* 残りのスペースを使用 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦方向の中央揃え */
}

.technology-features h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.feature-list {
    margin: 0 0 2rem 0;
}

.feature-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cost-benefits {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gradient);
    color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.cost-benefits h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.cost-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cost-benefits li {
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.cost-benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .technology-content {
        flex-direction: column;
        align-items: stretch;
        gap: 3rem;
    }
    
    .technology-diagram {
        flex: none;
        order: -1; /* 画像を上に移動 */
    }
    
    .technology-diagram img {
        max-height: 300px;
    }
    
    .technology-features {
        order: 1;
    }
}

@media (max-width: 768px) {
    .technology-content {
        gap: 2rem;
    }
    
    .technology-diagram img {
        max-height: 250px;
    }
    
    .feature-item {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
    }
    
    .cost-benefits {
        padding: 1.5rem;
    }
    
    .technology-features h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .technology-diagram img {
        max-height: 200px;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .cost-benefits {
        padding: 1.2rem;
    }
    
    .cost-benefits h4 {
        font-size: 1.1rem;
    }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .technology-diagram img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .feature-item {
        transition: none;
    }
    
    .feature-item:hover {
        transform: none;
    }
}


/* Products Section */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

.comparison-table tr:hover {
    background: #f8f9fa;
}

/* Options Section - 独立セクション */
.options {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

/* オプションセクション - キーボードフォーカス対応 */
.options-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 3rem;
    min-height: 400px;
    outline: none; /* デフォルトのフォーカスアウトラインを削除 */
}

.options-carousel:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 20px;
}

/* フォーカス時のヒント表示 */
.options-carousel:focus::after {
    content: "← → キーで切り替え、1-3キーで直接選択";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
}

/* キーボードヒントの既存スタイル強化 */
.keyboard-hint {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(38, 167, 225, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(38, 167, 225, 0.2);
}

.keyboard-hint p {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}


.option-card {
    display: none;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease, opacity 0.5s ease;
    border: 2px solid transparent;
}

.option-card.active {
    display: flex;
    animation: slideIn 0.5s ease-out;
}

.option-card:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(38, 167, 225, 0.2);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.option-image {
    flex: 0 0 45%;
}

.option-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.option-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.option-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.option-features {
    list-style: none;
    padding: 0;
}


/* Carousel Navigation */
.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

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

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.indicator:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.keyboard-hint {
    text-align: center;
    margin-top: 2rem;
}

.keyboard-hint p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .option-card {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    
    .option-image {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .option-image img {
        height: 200px;
    }
    
    .option-content {
        padding-left: 0;
    }
    
    .option-content h3 {
        font-size: 1.5rem;
    }
    
    .carousel-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .option-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .option-image img {
        height: 160px;
    }
    
    .option-content h3 {
        font-size: 1.3rem;
    }
    
    .option-description {
        font-size: 1rem;
    }
    
    .options-carousel {
        min-height: 300px;
    }
}

/* Case Studies Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.case-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.case-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.case-category ul {
    list-style: none;
}

.case-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.case-category li:last-child {
    border-bottom: none;
}

.manufacturer-info {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 15px;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

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

.process-cta {
    text-align: center;
    margin-top: 3rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item[data-open="true"] .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item[data-open="true"] .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem;
}

/* Contact Section - 修正版 */
.contact {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-card .btn {
    margin-bottom: 1rem;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0 !important;
    margin-top: 0.5rem;
}

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

.company-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.company-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.company-info p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-card .btn {
        min-width: auto;
        width: 100%;
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .company-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-card p {
        font-size: 0.95rem;
    }
    
    .contact-icon svg {
        width: 50px;
        height: 50px;
    }
}

/* 外部リンクアイコンのスタイル */
.contact-card .btn svg {
    transition: transform 0.3s ease;
}

.contact-card .btn:hover svg {
    transform: translateX(2px);
}


/* Footer - SNS削除版 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-info h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

.footer-section a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content,
    .technology-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .cases-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
}

/* 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) {
    :root {
        --primary-color: #0066cc;
        --text-color: #000;
        --text-light: #333;
        --border-color: #666;
    }
}

/* Print styles */
@media print {
    .header,
    .hero-cta,
    .contact-form,
    .footer {
        display: none;
    }
    
    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .hero {
        padding: 1rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

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

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