/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #111827;
}

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

.container-narrow {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ヘッダー */
.header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 3rem;
    display: block;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    transition: color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-text {
    font-size: 1rem;
}

.nav-subtext {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #4b5563;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #4b5563;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu a:hover {
    background: #f9fafb;
    color: #2563eb;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(to bottom right, #1e3a8a, #1e40af);
    color: white;
    padding: 8rem 1.5rem;
}

.hero-content {
    max-width: 48rem;
}

.hero-tag {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: #bfdbfe;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #dbeafe;
}

.hero-subtext {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #dbeafe;
}

/* ボタン */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #1e3a8a;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #dbeafe;
}

/* About Us */
.about {
    background: white;
    padding: 5rem 1.5rem;
}

.section-tag {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #2563eb;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.about-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
}

/* サービスセクション */
.services {
    background: #f9fafb;
    padding: 5rem 1.5rem;
}

.services-intro {
    font-size: 1.125rem;
    color: #4b5563;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-number {
    width: 3.5rem;
    height: 3.5rem;
    background: #dbeafe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 0.5rem;
}

/* CTAセクション */
.cta {
    background: #1e3a8a;
    color: white;
    padding: 5rem 1.5rem;
    text-align: center;
}

.cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.125rem;
    color: #dbeafe;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(to bottom right, #1e3a8a, #1e40af);
    color: white;
    padding: 5rem 1.5rem;
}

.page-tag {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #bfdbfe;
    margin-bottom: 0.75rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1.25rem;
    color: #dbeafe;
    max-width: 48rem;
}

/* サービス詳細 */
.service-detail {
    padding: 5rem 1.5rem;
    background: white;
}

.service-detail.alt {
    background: #f9fafb;
}

.service-number-large {
    font-size: 3.75rem;
    font-weight: 700;
    color: #dbeafe;
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.service-detail-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.service-description {
    background: #f9fafb;
    padding: 2.5rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.service-detail.alt .service-description {
    background: white;
    border: 1px solid #e5e7eb;
}

/* 会社情報 */
.company-info {
    padding: 5rem 1.5rem;
    background: white;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.company-table th {
    text-align: left;
    padding: 1.25rem 3rem 1.25rem 0;
    color: #374151;
    font-weight: 600;
    vertical-align: top;
    width: 12rem;
    font-size: 1.125rem;
}

.company-table td {
    padding: 1.25rem 0;
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* お問い合わせフォーム */
.contact-form-section {
    padding: 5rem 1.5rem;
    background: white;
}

#contact-form-area {
    min-height: 400px;
}

/* フッター */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 1.5rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 2;
}

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

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

/* 新規コンポーネント - ステップ表示 */
.step-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-item {
    background: white;
    padding: 2rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    position: relative;
    transition: all 0.3s;
}

.step-item:hover {
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.step-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

/* 課題・解決セクション */
.problem-solution {
    background: white;
    padding: 5rem 1.5rem;
}

.problem-solution.alt {
    background: #f9fafb;
}

.problem-list,
.solution-list {
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.problem-item,
.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.problem-item {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.problem-item::before {
    content: "✗";
    color: #ef4444;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.solution-item {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
}

.solution-item::before {
    content: "✓";
    color: #10b981;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* 料金プラン */
.pricing-section {
    background: #f9fafb;
    padding: 5rem 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    border-color: #2563eb;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    transform: translateY(-10px);
}

.pricing-card.featured {
    border-color: #f59e0b;
    background: linear-gradient(to bottom, #fffbeb, white);
}

.pricing-badge {
    position: absolute;
    top: -1rem;
    right: 2rem;
    background: #f59e0b;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    line-height: 1.6;
}

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

.pricing-cta {
    display: block;
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.3s;
}

.pricing-cta:hover {
    background: #1e40af;
}

/* よくある質問 */
.faq-section {
    background: white;
    padding: 5rem 1.5rem;
}

.faq-list {
    max-width: 48rem;
    margin: 3rem auto 0;
}

.faq-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    padding: 1.5rem;
    background: white;
    margin: 0;
}

.faq-question::before {
    content: "Q: ";
    color: #2563eb;
    font-weight: 700;
    margin-right: 0.5rem;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer::before {
    content: "A: ";
    color: #10b981;
    font-weight: 700;
    margin-right: 0.5rem;
}

/* 選ばれる理由セクション */
.reasons-section {
    background: white;
    padding: 5rem 1.5rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.reason-card {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.reason-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.reason-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.reason-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.reason-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

/* ヒーローボタングループ */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
}

/* サービスカード（トップページ用） */
.service-card-large {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 3rem;
    transition: all 0.3s;
    height: 100%;
}

.service-card-large:hover {
    border-color: #2563eb;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    transform: translateY(-10px);
}

.service-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-card-large h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.service-card-large .service-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card-large .service-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2rem;
}

.service-recommend {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
}

.service-recommend h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.75rem;
}

.service-recommend ul {
    list-style: none;
    padding: 0;
}

.service-recommend li {
    color: #047857;
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.service-recommend li::before {
    content: "✓ ";
    font-weight: 700;
    margin-right: 0.5rem;
}

/* バッジ */
.badge {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.badge.success {
    background: #10b981;
}

.badge.primary {
    background: #2563eb;
}

/* 実績セクション */
.stats-section {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
    padding: 5rem 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #dbeafe;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.125rem;
    color: #bfdbfe;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 4rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-title {
        font-size: 1.75rem;
    }
    
    .company-table th {
        width: 8rem;
        padding-right: 1.5rem;
        font-size: 1rem;
    }
    
    .company-table td {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-container {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-card-large {
        padding: 2rem;
    }
    
    .service-icon {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }
}