/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* ヒーローセクション */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-align: center;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 48px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-image {
    max-width: 1200px;
    margin: 0 auto;
}

/* 画像カード共通スタイル */
.image-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
}

.image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.image-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: zoom-in;
    transition: opacity 0.3s ease;
    display: block;
}

.image-card img:hover {
    opacity: 0.9;
}

/* ズームヒント */
.zoom-hint {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-card:hover .zoom-hint {
    opacity: 1;
}

.zoom-hint svg {
    width: 16px;
    height: 16px;
}

/* 機能セクション */
.feature-section {
    padding: 100px 0;
    border-bottom: 1px solid #e5e7eb;
}

.feature-section:nth-child(even) {
    background-color: #fafbfc;
}

/* 2カラムレイアウト */
.content-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1320px;
    margin: 0 auto;
}

/* 通常セクション: テキスト左、画像右 */
.feature-section:not(.feature-reverse) .content-wrapper {
    flex-direction: row;
}

.feature-section:not(.feature-reverse) .text-content {
    flex: 0 0 420px;
    max-width: 420px;
}

.feature-section:not(.feature-reverse) .image-content {
    flex: 1;
    min-width: 0;
}

/* 反転セクション: 画像左、テキスト右 */
.feature-reverse .content-wrapper {
    flex-direction: row;
}

.feature-reverse .text-content {
    flex: 0 0 420px;
    max-width: 420px;
    order: 2;
}

.feature-reverse .image-content {
    flex: 1;
    min-width: 0;
    order: 1;
}

.text-content {
    padding: 0 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1f2937;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.section-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 2;
    letter-spacing: 0.03em;
}

/* テキスト強調スタイル */
.section-text strong {
    font-weight: 700;
    color: #1f2937;
    background: linear-gradient(transparent 60%, #fef08a 60%);
    padding: 0 4px;
}

/* アクセントカラー（タイトル用） */
.accent {
    color: #667eea;
    font-weight: 700;
}

/* ハイライト（本文用） - 水色 */
.highlight {
    background: linear-gradient(transparent 60%, #a5f3fc 60%);
    padding: 2px 6px;
    font-weight: 600;
    color: #1f2937;
}

/* ハイライト（本文用） - 紫色 */
.highlight-purple {
    background: linear-gradient(transparent 60%, #e9d5ff 60%);
    padding: 2px 6px;
    font-weight: 600;
    color: #1f2937;
}

/* ハイライト（本文用） - 緑色 */
.highlight-green {
    background: linear-gradient(transparent 60%, #bbf7d0 60%);
    padding: 2px 6px;
    font-weight: 600;
    color: #1f2937;
}

/* バッジスタイル（非推奨 - 互換性のため残す） */
.badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    margin: 0 2px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.image-content {
    width: 100%;
}

/* クロージングセクション */
.closing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-align: center;
}

.closing-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.5;
}

.closing-text {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
}

/* フッター */
.footer {
    padding: 40px 0;
    background-color: #1f2937;
    color: #ffffff;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
}

/* ライトボックス */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: min(1400px, 96vw);
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }

    .content-wrapper {
        gap: 60px;
    }

    .feature-section:not(.feature-reverse) .text-content,
    .feature-reverse .text-content {
        flex: 0 0 380px;
        max-width: 380px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-text {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column !important;
        gap: 48px;
        max-width: 800px;
    }

    .feature-section:not(.feature-reverse) .text-content,
    .feature-section:not(.feature-reverse) .image-content,
    .feature-reverse .text-content,
    .feature-reverse .image-content {
        flex: 1 1 auto;
        max-width: 100%;
        order: 0;
    }

    .text-content {
        padding: 0;
        text-align: center;
    }

    .section-title {
        font-size: 26px;
    }

    .section-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .content-wrapper {
        gap: 40px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-text {
        font-size: 16px;
    }

    .feature-section {
        padding: 60px 0;
    }

    .closing-section {
        padding: 60px 0;
    }

    .closing-title {
        font-size: 28px;
    }

    .closing-text {
        font-size: 16px;
    }

    .lightbox-close {
        top: -35px;
        font-size: 35px;
    }
}

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

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .image-card {
        padding: 12px;
        border-radius: 12px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-text {
        font-size: 15px;
    }

    .badge {
        font-size: 14px;
        padding: 3px 10px;
    }

    .closing-title {
        font-size: 24px;
    }

    .closing-text {
        font-size: 15px;
    }

    .zoom-hint {
        padding: 6px 10px;
        font-size: 11px;
        bottom: 20px;
        right: 20px;
    }

    .zoom-hint svg {
        width: 14px;
        height: 14px;
    }

    .lightbox {
        padding: 10px;
    }

    .lightbox-close {
        top: -30px;
        font-size: 30px;
    }
}
