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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

/* ========================================
   共通スタイル
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.sp-only {
    display: none;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.logo p {
    font-size: 0.9rem;
    color: #666;
}

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

.nav a {
    font-weight: 500;
    color: #333;
}

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

.cta-button-small {
    background-color: #2563eb;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
}

.cta-button-small:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a {
    display: block;
    padding: 10px;
    text-align: center;
    font-weight: 500;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

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

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

.cta-button-primary,
.cta-button-secondary {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button-primary {
    background-color: #fff;
    color: #667eea;
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.cta-button-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-button-secondary:hover {
    background-color: #fff;
    color: #667eea;
}

.hero-points {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.hero-point i {
    font-size: 1.5rem;
    color: #fbbf24;
}

/* ========================================
   課題セクション
======================================== */
.problems {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.problem-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

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

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

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

.problem-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   ソリューションセクション
======================================== */
.solution {
    padding: 80px 0;
    background-color: #fff;
}

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

.solution-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    aspect-ratio: 4/3;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.solution-image-placeholder i {
    font-size: 5rem;
    opacity: 0.8;
}

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

.solution-feature-icon {
    width: 60px;
    height: 60px;
    background-color: #dbeafe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-feature-icon i {
    font-size: 1.8rem;
    color: #2563eb;
}

.solution-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.solution-feature p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   特徴セクション
======================================== */
.features {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.feature-card {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 900;
    color: #e5e7eb;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ========================================
   導入効果セクション
======================================== */
.results {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.results .section-title {
    color: #fff;
}

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

.result-card {
    text-align: center;
    padding: 40px 20px;
}

.result-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.result-unit {
    font-size: 3rem;
}

.result-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ========================================
   お客様の声
======================================== */
.testimonials {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.testimonial-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar i {
    font-size: 1.8rem;
    color: #2563eb;
}

.testimonial-name {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.testimonial-industry {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-rating {
    margin-bottom: 20px;
    color: #fbbf24;
}

.testimonial-rating i {
    margin-right: 3px;
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========================================
   料金プランセクション
======================================== */
.plans {
    padding: 80px 0;
    background-color: #fff;
}

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

.plan-card {
    background-color: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.plan-popular {
    border-color: #2563eb;
    box-shadow: 0 10px 30px rgba(37,99,235,0.15);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.plan-subtitle {
    color: #666;
    font-size: 1rem;
}

.plan-price {
    text-align: center;
    margin-bottom: 20px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: #2563eb;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    margin-left: 5px;
}

.price-tax {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-top: 5px;
}

.plan-period {
    text-align: center;
    background-color: #f3f4f6;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: #666;
}

.plan-period i {
    margin-right: 8px;
    color: #2563eb;
}

.plan-features {
    margin-bottom: 30px;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

.plan-features i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-recommended {
    background-color: #fef3c7;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.plan-recommended strong {
    color: #1a1a1a;
}

.plan-button {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: #2563eb;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

.plan-button-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.plans-note {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.plans-note p {
    margin-bottom: 10px;
}

.plans-note i {
    color: #2563eb;
    margin-right: 5px;
}

/* ========================================
   サービスの流れ
======================================== */
.flow {
    padding: 80px 0;
    background-color: #f9fafb;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    text-align: center;
}

.flow-step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 15px;
}

.flow-step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.flow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.flow-step p {
    color: #666;
    font-size: 0.9rem;
}

.flow-arrow {
    color: #cbd5e1;
    font-size: 2rem;
    margin: 0 20px;
}

/* ========================================
   FAQ
======================================== */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

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

.faq-item {
    background-color: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.faq-question i {
    color: #2563eb;
    transition: transform 0.3s ease;
}

.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 30px 25px 30px;
    color: #666;
    line-height: 1.8;
}

/* ========================================
   お問い合わせ
======================================== */
.contact {
    padding: 80px 0;
    background-color: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.contact-info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.contact-phone,
.contact-email {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 5px;
}

.contact-time {
    color: #666;
    font-size: 0.9rem;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
}

.required {
    color: #ef4444;
    font-size: 0.85rem;
    margin-left: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

.form-privacy label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-privacy input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-privacy a {
    color: #2563eb;
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: #1f2937;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fbbf24;
}

.footer-description {
    color: #d1d5db;
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    color: #d1d5db;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-links i {
    margin-top: 3px;
    color: #fbbf24;
    flex-shrink: 0;
}

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

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

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

/* ========================================
   ページトップボタン
======================================== */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.page-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.4);
}

.page-top.visible {
    display: flex;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {
    /* 共通 */
    .sp-only {
        display: inline;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    /* ヘッダー */
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* ヒーロー */
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
    
    .hero-points {
        flex-direction: column;
        gap: 15px;
    }
    
    /* グリッド調整 */
    .problems-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    /* フロー */
    .flow-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    /* コンタクト */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    /* 結果 */
    .result-number {
        font-size: 3rem;
    }
    
    .result-unit {
        font-size: 2.5rem;
    }
    
    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* ページトップ */
    .page-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .plan-card {
        padding: 30px 20px;
    }
}