/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo h1 {
    color: #2563eb;
    font-size: 24px;
    margin: 0;
}

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

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #2563eb;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 0 50px;
}

.hero-title {
    font-size: 3.85rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4),
                 0 0 30px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-title .highlight {
    color: #fbbf24;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(251, 191, 36, 0.3);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 1;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    line-height: 1.7;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-description strong {
    font-weight: 700;
    color: #fbbf24;
}

.hero-description .company-name {
    white-space: nowrap;
    display: inline-block;
}

/* Responsive line breaks */
.mobile-break {
    display: none;
}

.desktop-hide {
    display: inline;
}

@media (max-width: 768px) {
    .mobile-break {
        display: inline;
    }
    
    .desktop-hide {
        display: none;
    }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta .btn {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: 18px;
    padding: 19px 34px;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    font-weight: 600;
}

.hero-cta .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.5);
}

.hero-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    border-color: white;
    color: #1e40af;
    font-weight: 600;
}

.hero-cta .btn-secondary:hover {
    background: white;
    color: #1e40af;
    border-color: white;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
}

/* Problems Section */
.problems {
    padding: 100px 0;
    background: #f8fafc;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.problem-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.problem-icon i {
    font-size: 2rem;
    color: white;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.problem-card p {
    color: #6b7280;
    margin-bottom: 20px;
}

.problem-stat {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.solution-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
}

.solution-number {
    position: absolute;
    top: -15px;
    left: 40px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1f2937;
    margin-top: 20px;
}

.solution-card > p {
    color: #6b7280;
    margin-bottom: 25px;
}

.solution-features ul {
    list-style: none;
}

.solution-features li {
    padding: 8px 0;
    color: #4b5563;
    position: relative;
    padding-left: 25px;
}

.solution-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
}

/* Strengths Section */
.strengths {
    padding: 100px 0;
    background: #f8fafc;
}

.strength-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.strength-item.reverse {
    direction: rtl;
}

.strength-item.reverse > * {
    direction: ltr;
}

.strength-content h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 20px;
}

.strength-content p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 30px;
}

.strength-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Special style for synergy diagram */
.strength-image.synergy-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
}

.strength-image.synergy-diagram img {
    width: 100%;
    height: auto;
    max-width: 600px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

/* Special style for ICP screenshot */
.strength-image.icp-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.strength-image.icp-screenshot img {
    width: 100%;
    height: auto;
    max-width: 800px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #e5e7eb;
}

.management-team {
    display: grid;
    gap: 25px;
}

.member {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member h4 {
    color: #2563eb;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.member p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

/* Synergy Services - New styles for strength section */
.synergy-services {
    margin-top: 25px;
}

.synergy-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
}

.synergy-number {
    display: inline-block;
    background: #2563eb;
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 12px;
}

.synergy-item h4 {
    display: inline;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
}

.synergy-item p {
    margin-top: 10px;
    margin-left: 42px;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Roadmap Section */
.roadmap {
    padding: 100px 0;
    background: #f8fafc;
}

/* Phase Cards */
.roadmap-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto 50px;
    padding: 40px 60px;
    overflow-x: visible;
}

.phase-card {
    background: white;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    width: 260px;
    flex-shrink: 0;
}

.phase-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    z-index: 10;
}

.phase-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.phase-card[data-phase="1"] .phase-number {
    background: #6366f1;
}

.phase-card[data-phase="2"] .phase-number {
    background: #3b82f6;
}

.phase-card[data-phase="3"] .phase-number {
    background: #2563eb;
}

.phase-card[data-phase="4"] .phase-number {
    background: #1d4ed8;
}

.phase-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 20px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.phase-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 700;
}

.phase-keyword {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 20px;
}

.phase-support {
    margin-top: auto;
}

.support-badge {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.roadmap-note {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #6b7280;
}

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

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-description {
    color: #d1d5db;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 0;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* iframe form styling */
.contact-form iframe {
    min-height: 1200px;
    height: 1200px; /* 初期高さ */
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    display: block;
    transition: height 0.3s ease;
}

.contact-cta {
    text-align: center;
    margin-top: 30px;
}

.contact-cta .btn-primary {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.5);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #f3f4f6;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.checkbox-group {
    display: grid;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.privacy a {
    color: #60a5fa;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo-image {
    height: 48px;
    width: auto;
    margin-bottom: 10px;
    background-color: white;
    padding: 8px 12px;
    border-radius: 4px;
}

.footer-logo p {
    color: #9ca3af;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    border: none;
    border-radius: 60px;
    padding: 20px 35px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-cta.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #fde047, #fbbf24);
}

.floating-cta:active {
    transform: translateY(-2px);
}

.floating-cta-text {
    display: inline-block;
}

.floating-cta i {
    font-size: 18px;
}

/* Floating CTA pulse animation */
.floating-cta.show {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(251, 191, 36, 0.6), 0 0 0 10px rgba(251, 191, 36, 0.1);
    }
    100% {
        box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
    }
}

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

/* Tablet Design */
@media (max-width: 1200px) {
    .roadmap-cards {
        gap: 10px;
    }
    
    .phase-card {
        width: 230px;
        padding: 35px 20px;
    }
    
    .phase-arrow svg {
        width: 35px;
        height: 35px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 25px;
        right: 20px;
        padding: 15px 25px;
        font-size: 14px;
    }
    
    .floating-cta i {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 2rem;
        text-shadow: none;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        text-shadow: none;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 15px 25px;
        background: rgba(0, 0, 0, 0.3);
        text-shadow: none;
        line-height: 1.8;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .hero-title .highlight {
        color: #FFC107;
        text-shadow: none;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        font-size: 16px;
    }
    
    .nav {
        display: none;
    }
    
    .strength-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .roadmap-cards {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    
    .phase-card {
        width: 100%;
        max-width: 350px;
        padding: 30px 20px;
    }
    
    .phase-arrow {
        transform: none;
        margin: -15px 0;
    }
    
    .phase-arrow svg {
        display: none;
    }
    
    .phase-arrow::after {
        content: '';
        width: 40px;
        height: 40px;
        background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%232563eb" stroke-width="3" xmlns="http://www.w3.org/2000/svg"><path d="M12 5v14M19 12l-7 7-7-7"></path></svg>');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problems-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 20px;
        right: 15px;
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 50px;
    }
    
    .contact-form {
        padding: 0;
        border-radius: 15px;
    }
    
    .contact-form iframe {
        min-height: 1600px;
        border-radius: 15px;
    }
    
    .floating-cta-text {
        display: none;
    }
    
    .floating-cta i {
        font-size: 20px;
        margin: 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 80px 0 30px;
    }
    
    .hero-title {
        font-size: 1.44rem;
        text-shadow: none;
        line-height: 1.4;
    }
    
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-shadow: none;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 15px 20px;
        background: rgba(0, 0, 0, 0.4);
        text-shadow: none;
        line-height: 1.8;
        margin-bottom: 2rem;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .hero-title .highlight {
        color: #FFC107;
        text-shadow: none;
    }
    
    .hero-cta .btn {
        font-size: 14px;
        padding: 15px 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 0;
    }
    
    .contact-form iframe {
        min-height: 1400px;
    }
}

