/* ===================================
   withagent - スタイルシート
   テックジョイントの雰囲気を継承しつつ独自のカラーで展開
   =================================== */

/* リセット & ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: #1A1A1A;
    background-color: #FFFFFF;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul, ol {
    list-style: none;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション */
section {
    padding: 80px 0;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    background: #FFFFFF;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 36px;
    width: auto;
}

.header-nav ul {
    display: flex;
    gap: 32px;
}

.header-nav a {
    font-size: 15px;
    font-weight: 500;
    color: #1A1A1A;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0EA5E9;
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1A1A1A;
    transition: all 0.3s ease;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: #F1F5F9;
    padding: 40px 0;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
}

.footer-company {
    font-size: 16px;
    font-weight: 700;
    color: #0EA5E9;
}

/* ===================================
   ボタンスタイル
   =================================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #0EA5E9;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #0284C7;
    opacity: 1;
}

.btn-secondary {
    background: #FFFFFF;
    color: #0EA5E9;
    border: 2px solid #0EA5E9;
}

.btn-secondary:hover {
    background: #F0F9FF;
    opacity: 1;
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===================================
   背景色
   =================================== */
.bg-accent {
    background-color: #F0F9FF;
}

.bg-gray {
    background-color: #F8FAFC;
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-dark {
    background-color: #0F172A;
}

/* ===================================
   タイポグラフィ
   =================================== */
.section-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #666666;
    margin-bottom: 60px;
}

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

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #F0FDFA 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #0EA5E9;
    margin-bottom: 16px;
    letter-spacing: 1px;
    background: #E0F2FE;
    padding: 6px 16px;
    border-radius: 20px;
}

.hero-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.4;
    color: #1A1A1A;
    margin-bottom: 24px;
}

.hero-title .accent {
    color: #0EA5E9;
}

.hero-text {
    font-size: 18px;
    font-weight: 500;
    color: #4A4A4A;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-image {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

/* ===================================
   お悩みカード
   =================================== */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.problem-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1A1A1A;
    line-height: 1.5;
}

.problem-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #666666;
}

.solution-message {
    text-align: center;
    margin-top: 48px;
}

.solution-message p {
    font-size: 28px;
    font-weight: 900;
    color: #1A1A1A;
}

.solution-message strong {
    color: #0EA5E9;
}

/* ===================================
   特長カード
   =================================== */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.12);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #E0F2FE 0%, #CCFBF1 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #4A4A4A;
}

/* ===================================
   導入ステップ
   =================================== */
.step-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    border-color: #0EA5E9;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #0EA5E9;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 900;
    border-radius: 12px;
    margin-bottom: 24px;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.step-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #4A4A4A;
}

/* ===================================
   活用事例カード（画像付き）
   =================================== */
.usecase-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.usecase-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.usecase-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.usecase-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.usecase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.usecase-card:hover .usecase-image img {
    transform: scale(1.05);
}

.usecase-body {
    padding: 28px;
}

.usecase-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.usecase-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
}

.usecase-badge {
    display: inline-block;
    background: #DCFCE7;
    color: #16A34A;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.usecase-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #4A4A4A;
}

/* ===================================
   料金プラン
   =================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
}

.pricing-card {
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.pricing-featured {
    border-color: #0EA5E9;
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
    transform: scale(1.05);
}

.pricing-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #0EA5E9;
    color: #FFFFFF;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.pricing-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
    color: #1A1A1A;
}

.pricing-subtitle {
    font-size: 14px;
    color: #666666;
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 24px;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    color: #0EA5E9;
}

.pricing-features {
    text-align: left;
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.pricing-feature {
    font-size: 15px;
    line-height: 2.2;
    color: #4A4A4A;
    padding-left: 28px;
    position: relative;
}

.pricing-feature::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0EA5E9;
    font-weight: 700;
}

/* ===================================
   よくある質問
   =================================== */
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #0EA5E9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 15px;
    line-height: 1.8;
    color: #4A4A4A;
}

/* ===================================
   CTA セクション
   =================================== */
.cta-section {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 50%, #0369A1 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-section .btn-primary {
    background: #FFFFFF;
    color: #0EA5E9;
}

.cta-section .btn-primary:hover {
    background: #F0F9FF;
}

.cta-section .btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 1023px) {
    .feature-cards,
    .step-cards,
    .problem-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-featured {
        transform: scale(1);
    }

    .pricing-featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }

    .header-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #FFFFFF;
        transition: left 0.3s ease;
        padding: 40px 20px;
    }

    .header-nav.active {
        left: 0;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 24px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .problem-cards,
    .feature-cards,
    .step-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .usecase-cards {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .solution-message p {
        font-size: 22px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .price-amount {
        font-size: 40px;
    }
}

/* ===================================
   アクセシビリティ
   =================================== */
:focus {
    outline: 2px solid #0EA5E9;
    outline-offset: 2px;
}

@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
}
