/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary-blue: #1E88E5;
    --primary-green: #43A047;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 12px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

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

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(30, 136, 229, 0.9) 0%, rgba(67, 160, 71, 0.9) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%23ffffff" width="1920" height="1080"/><g fill-opacity="0.03"><polygon points="1920 0 0 0 0 540"/><polygon points="0 1080 1920 1080 1920 540"/></g></svg>');
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 48px;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-blue);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

/* セクション共通スタイル */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-color);
    line-height: 1.4;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
}

/* 現状と未来のギャップセクション */
.gap-section {
    background-color: var(--light-gray);
}

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

.stat-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(67, 160, 71, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-unit {
    font-size: 20px;
    color: var(--primary-blue);
    font-weight: 600;
}

.stat-label {
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0;
    color: var(--text-color);
}

.stat-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* AI活用の具体例セクション */
.examples-section {
    background: var(--white);
}

.example-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.example-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.card-header {
    padding: 24px;
    color: var(--white);
    font-size: 20px;
}

.card-header.automation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-header.analysis {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
}

.card-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.card-content {
    padding: 32px;
}

.benefit-list {
    list-style: none;
    margin-bottom: 24px;
}

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

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

.card-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.result-arrow {
    font-size: 24px;
    color: var(--primary-blue);
}

.card-result p {
    font-weight: 700;
    color: var(--primary-blue);
}

/* 独自の価値提案セクション */
.unique-section {
    background: var(--light-gray);
}

.unique-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.radar-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.chart-wrapper {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.legend-color {
    width: 20px;
    height: 4px;
    border-radius: 2px;
}

.diagnosis-info {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 400px;
    width: 100%;
}

.diagnosis-info h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.diagnosis-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.diagnosis-points {
    list-style: none;
}

.diagnosis-points li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
    font-size: 14px;
}

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

.diagnosis-points li strong {
    color: var(--text-color);
    font-weight: 600;
}

.diagnosis-cta {
    margin-top: 24px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(67, 160, 71, 0.1) 100%);
    border-radius: 8px;
    text-align: center;
}

.cta-text {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.inline-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-green);
}

.cta-text .highlight {
    color: var(--primary-blue);
    font-weight: 700;
    background: linear-gradient(135deg, #1E88E5 0%, #43A047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#radarChart {
    width: 100%;
    height: auto;
}

.unique-description h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-color);
}

.score-list {
    list-style: none;
    margin-bottom: 32px;
}

.score-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
}

.score-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

.unique-benefit {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    padding: 20px;
    background: var(--white);
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
}

/* 導入メリットセクション */
.benefits-section {
    background: var(--white);
}

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

.benefit-item {
    text-align: center;
    padding: 32px;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(67, 160, 71, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-color);
}

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

.timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 32px;
    background: var(--light-gray);
    border-radius: 16px;
}

.timeline-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 48px;
    color: var(--text-color);
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-items::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-marker {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 16px;
}

.timeline-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* クロージングセクション */
.closing-section {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(67, 160, 71, 0.05) 100%);
    padding: 100px 0;
}

.closing-title {
    font-size: clamp(28px, 4vw, 36px);
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-color);
    line-height: 1.5;
}

.closing-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 64px;
}

/* フォーム */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.required {
    color: #e53935;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background-color: var(--light-gray);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
}

.submit-button {
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-blue);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.submit-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.form-note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

/* フッター */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 32px 0;
    text-align: center;
}

/* アニメーション */
@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 scroll {
    0% {
        opacity: 0;
        top: 8px;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-bounce {
    animation: bounceIn 0.8s ease-out 0.6s both;
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 18px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .example-cards {
        grid-template-columns: 1fr;
    }
    
    .unique-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .radar-container {
        flex-direction: column;
    }
    
    .chart-wrapper {
        max-width: 100%;
    }
    
    .diagnosis-info {
        max-width: 100%;
    }
    
    .timeline-items {
        flex-direction: column;
        gap: 32px;
    }
    
    .timeline-items::before {
        display: none;
    }
    
    .form-container {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .stat-card {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .form-container {
        padding: 24px 16px;
    }
}