@charset "utf-8";
:root {
    --primary: #1a2b5f;
    --primary-dark: #0f1a3a;
    --accent: #e63946;
    --accent-light: #ff6b6b;
    --success: #2ecc71;
    --warning: #f39c12;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #1a2b5f 0%, #2d4a8c 100%);
    --text-dark: #1a1a2e;
    --text-muted: #64748b;
    --card-shadow: 0 4px 24px rgba(26, 43, 95, 0.1);
    --card-shadow-hover: 0 8px 40px rgba(26, 43, 95, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    padding-bottom: 70px;
    line-break: strict;
    word-break: auto-phrase;
    overflow-wrap: anywhere;
}

.video-wrapper {
    max-width: 900px;
    margin: 3rem auto 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo img {
    width:200px;
}

.header-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

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

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url(img/hero-bg.jpg) center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 10rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle .highlight {
    color: #4ECDC4;
}

.hero-badge-new {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease 0.15s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero-btn {
    height: 60px;
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-visual img {
    width: 100%;
    height: auto;
    max-width: 600px;
}

/* Sections */
section {
    padding: 4rem 2rem;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(26, 43, 95, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Problems Section */
.problems {
    background: var(--bg-light);
}

.risk-impact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.risk-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.risk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--accent);
}

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

.risk-card.time-cost::before {
    background: var(--warning);
}

.risk-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.risk-icon img {
    width: 80px;
}

.risk-label {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.risk-value {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.risk-card.time-cost .risk-value {
    color: var(--warning);
}

.risk-unit {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.risk-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

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

.problem-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: #ffebee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.x-mark {
    position: relative;
    width: 20px;
    height: 20px;
}

.x-mark::before,
.x-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.x-mark::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.x-mark::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.problem-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.problem-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    padding-left: 64px;
}

/* Detection Section */
.detection {
    background: white;
}

.detection-feature {
    display: flex;
    align-items: center;
    gap: 4rem;
}

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

.detection-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top:20px;
}

.detection-content img {
    width: 80%;
}

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

/* 2列グリッド(画像付きカード用) */
.features-grid-with-image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* 3列グリッド(アイコンカード用) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* 画像付き大型カード */
.feature-card-large {
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.feature-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f5f5f5;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 2rem;
}

/* 既存の小型カード(アイコン用) */
.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 90%;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Harassment Detection Section (統合版) */
.harassment-detection {
    background: var(--bg-light);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.type-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

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

.type-card:nth-child(1) {
    border-left-color: var(--accent);
}

.type-card:nth-child(2) {
    border-left-color: #9c27b0;
}

.type-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.type-icon {
    width: 48px;
    flex-shrink: 0;
}

.type-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.type-description {
    font-size: 1rem;
    color: var(--text-muted);
    padding-left: 64px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.tech-card:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
}

.tech-card:hover .tech-icon {
    background: rgba(255, 255, 255, 0.2);
}

.tech-card:hover .tech-title,
.tech-card:hover .tech-text {
    color: white;
}

.tech-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.tech-icon img {
    width: 40px;
}

.tech-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.tech-text {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* AI × Expert Section */
.ai-expert {
    background: white;
}

.ai-expert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.ai-expert-card {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.ai-expert-card-header {
    background: var(--bg-gradient);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
}

.ai-expert-card-body {
    padding: 2rem;
}

.ai-step {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
}

.ai-step.highlight {
    background: #fff9e6;
    border: 2px solid #f39c12;
}

.ai-step-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.ai-step-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ai-step-connector {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    padding: 0.75rem 0;
}

.expert-lead {
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.expert-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.expert-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.expert-icon img {
    width: 120px;
}

.expert-info {
    flex: 1;
}

.expert-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.expert-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.expert-title {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.expert-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.expert-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.expert-sub {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
}

.expert-sub-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.expert-sub-icon img {
    width: 60px;
}
.expert-sub-icon01 img {
    width: 48px;
}

.expert-sub-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.expert-sub-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.ai-expert-footer {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    padding: 1.5rem;
    background: linear-gradient(90deg, rgba(26, 43, 95, 0.05) 0%, rgba(26, 43, 95, 0.1) 50%, rgba(26, 43, 95, 0.05) 100%);
    border-radius: 12px;
}

/* Reasons Section */
.reasons {
    background: white;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.reason-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

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

.reason-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reason-number {
    width: 40px;
    height: 40px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.reason-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.reason-body {
    text-align: center;
}

.reason-img {
    max-width: 110px;
    height: auto;
    margin-bottom: 1rem;
}

.reason-img.reason-img03{
    max-width: 72px;
}

.reason-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Pricing Section */
.pricing {
    background: var(--bg-light);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--bg-gradient);
}

.pricing-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-number {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    color: var(--primary);
}

.pricing-unit {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-detail {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.pricing-detail-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.pricing-detail-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.pricing-example {
    padding: 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.pricing-example-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.pricing-example-value {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Flow Section */
.flow {
    background: white;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #e0e0e0;
    z-index: 0;
}

.flow-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.flow-icon img {
    width: 40px;
}

.flow-icon01 img, .flow-icon02 img {
    width: 34px;
}

.flow-number {
    position: absolute;
    top: -8px;
    right: calc(50% - 52px);
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.flow-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.flow-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    background: var(--bg-gradient);
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.9;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

.footer-badge img {
    width: 200px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a, .footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* CTA Button Section (セクション間用) */
.cta-button-section {
    padding: 2.5rem 2rem;
    background: #f8f9fa;
    text-align: center;
}

/* CTA Button Wrap (セクション内用) */
.cta-button-wrap {
    margin-top: 2rem;
    text-align: center;
}

/* Large CTA Button */
.btn-large {
    font-size: 1.125rem;
    padding: 1rem 3rem;
    min-width: 280px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

/* Fixed Bottom CTA Bar */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    text-align: center;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.fixed-bottom-bar.is-visible {
    transform: translateY(0);
}

.btn-fixed {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 100px;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 9rem 2rem 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid-with-image,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .risk-impact,
    .features-grid,
    .tech-grid,
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-badges {
        display: none;
    }

    .hero {
        padding: 8rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-badges {
        justify-content: center;
        gap: 0.75rem;
    }

    .hero-badge {
        height: 36px;
        width: auto;
    }

    .hero-btn {
        height: 50px;
    }

    section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .risk-impact,
    .problems-grid,
    .features-grid,
    .types-grid,
    .tech-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .features-grid-with-image,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-image {
        height: 200px;
    }

    .feature-content {
        padding: 1.5rem;
    }

    .detection-feature {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .ai-expert-grid {
        grid-template-columns: 1fr;
    }

    .expert-sub-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-details {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-button-section {
        padding: 2rem 1rem;
    }

    .cta-button-wrap {
        margin-top: 2rem;
    }

    .btn-large {
        font-size: 1rem;
        padding: 0.875rem 2rem;
        min-width: 240px;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        height: 32px;
    }

    .btn-large {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
        min-width: 200px;
    }

    .risk-value {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.625rem;
    }
}

/* ============================
   日本語テキスト折り返し最適化
   ============================ */

/* 見出し系: text-wrap: balance で行の長さを均等にし、短い孤立行を防ぐ */
.hero-title,
.section-title,
.problem-title,
.feature-title,
.type-title,
.tech-title,
.reason-title,
.cta-title,
.ai-expert-card-header,
.ai-step-title,
.expert-role,
.expert-sub-role {
    text-wrap: balance;
}

/* 本文・説明文: text-wrap: pretty で最終行の孤立文字を防ぐ */
.problem-text,
.feature-description,
.type-description,
.tech-text,
.reason-text,
.risk-detail,
.cta-subtitle,
.section-description,
.detection-content p,
.ai-step-text,
.expert-desc,
.expert-sub-desc,
.expert-lead,
.ai-expert-footer {
    text-wrap: pretty;
}

/* ラベル・短い固定フレーズ: 折り返さない */
.risk-label,
.risk-unit,
.pricing-label,
.pricing-detail-label,
.pricing-detail-value,
.pricing-example-label,
.pricing-example-value,
.flow-title,
.flow-text {
    white-space: nowrap;
}
