/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.4;
    color: #222222;
    background-color: #ffffff;
    padding: 0;
}

/* Container */
.container {
    max-width: 1008px;
    margin: 0 auto;
    /* padding: 0 216px; */
    padding: 0 16px;
}

/* Header */
.header {
    background: white;
    border-bottom: 1px solid #e5ecf6;
    padding: 20px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 155px;
}

.logo svg {
    height: 19px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.logo-image {
    height: 19px;
    width: auto;
    display: block;
}

.footer-logo .logo-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.footer-logo .logo-image {
    height: 19px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 700;
    font-size: 16px;
}

.cta-button {
    background: #2446c0;
    color: white;
    border: none;
    border-radius: 100px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.external-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* 白色にするためのフィルター */
}

/* Main Content */
.main-content {
    background: white;
}

/* Hero Section */
.hero {
    /* padding: 80px 0; */
    overflow: hidden;
}

.hero .container {
    max-width: 1440px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    position: relative;
}

.hero-image {
    position: relative;
    width: 520px;
    height: 520px;
    flex-shrink: 0;
    margin-left: -80px;
}

.ai-robot {
    width: 100%;
    height: 100%;
    background: url('images/illustrations/ai-robot-main.svg') center/contain no-repeat;
}

.hero-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 600px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, white 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 640px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -2%;
    text-align: left;
    line-height: 1.4;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -2%;
    text-align: left;
    line-height: 1.2;
}

.product-name {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    justify-content: flex-start;
}

.product-name-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.product-badge {
    background: #2446c0;
    color: white;
    padding: 1px 24px;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.product-english {
    font-size: 56px;
    font-weight: 700;
    color: #2446c0;
    letter-spacing: -2%;
    line-height: 1.2;
}

.launch-text {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -2%;
    line-height: 1.2;
    margin-bottom: 2px;
}

.hero-description {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    line-height: 1.4;
    margin-top: 8px;
}

.hero-cta {
    background: #2446c0;
    color: white;
    border: none;
    border-radius: 100px;
    padding: 16px 48px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Solution Section */
.solution {
    background: #2446c0;
    padding: 32px 0;
}

.solution-content {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    justify-content: center;
}

.solution-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -4px;
}

.solution-japanese {
    background: white;
    color: #2446c0;
    width: 100%;
    padding: 2px 24px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.solution-english {
    font-size: 48px;
    font-weight: 700;
    color: white;
    letter-spacing: -2%;
    line-height: 1.2;
}

.solution-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    line-height: 1.4;
}

/* Section Styles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 24px;
}

.mobile-br::before {
    content: none;
}

/* Problems Section */
.problems {
    background: #f6f8fc;
    padding: 80px 0;
}

.problems-grid {
    display: flex;
    gap: 16px;
}

.problem-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    flex: 1;
    box-shadow: 16px 16px 32px rgba(229, 236, 246, 1);
}

.problem-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #2446c0;
    line-height: 1.4;
}

.dotted-line {
    width: 100%;
    height: 0;
    border-top: 1px dashed #d1d5db;
}

.problem-description {
    font-size: 16px;
    text-align: left;
    line-height: 1.4;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-card {
    background: linear-gradient(135deg, #2446c0 0%, #3592EB 100%);
    border: 1px solid #d8dff7;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.feature-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: white;
    line-height: 1.4;
}

.feature-divider {
    width: 100%;
    height: 0;
    border-top: 1px dashed #5b9cf0;
}

.feature-description {
    font-size: 16px;
    text-align: left;
    color: white;
    line-height: 1.4;
}

/* Use Cases Section */
.use-cases {
    background: #f6f8fc;
    padding: 80px 0;
}

.use-cases-container {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
}

.use-case-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-shadow: 16px 16px 32px rgba(229, 236, 246, 1);
}

.use-case-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #2446c0;
    line-height: 1.4;
}

.use-case-description {
    font-size: 16px;
    text-align: left;
    line-height: 1.4;
}

.use-case-visual,
.process-visual {
    display: flex;
    justify-content: center;
    padding: 16px 0;
    width: 100%;
}

.visual-card,
.process-visual-card {
    background: white;
    border: 1px solid #d8dff7;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    gap: 32px;
    align-items: center;
    width: 1008px;
}

.ai-illustration {
    width: 360px;
    height: 316px;
    background: url('images/illustrations/ai-robot-small.svg') center/contain no-repeat;
    flex-shrink: 0;
}

.visual-content,
.process-visual-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.visual-subtitle,
.process-visual-subtitle {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -2%;
    line-height: 1.4;
}

.visual-title,
.process-visual-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -2%;
    line-height: 1.2;
}

.visual-description,
.process-visual-description {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.visual-cta,
.process-visual-cta {
    background: #2446c0;
    color: white;
    border: none;
    border-radius: 100px;
    padding: 16px 48px;
    margin-top: 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Process Section */
.process {
    padding: 80px 0;
}

.process-container {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    background: white;
    border-bottom: 1px solid #d8dff7;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.step-number {
    background: #2446c0;
    color: white;
    width: 56px;
    height: 40px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #2446c0;
    line-height: 1.4;
}

.step-description {
    font-size: 16px;
    line-height: 1.4;
}

.process-visual {
    display: flex;
    justify-content: center;
    padding: 16px 0;
    width: 100%;
}

.process-visual-card {
    background: #f6f8fc;
    border: 1px solid #d8dff7;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    gap: 32px;
    align-items: center;
    width: 1008px;
}

.process-ai-illustration {
    width: 360px;
    height: 316px;
    background: url('images/illustrations/ai-robot-cta.svg') center/contain no-repeat;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid #e5ecf6;
    padding: 40px 216px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 155px;
}

.footer-logo svg {
    height: 19px;
}

.footer-copyright {
    font-size: 12px;
    color: #000000;
    line-height: 1.4;
    text-align: center;
}

/* Responsive Design */

/* Large Desktop: 1200px以上 - デフォルトスタイル適用 */

/* タブレット: 768px - 1199px */
@media (max-width: 1199px) {
    .container {
        padding: 0 40px;
    }

    .header .container {
        padding: 16px 40px;
    }

    .hero .container {
        gap: 40px;
        padding: 40px 40px 48px;
    }

    .hero-image {
        max-width: 400px;
        height: 400px;
    }

    .hero-gradient {
        width: 140px;
    }

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

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .visual-card,
    .process-visual-card {
        width: 100%;
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
    }

    .visual-content,
    .process-visual-content {
        width: 100%;
        text-align: center;
    }

    .product-name,
    .process-product-name {
        justify-content: center;
    }

    .product-name-wrapper,
    .process-product-name-wrapper {
        align-items: center;
    }

    .visual-cta,
    .process-visual-cta {
        align-self: center;
    }

    .ai-illustration,
    .process-ai-illustration {
        width: 100%;
        max-width: 400px;
    }

    .process-visual {
        margin-top: 24px;
    }

    .process-visual-card,
    .visual-card {
        width: 100%;
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }
    
    /* Footer Tablet */
    .footer {
        padding: 40px 40px;
    }
}

/* Mobile: 768px以下 */
@media (max-width: 767px) {
    .container {
        padding: 0 24px;
    }

    /* ヘッダーモバイル */
    .header {
        padding: 8px 24px;
    }
    
    .header .container {
        padding: 8px 24px;
        gap: 20px;
    }

    .nav {
        display: none;
    }

    .logo-link {
        display: inline-block;
        text-decoration: none;
        line-height: 0;
    }

    .logo-image {
        height: 16px;
        display: block;
    }

    .cta-button {
        padding: 10px 24px;
        font-size: 16px;
    }

    /* ヒーローセクション モバイル */
    .hero {
        padding: 32px 0 0 0;
        position: relative;
    }

    .hero .container {
        max-width: none;
        flex-direction: column;
        gap: 0;
        padding: 0 24px 120px 24px;
        position: relative;
    }

    .hero-image {
        order: 2;
        width: 100%;
        max-width: none;
        height: 320px;
        margin: -16px -24px 0 -24px;
        position: relative;
    }

    /* 元のPC版グラデーション（右側）を非表示 */
    .hero-image .hero-gradient {
        display: none;
    }

    /* 新しいモバイル版グラデーション（上部）を追加 */
    .hero-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 70%, transparent 100%);
        z-index: 2;
        pointer-events: none;
    }

    .hero-content {
        order: 1;
        width: 100%;
        max-width: none;
        align-items: center;
        text-align: center;
        gap: 16px;
        z-index: 10;
    }

    .hero-text {
        text-align: center;
        width: 100%;
        gap: 16px;
    }

    .hero-title-group {
        text-align: center;
        gap: 4px;
    }

    .hero-subtitle {
        font-size: 20px;
        text-align: center;
        font-weight: 700;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        text-align: center;
        font-weight: 700;
    }

    .product-name {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        justify-content: center;
    }

    .product-name-wrapper {
        align-items: center;
    }

    .product-badge {
        font-size: 16px;
        padding: 2px 24px;
        font-weight: 700;
    }

    .product-english {
        font-size: 32px;
        font-weight: 700;
    }

    .launch-text {
        font-size: 28px;
        font-weight: 700;
    }

    .hero-description {
        font-size: 16px;
        margin: 16px 0 0 0;
        text-align: center;
        font-weight: 700;
    }

    .hero-cta {
        position: absolute;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        padding: 16px 48px;
        margin: 0;
        width: 65%;
        z-index: 10;
        background: #2446c0;
        color: white;
        border: none;
        border-radius: 100px;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'Noto Sans JP', sans-serif;
    }

    /* イラスト切り替え - ヒーロー用 */
    .ai-robot {
        background-image: url('images/illustrations/ai-robot_mobile.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* 課題セクション モバイル */
    .problems {
        padding: 40px 0;
    }

    .problems-grid {
        flex-direction: column;
        gap: 16px;
    }

    .problem-card {
        padding: 40px 24px;
    }

    .problem-title {
        font-size: 20px;
    }

    .mobile-br::before {
        content: "\A";
        white-space: pre;
    }

    /* ソリューション モバイル */
    .solution {
        padding: 32px 0;
    }

    .solution-content {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .solution-japanese {
        font-size: 16px;
        padding: 2px 16px;
    }

    .solution-english {
        font-size: 40px;
    }

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

    /* 機能セクション モバイル */
    .features {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .feature-card {
        padding: 40px 24px;
    }

    .feature-title {
        font-size: 20px;
    }

    /* 活用例セクション モバイル */
    .use-cases {
        padding: 40px 0;
    }

    .use-cases-container {
        gap: 24px;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .use-case-card {
        padding: 40px 24px;
    }

    .use-case-title {
        font-size: 20px;
    }

    /* 活用例ビジュアル モバイル */
    .use-case-visual {
        margin-top: 24px;
    }

    .visual-card {
        flex-direction: column;
        padding: 24px 40px;
        gap: 24px;
    }

    .ai-illustration {
        width: 100%;
        max-width: 320px;
        height: 320px;
        background-image: url('images/illustrations/ai-robot-small_mobile.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .visual-content {
        width: 100%;
        text-align: center;
    }

    .visual-subtitle {
        font-size: 20px;
    }

    .visual-title {
        font-size: 32px;
    }

    .product-name {
        gap: 4px;
    }

    .product-badge {
        font-size: 12px;
        padding: 2px 16px;
    }

    .product-english {
        font-size: 32px;
    }

    .launch-text {
        font-size: 32px;
    }

    .visual-description {
        font-size: 16px;
        margin: 16px 0 0 0;
    }

    .visual-cta {
        align-self: center;
        padding: 16px 48px;
    }

    /* 導入プロセス モバイル */
    .process {
        padding: 40px 0;
    }

    .process-container {
        gap: 24px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-step {
        padding: 40px 24px;
    }

    .step-number {
        width: 48px;
        height: 32px;
        font-size: 16px;
    }

    .step-title {
        font-size: 20px;
    }

    /* プロセスビジュアル モバイル */
    .process-visual-card {
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
    }

    .process-visual-card .ai-illustration {
        width: 100%;
        max-width: 320px;
        height: 320px;
        margin-bottom: -64px;
        background-image: url('images/illustrations/ai-robot-cta_mobile.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .process-ai-illustration {
        background-image: url('images/illustrations/ai-robot-cta_mobile.svg');
    }

    .process-visual-content {
        width: 100%;
        text-align: center;
    }

    /* フッター モバイル */
    .footer {
        padding: 40px 24px;
    }
    
    .footer .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 0;
    }

    .footer-logo .logo-link {
        display: inline-block;
        text-decoration: none;
        line-height: 0;
    }

    .footer-logo .logo-image {
        height: 16px;
        display: block;
    }
    
    .footer-copyright {
        font-size: 12px;
        text-align: right;
    }
}

/* Extra Small Mobile: 479px以下 */
@media (max-width: 479px) {
    .container {
        padding: 0 16px;
    }
    
    .footer {
        padding: 40px 16px;
    }
    
    .header .container,
    .footer .container {
        padding: 0;
    }

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

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        text-align: center;
        font-weight: 700;
    }

    .product-english,
    .launch-text {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        max-width: 320px;
        height: 320px;
    }

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

    .solution-english {
        font-size: 36px;
    }

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

    .problem-card,
    .feature-card,
    .use-case-card {
        padding: 32px 16px;
    }

    .visual-card,
    .process-visual-card {
        padding: 32px 16px;
    }

    .ai-illustration,
    .process-ai-illustration {
        max-width: 280px;
        height: 280px;
        margin-bottom: -64px;

    }

    .visual-content,
    .process-visual-content {
        padding: 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ai-robot,
    .ai-illustration,
    .process-ai-illustration {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles would go here if needed */
}

/* アニメーション完全無効化 */
*, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}
