:root {
    --primary-color: #FF6B35;
    --primary-dark: #E85A28;
    --primary-light: #FF8555;
    --secondary-color: #004E89;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --danger-color: #DC3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 28px;
}

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

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 15px;
}

.nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white) !important;  /* 明示的に白色を指定 */
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--bg-white);  /* ホバー時も白色を維持 */
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-number::after {
    content: '%';
    font-size: 32px;
}

.stat-time {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-time::after {
    content: 'h';
    font-size: 32px;
}

.stat-free {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-free::after {
    content: '';
    font-size: 32px;
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 8px;
    font-weight: 600;
}

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

.cta-note {
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
}

/* Mockup */
.mockup-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

.mockup-header {
    background: var(--bg-light);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.mockup-dots span:nth-child(1) { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #27C93F; }

.mockup-title {
    font-weight: 600;
    color: var(--text-gray);
    font-size: 14px;
}

.mockup-content {
    padding: 40px;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.upload-area i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-area p {
    color: var(--text-gray);
    font-weight: 600;
}

.result-preview {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.result-item i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
}

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

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

.problem-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.problem-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-icon i {
    font-size: 28px;
    color: var(--bg-white);
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Solution Section */
.solution {
    background: var(--bg-light);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: var(--bg-white);
}

.feature-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-gray);
    line-height: 1.7;
}

.solution-image {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 28px;
    color: var(--primary-color);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

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

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

.feature-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 20px;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon-large i {
    font-size: 36px;
    color: var(--bg-white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 14px;
}

/* Demo Video Section */
.demo-video {
    background: var(--bg-light);
}

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

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--bg-gray);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 25px;
}

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

.video-description {
    text-align: center;
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.video-description i {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 10px;
}

.video-description p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
}

/* Comparison Section */
.comparison {
    background: var(--bg-white);
}

.comparison-wrapper {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
}

/* デスクトップ表示用テーブル */
.comparison-table-desktop {
    display: block;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid var(--border-color);
    border-radius: 12px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table thead th {
    background: var(--bg-light);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}

.comparison-table .feature-col {
    text-align: left;
    font-weight: 700;
    width: 25%;
}

.comparison-table .highlight-col {
    background: linear-gradient(135deg, #FFF5F0, #FFFFFF);
    border-left: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
}

.highlight-badge i {
    font-size: 18px;
}

.highlight-badge-text {
    color: var(--bg-white)!important;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .fa-check-circle {
    color: var(--success-color);
    font-size: 20px;
    margin-right: 8px;
}

.comparison-table .fa-times-circle {
    color: var(--danger-color);
    font-size: 20px;
    margin-right: 8px;
}

.comparison-table .fa-minus-circle {
    color: var(--warning-color);
    font-size: 20px;
    margin-right: 8px;
}

.comparison-table td span {
    font-size: 14px;
    color: var(--text-gray);
}

.comparison-table .highlight-col span {
    font-weight: 600;
    color: var(--text-dark);
}

.feature-name {
    color: var(--text-dark);
    font-weight: 600;
}

/* モバイル表示用カード（デフォルトは非表示） */
.comparison-cards-mobile {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.comparison-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
}

.comparison-card.highlight-card {
    background: linear-gradient(135deg, #FFF5F0, #FFFFFF);
    border: 2px solid var(--primary-color);
}

.comparison-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.comparison-card .card-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.comparison-card .card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-gray);
    line-height: 1.6;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* Use Cases Section */
.use-cases {
    background: var(--bg-light);
}

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

.use-case-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.use-case-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.use-case-icon i {
    font-size: 32px;
    color: var(--bg-white);
}

.use-case-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.use-case-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Benefits Section */
.benefits {
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: linear-gradient(135deg, #FFF5F0, #FFFFFF);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--primary-light);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 36px;
    color: var(--bg-white);
}

.benefit-stat {
    font-size: 52px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Beta CTA Section */
.beta-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
}

.beta-cta-content {
    text-align: center;
    color: var(--bg-white);
}

.beta-cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.beta-cta-icon i {
    font-size: 48px;
}

.beta-cta h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.beta-cta p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* FAQ Section */
.faq {
    background: var(--bg-light);
}

.faq-disclaimer {
    background: #FFF3CD;
    border: 2px solid #FFE69C;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.faq-disclaimer i {
    font-size: 24px;
    color: #FF6B35;
    flex-shrink: 0;
}

.faq-disclaimer p {
    color: var(--text-dark);
    line-height: 1.7;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 16px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-gray);
}

.benefits-list i {
    color: var(--success-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-note {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-note i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-note p {
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.required {
    color: var(--danger-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 12px;
}

.form-success i {
    font-size: 64px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.form-success p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--primary-color);
}

.footer-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 14px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer {
    background: rgba(255, 107, 53, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--bg-white);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-disclaimer i {
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}

/* Chatbot */
.chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-height: 600px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 20px;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 450px;
}

.chatbot-message {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar i {
    color: var(--bg-white);
    font-size: 18px;
}

.message-content {
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 70%;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: var(--primary-color);
    color: var(--bg-white);
}

.user-message .message-avatar {
    background: var(--text-dark);
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.quick-question-btn {
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quick-question-btn:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-input button:hover {
    background: var(--primary-dark);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===================================
   ハンバーガーメニューボタン
   =================================== */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

/* 3本線の初期位置 */
.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* ハンバーガーメニューがアクティブな時（×印に変化） */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ===================================
   利用規約チェックボックス
   =================================== */
.form-checkbox {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

/* チェックボックス本体のスタイル（16px × 16px） */
/* .checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px !important;
    height: 16px !important;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
} */

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* box-sizingを明示的に指定 */
    box-sizing: border-box !important;
    
    /* サイズを小さく指定 */
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    
    /* padding/marginをリセット */
    padding: 0 !important;
    margin: 0 !important;
    margin-right: 8px !important;
    margin-top: 3px !important;
    
    /* 残りのスタイル */
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

/* ホバー時 */
.checkbox-label input[type="checkbox"]:hover {
    border-color: var(--primary-color);
}

/* フォーカス時 */
.checkbox-label input[type="checkbox"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    outline: none;
}

/* チェックされた状態 */
.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* チェックマーク（白色・小サイズ） */
.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
}

/* エラー状態 */
.checkbox-label input[type="checkbox"]:invalid {
    border-color: #d1d5db;
    outline: none;
}

.checkbox-label input[type="checkbox"]:invalid:focus {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.checkbox-text {
    color: var(--text-body);
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--primary-dark);
}

.checkbox-text .required {
    color: #e53e3e;
    margin-left: 4px;
}

/* エラーメッセージ */
.error-message {
    margin-top: 8px;
    padding: 10px 12px;
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    border-radius: 4px;
    color: #e53e3e;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message i {
    font-size: 16px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }

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

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

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

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

@media (max-width: 768px) {

.checkbox-label {
        font-size: 13px;
    }

    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }

    .checkbox-label input[type="checkbox"]:checked::after {
        width: 4px;
        height: 9px;
    }

/* ハンバーガーボタンを表示 */
    .hamburger,
    .mobile-menu-btn {
        display: flex !important;
    }

/* ヘッダーコンテンツ */
    .header-content {
        position: relative;
    }

/* ナビゲーションメニューのスタイル */
    .nav,
    .nav-menu {
        position: fixed;
        right: -100%;
        left: auto;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: right 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 1000;
        overflow-y: auto;
        display: flex;
        gap: 0;
    }

    /* メニューが開いた時 */
    .nav.active,
    .nav-menu.active {
        right: 0;
    }

    /* メニューリンクのスタイル */
    .nav a,
    .nav-menu a {
        padding: 18px 30px;
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 600;
        color: var(--text-dark);
        border-bottom: none;
        transition: all 0.2s ease;
        position: relative;
    }

    /* リンクの左側にアクセント */
    .nav a::before,
    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 0;
        background: var(--primary-color);
        transition: height 0.2s ease;
    }

    .nav a:hover::before,
    .nav-menu a:hover::before {
        height: 24px;
    }

    /* ボタンスタイル */
    .nav .btn-primary,
    .nav-menu .btn-primary {
        margin: 20px 20px 0;
        padding: 16px 24px;
        justify-content: center;
        background: var(--primary-color);
        color: white !important;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
        border: none;
        transition: all 0.3s ease;
    }

    .nav .btn-primary:hover,
    .nav-menu .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
        padding-left: 24px;
    }

    /* メニューが開いている時はスクロールを無効化 */
    body.menu-open {
        overflow: hidden;
    }

    /* Hero */
    .hero {
        padding: 120px 0 60px;
    }

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

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

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

    .hero-stats {
        gap: 25px;
        justify-content: center;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-time {
        font-size: 36px;
    }

    .stat-free {
        font-size: 36px;
    }

    .hero-image {
        order: -1;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

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

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

    /* Problems */
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Solution */
    .solution-content {
        grid-template-columns: 1fr;
    }

    .solution-image {
        display: none;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Comparison - スマホではカード表示に切り替え */
    .comparison-table-desktop {
        display: none;
    }

    .comparison-cards-mobile {
        display: flex;
    }

    /* Use Cases */
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Chatbot */
    .chatbot {
        bottom: 20px;
        right: 20px;
    }

    .chatbot-window {
        width: calc(100vw - 40px);
        max-width: 380px;
    }

    .chatbot-toggle {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-time {
        font-size: 32px;
    }

    .stat-free {
        font-size: 32px;
    }

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

    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .mockup-content {
        padding: 25px;
    }

    .upload-area {
        padding: 30px 20px;
    }

    .upload-area i {
        font-size: 36px;
    }

    .beta-cta h2 {
        font-size: 32px;
    }
}
