/* ============================================
   ランディングページスタイル
   ============================================ */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark: #1f2937;
    --light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

/* ヘッダー */
.lp-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

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

.header-nav a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header-nav a:hover {
    opacity: 0.8;
}

/* プライマリボタンは白背景+青文字 */
.header-nav .btn-primary {
    color: #2563eb !important;
    text-shadow: none;
}

.header-nav .btn-primary:hover {
    opacity: 1;
    color: #1e40af !important;
}

.btn-login {
    padding: 8px 20px;
    border: 2px solid var(--white);
    border-radius: 8px;
}

.btn-primary {
    padding: 10px 24px;
    background: var(--white);
    color: #2563eb !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #1e40af !important;
}

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

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-hero-primary {
    padding: 18px 40px;
    background: var(--white);
    color: #667eea;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
    padding: 18px 40px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 3px solid var(--white);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 60px;
}

/* 特徴セクション */
.features {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

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

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

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-description {
    color: #6b7280;
    line-height: 1.8;
}

/* 料金セクション */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-badge.best {
    background: var(--danger-color);
}

.pricing-plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 20px 0;
}

.pricing-price {
    margin: 30px 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-period {
    font-size: 1.2rem;
    color: #6b7280;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.btn-pricing {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-pricing:hover {
    background: #e5e7eb;
}

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

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

.pricing-note {
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

/* 導入事例セクション */
/* デモセクション */
.demo-section {
    background: var(--light);
}

.demo-content {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

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

.demo-card-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.demo-credentials {
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.credential-item {
    margin-bottom: 1.5rem;
}

.credential-item:last-child {
    margin-bottom: 0;
}

.credential-label {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.credential-value {
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    display: inline-block;
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: 600;
}

.demo-features h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.demo-features ul {
    list-style: none;
    padding: 0;
}

.demo-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.05rem;
}

.demo-features li:last-child {
    border-bottom: none;
}

.btn-demo-login {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 1.2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background 0.3s, transform 0.2s;
    margin-top: 1rem;
}

.btn-demo-login:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* 画面紹介グリッド */
.demo-screen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.screen-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screen-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.screen-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.screen-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.screen-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.screen-features {
    list-style: none;
    padding: 0;
}

.screen-features li {
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.screen-features li::before {
    content: '✓ ';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 実際の画面セクション */
.screens-section {
    background: var(--light);
    padding: 80px 0;
}

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

.screen-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.screen-showcase.reverse {
    direction: rtl;
}

.screen-showcase.reverse > * {
    direction: ltr;
}

.screen-info {
    padding: 20px;
}

.screen-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.screen-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.screen-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.screen-features {
    list-style: none;
    padding: 0;
}

.screen-features li {
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 1rem;
}

.screen-features li::before {
    content: '✓ ';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.screen-preview {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.screen-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.screen-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 40px;
    text-align: center;
}

.screen-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.screen-placeholder small {
    font-size: 1rem;
    color: #6b7280;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .screen-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .screen-showcase.reverse {
        direction: ltr;
    }
}

/* チェックボックスラベル */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #f97316;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
}

.checkbox-label a:hover {
    color: #ea580c;
}

/* レスポンシブ: 小画面では改行を許可 */
@media (max-width: 768px) {
    .checkbox-label {
        white-space: normal;
    }
}

.testimonials {
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #4b5563;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-name {
    font-weight: 700;
    color: var(--dark);
}

.author-company {
    font-size: 0.9rem;
    color: #6b7280;
}

/* FAQ セクション */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #4b5563;
    line-height: 1.8;
}

/* CTA セクション */
.cta {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.register-form {
    max-width: 600px;
    margin: 0 auto 20px auto;
}

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

/* チェックボックス行は1カラム */
.form-row:has(.checkbox-label) {
    grid-template-columns: 1fr;
    justify-items: center;
}

.register-form input,
.register-form select {
    padding: 15px;
    border: 2px solid var(--white);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.privacy-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

.privacy-note a {
    color: var(--white);
    text-decoration: underline;
}

/* フッター */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-description {
    line-height: 1.8;
    opacity: 0.8;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.7;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}
